示例#1
0
def _lift_provides(location, ref, id2):
    return Provides(Reference(ref.name, Procedure, ref.location), id2,
                    location)
示例#2
0
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)