|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jeffpalm.javaparser.SimpleNode
com.jeffpalm.javaparser.NamedNode
com.jeffpalm.javaparser.ASTPrimaryPrefix
public class ASTPrimaryPrefix
The prefix expression. This is the name of the method or the variable, but at this level it has no knowledge of whether it is a variable or a method invocation.
Field Summary |
---|
Fields inherited from class com.jeffpalm.javaparser.NamedNode |
---|
name |
Fields inherited from class com.jeffpalm.javaparser.SimpleNode |
---|
children, id, parent, parser, specials |
Constructor Summary | |
---|---|
ASTPrimaryPrefix(int identifier)
Constructor for the ASTPrimaryPrefix node. |
|
ASTPrimaryPrefix(JavaParser parser,
int identifier)
Constructor for the ASTPrimaryPrefix node. |
Method Summary | |
---|---|
int |
getCount()
Gets the count attribute of the ASTPrimaryPrefix node. |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
void |
setCount(int value)
Sets the count attribute of the ASTPrimaryPrefix node. |
void |
setUsesSuperModifier()
Sets the usesSuperModifier attribute of the ASTPrimaryPrefix node. |
void |
setUsesThisModifier()
Sets the usesThisModifier attribute of the ASTPrimaryPrefix node. |
boolean |
usesSuperModifier()
Description of the Method |
boolean |
usesThisModifier()
Description of the Method |
Methods inherited from class com.jeffpalm.javaparser.NamedNode |
---|
getName, setName |
Methods inherited from class com.jeffpalm.javaparser.SimpleNode |
---|
addSpecial, childrenAccept, dump, dumpString, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getScope, getSpecial, hasAnyChildren, init, isRequired, jjtAddChild, jjtAddFirstChild, jjtClose, jjtDeleteChild, jjtGetChild, jjtGetFirstChild, jjtGetID, jjtGetNumChildren, jjtGetParent, jjtInsertChild, jjtOpen, jjtSetParent, printModifiers, removeSpecial, setLineAndColumnInfo, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ASTPrimaryPrefix(int identifier)
identifier
- The id of this node (JJTPRIMARYPREFIX).public ASTPrimaryPrefix(JavaParser parser, int identifier)
parser
- The JavaParser that created this ASTPrimaryPrefix node.identifier
- The id of this node (JJTPRIMARYPREFIX).Method Detail |
---|
public void setCount(int value)
value
- The new count valuepublic void setUsesThisModifier()
public void setUsesSuperModifier()
public int getCount()
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
visitor
- An implementation of JavaParserVisitor that processes the ASTPrimaryPrefix node.data
- Some data being passed between the visitor methods.
public boolean usesThisModifier()
public boolean usesSuperModifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |