public class ASTLocation extends ASTExpression
index member is not null.ASTNode.DataType| Modifier and Type | Field and Description |
|---|---|
ASTExpression |
index |
String |
name |
attributes| Constructor and Description |
|---|
ASTLocation(String name) |
ASTLocation(String name,
ASTExpression index) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasIndex() |
String |
toString() |
void |
traverse(ASTVisitor visitor)
Generic traversal method for the visitor pattern.
|
getASTTypeStr, getDepth, getParent, getSourceInfo, getType, setDepth, setParent, setSourceInfo, setType, typeToStringpublic String name
public ASTExpression index
public ASTLocation(String name)
public ASTLocation(String name, ASTExpression index)
public boolean hasIndex()
public void traverse(ASTVisitor visitor)
ASTNodeCopyright © 2019. All rights reserved.