Beispiel #1
0
def p_useStmt(t):
    """useStmt : R_USE ID"""
    t[0] = instruction.useDataBase(t[2])
Beispiel #2
0
def p_useStmt(t):
    """useStmt : R_USE ID"""
    t[0] = instruction.useDataBase(t[2], t.slice[1].lineno, t.slice[1].lexpos)

    repGrammar.append(t.slice)
Beispiel #3
0
def p_useStmt(t):
    """
    useStmt : R_USE idOrString
    """
    t[0] = instruction.useDataBase(t[2])