|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Expression | |
|---|---|
| org.teatrove.tea.compiler | |
| org.teatrove.tea.parsetree | |
| Uses of Expression in org.teatrove.tea.compiler |
|---|
| Methods in org.teatrove.tea.compiler that return Expression | |
|---|---|
protected Expression |
TypeChecker.Visitor.checkForTypeExpression(Expression expr)
|
| Methods in org.teatrove.tea.compiler with parameters of type Expression | |
|---|---|
protected Expression |
TypeChecker.Visitor.checkForTypeExpression(Expression expr)
|
Object |
TypeChecker.Visitor.visit(Expression node)
|
| Uses of Expression in org.teatrove.tea.parsetree |
|---|
| Subclasses of Expression in org.teatrove.tea.parsetree | |
|---|---|
class |
AndExpression
AndExpression defines a logical "and" operation with short-circuit semantics. |
class |
ArithmeticExpression
ArithmeticExpression defines addition, subtraction, multiplication, division or remainder operations. |
class |
ArrayLookup
An ArrayLookup can access indexed properties on objects. |
class |
BinaryExpression
A BinaryExpression contains a left expression, a right expression and an operator. |
class |
BinaryLogicalExpression
|
class |
BooleanLiteral
BooleanLiterals can only have one of two values, true or false. |
class |
CallExpression
|
class |
CompareExpression
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. |
class |
ConcatenateExpression
A ConcatenateExpression takes two Expressions, converts their values to strings and returns a new string with the concatenated result. |
class |
FunctionCallExpression
A CallExpression to a function. |
class |
Literal
A literal is an expression that has a constant value. |
class |
Lookup
A Lookup can access properties on objects. |
class |
NegateExpression
NegateExpression is a simple unary expression that calculates the negative value of an expression. |
class |
NewArrayExpression
An expression that evaluates to a new array or Map of values. |
class |
NoOpExpression
Standard no-op expression. |
class |
NotExpression
NotExpression is a simple unary expression that calculates the logical "not" value of an expression. |
class |
NullLiteral
A Literal representing the null Object. |
class |
NumberLiteral
Base class for all Literals that have a numeric type. |
class |
OrExpression
OrExpression defines a logical "or" operation with short-circuit semantics. |
class |
ParenExpression
A ParenExpression is a thin wrapper around an Expression that was delimited by parenthesis in the source code. |
class |
RelationalExpression
RelationalExpression defines seven operations, "==", "!=", "<", ">", "<=" ">=" and "isa". |
class |
SpreadExpression
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. |
class |
StringLiteral
A StringLiteral is a constant string of characters, usually delimited by quotes in a source file. |
class |
TemplateCallExpression
A CallExpression to a template is specified in a template with the "call" keyword. |
class |
TernaryExpression
|
class |
TypeExpression
|
class |
VariableRef
VariableRef is used to reference declared Variables. |
| Methods in org.teatrove.tea.parsetree that return Expression | |
|---|---|
Expression |
IfStatement.getCondition()
|
Expression |
TernaryExpression.getCondition()
|
Expression |
TernaryExpression.getElsePart()
|
Expression |
ForeachStatement.getEndRange()
Returns null if this foreach statement iterates over an array/collection instead of an integer range of values. |
Expression |
ArrayLookup.getExpression()
|
Expression |
CallExpression.getExpression()
|
Expression |
ExpressionStatement.getExpression()
|
Expression |
Lookup.getExpression()
|
Expression |
NegateExpression.getExpression()
|
Expression |
NotExpression.getExpression()
|
Expression |
ParenExpression.getExpression()
|
Expression |
ReturnStatement.getExpression()
Returns the expression to return or null if void is returned. |
Expression |
SpreadExpression.getExpression()
|
Expression[] |
ExpressionList.getExpressions()
|
Expression |
BinaryExpression.getLeftExpression()
|
Expression |
ArrayLookup.getLookupIndex()
|
Expression |
SpreadExpression.getOperation()
|
Expression |
ForeachStatement.getRange()
|
Expression |
BinaryExpression.getRightExpression()
|
Expression |
RelationalExpression.getRightExpression()
|
Expression |
AssignmentStatement.getRValue()
|
Expression |
TernaryExpression.getThenPart()
|
protected Expression |
TreeMutator.visitExpression(Expression expr)
All expressions pass through this method to ensure the expression's type is preserved. |
| Methods in org.teatrove.tea.parsetree with parameters of type Expression | |
|---|---|
void |
IfStatement.setCondition(Expression condition)
|
void |
TernaryExpression.setCondition(Expression condition)
|
void |
TernaryExpression.setElsePart(Expression elsePart)
|
void |
ForeachStatement.setEndRange(Expression endRange)
|
void |
ArrayLookup.setExpression(Expression expr)
|
void |
CallExpression.setExpression(Expression expression)
|
void |
ExpressionStatement.setExpression(Expression expr)
|
void |
Lookup.setExpression(Expression expr)
|
void |
NegateExpression.setExpression(Expression expr)
|
void |
NotExpression.setExpression(Expression expr)
|
void |
ParenExpression.setExpression(Expression expr)
|
void |
ReturnStatement.setExpression(Expression expr)
|
void |
SpreadExpression.setExpression(Expression expr)
|
void |
BinaryExpression.setLeftExpression(Expression left)
|
void |
ArrayLookup.setLookupIndex(Expression lookupIndex)
|
void |
SpreadExpression.setOperation(Expression operation)
|
void |
ForeachStatement.setRange(Expression range)
|
void |
BinaryExpression.setRightExpression(Expression right)
|
void |
AssignmentStatement.setRValue(Expression rvalue)
|
void |
TernaryExpression.setThenPart(Expression thenPart)
|
Object |
NodeVisitor.visit(Expression node)
|
Object |
TreeMutator.visit(Expression node)
|
Object |
TreeWalker.visit(Expression node)
|
protected Expression |
TreeMutator.visitExpression(Expression expr)
All expressions pass through this method to ensure the expression's type is preserved. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||