Package org.apache.velocity.runtime.parser.node


package org.apache.velocity.runtime.parser.node
  • Class
    Description
    Abstract class that is used to execute an arbitrary method that is in introspected.
    Handles number addition of nodes.

    Please look at the Parser.jjt file which is what controls the generation of this class.
    Please look at the Parser.jjt file which is what controls the generation of this class.
     
     
     
    Represents all comments...
    Numeric comparison support

    This class is responsible for handling the pluggable directives in VTL.
     
    Handles number division of nodes

    Please look at the Parser.jjt file which is what controls the generation of this class.
    This class is responsible for handling the ElseIf VTL control statement.
    This class is responsible for handling the Else VTL control statement.
    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.
    This class is responsible for handling Escapes in VTL.
    This class is responsible for handling EscapedDirectives in VTL.
     
     
    Handles floating point numbers.
    Handles arg1 >= arg2

    Handles arg1 > arg2

    ASTIdentifier.java Method support for identifiers : $foo mainly used by ASTReference Introspection is now moved to 'just in time' or at render / execution time.
    Please look at the Parser.jjt file which is what controls the generation of this class.
     
    This node is responsible for the bracket notation at the end of a reference, e.g., $foo[1]
    Handles integer numbers.
    handles the range 'operator' [ n ..
     
    Handles arg1 <= arg2

     
    Handles arg1 < arg2

    AST Node for creating a map / dictionary.
    Helps handle math

    Please look at the Parser.jjt file which is what controls the generation of this class.
    ASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time.
    Internal class used as key for method cache.
    Handles modulus division

    Please look at the Parser.jjt file which is what controls the generation of this class.
    Handles multiplication

    Please look at the Parser.jjt file which is what controls the generation of this class.
     
    Handles arg1 != arg2 by negating evaluation of ASTEQNode
     
     
    Please look at the Parser.jjt file which is what controls the generation of this class.
     
     
    This class is responsible for handling the references in VTL ($foo).
    Node for the #set directive
    ASTStringLiteral support.
    Handles subtraction of nodes (in #set() )

    Please look at the Parser.jjt file which is what controls the generation of this class.
     
    This node holds the "Textblock" data which should not be interpreted by Velocity.
     
     
     
    Handles discovery and valuation of a boolean object property, of the form public boolean is<property> when executed.
    Executor that simply tries to execute a get(key) operation.
    Helper class to fix indentation in structured mode.
     
     
    GetExecutor that is smart about Maps.
    SetExecutor that is smart about Maps.
    Utility-class for all arithmetic-operations.

    All operations (+ - / *) return a Number which type is the type of the bigger argument.
    Example:
    add ( Integer.valueOf(10), Integer.valueOf(1)) will return an Integer-Object with the value 11
    add ( Long.valueOf(10), Integer.valueOf(1)) will return an Long-Object with the value 11
    add ( Integer.valueOf(10), Float.valueOf(1)) will return an Float-Object with the value 11

    Overflow checking:
    For integral values (byte, short, int) there is an implicit overflow correction (the next "bigger" type will be returned).
    This file describes the interface between the Velocity code and the JavaCC generated code.
    Utilities for dealing with the AST node structure.
    Returned the value of object property when executed.
    Returns the value of a public field when executed.
    Executor that simply tries to execute a put(key, value) operation.
    Abstract class that is used to execute an arbitrary method that is in introspected.
    Executor for looking up property names in the passed in class This will try to find a set<foo>(key, value) method
    Executor for setting public fields in objects