Package com.go.tea.parsetree

Interface Summary
Logical An interface that marks an expression as performing a boolean logic operation.
NodeVisitor A NodeVisitor enables operations to be performed on a parse tree.
 

Class Summary
AndExpression AndExpression defines a logical "and" operation with short-circuit semantics.
ArithmeticExpression ArithmeticExpression defines addition, subtraction, multiplication, division or remainder operations.
ArrayLookup An ArrayLookup can access indexed properties on objects.
AssignmentStatement AssignmentStatements can only assign values to variables, and not to array elements.
BinaryExpression A BinaryExpression contains a left expression, a right expression and an operator.
BinaryLogicalExpression  
Block A Block is a StatementList that most likely appeared in the source file delimited by braces.
BooleanLiteral BooleanLiterals can only have one of two values, true or false.
BreakStatement  
CallExpression  
ConcatenateExpression A ConcatenateExpression takes two Expressions, converts their values to strings and returns a new string with the concatenated result.
ExceptionGuardStatement A statement that catches instances of Exception, calls ThreadGroup.uncaughtException, and moves on.
Expression An Expression is a piece of code that, when executed, produces a value.
Expression.Conversion  
ExpressionList An ExpressionList wraps a list of expressions that may appear in a call statement or new array expression.
ExpressionStatement An ExpressionStatement allows an Expression to be converted to a Statement.
ForeachStatement 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.
FunctionCallExpression A CallExpression to a function.
IfStatement An IfStatement consists of a condition, a "then" part and an "else" part.
Literal A literal is an expression that has a constant value.
Lookup A Lookup can access properties on objects.
Name A Name just associates a String with a SourceInfo object.
NegateExpression NegateExpression is a simple unary expression that calculates the negative value of an expression.
NewArrayExpression An expression that evaluates to a new array or Map of values.
Node The superclass of all parse tree nodes.
NotExpression NotExpression is a simple unary expression that calculates the logical "not" value of an expression.
NullLiteral A Literal representing the null Object.
NumberLiteral Base class for all Literals that have a numeric type.
OrExpression OrExpression defines a logical "or" operation with short-circuit semantics.
ParenExpression A ParenExpression is a thin wrapper around an Expression that was delimited by parenthesis in the source code.
RelationalExpression RelationalExpression defines seven operations, "==", "!=", "<", ">", "<=" ">=" and "isa".
ReturnStatement A ReturnStatement allows the values of Expressions to be returned from an execution scope.
Statement A Statement represents a stand-alone unit of code.
StatementList A StatementList wraps a list of statements as if they were a single statement.
StringLiteral A StringLiteral is a constant string of characters, usually delimited by quotes in a source file.
SubstitutionStatement SubstitutionStatement is represented as '...' in a template.
Template Template is the main container node for Tea templates.
TemplateCallExpression A CallExpression to a template is specified in a template with the "call" keyword.
TreeMutator TreeMutator is similar to TreeWalker in that it traverses a parse tree in canonocal order, and only a few visit methods should be overridden.
TreeWalker A TreeWalker traverses a parse tree in its canonical order.
TypeName  
Variable A Variable represents a variable declaration.
VariableRef VariableRef is used to reference declared Variables.