C# Class ABT.ConditionalExpr

Inheritance: Expr
显示文件 Open project: phisiart/C-Compiler

Public Properties

Property Type Description
Cond Expr
FalseExpr Expr
TrueExpr Expr

Public Methods

Method Description
CGenAddress ( CGenState state ) : void
CGenValue ( CGenState state ) : System.Reg
ConditionalExpr ( Expr cond, Expr trueExpr, Expr falseExpr, ExprType type ) : System

Method Details

CGenAddress() public method

public CGenAddress ( CGenState state ) : void
state CodeGeneration.CGenState
return void

CGenValue() public method

public CGenValue ( CGenState state ) : System.Reg
state CodeGeneration.CGenState
return System.Reg

ConditionalExpr() public method

public ConditionalExpr ( Expr cond, Expr trueExpr, Expr falseExpr, ExprType type ) : System
cond Expr
trueExpr Expr
falseExpr Expr
type ExprType
return System

Property Details

Cond public_oe property

public Expr,ABT Cond
return Expr

FalseExpr public_oe property

public Expr,ABT FalseExpr
return Expr

TrueExpr public_oe property

public Expr,ABT TrueExpr
return Expr