Table of Contents

Module: pygram Zope-2.2.1-src/lib/python/Products/ZGadflyDA/gadfly/pygram.py

Imported modules   
from kjParser import KEYFLAG, ENDOFFILETERM
import regex
import string
Functions   
DeclareTerminals
GrammarBuild
echo
hackDoParse
test
unMarshalpygram
  DeclareTerminals 
DeclareTerminals ( Grammar )

  GrammarBuild 
GrammarBuild ()

  echo 
echo ( str )

  hackDoParse 
hackDoParse (
        String,
        Context=None,
        DoReductions=1,
        )

a HORRIBLE HACK! of a hack: override the DoParse of Grammar to give Python line numbers. RELIES ON GLOBAL pyg

Exceptions   
t
  test 
test (
        grammar,
        context=None,
        teststring=teststring,
        )

  unMarshalpygram 
unMarshalpygram ()

Classes   
pylexdict
pylexstringwalker

use a modified lexstringwalker


Table of Contents

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