C# Class Jurassic.Compiler.ForInStatement

Represents a javascript for-in statement.
Inheritance: Statement
显示文件 Open project: paulbartrum/jurassic Class Usage Examples

Public Methods

Method Description
ForInStatement ( IList labels ) : System

Creates a new ForInStatement instance.

GenerateCode ( ILGenerator generator, OptimizationInfo optimizationInfo ) : void

Generates CIL for the statement.

ToString ( int indentLevel ) : string

Converts the statement to a string.

Method Details

ForInStatement() public method

Creates a new ForInStatement instance.
public ForInStatement ( 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