Venice 0.751beta

nz.org.venice.parser
Class ImplicitVariables

java.lang.Object
  extended bynz.org.venice.parser.ImplicitVariables

public class ImplicitVariables
extends java.lang.Object

A collection of the implicit variables which is always available in an expression evaluation.

Author:
Mark Hummel

Method Summary
 boolean contains(java.lang.String name)
          Used for checking the user defined variables don't clash with the implicit variables.
static ImplicitVariables getInstance()
          Return the static ImplcitVariables instance for this application
 void setup(Variables variables, boolean ordered)
          Add the implicit variables into the set of variables provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ImplicitVariables getInstance()
Return the static ImplcitVariables instance for this application


setup

public void setup(Variables variables,
                  boolean ordered)
Add the implicit variables into the set of variables provided.

Parameters:
variables - The set of variables which will have the implcit variables added
ordered - Whether or not to add the order implicit variable

contains

public boolean contains(java.lang.String name)
Used for checking the user defined variables don't clash with the implicit variables.

Returns:
true if the variable being added is an implicit one

Venice 0.751beta