Package com.tonic.analysis.source.ast
The AST node model, its locations, and the list type that keeps parent links consistent.
-
Interface Summary Interface Description ASTNode Base interface for all AST nodes in the source representation. -
Class Summary Class Description ASTFactory Static factory of AST nodes with sensible type defaults.ASTMutations Deep clone, replace and remove operations over AST nodes.ASTPrinter Debug visitor that renders an expression/statement AST as an indented tree, optionally with types.ASTUtils Visitor-backed helpers for traversing and querying AST nodes.Locations Helpers for carryingSourceLocationprovenance across statement rewrites.NodeList<T extends ASTNode> List of AST nodes that keeps parent links consistent: adding sets each element's parent to the owner, removing clears it.SourceLocation Position of an AST node as a bytecode offset and source line number, either of which may be absent (-1).