public abstract class ASTNode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
fStringValue |
| Modifier | Constructor and Description |
|---|---|
protected |
ASTNode(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOn(java.lang.String variableName) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getString()
Returns the parsed string of this node.
|
int |
hashCode() |
boolean |
isFree(ASTNode node)
Returns
true, if none of the elements in the subexpressions or the expression itself equals
node . |
java.lang.String |
toString() |
public java.lang.String getString()
null if there's another representation in the derived classpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean dependsOn(java.lang.String variableName)
public boolean isFree(ASTNode node)
true, if none of the elements in the subexpressions or the expression itself equals
node .node - a node to compare withpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object