|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cgp.runtime.ScopeStack
Field Summary | |
private java.util.LinkedList |
stack
|
Constructor Summary | |
ScopeStack()
|
Method Summary | |
int |
depth()
|
Type |
find(java.lang.String name)
Search this stack of scopes in FILO order for the specified name. |
Scope |
getFrame(int i)
Return the ith frame. |
Scope |
peek()
|
Scope |
pop()
|
Scope |
push(Scope s)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.LinkedList stack
Constructor Detail |
public ScopeStack()
Method Detail |
public int depth()
public Scope push(Scope s)
public Scope pop()
public Scope peek()
public Scope getFrame(int i)
public Type find(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |