Searched refs:tokeneater (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | tokenize.py | 22 tokenize_loop(readline, tokeneater) 23 tokenize(readline, tokeneater=printtoken) 24 are the same, except instead of generating tokens, tokeneater is a callback 148 def tokenize(readline, tokeneater=printtoken): 157 The second parameter, tokeneater, must also be a callable object. It is 162 tokenize_loop(readline, tokeneater) 167 def tokenize_loop(readline, tokeneater): 169 tokeneater(*token_info)
|
/third_party/python/Tools/scripts/ |
H A D | reindent.py | 204 self.tokeneater(*_token) 285 def tokeneater(self, type, token, slinecol, end, line, member in Reindenter
|
/third_party/python/Lib/idlelib/ |
H A D | editor.py | 1628 def tokeneater(self, type, token, start, end, line, member in IndentSearcher 1649 self.tokeneater(*token)
|
/third_party/python/Lib/ |
H A D | inspect.py | 1171 """Provide a tokeneater() method to detect the end of a code block.""" 1181 def tokeneater(self, type, token, srowcol, erowcol, line): member in BlockFinder 1230 blockfinder.tokeneater(*_token)
|
Completed in 9 milliseconds