|
Eclipse CDT Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| 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 |
public IASTName getScopeName()
throws DOMException
DOMException
public IScope getParent()
throws DOMException
DOMException
public IBinding[] find(String name)
throws DOMException
DOMException
public IASTNode getPhysicalNode()
throws DOMException
DOMException
public void addName(IASTName name)
throws DOMException
name -
DOMException
public void removeBinding(IBinding binding)
throws DOMException
binding -
DOMException
public 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
public void addBinding(IBinding binding)
throws DOMException
binding -
DOMException
public void setFullyCached(boolean b)
throws DOMException
b -
DOMException
public boolean isFullyCached()
throws DOMException
DOMException
public 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 | ||||||||||