- create
- addASTChild
Add a child to the current AST
- <init>
Create factory with a specific mapping from token type to Java AST node type.
Your subclasses of AST
- make
Make a tree from a list of nodes. The first element in the array is the root. If
the root is null, t
- makeASTRoot
Make an AST the root of current AST
- dupTree
Duplicate a tree, assuming this is a root node of a tree-- duplicate that node
and what's below; ign
- setASTNodeClass
- dupList
Duplicate tree including siblings of root.
- dup
Copy a single node with same Java AST objec type. Ignore the tokenType->Class
mapping since you know
- createUsingCtor
- error
To change where error messages go, can subclass/override this method and then
setASTFactory in Parse
- getASTNodeType
For a given token type, what is the AST node object type to create for it?