C# Class AST.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: AST.UnaryArithOp
Show file Open project: phisiart/C-Compiler

Public Methods

Method Description
Create ( Expr expr ) : Expr
GetExpr ( ABT env ) : ABT.Expr
Negative ( Expr expr ) : System

Method Details

Create() public static method

public static Create ( Expr expr ) : Expr
expr Expr
return Expr

GetExpr() public method

public GetExpr ( ABT env ) : ABT.Expr
env ABT
return ABT.Expr

Negative() public method

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