ComplexNode
, DoubleNode
, FunctionNode
, NumberNode
, PatternNode
, StringNode
, SymbolNode
public abstract class ASTNode extends Object
Modifier and Type | Field | Description |
---|---|---|
protected String |
fStringValue |
Modifier | Constructor | Description |
---|---|---|
protected |
ASTNode(String value) |
Instantiates a new AST node.
|
Modifier and Type | Method | 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 © 2018. All rights reserved.