Table of Contents

Class: ParseRule Zope-2.2.1-src/lib/python/Products/ZGadflyDA/gadfly/kjParser.py

Methods   
__init__
__repr__
components
reduce
  __init__ 
__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

Exceptions   
TypeError
  __repr__ 
__repr__ ( self )

for dumping/reconstruction: LOSES THE INTERPRETATION FUNCTION!

  components 
components ( self )

marshal-able components of a rule

  reduce 
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

Exceptions   
ReductError

Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6