Table of Contents

Class: CFSMachine Zope-2.2.1-src/lib/python/Products/ZGadflyDA/gadfly/kjParseBuild.py

a derived FSM class, with closure computation methods defined (compilable FSMachine)

Base Classes   
kjParser.FSMachine
Methods   
Eclosure
NewSetState
__init__
  Eclosure 
Eclosure (
        self,
        Epsilon,
        DoNullMaps=0,
        )

return the epsilon closure of the FSM as a new FSM

DoNullMap, if set, will map unexpected tokens to the "empty" state (usually creating a really big fsm)

Exceptions   
TypeError
  NewSetState 
NewSetState (
        self,
        kind,
        InSet,
        )

add an set-marked state to self if not present uses self.States[s][1] as the set marking the state s

only used by Eclosure above

  __init__ 
__init__ ( self,  nonterm )


Table of Contents

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