C# Class IronRuby.Runtime.Calls.CallArguments

Wraps the arguments of a dynamic call site Includes the actual arguments, the expressions that produced those arguments, and the call signature. These three things are grouped together to ensure that they are all in sync when we want to shift the arguments around during the method binding process.
Show file Open project: jschementi/iron Class Usage Examples

Private Properties

Property Type Description
CallArguments System.Linq.Expressions
CallArguments System.Linq.Expressions
CallArguments System.Linq.Expressions
GetBlockIndex int
GetCallSiteArguments ReadOnlyCollection
GetRhsArgumentIndex int
GetSimpleArgument object
GetSimpleArgumentExpression System.Linq.Expressions.Expression
GetSimpleArgumentIndex int
GetSimpleMetaArgument DynamicMetaObject
GetSplattedArgumentIndex int
InsertMethodName void
SetArgument void

Public Methods

Method Description
GetBlock ( ) : Proc
GetBlockExpression ( ) : Expression
GetMetaBlock ( ) : DynamicMetaObject
GetRhsArgument ( ) : object
GetRhsArgumentExpression ( ) : Expression
GetRhsMetaArgument ( ) : DynamicMetaObject
GetSimpleArgumentExpressions ( ) : AstExpressions
GetSplattedArgument ( ) : IList
GetSplattedArgumentExpression ( ) : Expression
GetSplattedMetaArgument ( ) : DynamicMetaObject
InsertSimple ( int index, DynamicMetaObject arg ) : void
SetSimpleArgument ( int index, DynamicMetaObject arg ) : void
SetTarget ( Expression expression, object value ) : void

Private Methods

Method Description
CallArguments ( DynamicMetaObject context, DynamicMetaObject target, DynamicMetaObject args, RubyCallSignature signature ) : System.Linq.Expressions
CallArguments ( RubyContext context, DynamicMetaObject target, DynamicMetaObject args, CallInfo callInfo ) : System.Linq.Expressions
CallArguments ( RubyContext context, DynamicMetaObject scopeOrContextOrTargetOrArgArray, DynamicMetaObject args, RubyCallSignature signature ) : System.Linq.Expressions
GetBlockIndex ( ) : int
GetCallSiteArguments ( Expression targetExpression ) : ReadOnlyCollection
GetRhsArgumentIndex ( ) : int
GetSimpleArgument ( int i ) : object
GetSimpleArgumentExpression ( int i ) : Expression
GetSimpleArgumentIndex ( int i ) : int
GetSimpleMetaArgument ( int i ) : DynamicMetaObject
GetSplattedArgumentIndex ( ) : int
InsertMethodName ( string methodName ) : void
SetArgument ( int index, DynamicMetaObject arg ) : void

Method Details

GetBlock() public method

public GetBlock ( ) : Proc
return IronRuby.Builtins.Proc

GetBlockExpression() public method

public GetBlockExpression ( ) : Expression
return System.Linq.Expressions.Expression

GetMetaBlock() public method

public GetMetaBlock ( ) : DynamicMetaObject
return DynamicMetaObject

GetRhsArgument() public method

public GetRhsArgument ( ) : object
return object

GetRhsArgumentExpression() public method

public GetRhsArgumentExpression ( ) : Expression
return System.Linq.Expressions.Expression

GetRhsMetaArgument() public method

public GetRhsMetaArgument ( ) : DynamicMetaObject
return DynamicMetaObject

GetSimpleArgumentExpressions() public method

public GetSimpleArgumentExpressions ( ) : AstExpressions
return AstExpressions

GetSplattedArgument() public method

public GetSplattedArgument ( ) : IList
return IList

GetSplattedArgumentExpression() public method

public GetSplattedArgumentExpression ( ) : Expression
return System.Linq.Expressions.Expression

GetSplattedMetaArgument() public method

public GetSplattedMetaArgument ( ) : DynamicMetaObject
return DynamicMetaObject

InsertSimple() public method

public InsertSimple ( int index, DynamicMetaObject arg ) : void
index int
arg DynamicMetaObject
return void

SetSimpleArgument() public method

public SetSimpleArgument ( int index, DynamicMetaObject arg ) : void
index int
arg DynamicMetaObject
return void

SetTarget() public method

public SetTarget ( Expression expression, object value ) : void
expression System.Linq.Expressions.Expression
value object
return void