simpleparse.printer
index
s:\sp\simpleparse\printer.py

 
Modules
            
mx.TextTools
string
 
Classes
            
OutputGrammar
 
class OutputGrammar
      Allows you to convert a SimpleParse generator to a python-source-code module
 
   Methods defined here:
__call__(self, productionSet, nameSet)
Pass in the root list of tag tables and indexed names
commandTup(self, commandTup)
Create description for commandTup
table(self, table)

Data and non-method functions defined here:
__doc__ = 'Allows you to convert a SimpleParse generator to a python-source-code module\n\n\t\n\t'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__module__ = 'simpleparse.printer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
 
Data
             __file__ = r'S:\sp\simpleparse\printer.py'
__name__ = 'simpleparse.printer'
commandNames = ['AllIn', 'AllInCharSet', 'AllInSet', 'AllNotIn', 'Call', 'CallArg', 'EOF', 'Fail', 'Is', 'IsIn', 'IsInCharSet', 'IsInSet', 'IsNot', 'IsNotIn', 'Jump', 'JumpTarget', 'Loop', 'LoopControl', 'Move', 'Skip', ...]
commands = {11: 'AllIn', 12: 'AllNotIn', 13: 'Is', 14: 'IsIn', 15: 'IsNotIn', 21: 'Word', 22: 'WordStart', 23: 'WordEnd', 31: 'AllInSet', 32: 'IsInSet', ...}
flag = 'LookAhead'
flags = [('CallTag', 211), ('AppendMatch', 211), ('AppendToTagobj', 211), ('AppendTagobj', 211), ('LookAhead', 211)]
name = 'sWordStart'
p = <simpleparse.parser.Parser instance at 0x007D9628>