Public Member Functions | Public Attributes
rocon_ebnf.rule_parser._Tokenizer Class Reference

List of all members.

Public Member Functions

def __init__
def getIndent
def getRemaining
def getString
def peek
def read
def removeBlanks
def reset

Public Attributes


Detailed Description

class representing the string to parse 

Definition at line 82 of file

Constructor & Destructor Documentation

def rocon_ebnf.rule_parser._Tokenizer.__init__ (   self,
set default values for string 

Definition at line 84 of file

Member Function Documentation

def rocon_ebnf.rule_parser._Tokenizer.getIndent (   self,
  _str = '.' 
returns string of ... for  debugging purposing 

Definition at line 122 of file

returns the remaining part of string not parsed 

Definition at line 108 of file

return the parsed substring (ptr is the start point) 

Definition at line 105 of file

peek current character in string, without consume it 

Definition at line 91 of file

read current character, and increment cursor 

Definition at line 99 of file

removed blanks of string before parsing rule, terminal or regular character
this function could be desactivated using rp.IGNORE_BLANKS

Definition at line 111 of file

def rocon_ebnf.rule_parser._Tokenizer.reset (   self,
  ptr = 0 
reset pointer when rule parsing is ko 

Definition at line 119 of file

Member Data Documentation

Definition at line 84 of file

Definition at line 84 of file

Definition at line 84 of file

Definition at line 84 of file

Definition at line 84 of file

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

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