net.sourceforge.pmd.lang.vm.ast
Class ASTMathNode
java.lang.Object
net.sourceforge.pmd.lang.ast.AbstractNode
net.sourceforge.pmd.lang.vm.ast.AbstractVmNode
net.sourceforge.pmd.lang.vm.ast.ASTMathNode
- All Implemented Interfaces:
- Node, VmNode
- Direct Known Subclasses:
- ASTAddNode, ASTDivNode, ASTModNode, ASTMulNode, ASTSubtractNode
public abstract class ASTMathNode
- extends AbstractVmNode
Helps handle math
Please look at the Parser.jjt file which is what controls the generation of this class.
- Version:
- $Id: ASTMathNode.java 517553 2007-03-13 06:09:58Z wglass $
- Author:
- Will Glass-Husain, Peter Romianowski, Jason van Zyl, Geir Magnusson Jr., Nathan Bubna
Methods inherited from class net.sourceforge.pmd.lang.vm.ast.AbstractVmNode |
childrenAccept, dump, getColumn, getFirstToken, getInfo, getLastToken, getLine, getTemplateName, getType, isInvalid, jjtClose, jjtOpen, literal, setFirstToken, setInfo, setInvalid, toString, toString |
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode |
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine |
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node |
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData |
strictMode
protected boolean strictMode
ASTMathNode
public ASTMathNode(int id)
ASTMathNode
public ASTMathNode(VmParser p,
int id)
jjtAccept
public Object jjtAccept(VmParserVisitor visitor,
Object data)
- Accept the visitor. *
- Specified by:
jjtAccept
in interface VmNode
- Overrides:
jjtAccept
in class AbstractVmNode
- See Also:
org.apache.velocity.runtime.parser.node.Node#jjtAccept(org.apache.velocity.runtime.parser.node.VmParserVisitor,
java.lang.Object)
Copyright © 2002–2015 InfoEther. All rights reserved.