C# Class Boo.Lang.Compiler.Steps.InjectCallableConversions

Inheritance: Boo.Lang.Compiler.Steps.AbstractVisitorCompilerStep
Datei anzeigen Open project: boo/boo-lang

Public Methods

Method Description
Dispose ( ) : void
LeaveArrayLiteralExpression ( Boo.Lang.Compiler.Ast.ArrayLiteralExpression node ) : void
LeaveBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
LeaveCastExpression ( Boo.Lang.Compiler.Ast.CastExpression node ) : void
LeaveExpressionPair ( ExpressionPair pair ) : void
LeaveExpressionStatement ( ExpressionStatement node ) : void
LeaveGeneratorExpression ( GeneratorExpression node ) : void
LeaveListLiteralExpression ( ListLiteralExpression node ) : void
LeaveMemberReferenceExpression ( MemberReferenceExpression node ) : void
LeaveMethodInvocationExpression ( MethodInvocationExpression node ) : void
LeaveReturnStatement ( ReturnStatement node ) : void
LeaveTryCastExpression ( TryCastExpression node ) : void
OnMethod ( Method node ) : void
Run ( ) : void

Private Methods

Method Description
Adapt ( ICallableType expected, Expression callable ) : Expression
Convert ( IType expectedType, Expression argument ) : Expression
ConvertExpression ( Expression expression ) : Expression
ConvertExpressions ( Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void
ConvertMethodInvocation ( MethodInvocationExpression node, IParameter parameters ) : void
CreateAdaptor ( ICallableType to, ICallableType from ) : ClassDefinition
CreateDelegate ( IType type, Expression source ) : Expression
FindAdaptor ( ICallableType to, ICallableType from ) : ClassDefinition
GetAdaptor ( ICallableType to, ICallableType from ) : ClassDefinition
GetConcreteType ( IType type ) : IType
GetInvokeMethod ( ICallableType type ) : IMethod
HasReturnType ( IMethod method ) : bool
Initialize ( ) : void
IsCallableType ( IType type ) : bool
IsEndInvokeOnStandaloneMethodReference ( Boo.Lang.Compiler.Ast.MemberReferenceExpression node ) : bool
IsMethodReference ( Expression node ) : bool
IsNotTargetOfMethodInvocation ( Expression node ) : bool
IsStandaloneMethodReference ( Expression node ) : bool
RegisterAdaptor ( ICallableType to, ICallableType from, ClassDefinition adaptor ) : void
ReplaceEndInvokeTargetByGetAsyncDelegate ( MethodInvocationExpression node ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

LeaveArrayLiteralExpression() public method

public LeaveArrayLiteralExpression ( Boo.Lang.Compiler.Ast.ArrayLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.ArrayLiteralExpression
return void

LeaveBinaryExpression() public method

public LeaveBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
node Boo.Lang.Compiler.Ast.BinaryExpression
return void

LeaveCastExpression() public method

public LeaveCastExpression ( Boo.Lang.Compiler.Ast.CastExpression node ) : void
node Boo.Lang.Compiler.Ast.CastExpression
return void

LeaveExpressionPair() public method

public LeaveExpressionPair ( ExpressionPair pair ) : void
pair ExpressionPair
return void

LeaveExpressionStatement() public method

public LeaveExpressionStatement ( ExpressionStatement node ) : void
node ExpressionStatement
return void

LeaveGeneratorExpression() public method

public LeaveGeneratorExpression ( GeneratorExpression node ) : void
node GeneratorExpression
return void

LeaveListLiteralExpression() public method

public LeaveListLiteralExpression ( ListLiteralExpression node ) : void
node ListLiteralExpression
return void

LeaveMemberReferenceExpression() public method

public LeaveMemberReferenceExpression ( MemberReferenceExpression node ) : void
node MemberReferenceExpression
return void

LeaveMethodInvocationExpression() public method

public LeaveMethodInvocationExpression ( MethodInvocationExpression node ) : void
node MethodInvocationExpression
return void

LeaveReturnStatement() public method

public LeaveReturnStatement ( ReturnStatement node ) : void
node ReturnStatement
return void

LeaveTryCastExpression() public method

public LeaveTryCastExpression ( TryCastExpression node ) : void
node TryCastExpression
return void

OnMethod() public method

public OnMethod ( Method node ) : void
node Method
return void

Run() public method

public Run ( ) : void
return void