public abstract class NodeVariable extends java.lang.Object implements IVariableNode
IVariableNode.IVariableNodeBoolean, IVariableNode.IVariableNodeDouble, IVariableNode.IVariableNodeLong, IVariableNode.IVariableNodeObject<T>
IExpressionNode.INodeBoolean, IExpressionNode.INodeDouble, IExpressionNode.INodeLong, IExpressionNode.INodeObject<T>, IExpressionNode.INodeString
Modifier and Type | Field and Description |
---|---|
protected boolean |
isConst |
java.lang.String |
name |
Constructor and Description |
---|
NodeVariable(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
setConstant(boolean isConst)
If isConstant is true, then calls to
IExpressionNode.inline() will return an IConstantNode (which is
independent to this node), but if false then IExpressionNode.inline() will return this variable. |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
set
evaluateAsString, inline
public void setConstant(boolean isConst)
IExpressionNode.inline()
will return an IConstantNode
(which is
independent to this node), but if false then IExpressionNode.inline()
will return this variable.public java.lang.String toString()
toString
in class java.lang.Object