Searched refs:close_tok (Results 1 – 4 of 4) sorted by relevance
195 my($self, $open_tok, $close_tok) = @_;207 my $cclose = $close_tok eq DIR_CHOMP_NONE ? RESET_FIELD208 : $close_tok eq DIR_COLLAPSE ? do { $c |= COLLAPSE_RIGHT; 1 }211 : $close_tok eq DIR_CHOMP ? do { $c |= CHOMP_RIGHT; 1 }
578 close_tok = tok.matching_bracket581 close_tok = tok584 if open_tok.next_token == close_tok:
475 skip_balanced(int open_tok, int close_tok, int level) in skip_balanced() argument486 else if (tok.type == RBRACE0 && close_tok == '}') in skip_balanced()491 else if (tok.type == close_tok) { in skip_balanced()
1027 def find_closing(text, open_tok, close_tok): argument1028 if text.find(open_tok) == -1 or text.find(close_tok) <= text.find(open_tok):1029 return text.find(close_tok)1030 return text.find(close_tok) + find_closing(text[text.find(close_tok)+1:], open_tok, close_tok) + 1