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

Public Member Functions

def __init__
 The lowest level token sequence. More...
 
def get_next
 
def get_type
 
def get_str
 
def get_strs
 
def get_loc
 
def include
 
- Public Member Functions inherited from spr_parser.TokenSeq
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.TokenSeqChr.__init__ (   self,
  name,
  fname 
)

The lowest level token sequence.

the character string

Parameters
selfNote: the tokens are 'virtual' (reference in a long string containing the complete content of the file)
nameNote: the tokens are 'virtual' (reference in a long string containing the complete content of the file)
fnameNote: the tokens are 'virtual' (reference in a long string containing the complete content of the file)

Member Function Documentation

def spr_parser.TokenSeqChr.get_next (   self,
  tref 
)
def spr_parser.TokenSeqChr.get_type (   self,
  tref 
)
def spr_parser.TokenSeqChr.get_str (   self,
  tref 
)
def spr_parser.TokenSeqChr.get_strs (   self,
  tref,
  tref1,
  trefE 
)
def spr_parser.TokenSeqChr.get_loc (   self,
  tref 
)
def spr_parser.TokenSeqChr.include (   self,
  tref,
  fname 
)