#include <dsym.h>
Inheritance diagram for sym_subprog:


Public Member Functions | |
| sym_subprog (STRING n) | |
| sym_subprog () | |
| const uint | get_sy_kind (void) |
| void | set_statement (NODE *s) |
| const NODE * | get_statement (void) |
| void | set_func_type (pType t) |
| const pType | get_func_type (void) |
Public Attributes | |
| FIFO_LIST< sym_ident * > | arg_list |
Private Attributes | |
| pType | ty |
| NODE * | tree |
This class is derived from sym_scope, so this is an object that contains local scope (e.g., a local symbol table). If the type is NULL, its a procedure.
Note that transformation turns functions into procedures. After transformation, the function results becomes an argument (by convention, usually the first argument).
Definition at line 297 of file dsym.h.
|
|
Definition at line 306 of file dsym.h. References NULL, tree, and ty.
|
|
|
Definition at line 312 of file dsym.h. References NULL, tree, and ty.
|
|
|
Reimplemented from sym. Definition at line 334 of file dsym.h. References ty.
00335 {
00336 return ty;
00337 }
|
|
|
Reimplemented from sym. Definition at line 324 of file dsym.h. References tree.
00325 {
00326 return tree;
00327 }
|
|
|
Reimplemented from sym. Definition at line 318 of file dsym.h. References sy_subprog, and uint.
00318 { return sy_subprog; }
|
|
|
Reimplemented from sym. Definition at line 329 of file dsym.h. References ty.
00330 {
00331 ty = t;
00332 }
|
|
|
Reimplemented from sym. Definition at line 320 of file dsym.h. References tree.
00321 {
00322 tree = s;
00323 }
|
|
|
|
|
|
Definition at line 300 of file dsym.h. Referenced by get_statement(), set_statement(), and sym_subprog(). |
|
|
Definition at line 299 of file dsym.h. Referenced by get_func_type(), set_func_type(), and sym_subprog(). |
1.3.3