Uses of Class
com.google.auto.value.processor.escapevelocity.Node
-
Packages that use Node Package Description com.google.auto.value.processor.escapevelocity -
-
Uses of Node in com.google.auto.value.processor.escapevelocity
Subclasses of Node in com.google.auto.value.processor.escapevelocity Modifier and Type Class Description (package private) classConstantExpressionNodeA node in the parse tree representing a constant value.(package private) classDirectiveNodeA node in the parse tree that is a directive such as#set ($x = $y)or#if ($x) y #end.(package private) static classDirectiveNode.ForEachNodeA node in the parse tree representing a#foreachconstruct.(package private) static classDirectiveNode.IfNodeA node in the parse tree representing an#ifconstruct.(package private) static classDirectiveNode.MacroCallNodeA node in the parse tree representing a macro call.(package private) static classDirectiveNode.SetNodeA node in the parse tree representing a#setconstruct.(package private) classExpressionNodeA node in the parse tree representing an expression.(package private) static classExpressionNode.BinaryExpressionNodeRepresents all binary expressions.(package private) static classExpressionNode.NotExpressionNodeA node in the parse tree representing an expression like!$a.private static classNode.Cons(package private) classReferenceNodeA node in the parse tree that is a reference.(package private) static classReferenceNode.IndexReferenceNodeA node in the parse tree that is an indexing of a reference, like$x[0]or$x.foo[$i].(package private) static classReferenceNode.MemberReferenceNodeA node in the parse tree that is a reference to a property of another reference, like$x.fooor$x[$i].foo.(package private) static classReferenceNode.MethodReferenceNodeA node in the parse tree representing a method reference, like$list.size().(package private) static classReferenceNode.PlainReferenceNodeA node in the parse tree that is a plain reference such as$x.(package private) classTokenNodeA 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 classTokenNode.CommentTokenNodeA node in the parse tree representing a comment.(package private) static classTokenNode.ElseIfTokenNode(package private) static classTokenNode.ElseTokenNode(package private) static classTokenNode.EndTokenNode(package private) static classTokenNode.EofNodeA synthetic node that represents the end of the input.(package private) static classTokenNode.ForEachTokenNode(package private) static classTokenNode.IfOrElseIfTokenNode(package private) static classTokenNode.IfTokenNode(package private) static classTokenNode.MacroDefinitionTokenNode(package private) static classTokenNode.NestedTokenNodeFields in com.google.auto.value.processor.escapevelocity declared as Node Modifier and Type Field Description private NodeDirectiveNode.ForEachNode. bodyprivate NodeMacro. bodyprivate NodeDirectiveNode.SetNode. expressionprivate NodeDirectiveNode.IfNode. falsePartprivate NodeTemplate. rootprivate NodeDirectiveNode.IfNode. truePartFields in com.google.auto.value.processor.escapevelocity with type parameters of type Node Modifier and Type Field Description private com.google.common.collect.ImmutableList<Node>Node.Cons. nodesprivate com.google.common.collect.ImmutableList<Node>Reparser. nodesThe nodes that make up the input sequence.(package private) com.google.common.collect.ImmutableList<Node>TokenNode.NestedTokenNode. nodesprivate java.util.Map<java.lang.String,Node>Macro.MacroEvaluationContext. parameterThunksprivate com.google.common.collect.ImmutableList<Node>DirectiveNode.MacroCallNode. thunksMethods in com.google.auto.value.processor.escapevelocity that return Node Modifier and Type Method Description (package private) static NodeNode. cons(java.lang.String resourceName, int lineNumber, com.google.common.collect.ImmutableList<Node> nodes)Create a new parse tree node that is the concatenation of the given ones.private NodeReparser. currentNode()(package private) static NodeNode. emptyNode(java.lang.String resourceName, int lineNumber)Returns an empty node in the parse tree.private NodeReparser. nextNode()private NodeParser. parseBlockComment()Parses and discards a block comment, which is#*followed by everything up to and including the next*#.private NodeParser. parseDirective()Parses a single directive token from the reader.private NodeParser. parseForEach()Parses a#foreachtoken from the reader.private NodeReparser. parseForEach(TokenNode.ForEachTokenNode forEach)private NodeParser. parseHashSquare()private NodeParser. parseIfOrElseIf(java.lang.String directive)Parses the condition following#ifor#elseif.private NodeReparser. parseIfOrElseIf(TokenNode.IfOrElseIfTokenNode ifOrElseIf)private NodeParser. parseLineComment()Parses and discards a line comment, which is##followed by any number of characters up to and including the next newline.private NodeParser. parseMacroDefinition()Parses a#macrotoken from the reader.private NodeReparser. parseMacroDefinition(TokenNode.MacroDefinitionTokenNode macroDefinition)private NodeReparser. parseNested(TokenNode.NestedTokenNode nested)private NodeParser. parseNode()Parses a single node from the reader, as part of the first parsing phase.private NodeParser. parseNonDirective()Parses a single non-directive node from the reader.private NodeParser. parseParse()Parses a#parsetoken from the reader.private NodeParser. parsePlainText(int firstChar)Parses plain text, which is text that contains neither$nor#.private NodeParser. parsePlainText(java.lang.StringBuilder sb)private NodeParser. parsePossibleMacroCall(java.lang.String directive)Parses an identifier after#that is not one of the standard directives.private NodeParser. parseReference()Parses a reference, which is everything that can start with a$.private NodeParser. parseSet()Parses a#settoken from the reader.private NodeReparser. parseTo(java.util.Set<java.lang.Class<? extends TokenNode>> stopSet, TokenNode forWhat)Parse subtrees until one of the token types instopSetis encountered.private NodeReparser. parseTokenNode()private NodeReparser. reparseNodes()Methods in com.google.auto.value.processor.escapevelocity that return types with arguments of type Node Modifier and Type Method Description private 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 Node Modifier and Type Method Description private static booleanReparser. isWhitespaceLiteral(Node node)private static booleanReparser. shouldDeleteSpaceBetweenThisAndSet(Node node)Method parameters in com.google.auto.value.processor.escapevelocity with type arguments of type Node Modifier and Type Method Description (package private) static NodeNode. cons(java.lang.String resourceName, int lineNumber, com.google.common.collect.ImmutableList<Node> nodes)Create a new parse tree node that is the concatenation of the given ones.(package private) java.lang.ObjectMacro. evaluate(EvaluationContext context, java.util.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 Node Constructor Description ForEachNode(java.lang.String resourceName, int lineNumber, java.lang.String var, ExpressionNode in, Node body)IfNode(java.lang.String resourceName, int lineNumber, ExpressionNode condition, Node trueNode, Node falseNode)Macro(int definitionLineNumber, java.lang.String name, java.util.List<java.lang.String> parameterNames, Node body)SetNode(java.lang.String var, Node expression)Template(Node root)Constructor parameters in com.google.auto.value.processor.escapevelocity with type arguments of type Node Constructor Description Cons(java.lang.String resourceName, int lineNumber, com.google.common.collect.ImmutableList<Node> nodes)MacroCallNode(java.lang.String resourceName, int lineNumber, java.lang.String name, com.google.common.collect.ImmutableList<Node> argumentNodes)MacroEvaluationContext(java.util.Map<java.lang.String,Node> parameterThunks, EvaluationContext originalEvaluationContext)NestedTokenNode(java.lang.String resourceName, com.google.common.collect.ImmutableList<Node> nodes)Reparser(com.google.common.collect.ImmutableList<Node> nodes)Reparser(com.google.common.collect.ImmutableList<Node> nodes, java.util.Map<java.lang.String,Macro> macros)
-