Uses of Class
examples.ast.ASTNode
Packages that use ASTNode
Package
Description
The examples package shows different examples of how to use Introspector.
The examples.ast package is an example Abstract Syntax Tree (AST) used in most language compilers.
-
Uses of ASTNode in examples
Modifier and TypeMethodDescriptionstatic ASTNodeASTExample.createTree()This method creates the AST for the following program: -
Uses of ASTNode in examples.ast
Subclasses of ASTNode in examples.astModifier and TypeClassDescriptionclassAssignments as statements.classExpressions with two operands and one operator.classExpressions of the language.classInteger literals of the language.classThe root node of the AST representing a program.classRead statement that represents reading from the keyboard.classA generalization of any statementclassThis node represents any type in the language, yet to be defined.classAn expression with one operand and one operator.classVariables of the language.classA write statement to write an output in the console.