Exemplo n.º 1
0
def p_insertStmt(t):
    """insertStmt : R_INSERT R_INTO ID paramsColumn R_VALUES S_PARIZQ paramsList S_PARDER"""

    t[0] = instruction.InsertInto(t[3], t[4], t[7])
    repGrammar.append(t.slice)
Exemplo n.º 2
0
def p_insertStmt(t):
    """insertStmt : R_INSERT R_INTO ID R_VALUES S_PARIZQ paramsList S_PARDER"""

    t[0] = instruction.InsertInto(t[3], t[6])