Example #1
0
def reduce_46(*args):
    S = Token(idt="S")
    S.value = '<>'
    return S
Example #2
0
def reduce_44(*args):
    S = Token(idt="S")
    S.value = '>='
    return S
Example #3
0
def reduce_45(*args):
    S = Token(idt="S")
    S.value = '=='
    return S
Example #4
0
def reduce_23(*args):
    E = Token(idt="E")
    E.value = "int"
    return E
Example #5
0
def reduce_42(*args):
    S = Token(idt="S")
    S.value = '<='
    return S
Example #6
0
def reduce_22(*args):
    E = Token(idt="E")
    E.value = "real"
    return E
Example #7
0
def reduce_19(*args):
    n = args[1]
    N0 = args[2]
    N = Token(idt="N")
    N.value = [n.value] + N0.value
    return N
Example #8
0
def reduce_18(*args):
    N = Token(idt="N")
    N.value = []
    return N
Example #9
0
def reduce_34(*args):
    S = Token(idt="S")
    S.value = '<'
    return S
Example #10
0
def reduce_32(*args):
    S = Token(idt="S")
    S.value = '>'
    return S