Uses of Class
org.apache.velocity.runtime.parser.node.SimpleNode
Packages that use SimpleNode
Package
Description
-
Uses of SimpleNode in org.apache.velocity.runtime
Fields in org.apache.velocity.runtime declared as SimpleNodeMethods in org.apache.velocity.runtime that return SimpleNodeModifier and TypeMethodDescriptionVelocimacroManager.MacroEntry.getNodeTree()Returns the node tree for this macro.static SimpleNodeDeprecated.Parse the input and return the root of AST node structure.static SimpleNodeDeprecated.Parse the input and return the root of the AST node structure.Parse the input and return the root of AST node structure.Parse the input and return the root of the AST node structure.Parse the input and return the root of AST node structure.Parse the input and return the root of AST node structure.Parse the input and return the root of the AST node structure.Wraps the String in a StringReader and passes it off toRuntimeServices.parse(Reader,String).static SimpleNodeParse the input and return the root of AST node structure.static SimpleNodeParse the input and return the root of the AST node structure.Methods in org.apache.velocity.runtime with parameters of type SimpleNodeModifier and TypeMethodDescriptionbooleanRuntimeInstance.render(Context context, Writer writer, String logTag, SimpleNode nodeTree) Initializes and renders the ASTSimpleNodeusing the context into the output writer. -
Uses of SimpleNode in org.apache.velocity.runtime.directive
Fields in org.apache.velocity.runtime.directive declared as SimpleNodeMethods 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 TypeMethodDescriptionfinal SimpleNodeParser.Directive()Supports the Pluggable Directives #foo( arg+ )This was also added to allow parsers to be re-usable.final SimpleNodeParser.process()This method is what starts the whole parsing process. -
Uses of SimpleNode in org.apache.velocity.runtime.parser.node
Subclasses of SimpleNode in org.apache.velocity.runtime.parser.nodeModifier and TypeClassDescriptionclassHandles number addition of nodes.
Please look at the Parser.jjt file which is what controls the generation of this class.classPlease look at the Parser.jjt file which is what controls the generation of this class.classclassclassRepresents all comments...classThis class is responsible for handling the pluggable directives in VTL.classHandles number division of nodes
Please look at the Parser.jjt file which is what controls the generation of this class.classThis class is responsible for handling the ElseIf VTL control statement.classThis class is responsible for handling the Else VTL control statement.classHandlesarg1 == arg2This operator requires that the LHS and RHS are both of the same Class OR both are subclasses of java.lang.NumberclassThis class is responsible for handling Escapes in VTL.classThis class is responsible for handling EscapedDirectives in VTL.classclassclassHandles floating point numbers.classHandles arg1 >= arg2
Only subclasses of Number can be compared.
Please look at the Parser.jjt file which is what controls the generation of this class.classHandles arg1 > arg2
Only subclasses of Number can be compared.
Please look at the Parser.jjt file which is what controls the generation of this class.classASTIdentifier.java Method support for identifiers : $foo mainly used by ASTRefrence Introspection is now moved to 'just in time' or at render / execution time.classclassclassThis node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]classHandles integer numbers.classhandles the range 'operator' [ n ..classHandles arg1 <= arg2
Only subclasses of Number can be compared.
Please look at the Parser.jjt file which is what controls the generation of this class.classHandles arg1 < arg2
Only subclasses of Number can be compared.
Please look at the Parser.jjt file which is what controls the generation of this class.classAST Node for creating a map / dictionary.classHelps handle math
Please look at the Parser.jjt file which is what controls the generation of this class.classASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.classHandles modulus division
Please look at the Parser.jjt file which is what controls the generation of this class.classHandles multiplication
Please look at the Parser.jjt file which is what controls the generation of this class.classHandlesarg1 != arg2This operator requires that the LHS and RHS are both of the same Class OR both are subclasses of java.lang.NumberclassclassclassPlease look at the Parser.jjt file which is what controls the generation of this class.classclassclassThis class is responsible for handling the references in VTL ($foo).classNode for the #set directiveclassASTStringLiteral support.classHandles subtraction of nodes (in #set() )
Please look at the Parser.jjt file which is what controls the generation of this class.classclassThis node holds the "Textblock" data which should not be interpreted by Velocity.classclassclassFields in org.apache.velocity.runtime.parser.node declared as SimpleNodeMethods in org.apache.velocity.runtime.parser.node with parameters of type SimpleNodeModifier and TypeMethodDescriptionstatic ObjectASTIndex.adjMinusIndexArg(Object argument, Object o, InternalContextAdapter context, SimpleNode node) If argument is an Integer and negative, then return (o.size() - argument).ParserVisitor.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 VelMethodClassUtils.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.