net.sourceforge.pmd.ast
Class ASTUnaryExpression
java.lang.Object
net.sourceforge.pmd.ast.SimpleNode
net.sourceforge.pmd.ast.ASTUnaryExpression
- All Implemented Interfaces:
- Node
- public class ASTUnaryExpression
- extends SimpleNode
Methods inherited from class net.sourceforge.pmd.ast.SimpleNode |
childrenAccept, dumpChildren, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstParentOfType, getImage, getParentsOfType, getScope, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setImage, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
isPositive
private boolean isPositive
isPlaceholder
private boolean isPlaceholder
ASTUnaryExpression
public ASTUnaryExpression(int id)
ASTUnaryExpression
public ASTUnaryExpression(JavaParser p,
int id)
setNegative
public void setNegative()
setPositive
public void setPositive()
isPositive
public boolean isPositive()
isPlaceholder
public boolean isPlaceholder()
isNegative
public boolean isNegative()
dump
public void dump(java.lang.String prefix)
- Overrides:
dump
in class SimpleNode
jjtAccept
public java.lang.Object jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode