#import <ast.h>
Inheritance diagram for MethodDefinition:
Public Member Functions | |
(id) | - init:rtype:args:decl:block: |
Initialize. | |
Protected Attributes | |
Cons * | decl |
Variable declarations preceding method body. | |
Block * | block |
Method body. |
- (id) init: | (id) | t | ||
rtype: | (id) | r | ||
args: | (id) | a | ||
decl: | (id) | d | ||
block: | (id) | b | ||
Initialize.
t | Token '-' or '+' | |
r | (Type*) return type | |
a | (Cons*) keyword args | |
d | (Cons*) Declaration List | |
b | (Block*) block of statements |