public class ImportStack
extends java.lang.Object
| Constructor and Description |
|---|
ImportStack() |
| Modifier and Type | Method and Description |
|---|---|
Import |
peek()
Return the current import.
|
void |
pop()
Pop an import from the stack.
|
void |
push(int id)
Push an import to the stack by its ID.
|
int |
register(Import importSource)
Register a new import, return the registration ID.
|