public class VariableFactory
extends java.lang.Object
Variable
.
This class should be subclassed if the type of variable used needs to be changed.
This class is passed to the constructor of SymbolTable
which ensures that variables of the correct type are always created.
This class should only be called from the SymbolTable class and not from application code.
Constructor and Description |
---|
VariableFactory() |
Modifier and Type | Method and Description |
---|---|
Variable |
createVariable(java.lang.String name)
Create a variable with a name but not value
|
Variable |
createVariable(java.lang.String name,
java.lang.Object value)
Create a variable with a name and value
|
http://www.singularsys.com/jep Copyright © 2007 Singular Systems