Method | Description | |
---|---|---|
CompleteRuleTarget ( DynamicMetaObjectBinder metaBinder, DynamicMetaObject args, Func |
Adds the target of the call to the rule.
|
|
GetTupleArguments ( DynamicMetaObject arguments ) : DynamicMetaObject[] |
Gets the arguments in a form that should be used for extended slicing. Python defines that multiple tuple arguments received (x[1,2,3]) get packed into a Tuple. For most .NET methods we just want to expand this into the multiple index arguments. For slots and old-instances we want to pass in the tuple
|
|
MakeCallable ( PythonContext binder, PythonIndexType op, IronPython.Runtime.Types.BuiltinFunction itemFunc, |
Creates a new CallableObject. If BuiltinFunction is available we'll create a BuiltinCallable otherwise we create a SlotCallable.
|
Method | Description | |
---|---|---|
Callable ( PythonContext binder, PythonIndexType op ) : System.Linq.Expressions |
protected Callable ( PythonContext binder, PythonIndexType op ) : System.Linq.Expressions | ||
binder | PythonContext | |
op | PythonIndexType | |
return | System.Linq.Expressions |
public abstract CompleteRuleTarget ( DynamicMetaObjectBinder metaBinder, DynamicMetaObject args, Func |
||
metaBinder | DynamicMetaObjectBinder | |
args | DynamicMetaObject | |
customFailure | Func |
|
return | DynamicMetaObject |
public GetTupleArguments ( DynamicMetaObject arguments ) : DynamicMetaObject[] | ||
arguments | DynamicMetaObject | |
return | DynamicMetaObject[] |
public static MakeCallable ( PythonContext binder, PythonIndexType op, IronPython.Runtime.Types.BuiltinFunction itemFunc, |
||
binder | PythonContext | |
op | PythonIndexType | |
itemFunc | IronPython.Runtime.Types.BuiltinFunction | |
itemSlot | ||
return | Callable |