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

    Methods in examples that return ASTNode
    Modifier and Type
    Method
    Description
    static ASTNode
    ASTExample.createTree()
    This method creates the AST for the following program:
  • Uses of ASTNode in examples.ast

    Subclasses of ASTNode in examples.ast
    Modifier and Type
    Class
    Description
    class 
    Assignments as statements.
    class 
    Expressions with two operands and one operator.
    class 
    Expressions of the language.
    class 
    Integer literals of the language.
    class 
    The root node of the AST representing a program.
    class 
    Read statement that represents reading from the keyboard.
    class 
    A generalization of any statement
    class 
    This node represents any type in the language, yet to be defined.
    class 
    An expression with one operand and one operator.
    class 
    Variables of the language.
    class 
    A write statement to write an output in the console.