|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScope
Method Summary | |
---|---|
void |
addBinding(IBinding binding)
This adds an IBinding to the scope. |
void |
addName(IASTName name)
Add an IASTName to be cached in this scope |
IBinding[] |
find(String name)
This is the general lookup entry point. |
void |
flushCache()
clear the name cache in this scope |
IBinding |
getBinding(IASTName name,
boolean resolve)
Get the binding in this scope that the given name would resolve to. |
IScope |
getParent()
Scopes are arranged hierarchically. |
IASTNode |
getPhysicalNode()
Return the physical IASTNode that this scope was created for |
IASTName |
getScopeName()
Get the IASTName for this scope, may be null |
boolean |
isFullyCached()
whether or not this scope's cache contains all the names |
void |
removeBinding(IBinding binding)
remove the given binding from this scope |
void |
setFullyCached(boolean b)
Set whether or not all the names in this scope have been cached |
Method Detail |
---|
IASTName getScopeName() throws DOMException
DOMException
IScope getParent() throws DOMException
DOMException
IBinding[] find(String name) throws DOMException
searchString
-
DOMException
IASTNode getPhysicalNode() throws DOMException
DOMException
void addName(IASTName name) throws DOMException
name
-
DOMException
void removeBinding(IBinding binding) throws DOMException
binding
-
DOMException
IBinding getBinding(IASTName name, boolean resolve) throws DOMException
name
- resolve
- :
whether or not to resolve the matching binding if it has not
been so already.
DOMException
void addBinding(IBinding binding) throws DOMException
binding
-
DOMException
void setFullyCached(boolean b) throws DOMException
b
-
DOMException
boolean isFullyCached() throws DOMException
DOMException
void flushCache() throws DOMException
DOMException
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |