Exemplo n.º 1
0
def p_selectparams_params(t):
    """selectParams : selectList"""
    t[0] = instruction.SelectParams(t[1], t[1][0].row, t[1][0].column)

    repGrammar.append(t.slice)
Exemplo n.º 2
0
def p_selectparams_all(t):
    """selectParams : O_PRODUCTO"""
    t[0] = instruction.SelectParams([], t.slice[1].lineno, t.slice[1].lexpos)

    repGrammar.append(t.slice)
Exemplo n.º 3
0
def p_selectparams_all(t):
    """selectParams : O_PRODUCTO"""
    t[0] = instruction.SelectParams(instruction.SELECT_MODE.ALL, [],
                                    t.slice[1].lineno, t.slice[1].lexpos)
Exemplo n.º 4
0
def p_selectparams_params(t):
    """selectParams : selectList"""
    t[0] = instruction.SelectParams(instruction.SELECT_MODE.PARAMS, t[1],
                                    t[1][0].row, t[1][0].column)
Exemplo n.º 5
0
def p_selectparams_params(t):
    """selectParams : selectList"""
    t[0] = instruction.SelectParams(t[1], t[1][0].row, t[1][0].column)