C# Class Jurassic.Compiler.ForOfStatement

Represents a javascript for-of statement.
Inheritance: Statement
Exibir arquivo Open project: paulbartrum/jurassic Class Usage Examples

Public Methods

Method Description
ForOfStatement ( IList labels ) : System

Creates a new ForOfStatement instance.

GenerateCode ( ILGenerator generator, OptimizationInfo optimizationInfo ) : void

Generates CIL for the statement.

ToString ( int indentLevel ) : string

Converts the statement to a string.

Method Details

ForOfStatement() public method

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

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

ToString() public method

Converts the statement to a string.
public ToString ( int indentLevel ) : string
indentLevel int The number of tabs to include before the statement.
return string