C# Class AST.BinaryLogicalOp

Binary logical operator: first turn pointers to ulongs, then always returns long.
Inheritance: BinaryOp
Show file Open project: phisiart/C-Compiler

Public Methods

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

Protected Methods

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

Method Details

BinaryLogicalOp() protected method

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

ConstructExpr() public abstract method

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

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 ) : Int32
left Double
right Double
return System.Int32

OperateFloat() public abstract method

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

OperateLong() public abstract method

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

OperateULong() public abstract method

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