Uses of Class
org.apache.velocity.runtime.parser.node.SimpleNode
-
-
Uses of SimpleNode in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that return SimpleNode Modifier and Type Method Description SimpleNodeRuntimeInstance. parse(Reader reader, Template template)Parse the input and return the root of AST node structure.SimpleNodeRuntimeServices. parse(Reader reader, Template template)Parse the input and return the root of AST node structure.static SimpleNodeRuntimeSingleton. parse(Reader reader, Template template)Parse the input and return the root of AST node structure.Methods in org.apache.velocity.runtime with parameters of type SimpleNode Modifier and Type Method Description booleanRuntimeInstance. 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
Methods in org.apache.velocity.runtime.directive with parameters of type SimpleNode Modifier and Type Method Description voidVelocimacroProxy. setNodeTree(SimpleNode tree) -
Uses of SimpleNode in org.apache.velocity.runtime.parser
Methods in org.apache.velocity.runtime.parser that return SimpleNode Modifier and Type Method Description SimpleNodeParser. parse(Reader reader, Template template)SimpleNodeStandardParser. parse(Reader reader, Template t)This was also added to allow parsers to be re-usable.SimpleNodeStandardParser. process()This method is what starts the whole parsing process.Methods in org.apache.velocity.runtime.parser with parameters of type SimpleNode Modifier and Type Method Description voidLogContext. pushLogContext(SimpleNode src, Info info) -
Uses of SimpleNode in org.apache.velocity.runtime.parser.node
Subclasses of SimpleNode in org.apache.velocity.runtime.parser.node Modifier and Type Class Description classASTAddNodeHandles number addition of nodes.
Please look at the Parser.jjt file which is what controls the generation of this class.classASTAndNodePlease look at the Parser.jjt file which is what controls the generation of this class.classASTAssignmentclassASTBinaryOperatorclassASTBlockclassASTCommentRepresents all comments...classASTComparisonNodeNumeric comparison supportclassASTDirectiveThis class is responsible for handling the pluggable directives in VTL.classASTDirectiveAssignclassASTDivNodeHandles number division of nodes
Please look at the Parser.jjt file which is what controls the generation of this class.classASTElseIfStatementThis class is responsible for handling the ElseIf VTL control statement.classASTElseStatementThis class is responsible for handling the Else VTL control statement.classASTEQNodeHandlesarg1 == arg2This operator requires that the LHS and RHS are both of the same Class, both numbers or both coerce-able to strings.classASTEscapeThis class is responsible for handling Escapes in VTL.classASTEscapedDirectiveThis class is responsible for handling EscapedDirectives in VTL.classASTExpressionclassASTFalseclassASTFloatingPointLiteralHandles floating point numbers.classASTGENodeHandles arg1 >= arg2classASTGTNodeHandles arg1 > arg2classASTIdentifierASTIdentifier.java Method support for identifiers : $foo mainly used by ASTReference Introspection is now moved to 'just in time' or at render / execution time.classASTIfStatementPlease look at the Parser.jjt file which is what controls the generation of this class.classASTIncludeStatementclassASTIndexThis node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]classASTIntegerLiteralHandles integer numbers.classASTIntegerRangehandles the range 'operator' [ n ..classASTLENodeHandles arg1 <= arg2classASTLogicalOperatorclassASTLTNodeHandles arg1 < arg2classASTMapAST Node for creating a map / dictionary.classASTMathNodeHelps handle math
Please look at the Parser.jjt file which is what controls the generation of this class.classASTMethodASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.classASTModNodeHandles modulus division
Please look at the Parser.jjt file which is what controls the generation of this class.classASTMulNodeHandles multiplication
Please look at the Parser.jjt file which is what controls the generation of this class.classASTNegateNodeclassASTNENodeHandlesarg1 != arg2by negating evaluation of ASTEQNodeclassASTNotNodeclassASTObjectArrayclassASTOrNodePlease look at the Parser.jjt file which is what controls the generation of this class.classASTParametersclassASTprocessclassASTReferenceThis class is responsible for handling the references in VTL ($foo).classASTSetDirectiveNode for the #set directiveclassASTStringLiteralASTStringLiteral support.classASTSubtractNodeHandles subtraction of nodes (in #set() )
Please look at the Parser.jjt file which is what controls the generation of this class.classASTTextclassASTTextblockThis node holds the "Textblock" data which should not be interpreted by Velocity.classASTTrueclassASTVariableclassASTWordMethods in org.apache.velocity.runtime.parser.node with parameters of type SimpleNode Modifier and Type Method Description static ObjectASTIndex. adjMinusIndexArg(Object argument, Object o, InternalContextAdapter context, SimpleNode node)If argument is an Integer and negative, then return (o.size() - argument).ObjectStandardParserDefaultVisitor. defaultVisit(SimpleNode node, Object data)static voidNodeUtils. fixIndentation(SimpleNode parent, String parentIndentation)Fix children indentation in structured space gobbling mode.ObjectIndentationFixer. visit(SimpleNode node, Object data)ObjectStandardParserDefaultVisitor. visit(SimpleNode node, Object data)ObjectStandardParserVisitor. 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 SimpleNode Modifier and Type Method Description ObjectBaseVisitor. visit(SimpleNode node, Object data)ObjectNodeViewMode. visit(SimpleNode node, Object data) -
Uses of SimpleNode in org.apache.velocity.util
Methods in org.apache.velocity.util with parameters of type SimpleNode Modifier and Type Method Description static 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.
-