|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.runtime.parser.node.SimpleNode
org.apache.velocity.runtime.parser.node.ASTMathNode
org.apache.velocity.runtime.parser.node.ASTDivNode
public class ASTDivNode
Handles number division of nodes
Please look at the Parser.jjt file which is
what controls the generation of this class.
| Field Summary |
|---|
| Fields inherited from class org.apache.velocity.runtime.parser.node.ASTMathNode |
|---|
strictMode |
| Fields inherited from class org.apache.velocity.runtime.parser.node.SimpleNode |
|---|
children, first, id, info, invalid, last, log, parent, parser, rsvc, state, templateName |
| Constructor Summary | |
|---|---|
ASTDivNode(int id)
|
|
ASTDivNode(Parser p,
int id)
|
|
| Method Summary | |
|---|---|
java.lang.Number |
perform(java.lang.Number left,
java.lang.Number right,
InternalContextAdapter context)
Performs the math operation represented by this node. |
| Methods inherited from class org.apache.velocity.runtime.parser.node.ASTMathNode |
|---|
handleSpecial, init, jjtAccept, value |
| Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode |
|---|
childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getLocation, getRuntimeServices, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASTDivNode(int id)
id -
public ASTDivNode(Parser p,
int id)
p - id - | Method Detail |
|---|
public java.lang.Number perform(java.lang.Number left,
java.lang.Number right,
InternalContextAdapter context)
ASTMathNode
perform in class ASTMathNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||