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
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode 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

Méthode 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 méthode

public BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
binder BinaryOperationBinder
arg DynamicMetaObject
Résultat DynamicMetaObject

BindConvert() public méthode

public BindConvert ( ConvertBinder conversion ) : DynamicMetaObject
conversion ConvertBinder
Résultat DynamicMetaObject

BindConvert() public méthode

public BindConvert ( PythonConversionBinder binder ) : DynamicMetaObject
binder PythonConversionBinder
Résultat DynamicMetaObject

BindDeleteIndex() public méthode

public BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder DeleteIndexBinder
indexes DynamicMetaObject
Résultat DynamicMetaObject

BindDeleteMember() public méthode

public BindDeleteMember ( DeleteMemberBinder member ) : DynamicMetaObject
member DeleteMemberBinder
Résultat DynamicMetaObject

BindGetIndex() public méthode

public BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder GetIndexBinder
indexes DynamicMetaObject
Résultat DynamicMetaObject

BindGetMember() public méthode

public BindGetMember ( GetMemberBinder member ) : DynamicMetaObject
member GetMemberBinder
Résultat DynamicMetaObject

BindInvoke() public méthode

public BindInvoke ( InvokeBinder invoke ) : DynamicMetaObject
invoke InvokeBinder
Résultat DynamicMetaObject

BindInvokeMember() public méthode

public BindInvokeMember ( InvokeMemberBinder action, DynamicMetaObject args ) : DynamicMetaObject
action InvokeMemberBinder
args DynamicMetaObject
Résultat DynamicMetaObject

BindSetIndex() public méthode

public BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
binder SetIndexBinder
indexes DynamicMetaObject
value DynamicMetaObject
Résultat DynamicMetaObject

BindSetMember() public méthode

public BindSetMember ( SetMemberBinder member, DynamicMetaObject value ) : DynamicMetaObject
member SetMemberBinder
value DynamicMetaObject
Résultat DynamicMetaObject

BindUnaryOperation() public méthode

public BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
binder UnaryOperationBinder
Résultat DynamicMetaObject

ConvertWorker() public méthode

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

GetDynamicMemberNames() public méthode

public GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable
Résultat System.Collections.Generic.IEnumerable

GetMember() public méthode

public GetMember ( IronPython.Runtime.Binding.PythonGetMemberBinder member, DynamicMetaObject codeContext ) : DynamicMetaObject
member IronPython.Runtime.Binding.PythonGetMemberBinder
codeContext DynamicMetaObject
Résultat DynamicMetaObject

Invoke() public méthode

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
Résultat DynamicMetaObject

MetaOldInstance() public méthode

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