Uses of Class
org.teatrove.tea.compiler.CompilationUnit

Packages that use CompilationUnit
org.teatrove.tea.compiler   
org.teatrove.tea.parsetree   
org.teatrove.tea.util   
 

Uses of CompilationUnit in org.teatrove.tea.compiler
 

Subclasses of CompilationUnit in org.teatrove.tea.compiler
 class CompiledTemplate
          Pre-compiled templates implementation.
 

Fields in org.teatrove.tea.compiler declared as CompilationUnit
protected  CompilationUnit TypeChecker.mUnit
           
 

Methods in org.teatrove.tea.compiler that return CompilationUnit
protected abstract  CompilationUnit Compiler.createCompilationUnit(String name)
           
 CompilationUnit ErrorEvent.getCompilationUnit()
           
 CompilationUnit Compiler.getCompilationUnit(String name, CompilationUnit from)
          Returns a compilation unit associated with the given name, or null if not found or the compilation unit is .
 

Methods in org.teatrove.tea.compiler with parameters of type CompilationUnit
protected  CodeGenerator Compiler.createCodeGenerator(CompilationUnit unit)
          Default implementation returns a new JavaClassGenerator.
protected  Parser Compiler.createParser(Scanner scanner, CompilationUnit unit)
           
protected  Scanner Compiler.createScanner(SourceReader reader, CompilationUnit unit)
           
protected  SourceReader Compiler.createSourceReader(CompilationUnit unit)
          Default implementation returns a SourceReader that uses "<%" and "%>" as code delimiters.
protected  TypeChecker Compiler.createTypeChecker(CompilationUnit unit)
           
static boolean CompiledTemplate.exists(Compiler c, String name, CompilationUnit from)
          Test to see of the template can be loaded before CompiledTemplate can be constructed.
 CompilationUnit Compiler.getCompilationUnit(String name, CompilationUnit from)
          Returns a compilation unit associated with the given name, or null if not found or the compilation unit is .
 Template Compiler.getParseTree(CompilationUnit unit)
          Called by the Compiler or by a CompilationUnit when its parse tree is requested.
 

Constructors in org.teatrove.tea.compiler with parameters of type CompilationUnit
CompiledTemplate(String name, Compiler compiler, CompilationUnit caller)
          This constructor is only invoked when the compiler cannot locate a source file for a template and a template class of the desired name and package exists.
JavaClassGenerator(CompilationUnit unit)
           
Parser(Scanner scanner, CompilationUnit unit)
           
Scanner(SourceReader in, CompilationUnit unit)
           
TypeChecker(CompilationUnit unit)
           
 

Uses of CompilationUnit in org.teatrove.tea.parsetree
 

Methods in org.teatrove.tea.parsetree that return CompilationUnit
 CompilationUnit TemplateCallExpression.getCalledTemplate()
          Returns the template being called, which is set by a type checker.
 

Methods in org.teatrove.tea.parsetree with parameters of type CompilationUnit
 void TemplateCallExpression.setCalledTemplate(CompilationUnit template)
           
 

Uses of CompilationUnit in org.teatrove.tea.util
 

Subclasses of CompilationUnit in org.teatrove.tea.util
 class AbstractCompiler.AbstractUnit
           
 class FileCompiler.FileUnit
           
 class FileCompiler.JarredUnit
           
 class FileCompiler.Unit
           
 

Methods in org.teatrove.tea.util that return CompilationUnit
protected  CompilationUnit FileCompiler.createCompilationUnit(String name)
          Always returns an instance of FileCompiler.Unit.
protected  CompilationUnit ResourceCompiler.createCompilationUnit(String name)
           
protected  CompilationUnit StringCompiler.createCompilationUnit(String name)
           
 



Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.