A B C D E F G H I J K L M N O P Q R S T U V W

A

AbstractCompiler - Class in org.teatrove.tea.util
 
AbstractCompiler(ClassInjector) - Constructor for class org.teatrove.tea.util.AbstractCompiler
 
AbstractCompiler(ClassInjector, String) - Constructor for class org.teatrove.tea.util.AbstractCompiler
 
AbstractCompiler(ClassInjector, String, Map<String, Template>) - Constructor for class org.teatrove.tea.util.AbstractCompiler
 
AbstractCompiler(ClassInjector, String, File) - Constructor for class org.teatrove.tea.util.AbstractCompiler
 
AbstractCompiler(ClassInjector, String, File, String) - Constructor for class org.teatrove.tea.util.AbstractCompiler
 
AbstractCompiler(ClassInjector, String, File, String, Map<String, Template>) - Constructor for class org.teatrove.tea.util.AbstractCompiler
 
AbstractCompiler(ClassInjector, String, File, String, long, Map<String, Template>) - Constructor for class org.teatrove.tea.util.AbstractCompiler
 
AbstractCompiler.AbstractUnit - Class in org.teatrove.tea.util
 
AbstractCompiler.AbstractUnit(String, Compiler) - Constructor for class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.AndExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ArithmeticExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.AssignmentStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Block
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.BooleanLiteral
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.BreakStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.CompareExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ConcatenateExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ContinueStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Directive
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Expression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ExpressionList
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ExpressionStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.FunctionCallExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.IfStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ImportDirective
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Literal
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Lookup
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Name
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.NegateExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Node
Every subclass of Node must override this method with the following: return visitor.visit(this).
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.NotExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.NullLiteral
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.NumberLiteral
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.OrExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ParenExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.RelationalExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.ReturnStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.SpreadExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Statement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.StatementList
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.StringLiteral
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.SubstitutionStatement
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Template
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.TemplateCallExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.TypeExpression
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.TypeName
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.Variable
 
accept(NodeVisitor) - Method in class org.teatrove.tea.parsetree.VariableRef
 
actuallyCompileTemplates(ClassInjector, boolean) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
actuallyCompileTemplates(ClassInjector, boolean, StatusListener) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
actuallyCompileTemplates(ClassInjector, boolean, boolean) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
actuallyCompileTemplates(ClassInjector, boolean, boolean, StatusListener) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
actuallyCompileTemplates(ClassInjector, boolean, boolean, TemplateErrorListener, StatusListener) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
actuallyCompileTemplates(ClassInjector, String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
actuallyCompileTemplates(ClassInjector, StatusListener, String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
addErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.Compiler
Add an ErrorListener in order receive events of compile-time errors.
addErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.Parser
 
addErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.Scanner
 
addErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.TypeChecker
 
addImportedPackage(String) - Method in class org.teatrove.tea.compiler.Compiler
Add an imported package that all templates will have.
addImportedPackages(String[]) - Method in class org.teatrove.tea.compiler.Compiler
Add all imported packages that all templates will have.
addStatusListener(StatusListener) - Method in class org.teatrove.tea.compiler.Compiler
Add a StatusListener in order to receive events of compilation progress.
AND - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the and keyword: 'and'
AndExpression - Class in org.teatrove.tea.parsetree
AndExpression defines a logical "and" operation with short-circuit semantics.
AndExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.AndExpression
 
append(StringBuilder, Object) - Method in class org.teatrove.tea.runtime.DefaultContext
 
append(StringBuilder, Object) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function to append a value to an existing buffer.
appendError(String, TemplateError) - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
appendErrors(Map<String, List<TemplateError>>) - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
appendErrors(String, List<TemplateError>) - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
appendName(String) - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
appendNames(Collection<String>) - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
ArithmeticExpression - Class in org.teatrove.tea.parsetree
ArithmeticExpression defines addition, subtraction, multiplication, division or remainder operations.
ArithmeticExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.ArithmeticExpression
 
ArrayLookup - Class in org.teatrove.tea.parsetree
An ArrayLookup can access indexed properties on objects.
ArrayLookup(SourceInfo, Expression, Token, Expression) - Constructor for class org.teatrove.tea.parsetree.ArrayLookup
 
AS - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the as keyword: 'as'
ASSIGN - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the assignment operator: '='
AssignmentStatement - Class in org.teatrove.tea.parsetree
AssignmentStatements can only assign values to variables, and not to array elements.
AssignmentStatement(SourceInfo, VariableRef, Expression) - Constructor for class org.teatrove.tea.parsetree.AssignmentStatement
 
attributeNames() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 

B

BasicOptimizer - Class in org.teatrove.tea.compiler
The BasicOptimizer only performs two optimizations: constant folding and dead code elimination.
BasicOptimizer(Node) - Constructor for class org.teatrove.tea.compiler.BasicOptimizer
 
BeanAnalyzer - Class in org.teatrove.tea.util
The JavaBean Introspector for Tea.
BeanAnalyzer() - Constructor for class org.teatrove.tea.util.BeanAnalyzer
 
BinaryExpression - Class in org.teatrove.tea.parsetree
A BinaryExpression contains a left expression, a right expression and an operator.
BinaryExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.BinaryExpression
 
BinaryLogicalExpression - Class in org.teatrove.tea.parsetree
 
BinaryLogicalExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.BinaryLogicalExpression
 
bindToVariable(VariableRef) - Method in class org.teatrove.tea.compiler.Scope
Attempt to bind variable reference to a variable in this scope or a parent scope.
Block - Class in org.teatrove.tea.parsetree
A Block is a StatementList that most likely appeared in the source file delimited by braces.
Block(SourceInfo, Statement[]) - Constructor for class org.teatrove.tea.parsetree.Block
 
Block(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.Block
 
Block(Statement) - Constructor for class org.teatrove.tea.parsetree.Block
 
BOOLEAN_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type for representing booleans, provided as a convenience
BooleanLiteral - Class in org.teatrove.tea.parsetree
BooleanLiterals can only have one of two values, true or false.
BooleanLiteral(SourceInfo, boolean) - Constructor for class org.teatrove.tea.parsetree.BooleanLiteral
 
BREAK - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the break keyword: 'break'
BreakStatement - Class in org.teatrove.tea.parsetree
 
BreakStatement(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.BreakStatement
 

C

CALL - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the call keyword: 'call'
CallExpression - Class in org.teatrove.tea.parsetree
 
CallExpression(SourceInfo, Expression, Name, ExpressionList, Block) - Constructor for class org.teatrove.tea.parsetree.CallExpression
 
CallRetrofitter - Class in org.teatrove.tea.util
Command-line tool that puts the 'call' keyword in front of template calls in templates compatable with pre 3.x.x versions of Tea.
CallRetrofitter() - Constructor for class org.teatrove.tea.util.CallRetrofitter
 
cardinal(Long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
cardinal(long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
cardinal(Long) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that converts an integer to a cardinal value.
cardinal(long) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that converts an integer to a cardinal value.
check(Node) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
checkForTypeExpression(Expression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
checkGenericTypeNames(Class<?>, TypeName) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
checkTemplates(ClassInjector, boolean, String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
chopString(String, String) - Static method in class org.teatrove.tea.engine.TemplateSourceImpl
 
CLASS - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the class keyword: 'class'
cleanWhitespace(String) - Static method in class org.teatrove.tea.io.LinePositionReader
Deprecated. Converts all whitespace characters in a String to space characters ( ).
clone() - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
clone() - Method in class org.teatrove.tea.parsetree.AssignmentStatement
 
clone() - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
clone() - Method in class org.teatrove.tea.parsetree.Block
 
clone() - Method in class org.teatrove.tea.parsetree.BreakStatement
 
clone() - Method in class org.teatrove.tea.parsetree.CallExpression
 
clone() - Method in class org.teatrove.tea.parsetree.ContinueStatement
 
clone() - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
clone() - Method in class org.teatrove.tea.parsetree.Expression
 
clone() - Method in class org.teatrove.tea.parsetree.ExpressionList
 
clone() - Method in class org.teatrove.tea.parsetree.ExpressionStatement
 
clone() - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
clone() - Method in class org.teatrove.tea.parsetree.IfStatement
 
clone() - Method in class org.teatrove.tea.parsetree.ImportDirective
 
clone() - Method in class org.teatrove.tea.parsetree.Lookup
 
clone() - Method in class org.teatrove.tea.parsetree.NegateExpression
 
clone() - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
clone() - Method in class org.teatrove.tea.parsetree.Node
Returns a clone of this Node and all its children.
clone() - Method in class org.teatrove.tea.parsetree.NotExpression
 
clone() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
clone() - Method in class org.teatrove.tea.parsetree.ReturnStatement
 
clone() - Method in class org.teatrove.tea.parsetree.SpreadExpression
 
clone() - Method in class org.teatrove.tea.parsetree.StatementList
 
clone() - Method in class org.teatrove.tea.parsetree.Template
 
clone() - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
clone() - Method in class org.teatrove.tea.parsetree.TypeExpression
 
close() - Method in class org.teatrove.tea.compiler.Scanner
 
close() - Method in interface org.teatrove.tea.engine.TemplateErrorListener
Close listener to dispose of any resources (i.e.
close() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
 
close() - Method in class org.teatrove.tea.io.SourceReader
Deprecated.  
close() - Method in class org.teatrove.tea.runtime.DefaultContext
 
close() - Method in class org.teatrove.tea.util.ConsoleErrorReporter
Closes all open resources.
CodeGenerator - Class in org.teatrove.tea.compiler
 
CodeGenerator(Template) - Constructor for class org.teatrove.tea.compiler.CodeGenerator
 
COLON - Static variable in class org.teatrove.tea.compiler.Token
Token ID for colon: ':'
COMMA - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the comma: ','
COMMENT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for a single-line or multi-line comment.
compare(Comparable, Comparable) - Method in class org.teatrove.tea.runtime.DefaultContext.GenericComparator
 
compare(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext.StringComparator
 
CompareExpression - Class in org.teatrove.tea.parsetree
A CompareExpression is otherwise known as a spaceship operation or compare operation and contains a left expression and a right expression to which a comparison is done between the two returning -1 if less then, 0 if equal, or 1 if greater than.
CompareExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.CompareExpression
 
CompilationUnit - Class in org.teatrove.tea.compiler
 
CompilationUnit(String, Compiler) - Constructor for class org.teatrove.tea.compiler.CompilationUnit
 
compile(String) - Method in class org.teatrove.tea.compiler.Compiler
Compile a single compilation unit.
compile(String[]) - Method in class org.teatrove.tea.compiler.Compiler
Compile a list of compilation units.
compile(String[]) - Method in class org.teatrove.tea.util.AbstractCompiler
Overrides Compiler class implementation (TemplateRepository integration).
compile(String[]) - Method in class org.teatrove.tea.util.FileCompiler
 
compileAll() - Method in class org.teatrove.tea.util.AbstractCompiler
Recursively compiles all files in the source directory.
compileAll(boolean) - Method in class org.teatrove.tea.util.FileCompiler
Compiles all files in the source directory.
CompiledTemplate - Class in org.teatrove.tea.compiler
Pre-compiled templates implementation.
CompiledTemplate(String, Compiler, CompilationUnit) - Constructor for class org.teatrove.tea.compiler.CompiledTemplate
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.
compileError(ErrorEvent) - Method in class org.teatrove.tea.compiler.CompilationUnit
Called when there is an error when compiling this CompilationUnit.
compileError(ErrorEvent) - Method in interface org.teatrove.tea.compiler.ErrorListener
 
compileError(ErrorEvent) - Method in class org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
This method is called for each error that occurs while compiling templates.
compileError(ErrorEvent) - Method in class org.teatrove.tea.util.ConsoleErrorReporter
 
Compiler - Class in org.teatrove.tea.compiler
The Tea compiler.
Compiler() - Constructor for class org.teatrove.tea.compiler.Compiler
 
Compiler(Map<String, Template>) - Constructor for class org.teatrove.tea.compiler.Compiler
This constructor allows template signatures to be shared among compiler instances.
compileTemplates(ClassInjector, boolean) - Method in interface org.teatrove.tea.engine.TemplateSource
Compile templates recursively
compileTemplates(ClassInjector, boolean, StatusListener) - Method in interface org.teatrove.tea.engine.TemplateSource
Compile templates recursively using the specified status listener.
compileTemplates(ClassInjector, boolean, boolean) - Method in interface org.teatrove.tea.engine.TemplateSource
Compile templates
compileTemplates(ClassInjector, boolean, boolean, StatusListener) - Method in interface org.teatrove.tea.engine.TemplateSource
Compile templates
compileTemplates(ClassInjector, String[]) - Method in interface org.teatrove.tea.engine.TemplateSource
Compile selected templates
compileTemplates(ClassInjector, StatusListener, String[]) - Method in interface org.teatrove.tea.engine.TemplateSource
Compile selected templates
compileTemplates(ClassInjector, boolean) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
compileTemplates(ClassInjector, boolean, StatusListener) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
compileTemplates(ClassInjector, boolean, boolean) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
compileTemplates(ClassInjector, boolean, boolean, StatusListener) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
compileTemplates(ClassInjector, String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
compileTemplates(ClassInjector, StatusListener, String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
CONCAT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the concatenation operator: '&'
ConcatenateExpression - Class in org.teatrove.tea.parsetree
A ConcatenateExpression takes two Expressions, converts their values to strings and returns a new string with the concatenated result.
ConcatenateExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.ConcatenateExpression
 
ConsoleErrorReporter - Class in org.teatrove.tea.util
ConsoleErrorReporter takes ErrorEvents and prints detailed messages to a PrintStream.
ConsoleErrorReporter(PrintStream) - Constructor for class org.teatrove.tea.util.ConsoleErrorReporter
 
Context - Interface in org.teatrove.tea.runtime
Interface establishes basic printing and formatting functions for a template runtime context.
ContextCreationException - Exception in org.teatrove.tea.engine
Intended to wrap any exceptions thrown by createContext when used in the MergingContextSource so exceptions can pass through the getInstance() call of MergedClass.InstanceFactory.
ContextCreationException(Exception) - Constructor for exception org.teatrove.tea.engine.ContextCreationException
 
ContextCreationException(Exception, String) - Constructor for exception org.teatrove.tea.engine.ContextCreationException
 
ContextSource - Interface in org.teatrove.tea.engine
Implementations of this class are responsible for providing context instances as well as the context type.
CONTINUE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the continue keyword: 'continue'
ContinueStatement - Class in org.teatrove.tea.parsetree
 
ContinueStatement(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.ContinueStatement
 
convert(Number, Class<?>) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
convertableFrom(Type) - Method in class org.teatrove.tea.compiler.Type
Returns the conversion cost of assigning the given type to this type.
convertTo(Type, boolean) - Method in class org.teatrove.tea.parsetree.BinaryLogicalExpression
 
convertTo(Type, boolean) - Method in class org.teatrove.tea.parsetree.BooleanLiteral
 
convertTo(Type) - Method in class org.teatrove.tea.parsetree.Expression
Applies a type conversion to this expression which is chained to all previous conversions.
convertTo(Type, boolean) - Method in class org.teatrove.tea.parsetree.Expression
Applies a type conversion to this expression which is chained to all previous conversions.
convertTo(Type, boolean) - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
convertTo(Type, boolean) - Method in class org.teatrove.tea.parsetree.NotExpression
 
convertTo(Type, boolean) - Method in class org.teatrove.tea.parsetree.NumberLiteral
 
convertTo(Type, boolean) - Method in class org.teatrove.tea.parsetree.ParenExpression
 
createClassInjector() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
provides a default class injector using the contextType's ClassLoader as a parent.
createCodeGenerator(CompilationUnit) - Method in class org.teatrove.tea.compiler.Compiler
Default implementation returns a new JavaClassGenerator.
createCompilationUnit(String) - Method in class org.teatrove.tea.compiler.Compiler
 
createCompilationUnit(String) - Method in class org.teatrove.tea.util.FileCompiler
Always returns an instance of FileCompiler.Unit.
createCompilationUnit(String) - Method in class org.teatrove.tea.util.ResourceCompiler
 
createCompilationUnit(String) - Method in class org.teatrove.tea.util.StringCompiler
 
createContext(Object) - Method in interface org.teatrove.tea.engine.ContextSource
A generic method to create context instances.
createContext(Class<?>, Object) - Method in interface org.teatrove.tea.engine.DynamicContextSource
Creates a context instance that must be of the requested type.
createContext(Object) - Method in class org.teatrove.tea.engine.MergedContextSource
a generic method to create context instances
createErrorListener() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
createParser(Scanner, CompilationUnit) - Method in class org.teatrove.tea.compiler.Compiler
 
createPropertyEditor(Object) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
createRepositoryFile() - Method in class org.teatrove.tea.compiler.TemplateRepository
Persist the current state of the repository to disk.
createScanner(SourceReader, CompilationUnit) - Method in class org.teatrove.tea.compiler.Compiler
 
createSequence(char, int) - Static method in class org.teatrove.tea.io.LinePositionReader
Deprecated. Creates and returns a String containing a sequence of the specified length, repeating the given character.
createSourceReader(CompilationUnit) - Method in class org.teatrove.tea.compiler.Compiler
Default implementation returns a SourceReader that uses "<%" and "%>" as code delimiters.
createStringBuilder() - Method in class org.teatrove.tea.runtime.DefaultContext
 
createStringBuilder(int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
createStringBuilder() - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that creates a string builder to allow programs to perform concatenation and pass around strings.
createStringBuilder(int) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that creates a string builder to allow programs to perform concatenation and pass around strings.
createTemplateClassesDir(File, String, Log) - Static method in class org.teatrove.tea.engine.TemplateSourceImpl
converts a path to a File for storing compiled template classes.
createTemplateError(String, ErrorEvent) - Method in class org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
 
createTypeChecker(CompilationUnit) - Method in class org.teatrove.tea.compiler.Compiler
 
currentDate() - Method in class org.teatrove.tea.runtime.DefaultContext
 
currentDate() - Method in interface org.teatrove.tea.runtime.UtilityContext
Returns a standard Java Date object with the current date and time.
currentDateTime() - Method in class org.teatrove.tea.runtime.DefaultContext
 
currentDateTime() - Method in interface org.teatrove.tea.runtime.UtilityContext
Returns a Joda DateTime object with the current date and time.

D

dateFormat(String) - Method in interface org.teatrove.tea.runtime.Context
Defines a format to use when printing dates from templates.
dateFormat(String, String) - Method in interface org.teatrove.tea.runtime.Context
A function that sets the formatted value of dates.
dateFormat(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
dateFormat(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
debug(Throwable) - Method in class org.teatrove.tea.log.TeaLog
 
declareVariable(Variable) - Method in class org.teatrove.tea.compiler.Scope
Declare a variable for use in this scope.
declareVariable(Variable, boolean) - Method in class org.teatrove.tea.compiler.Scope
Declare a variable for use in this scope.
declareVariables(Variable[]) - Method in class org.teatrove.tea.compiler.Scope
Declare new variables in this scope.
DefaultContext - Class in org.teatrove.tea.runtime
The default runtime context class that Tea templates get compiled to use.
DefaultContext() - Constructor for class org.teatrove.tea.runtime.DefaultContext
 
DefaultContext.GenericComparator - Class in org.teatrove.tea.runtime
 
DefaultContext.GenericComparator(boolean) - Constructor for class org.teatrove.tea.runtime.DefaultContext.GenericComparator
 
DefaultContext.StringComparator - Class in org.teatrove.tea.runtime
 
DefaultContext.StringComparator(boolean, boolean) - Constructor for class org.teatrove.tea.runtime.DefaultContext.StringComparator
 
DEFINE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the define keyword: 'define'
delete() - Method in class org.teatrove.tea.compiler.Scope
Delete this scope by detaching it from its parent.
detach() - Method in interface org.teatrove.tea.runtime.Substitution
Returns a detached substitution that can be saved and re-used.
Directive - Class in org.teatrove.tea.parsetree
Base class for Directives
Directive(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.Directive
 
DIV - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the division operator: '/'
DOT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the dot: '.'
DOTDOT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the double dot: '..'
DOUBLE_HASH - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the double hash: '##'
dump() - Method in class org.teatrove.tea.compiler.Token
Dumps the contents of this Token to System.out.
dump(PrintStream) - Method in class org.teatrove.tea.compiler.Token
Dumps the contents of this Token.
DynamicContextSource - Interface in org.teatrove.tea.engine
Instances of this kind of ContextSource can support reloading their context class.

E

ELEMENT_TYPE_FIELD_NAME - Static variable in class org.teatrove.tea.util.BeanAnalyzer
The name of the special field that specializes a keyed property type: "ELEMENT_TYPE"
ELLIPSIS - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the ellipsis: '...'
ELSE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the else keyword: 'else'
emitSpecialTokens(boolean) - Method in class org.teatrove.tea.compiler.Scanner
Passing true causes Scanner to emit additional tokens that should not be bassed into a Parser.
endsWith(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
endsWith(String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Tests if the given string ends with the given suffix.
ENTER_CODE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the start of a code region.
ENTER_CODE - Static variable in class org.teatrove.tea.io.SourceReader
Deprecated.  
ENTER_TEXT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the start of a text region.
ENTER_TEXT - Static variable in class org.teatrove.tea.io.SourceReader
Deprecated.  
EOF - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the end of file.
EQ - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the equal operator: '=='
EQUAL_GREATER - Static variable in class org.teatrove.tea.compiler.Token
Token ID for equal greater: '=>'
equals(Object) - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
equals(TemplateRepository.TemplateInfo) - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
Returns false if the template signatures do not match.
equals(Object) - Method in class org.teatrove.tea.compiler.Type
 
equals(Object) - Method in class org.teatrove.tea.compiler.TypeChecker.GenericArrayTypeImpl
 
equals(Object) - Method in class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
equals(Object) - Method in class org.teatrove.tea.parsetree.Expression.Conversion
 
equals(Object) - Method in class org.teatrove.tea.parsetree.ImportDirective
ImportDirectives are tested for equality only by their name and type.
equals(Object) - Method in class org.teatrove.tea.parsetree.Name
 
equals(Object) - Method in class org.teatrove.tea.parsetree.StringLiteral
 
equals(Object) - Method in class org.teatrove.tea.parsetree.TypeName
 
equals(Object) - Method in class org.teatrove.tea.parsetree.Variable
Variables are tested for equality only by their name and type.
equals(Object) - Method in class org.teatrove.tea.parsetree.VariableRef
 
equals(Object) - Method in class org.teatrove.tea.runtime.SubstitutionId
 
equals(Object) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
error(Throwable) - Method in class org.teatrove.tea.log.TeaLog
 
ErrorEvent - Class in org.teatrove.tea.compiler
 
ErrorListener - Interface in org.teatrove.tea.compiler
The listener interface for receiving error events.
EscapeReader - Class in org.teatrove.tea.io
Deprecated. Moved to org.teatrove.trove.io package.
EscapeReader(Reader, int) - Constructor for class org.teatrove.tea.io.EscapeReader
Deprecated. An EscapeReader needs an underlying source reader.
ExceptionGuardStatement - Class in org.teatrove.tea.parsetree
A statement that catches instances of Exception, calls ThreadGroup.uncaughtException, and moves on.
ExceptionGuardStatement(Statement, Statement) - Constructor for class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
ExceptionGuardStatement(SourceInfo, Statement, Statement) - Constructor for class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
execute(Context, Object[]) - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
Executes this template using the given runtime context instance and parameters.
EXECUTE_METHOD_NAME - Static variable in class org.teatrove.tea.compiler.JavaClassGenerator
 
executeTemplate(String, Object, Object[]) - Method in class org.teatrove.tea.engine.SimpleTeaEngine
 
executeTemplate(String, Object, Object[]) - Method in interface org.teatrove.tea.engine.TeaExecutionEngine
 
exists(Compiler, String, CompilationUnit) - Static method in class org.teatrove.tea.compiler.CompiledTemplate
Test to see of the template can be loaded before CompiledTemplate can be constructed.
Expression - Class in org.teatrove.tea.parsetree
An Expression is a piece of code that, when executed, produces a value.
Expression(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.Expression
 
Expression.Conversion - Class in org.teatrove.tea.parsetree
 
ExpressionList - Class in org.teatrove.tea.parsetree
An ExpressionList wraps a list of expressions that may appear in a call statement or new array expression.
ExpressionList(SourceInfo, Expression[]) - Constructor for class org.teatrove.tea.parsetree.ExpressionList
 
ExpressionStatement - Class in org.teatrove.tea.parsetree
An ExpressionStatement allows an Expression to be converted to a Statement.
ExpressionStatement(Expression) - Constructor for class org.teatrove.tea.parsetree.ExpressionStatement
 

F

FALSE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the false literal: 'false'
FileCompiler - Class in org.teatrove.tea.util
FileCompiler compiles tea source files by reading them from a file or a directory.
FileCompiler(File, String, File, ClassInjector) - Constructor for class org.teatrove.tea.util.FileCompiler
 
FileCompiler(File, String, File, ClassInjector, String) - Constructor for class org.teatrove.tea.util.FileCompiler
 
FileCompiler(File[], String, File, ClassInjector) - Constructor for class org.teatrove.tea.util.FileCompiler
 
FileCompiler(File[], String, File, ClassInjector, String) - Constructor for class org.teatrove.tea.util.FileCompiler
 
FileCompiler(File[], String, File, ClassInjector, String, Map<String, Template>) - Constructor for class org.teatrove.tea.util.FileCompiler
 
FileCompiler.FileUnit - Class in org.teatrove.tea.util
 
FileCompiler.JarredUnit - Class in org.teatrove.tea.util
 
FileCompiler.JarredUnit(File, String, Compiler) - Constructor for class org.teatrove.tea.util.FileCompiler.JarredUnit
 
FileCompiler.Unit - Class in org.teatrove.tea.util
 
finalize() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
 
finalize() - Method in class org.teatrove.tea.util.ConsoleErrorReporter
 
find(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
find(String, String, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
find(String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Finds the indices for each occurrence of the given search string in the source string.
find(String, String, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Finds the indices for each occurrence of the given search string in the source string, starting from the given index.
findCommonBaseClass(Class<?>, Class<?>) - Static method in class org.teatrove.tea.compiler.Type
Returns the most specific common superclass or interface that can be used to represent both of the specified classes.
findFirst(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
findFirst(String, String, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
findFirst(String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Finds the index of the first occurrence of the given search string in the source string, or -1 if not found.
findFirst(String, String, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Finds the index of the first occurrence of the given search string in the source string, starting from the given index, or -1 if not found.
findLast(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
findLast(String, String, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
findLast(String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Finds the index of the last occurrence of the given search string in the source string, or -1 if not found.
findLast(String, String, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Finds the index of the last occurrence of the given search string in the source string, starting from the given index, or -1 if not found.
findReservedWordID(StringBuilder) - Static method in class org.teatrove.tea.compiler.Token
If the given StringBuilder starts with a valid token type, its ID is returned.
findType(Type, Type...) - Static method in class org.teatrove.tea.compiler.Generics
 
flush() - Method in class org.teatrove.tea.runtime.DefaultContext
 
forceConversion(Type, boolean) - Method in class org.teatrove.tea.parsetree.Expression
 
FOREACH - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the for-each keyword: 'foreach'
ForeachStatement - Class in org.teatrove.tea.parsetree
A ForeachStatement iterates over the values of an array or a Collection, storing each value in a variable, allowing a statement or statements to operate on each.
ForeachStatement(SourceInfo, VariableRef, Expression, Expression, boolean, Block) - Constructor for class org.teatrove.tea.parsetree.ForeachStatement
 
formatTypeDesc(TypeDesc) - Static method in class org.teatrove.tea.compiler.TemplateRepository
Type desc format beautifier
FunctionCallExpression - Class in org.teatrove.tea.parsetree
A CallExpression to a function.
FunctionCallExpression(SourceInfo, Expression, Name, ExpressionList, Block) - Constructor for class org.teatrove.tea.parsetree.FunctionCallExpression
 

G

GE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the greater than or equal operator: '>='
generateTemplate(Template, String, ClassFile) - Method in class org.teatrove.tea.compiler.JavaClassGenerator
 
generateTemplateParameters(Template, ClassFile) - Method in class org.teatrove.tea.compiler.JavaClassGenerator
 
GenericPropertyDescriptor - Class in org.teatrove.tea.util
 
GenericPropertyDescriptor(PropertyDescriptor) - Constructor for class org.teatrove.tea.util.GenericPropertyDescriptor
 
GenericPropertyDescriptor(GenericType, PropertyDescriptor) - Constructor for class org.teatrove.tea.util.GenericPropertyDescriptor
 
Generics - Class in org.teatrove.tea.compiler
 
getActualTypeArguments() - Method in class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
getAllProperties(GenericType) - Static method in class org.teatrove.tea.util.BeanAnalyzer
A function that returns a Map of all the available properties on a given class including write-only properties.
getAllTemplateErrors() - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
getAllTemplateNames() - Method in class org.teatrove.tea.util.AbstractCompiler
Returns all sources (template names) available from the source directory and in all sub-directories.
getAllTemplateNames() - Method in class org.teatrove.tea.util.FileCompiler
 
getAllTemplateNames() - Method in class org.teatrove.tea.util.ResourceCompiler
 
getAllTemplateNames() - Method in class org.teatrove.tea.util.StringCompiler
 
getAppMethodsCalled(String, String, String) - Static method in class org.teatrove.tea.compiler.TemplateCallExtractor
Get the names of all application methods called within a template.
getAppMethodsCalled() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getArrayAccessMethods() - Method in class org.teatrove.tea.compiler.Type
If this Type supports array lookup, then return all of the methods that can be called to access the array.
getArrayElementType() - Method in class org.teatrove.tea.compiler.Type
If this Type supports array lookup, then return the element type.
getArrayIndexTypes() - Method in class org.teatrove.tea.compiler.Type
If this Type supports array lookup, then return the index type.
getAvailableLocales() - Method in interface org.teatrove.tea.runtime.Context
Returns a list of all the available locales.
getAvailableLocales() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getAvailableTimeZones() - Method in interface org.teatrove.tea.runtime.Context
Returns a list of all the available time zones.
getAvailableTimeZones() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getBeginTag() - Method in class org.teatrove.tea.io.SourceReader
Deprecated.  
getBody() - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
getBoundedType(TypeVariable<?>) - Static method in class org.teatrove.tea.compiler.Generics
 
getBoundedType(WildcardType) - Static method in class org.teatrove.tea.compiler.Generics
 
getCallCount() - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
getCalledMethod() - Method in class org.teatrove.tea.parsetree.FunctionCallExpression
Returns the method to invoke to perform the call, which is set by a type checker.
getCalledTemplate() - Method in class org.teatrove.tea.parsetree.TemplateCallExpression
Returns the template being called, which is set by a type checker.
getCallers(String) - Method in class org.teatrove.tea.compiler.TemplateRepository
Retrieve the metadata for all templates that call the named template.
getCallersNeedingRecompile(String[], Compiler) - Method in class org.teatrove.tea.compiler.TemplateRepository
Retrieve the callers of a list of given template names where the source file can be located (delegated to the compiler), and the signature of given template(s) has changed since the last call to update.
getChildren() - Method in class org.teatrove.tea.compiler.Scope
Returns an empty array if this scope has no children.
getClassLoader() - Method in class org.teatrove.tea.compiler.Compiler
Returns the ClassLoader used by the Compiler, or null if none set.
getClassName() - Method in class org.teatrove.tea.compiler.Type
 
getClassName() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getClassName(String) - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getCode() - Method in class org.teatrove.tea.compiler.Token
Token code is non-null, and is exactly the same as the name for its ID.
getCompatibleType(Type) - Method in class org.teatrove.tea.compiler.Type
Returns a type that is compatible with this type, and the one passed in.
getCompilationUnit(String, CompilationUnit) - Method in class org.teatrove.tea.compiler.Compiler
Returns a compilation unit associated with the given name, or null if not found or the compilation unit is .
getCompilationUnit() - Method in class org.teatrove.tea.compiler.ErrorEvent
 
getCompiler() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
getComponentType(GenericArrayType) - Static method in class org.teatrove.tea.compiler.Generics
 
getCondition() - Method in class org.teatrove.tea.parsetree.IfStatement
 
getCondition() - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
getConstructor() - Method in class org.teatrove.tea.engine.MergedContextSource
let subclasses get at the constructor
getContextsInOrder() - Method in class org.teatrove.tea.engine.MergedContextSource
 
getContextSource() - Method in interface org.teatrove.tea.engine.TemplateSource
 
getContextSource() - Method in interface org.teatrove.tea.engine.TemplateSourceConfig
 
getContextSource() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getContextType() - Method in interface org.teatrove.tea.engine.ContextSource
 
getContextType() - Method in class org.teatrove.tea.engine.MergedContextSource
 
getContextType() - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
Returns the type of runtime context that this template accepts.
getConversionChain() - Method in class org.teatrove.tea.parsetree.Expression
Returns a list of Conversion objects representing the all the conversions that have been applied to this Expression.
getConversionChain() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
getCulpritToken() - Method in class org.teatrove.tea.compiler.ErrorEvent
 
getCurrent() - Method in class org.teatrove.tea.compiler.StatusEvent
Returns the index of the current file.
getCurrentName() - Method in class org.teatrove.tea.compiler.StatusEvent
Returns the name of the file that is being compiled.
getDateFormat() - Method in interface org.teatrove.tea.runtime.Context
Returns the current date format specification.
getDateFormat() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getDateFormatTimeZone() - Method in interface org.teatrove.tea.runtime.Context
Returns the current date format time zone.
getDateFormatTimeZone() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getDeclaredVariable(String) - Method in class org.teatrove.tea.compiler.Scope
Returns a declared variable by name.
getDeclaredVariable(String, boolean) - Method in class org.teatrove.tea.compiler.Scope
Returns a declared variable by name.
getDependents() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getDescriptorStr(String) - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
getDescriptorStr() - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
getDestinationFile() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getDestinationLastModified() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getDetail() - Method in class org.teatrove.tea.engine.TemplateError
 
getDetailedErrorMessage() - Method in class org.teatrove.tea.compiler.ErrorEvent
Returns the error message prepended with source file information.
getDetailedErrorMessage() - Method in class org.teatrove.tea.engine.TemplateError
 
getDetailPosition() - Method in class org.teatrove.tea.compiler.SourceDetailedInfo
 
getDetailPosition() - Method in class org.teatrove.tea.compiler.SourceInfo
 
getDimensions() - Method in class org.teatrove.tea.parsetree.TypeName
 
getDirectives() - Method in class org.teatrove.tea.parsetree.Template
 
getDisplayName() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getDot() - Method in class org.teatrove.tea.parsetree.Lookup
 
getDoubleValue() - Method in class org.teatrove.tea.compiler.Token
Only valid if token is a number.
getElsePart() - Method in class org.teatrove.tea.parsetree.IfStatement
 
getElsePart() - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
getEnclosingScope(Scope) - Method in class org.teatrove.tea.compiler.Scope
Returns the innermost enclosing scope of this and the one given.
getEndPosition() - Method in class org.teatrove.tea.compiler.SourceInfo
 
getEndPosition() - Method in class org.teatrove.tea.io.SourceReader
Deprecated. The position in the reader where the last read character ended.
getEndRange() - Method in class org.teatrove.tea.parsetree.ForeachStatement
Returns null if this foreach statement iterates over an array/collection instead of an integer range of values.
getEndTag() - Method in class org.teatrove.tea.io.SourceReader
Deprecated.  
getErrorCount() - Method in class org.teatrove.tea.compiler.CompilationUnit
Returns the number of errors generated while compiling this CompilationUnit.
getErrorCount() - Method in class org.teatrove.tea.compiler.Compiler
 
getErrorCount() - Method in class org.teatrove.tea.compiler.Parser
 
getErrorCount() - Method in class org.teatrove.tea.compiler.Scanner
 
getErrorCount() - Method in class org.teatrove.tea.compiler.TypeChecker
 
getErrorEnd() - Method in class org.teatrove.tea.engine.TemplateError
 
getErrorEndPos() - Method in class org.teatrove.tea.engine.TemplateError
 
getErrorFileEndPos() - Method in class org.teatrove.tea.engine.TemplateError
 
getErrorFileStartPos() - Method in class org.teatrove.tea.engine.TemplateError
 
getErrorMessage() - Method in class org.teatrove.tea.compiler.ErrorEvent
 
getErrorMessage() - Method in class org.teatrove.tea.engine.TemplateError
 
getErrorStart() - Method in class org.teatrove.tea.engine.TemplateError
 
getErrorStartPos() - Method in class org.teatrove.tea.engine.TemplateError
 
getExpression() - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
getExpression() - Method in class org.teatrove.tea.parsetree.CallExpression
 
getExpression() - Method in class org.teatrove.tea.parsetree.ExpressionStatement
 
getExpression() - Method in class org.teatrove.tea.parsetree.Lookup
 
getExpression() - Method in class org.teatrove.tea.parsetree.NegateExpression
 
getExpression() - Method in class org.teatrove.tea.parsetree.NotExpression
 
getExpression() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
getExpression() - Method in class org.teatrove.tea.parsetree.ReturnStatement
Returns the expression to return or null if void is returned.
getExpression() - Method in class org.teatrove.tea.parsetree.SpreadExpression
 
getExpressionList() - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
getExpressions() - Method in class org.teatrove.tea.parsetree.ExpressionList
 
getFinalizer() - Method in class org.teatrove.tea.parsetree.Block
Finalizer is executed at the end of the block and may be defined by a type checker in order to correctly manage variable types.
getFloatValue() - Method in class org.teatrove.tea.compiler.Token
Only valid if token is a number.
getFromType() - Method in class org.teatrove.tea.parsetree.Expression.Conversion
Is null if this is the first conversion in the chain.
getFullName() - Method in class org.teatrove.tea.compiler.Type
 
getFullyQualifiedName(String) - Static method in class org.teatrove.tea.compiler.CompiledTemplate
 
getGenericClass() - Method in class org.teatrove.tea.compiler.Type
Returns the JDK 5 generic type associated with this type.
getGenericComponentType() - Method in class org.teatrove.tea.compiler.TypeChecker.GenericArrayTypeImpl
 
getGenericPropertyType() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getGenericType() - Method in class org.teatrove.tea.compiler.Type
 
getGenericTypes() - Method in class org.teatrove.tea.parsetree.TypeName
 
getGuarded() - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
May return null if removed.
getID() - Method in class org.teatrove.tea.compiler.Token
Returns the ID of this Token, which identifies what type of token it is.
getIdentifier() - Method in interface org.teatrove.tea.runtime.Substitution
Returns an object that uniquely identifies this substitution block.
getImage() - Method in class org.teatrove.tea.compiler.Token
Token image represents what a static token looks like in a source file.
getImportedPackages() - Method in class org.teatrove.tea.compiler.CompilationUnit
Current implementation returns only the same packages as the compiler.
getImportedPackages() - Method in class org.teatrove.tea.compiler.Compiler
Returns the list of imported packages that all templates have.
getImports() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getInitializer() - Method in class org.teatrove.tea.parsetree.Block
Initializer is executed at the beginning of the block and may be defined by a type checker in order to correctly manage variable types.
getInitializer() - Method in class org.teatrove.tea.parsetree.CallExpression
Initializer is a section of code that executes before the substitution param.
getInitializer() - Method in class org.teatrove.tea.parsetree.ForeachStatement
Initializer is a section of code that executes before the loop is entered.
getInitialType() - Method in class org.teatrove.tea.parsetree.Expression
Returns the type of this expression before any conversions were applied, or null if the type isn't set.
getInitialType() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
getInstance() - Static method in class org.teatrove.tea.compiler.TemplateRepository
Get repository instance.
getIntValue() - Method in class org.teatrove.tea.compiler.Token
Only valid if token is a number.
getIsaTypeName() - Method in class org.teatrove.tea.parsetree.RelationalExpression
Only applies if token is "isa".
getIterationElementType() - Method in class org.teatrove.tea.compiler.Type
If this type supports iteration, then the element type is returned.
getIterationType(Type) - Static method in class org.teatrove.tea.compiler.Generics
 
getIterationType(Type) - Static method in class org.teatrove.tea.compiler.Generics
 
getIterationType(GenericType) - Static method in class org.teatrove.tea.compiler.Type
Get the iteration type of the generic type based on the generic type parameters.
getJarEntry() - Method in class org.teatrove.tea.util.FileCompiler.JarredUnit
 
getKeyedPropertyType() - Method in class org.teatrove.tea.util.KeyedPropertyDescriptor
 
getKeyedReadMethods() - Method in class org.teatrove.tea.util.KeyedPropertyDescriptor
A null element indicates that an array lookup should be performed.
getKeyElementType() - Method in class org.teatrove.tea.compiler.Type
 
getKeyType(Type) - Static method in class org.teatrove.tea.compiler.Generics
 
getKeyType(Type) - Static method in class org.teatrove.tea.compiler.Generics
 
getKeyType(GenericType) - Static method in class org.teatrove.tea.compiler.Type
Get the key type of the generic type based on the generic type parameters.
getKnownTemplateCount() - Method in interface org.teatrove.tea.engine.TemplateSource
Returns number of all templates that are compiled (failed or succeed)
getKnownTemplateCount() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getKnownTemplateNames() - Method in interface org.teatrove.tea.engine.TemplateSource
Returns names of all templates that are compiled (failed or succeed)
getKnownTemplateNames() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getKnownTemplateNames() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.Results
 
getKnownTemplateNameSet() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
provides subclasses with access to modify the KnownTemplateNames
getLastModified() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getLastModified() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getLastModified() - Method in class org.teatrove.tea.util.FileCompiler.JarredUnit
 
getLastModified() - Method in class org.teatrove.tea.util.FileCompiler.Unit
 
getLastModifiedDate() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getLastModifiedDate() - Method in class org.teatrove.tea.engine.TemplateError
 
getLastModifiedTime() - Method in interface org.teatrove.tea.engine.Template
Returns the last (known) modified time of the template's source file
getLastModifiedTime() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.TemplateSourceFileInfo
 
getLastReloadTime() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.Results
 
getLeftExpression() - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
getLine() - Method in class org.teatrove.tea.compiler.SourceInfo
 
getLine() - Method in class org.teatrove.tea.log.TeaLog.TeaStackTraceLine
 
getLineEnd() - Method in class org.teatrove.tea.engine.TemplateError
 
getLineNumber() - Method in class org.teatrove.tea.engine.TemplateError
 
getLineNumber() - Method in class org.teatrove.tea.io.LinePositionReader
Deprecated.  
getLineNumber() - Method in class org.teatrove.tea.io.SourceReader
Deprecated.  
getLineNumber() - Method in class org.teatrove.tea.log.TeaLog.TeaStackTraceLine
 
getLines() - Method in class org.teatrove.tea.log.TeaLogEvent
 
getLineStart() - Method in class org.teatrove.tea.engine.TemplateError
 
getLoadedTemplates() - Method in interface org.teatrove.tea.engine.TemplateSource
Returns the list of loaded templates
getLoadedTemplates() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getLoadedTemplates() - Method in class org.teatrove.tea.runtime.TemplateLoader
Returns all the templates that have been loaded thus far.
getLoader() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.Results
 
getLocale() - Method in interface org.teatrove.tea.runtime.Context
Returns the current locale setting.
getLocale() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getLocalOutOfScopeVariableRefs() - Method in class org.teatrove.tea.compiler.Scope
Returns all the references made from this scope to variables declared outside of this scope.
getLocalVariableRefs() - Method in class org.teatrove.tea.compiler.Scope
Returns all the references made from this scope to variables declared in this scope or in a parent.
getLongValue() - Method in class org.teatrove.tea.compiler.Token
Only valid if token is a number.
getLookupIndex() - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
getLookupName() - Method in class org.teatrove.tea.parsetree.Lookup
 
getLookupToken() - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
getLoopVariable() - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
getLValue() - Method in class org.teatrove.tea.parsetree.AssignmentStatement
 
getMatchingBracket(int) - Static method in class org.teatrove.tea.compiler.Token
If the given id is a bracket: (,[,{,},],) then the matching bracket's id is returned.
getMergedVariables() - Method in class org.teatrove.tea.parsetree.IfStatement
Returns the variables that were commonly assigned in both the "then" and "else" parts of the if statement, were merged together and moved into the parent scope.
getMessage() - Method in exception org.teatrove.tea.engine.ContextCreationException
 
getMethodCallers(MethodDescriptor) - Method in class org.teatrove.tea.compiler.TemplateRepository
Retrieve the metadata for all templates that call the specified method.
getMethodParam(Method, int, Type) - Static method in class org.teatrove.tea.compiler.MethodMatcher
 
getName() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
getName() - Method in class org.teatrove.tea.compiler.CompiledTemplate
 
getName() - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
getName() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getName() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.TemplateSourceFileInfo
 
getName() - Method in class org.teatrove.tea.parsetree.ImportDirective
 
getName() - Method in class org.teatrove.tea.parsetree.Name
 
getName() - Method in class org.teatrove.tea.parsetree.Template
 
getName() - Method in class org.teatrove.tea.parsetree.Variable
 
getName() - Method in class org.teatrove.tea.parsetree.VariableRef
 
getName() - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
Returns the full name of this template.
getName() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getNaturalClass() - Method in class org.teatrove.tea.compiler.Type
Returns the natural class for this type.
getNextPosition() - Method in class org.teatrove.tea.io.EscapeReader
Deprecated.  
getNullFormat() - Method in interface org.teatrove.tea.runtime.Context
Returns the current null format specification.
getNullFormat() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getNumberFormat() - Method in interface org.teatrove.tea.runtime.Context
Returns the current number format specification.
getNumberFormat() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getNumberFormatInfinity() - Method in interface org.teatrove.tea.runtime.Context
Returns the current number format for infinity.
getNumberFormatInfinity() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getNumberFormatNaN() - Method in interface org.teatrove.tea.runtime.Context
Returns the current number format for NaN.
getNumberFormatNaN() - Method in class org.teatrove.tea.runtime.DefaultContext
 
getNumericType() - Method in class org.teatrove.tea.compiler.Token
Only valid if token is a number.
getObjectClass() - Method in class org.teatrove.tea.compiler.Type
Class returned never represents a primitive type.
getOperation() - Method in class org.teatrove.tea.parsetree.SpreadExpression
 
getOperator() - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
getOriginalSource() - Method in class org.teatrove.tea.io.EscapeReader
Deprecated.  
getOutOfScopeVariableRefs() - Method in class org.teatrove.tea.compiler.Scope
Returns all the references made from this scope and all child scopes to variables declared outside of this scope.
getOutputStream() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
getOutputStream() - Method in class org.teatrove.tea.compiler.CompiledTemplate
Delegate to calling template.
getOutputStream() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getOwnerType() - Method in class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
getPackagePrefix() - Method in interface org.teatrove.tea.engine.TemplateSourceConfig
 
getParameterNames() - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
Returns the parameter names that this template accepts.
getParameterTypes() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getParameterTypes() - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
Returns the parameter types that this template accepts.
getParams() - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
getParams() - Method in class org.teatrove.tea.parsetree.CallExpression
 
getParams() - Method in class org.teatrove.tea.parsetree.Template
 
getParent() - Method in class org.teatrove.tea.compiler.Scope
Returns null if this scope has no parent.
getParseTree() - Method in class org.teatrove.tea.compiler.CodeGenerator
 
getParseTree() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
getParseTree() - Method in class org.teatrove.tea.compiler.CompiledTemplate
This method is called by JavaClassGenerator during the compile phase.
getParseTree(CompilationUnit) - Method in class org.teatrove.tea.compiler.Compiler
Called by the Compiler or by a CompilationUnit when its parse tree is requested.
getProperty(String) - Method in class org.teatrove.tea.parsetree.Template
 
getPropertyEditorClass() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getPropertyType() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getRange() - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
getRawType(ParameterizedType) - Static method in class org.teatrove.tea.compiler.Generics
 
getRawType() - Method in class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
getReader() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
getReader() - Method in class org.teatrove.tea.compiler.CompiledTemplate
Delegate to calling template.
getReader() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getReadMethod() - Method in class org.teatrove.tea.parsetree.ArrayLookup
Returns the method to invoke in order to perform the lookup.
getReadMethod() - Method in class org.teatrove.tea.parsetree.Lookup
Returns the method to invoke in order to perform the lookup.
getReadMethod() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getReadProperty() - Method in class org.teatrove.tea.parsetree.Lookup
Returns the field to use in order to perform the lookup.
getReceiverMethod() - Method in class org.teatrove.tea.parsetree.ExpressionStatement
 
getReloadedTemplateNames() - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
getReplacement() - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
May return null since this is optional.
getReturnType() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getReturnType() - Method in interface org.teatrove.tea.parsetree.Returnable
 
getReturnType() - Method in class org.teatrove.tea.parsetree.Template
The return type is set by a type checker.
getRightExpression() - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
getRightExpression() - Method in class org.teatrove.tea.parsetree.RelationalExpression
 
getRootPackage() - Method in class org.teatrove.tea.util.AbstractCompiler
Get the root target package for all templates.
getRuntimeContext() - Method in class org.teatrove.tea.compiler.CompilationUnit
The retrieves the runtime context.
getRuntimeContext() - Method in class org.teatrove.tea.compiler.CompiledTemplate
Get the runtime context of the compiled template.
getRuntimeContext() - Method in class org.teatrove.tea.compiler.Compiler
Return a class that defines a template's runtime context.
getRuntimeContextMethods() - Method in class org.teatrove.tea.compiler.Compiler
Returns all the methods available in the runtime context.
getRuntimeReceiver() - Method in class org.teatrove.tea.compiler.Compiler
Return the name of a method in the runtime context to bind to for receiving objects emitted by templates.
getRuntimeStringConverter() - Method in class org.teatrove.tea.compiler.Compiler
Return the name of a method in the runtime context to bind to for converting objects and primitives to strings.
getRValue() - Method in class org.teatrove.tea.parsetree.AssignmentStatement
 
getShortDescription() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getShortName() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
getShortName() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
getSimpleName() - Method in class org.teatrove.tea.compiler.Type
 
getSourceFile() - Method in interface org.teatrove.tea.engine.Template
Returns the .tea source file of this template
getSourceFile() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.TemplateSourceFileInfo
 
getSourceFile() - Method in class org.teatrove.tea.util.FileCompiler.Unit
 
getSourceFileName() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
getSourceFileName() - Method in class org.teatrove.tea.compiler.CompiledTemplate
Source is not accessible for pre-compiled templates
getSourceFileName() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getSourceFileName() - Method in class org.teatrove.tea.util.FileCompiler.JarredUnit
 
getSourceInfo() - Method in class org.teatrove.tea.compiler.ErrorEvent
This method reports on where in the source code an error was found.
getSourceInfo() - Method in class org.teatrove.tea.compiler.Token
Returns information regarding where in the source file this token came from.
getSourceInfo() - Method in class org.teatrove.tea.parsetree.Node
 
getSourceInfoMessage() - Method in class org.teatrove.tea.compiler.ErrorEvent
 
getSourceInfoMessage() - Method in class org.teatrove.tea.engine.TemplateError
 
getSourceLine() - Method in class org.teatrove.tea.engine.TemplateError
 
getSourcePath() - Method in class org.teatrove.tea.engine.TemplateError
 
getSourceUrl() - Method in class org.teatrove.tea.util.FileCompiler.JarredUnit
 
getStartPosition() - Method in class org.teatrove.tea.compiler.SourceInfo
 
getStartPosition() - Method in class org.teatrove.tea.io.PushbackPositionReader
Deprecated.  
getStatement() - Method in class org.teatrove.tea.parsetree.Template
Will likely return a StatementList or Block in order to hold many statements.
getStatements() - Method in class org.teatrove.tea.parsetree.StatementList
 
getStringConverterMethods() - Method in class org.teatrove.tea.compiler.Compiler
Returns the set of methods that are used to perform conversion to strings.
getStringValue() - Method in class org.teatrove.tea.compiler.Token
 
getSubstitutionParam() - Method in class org.teatrove.tea.parsetree.CallExpression
 
getTarget() - Method in class org.teatrove.tea.parsetree.CallExpression
 
getTargetPackage() - Method in class org.teatrove.tea.compiler.CompilationUnit
Return the package name that this CompilationUnit should be compiled into.
getTargetPackage() - Method in class org.teatrove.tea.compiler.CompiledTemplate
Return the package name that this CompilationUnit should be compiled into.
getTargetPackage() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getTemplate(String) - Method in interface org.teatrove.tea.engine.TemplateSource
Returns the template object of the given template name
getTemplate(String) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getTemplate(String) - Method in class org.teatrove.tea.runtime.TemplateLoader
Get or load a template by its full name.
getTemplateClass() - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
Returns the class that defines this template.
getTemplateErrors() - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
getTemplateErrors() - Method in interface org.teatrove.tea.engine.TemplateErrorListener
 
getTemplateErrors() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
 
getTemplateExecuteMethod(InputStream) - Static method in class org.teatrove.tea.compiler.TemplateCallExtractor
Find the execute method on the class file input stream.
getTemplateInfo(String) - Method in class org.teatrove.tea.compiler.TemplateRepository
Retrieve the metadata for a given template.
getTemplateInfoForClassFile(File) - Method in class org.teatrove.tea.compiler.TemplateRepository
Retrieves template metadata for a class file.
getTemplateInfos() - Method in class org.teatrove.tea.compiler.TemplateRepository
Retrieve the metadata for all templates.
getTemplateLoader() - Method in interface org.teatrove.tea.engine.TemplateSource
 
getTemplateLoader() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getTemplateLoader() - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
 
getTemplateName() - Method in class org.teatrove.tea.log.TeaLog.TeaStackTraceLine
 
getTemplateRootDirs() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getTemplatesCalled(String, String) - Static method in class org.teatrove.tea.compiler.TemplateCallExtractor
Get the names of all templates called within a template.
getTemplateSource() - Method in class org.teatrove.tea.engine.SimpleTeaEngine
 
getTemplateSource() - Method in interface org.teatrove.tea.engine.TeaEngineConfig
 
getTemplateSource() - Method in interface org.teatrove.tea.engine.TeaExecutionEngine
 
getTemplateSource() - Method in interface org.teatrove.tea.engine.Template
Provides a reference to this Template's TemplateSource.
getTemplateSource(String) - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
getTemplateSource(String) - Method in class org.teatrove.tea.util.FileCompiler.JarredUnit
 
getTemplateSource(String) - Method in class org.teatrove.tea.util.FileCompiler.Unit
 
getThenPart() - Method in class org.teatrove.tea.parsetree.IfStatement
 
getThenPart() - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
getTimeOfLastReload() - Method in interface org.teatrove.tea.engine.TemplateSource
Returns the time the templates are last reloaded
getTimeOfLastReload() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
getTotal() - Method in class org.teatrove.tea.compiler.StatusEvent
Returns the total number of files that are being worked.
getToType() - Method in class org.teatrove.tea.parsetree.Expression.Conversion
 
getTransientResults() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.Results
 
getType() - Method in class org.teatrove.tea.parsetree.Expression
The type of an expression is not necessarily set by a parser.
getType() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
getType() - Method in class org.teatrove.tea.parsetree.TypeName
 
getType() - Method in class org.teatrove.tea.parsetree.Variable
Returns null if type is unknown.
getTypeArgument(GenericType, int) - Static method in class org.teatrove.tea.compiler.Type
Get the associated type of the generic type based on the generic type parameters.
getTypeName() - Method in class org.teatrove.tea.parsetree.TypeExpression
 
getTypeName() - Method in class org.teatrove.tea.parsetree.Variable
 
getUnderline() - Method in class org.teatrove.tea.engine.TemplateError
 
getUnderlyingType(Type) - Static method in class org.teatrove.tea.compiler.Generics
 
getValue() - Method in class org.teatrove.tea.parsetree.BooleanLiteral
 
getValue() - Method in class org.teatrove.tea.parsetree.Expression
Most expressions can't generate a value at compile-time, so this method simply returns null.
getValue() - Method in class org.teatrove.tea.parsetree.NullLiteral
 
getValue() - Method in class org.teatrove.tea.parsetree.NumberLiteral
 
getValue() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
getValue() - Method in class org.teatrove.tea.parsetree.StringLiteral
 
getValue(String) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
getValueElementType() - Method in class org.teatrove.tea.compiler.Type
 
getValueType(Type) - Static method in class org.teatrove.tea.compiler.Generics
 
getValueType(Type) - Static method in class org.teatrove.tea.compiler.Generics
 
getValueType(GenericType) - Static method in class org.teatrove.tea.compiler.Type
Get the value type of the generic type based on the generic type parameters.
getVariable() - Method in class org.teatrove.tea.parsetree.VariableRef
 
getVariableRefs() - Method in class org.teatrove.tea.compiler.Scope
Returns all the variable references made from this scope and all child scopes.
getWrappedTemplates() - Method in class org.teatrove.tea.engine.TemplateSourceImpl.Results
 
getWriteMethod() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
GT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the greater than operator: '>'

H

HASH - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the hash: '#'
hashCode() - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
hashCode() - Method in class org.teatrove.tea.compiler.Type
 
hashCode() - Method in class org.teatrove.tea.compiler.TypeChecker.GenericArrayTypeImpl
 
hashCode() - Method in class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
hashCode() - Method in class org.teatrove.tea.parsetree.ImportDirective
 
hashCode() - Method in class org.teatrove.tea.parsetree.Name
 
hashCode() - Method in class org.teatrove.tea.parsetree.TypeName
 
hashCode() - Method in class org.teatrove.tea.parsetree.Variable
 
hashCode() - Method in class org.teatrove.tea.parsetree.VariableRef
 
hashCode() - Method in class org.teatrove.tea.runtime.SubstitutionId
 
hashCode() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
hasPrimitivePeer() - Method in class org.teatrove.tea.compiler.Type
Returns true if this type is not primitive, but it has a primitive type peer.
hasSubstitutionParam() - Method in class org.teatrove.tea.parsetree.Template
 

I

IDENT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for an identifier.
IF - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the if keyword: 'if'
IfStatement - Class in org.teatrove.tea.parsetree
An IfStatement consists of a condition, a "then" part and an "else" part.
IfStatement(SourceInfo, Expression, Block) - Constructor for class org.teatrove.tea.parsetree.IfStatement
 
IfStatement(SourceInfo, Expression, Block, Block) - Constructor for class org.teatrove.tea.parsetree.IfStatement
 
ignoreCase - Variable in class org.teatrove.tea.runtime.DefaultContext.StringComparator
 
ignoreTags(boolean) - Method in class org.teatrove.tea.io.SourceReader
Deprecated.  
IMPORT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the import keyword: 'import'
ImportDirective - Class in org.teatrove.tea.parsetree
An import directive allows for a shorthand name qualifier for type names
ImportDirective(SourceInfo, String) - Constructor for class org.teatrove.tea.parsetree.ImportDirective
Used for variable declarations.
IN - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the in keyword: 'in'
incCallCount() - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
Info - Class in org.teatrove.tea
This class exists so the login in the PackageInfo creation mechanism will create a PackageInfo.java file at this level.
Info() - Constructor for class org.teatrove.tea.Info
 
info(Throwable) - Method in class org.teatrove.tea.log.TeaLog
 
init(File, String) - Static method in class org.teatrove.tea.compiler.TemplateRepository
Initalizes and loads the repository.
init(ClassLoader, ContextSource[], boolean) - Method in class org.teatrove.tea.engine.MergedContextSource
 
init(ClassLoader, ContextSource[], String[], boolean) - Method in class org.teatrove.tea.engine.MergedContextSource
Creates a unified context source for all those passed in.
init(TeaEngineConfig) - Method in class org.teatrove.tea.engine.SimpleTeaEngine
 
init(TeaEngineConfig) - Method in interface org.teatrove.tea.engine.TeaExecutionEngine
 
init(TemplateSourceConfig) - Method in interface org.teatrove.tea.engine.TemplateSource
 
init(TemplateSourceConfig) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
insert(StringBuilder, Object, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
insert(StringBuilder, Object, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function to insert a value into an existing buffer.
INT_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type for representing ints, provided as a convenience
intersect(Scope) - Method in class org.teatrove.tea.compiler.Scope
Returns the intersection of this scope against the one given.
ISA - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the is-a keyword: 'isa'
isAllConstant() - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
isAlreadyReloading() - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
isArray(Object) - Method in class org.teatrove.tea.runtime.DefaultContext
 
isArray(Object) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that checks if an object is an Array
isAssociative() - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
isBound() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
isBracket(int) - Static method in class org.teatrove.tea.compiler.Token
Returns true if id is a bracket
isBracket() - Method in class org.teatrove.tea.compiler.Token
Returns true if this Token is a bracket: (,[,{,},],)
isBreak() - Method in class org.teatrove.tea.parsetree.BreakStatement
 
isBreak() - Method in class org.teatrove.tea.parsetree.ContinueStatement
 
isBreak() - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
isBreak() - Method in class org.teatrove.tea.parsetree.IfStatement
 
isBreak() - Method in class org.teatrove.tea.parsetree.ReturnStatement
 
isBreak() - Method in class org.teatrove.tea.parsetree.Statement
Returns true if Statement 'breaks' during its execution.
isCastPreferred() - Method in class org.teatrove.tea.parsetree.Expression.Conversion
 
isCloseBracket(int) - Static method in class org.teatrove.tea.compiler.Token
Returns true if id is a close bracket: ), ], }
isCloseBracket() - Method in class org.teatrove.tea.compiler.Token
Returns true if this Token is a close bracket: ),],}
isClosed() - Method in class org.teatrove.tea.io.SourceReader
Deprecated.  
isCodeGenerationEnabled() - Method in class org.teatrove.tea.compiler.Compiler
Returns true if code generation is enabled.
isConstrained() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
isEnclosing(Scope) - Method in class org.teatrove.tea.compiler.Scope
Returns true if this scope is the same as or a parent of the one given.
isEscapesEnabled() - Method in class org.teatrove.tea.io.EscapeReader
Deprecated. Escapes are enabled by default.
isExceptionGuardianEnabled() - Method in class org.teatrove.tea.compiler.Compiler
Returns true if the exception guardian is enabled.
isExceptionGuardianEnabled() - Method in interface org.teatrove.tea.engine.TemplateSource
 
isExceptionGuardianEnabled() - Method in interface org.teatrove.tea.engine.TemplateSourceConfig
 
isExceptionGuardianEnabled() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.CallExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.CompareExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.ConcatenateExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.Expression
Returns true if an exception can be thrown while executing this Expression.
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.Lookup
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.NegateExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.NotExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.RelationalExpression
 
isExceptionPossible() - Method in class org.teatrove.tea.parsetree.SpreadExpression
 
isExpert() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
isField() - Method in class org.teatrove.tea.parsetree.Variable
 
isHidden() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
isInitialized() - Static method in class org.teatrove.tea.compiler.TemplateRepository
Check to see if the repository was initialized (singleton instance create).
isLogCompileStatus() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
isNonNull() - Method in class org.teatrove.tea.compiler.Type
Returns true if this type cannot reference null.
isNullable() - Method in class org.teatrove.tea.compiler.Type
Returns true if this type can reference null, or simply the opposite result of isNonNull.
isNullSafe() - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
isNullSafe() - Method in class org.teatrove.tea.parsetree.CallExpression
 
isNullSafe() - Method in class org.teatrove.tea.parsetree.Lookup
 
isNullSafe() - Method in interface org.teatrove.tea.parsetree.NullSafe
 
isNullSafe() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
isNullSafe() - Method in class org.teatrove.tea.parsetree.VariableRef
 
isOpenBracket(int) - Static method in class org.teatrove.tea.compiler.Token
Returns true if id is an open bracket: (,[,{
isOpenBracket() - Method in class org.teatrove.tea.compiler.Token
Returns true if this Token is an open bracket: (,[,{
isOperator(int) - Static method in class org.teatrove.tea.compiler.Token
Returns true if id is an operator
isOperator() - Method in class org.teatrove.tea.compiler.Token
Returns true if this Token is an operator
isPrecompiled() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
 
isPreferred() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
isPrimitive() - Method in class org.teatrove.tea.compiler.Type
Returns true if this type is a primitive.
isProfilingEnabled() - Method in class org.teatrove.tea.engine.MergedContextSource
 
isReloading() - Method in class org.teatrove.tea.engine.ReloadLock
 
isReservedWord(int) - Static method in class org.teatrove.tea.compiler.Token
Returns true if id is a reserved word
isReservedWord() - Method in class org.teatrove.tea.compiler.Token
Returns true if this Token is a reserved word.
isReturn() - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
isReturn() - Method in class org.teatrove.tea.parsetree.IfStatement
 
isReturn() - Method in class org.teatrove.tea.parsetree.ReturnStatement
 
isReturn() - Method in class org.teatrove.tea.parsetree.Statement
Returns true if Statement definitely returns from its method either from a return statement or a throw statement.
isReturn() - Method in class org.teatrove.tea.parsetree.StatementList
 
isReverse() - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
isReverseIterationSupported() - Method in class org.teatrove.tea.compiler.Type
Returns true if this type supports iteration in the reverse direction.
isStatic() - Method in class org.teatrove.tea.parsetree.Variable
 
isStaticallyTyped() - Method in class org.teatrove.tea.parsetree.Variable
 
isSuccessful() - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
isTransient() - Method in class org.teatrove.tea.parsetree.Variable
 
isTrue() - Method in interface org.teatrove.tea.runtime.Truthful
 
isValid() - Method in class org.teatrove.tea.compiler.CompiledTemplate
Checks if the compiled template class is a precomiled template (i.e.
isValueKnown() - Method in class org.teatrove.tea.parsetree.Expression
Returns true if the value generated by this expression is known at compile-time.
isValueKnown() - Method in class org.teatrove.tea.parsetree.Literal
Usually returns true, but some literals may have an unknown value if they are converted to another type.
isValueKnown() - Method in class org.teatrove.tea.parsetree.NumberLiteral
Value is known only if type is a number or can be assigned a number.
isValueKnown() - Method in class org.teatrove.tea.parsetree.ParenExpression
 
isVoid() - Method in class org.teatrove.tea.compiler.Type
Return true if this type is void.
isVoidPermitted() - Method in class org.teatrove.tea.parsetree.CallExpression
A CallExpression is permitted to return void only in certain cases.

J

JavaClassGenerator - Class in org.teatrove.tea.compiler
The JavaClassGenerator compiles a template into a single Java class file.
JavaClassGenerator(CompilationUnit) - Constructor for class org.teatrove.tea.compiler.JavaClassGenerator
 

K

KEYED_PROPERTY_NAME - Static variable in class org.teatrove.tea.util.BeanAnalyzer
The name given to keyed properties: "[]"
KeyedPropertyDescriptor - Class in org.teatrove.tea.util
A special kind of PropertyDescriptor provided by BeanAnaliyzer.

L

LAMBDA - Static variable in class org.teatrove.tea.compiler.Token
Token ID for lambda operator: '->'
LBRACE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the left brace: '{'
LBRACK - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the left bracket: '['
LE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the less than or equal operator: '<='
LENGTH_PROPERTY_NAME - Static variable in class org.teatrove.tea.util.BeanAnalyzer
The name given to the length property: "length"
LinePositionReader - Class in org.teatrove.tea.io
Deprecated. Moved to org.teatrove.trove.io package.
LinePositionReader(Reader) - Constructor for class org.teatrove.tea.io.LinePositionReader
Deprecated.  
listTouchedTemplates() - Method in interface org.teatrove.tea.engine.TemplateSource
Returns a Map of templates that need reloading - the entry key is the String name of the template - the entry value is a Boolean indicating if the template signature has changed.
listTouchedTemplates() - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
Literal - Class in org.teatrove.tea.parsetree
A literal is an expression that has a constant value.
Literal(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.Literal
 
loadClass(String) - Method in class org.teatrove.tea.compiler.Compiler
Loads and returns a class by the fully qualified name given.
loadTemplate(String) - Method in class org.teatrove.tea.runtime.TemplateLoader
 
Logical - Interface in org.teatrove.tea.parsetree
An interface that marks an expression as performing a boolean logic operation.
logTeaStackTrace(TeaLogEvent) - Method in interface org.teatrove.tea.log.TeaLogListener
Called for LogEvents that should be logged as a TeaStackTrace.
LONG_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type for representing longs, provided as a convenience
Lookup - Class in org.teatrove.tea.parsetree
A Lookup can access properties on objects.
Lookup(SourceInfo, Expression, Token, Name) - Constructor for class org.teatrove.tea.parsetree.Lookup
 
lookupType(String, int, Node) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
LPAREN - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the left parenthesis: '('
LT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the less than operator: '<'

M

main(String[]) - Static method in class org.teatrove.tea.compiler.Parser
Test program
main(String[]) - Static method in class org.teatrove.tea.compiler.Scanner
Simple test program
main(String[]) - Static method in class org.teatrove.tea.Info
Prints a line to standard out.
main(String[]) - Static method in class org.teatrove.tea.io.SourceReader
Deprecated. Simple test program
main(String[]) - Static method in class org.teatrove.tea.io.TagReader
Deprecated.  
main(String[]) - Static method in class org.teatrove.tea.io.UnicodeReader
Deprecated.  
main(String[]) - Static method in class org.teatrove.tea.util.BeanAnalyzer
Test program.
main(String[]) - Static method in class org.teatrove.tea.util.CallRetrofitter
Entry point for a command-line tool that puts the 'call' keyword in front of template calls in templates compatable with pre 3.x.x versions of Tea.
main(String[]) - Static method in class org.teatrove.tea.util.FileCompiler
Entry point for a command-line tool suitable for compiling Tea templates to be bundled with a product.
main(String[]) - Static method in class org.teatrove.tea.util.TestCompiler
 
match(Method[], String, Type...) - Static method in class org.teatrove.tea.compiler.MethodMatcher
The best result candidates are stored in the Method array passed in.
mCompiledDir - Variable in class org.teatrove.tea.engine.TemplateSourceImpl
 
mConfig - Variable in class org.teatrove.tea.engine.TemplateSourceImpl
 
mDestDir - Variable in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
mDestFile - Variable in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
mDotPath - Variable in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
mEncoding - Variable in class org.teatrove.tea.util.AbstractCompiler
 
MergedContextSource - Class in org.teatrove.tea.engine
A ContextSource implementation that merges several ContextSources into one.
MergedContextSource() - Constructor for class org.teatrove.tea.engine.MergedContextSource
 
mEscapesEnabled - Variable in class org.teatrove.tea.io.EscapeReader
Deprecated.  
MethodMatcher - Class in org.teatrove.tea.compiler
This class finds methods that best fit a given description.
MethodMatcher() - Constructor for class org.teatrove.tea.compiler.MethodMatcher
 
mForce - Variable in class org.teatrove.tea.util.AbstractCompiler
 
mInjector - Variable in class org.teatrove.tea.util.AbstractCompiler
 
MINUS - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the minus operator: '-'
mLog - Variable in class org.teatrove.tea.engine.TemplateSourceImpl
 
mLogCompileStatus - Variable in class org.teatrove.tea.engine.TemplateSourceImpl
 
MOD - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the modulus operator: '%'
mPrecompiledTolerance - Variable in class org.teatrove.tea.util.AbstractCompiler
 
mProperties - Variable in class org.teatrove.tea.engine.TemplateSourceImpl
 
mResults - Variable in class org.teatrove.tea.engine.TemplateSourceImpl
 
mRootDestDir - Variable in class org.teatrove.tea.util.AbstractCompiler
 
mRootPackage - Variable in class org.teatrove.tea.util.AbstractCompiler
 
mSource - Variable in class org.teatrove.tea.io.EscapeReader
Deprecated.  
mSourceFileName - Variable in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
mSourceFilePath - Variable in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
mTemplateErrors - Variable in class org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
 
mTemplateSourceFileInfo - Variable in class org.teatrove.tea.engine.TemplateSourceImpl
 
MULT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the multiplication operator: '*'
mUnit - Variable in class org.teatrove.tea.compiler.TypeChecker
 

N

Name - Class in org.teatrove.tea.parsetree
A Name just associates a String with a SourceInfo object.
Name(SourceInfo, String) - Constructor for class org.teatrove.tea.parsetree.Name
 
NE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the not equal operator: '!='
NegateExpression - Class in org.teatrove.tea.parsetree
NegateExpression is a simple unary expression that calculates the negative value of an expression.
NegateExpression(SourceInfo, Expression) - Constructor for class org.teatrove.tea.parsetree.NegateExpression
 
NewArrayExpression - Class in org.teatrove.tea.parsetree
An expression that evaluates to a new array or Map of values.
NewArrayExpression(SourceInfo, ExpressionList, boolean) - Constructor for class org.teatrove.tea.parsetree.NewArrayExpression
 
Node - Class in org.teatrove.tea.parsetree
The superclass of all parse tree nodes.
Node(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.Node
 
NodeVisitor - Interface in org.teatrove.tea.parsetree
A NodeVisitor enables operations to be performed on a parse tree.
NON_NULL_STRING_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type for representing non-null Strings, provided as a convenience
NoOpExpression - Class in org.teatrove.tea.parsetree
Standard no-op expression.
NoOpExpression(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.NoOpExpression
 
NOT - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the not keyword: 'not'
NotExpression - Class in org.teatrove.tea.parsetree
NotExpression is a simple unary expression that calculates the logical "not" value of an expression.
NotExpression(SourceInfo, Expression) - Constructor for class org.teatrove.tea.parsetree.NotExpression
 
NULL - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the null literal: 'null'
NULL_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type that is compatble with all other types
nullFormat(String) - Method in interface org.teatrove.tea.runtime.Context
A function that sets the formatted value of null object references.
nullFormat(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
NullLiteral - Class in org.teatrove.tea.parsetree
A Literal representing the null Object.
NullLiteral(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.NullLiteral
 
NullSafe - Interface in org.teatrove.tea.parsetree
 
NUMBER - Static variable in class org.teatrove.tea.compiler.Token
Token ID for a number literal.
numberFormat(String) - Method in interface org.teatrove.tea.runtime.Context
A function that sets the formatted value of numbers.
numberFormat(String, String, String) - Method in interface org.teatrove.tea.runtime.Context
A function that sets the formatted value of numbers.
numberFormat(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
numberFormat(String, String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
NumberLiteral - Class in org.teatrove.tea.parsetree
Base class for all Literals that have a numeric type.
NumberLiteral(SourceInfo, Number) - Constructor for class org.teatrove.tea.parsetree.NumberLiteral
 
NumberLiteral(SourceInfo, int) - Constructor for class org.teatrove.tea.parsetree.NumberLiteral
 
NumberLiteral(SourceInfo, float) - Constructor for class org.teatrove.tea.parsetree.NumberLiteral
 
NumberLiteral(SourceInfo, long) - Constructor for class org.teatrove.tea.parsetree.NumberLiteral
 
NumberLiteral(SourceInfo, double) - Constructor for class org.teatrove.tea.parsetree.NumberLiteral
 

O

OBJECT_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type that represents all objects, provided as a convenience
optimize() - Method in class org.teatrove.tea.compiler.BasicOptimizer
 
OR - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the or keyword: 'or'
ordinal(Long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
ordinal(long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
ordinal(Long) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that converts an integer to an ordinal value.
ordinal(long) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that converts an integer to an ordinal value.
OrExpression - Class in org.teatrove.tea.parsetree
OrExpression defines a logical "or" operation with short-circuit semantics.
OrExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.OrExpression
 
org.teatrove.tea - package org.teatrove.tea
 
org.teatrove.tea.compiler - package org.teatrove.tea.compiler
 
org.teatrove.tea.engine - package org.teatrove.tea.engine
 
org.teatrove.tea.io - package org.teatrove.tea.io
 
org.teatrove.tea.log - package org.teatrove.tea.log
 
org.teatrove.tea.parsetree - package org.teatrove.tea.parsetree
 
org.teatrove.tea.runtime - package org.teatrove.tea.runtime
 
org.teatrove.tea.util - package org.teatrove.tea.util
 
OutputReceiver - Interface in org.teatrove.tea.runtime
Defines a simple interface for Tea templates to output information.

P

PARAMETER_METHOD_NAME - Static variable in class org.teatrove.tea.compiler.JavaClassGenerator
 
ParenExpression - Class in org.teatrove.tea.parsetree
A ParenExpression is a thin wrapper around an Expression that was delimited by parenthesis in the source code.
ParenExpression(SourceInfo, Expression) - Constructor for class org.teatrove.tea.parsetree.ParenExpression
 
parse() - Method in class org.teatrove.tea.compiler.Parser
Returns a parse tree by its root node.
Parser - Class in org.teatrove.tea.compiler
A Parser creates the parse tree for a template by reading tokens emitted by a Scanner.
Parser(Scanner) - Constructor for class org.teatrove.tea.compiler.Parser
 
Parser(Scanner, CompilationUnit) - Constructor for class org.teatrove.tea.compiler.Parser
 
peek() - Method in class org.teatrove.tea.io.PushbackPositionReader
Deprecated.  
peekToken() - Method in class org.teatrove.tea.compiler.Scanner
Returns EOF as the last token.
PLUS - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the plus operator: '+'
PositionReader - Class in org.teatrove.tea.io
Deprecated. Moved to org.teatrove.trove.io package.
PositionReader(Reader) - Constructor for class org.teatrove.tea.io.PositionReader
Deprecated.  
prepend(StringBuilder, Object) - Method in class org.teatrove.tea.runtime.DefaultContext
 
prepend(StringBuilder, Object) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function to prepend a value to an existing buffer.
preserveParseTree(String) - Method in class org.teatrove.tea.compiler.Compiler
After a template is compiled, all but the root node of its parse tree is clipped, in order to save memory.
preserveType(Type, Type) - Static method in class org.teatrove.tea.compiler.Type
Preserve the current type's generic information with the specified new type if they have the same class.
print(Object) - Method in interface org.teatrove.tea.runtime.Context
Method that is the runtime receiver.
print(Date) - Method in interface org.teatrove.tea.runtime.Context
 
print(ReadableInstant) - Method in interface org.teatrove.tea.runtime.Context
 
print(Number) - Method in interface org.teatrove.tea.runtime.Context
 
print(int) - Method in interface org.teatrove.tea.runtime.Context
 
print(float) - Method in interface org.teatrove.tea.runtime.Context
 
print(long) - Method in interface org.teatrove.tea.runtime.Context
 
print(double) - Method in interface org.teatrove.tea.runtime.Context
 
print(Object) - Method in class org.teatrove.tea.runtime.DefaultContext
Method that is the runtime receiver.
print(Date) - Method in class org.teatrove.tea.runtime.DefaultContext
 
print(ReadableInstant) - Method in class org.teatrove.tea.runtime.DefaultContext
 
print(Number) - Method in class org.teatrove.tea.runtime.DefaultContext
 
print(int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
print(float) - Method in class org.teatrove.tea.runtime.DefaultContext
 
print(long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
print(double) - Method in class org.teatrove.tea.runtime.DefaultContext
 
print(Object) - Method in interface org.teatrove.tea.runtime.OutputReceiver
This method receives the output of a template.
print(Object) - Method in class org.teatrove.tea.util.TestCompiler.Context
 
printStackTrace() - Method in exception org.teatrove.tea.engine.ContextCreationException
 
printStackTrace(PrintStream) - Method in exception org.teatrove.tea.engine.ContextCreationException
 
printStackTrace(PrintWriter) - Method in exception org.teatrove.tea.engine.ContextCreationException
 
promote() - Method in class org.teatrove.tea.compiler.Scope
Returns variables to promote from this scope to a parent scope.
PushbackPositionReader - Class in org.teatrove.tea.io
Deprecated. Moved to org.teatrove.trove.io package.
PushbackPositionReader(Reader) - Constructor for class org.teatrove.tea.io.PushbackPositionReader
Deprecated.  
PushbackPositionReader(Reader, int) - Constructor for class org.teatrove.tea.io.PushbackPositionReader
Deprecated.  

Q

QUESTION - Static variable in class org.teatrove.tea.compiler.Token
Token ID for question mark: '?'

R

RBRACE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the right brace: '}'
RBRACK - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the right bracket: ']'
read() - Method in class org.teatrove.tea.io.LinePositionReader
Deprecated.  
read() - Method in class org.teatrove.tea.io.PushbackPositionReader
Deprecated.  
read() - Method in class org.teatrove.tea.io.SourceReader
Deprecated. All newline character patterns are are converted to \n.
read() - Method in class org.teatrove.tea.io.TagReader
Deprecated.  
read() - Method in class org.teatrove.tea.io.UnicodeReader
Deprecated.  
readLine() - Method in class org.teatrove.tea.io.LinePositionReader
Deprecated. After calling readLine, calling getLineNumber returns the next line number.
readToken() - Method in class org.teatrove.tea.compiler.Scanner
Returns EOF as the last token.
RelationalExpression - Class in org.teatrove.tea.parsetree
RelationalExpression defines seven operations, "==", "!=", "<", ">", "<=" ">=" and "isa".
RelationalExpression(SourceInfo, Token, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.RelationalExpression
 
RelationalExpression(SourceInfo, Token, Expression, TypeName) - Constructor for class org.teatrove.tea.parsetree.RelationalExpression
Used to construct an "isa" RelationalExpression.
ReloadLock - Class in org.teatrove.tea.engine
 
ReloadLock() - Constructor for class org.teatrove.tea.engine.ReloadLock
 
removeErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.Compiler
 
removeErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.Parser
 
removeErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.Scanner
 
removeErrorListener(ErrorListener) - Method in class org.teatrove.tea.compiler.TypeChecker
 
removeStatusListener(StatusListener) - Method in class org.teatrove.tea.compiler.Compiler
 
replace(String, String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
replace(String, String, String, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
replace(String, Map<K, V>) - Method in class org.teatrove.tea.runtime.DefaultContext
 
replace(String, String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Replaces all exact matches of the given pattern in the source string with the provided replacement.
replace(String, String, String, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Replaces all exact matches of the given pattern in the source string with the provided replacement, starting from the given index.
replace(String, Map<K, V>) - Method in interface org.teatrove.tea.runtime.UtilityContext
Applies string replacements using the pattern-replacement pairs provided by the given map (associative array).
replaceFirst(String, String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
replaceFirst(String, String, String, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
replaceFirst(String, String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Replaces the first exact match of the given pattern in the source string with the provided replacement.
replaceFirst(String, String, String, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Replaces the first exact match of the given pattern in the source string with the provided replacement, starting from the given index.
replaceLast(String, String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
replaceLast(String, String, String, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
replaceLast(String, String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Replaces the last exact match of the given pattern in the source string with the provided replacement.
replaceLast(String, String, String, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Replaces the last exact match of the given pattern in the source string with the provided replacement, starting from the given index.
REPOSITORY_FILENAME - Static variable in class org.teatrove.tea.compiler.TemplateRepository
 
resetOutputStream() - Method in class org.teatrove.tea.compiler.CompilationUnit
Reset the output stream cleaning up or removing any files created as part of the output stream.
resetOutputStream() - Method in class org.teatrove.tea.compiler.CompiledTemplate
Delegate to calling template.
resetOutputStream() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
resolvePropertyType() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
resolvePropertyType0() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
ResourceCompiler - Class in org.teatrove.tea.util
ResourceCompiler compiles tea sources using the resource loading mechanism built into Java.
ResourceCompiler(ClassInjector) - Constructor for class org.teatrove.tea.util.ResourceCompiler
 
ResourceCompiler(ClassInjector, String) - Constructor for class org.teatrove.tea.util.ResourceCompiler
 
Returnable - Interface in org.teatrove.tea.parsetree
 
ReturnStatement - Class in org.teatrove.tea.parsetree
A ReturnStatement allows the values of Expressions to be returned from an execution scope.
ReturnStatement(SourceInfo, Expression) - Constructor for class org.teatrove.tea.parsetree.ReturnStatement
 
ReturnStatement(Expression) - Constructor for class org.teatrove.tea.parsetree.ReturnStatement
Construct a ReturnStatement from just an expression and its SourceInfo.
ReturnStatement(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.ReturnStatement
Construct a ReturnStatement that returns void.
REVERSE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the reverse keyword: 'reverse'
RPAREN - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the right parenthesis: ')'

S

Scanner - Class in org.teatrove.tea.compiler
A Scanner breaks up a source file into its basic elements, called Tokens.
Scanner(SourceReader) - Constructor for class org.teatrove.tea.compiler.Scanner
 
Scanner(SourceReader, CompilationUnit) - Constructor for class org.teatrove.tea.compiler.Scanner
 
Scope - Class in org.teatrove.tea.compiler
A Scope encapsulates a set of declared variables and references to them.
Scope() - Constructor for class org.teatrove.tea.compiler.Scope
 
Scope(Scope) - Constructor for class org.teatrove.tea.compiler.Scope
 
SEMI - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the semi-colon: ';'
setAlreadyReloading(boolean) - Method in class org.teatrove.tea.engine.TemplateCompilationResults
 
setArrayElementType(Type) - Method in class org.teatrove.tea.compiler.Type
Accessed by the TypeChecker, to override the default.
setBody(Block) - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
setBound(boolean) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setCalledMethod(Method) - Method in class org.teatrove.tea.parsetree.FunctionCallExpression
 
setCalledTemplate(CompilationUnit) - Method in class org.teatrove.tea.parsetree.TemplateCallExpression
 
setClassLoader(ClassLoader) - Method in class org.teatrove.tea.compiler.Compiler
Sets the ClassLoader to use to load classes with.
setClassLoader(ClassLoader) - Method in class org.teatrove.tea.compiler.TypeChecker
Sets the ClassLoader to use to load classes with.
setCodeGenerationEnabled(boolean) - Method in class org.teatrove.tea.compiler.Compiler
By default, code generation is enabled.
setCondition(Expression) - Method in class org.teatrove.tea.parsetree.IfStatement
 
setCondition(Expression) - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
setConstrained(boolean) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setDestinationDirectory(File) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
allows a subclass to set directory to write the compiled templates this directory may be overridden if the ClassInjector passed into the compileTemplates() method points to a different location.
setDisplayName(String) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setElsePart(Block) - Method in class org.teatrove.tea.parsetree.IfStatement
 
setElsePart(Expression) - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
setEndPosition(int) - Method in class org.teatrove.tea.compiler.SourceInfo
 
setEndPosition(SourceInfo) - Method in class org.teatrove.tea.compiler.SourceInfo
 
setEndRange(Expression) - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
setEscapesEnabled(boolean) - Method in class org.teatrove.tea.io.EscapeReader
Deprecated. Enable or disable the processing of escapes.
setExceptionGuardianEnabled(boolean) - Method in class org.teatrove.tea.compiler.Compiler
 
setExceptionGuardianEnabled(boolean) - Method in class org.teatrove.tea.compiler.TypeChecker
Enabling Exception Guardian causes statements that might throw a exception to be guarded.
setExpert(boolean) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.CallExpression
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.ExpressionStatement
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.Lookup
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.NegateExpression
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.NotExpression
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.ParenExpression
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.ReturnStatement
 
setExpression(Expression) - Method in class org.teatrove.tea.parsetree.SpreadExpression
 
setExpressionList(ExpressionList) - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
setField(boolean) - Method in class org.teatrove.tea.parsetree.Variable
 
setFinalizer(Statement) - Method in class org.teatrove.tea.parsetree.Block
 
setForceCompile(boolean) - Method in class org.teatrove.tea.util.AbstractCompiler
 
setForceCompile(boolean) - Method in class org.teatrove.tea.util.FileCompiler
 
setGuarded(Statement) - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
setHidden(boolean) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setImports(String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
setInitializer(Statement) - Method in class org.teatrove.tea.parsetree.Block
 
setInitializer(Statement) - Method in class org.teatrove.tea.parsetree.CallExpression
 
setInitializer(Statement) - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
setInitialType(Type) - Method in class org.teatrove.tea.parsetree.Expression
Sets the intial type in the conversion chain, but does not clear the conversions.
setInitialType(Type) - Method in class org.teatrove.tea.parsetree.ParenExpression
 
setLeftExpression(Expression) - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
setLocale(Locale) - Method in interface org.teatrove.tea.runtime.Context
Setting the locale resets date and number formats to the default for that locale.
setLocale(String, String) - Method in interface org.teatrove.tea.runtime.Context
Setting the locale resets date and number formats to the default for that locale.
setLocale(String, String, String) - Method in interface org.teatrove.tea.runtime.Context
Setting the locale resets date and number formats to the default for that locale.
setLocale(Locale) - Method in class org.teatrove.tea.runtime.DefaultContext
 
setLocale(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
setLocale(String, String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
setLogCompileStatus(boolean) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
 
setLookupIndex(Expression) - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
setMergedVariables(Variable[]) - Method in class org.teatrove.tea.parsetree.IfStatement
 
setName(String) - Method in class org.teatrove.tea.parsetree.ImportDirective
 
setName(Name) - Method in class org.teatrove.tea.parsetree.Template
 
setName(String) - Method in class org.teatrove.tea.parsetree.Variable
 
setName(String) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setNullSafe(boolean) - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
setNullSafe(boolean) - Method in class org.teatrove.tea.parsetree.CallExpression
 
setNullSafe(boolean) - Method in class org.teatrove.tea.parsetree.Lookup
 
setNullSafe(boolean) - Method in interface org.teatrove.tea.parsetree.NullSafe
 
setNullSafe(boolean) - Method in class org.teatrove.tea.parsetree.ParenExpression
 
setNullSafe(boolean) - Method in class org.teatrove.tea.parsetree.VariableRef
 
setOperation(Expression) - Method in class org.teatrove.tea.parsetree.SpreadExpression
 
setParams(ExpressionList) - Method in class org.teatrove.tea.parsetree.CallExpression
 
setParams(Variable[]) - Method in class org.teatrove.tea.parsetree.Template
 
setParseTree(Template) - Method in class org.teatrove.tea.compiler.CompilationUnit
 
setParseTree(Template) - Method in class org.teatrove.tea.compiler.CompiledTemplate
 
setPreferred(boolean) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setProperty(String, Object) - Method in class org.teatrove.tea.parsetree.Template
 
setPropertyEditorClass(Class<?>) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setRange(Expression) - Method in class org.teatrove.tea.parsetree.ForeachStatement
 
setReadMethod(Method) - Method in class org.teatrove.tea.parsetree.ArrayLookup
 
setReadMethod(Method) - Method in class org.teatrove.tea.parsetree.Lookup
 
setReadMethod(Method) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setReadProperty(Field) - Method in class org.teatrove.tea.parsetree.Lookup
 
setReceiverMethod(Method) - Method in class org.teatrove.tea.parsetree.ExpressionStatement
 
setReloading(boolean) - Method in class org.teatrove.tea.engine.ReloadLock
 
setReplacement(Statement) - Method in class org.teatrove.tea.parsetree.ExceptionGuardStatement
 
setReturnType(Type) - Method in interface org.teatrove.tea.parsetree.Returnable
 
setReturnType(Type) - Method in class org.teatrove.tea.parsetree.Template
 
setRightExpression(Expression) - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
setRuntimeContext(Class<?>) - Method in class org.teatrove.tea.compiler.Compiler
Call to override the default runtime context class that a template is compiled to use.
setRValue(Expression) - Method in class org.teatrove.tea.parsetree.AssignmentStatement
 
setShortDescription(String) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setStatement(Statement) - Method in class org.teatrove.tea.parsetree.Template
 
setStatements(Statement[]) - Method in class org.teatrove.tea.parsetree.StatementList
 
setStatic(boolean) - Method in class org.teatrove.tea.parsetree.Variable
 
setSubstitutionParam(Block) - Method in class org.teatrove.tea.parsetree.CallExpression
 
setTarget(Name) - Method in class org.teatrove.tea.parsetree.CallExpression
 
setTemplateResources(String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
allows a subclass to set the resource paths directly rather than using init to parse the config.
setTemplateRootDirs(File[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
allows a subclass to directly specify the directories to be searched for template sources.
setTemplateSource(String, String) - Method in class org.teatrove.tea.util.StringCompiler
 
setTemplateStrings(String[]) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
allows a subclass to set the source strings directly rather than using init to parse the config.
setThenPart(Block) - Method in class org.teatrove.tea.parsetree.IfStatement
 
setThenPart(Expression) - Method in class org.teatrove.tea.parsetree.TernaryExpression
 
setTransient(boolean) - Method in class org.teatrove.tea.parsetree.Variable
 
setType(Type) - Method in class org.teatrove.tea.parsetree.BinaryExpression
 
setType(Type) - Method in class org.teatrove.tea.parsetree.BooleanLiteral
 
setType(Type) - Method in class org.teatrove.tea.parsetree.Expression
Sets the type of this expression, clearing the conversion chain.
setType(Type) - Method in class org.teatrove.tea.parsetree.NegateExpression
 
setType(Type) - Method in class org.teatrove.tea.parsetree.NewArrayExpression
 
setType(Type) - Method in class org.teatrove.tea.parsetree.NotExpression
 
setType(Type) - Method in class org.teatrove.tea.parsetree.NumberLiteral
 
setType(Type) - Method in class org.teatrove.tea.parsetree.ParenExpression
 
setType(Type) - Method in class org.teatrove.tea.parsetree.StringLiteral
 
setType(Type) - Method in class org.teatrove.tea.parsetree.TypeName
 
setType(Type) - Method in class org.teatrove.tea.parsetree.Variable
 
setTypeName(TypeName) - Method in class org.teatrove.tea.parsetree.TypeExpression
 
setValue(String, Object) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
setVariable(Variable) - Method in class org.teatrove.tea.parsetree.VariableRef
Setting the variable resets the VariableRef's initial type, but does not clear any type conversions.
setVoidPermitted(boolean) - Method in class org.teatrove.tea.parsetree.CallExpression
 
setWriteMethod(Method) - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
shortOrdinal(Long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
shortOrdinal(long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
shortOrdinal(Long) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that converts an integer to a short ordinal value.
shortOrdinal(long) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function that converts an integer to a short ordinal value.
shouldCompile() - Method in class org.teatrove.tea.compiler.CompilationUnit
 
shouldCompile() - Method in class org.teatrove.tea.compiler.CompiledTemplate
 
shouldCompile() - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
shouldCompile(long) - Method in class org.teatrove.tea.util.AbstractCompiler.AbstractUnit
 
signatureEquals(String, TypeDesc[], TypeDesc) - Method in class org.teatrove.tea.compiler.CompilationUnit
 
SimpleTeaEngine - Class in org.teatrove.tea.engine
 
SimpleTeaEngine() - Constructor for class org.teatrove.tea.engine.SimpleTeaEngine
 
skipForwardToLine(int) - Method in class org.teatrove.tea.io.LinePositionReader
Deprecated. Skips forward into the stream to the line number specified.
SLASH - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the forward slash: '/'
sort(Object[], String, boolean) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sort(Object[], String[], boolean[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sort(String[], boolean, boolean) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sort(Object[], boolean) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sort(Object[], String, boolean) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sort(Object[], String[], boolean[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sort(String[], boolean, boolean) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sort(Object[], boolean) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sortAscending - Variable in class org.teatrove.tea.runtime.DefaultContext.GenericComparator
 
sortAscending(Object[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sortAscending(int[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sortAscending(double[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sortAscending(float[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sortAscending(byte[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sortAscending(short[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sortAscending(long[]) - Method in class org.teatrove.tea.runtime.DefaultContext
 
sortAscending - Variable in class org.teatrove.tea.runtime.DefaultContext.StringComparator
 
sortAscending(Object[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sortAscending(int[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sortAscending(double[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sortAscending(float[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sortAscending(byte[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sortAscending(short[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
sortAscending(long[]) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
SourceDetailedInfo - Class in org.teatrove.tea.compiler
 
SourceDetailedInfo(int, int, int, int) - Constructor for class org.teatrove.tea.compiler.SourceDetailedInfo
 
SourceDetailedInfo(SourceInfo, int) - Constructor for class org.teatrove.tea.compiler.SourceDetailedInfo
 
sourceExists(String) - Method in class org.teatrove.tea.compiler.Compiler
 
sourceExists(String) - Method in class org.teatrove.tea.util.FileCompiler
 
sourceExists(String) - Method in class org.teatrove.tea.util.ResourceCompiler
 
sourceExists(String) - Method in class org.teatrove.tea.util.StringCompiler
 
SourceInfo - Class in org.teatrove.tea.compiler
Provides information on where an object (like a token) appeared in the the source file.
SourceInfo(int, int, int) - Constructor for class org.teatrove.tea.compiler.SourceInfo
 
SourceReader - Class in org.teatrove.tea.io
Deprecated. Moved to org.teatrove.trove.io package.
SourceReader(Reader, String, String) - Constructor for class org.teatrove.tea.io.SourceReader
Deprecated. The begin and end tags for a SourceReader are optional.
sourceSignatureChanged(String, Compiler) - Method in class org.teatrove.tea.engine.TemplateSourceImpl
parses the tea source file and compares the signature to the signature of the current class file in the TemplateRepository
SPACESHIP - Static variable in class org.teatrove.tea.compiler.Token
Token ID for spaceship (comparator) operator: '<=>'
split(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
split(String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
 
SPREAD - Static variable in class org.teatrove.tea.compiler.Token
Token ID for spread operator: *.
SpreadExpression - Class in org.teatrove.tea.parsetree
Expression that handles spread operators which is responsiblef or taking an expression as either a collection or array and generating a new collection or array by invoking another expression against each item in the collection.
SpreadExpression(SourceInfo, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.SpreadExpression
 
startsWith(String, String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
startsWith(String, String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Tests if the given string starts with the given prefix.
Statement - Class in org.teatrove.tea.parsetree
A Statement represents a stand-alone unit of code.
Statement(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.Statement
 
StatementList - Class in org.teatrove.tea.parsetree
A StatementList wraps a list of statements as if they were a single statement.
StatementList(SourceInfo, Statement[]) - Constructor for class org.teatrove.tea.parsetree.StatementList
 
StatusEvent - Class in org.teatrove.tea.compiler
 
StatusEvent(Object, int, int, String) - Constructor for class org.teatrove.tea.compiler.StatusEvent
 
StatusListener - Interface in org.teatrove.tea.compiler
The listener interface for receiving compilation status events.
statusUpdate(StatusEvent) - Method in interface org.teatrove.tea.compiler.StatusListener
 
statusUpdate(StatusEvent) - Method in class org.teatrove.tea.engine.TemplateSourceImpl.CompilerStatusLogger
 
STRING - Static variable in class org.teatrove.tea.compiler.Token
Token ID for a string literal.
STRING_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type for representing Strings, provided as a convenience
StringCompiler - Class in org.teatrove.tea.util
Simple compiler implementation that compiles a Tea template whose source is in a String.
StringCompiler(ClassInjector) - Constructor for class org.teatrove.tea.util.StringCompiler
 
StringCompiler(ClassInjector, String) - Constructor for class org.teatrove.tea.util.StringCompiler
 
StringLiteral - Class in org.teatrove.tea.parsetree
A StringLiteral is a constant string of characters, usually delimited by quotes in a source file.
StringLiteral(SourceInfo, String) - Constructor for class org.teatrove.tea.parsetree.StringLiteral
 
substitute() - Method in interface org.teatrove.tea.runtime.Substitution
Causes the code substitution block to execute against its current output receiver.
substitute(Context) - Method in interface org.teatrove.tea.runtime.Substitution
Causes the code substitution block to execute against any context.
Substitution - Interface in org.teatrove.tea.runtime
A block of code in a template that can be passed as a substitution to another template or to a function, must implement this interface.
SubstitutionId - Class in org.teatrove.tea.runtime
Object used by template substitutions to uniquely identify themselves.
SubstitutionId(Object, int) - Constructor for class org.teatrove.tea.runtime.SubstitutionId
 
SubstitutionStatement - Class in org.teatrove.tea.parsetree
SubstitutionStatement is represented as '...' in a template.
SubstitutionStatement(SourceInfo) - Constructor for class org.teatrove.tea.parsetree.SubstitutionStatement
 
substring(String, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
substring(String, int, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
substring(String, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Returns the trailing end of the given string, starting from the given index.
substring(String, int, int) - Method in interface org.teatrove.tea.runtime.UtilityContext
Returns a sub-portion of the given string for the characters that are at or after the starting index, and are before the end index.
syncTimes() - Method in class org.teatrove.tea.util.FileCompiler.JarredUnit
 

T

TagReader - Class in org.teatrove.tea.io
Deprecated. Moved to org.teatrove.trove.io package.
TagReader(Reader, String[], int[]) - Constructor for class org.teatrove.tea.io.TagReader
Deprecated.  
TeaEngineConfig - Interface in org.teatrove.tea.engine
 
TeaExecutionEngine - Interface in org.teatrove.tea.engine
Implementations of this interface will provide a simplified means of using tea in other programs.
TeaLog - Class in org.teatrove.tea.log
The TeaLog class extends a regular log.
TeaLog(Log) - Constructor for class org.teatrove.tea.log.TeaLog
 
TeaLog.TeaStackTraceLine - Class in org.teatrove.tea.log
The TeaStackTraceLine class contains the values of a stack trace line.
TeaLog.TeaStackTraceLine(String, Integer, String) - Constructor for class org.teatrove.tea.log.TeaLog.TeaStackTraceLine
 
TeaLogEvent - Class in org.teatrove.tea.log
The TeaLogEvent class works with the TeaLog and the TeaLogListener to simplify stack traces for Tea templates.
TeaLogEvent(Log, int, TeaLog.TeaStackTraceLine[]) - Constructor for class org.teatrove.tea.log.TeaLogEvent
 
TeaLogListener - Interface in org.teatrove.tea.log
The TeaLogListener works with the TeaLog class to simplify stack traces for Tea templates.
TEMPLATE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the template keyword: 'template'
Template - Interface in org.teatrove.tea.engine
While Templates already have access to the loader that loaded them, this interface enables them to gain access to their TemplateSource.
Template - Class in org.teatrove.tea.parsetree
Template is the main container node for Tea templates.
Template() - Constructor for class org.teatrove.tea.parsetree.Template
 
Template(SourceInfo, Name, Variable[], boolean, Statement, List<Directive>) - Constructor for class org.teatrove.tea.parsetree.Template
 
TEMPLATE_PACKAGE - Static variable in class org.teatrove.tea.compiler.TemplateCallExtractor
 
TemplateCallExpression - Class in org.teatrove.tea.parsetree
A CallExpression to a template is specified in a template with the "call" keyword.
TemplateCallExpression(SourceInfo, Expression, Name, ExpressionList, Block) - Constructor for class org.teatrove.tea.parsetree.TemplateCallExpression
 
TemplateCallExtractor - Class in org.teatrove.tea.compiler
 
TemplateCallExtractor() - Constructor for class org.teatrove.tea.compiler.TemplateCallExtractor
 
TemplateCallExtractor.AppMethodInfo - Class in org.teatrove.tea.compiler
 
TemplateCallExtractor.AppMethodInfo(String, TypeDesc[]) - Constructor for class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
TemplateCallExtractor.AppMethodInfo(String, String) - Constructor for class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
TemplateCallExtractor.AppMethodInfo(String) - Constructor for class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
TemplateCallExtractor.AppMethodInfo(Method) - Constructor for class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
TemplateCompilationResults - Class in org.teatrove.tea.engine
 
TemplateCompilationResults(Set<String>, Map<String, List<TemplateError>>) - Constructor for class org.teatrove.tea.engine.TemplateCompilationResults
 
TemplateCompilationResults() - Constructor for class org.teatrove.tea.engine.TemplateCompilationResults
 
TemplateError - Class in org.teatrove.tea.engine
 
TemplateError() - Constructor for class org.teatrove.tea.engine.TemplateError
 
TemplateError(String, Date, String, String, String, String, String, int, int, int, int, int, int) - Constructor for class org.teatrove.tea.engine.TemplateError
 
TemplateError(String) - Constructor for class org.teatrove.tea.engine.TemplateError
 
TemplateErrorListener - Interface in org.teatrove.tea.engine
 
TemplateLoader - Class in org.teatrove.tea.runtime
TemplateLoader manages the loading and execution of Tea templates.
TemplateLoader() - Constructor for class org.teatrove.tea.runtime.TemplateLoader
Creates a TemplateLoader that uses the current ClassLoader as a base.
TemplateLoader(String) - Constructor for class org.teatrove.tea.runtime.TemplateLoader
Creates a TemplateLoader that uses the current ClassLoader as a base.
TemplateLoader(ClassLoader, String) - Constructor for class org.teatrove.tea.runtime.TemplateLoader
Creates a TemplateLoader that uses the given ClassLoader as a base.
TemplateLoader.Template - Interface in org.teatrove.tea.runtime
A ready-to-use Tea template.
TemplateRepository - Class in org.teatrove.tea.compiler
 
TemplateRepository.TemplateInfo - Class in org.teatrove.tea.compiler
Template metadata container object.
TemplateSource - Interface in org.teatrove.tea.engine
Implementations are responsible for providing compiled templates to an ApplicationDepot.
TemplateSourceConfig - Interface in org.teatrove.tea.engine
 
TemplateSourceImpl - Class in org.teatrove.tea.engine
This class should be created using the TemplateSourceFactory
TemplateSourceImpl() - Constructor for class org.teatrove.tea.engine.TemplateSourceImpl
 
TemplateSourceImpl.CompilerStatusLogger - Class in org.teatrove.tea.engine
 
TemplateSourceImpl.CompilerStatusLogger(String) - Constructor for class org.teatrove.tea.engine.TemplateSourceImpl.CompilerStatusLogger
 
TemplateSourceImpl.ErrorRetriever - Class in org.teatrove.tea.engine
 
TemplateSourceImpl.ErrorRetriever() - Constructor for class org.teatrove.tea.engine.TemplateSourceImpl.ErrorRetriever
 
TemplateSourceImpl.Results - Class in org.teatrove.tea.engine
 
TemplateSourceImpl.Results(TemplateCompilationResults, TemplateLoader, Date, Set<String>, Map<String, Template>) - Constructor for class org.teatrove.tea.engine.TemplateSourceImpl.Results
 
TemplateSourceImpl.TemplateSourceFileInfo - Class in org.teatrove.tea.engine
 
TemplateSourceImpl.TemplateSourceFileInfo(String, File, long) - Constructor for class org.teatrove.tea.engine.TemplateSourceImpl.TemplateSourceFileInfo
 
TernaryExpression - Class in org.teatrove.tea.parsetree
 
TernaryExpression(SourceInfo, Expression, Expression, Expression) - Constructor for class org.teatrove.tea.parsetree.TernaryExpression
 
TestCompiler - Class in org.teatrove.tea.util
A compiler implementation suitable for testing from a command console.
TestCompiler(File, String, File) - Constructor for class org.teatrove.tea.util.TestCompiler
 
TestCompiler.Context - Class in org.teatrove.tea.util
 
TestCompiler.Context(PrintStream) - Constructor for class org.teatrove.tea.util.TestCompiler.Context
 
toByte(Number) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toDouble(Number) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toFloat(Number) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toInteger(Number) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toInteger(Boolean) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toInteger(Character) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toInteger(String) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
Token - Class in org.teatrove.tea.compiler
A Token represents the smallest whole element of a source file.
Token(SourceInfo, int) - Constructor for class org.teatrove.tea.compiler.Token
 
toLong(Number) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toLowerCase(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toLowerCase(String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Converts all the characters in the given string to lowercase.
toNonNull() - Method in class org.teatrove.tea.compiler.Type
Returns this type converted such that it cannot reference null.
toNonPrimitive() - Method in class org.teatrove.tea.compiler.Type
Returns a new type from this one that represents a non-primitive type.
toNullable() - Method in class org.teatrove.tea.compiler.Type
Returns this type converted such that it can reference null.
toPrimitive() - Method in class org.teatrove.tea.compiler.Type
Returns a new type from this one that represents a primitive type.
toShort(Number) - Static method in class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
toString() - Method in class org.teatrove.tea.compiler.Scope
 
toString() - Method in class org.teatrove.tea.compiler.SourceInfo
 
toString() - Method in class org.teatrove.tea.compiler.TemplateCallExtractor.AppMethodInfo
 
toString() - Method in class org.teatrove.tea.compiler.TemplateRepository.TemplateInfo
Returns a String in 'PropertyMap' format.
toString() - Method in class org.teatrove.tea.compiler.Token
 
toString(Node) - Static method in class org.teatrove.tea.compiler.TreePrinter
Converts any node to a String.
toString(Node, String) - Static method in class org.teatrove.tea.compiler.TreePrinter
Converts any node to a String.
toString() - Method in class org.teatrove.tea.compiler.Type
 
toString() - Method in class org.teatrove.tea.compiler.TypeChecker.GenericArrayTypeImpl
 
toString() - Method in class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
toString() - Method in class org.teatrove.tea.log.TeaLog.TeaStackTraceLine
 
toString() - Method in class org.teatrove.tea.parsetree.Expression.Conversion
 
toString() - Method in class org.teatrove.tea.parsetree.Node
Returns a String that contains the type of this Node and source information.
toString() - Method in class org.teatrove.tea.parsetree.Variable
 
toString(Object) - Method in interface org.teatrove.tea.runtime.Context
A function that converts an object to a string, applying any applicable formatting settings.
toString(String) - Method in interface org.teatrove.tea.runtime.Context
A function that converts a string to the null format string if it is null.
toString(Date) - Method in interface org.teatrove.tea.runtime.Context
A function that converts a date to a string, using the current datetime format.
toString(ReadableInstant) - Method in interface org.teatrove.tea.runtime.Context
A function that converts an instant in time to a string, using the current datetime format.
toString(Number) - Method in interface org.teatrove.tea.runtime.Context
A function that converts a number to a string, using the current number format.
toString(int) - Method in interface org.teatrove.tea.runtime.Context
A function that converts a number to a string, using the current number format.
toString(float) - Method in interface org.teatrove.tea.runtime.Context
A function that converts a number to a string, using the current number format.
toString(long) - Method in interface org.teatrove.tea.runtime.Context
A function that converts a number to a string, using the current number format.
toString(double) - Method in interface org.teatrove.tea.runtime.Context
A function that converts a number to a string, using the current number format.
toString(Object) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(Date) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(ReadableInstant) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(Number) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(float) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(long) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(double) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString(StringBuilder) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toString() - Method in class org.teatrove.tea.runtime.SubstitutionId
 
toString() - Method in interface org.teatrove.tea.runtime.TemplateLoader.Template
Returns the template signature.
toString(StringBuilder) - Method in interface org.teatrove.tea.runtime.UtilityContext
A function to convert the buffer into a standard string.
toString() - Method in class org.teatrove.tea.util.GenericPropertyDescriptor
 
toUpperCase(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
toUpperCase(String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Converts all the characters in the given string to uppercase.
TreeMutator - Class in org.teatrove.tea.parsetree
TreeMutator is similar to TreeWalker in that it traverses a parse tree in canonocal order, and only a few visit methods should be overridden.
TreeMutator() - Constructor for class org.teatrove.tea.parsetree.TreeMutator
 
TreePrinter - Class in org.teatrove.tea.compiler
A class that prints a parse tree.
TreePrinter(Template) - Constructor for class org.teatrove.tea.compiler.TreePrinter
 
TreePrinter(Template, String) - Constructor for class org.teatrove.tea.compiler.TreePrinter
 
TreePrinter(Template, boolean) - Constructor for class org.teatrove.tea.compiler.TreePrinter
 
TreePrinter(Template, String, boolean) - Constructor for class org.teatrove.tea.compiler.TreePrinter
 
TreeWalker - Class in org.teatrove.tea.parsetree
A TreeWalker traverses a parse tree in its canonical order.
TreeWalker() - Constructor for class org.teatrove.tea.parsetree.TreeWalker
 
trim(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
trim(String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Trims all leading and trailing whitespace characters from the given string.
trimLeading(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
trimLeading(String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Trims all leading whitespace characters from the given string.
trimTrailing(String) - Method in class org.teatrove.tea.runtime.DefaultContext
 
trimTrailing(String) - Method in interface org.teatrove.tea.runtime.UtilityContext
Trims all trailing whitespace characters from the given string.
TRUE - Static variable in class org.teatrove.tea.compiler.Token
Token ID for the true literal: 'true'
Truthful - Interface in org.teatrove.tea.runtime
 
Type - Class in org.teatrove.tea.compiler
Immutable representation of an expression's type.
Type(Class<?>) - Constructor for class org.teatrove.tea.compiler.Type
 
Type(Class<?>, Type) - Constructor for class org.teatrove.tea.compiler.Type
 
Type(GenericType) - Constructor for class org.teatrove.tea.compiler.Type
 
Type(Class<?>, TypedElement) - Constructor for class org.teatrove.tea.compiler.Type
 
Type(Class<?>, Type, TypedElement) - Constructor for class org.teatrove.tea.compiler.Type
 
Type(GenericType, TypedElement) - Constructor for class org.teatrove.tea.compiler.Type
 
typeCheck() - Method in class org.teatrove.tea.compiler.TypeChecker
 
typeCheck(TypeChecker.Visitor) - Method in class org.teatrove.tea.compiler.TypeChecker
 
TypeChecker - Class in org.teatrove.tea.compiler
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.
TypeChecker(CompilationUnit) - Constructor for class org.teatrove.tea.compiler.TypeChecker
 
TypeChecker.GenericArrayTypeImpl - Class in org.teatrove.tea.compiler
 
TypeChecker.GenericArrayTypeImpl(Type) - Constructor for class org.teatrove.tea.compiler.TypeChecker.GenericArrayTypeImpl
 
TypeChecker.ParameterizedTypeImpl - Class in org.teatrove.tea.compiler
 
TypeChecker.ParameterizedTypeImpl(Type, Type[]) - Constructor for class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
TypeChecker.ParameterizedTypeImpl(Type, Type, Type[]) - Constructor for class org.teatrove.tea.compiler.TypeChecker.ParameterizedTypeImpl
 
TypeChecker.Visitor - Class in org.teatrove.tea.compiler
 
TypeChecker.Visitor() - Constructor for class org.teatrove.tea.compiler.TypeChecker.Visitor
 
TypedElement - Annotation Type in org.teatrove.tea
Specifies a contained element type for values returned by "getter" bean methods referenced in Tea templates.
TypeExpression - Class in org.teatrove.tea.parsetree
 
TypeExpression(SourceInfo, TypeName) - Constructor for class org.teatrove.tea.parsetree.TypeExpression
 
TypeName - Class in org.teatrove.tea.parsetree
 
TypeName(SourceInfo, String) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, String, TypeName[]) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, String, int) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, String, TypeName[], int) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, Name) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, Name, TypeName[]) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, Name, int) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, Name, TypeName[], int) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, Type) - Constructor for class org.teatrove.tea.parsetree.TypeName
 
TypeName(SourceInfo, TypeName[], Type) - Constructor for class org.teatrove.tea.parsetree.TypeName
 

U

UnicodeReader - Class in org.teatrove.tea.io
Deprecated. Moved to org.teatrove.trove.io package.
UnicodeReader(Reader) - Constructor for class org.teatrove.tea.io.UnicodeReader
Deprecated. A UnicodeReader needs an underlying source Reader.
UNKNOWN - Static variable in class org.teatrove.tea.compiler.Token
Token ID for an unknown token.
unread(int) - Method in class org.teatrove.tea.io.PushbackPositionReader
Deprecated. Unread the last several characters read.
unread() - Method in class org.teatrove.tea.io.PushbackPositionReader
Deprecated. Unread the last character read.
unreadHook(int) - Method in class org.teatrove.tea.io.PushbackPositionReader
Deprecated. A hook call from the unread method(s).
unreadHook(int) - Method in class org.teatrove.tea.io.SourceReader
Deprecated.  
unreadToken(Token) - Method in class org.teatrove.tea.compiler.Scanner
 
update(String[]) - Method in class org.teatrove.tea.compiler.TemplateRepository
Synchronize the repository state with respect to the named template class file(s).
UtilityContext - Interface in org.teatrove.tea.runtime
Extends the basic context to provide generic utility functions that most templates will need to use for formatting.

V

Variable - Class in org.teatrove.tea.parsetree
A Variable represents a variable declaration.
Variable(SourceInfo, String, TypeName) - Constructor for class org.teatrove.tea.parsetree.Variable
Used for variable declarations.
Variable(SourceInfo, String, TypeName, boolean) - Constructor for class org.teatrove.tea.parsetree.Variable
 
Variable(SourceInfo, String, Type) - Constructor for class org.teatrove.tea.parsetree.Variable
Used when creating variables whose type has already been checked.
Variable(SourceInfo, String, Type, boolean) - Constructor for class org.teatrove.tea.parsetree.Variable
 
VariableRef - Class in org.teatrove.tea.parsetree
VariableRef is used to reference declared Variables.
VariableRef(SourceInfo, String) - Constructor for class org.teatrove.tea.parsetree.VariableRef
 
visit(Template) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Name) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(TypeName) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Variable) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ExpressionList) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Directive) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ImportDirective) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Statement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(StatementList) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Block) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(AssignmentStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(BreakStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ContinueStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ForeachStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(IfStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(SubstitutionStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ExpressionStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ReturnStatement) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Expression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ParenExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(NewArrayExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(FunctionCallExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(TemplateCallExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(VariableRef) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Lookup) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ArrayLookup) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(NegateExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(NotExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ConcatenateExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(ArithmeticExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(RelationalExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(AndExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(OrExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(TernaryExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(CompareExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(NoOpExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(TypeExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(SpreadExpression) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(NullLiteral) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(BooleanLiteral) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(StringLiteral) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(NumberLiteral) - Method in class org.teatrove.tea.compiler.TypeChecker.Visitor
 
visit(Template) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(Name) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(TypeName) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(Variable) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ExpressionList) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(Statement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(StatementList) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(Block) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(AssignmentStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ForeachStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(IfStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(SubstitutionStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ExpressionStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ReturnStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ExceptionGuardStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(BreakStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ContinueStatement) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(Expression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ParenExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(NewArrayExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(FunctionCallExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(TemplateCallExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(VariableRef) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(Lookup) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ArrayLookup) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(NegateExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(NotExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ConcatenateExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ArithmeticExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(RelationalExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(AndExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(OrExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(TernaryExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(CompareExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(NoOpExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(SpreadExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(TypeExpression) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(NullLiteral) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(BooleanLiteral) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(StringLiteral) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(NumberLiteral) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(ImportDirective) - Method in interface org.teatrove.tea.parsetree.NodeVisitor
 
visit(Template) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(Name) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(TypeName) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(Variable) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ExpressionList) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(Statement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ImportDirective) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(StatementList) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(Block) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(AssignmentStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(BreakStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ContinueStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ForeachStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(IfStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(SubstitutionStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ExpressionStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ReturnStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ExceptionGuardStatement) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(Expression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ParenExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(NewArrayExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(FunctionCallExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(TemplateCallExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(VariableRef) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(Lookup) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ArrayLookup) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(NegateExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(NotExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ConcatenateExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(ArithmeticExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(RelationalExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(AndExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(OrExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(TernaryExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(CompareExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(NoOpExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(SpreadExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(TypeExpression) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(NullLiteral) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(BooleanLiteral) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(StringLiteral) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(NumberLiteral) - Method in class org.teatrove.tea.parsetree.TreeMutator
 
visit(Template) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(Name) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(TypeName) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(Variable) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ExpressionList) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(Statement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ImportDirective) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(StatementList) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(Block) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(AssignmentStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(BreakStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ContinueStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ForeachStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(IfStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(SubstitutionStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ExpressionStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ReturnStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ExceptionGuardStatement) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(Expression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ParenExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(NewArrayExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(FunctionCallExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(TemplateCallExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(VariableRef) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(Lookup) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ArrayLookup) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(NegateExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(NotExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ConcatenateExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(ArithmeticExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(RelationalExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(AndExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(OrExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(TernaryExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(CompareExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(NoOpExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(TypeExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(SpreadExpression) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(NullLiteral) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(BooleanLiteral) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(StringLiteral) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visit(NumberLiteral) - Method in class org.teatrove.tea.parsetree.TreeWalker
 
visitBlock(Block) - Method in class org.teatrove.tea.parsetree.TreeMutator
Visit a Block to ensure that new Statement is a Block.
visitExpression(Expression) - Method in class org.teatrove.tea.parsetree.TreeMutator
All expressions pass through this method to ensure the expression's type is preserved.
VOID_TYPE - Static variable in class org.teatrove.tea.compiler.Type
Type that represents void, provided as a convenience

W

warn(Throwable) - Method in class org.teatrove.tea.log.TeaLog
 
WrapperTypeConversionUtil - Class in org.teatrove.tea.runtime
 
WrapperTypeConversionUtil() - Constructor for class org.teatrove.tea.runtime.WrapperTypeConversionUtil
 
write(int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
write(char[], int, int) - Method in class org.teatrove.tea.runtime.DefaultContext
 
write(int) - Method in interface org.teatrove.tea.runtime.OutputReceiver
 
write(char[]) - Method in interface org.teatrove.tea.runtime.OutputReceiver
 
write(char[], int, int) - Method in interface org.teatrove.tea.runtime.OutputReceiver
 
write(String) - Method in interface org.teatrove.tea.runtime.OutputReceiver
 
write(String, int, int) - Method in interface org.teatrove.tea.runtime.OutputReceiver
 
writeTo(OutputStream) - Method in class org.teatrove.tea.compiler.CodeGenerator
 
writeTo(OutputStream) - Method in class org.teatrove.tea.compiler.JavaClassGenerator
 
writeTo(OutputStream) - Method in class org.teatrove.tea.compiler.TreePrinter
 

A B C D E F G H I J K L M N O P Q R S T U V W

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