public class ASTProgram extends ASTNode
ASTVariable and ASTFunction declarations.ASTNode.DataType| Modifier and Type | Field and Description |
|---|---|
List<ASTFunction> |
functions |
List<ASTVariable> |
variables |
attributes| Constructor and Description |
|---|
ASTProgram() |
| Modifier and Type | Method and Description |
|---|---|
void |
traverse(ASTVisitor visitor)
Generic traversal method for the visitor pattern.
|
getASTTypeStr, getDepth, getParent, getSourceInfo, getType, setDepth, setParent, setSourceInfo, setType, typeToStringpublic List<ASTVariable> variables
public List<ASTFunction> functions
public void traverse(ASTVisitor visitor)
ASTNodeCopyright © 2019. All rights reserved.