__init__ (
self,
goalNonTerm,
BodyList,
ReductFunction=DefaultReductFun,
)
Evaluate determines whether rules should be evaluated
after reductions. Context is an argument passed to the
list reduction function
|
reduce (
self,
Stack,
Context=None,
)
rule.reduce(Stack) pops of the stack elements corresponding
to the body of the rule and prepares the appropriate reduction
object for evaluation (or not) at higher levels
|