C# Class IronPython.Runtime.Binding.PythonOverloadResolver

Inheritance: Microsoft.Scripting.Actions.DefaultOverloadResolver
Show file Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CanConvertFrom ( Type fromType, DynamicMetaObject fromArg, Microsoft.Scripting.Actions.Calls.ParameterWrapper toParameter, NarrowingLevel level ) : bool
Convert ( DynamicMetaObject metaObject, Type restrictedType, ParameterInfo info, Type toType ) : Expression
GetDynamicConversion ( Expression value, Type type ) : Expression
GetGenericInferenceType ( DynamicMetaObject dynamicObject ) : Type
PythonOverloadResolver ( PythonBinder binder, DynamicMetaObject instance, IList args, CallSignature signature, Expression codeContext ) : System.Linq.Expressions
PythonOverloadResolver ( PythonBinder binder, IList args, CallSignature signature, CallTypes callType, Expression codeContext ) : System.Linq.Expressions
PythonOverloadResolver ( PythonBinder binder, IList args, CallSignature signature, Expression codeContext ) : System.Linq.Expressions

Protected Methods

Method Description
AllowMemberInitialization ( OverloadInfo method ) : bool
GetByRefArrayExpression ( Expression argumentArrayExpression ) : Expression
MapSpecialParameters ( ParameterMapping mapping ) : BitArray

Method Details

AllowMemberInitialization() protected method

protected AllowMemberInitialization ( OverloadInfo method ) : bool
method Microsoft.Scripting.Actions.Calls.OverloadInfo
return bool

CanConvertFrom() public method

public CanConvertFrom ( Type fromType, DynamicMetaObject fromArg, Microsoft.Scripting.Actions.Calls.ParameterWrapper toParameter, NarrowingLevel level ) : bool
fromType System.Type
fromArg System.Dynamic.DynamicMetaObject
toParameter Microsoft.Scripting.Actions.Calls.ParameterWrapper
level NarrowingLevel
return bool

Convert() public method

public Convert ( DynamicMetaObject metaObject, Type restrictedType, ParameterInfo info, Type toType ) : Expression
metaObject System.Dynamic.DynamicMetaObject
restrictedType System.Type
info System.Reflection.ParameterInfo
toType System.Type
return Expression

GetByRefArrayExpression() protected method

protected GetByRefArrayExpression ( Expression argumentArrayExpression ) : Expression
argumentArrayExpression Expression
return Expression

GetDynamicConversion() public method

public GetDynamicConversion ( Expression value, Type type ) : Expression
value Expression
type System.Type
return Expression

GetGenericInferenceType() public method

public GetGenericInferenceType ( DynamicMetaObject dynamicObject ) : Type
dynamicObject System.Dynamic.DynamicMetaObject
return System.Type

MapSpecialParameters() protected method

protected MapSpecialParameters ( ParameterMapping mapping ) : BitArray
mapping Microsoft.Scripting.Actions.Calls.ParameterMapping
return System.Collections.BitArray

PythonOverloadResolver() public method

public PythonOverloadResolver ( PythonBinder binder, DynamicMetaObject instance, IList args, CallSignature signature, Expression codeContext ) : System.Linq.Expressions
binder PythonBinder
instance System.Dynamic.DynamicMetaObject
args IList
signature CallSignature
codeContext Expression
return System.Linq.Expressions

PythonOverloadResolver() public method

public PythonOverloadResolver ( PythonBinder binder, IList args, CallSignature signature, CallTypes callType, Expression codeContext ) : System.Linq.Expressions
binder PythonBinder
args IList
signature CallSignature
callType CallTypes
codeContext Expression
return System.Linq.Expressions

PythonOverloadResolver() public method

public PythonOverloadResolver ( PythonBinder binder, IList args, CallSignature signature, Expression codeContext ) : System.Linq.Expressions
binder PythonBinder
args IList
signature CallSignature
codeContext Expression
return System.Linq.Expressions