|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.pmd.symboltable.AbstractScope | +--net.sourceforge.pmd.symboltable.LocalScope
Field Summary |
Fields inherited from class net.sourceforge.pmd.symboltable.AbstractScope |
methodNames, variableNames |
Constructor Summary | |
LocalScope()
|
Method Summary | |
void |
addDeclaration(VariableNameDeclaration nameDecl)
Add a variable declaration to this scope |
protected NameDeclaration |
findVariableHere(NameOccurrence occurrence)
|
java.lang.String |
toString()
|
Methods inherited from class net.sourceforge.pmd.symboltable.AbstractScope |
addDeclaration, addVariableNameOccurrence, contains, getEnclosingClassScope, getParent, getVariableDeclarations, glomNames, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LocalScope()
Method Detail |
public void addDeclaration(VariableNameDeclaration nameDecl)
Scope
addDeclaration
in interface Scope
addDeclaration
in class AbstractScope
protected NameDeclaration findVariableHere(NameOccurrence occurrence)
findVariableHere
in class AbstractScope
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |