Save This Page
Home » velocity-1.5 » org.apache » velocity » runtime » parser » node » [javadoc | source]
org.apache.velocity.runtime.parser.node
public class: ASTIntegerRange [javadoc | source]
java.lang.Object
   org.apache.velocity.runtime.parser.node.SimpleNode
      org.apache.velocity.runtime.parser.node.ASTIntegerRange

All Implemented Interfaces:
    Node

handles the range 'operator' [ n .. m ] Please look at the Parser.jjt file which is what controls the generation of this class.
Fields inherited from org.apache.velocity.runtime.parser.node.SimpleNode:
rsvc,  log,  parent,  children,  id,  parser,  info,  state,  invalid,  first,  last
Constructor:
 public ASTIntegerRange(int id) 
 public ASTIntegerRange(Parser p,
    int id) 
    Parameters:
    p -
    id -
Method from org.apache.velocity.runtime.parser.node.ASTIntegerRange Summary:
jjtAccept,   value
Methods from org.apache.velocity.runtime.parser.node.SimpleNode:
childrenAccept,   dump,   evaluate,   execute,   getColumn,   getFirstToken,   getInfo,   getLastToken,   getLine,   getType,   init,   isInvalid,   jjtAccept,   jjtAddChild,   jjtClose,   jjtGetChild,   jjtGetNumChildren,   jjtGetParent,   jjtOpen,   jjtSetParent,   literal,   render,   setFirstToken,   setInfo,   setInvalid,   toString,   toString,   value
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.velocity.runtime.parser.node.ASTIntegerRange Detail:
 public Object jjtAccept(ParserVisitor visitor,
    Object data) 
 public Object value(InternalContextAdapter context) throws MethodInvocationException 
    does the real work. Creates an Vector of Integers with the right value range