| Method Summary |
| |
__init__(self,
no_table,
table)
|
| |
GRule(self,
args,
context)
|
| |
MULTIRule(self,
arg,
context)
|
| |
OPRule(self,
arg,
context)
|
| |
OPSEMRule(self,
arg,
context)
|
| |
OPVRule(self,
arg,
context)
|
| |
RHRule(self,
arg,
context)
|
| |
RHSRule(self,
arg,
context)
|
| |
RULERule(self,
arg,
context)
|
| |
test(self)
A test for each class |
| Inherited from Yappy |
| |
input(self,
str,
context)
Reads from stdin or string and retuns parsed result |
| |
inputfile(self,
FileName,
context)
Reads input from file |
| |
parse_tree(self)
To be defined using output |
| Inherited from LRparser |
| |
__str__(self)
Return the LR parsing table showing for each state the action and goto
function |
| |
gsrules(self,
rulestr,
**sym)
Transforms a string in a grammar description |
| |
parse_grammar(self,
st,
context)
Transforms a string into a grammar description |
| |
parsing(self,
tokens,
context)
LR Parsing Algorithm (aho86:_compil, page 218) |