SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions
spr_parser.TokenSeq Class Reference
+ Inheritance diagram for spr_parser.TokenSeq:
+ Collaboration diagram for spr_parser.TokenSeq:

Public Member Functions

def __init__
 items must have the following fields and/or methods next reference to next token type the main type str the text making up this token (optional method, BF: lower level) loc location of the (optional method, BF: lower level) src tuple (first-1,first,last) refering to the lower level More...
 
def __iter__
 reference to the dummy token before the first token More...
 
def get_next
 global note: the 'except' cases are usually the 'normal' cases (python weirdness) More...
 
def get_type
 
def get_str
 
def get_strs
 
def get_loc
 
def get_src
 

Constructor & Destructor Documentation

def spr_parser.TokenSeq.__init__ (   self,
  name,
  tseq_in 
)

items must have the following fields and/or methods next reference to next token type the main type str the text making up this token (optional method, BF: lower level) loc location of the (optional method, BF: lower level) src tuple (first-1,first,last) refering to the lower level

Member Function Documentation

def spr_parser.TokenSeq.__iter__ (   self)

reference to the dummy token before the first token

def spr_parser.TokenSeq.get_next (   self,
  tref 
)

global note: the 'except' cases are usually the 'normal' cases (python weirdness)

def spr_parser.TokenSeq.get_type (   self,
  tref 
)
def spr_parser.TokenSeq.get_str (   self,
  tref 
)
def spr_parser.TokenSeq.get_strs (   tseq_in,
  tref,
  tref1,
  trefE 
)
def spr_parser.TokenSeq.get_loc (   self,
  tref 
)
def spr_parser.TokenSeq.get_src (   self,
  tref 
)