C# Class AST.Multiply

Multiplication: perform usual arithmetic conversion.
Inheritance: BinaryArithmeticOp
Show file Open project: phisiart/C-Compiler Class Usage Examples

Public Methods

Method Description
ConstructExpr ( ABT left, ABT right, ABT type ) : ABT.Expr
Create ( Expr left, Expr right ) : Expr
OperateDouble ( Double left, Double right ) : Double
OperateFloat ( System.Single left, System.Single right ) : System.Single
OperateLong ( Int32 left, Int32 right ) : Int32
OperateULong ( UInt32 left, UInt32 right ) : UInt32

Private Methods

Method Description
Multiply ( Expr left, Expr right ) : System

Method Details

ConstructExpr() public method

public ConstructExpr ( ABT left, ABT right, ABT type ) : ABT.Expr
left ABT
right ABT
type ABT
return ABT.Expr

Create() public static method

public static Create ( Expr left, Expr right ) : Expr
left Expr
right Expr
return Expr

OperateDouble() public method

public OperateDouble ( Double left, Double right ) : Double
left Double
right Double
return Double

OperateFloat() public method

public OperateFloat ( System.Single left, System.Single right ) : System.Single
left System.Single
right System.Single
return System.Single

OperateLong() public method

public OperateLong ( Int32 left, Int32 right ) : Int32
left System.Int32
right System.Int32
return System.Int32

OperateULong() public method

public OperateULong ( UInt32 left, UInt32 right ) : UInt32
left System.UInt32
right System.UInt32
return System.UInt32