net.sourceforge.plantuml.jasic
Class Jasic.VariableExpression

java.lang.Object
  extended by net.sourceforge.plantuml.jasic.Jasic.VariableExpression
All Implemented Interfaces:
Jasic.Expression
Enclosing class:
Jasic

public class Jasic.VariableExpression
extends Object
implements Jasic.Expression

A variable expression evaluates to the current value stored in that variable.


Constructor Summary
Jasic.VariableExpression(String name)
           
 
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
 

Constructor Detail

Jasic.VariableExpression

public Jasic.VariableExpression(String name)
Method Detail

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 © 2013. All Rights Reserved.