|
Class Summary |
| BasicOptimizer |
The BasicOptimizer only performs two optimizations: constant
folding and dead code elimination. |
| CodeGenerator |
|
| CompilationUnit |
|
| Compiler |
The Tea compiler. |
| ErrorEvent |
|
| JavaClassGenerator |
The JavaClassGenerator compiles a template into a single Java class file. |
| MethodMatcher |
This class finds methods that best fit a given description. |
| Parser |
A Parser creates the parse tree for a template by reading tokens emitted by
a Scanner. |
| Scanner |
A Scanner breaks up a source file into its basic elements, called
Tokens. |
| Scope |
A Scope encapsulates a set of declared variables and references to them. |
| SourceDetailedInfo |
|
| SourceInfo |
Provides information on where an object (like a token) appeared in the
the source file. |
| StatusEvent |
|
| Token |
A Token represents the smallest whole element of a source file. |
| TreePrinter |
A class that prints a parse tree. |
| Type |
Immutable representation of an expression's type. |
| TypeChecker |
A TypeChecker operates on a template's parse tree, created by a
Parser, filling in type information while it checks the validity of
the whole template. |