C# Класс Boo.Lang.Compiler.Steps.OptimizeIterationStatements

AST semantic evaluation.
Наследование: Boo.Lang.Compiler.Steps.AbstractTransformerCompilerStep
Показать файл Открыть проект

Открытые методы

Метод Описание
Initialize ( CompilerContext context ) : void
LeaveForStatement ( Boo.Lang.Compiler.Ast.ForStatement node ) : void
OnBlockExpression ( BlockExpression node ) : void
OnConstructor ( Constructor node ) : void
OnDestructor ( Boo.Lang.Compiler.Ast.Destructor node ) : void
OnMethod ( Method node ) : void
OptimizeIterationStatements ( ) : System
Run ( ) : void

Приватные методы

Метод Описание
CheckForItemInArrayLoop ( Boo.Lang.Compiler.Ast.ForStatement node ) : void

Optimize the for item in array construct

CheckForItemInRangeLoop ( Boo.Lang.Compiler.Ast.ForStatement node ) : void

Optimize the for item in range() construct

CreateRawArraySlicing ( ReferenceExpression arrayRef, Expression numRef, IType elementType ) : Boo.Lang.Compiler.Ast.SlicingExpression
CreateUpdateLabel ( Boo.Lang.Compiler.Ast.ForStatement node ) : Boo.Lang.Compiler.Ast.LabelStatement
DeclareTempLocal ( IType type ) : InternalLocal
FixContinueStatements ( Boo.Lang.Compiler.Ast.ForStatement node, Boo.Lang.Compiler.Ast.WhileStatement ws ) : void
IsRangeInvocation ( MethodInvocationExpression mi ) : bool
Map ( System method ) : IMethod
UnpackExpression ( Block block, Expression expression, Boo.Lang.Compiler.Ast.DeclarationCollection declarations ) : void

Unpacks an expression onto a list of declarations.

Описание методов

Initialize() публичный Метод

public Initialize ( CompilerContext context ) : void
context CompilerContext
Результат void

LeaveForStatement() публичный Метод

public LeaveForStatement ( Boo.Lang.Compiler.Ast.ForStatement node ) : void
node Boo.Lang.Compiler.Ast.ForStatement
Результат void

OnBlockExpression() публичный Метод

public OnBlockExpression ( BlockExpression node ) : void
node Boo.Lang.Compiler.Ast.BlockExpression
Результат void

OnConstructor() публичный Метод

public OnConstructor ( Constructor node ) : void
node Boo.Lang.Compiler.Ast.Constructor
Результат void

OnDestructor() публичный Метод

public OnDestructor ( Boo.Lang.Compiler.Ast.Destructor node ) : void
node Boo.Lang.Compiler.Ast.Destructor
Результат void

OnMethod() публичный Метод

public OnMethod ( Method node ) : void
node Boo.Lang.Compiler.Ast.Method
Результат void

OptimizeIterationStatements() публичный Метод

public OptimizeIterationStatements ( ) : System
Результат System

Run() публичный Метод

public Run ( ) : void
Результат void