net.sourceforge.plantuml.jasic
Class Jasic.OperatorExpression
java.lang.Object
net.sourceforge.plantuml.jasic.Jasic.OperatorExpression
- All Implemented Interfaces:
- Jasic.Expression
- Enclosing class:
- Jasic
public class Jasic.OperatorExpression
- extends Object
- implements Jasic.Expression
An operator expression evaluates two expressions and then performs some
arithmetic operation on the results.
Method Summary |
Jasic.Value |
evaluate()
Expression classes implement this to evaluate the expression and
return the value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jasic.OperatorExpression
public Jasic.OperatorExpression(Jasic.Expression left,
char operator,
Jasic.Expression right)
evaluate
public Jasic.Value evaluate()
- Description copied from interface:
Jasic.Expression
- Expression classes implement this to evaluate the expression and
return the value.
- Specified by:
evaluate
in interface Jasic.Expression
- Returns:
- The value of the calculated expression.
Copyright © 2012. All Rights Reserved.