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

Inheritance: Boo.Lang.Compiler.Steps.AbstractTransformerCompilerStep
Afficher le fichier Open project: boo/boo-lang

Protected Properties

Свойство Type Description
RuntimeServices_GetProperty IMethod
RuntimeServices_GetSlice IMethod
RuntimeServices_Invoke IMethod
RuntimeServices_InvokeBinaryOperator IMethod
RuntimeServices_InvokeCallable IMethod
RuntimeServices_InvokeUnaryOperator IMethod
RuntimeServices_SetProperty IMethod
RuntimeServices_SetSlice IMethod
_duckTypingServicesType IType

Méthodes publiques

Méthode Description
ExpandDuckTypedExpressions ( ) : Boo.Lang.Compiler.Ast
Initialize ( CompilerContext context ) : void
LeaveBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
LeaveMemberReferenceExpression ( Boo.Lang.Compiler.Ast.MemberReferenceExpression node ) : void
LeaveSlicingExpression ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : void
LeaveUnaryExpression ( UnaryExpression node ) : void
OnMethodInvocationExpression ( MethodInvocationExpression node ) : void
Run ( ) : void

Méthodes protégées

Méthode Description
ExpandQuackInvocation ( MethodInvocationExpression node ) : void
ExpandQuackInvocation ( MethodInvocationExpression node, IMethod runtimeInvoke ) : void
GetDuckTypingServicesType ( ) : IType
GetGetPropertyMethod ( ) : IMethod
GetSetPropertyMethod ( ) : IMethod
InitializeDuckTypingServices ( ) : void
ProcessDuckSlicingPropertySet ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
ProcessQuackPropertySet ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
Replace ( Expression node ) : void
ResolveGetPropertyMethod ( ) : IMethod
ResolveInvokeMethod ( ) : IMethod
ResolveMethod ( IType type, string name ) : IMethod
ResolveSetPropertyMethod ( ) : IMethod

Private Methods

Méthode Description
BindDuck ( Expression node ) : void
ExpandCallableInvocation ( MethodInvocationExpression node ) : void
ExpandMemberInvocation ( MethodInvocationExpression node, Boo.Lang.Compiler.Ast.MemberReferenceExpression target, IMethod runtimeInvoke ) : void
GetArrayForIndices ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : Boo.Lang.Compiler.Ast.ArrayLiteralExpression
GetSlicingMemberName ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : string
GetSlicingTarget ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : Expression
IsDuckTyped ( Expression expression ) : bool
ProcessAssignment ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void

Method Details

ExpandDuckTypedExpressions() public méthode

public ExpandDuckTypedExpressions ( ) : Boo.Lang.Compiler.Ast
Résultat Boo.Lang.Compiler.Ast

ExpandQuackInvocation() protected méthode

protected ExpandQuackInvocation ( MethodInvocationExpression node ) : void
node Boo.Lang.Compiler.Ast.MethodInvocationExpression
Résultat void

ExpandQuackInvocation() protected méthode

protected ExpandQuackInvocation ( MethodInvocationExpression node, IMethod runtimeInvoke ) : void
node Boo.Lang.Compiler.Ast.MethodInvocationExpression
runtimeInvoke IMethod
Résultat void

GetDuckTypingServicesType() protected méthode

protected GetDuckTypingServicesType ( ) : IType
Résultat IType

GetGetPropertyMethod() protected méthode

protected GetGetPropertyMethod ( ) : IMethod
Résultat IMethod

GetSetPropertyMethod() protected méthode

protected GetSetPropertyMethod ( ) : IMethod
Résultat IMethod

Initialize() public méthode

public Initialize ( CompilerContext context ) : void
context CompilerContext
Résultat void

InitializeDuckTypingServices() protected méthode

protected InitializeDuckTypingServices ( ) : void
Résultat void

LeaveBinaryExpression() public méthode

public LeaveBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
node Boo.Lang.Compiler.Ast.BinaryExpression
Résultat void

LeaveMemberReferenceExpression() public méthode

public LeaveMemberReferenceExpression ( Boo.Lang.Compiler.Ast.MemberReferenceExpression node ) : void
node Boo.Lang.Compiler.Ast.MemberReferenceExpression
Résultat void

LeaveSlicingExpression() public méthode

public LeaveSlicingExpression ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : void
node Boo.Lang.Compiler.Ast.SlicingExpression
Résultat void

LeaveUnaryExpression() public méthode

public LeaveUnaryExpression ( UnaryExpression node ) : void
node Boo.Lang.Compiler.Ast.UnaryExpression
Résultat void

OnMethodInvocationExpression() public méthode

public OnMethodInvocationExpression ( MethodInvocationExpression node ) : void
node Boo.Lang.Compiler.Ast.MethodInvocationExpression
Résultat void

ProcessDuckSlicingPropertySet() protected méthode

protected ProcessDuckSlicingPropertySet ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
node Boo.Lang.Compiler.Ast.BinaryExpression
Résultat void

ProcessQuackPropertySet() protected méthode

protected ProcessQuackPropertySet ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
node Boo.Lang.Compiler.Ast.BinaryExpression
Résultat void

Replace() protected méthode

protected Replace ( Expression node ) : void
node Boo.Lang.Compiler.Ast.Expression
Résultat void

ResolveGetPropertyMethod() protected méthode

protected ResolveGetPropertyMethod ( ) : IMethod
Résultat IMethod

ResolveInvokeMethod() protected méthode

protected ResolveInvokeMethod ( ) : IMethod
Résultat IMethod

ResolveMethod() protected méthode

protected ResolveMethod ( IType type, string name ) : IMethod
type IType
name string
Résultat IMethod

ResolveSetPropertyMethod() protected méthode

protected ResolveSetPropertyMethod ( ) : IMethod
Résultat IMethod

Run() public méthode

public Run ( ) : void
Résultat void

Property Details

RuntimeServices_GetProperty protected_oe property

protected IMethod RuntimeServices_GetProperty
Résultat IMethod

RuntimeServices_GetSlice protected_oe property

protected IMethod RuntimeServices_GetSlice
Résultat IMethod

RuntimeServices_Invoke protected_oe property

protected IMethod RuntimeServices_Invoke
Résultat IMethod

RuntimeServices_InvokeBinaryOperator protected_oe property

protected IMethod RuntimeServices_InvokeBinaryOperator
Résultat IMethod

RuntimeServices_InvokeCallable protected_oe property

protected IMethod RuntimeServices_InvokeCallable
Résultat IMethod

RuntimeServices_InvokeUnaryOperator protected_oe property

protected IMethod RuntimeServices_InvokeUnaryOperator
Résultat IMethod

RuntimeServices_SetProperty protected_oe property

protected IMethod RuntimeServices_SetProperty
Résultat IMethod

RuntimeServices_SetSlice protected_oe property

protected IMethod RuntimeServices_SetSlice
Résultat IMethod

_duckTypingServicesType protected_oe property

protected IType _duckTypingServicesType
Résultat IType