Public Member Functions | Public Attributes | Private Member Functions
rocon_ebnf.rule_parser._RpDefinition Class Reference

List of all members.

Public Member Functions

def __init__

Public Attributes

 code
 definition
 rp

Private Member Functions

def _addcode
def _interpretCode
def _parse
def _scan

Detailed Description

Class containing definitions (rule, terminal,...) 

Definition at line 220 of file rule_parser.py.


Constructor & Destructor Documentation

def rocon_ebnf.rule_parser._RpDefinition.__init__ (   self,
  aDef,
  _rp,
  code = '' 
)
in init, we make:
 - scan the definitions to create relative objects
     such as Rule, Terminal, Regular.
 - acquire the future to be executed

Definition at line 222 of file rule_parser.py.


Member Function Documentation

def rocon_ebnf.rule_parser._RpDefinition._addcode (   self,
  code 
) [private]
add code statement to the current definition 

Definition at line 231 of file rule_parser.py.

interpret the code defined for rule 
  - variables defined in code must begin with '$'
    followed by the rule name

Definition at line 340 of file rule_parser.py.

def rocon_ebnf.rule_parser._RpDefinition._parse (   self,
  _tk,
  mult = '' 
) [private]
parse the definition:
   - loop on all items of definition 
   - and call appropriate objet._parse 
      (Rule,Terminal,Regular)

Definition at line 234 of file rule_parser.py.

def rocon_ebnf.rule_parser._RpDefinition._scan (   self,
  adef 
) [private]
scan definition to create objects 

Definition at line 276 of file rule_parser.py.


Member Data Documentation

Definition at line 226 of file rule_parser.py.

Definition at line 226 of file rule_parser.py.

Definition at line 226 of file rule_parser.py.


The documentation for this class was generated from the following file:


rocon_ebnf
Author(s): LParis
autogenerated on Fri May 2 2014 10:35:48