|
||||||||||
| 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
public class Scope
| Constructor Summary | |
|---|---|
Scope(Scope p)
Creates an unnamed scope (like for compound statements). |
|
Scope(java.lang.String name,
boolean isType,
Scope p)
Creates a scope object with a given name. |
|
| Method Summary | |
|---|---|
Scope |
GetScope(java.lang.String name)
|
boolean |
IsTypeName(java.lang.String name)
Checks if a given name is the name of a type in this scope. |
void |
PutTypeName(java.lang.String name)
Inserts a name into the table to say that it is the name of a type. |
void |
PutTypeName(java.lang.String name,
Scope sc)
A type with a scope (class/struct/union). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scope(java.lang.String name,
boolean isType,
Scope p)
public Scope(Scope p)
| Method Detail |
|---|
public void PutTypeName(java.lang.String name)
public void PutTypeName(java.lang.String name,
Scope sc)
public boolean IsTypeName(java.lang.String name)
public Scope GetScope(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||