net.sourceforge.pmd.cpd.cppast
public class Scope extends Object
Constructor Summary | |
---|---|
Scope(String name, boolean isType, Scope p)
Creates a scope object with a given name. | |
Scope(Scope p)
Creates an unnamed scope (like for compound statements). |
Method Summary | |
---|---|
Scope | GetScope(String name) |
boolean | IsTypeName(String name)
Checks if a given name is the name of a type in this scope. |
void | PutTypeName(String name)
Inserts a name into the table to say that it is the name of a type. |
void | PutTypeName(String name, Scope sc)
A type with a scope (class/struct/union). |