ubc.cs.JLog.Parser
Class pVariableRegistry
java.lang.Object
ubc.cs.JLog.Parser.pVariableRegistry
public class pVariableRegistry
- extends java.lang.Object
Hashtable for pVar
variables and their associated jVariables
.
This class is used to ensure that the reference to a single named variable in the
parse stream (usually at the level of a rule or command), which my be represented by
several pVar
packets, only produce a single instance of
jVariable
.
- Author:
- Glendon Holst
Field Summary |
protected java.util.Hashtable |
variables
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
variables
protected java.util.Hashtable variables
pVariableRegistry
public pVariableRegistry()
getVariable
public jVariable getVariable(ubc.cs.JLog.Parser.pVar v)
getVariable
public jVariable getVariable(java.lang.String v)