Package net.sourceforge.plantuml.jasic
Class Jasic.OperatorExpression
java.lang.Object
net.sourceforge.plantuml.jasic.Jasic.OperatorExpression
- All Implemented Interfaces:
Jasic.Expression
- Enclosing class:
- Jasic
An operator expression evaluates two expressions and then performs some
arithmetic operation on the results.
-
Constructor Summary
ConstructorsConstructorDescriptionOperatorExpression
(Jasic.Expression left, char operator, Jasic.Expression right) -
Method Summary
Modifier and TypeMethodDescriptionevaluate()
Expression classes implement this to evaluate the expression and return the value.
-
Constructor Details
-
OperatorExpression
-
-
Method Details
-
evaluate
Description copied from interface:Jasic.Expression
Expression classes implement this to evaluate the expression and return the value.- Specified by:
evaluate
in interfaceJasic.Expression
- Returns:
- The value of the calculated expression.
-