jsynoptic.parser
Interface VariableDefinition
- All Known Implementing Classes:
- Variable, VariableAssociation
public interface VariableDefinition
This interface represents variablesfor expressions.
Objects implementing this interface should be passed on to the parser, and they will be used:
- At parse time to check for the presence of a variable in the expression.
- At evaluation time to get the actual variable value.
getName
java.lang.String getName()
- Returns:
- this variable name. Used at parse time
getValue
java.lang.Number getValue()
- Returns:
- this variable value. Used at evaluation time