| Modifier and Type | Method and Description | 
|---|---|
| static SimpleNode | RuntimeSingleton. parse(Reader reader,
     Template template)Parse the input and return the root of
 AST node structure. | 
| SimpleNode | RuntimeServices. parse(Reader reader,
     Template template)Parse the input and return the root of
 AST node structure. | 
| SimpleNode | RuntimeInstance. parse(Reader reader,
     Template template)Parse the input and return the root of
 AST node structure. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | RuntimeInstance. render(Context context,
      Writer writer,
      String logTag,
      SimpleNode nodeTree)Initializes and renders the AST  SimpleNodeusing the context
 into the output writer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | VelocimacroProxy. setNodeTree(SimpleNode tree) | 
| Modifier and Type | Method and Description | 
|---|---|
| SimpleNode | Parser. parse(Reader reader,
     Template template)This was also added to allow parsers to be
 re-usable. | 
| SimpleNode | Parser. process()This method is what starts the whole parsing
 process. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ASTAddNodeHandles number addition of nodes. Please look at the Parser.jjt file which is what controls the generation of this class. | 
| class  | ASTAndNodePlease look at the Parser.jjt file which is
 what controls the generation of this class. | 
| class  | ASTAssignment | 
| class  | ASTBinaryOperator | 
| class  | ASTBlock | 
| class  | ASTCommentRepresents all comments... | 
| class  | ASTComparisonNodeNumeric comparison support | 
| class  | ASTDirectiveThis class is responsible for handling the pluggable
 directives in VTL. | 
| class  | ASTDirectiveAssign | 
| class  | ASTDivNodeHandles number division of nodes Please look at the Parser.jjt file which is what controls the generation of this class. | 
| class  | ASTElseIfStatementThis class is responsible for handling the ElseIf VTL control statement. | 
| class  | ASTElseStatementThis class is responsible for handling the Else VTL control statement. | 
| class  | ASTEQNodeHandles  arg1 == arg2This operator requires that the LHS and RHS are both of the
  same Class, both numbers or both coerce-able to strings. | 
| class  | ASTEscapeThis class is responsible for handling Escapes
  in VTL. | 
| class  | ASTEscapedDirectiveThis class is responsible for handling EscapedDirectives
  in VTL. | 
| class  | ASTExpression | 
| class  | ASTFalse | 
| class  | ASTFloatingPointLiteralHandles floating point numbers. | 
| class  | ASTGENodeHandles arg1 >= arg2 | 
| class  | ASTGTNodeHandles arg1 > arg2 | 
| class  | ASTIdentifierASTIdentifier.java
  Method support for identifiers :  $foo
  mainly used by ASTReference
  Introspection is now moved to 'just in time' or at render / execution
  time. | 
| class  | ASTIfStatement | 
| class  | ASTIncludeStatement | 
| class  | ASTIndexThis node is responsible for the bracket notation at the end of
  a reference, e.g., $foo[1] | 
| class  | ASTIntegerLiteralHandles integer numbers. | 
| class  | ASTIntegerRangehandles the range 'operator'  [ n .. | 
| class  | ASTLENodeHandles arg1 <= arg2 | 
| class  | ASTLogicalOperator | 
| class  | ASTLTNodeHandles arg1 < arg2 | 
| class  | ASTMapAST Node for creating a map / dictionary. | 
| class  | ASTMathNodeHelps handle math Please look at the Parser.jjt file which is what controls the generation of this class. | 
| class  | ASTMethodASTMethod.java
  Method support for references :  $foo.method()
  NOTE :
  introspection is now done at render time. | 
| class  | ASTModNodeHandles modulus division Please look at the Parser.jjt file which is what controls the generation of this class. | 
| class  | ASTMulNodeHandles multiplication Please look at the Parser.jjt file which is what controls the generation of this class. | 
| class  | ASTNegateNode | 
| class  | ASTNENodeHandles  arg1 != arg2by negating evaluation of ASTEQNode | 
| class  | ASTNotNode | 
| class  | ASTObjectArray | 
| class  | ASTOrNodePlease look at the Parser.jjt file which is
 what controls the generation of this class. | 
| class  | ASTParameters | 
| class  | ASTprocess | 
| class  | ASTReferenceThis class is responsible for handling the references in
 VTL ($foo). | 
| class  | ASTSetDirectiveNode for the #set directive | 
| class  | ASTStringLiteralASTStringLiteral support. | 
| class  | ASTSubtractNodeHandles subtraction of nodes (in #set() ) Please look at the Parser.jjt file which is what controls the generation of this class. | 
| class  | ASTText | 
| class  | ASTTextblockThis node holds the "Textblock" data which should not be interpreted by Velocity. | 
| class  | ASTTrue | 
| class  | ASTVariable | 
| class  | ASTWord | 
| Modifier and Type | Method and Description | 
|---|---|
| static Object | ASTIndex. adjMinusIndexArg(Object argument,
                Object o,
                InternalContextAdapter context,
                SimpleNode node)If argument is an Integer and negative, then return (o.size() - argument). | 
| static void | NodeUtils. fixIndentation(SimpleNode parent,
              String parentIndentation)Fix children indentation in structured space gobbling mode. | 
| Object | IndentationFixer. visit(SimpleNode node,
     Object data) | 
| Object | ParserVisitor. visit(SimpleNode node,
     Object data) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | NodeViewMode. visit(SimpleNode node,
     Object data) | 
| Object | BaseVisitor. visit(SimpleNode node,
     Object data) | 
| Modifier and Type | Method and Description | 
|---|---|
| static 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. | 
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.