C# Class ABT.Negative

-Expr: only takes arithmetic Type. After semantic analysis, only the following 4 types are possible: 1) long 2) ulong 3) float 4) double
Inheritance: UnaryArithOp
ファイルを表示 Open project: phisiart/C-Compiler

Public Methods

Method Description
CGenValue ( CGenState state ) : System.Reg
Negative ( Expr expr ) : System

Method Details

CGenValue() public method

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

Negative() public method

public Negative ( Expr expr ) : System
expr Expr
return System