SPRAAK
|
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 |
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
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 | |||
) |