C# Class Jurassic.Compiler.LoopStatement

Represents a javascript loop statement (for, for-in, while and do-while).
Inheritance: Statement
ファイルを表示 Open project: paulbartrum/jurassic

Public Methods

Method Description
GenerateCode ( ILGenerator generator, OptimizationInfo optimizationInfo ) : void

Generates CIL for the statement.

LoopStatement ( IList labels ) : System

Creates a new LoopStatement instance.

Private Methods

Method Description
FindTypedVariables ( ) : InferredTypeInfo>.Dictionary

Finds variables that were assigned to and determines their types.

FindTypedVariables ( Jurassic.Compiler.AstNode root, InferredTypeInfo>.Dictionary variableTypes, bool conditional, bool &continueEncountered ) : void

Finds variables that were assigned to and determines their types.

Method Details

GenerateCode() public method

Generates CIL for the statement.
public GenerateCode ( ILGenerator generator, OptimizationInfo optimizationInfo ) : void
generator ILGenerator The generator to output the CIL to.
optimizationInfo OptimizationInfo Information about any optimizations that should be performed.
return void

LoopStatement() public method

Creates a new LoopStatement instance.
public LoopStatement ( IList labels ) : System
labels IList The labels that are associated with this statement.
return System