| 接口 | 说明 |
|---|---|
| Node |
This file describes the interface between the Velocity code
and the JavaCC generated code.
|
| ParserVisitor |
Interface used in implementation of visitor pattern.
|
| 类 | 说明 |
|---|---|
| AbstractExecutor |
Abstract class that is used to execute an arbitrary
method that is in introspected.
|
| ASTAddNode |
Handles number addition of nodes.
|
| ASTAndNode |
Please look at the Parser.jjt file which is
what controls the generation of this class.
|
| ASTAssignment | |
| ASTBlock | |
| ASTComment |
Represents all comments...
|
| ASTDirective |
This class is responsible for handling the pluggable
directives in VTL.
|
| 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 OR both are subclasses of java.lang.Number |
| 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
Only subclasses of Number can be compared. |
| ASTGTNode |
Handles arg1 > arg2
Only subclasses of Number can be compared. |
| ASTIdentifier |
ASTIdentifier.java
Method support for identifiers : $foo
mainly used by ASTRefrence
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 .. m ]
Please look at the Parser.jjt file which is
what controls the generation of this class.
|
| ASTLENode |
Handles arg1 <= arg2
Only subclasses of Number can be compared. |
| ASTLTNode |
Handles arg1 < arg2
Only subclasses of Number can be compared. |
| 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. |
| ASTNENode |
Handles
arg1 ! |
| 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
|
| GetExecutor |
Executor that simply tries to execute a get(key)
operation.
|
| MapGetExecutor |
GetExecutor that is smart about Maps.
|
| MapSetExecutor |
SetExecutor that is smart about Maps.
|
| MathUtils |
Utility-class for all arithmetic-operations.
|
| NodeUtils |
Utilities for dealing with the AST node structure.
|
| PropertyExecutor |
Returned the value of object property 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
|
| SimpleNode |