#import <scope.h>
Public Member Functions | |
| (Scope *) | - begin |
| Creates a new nesting level. | |
| (Scope *) | - end |
| Ends a nesting level. | |
| (void) | - add:to: |
| Adds a symbol to the table. | |
| (id) | - find: |
| Searches for a symbol in self and parents. | |
Protected Attributes | |
| SymTable * | table |
| Scope * | parent |
| - (id) find: | (char *) | key |
Searches for a symbol in self and parents.
| key | The key for the mapping |
1.5.2