toggle menu
moonlight
1.0-SNAPSHOT
jvm
switch theme
search in API
script
/
io.github.moonlightsuite.moonlight.script
/
ExpressionEvaluator
Expression
Evaluator
public
class
ExpressionEvaluator
Members
Constructors
Expression
Evaluator
Link copied to clipboard
public
void
ExpressionEvaluator
(
List
<
MoonLightParseError
>
errors
,
NameResolver
nameResolver
)
public
void
ExpressionEvaluator
(
NameResolver
nameResolver
)
Properties
boolean
Expression
Evaluator
Link copied to clipboard
public
BooleanExpressionEvaluator
booleanExpressionEvaluator
Functions
eval
Link copied to clipboard
public
double
eval
(
ExpressionContext value
)
get
Boolean
Expression
Evaluator
Link copied to clipboard
public
synchronized
BooleanExpressionEvaluator
getBooleanExpressionEvaluator
(
)
visit
Binary
Math
Call
Expression
Link copied to clipboard
public
Double
visitBinaryMathCallExpression
(
BinaryMathCallExpressionContext ctx
)
visit
Bracket
Expression
Link copied to clipboard
public
Double
visitBracketExpression
(
BracketExpressionContext ctx
)
visit
If
Then
Else
Expression
Link copied to clipboard
public
Double
visitIfThenElseExpression
(
IfThenElseExpressionContext ctx
)
visit
Infinity
Expression
Link copied to clipboard
public
Double
visitInfinityExpression
(
InfinityExpressionContext ctx
)
visit
Int
Expression
Link copied to clipboard
public
Double
visitIntExpression
(
IntExpressionContext ctx
)
visit
Mul
Div
Expression
Link copied to clipboard
public
Double
visitMulDivExpression
(
MulDivExpressionContext ctx
)
visit
Real
Expression
Link copied to clipboard
public
Double
visitRealExpression
(
RealExpressionContext ctx
)
visit
Reference
Expression
Link copied to clipboard
public
Double
visitReferenceExpression
(
ReferenceExpressionContext ctx
)
visit
Sum
Dif
Expression
Link copied to clipboard
public
Double
visitSumDifExpression
(
SumDifExpressionContext ctx
)
visit
Unary
Expression
Link copied to clipboard
public
Double
visitUnaryExpression
(
UnaryExpressionContext ctx
)
visit
Unary
Math
Call
Expression
Link copied to clipboard
public
Double
visitUnaryMathCallExpression
(
UnaryMathCallExpressionContext ctx
)