Package | Description |
---|---|
com.google.auto.value.processor.escapevelocity |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ConstantExpressionNode
A node in the parse tree representing a constant value.
|
(package private) static class |
ExpressionNode.BinaryExpressionNode
Represents all binary expressions.
|
(package private) static class |
ExpressionNode.NotExpressionNode
A node in the parse tree representing an expression like
!$a . |
(package private) class |
ReferenceNode
A node in the parse tree that is a reference.
|
(package private) static class |
ReferenceNode.IndexReferenceNode
A node in the parse tree that is an indexing of a reference, like
$x[0] or
$x.foo[$i] . |
(package private) static class |
ReferenceNode.MemberReferenceNode
A node in the parse tree that is a reference to a property of another reference, like
$x.foo or $x[$i].foo . |
(package private) static class |
ReferenceNode.MethodReferenceNode
A node in the parse tree representing a method reference, like
$list.size() . |
(package private) static class |
ReferenceNode.PlainReferenceNode
A node in the parse tree that is a plain reference such as
$x . |
Modifier and Type | Field and Description |
---|---|
(package private) ExpressionNode |
TokenNode.ForEachTokenNode.collection |
private ExpressionNode |
DirectiveNode.ForEachNode.collection |
(package private) ExpressionNode |
TokenNode.IfOrElseIfTokenNode.condition |
private ExpressionNode |
DirectiveNode.IfNode.condition |
private ExpressionNode |
ExpressionNode.NotExpressionNode.expr |
(package private) ExpressionNode |
ReferenceNode.IndexReferenceNode.index |
(package private) ExpressionNode |
ExpressionNode.BinaryExpressionNode.lhs |
(package private) ExpressionNode |
ExpressionNode.BinaryExpressionNode.rhs |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<ExpressionNode> |
ReferenceNode.MethodReferenceNode.args |
Modifier and Type | Method and Description |
---|---|
(package private) ExpressionNode |
Parser.OperatorParser.parse(ExpressionNode lhs,
int minPrecedence)
Parse a subexpression whose left-hand side is
lhs and where we only consider
operators with precedence at least minPrecedence . |
private ExpressionNode |
Parser.parseBooleanLiteral()
Parses a boolean literal, either
true or false . |
private ExpressionNode |
Parser.parseExpression()
Parses an expression, which can occur within a directive like
#if or #set ,
or within a reference like $x[$a + $b] or $x.m($a + $b) . |
private ExpressionNode |
Parser.parseIntLiteral(java.lang.String prefix) |
private ExpressionNode |
Parser.parsePrimary()
Parses an expression containing only literals or references.
|
private ExpressionNode |
Parser.parseStringLiteral() |
private ExpressionNode |
Parser.parseUnaryExpression()
Parses an expression not containing any operators (except inside parentheses).
|
Modifier and Type | Method and Description |
---|---|
(package private) ExpressionNode |
Parser.OperatorParser.parse(ExpressionNode lhs,
int minPrecedence)
Parse a subexpression whose left-hand side is
lhs and where we only consider
operators with precedence at least minPrecedence . |
Constructor and Description |
---|
BinaryExpressionNode(ExpressionNode lhs,
Parser.Operator op,
ExpressionNode rhs) |
ElseIfTokenNode(ExpressionNode condition) |
ForEachNode(int lineNumber,
java.lang.String var,
ExpressionNode in,
Node body) |
ForEachTokenNode(java.lang.String var,
ExpressionNode collection) |
IfNode(int lineNumber,
ExpressionNode condition,
Node trueNode,
Node falseNode) |
IfOrElseIfTokenNode(ExpressionNode condition) |
IfTokenNode(ExpressionNode condition) |
IndexReferenceNode(ReferenceNode lhs,
ExpressionNode index) |
NotExpressionNode(ExpressionNode expr) |
Constructor and Description |
---|
MethodReferenceNode(ReferenceNode lhs,
java.lang.String id,
java.util.List<ExpressionNode> args) |