simpleparse.examples.lines_commands
index
s:\sp\simpleparse\examples\lines_commands.py

 
Modules
            
simpleparse.common.chartypes
simpleparse.dispatchprocessor
simpleparse.common.numbers
time
 
Classes
            
simpleparse.dispatchprocessor.DispatchProcessor(simpleparse.processor.Processor)
Handler
 
class Handler(simpleparse.dispatchprocessor.DispatchProcessor)
       
  
Method resolution order:
Handler
simpleparse.dispatchprocessor.DispatchProcessor
simpleparse.processor.Processor
simpleparse.processor.MethodSource

Methods defined here:
_m_command = _m_name(self, taglist, text, left, right, subtags)
_m_command_line(self, taglist, text, left, right, subtags)
_m_data_line(self, taglist, text, left, right, subtags)
_m_float(self, taglist, text, left, right, subtags)
_m_name(self, taglist, text, left, right, subtags)
_m_parameter(self, taglist, text, left, right, subtags)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'simpleparse.examples.lines_commands'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from simpleparse.dispatchprocessor.DispatchProcessor:
__call__(self, value, buffer)
Process the results of the parsing run over buffer
 
Value can either be: (success, tags, next) for a top-level
production, or (tag, left, right, children) for a non-top
production.

Methods inherited from simpleparse.processor.Processor:
__repr__(self)
Return a representation of the class
 
Functions
            
gen_file(filename)
##import psyco
##psyco.bind( Handler )
test()
 
Data
             __file__ = r'S:\sp\simpleparse\examples\lines_commands.pyc'
__name__ = 'simpleparse.examples.lines_commands'
definition = "\nfile := (comment_line/command_line)+\n\n<comment... [a-zA-Z0-9-]+\n<ws> := [ \\t]*\n<EOL> := '\\n'\n"
p = <simpleparse.parser.Parser instance at 0x008B0AB0>