net.sourceforge.pmd.ast
Class ASTUnaryExpression

java.lang.Object
  extended bynet.sourceforge.pmd.ast.SimpleNode
      extended bynet.sourceforge.pmd.ast.ASTUnaryExpression
All Implemented Interfaces:
Node

public class ASTUnaryExpression
extends SimpleNode


Field Summary
private  boolean isPlaceholder
           
private  boolean isPositive
           
 
Fields inherited from class net.sourceforge.pmd.ast.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTUnaryExpression(int id)
           
ASTUnaryExpression(JavaParser p, int id)
           
 
Method Summary
 void dump(java.lang.String prefix)
           
 boolean isNegative()
           
 boolean isPlaceholder()
           
 boolean isPositive()
           
 java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void setNegative()
           
 void setPositive()
           
 
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
 

Field Detail

isPositive

private boolean isPositive

isPlaceholder

private boolean isPlaceholder
Constructor Detail

ASTUnaryExpression

public ASTUnaryExpression(int id)

ASTUnaryExpression

public ASTUnaryExpression(JavaParser p,
                          int id)
Method Detail

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