Home | Trees | Indices | Help |
---|
|
|
|||
| YaccError | ||
| object | ||
| YaccSymbol | ||
| YaccProduction | ||
| Parser | ||
| Production | ||
| MiniProduction |
|
|||
| validate_file(filename) | ||
| validate_dict(d) | ||
| initialize_vars() | ||
| add_production(f, file, line, prodname, syms) | ||
| add_function(f) | ||
|
compute_reachable() Find each symbol that can be reached from the start symbol. |
||
|
mark_reachable_from(s,
Reachable) Mark all symbols that are reachable from symbol s. |
||
|
compute_terminates() Raise an error for any symbols that don't terminate. |
||
| verify_productions(cycle_check=1) | ||
| build_lritems() | ||
| add_precedence(plist) | ||
| augment_grammar(start=None) | ||
| first(beta) | ||
| compute_follow(start=None) | ||
| compute_first1() | ||
| lr_init_vars() | ||
| lr0_closure(I) | ||
| lr0_goto(I, x) | ||
| lr0_items() | ||
| compute_nullable_nonterminals() | ||
| find_nonterminal_transitions(C) | ||
| dr_relation(C, trans, nullable) | ||
| reads_relation(C, trans, empty) | ||
| compute_lookback_includes(C, trans, nullable) | ||
| digraph(X, R, FP) | ||
| traverse(x, N, stack, F, X, R, FP) | ||
| compute_read_sets(C, ntrans, nullable) | ||
| compute_follow_sets(ntrans, readsets, inclsets) | ||
| add_lookaheads(lookbacks, followset) | ||
| add_lalr_lookaheads(C) | ||
| lr_parse_table(method) | ||
| lr_write_tables(modulename=tab_module, outputdir='') | ||
| lr_read_tables(module=tab_module, optimize=0) | ||
| yacc(method=default_lr, debug=yaccdebug, module=None, tabmodule=tab_module, start=None, check_recursion=1, optimize=0, write_tables=1, debugfile=debug_file, outputdir='') | ||
| yacc_cleanup() | ||
| parse(*args, **kwargs) |
|
|||
|
__version__ = '2.3'
|
||
|
yaccdebug = 1
|
||
|
debug_file = 'parser.out'
|
||
|
tab_module = 'parsetab'
|
||
|
default_lr = 'LALR'
|
||
|
error_count = 3
|
||
|
_INSTANCETYPE = (<type 'instance'>, <type 'object'>)
|
||
|
_is_identifier = <_sre.SRE_Pattern object at 0x2a99cd6450>
|
||
|
_add_count = 0
|
||
|
_lr0_cidhash = {}
|
Imports: re, types, sys, cStringIO, md5, os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__version__None
|
yaccdebugNone
|
debug_fileNone
|
tab_moduleNone
|
default_lrNone
|
error_countNone
|
_INSTANCETYPENone
|
_is_identifierNone
|
_add_countNone
|
_lr0_cidhashNone
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Fri Nov 23 23:44:27 2007 | http://epydoc.sourceforge.net |