t.w.x.x.Parser : class documentation

Part of twisted.words.xish.xpathparser View Source View In Hierarchy

Known subclasses: twisted.words.xish.xpathparser.XPathParser

Base class for Yapps-generated parsers.
Method __init__ Undocumented
Method _peek Returns the token type for lookahead; if there are any args then the list of args is the set of token types to allow
Method _scan Returns the matched text, and moves to the next token
def __init__(self, scanner): (source)
Undocumented
def _peek(self, *types): (source)
Returns the token type for lookahead; if there are any args then the list of args is the set of token types to allow
def _scan(self, type): (source)
Returns the matched text, and moves to the next token
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.