Package ptolemy.backtrack.eclipse.ast

Java source transformer for backtracking.

See:
          Description

Class Summary
ASTBuilder Static methods that build Eclipse Abstract Syntax Trees (ASTs) from Java source files.
ASTDump An Eclipse AST (Abstract Syntax Tree) visitor that traverses an AST and outputs its structure.
ASTFormatter An AST visitor that traverses an eclipse AST from a root node (usually a CompilationUnit object), and outputs the formatted Java source code.
LocalClassLoader A customized class loader that accepts class paths at run-time.
Transformer A tool to transform Java source programs to support backtracking.
Type During AST analysis, a type is assigned to each expression or sub-expression (which can be as simple as reference to a local variable) in a Java program.
TypeAnalyzer A type analyzer for Java Abstract Syntax Trees (ASTs) generated by Eclipse.
TypeAnalyzerState The state of a type analyzer.
TypeAnalyzerState.CurrentClassElement A table to hold the current class, which is the only object in the table.
 

Exception Summary
ASTClassNotFoundException Thrown on an attempt to load a class that cannot be found in the class path, or a class that is not properly imported.
ASTException Superclass of all the non-runtime exceptions to be raised in AST analysis and manipulation.
ASTIORuntimeException Thrown if IOException occurs in AST analysis or manipulation.
ASTMalformedException Thrown by the ASTBuilder when the AST created from a Java source file is malformed, either because the source file do not conform to the Java grammar, or because some unknown error occurs in the Eclipse parser.
ASTResolutionException Thrown when a name in a source program cannot be resolved.
ASTRuntimeException Superclass of all the exceptions to be thrown in AST analysis and manipulation.
UnknownASTException Thrown during AST analysis notifying that an unknown error occurs.
 

Package ptolemy.backtrack.eclipse.ast Description

Java source transformer for backtracking.

Since:
Ptolemy II 6.1