C# 클래스 Jurassic.Compiler.Statement

Represents a javascript statement.
상속: Jurassic.Compiler.AstNode
파일 보기 프로젝트 열기: paulbartrum/jurassic 1 사용 예제들

공개 메소드들

메소드 설명
GenerateEndOfStatement ( ILGenerator generator, OptimizationInfo optimizationInfo, StatementLocals locals ) : void

Generates CIL for the end of every statement.

GenerateStartOfStatement ( ILGenerator generator, OptimizationInfo optimizationInfo, StatementLocals locals ) : void

Generates CIL for the start of every statement.

Statement ( IList labels ) : System

Creates a new Statement instance.

ToString ( ) : string

Converts the statement to a string.

ToString ( int indentLevel ) : string

Converts the statement to a string.

메소드 상세

GenerateEndOfStatement() 공개 메소드

Generates CIL for the end of every statement.
public GenerateEndOfStatement ( ILGenerator generator, OptimizationInfo optimizationInfo, StatementLocals locals ) : void
generator ILGenerator The generator to output the CIL to.
optimizationInfo OptimizationInfo Information about any optimizations that should be performed.
locals StatementLocals Variables common to both GenerateStartOfStatement() and GenerateEndOfStatement().
리턴 void

GenerateStartOfStatement() 공개 메소드

Generates CIL for the start of every statement.
public GenerateStartOfStatement ( ILGenerator generator, OptimizationInfo optimizationInfo, StatementLocals locals ) : void
generator ILGenerator The generator to output the CIL to.
optimizationInfo OptimizationInfo Information about any optimizations that should be performed.
locals StatementLocals Variables common to both GenerateStartOfStatement() and GenerateEndOfStatement().
리턴 void

Statement() 공개 메소드

Creates a new Statement instance.
public Statement ( IList labels ) : System
labels IList The labels that are associated with this statement.
리턴 System

ToString() 공개 메소드

Converts the statement to a string.
public ToString ( ) : string
리턴 string

ToString() 공개 추상적인 메소드

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