bridgepoint/ooaofooa.py
def mk_operation(metaclass, o_tfr):
    '''
    Create a python function that interprets that action of a BridgePoint class
    operation.
    '''
    o_obj = one(o_tfr).O_OBJ[115]()
    action = o_tfr.Action_Semantics_internal
    label = '%s::%s' % (o_obj.Name, o_tfr.Name)
    run = interpret.run_operation
    
    if o_tfr.Instance_Based:
        return lambda self, **kwargs: run(metaclass, label, action, kwargs, self)
    else:
        fn = lambda cls, **kwargs: run(metaclass, label, action, kwargs, None)
        return classmethod(fn)
def mk_operation(metaclass, o_tfr):
    '''
    Create a python function that interprets that action of a BridgePoint class
    operation.
    '''
    o_obj = one(o_tfr).O_OBJ[115]()
    action = o_tfr.Action_Semantics_internal
    label = '%s::%s' % (o_obj.Name, o_tfr.Name)
    run = interpret.run_operation
    
    if o_tfr.Instance_Based:
        return lambda self, **kwargs: run(metaclass, label, action, kwargs, self)
    else:
        fn = lambda cls, **kwargs: run(metaclass, label, action, kwargs, None)
        return classmethod(fn)
def mk_operation ( metaclass , o_tfr ) : o_obj = one ( o_tfr ) . O_OBJ [ 115 ] ( ) action = o_tfr . Action_Semantics_internal label = '%s::%s' % ( o_obj . Name , o_tfr . Name ) run = interpret . run_operation if o_tfr . Instance_Based : return lambda self , * * kwargs : run ( metaclass , label , action , kwargs , self ) else : fn = lambda cls , * * kwargs : run ( metaclass , label , action , kwargs , None ) return classmethod ( fn )
Create a python function that interprets that action of a BridgePoint class
    operation.
Create a python function that interprets that action of a BridgePoint class operation .