Esempio n. 1
0
def _lift_emits(location, id, id2):
    return Emits(id, id2, location)
Esempio n. 2
0
def p_emits_statement(t):
    '''emits_statement : emits ID ID SEMI'''
    t[0] = Emits(Reference(t[2], Event), t[3], filename=t.lexer.filename, \
        lineno=t.lexer.lineno)