def _lift_provides(location, ref, id2): return Provides(Reference(ref.name, Procedure, ref.location), id2, location)
def p_provides_statement(t): '''provides_statement : provides ID ID SEMI''' t[0] = Provides(Reference(t[2], Procedure), t[3], \ filename=t.lexer.filename, lineno=t.lexer.lineno)