Uses of Class
com.google.auto.value.processor.escapevelocity.Node
Packages that use Node
-
Uses of Node in com.google.auto.value.processor.escapevelocity
Subclasses of Node in com.google.auto.value.processor.escapevelocityModifier and TypeClassDescription(package private) class
A node in the parse tree representing a constant value.(package private) class
A node in the parse tree that is a directive such as#set ($x = $y)
or#if ($x) y #end
.(package private) static class
A node in the parse tree representing a#foreach
construct.(package private) static class
A node in the parse tree representing an#if
construct.(package private) static class
A node in the parse tree representing a macro call.(package private) static class
A node in the parse tree representing a#set
construct.(package private) class
A node in the parse tree representing an expression.(package private) static class
Represents all binary expressions.(package private) static class
A node in the parse tree representing an expression like!$a
.private static final class
(package private) class
A node in the parse tree that is a reference.(package private) static class
A node in the parse tree that is an indexing of a reference, like$x[0]
or$x.foo[$i]
.(package private) static class
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
A node in the parse tree representing a method reference, like$list.size()
.(package private) static class
A node in the parse tree that is a plain reference such as$x
.(package private) class
A parsing node that will be deleted during the construction of the parse tree, to be replaced by a higher-level construct such asDirectiveNode.IfNode
.(package private) static class
A node in the parse tree representing a comment.(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
A synthetic node that represents the end of the input.(package private) static final class
(package private) static class
(package private) static final class
(package private) static final class
(package private) static final class
Fields in com.google.auto.value.processor.escapevelocity declared as NodeModifier and TypeFieldDescriptionprivate final Node
DirectiveNode.ForEachNode.body
private final Node
Macro.body
private final Node
DirectiveNode.SetNode.expression
private final Node
DirectiveNode.IfNode.falsePart
private final Node
Template.root
private final Node
DirectiveNode.IfNode.truePart
Fields in com.google.auto.value.processor.escapevelocity with type parameters of type NodeModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableList
<Node> Node.Cons.nodes
private final com.google.common.collect.ImmutableList
<Node> Reparser.nodes
The nodes that make up the input sequence.(package private) final com.google.common.collect.ImmutableList
<Node> TokenNode.NestedTokenNode.nodes
Macro.MacroEvaluationContext.parameterThunks
private final com.google.common.collect.ImmutableList
<Node> DirectiveNode.MacroCallNode.thunks
Methods in com.google.auto.value.processor.escapevelocity that return NodeModifier and TypeMethodDescription(package private) static Node
Create a new parse tree node that is the concatenation of the given ones.private Node
Reparser.currentNode()
(package private) static Node
Returns an empty node in the parse tree.private Node
Reparser.nextNode()
private Node
Parser.parseBlockComment()
Parses and discards a block comment, which is#*
followed by everything up to and including the next*#
.private Node
Parser.parseDirective()
Parses a single directive token from the reader.private Node
Parser.parseForEach()
Parses a#foreach
token from the reader.private Node
Reparser.parseForEach
(TokenNode.ForEachTokenNode forEach) private Node
Parser.parseHashSquare()
private Node
Parser.parseIfOrElseIf
(String directive) Parses the condition following#if
or#elseif
.private Node
Reparser.parseIfOrElseIf
(TokenNode.IfOrElseIfTokenNode ifOrElseIf) private Node
Parser.parseLineComment()
Parses and discards a line comment, which is##
followed by any number of characters up to and including the next newline.private Node
Parser.parseMacroDefinition()
Parses a#macro
token from the reader.private Node
Reparser.parseMacroDefinition
(TokenNode.MacroDefinitionTokenNode macroDefinition) private Node
Reparser.parseNested
(TokenNode.NestedTokenNode nested) private Node
Parser.parseNode()
Parses a single node from the reader, as part of the first parsing phase.private Node
Parser.parseNonDirective()
Parses a single non-directive node from the reader.private Node
Parser.parseParse()
Parses a#parse
token from the reader.private Node
Parser.parsePlainText
(int firstChar) Parses plain text, which is text that contains neither$
nor#
.private Node
Parser.parsePlainText
(StringBuilder sb) private Node
Parser.parsePossibleMacroCall
(String directive) Parses an identifier after#
that is not one of the standard directives.private Node
Parser.parseReference()
Parses a reference, which is everything that can start with a$
.private Node
Parser.parseSet()
Parses a#set
token from the reader.private Node
Parse subtrees until one of the token types instopSet
is encountered.private Node
Reparser.parseTokenNode()
private Node
Reparser.reparseNodes()
Methods in com.google.auto.value.processor.escapevelocity that return types with arguments of type NodeModifier and TypeMethodDescriptionprivate com.google.common.collect.ImmutableList
<Node> Parser.parseTokens()
private static com.google.common.collect.ImmutableList
<Node> Reparser.removeSpaceBeforeSet
(com.google.common.collect.ImmutableList<Node> nodes) Returns a copy of the given list where spaces have been moved where appropriate after#set
.Methods in com.google.auto.value.processor.escapevelocity with parameters of type NodeModifier and TypeMethodDescriptionprivate static boolean
Reparser.isWhitespaceLiteral
(Node node) private static boolean
Reparser.shouldDeleteSpaceBetweenThisAndSet
(Node node) Method parameters in com.google.auto.value.processor.escapevelocity with type arguments of type NodeModifier and TypeMethodDescription(package private) static Node
Create a new parse tree node that is the concatenation of the given ones.(package private) Object
Macro.evaluate
(EvaluationContext context, List<Node> thunks) private static com.google.common.collect.ImmutableList
<Node> Reparser.removeSpaceBeforeSet
(com.google.common.collect.ImmutableList<Node> nodes) Returns a copy of the given list where spaces have been moved where appropriate after#set
.Constructors in com.google.auto.value.processor.escapevelocity with parameters of type NodeModifierConstructorDescription(package private)
ForEachNode
(String resourceName, int lineNumber, String var, ExpressionNode in, Node body) (package private)
IfNode
(String resourceName, int lineNumber, ExpressionNode condition, Node trueNode, Node falseNode) (package private)
(package private)
(package private)
Constructor parameters in com.google.auto.value.processor.escapevelocity with type arguments of type NodeModifierConstructorDescription(package private)
(package private)
MacroCallNode
(String resourceName, int lineNumber, String name, com.google.common.collect.ImmutableList<Node> argumentNodes) (package private)
MacroEvaluationContext
(Map<String, Node> parameterThunks, EvaluationContext originalEvaluationContext) (package private)
NestedTokenNode
(String resourceName, com.google.common.collect.ImmutableList<Node> nodes) (package private)
private