C# Class Jurassic.Compiler.NewExpression

Represents a "new" expression.
Inheritance: Jurassic.Compiler.OperatorExpression
显示文件 Open project: paulbartrum/jurassic

Public Methods

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

Generates CIL for the expression.

NewExpression ( Jurassic.Compiler.Operator @operator )

Creates a new instance of NewExpression.

Method Details

GenerateCode() public method

Generates CIL for the expression.
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

NewExpression() public method

Creates a new instance of NewExpression.
public NewExpression ( Jurassic.Compiler.Operator @operator )
@operator Jurassic.Compiler.Operator