SPRAAK
|
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 |
![]() | |
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 |
def spr_parser.TokenSeqChr.__init__ | ( | self, | |
name, | |||
fname | |||
) |
The lowest level token sequence.
the character string
self | Note: the tokens are 'virtual' (reference in a long string containing the complete content of the file) |
name | Note: the tokens are 'virtual' (reference in a long string containing the complete content of the file) |
fname | Note: the tokens are 'virtual' (reference in a long string containing the complete content of the file) |
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 | |||
) |