|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.lang.ast.AbstractNode
net.sourceforge.pmd.lang.plsql.ast.AbstractPLSQLNode
public abstract class AbstractPLSQLNode
Field Summary | |
---|---|
protected PLSQLParser |
parser
|
protected Scope |
scope
|
protected Object |
value
|
Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode |
---|
beginColumn, beginLine, childIndex, children, endColumn, endLine, id, parent |
Constructor Summary | |
---|---|
AbstractPLSQLNode(int i)
|
|
AbstractPLSQLNode(PLSQLParser p,
int i)
|
Method Summary | |
---|---|
Object |
childrenAccept(PLSQLParserVisitor visitor,
Object data)
Accept the visitor. |
void |
dump(String prefix)
|
String |
getCanonicalImage()
Return node image converted to the normal Oracle form. |
static String |
getCanonicalImage(String image)
Convert arbitrary String to normal Oracle format, under assumption that the passed image is an Oracle name. |
Scope |
getScope()
|
Object |
jjtAccept(PLSQLParserVisitor visitor,
Object data)
Accept the visitor. |
void |
jjtClose()
This method is called after all the child nodes have been added. |
Object |
jjtGetValue()
|
void |
jjtOpen()
This method is called after the node has been made the current node. |
void |
jjtSetValue(Object value)
|
void |
setScope(Scope scope)
|
String |
toString()
Subclasses should implement this method to return a name usable with XPathRule for evaluating Element Names. |
String |
toString(String prefix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
Field Detail |
---|
protected Object value
protected PLSQLParser parser
protected Scope scope
Constructor Detail |
---|
public AbstractPLSQLNode(int i)
public AbstractPLSQLNode(PLSQLParser p, int i)
Method Detail |
---|
public void jjtOpen()
Node
jjtOpen
in interface Node
jjtOpen
in class AbstractNode
public void jjtClose()
Node
jjtClose
in interface Node
jjtClose
in class AbstractNode
public void jjtSetValue(Object value)
public Object jjtGetValue()
public Object jjtAccept(PLSQLParserVisitor visitor, Object data)
PLSQLNode
jjtAccept
in interface PLSQLNode
public Object childrenAccept(PLSQLParserVisitor visitor, Object data)
PLSQLNode
childrenAccept
in interface PLSQLNode
public String toString()
AbstractNode
toString
in class AbstractNode
public String toString(String prefix)
public void dump(String prefix)
public String getCanonicalImage()
Normally this is uppercase, unless the names is quoted ("name").
public static String getCanonicalImage(String image)
This a helper method for PLSQL classes dependent on SimpleNode, that would otherwise have to import PLSQParser.
image
-
public Scope getScope()
getScope
in interface PLSQLNode
getScope
in interface ScopedNode
public void setScope(Scope scope)
setScope
in interface PLSQLNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |