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...
    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 OR both are subclasses of java.lang.Number
    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

    Only subclasses of Number can be compared.

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

    Only subclasses of Number can be compared.

    Please look at the Parser.jjt file which is what controls the generation of this class.
    ASTIdentifier.java Method support for identifiers : $foo mainly used by ASTRefrence Introspection is now moved to 'just in time' or at render / execution time.
     
     
    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

    Only subclasses of Number can be compared.

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

    Only subclasses of Number can be compared.

    Please look at the Parser.jjt file which is what controls the generation of this class.
    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 This operator requires that the LHS and RHS are both of the same Class OR both are subclasses of java.lang.Number
     
     
    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 when executed.
    Executor that simply tries to execute a get(key) operation.
    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 ( new Integer(10), new Integer(1)) will return an Integer-Object with the value 11
    add ( new Long(10), new Integer(1)) will return an Long-Object with the value 11
    add ( new Integer(10), new Float(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.
    Interface used in implementation of visitor pattern.
    Returned the value of object property 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