public class ASTDivNode extends SimpleNode
Constructor and Description |
---|
ASTDivNode(int id) |
ASTDivNode(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
java.lang.Object |
value(InternalContextAdapter context)
computes the result of the division.
|
childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, init, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString
public ASTDivNode(int id)
public ASTDivNode(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
public java.lang.Object value(InternalContextAdapter context) throws MethodInvocationException
value
in interface Node
value
in class SimpleNode
MethodInvocationException
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.