C# Class Tup.Cobar4Net.Parser.Ast.Expression.Arithmeic.ArithmeticBinaryOperatorExpression

Inheritance: BinaryOperatorExpression, IBinaryOperandCalculator
ファイルを表示 Open project: tupunco/Tup.Cobar4Net

Public Methods

Method Description
Calculate ( BigDecimal bigDecimal1, BigDecimal bigDecimal2 ) : Number
Calculate ( BigInteger bigint1, BigInteger bigint2 ) : Number
Calculate ( int integer1, int integer2 ) : Number
Calculate ( long long1, long long2 ) : Number

Protected Methods

Method Description
ArithmeticBinaryOperatorExpression ( IExpression leftOprand, IExpression rightOprand, int precedence ) : System
EvaluationInternal ( object>.IDictionary parameters ) : object

Method Details

ArithmeticBinaryOperatorExpression() protected method

protected ArithmeticBinaryOperatorExpression ( IExpression leftOprand, IExpression rightOprand, int precedence ) : System
leftOprand IExpression
rightOprand IExpression
precedence int
return System

Calculate() public abstract method

public abstract Calculate ( BigDecimal bigDecimal1, BigDecimal bigDecimal2 ) : Number
bigDecimal1 BigDecimal
bigDecimal2 BigDecimal
return System.Number

Calculate() public abstract method

public abstract Calculate ( BigInteger bigint1, BigInteger bigint2 ) : Number
bigint1 BigInteger
bigint2 BigInteger
return System.Number

Calculate() public abstract method

public abstract Calculate ( int integer1, int integer2 ) : Number
integer1 int
integer2 int
return System.Number

Calculate() public abstract method

public abstract Calculate ( long long1, long long2 ) : Number
long1 long
long2 long
return System.Number

EvaluationInternal() protected method

protected EvaluationInternal ( object>.IDictionary parameters ) : object
parameters object>.IDictionary
return object