Home
last modified time | relevance | path

Searched refs:addtoken (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/lib2to3/pgen2/
H A Dparse.py38 if p.addtoken(...): # parse a token; may raise ParseError
51 Parsing is complete when addtoken() returns True; the root of the
53 instance variable. When a syntax error occurs, addtoken() raises
116 def addtoken(self, type, value, context): member in Parser
H A Ddriver.py71 if p.addtoken(type, value, (prefix, start)):

Completed in 1 milliseconds