def p_selectstmt_only_params(t): """selectStmt : R_SELECT selectParams""" t[0] = instruction.SelectOnlyParams( t[2].params, t[2].params[0].row, t[2].params[0].row ) repGrammar.append(t.slice)
def p_selectStmt(t): """selectStmt : R_SELECT selectParams whereCl""" if t[3] == None: t[0] = instruction.SelectOnlyParams(t[2].params, t[2].params[0].row, t[2].params[0].row) else: t[0] = instruction.Select(t[2].params, t[3], df.dataTable, t[2].row, t[2].column)
def p_selectstmt_only_params(t): """selectStmt : R_SELECT selectParams""" t[0] = instruction.SelectOnlyParams(t[2].params, t[2].params[0].row, t[2].params[0].row)