C# Class AST.BinaryArithmeticOp

Binary integral operator: takes in two int/uint/float/double, returns an int/uint/float/double.
Inheritance: BinaryIntegralOp
Show file Open project: phisiart/C-Compiler

Public Methods

Method Description
GetExpr ( ABT env ) : ABT.Expr
OperateDouble ( Double left, Double right ) : Double
OperateFloat ( System.Single left, System.Single right ) : System.Single

Protected Methods

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

Method Details

BinaryArithmeticOp() protected method

protected BinaryArithmeticOp ( Expr left, Expr right ) : System
left Expr
right Expr
return System

GetExpr() public method

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

OperateDouble() public abstract method

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

OperateFloat() public abstract method

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