Ejemplo n.º 1
0
class Echo(Lexeme):
    string = "glamor"

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

    matcher = CompareMatcher("glamor")
Ejemplo n.º 2
0
class Class(Lexeme):
    string = "gaud"

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

    matcher = CompareMatcher(string)
Ejemplo n.º 3
0
class Access(Lexeme):
    string = "."

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

    matcher = CompareMatcher(".")
Ejemplo n.º 4
0
class EOF(Lexeme):
    string = "<EOF>"

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

    matcher = CompareMatcher('')
Ejemplo n.º 5
0
class LineEnd(Lexeme):
    string = "<line_end>"

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

    matcher = CompareMatcher('\n')
Ejemplo n.º 6
0
class Else(Lexeme):
    string = "minei"

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

    matcher = CompareMatcher("minei")
Ejemplo n.º 7
0
class BlockEnd(Lexeme):
    string = "meth"

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

    matcher = CompareMatcher("meth")
Ejemplo n.º 8
0
class Affectation(Lexeme):
    string = "="

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

    matcher = CompareMatcher("=")
Ejemplo n.º 9
0
class Input(Lexeme):
    string = "toltha"

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

    matcher = CompareMatcher("toltha")
Ejemplo n.º 10
0
class GroupEnd(Lexeme):
    string = ")"

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

    matcher = CompareMatcher(")")
Ejemplo n.º 11
0
class Not(Lexeme):
    string = "al"

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

    matcher = CompareMatcher("al")
Ejemplo n.º 12
0
class SeqEnd(Lexeme):
    string = "]"

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

    matcher = CompareMatcher("]")
Ejemplo n.º 13
0
class If(Lexeme):
    string = "gowest"

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

    matcher = CompareMatcher("gowest")
Ejemplo n.º 14
0
class Import(Lexeme):
    string = "baur"

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

    matcher = CompareMatcher("baur")
Ejemplo n.º 15
0
class InstructionSeparator(Lexeme):
    string = ";"

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

    matcher = CompareMatcher(";")
Ejemplo n.º 16
0
class Bound(Lexeme):
    string = "gleina"

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

    matcher = CompareMatcher("gleina")
Ejemplo n.º 17
0
class Enter(Lexeme):
    string = "minna"

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

    matcher = CompareMatcher("minna")
Ejemplo n.º 18
0
class Function(Lexeme):
    string = "tass"

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

    matcher = CompareMatcher("tass")
Ejemplo n.º 19
0
class Or(Lexeme):
    string = "egor"

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

    matcher = CompareMatcher("egor")
Ejemplo n.º 20
0
class NoneL(Lexeme):
    string = "cofn"

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

    matcher = CompareMatcher("cofn")
Ejemplo n.º 21
0
class GroupStart(Lexeme):
    string = "("

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

    matcher = CompareMatcher("(")
Ejemplo n.º 22
0
class And(Lexeme):
    string = "a"

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

    matcher = CompareMatcher("a")
Ejemplo n.º 23
0
class For(Lexeme):
    string = "an"

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

    matcher = CompareMatcher("an")
Ejemplo n.º 24
0
class Separator(Lexeme):
    string = ","

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

    matcher = CompareMatcher(",")
Ejemplo n.º 25
0
class This(Lexeme):
    string = "sen"

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

    matcher = CompareMatcher("sen")
Ejemplo n.º 26
0
class SeqStart(Lexeme):
    string = "["

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

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