#import <ast.h>
Inheritance diagram for ASTNode:

Public Member Functions | |
| (char *) | - op |
| oken string | |
| (BOOL) | - isOp: |
| checks if token string matches s | |
| (Token *) | - token |
| gives token | |
| (void) | - token: |
| sets token | |
| (void) | - setToken: |
| sets token | |
| (id) | - init: |
| initializes with token t | |
| (void) | - setTipe: |
| sets type to t | |
| (Tipe *) | - tipe |
| gives tipe | |
| (void) | - tipe: |
| sets tipe | |
| (char *) | - op |
| token string | |
| (BOOL) | - isOp: |
| checks if token string matches s | |
| (int) | - line |
| gives line node appeared on | |
Protected Attributes | |
| Token * | token |
| Token for this node, produced by scanner. | |
| Tipe * | tipe |
| type of this node, set during typechecking | |
| BOOL | checked |
| - (id) init: | (id) | t |
initializes with token t
| t | Token used to derive this node |
Reimplemented in Initializer, and File.
1.5.2