C# Class Jurassic.Compiler.LoopStatement

Represents a javascript loop statement (for, for-in, while and do-while).
Inheritance: Statement
Afficher le fichier Open project: paulbartrum/jurassic

Méthodes publiques

Méthode Description
GenerateCode ( ILGenerator generator, OptimizationInfo optimizationInfo ) : void

Generates CIL for the statement.

LoopStatement ( IList labels ) : System

Creates a new LoopStatement instance.

Private Methods

Méthode 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 méthode

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.
Résultat void

LoopStatement() public méthode

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