Interface | Description |
---|---|
Node |
This file describes the interface between the Velocity code
and the JavaCC generated code.
|
ParserTreeConstants | |
ParserVisitor |
Interface used in implementation of visitor pattern.
|
Class | Description |
---|---|
AbstractExecutor |
Abstract class that is used to execute an arbitrary
method that is in introspected.
|
ASTAddNode |
Handles number addition of nodes.
Please look at the Parser.jjt file which is what controls the generation of this class. |
ASTAndNode |
Please look at the Parser.jjt file which is
what controls the generation of this class.
|
ASTAssignment | |
ASTBinaryOperator | |
ASTBlock | |
ASTComment |
Represents all comments...
|
ASTComparisonNode |
Numeric comparison support
|
ASTDirective |
This class is responsible for handling the pluggable
directives in VTL.
|
ASTDirectiveAssign | |
ASTDivNode |
Handles number division of nodes
Please look at the Parser.jjt file which is what controls the generation of this class. |
ASTElseIfStatement |
This class is responsible for handling the ElseIf VTL control statement.
|
ASTElseStatement |
This class is responsible for handling the Else VTL control statement.
|
ASTEQNode |
Handles
arg1 == arg2
This operator requires that the LHS and RHS are both of the
same Class, both numbers or both coerce-able to strings. |
ASTEscape |
This class is responsible for handling Escapes
in VTL.
|
ASTEscapedDirective |
This class is responsible for handling EscapedDirectives
in VTL.
|
ASTExpression | |
ASTFalse | |
ASTFloatingPointLiteral |
Handles floating point numbers.
|
ASTGENode |
Handles arg1 >= arg2
|
ASTGTNode |
Handles arg1 > arg2
|
ASTIdentifier |
ASTIdentifier.java
Method support for identifiers : $foo
mainly used by ASTReference
Introspection is now moved to 'just in time' or at render / execution
time.
|
ASTIfStatement | |
ASTIncludeStatement | |
ASTIndex |
This node is responsible for the bracket notation at the end of
a reference, e.g., $foo[1]
|
ASTIntegerLiteral |
Handles integer numbers.
|
ASTIntegerRange |
handles the range 'operator' [ n ..
|
ASTIntegerRange.IntegerRange | |
ASTLENode |
Handles arg1 <= arg2
|
ASTLogicalOperator | |
ASTLTNode |
Handles arg1 < arg2
|
ASTMap |
AST Node for creating a map / dictionary.
|
ASTMathNode |
Helps handle math
Please look at the Parser.jjt file which is what controls the generation of this class. |
ASTMethod |
ASTMethod.java
Method support for references : $foo.method()
NOTE :
introspection is now done at render time.
|
ASTMethod.MethodCacheKey |
Internal class used as key for method cache.
|
ASTModNode |
Handles modulus division
Please look at the Parser.jjt file which is what controls the generation of this class. |
ASTMulNode |
Handles multiplication
Please look at the Parser.jjt file which is what controls the generation of this class. |
ASTNegateNode | |
ASTNENode |
Handles
arg1 != arg2 by negating evaluation of ASTEQNode |
ASTNotNode | |
ASTObjectArray | |
ASTOrNode |
Please look at the Parser.jjt file which is
what controls the generation of this class.
|
ASTParameters | |
ASTprocess | |
ASTReference |
This class is responsible for handling the references in
VTL ($foo).
|
ASTSetDirective |
Node for the #set directive
|
ASTStringLiteral |
ASTStringLiteral support.
|
ASTSubtractNode |
Handles subtraction of nodes (in #set() )
Please look at the Parser.jjt file which is what controls the generation of this class. |
ASTText | |
ASTTextblock |
This node holds the "Textblock" data which should not be interpreted by Velocity.
|
ASTTrue | |
ASTVariable | |
ASTWord | |
BooleanPropertyExecutor |
Handles discovery and valuation of a
boolean object property, of the
form public boolean is<property> when executed.
|
GetExecutor |
Executor that simply tries to execute a get(key)
operation.
|
IndentationFixer |
Helper class to fix indentation in structured mode.
|
JJTParserState | |
MapGetExecutor |
GetExecutor that is smart about Maps.
|
MapSetExecutor |
SetExecutor that is smart about Maps.
|
MathUtils |
Utility-class for all arithmetic-operations.
All operations (+ - / *) return a Number which type is the type of the bigger argument. Example: add ( new Integer(10), new Integer(1)) will return an Integer -Object with the value 11add ( new Long(10), new Integer(1)) will return an Long -Object with the value 11add ( new Integer(10), new Float(1)) will return an Float -Object with the value 11Overflow checking: For integral values (byte, short, int) there is an implicit overflow correction (the next "bigger" type will be returned). |
NodeUtils |
Utilities for dealing with the AST node structure.
|
PropertyExecutor |
Returned the value of object property when executed.
|
PublicFieldExecutor |
Returns the value of a public field when executed.
|
PutExecutor |
Executor that simply tries to execute a put(key, value)
operation.
|
SetExecutor |
Abstract class that is used to execute an arbitrary
method that is in introspected.
|
SetPropertyExecutor |
Executor for looking up property names in the passed in class
This will try to find a set<foo>(key, value) method
|
SetPublicFieldExecutor |
Executor for setting public fields in objects
|
SimpleNode |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.