Home
last modified time | relevance | path

Searched refs:close_tok (Results 1 – 4 of 4) sorted by relevance

/dports/textproc/p5-Text-Template-Simple/Text-Template-Simple-0.91/lib/Text/Template/Simple/
H A DTokenizer.pm195 my($self, $open_tok, $close_tok) = @_;
207 my $cclose = $close_tok eq DIR_CHOMP_NONE ? RESET_FIELD
208 : $close_tok eq DIR_COLLAPSE ? do { $c |= COLLAPSE_RIGHT; 1 }
211 : $close_tok eq DIR_CHOMP ? do { $c |= CHOMP_RIGHT; 1 }
/dports/textproc/py-yapf/yapf-0.31.0/yapf/yapflib/
H A Dunwrapped_line.py578 close_tok = tok.matching_bracket
581 close_tok = tok
584 if open_tok.next_token == close_tok:
/dports/devel/gnucflow/cflow-1.6/src/
H A Dparser.c475 skip_balanced(int open_tok, int close_tok, int level) in skip_balanced() argument
486 else if (tok.type == RBRACE0 && close_tok == '}') in skip_balanced()
491 else if (tok.type == close_tok) { in skip_balanced()
/dports/cad/yosys/yosys-yosys-0.12/misc/
H A Dpy_wrap_generator.py1027 def find_closing(text, open_tok, close_tok): argument
1028 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