public abstract class ASTNode extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
fStringValue |
Modifier | Constructor and Description |
---|---|
protected |
ASTNode(String value)
Instantiates a new AST node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOn(String variableName)
Depends on.
|
boolean |
equals(Object obj)
Equals.
|
String |
getString()
Returns the parsed string of this node.
|
int |
hashCode()
Hash code.
|
String |
toString()
To string.
|
protected final String fStringValue
protected ASTNode(String value)
value
- the valuepublic String getString()
null
if there's another representation in the
derived classpublic String toString()
public boolean dependsOn(String variableName)
variableName
- the variable nameCopyright © 2017. All rights reserved.