Example #1
0
class Echo(Lexeme):
    string = "glamor"

    def __init__(self, strLexeme):
        super(Echo, self).__init__(strLexeme)

    matcher = CompareMatcher("glamor")
Example #2
0
class Class(Lexeme):
    string = "gaud"

    def __init__(self, str):
        super(Class, self).__init__(str)

    matcher = CompareMatcher(string)
Example #3
0
class Access(Lexeme):
    string = "."

    def __init__(self, str):
        super(Access, self).__init__(str)

    matcher = CompareMatcher(".")
Example #4
0
class EOF(Lexeme):
    string = "<EOF>"

    def __init__(self, symbolStr):
        super(EOF, self).__init__(symbolStr)

    matcher = CompareMatcher('')
Example #5
0
class LineEnd(Lexeme):
    string = "<line_end>"

    def __init__(self, strLexeme):
        super(LineEnd, self).__init__(strLexeme)

    matcher = CompareMatcher('\n')
Example #6
0
class Else(Lexeme):
    string = "minei"

    def __init__(self, strLexeme):
        super(Else, self).__init__(strLexeme)

    matcher = CompareMatcher("minei")
Example #7
0
class BlockEnd(Lexeme):
    string = "meth"

    def __init__(self, strLexeme):
        super(BlockEnd, self).__init__(strLexeme)

    matcher = CompareMatcher("meth")
Example #8
0
class Affectation(Lexeme):
    string = "="

    def __init__(self, str):
        super(Affectation, self).__init__(str)

    matcher = CompareMatcher("=")
Example #9
0
class Input(Lexeme):
    string = "toltha"

    def __init__(self, strLexeme):
        super(Input, self).__init__(strLexeme)

    matcher = CompareMatcher("toltha")
Example #10
0
class GroupEnd(Lexeme):
    string = ")"

    def __init__(self, strLexeme):
        super(GroupEnd, self).__init__(strLexeme)

    matcher = CompareMatcher(")")
Example #11
0
class Not(Lexeme):
    string = "al"

    def __init__(self, strLexeme):
        super(Not, self).__init__(strLexeme)

    matcher = CompareMatcher("al")
Example #12
0
class SeqEnd(Lexeme):
    string = "]"

    def __init__(self, strLexeme):
        super(SeqEnd, self).__init__(strLexeme)

    matcher = CompareMatcher("]")
Example #13
0
class If(Lexeme):
    string = "gowest"

    def __init__(self, strLexeme):
        super(If, self).__init__(strLexeme)

    matcher = CompareMatcher("gowest")
Example #14
0
class Import(Lexeme):
    string = "baur"

    def __init__(self, strLexeme):
        super(Import, self).__init__(strLexeme)

    matcher = CompareMatcher("baur")
class InstructionSeparator(Lexeme):
    string = ";"

    def __init__(self, strLexeme):
        super(InstructionSeparator, self).__init__(strLexeme)

    matcher = CompareMatcher(";")
Example #16
0
class Bound(Lexeme):
    string = "gleina"

    def __init__(self, strLexeme):
        super(Bound, self).__init__(strLexeme)

    matcher = CompareMatcher("gleina")
Example #17
0
class Enter(Lexeme):
    string = "minna"

    def __init__(self, strLexeme):
        super(Enter, self).__init__(strLexeme)

    matcher = CompareMatcher("minna")
Example #18
0
class Function(Lexeme):
    string = "tass"

    def __init__(self, strLexeme):
        super(Function, self).__init__(strLexeme)

    matcher = CompareMatcher("tass")
Example #19
0
class Or(Lexeme):
    string = "egor"

    def __init__(self, strLexeme):
        super(Or, self).__init__(strLexeme)

    matcher = CompareMatcher("egor")
Example #20
0
class NoneL(Lexeme):
    string = "cofn"

    def __init__(self, strLexeme):
        super(NoneL, self).__init__(strLexeme)

    matcher = CompareMatcher("cofn")
Example #21
0
class GroupStart(Lexeme):
    string = "("

    def __init__(self, strLexeme):
        super(GroupStart, self).__init__(strLexeme)

    matcher = CompareMatcher("(")
Example #22
0
class And(Lexeme):
    string = "a"

    def __init__(self, str):
        super(And, self).__init__(str)

    matcher = CompareMatcher("a")
Example #23
0
class For(Lexeme):
    string = "an"

    def __init__(self, strLexeme):
        super(For, self).__init__(strLexeme)

    matcher = CompareMatcher("an")
Example #24
0
class Separator(Lexeme):
    string = ","

    def __init__(self, strLexeme):
        super(Separator, self).__init__(strLexeme)

    matcher = CompareMatcher(",")
Example #25
0
class This(Lexeme):
    string = "sen"

    def __init__(self, str):
        super(This, self).__init__(str)

    matcher = CompareMatcher("sen")
Example #26
0
class SeqStart(Lexeme):
    string = "["

    def __init__(self, strLexeme):
        super(SeqStart, self).__init__(strLexeme)

    matcher = CompareMatcher("[")
Example #27
0
class Catch(Lexeme):
    string = "raeda"
    def __init__(self,strLexeme):
        super(Catch,self).__init__(strLexeme)
    matcher = CompareMatcher("raeda")
Example #28
0
class In(Lexeme):
    string = "min"
    def __init__(self,strLexeme):
        super(In,self).__init__(strLexeme)
    matcher = CompareMatcher("min")
Example #29
0
class Parent(Lexeme):
    string = "adar"
    def __init__(self,strLexeme):
        super(Parent,self).__init__(strLexeme)
    matcher = CompareMatcher("adar")
Example #30
0
class Call(Lexeme):
    string = "can"
    def __init__(self,str):
        super(Call,self).__init__(str)
    matcher = CompareMatcher("can")