Uses of Class
org.apache.velocity.runtime.parser.node.SimpleNode
Packages that use SimpleNode
Package
Description
-
Uses of SimpleNode in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that return SimpleNodeModifier and TypeMethodDescriptionParse the input and return the root of AST node structure.Parse the input and return the root of AST node structure.static SimpleNode
Parse the input and return the root of AST node structure.Methods in org.apache.velocity.runtime with parameters of type SimpleNodeModifier and TypeMethodDescriptionboolean
RuntimeInstance.render
(Context context, Writer writer, String logTag, SimpleNode nodeTree) Initializes and renders the ASTSimpleNode
using the context into the output writer. -
Uses of SimpleNode in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive with parameters of type SimpleNode -
Uses of SimpleNode in org.apache.velocity.runtime.parser
Methods in org.apache.velocity.runtime.parser that return SimpleNodeModifier and TypeMethodDescriptionThis was also added to allow parsers to be re-usable.final SimpleNode
StandardParser.process()
This method is what starts the whole parsing process.Methods in org.apache.velocity.runtime.parser with parameters of type SimpleNode -
Uses of SimpleNode in org.apache.velocity.runtime.parser.node
Subclasses of SimpleNode in org.apache.velocity.runtime.parser.nodeModifier and TypeClassDescriptionclass
Handles number addition of nodes.
Please look at the Parser.jjt file which is what controls the generation of this class.class
Please look at the Parser.jjt file which is what controls the generation of this class.class
class
class
class
Represents all comments...class
Numeric comparison supportclass
This class is responsible for handling the pluggable directives in VTL.class
class
Handles number division of nodes
Please look at the Parser.jjt file which is what controls the generation of this class.class
This class is responsible for handling the ElseIf VTL control statement.class
This class is responsible for handling the Else VTL control statement.class
Handlesarg1 == arg2
This operator requires that the LHS and RHS are both of the same Class, both numbers or both coerce-able to strings.class
This class is responsible for handling Escapes in VTL.class
This class is responsible for handling EscapedDirectives in VTL.class
class
class
Handles floating point numbers.class
Handles arg1 >= arg2class
Handles arg1 > arg2class
ASTIdentifier.java Method support for identifiers : $foo mainly used by ASTReference Introspection is now moved to 'just in time' or at render / execution time.class
Please look at the Parser.jjt file which is what controls the generation of this class.class
class
This node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]class
Handles integer numbers.class
handles the range 'operator' [ n ..class
Handles arg1 <= arg2class
class
Handles arg1 < arg2class
AST Node for creating a map / dictionary.class
Helps handle math
Please look at the Parser.jjt file which is what controls the generation of this class.class
ASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.class
Handles modulus division
Please look at the Parser.jjt file which is what controls the generation of this class.class
Handles multiplication
Please look at the Parser.jjt file which is what controls the generation of this class.class
class
Handlesarg1 != arg2
by negating evaluation of ASTEQNodeclass
class
class
Please look at the Parser.jjt file which is what controls the generation of this class.class
class
class
This class is responsible for handling the references in VTL ($foo).class
Node for the #set directiveclass
ASTStringLiteral support.class
Handles subtraction of nodes (in #set() )
Please look at the Parser.jjt file which is what controls the generation of this class.class
class
This node holds the "Textblock" data which should not be interpreted by Velocity.class
class
class
Methods in org.apache.velocity.runtime.parser.node with parameters of type SimpleNodeModifier and TypeMethodDescriptionstatic Object
ASTIndex.adjMinusIndexArg
(Object argument, Object o, InternalContextAdapter context, SimpleNode node) If argument is an Integer and negative, then return (o.size() - argument).StandardParserDefaultVisitor.defaultVisit
(SimpleNode node, Object data) static void
NodeUtils.fixIndentation
(SimpleNode parent, String parentIndentation) Fix children indentation in structured space gobbling mode.IndentationFixer.visit
(SimpleNode node, Object data) StandardParserDefaultVisitor.visit
(SimpleNode node, Object data) StandardParserVisitor.visit
(SimpleNode node, Object data) -
Uses of SimpleNode in org.apache.velocity.runtime.visitor
Methods in org.apache.velocity.runtime.visitor with parameters of type SimpleNodeModifier and TypeMethodDescriptionBaseVisitor.visit
(SimpleNode node, Object data) NodeViewMode.visit
(SimpleNode node, Object data) -
Uses of SimpleNode in org.apache.velocity.util
Methods in org.apache.velocity.util with parameters of type SimpleNodeModifier and TypeMethodDescriptionstatic VelMethod
ClassUtils.getMethod
(String methodName, Object[] params, Class<?>[] paramClasses, Object o, InternalContextAdapter context, SimpleNode node, boolean strictRef) Lookup a VelMethod object given the method signature that is specified in the passed in parameters.