private static final class ProcessDefines.DefineInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Node |
initialValue |
Node |
initialValueParent |
private boolean |
isAssignable |
private Node |
lastValue |
private java.lang.String |
reasonNotAssignable |
Constructor and Description |
---|
DefineInfo(Node initialValue,
Node initialValueParent)
Initializes a define.
|
Modifier and Type | Method and Description |
---|---|
Node |
getLastValue()
Gets the last assigned value.
|
java.lang.String |
getReasonWhyNotAssignable()
Gets the reason why a define is not assignable.
|
boolean |
recordAssignment(Node value)
Records an assigned value.
|
void |
setNotAssignable(java.lang.String reason)
Records the fact that this define can't be assigned a value anymore.
|
public final Node initialValueParent
public final Node initialValue
private Node lastValue
private boolean isAssignable
private java.lang.String reasonNotAssignable
public void setNotAssignable(java.lang.String reason)
reason
- A message describing the reason why it can't be assigned.public java.lang.String getReasonWhyNotAssignable()
public boolean recordAssignment(Node value)
public Node getLastValue()