C# Class IronPython.Runtime.Binding.MetaOldInstance

Provides a MetaObject for instances of Python's old-style classes. TODO: Lots of CodeConetxt references, need to move CodeContext onto OldClass and pull it from there.
Inheritance: MetaPythonObject, IPythonInvokable, IPythonGetable, IPythonOperable
Exibir arquivo Open project: jschementi/iron

Public Methods

Method Description
BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
BindConvert ( ConvertBinder conversion ) : DynamicMetaObject
BindConvert ( PythonConversionBinder binder ) : DynamicMetaObject
BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
BindDeleteMember ( DeleteMemberBinder member ) : DynamicMetaObject
BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
BindGetMember ( GetMemberBinder member ) : DynamicMetaObject
BindInvoke ( InvokeBinder invoke ) : DynamicMetaObject
BindInvokeMember ( InvokeMemberBinder action, DynamicMetaObject args ) : DynamicMetaObject
BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
BindSetMember ( SetMemberBinder member, DynamicMetaObject value ) : DynamicMetaObject
BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
ConvertWorker ( DynamicMetaObjectBinder binder, Type type, Type retType, ConversionResultKind kind ) : DynamicMetaObject
GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable
GetMember ( IronPython.Runtime.Binding.PythonGetMemberBinder member, DynamicMetaObject codeContext ) : DynamicMetaObject
Invoke ( IronPython.Runtime.Binding.PythonInvokeBinder pythonInvoke, Expression codeContext, DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
MetaOldInstance ( Expression expression, BindingRestrictions restrictions, OldInstance value ) : System.Linq.Expressions

Private Methods

Method Description
FallbackGet ( DynamicMetaObjectBinder member, DynamicMetaObject args ) : Expression
GetCustomStorageSlot ( string name, IronPython.Runtime.Types.CustomInstanceDictionaryStorage &dict ) : int
IPythonOperable ( IronPython.Runtime.Binding.PythonOperationBinder action, DynamicMetaObject args ) : DynamicMetaObject
InvokeWorker ( DynamicMetaObjectBinder invoke, Expression codeContext, DynamicMetaObject args ) : DynamicMetaObject
MakeConvertToBool ( DynamicMetaObjectBinder conversion ) : DynamicMetaObject
MakeConvertToCommon ( DynamicMetaObjectBinder conversion, Type toType, Type retType, string name ) : DynamicMetaObject
MakeConvertToIEnumerable ( DynamicMetaObjectBinder conversion ) : DynamicMetaObject
MakeConvertToIEnumerable ( DynamicMetaObjectBinder conversion, Type toType, Type genericType ) : DynamicMetaObject
MakeConvertToIEnumerator ( DynamicMetaObjectBinder conversion ) : DynamicMetaObject
MakeDynamicMemberAccess ( DynamicMetaObjectBinder member, string name, MemberAccess access, DynamicMetaObject args ) : DynamicMetaObject
MakeIsCallable ( IronPython.Runtime.Binding.PythonOperationBinder operation ) : DynamicMetaObject
MakeMemberAccess ( DynamicMetaObjectBinder member, string name, MemberAccess access ) : DynamicMetaObject
MakeOneConvert ( DynamicMetaObjectBinder conversion, DynamicMetaObject self, string name, System.Linq.Expressions.ParameterExpression tmp ) : BinaryExpression

Method Details

BindBinaryOperation() public method

public BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
binder BinaryOperationBinder
arg DynamicMetaObject
return DynamicMetaObject

BindConvert() public method

public BindConvert ( ConvertBinder conversion ) : DynamicMetaObject
conversion ConvertBinder
return DynamicMetaObject

BindConvert() public method

public BindConvert ( PythonConversionBinder binder ) : DynamicMetaObject
binder PythonConversionBinder
return DynamicMetaObject

BindDeleteIndex() public method

public BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder DeleteIndexBinder
indexes DynamicMetaObject
return DynamicMetaObject

BindDeleteMember() public method

public BindDeleteMember ( DeleteMemberBinder member ) : DynamicMetaObject
member DeleteMemberBinder
return DynamicMetaObject

BindGetIndex() public method

public BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder GetIndexBinder
indexes DynamicMetaObject
return DynamicMetaObject

BindGetMember() public method

public BindGetMember ( GetMemberBinder member ) : DynamicMetaObject
member GetMemberBinder
return DynamicMetaObject

BindInvoke() public method

public BindInvoke ( InvokeBinder invoke ) : DynamicMetaObject
invoke InvokeBinder
return DynamicMetaObject

BindInvokeMember() public method

public BindInvokeMember ( InvokeMemberBinder action, DynamicMetaObject args ) : DynamicMetaObject
action InvokeMemberBinder
args DynamicMetaObject
return DynamicMetaObject

BindSetIndex() public method

public BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
binder SetIndexBinder
indexes DynamicMetaObject
value DynamicMetaObject
return DynamicMetaObject

BindSetMember() public method

public BindSetMember ( SetMemberBinder member, DynamicMetaObject value ) : DynamicMetaObject
member SetMemberBinder
value DynamicMetaObject
return DynamicMetaObject

BindUnaryOperation() public method

public BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
binder UnaryOperationBinder
return DynamicMetaObject

ConvertWorker() public method

public ConvertWorker ( DynamicMetaObjectBinder binder, Type type, Type retType, ConversionResultKind kind ) : DynamicMetaObject
binder DynamicMetaObjectBinder
type System.Type
retType System.Type
kind ConversionResultKind
return DynamicMetaObject

GetDynamicMemberNames() public method

public GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable
return System.Collections.Generic.IEnumerable

GetMember() public method

public GetMember ( IronPython.Runtime.Binding.PythonGetMemberBinder member, DynamicMetaObject codeContext ) : DynamicMetaObject
member IronPython.Runtime.Binding.PythonGetMemberBinder
codeContext DynamicMetaObject
return DynamicMetaObject

Invoke() public method

public Invoke ( IronPython.Runtime.Binding.PythonInvokeBinder pythonInvoke, Expression codeContext, DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
pythonInvoke IronPython.Runtime.Binding.PythonInvokeBinder
codeContext Expression
target DynamicMetaObject
args DynamicMetaObject
return DynamicMetaObject

MetaOldInstance() public method

public MetaOldInstance ( Expression expression, BindingRestrictions restrictions, OldInstance value ) : System.Linq.Expressions
expression Expression
restrictions BindingRestrictions
value IronPython.Runtime.Types.OldInstance
return System.Linq.Expressions