|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.freehep.jaco.rtti.cpp.Scope
Field Summary | |
String |
scopeName
Name of the scope (set only for class/function scopes). |
Constructor Summary | |
Scope(Scope p)
Creates an unnamed scope (like for compound statements). |
|
Scope(String name,
boolean isType,
Scope p)
Creates a scope object with a given name. |
Method Summary | |
String |
getName(String name)
looks up the name in this scope. |
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). |
void |
putUsingName(String name)
Puts a using declaration into the usingTable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public String scopeName
Constructor Detail |
public Scope(String name, boolean isType, Scope p)
public Scope(Scope p)
Method Detail |
public void putTypeName(String name)
public void putTypeName(String name, Scope sc)
public boolean isTypeName(String name)
public Scope getScope(String name)
public void putUsingName(String name)
public String getName(String name)
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |