AST — Abstract Syntax Tree. DLTK has a set of classes, that can be used for your language AST structure. Here is a list of main of them:
| ASTNote | Superclass of all the ast nodes. |
| ASTListNode | Represents list of nodes. |
| ModuleDeclaration | Top-level node for a source file. |
| TypeDeclaration | Declaration of class/module/namespace. |
| MethodDeclaration | Declaration of procedure or method. |
Other classes you can find in org.eclipse.dltk.ast.*
packages. Usage of DLTK AST is not mandatory, but some DLTK features
like folding may rely on it and greatly simplify implementation.