|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.pmd.cpd.cppast.Scope
org.acm.seguin.pmd.cpd.cppast.ClassScope
public class ClassScope
Class scope extends Scope in that its search method also searches all its superclasses.
Constructor Summary | |
---|---|
ClassScope(java.lang.String name,
Scope parent)
Creates a new class scope in a given scope. |
Method Summary | |
---|---|
void |
AddSuper(Scope sc)
Add a super class. |
boolean |
IsTypeName(java.lang.String name)
Overrides the method in Scope. |
Methods inherited from class org.acm.seguin.pmd.cpd.cppast.Scope |
---|
GetScope, PutTypeName, PutTypeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassScope(java.lang.String name, Scope parent)
Method Detail |
---|
public void AddSuper(Scope sc)
public boolean IsTypeName(java.lang.String name)
IsTypeName
in class Scope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |