__init__(self,
tokenize,
grammar,
table=' YappyTab ' ,
no_table=1,
tabletype=<class parser.LALRtable at 0x15c9b90>,
noconflicts=1,
expect=0,
**args)
(Constructor)
| source code
|
@param tokenize: same as for L{Lexer}
@param grammar: if a string C{parse_grammar} is called
@param table: and no_table, tabletype same as for L{LRparser}
@param **args: dictionary where:
- key C{tmpdir} is the directory
where the parse table used by the Yappy Grammar is stored;
- key C{usrdir} is the directory where the user tables are stored
- key C{nosemrules} if 1 semantic actions are not applied
- Parameters:
- Overrides:
LRparser.__init__
|