00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef LINK_ID_H
00028 #define LINK_ID_H
00029
00030 #include "symboldef.h"
00031
00032 bool check_indices(parsex *pt, typex *ctype, typex *basetype, int i);
00033 bool ln_enum_type_elem(parsex *pt);
00034 void ln_id_symtab_id(parsex *pt, symboltable *classvar, symboltable *parvar,
00035 symboltable *localvar);
00036 void ln_id_symtab_fields(parsex *pt, varx *var_entry, symboltable *classmf,
00037 symboltable *classvar, symboltable *parvar,
00038 symboltable *localvar);
00039 void ln_id_symtab_complex(parsex *pt, symboltable *classmf,
00040 symboltable *classvar, symboltable *parvar,
00041 symboltable *localvar);
00042 void ln_id_symtab_method(parsex *pt, classx *class_entry, symboltable *classmf,
00043 symboltable *classvar, symboltable *parvar,
00044 symboltable *localvar);
00045 void ln_id_symtab_send(parsex *pt, symboltable *classmf, symboltable *classvar,
00046 symboltable *parvar, symboltable *localvar);
00047 void ln_id_symtab_block(parsex *pt, symboltable *classmf,
00048 symboltable *classvar, symboltable *parvar,
00049 symboltable *localvar);
00050 void ln_id_symtab_funccall(parsex *pt, symboltable *classmf,
00051 symboltable *classvar, symboltable *parvar,
00052 symboltable *localvar);
00053 void ln_id_symtab_classinst(parsex *pt, symboltable *classmf,
00054 symboltable *classvar, symboltable *parvar,
00055 symboltable *localvar);
00056 void ln_id_symtab_expr(parsex *code, symboltable *classmf,
00057 symboltable *classvar, symboltable *parvar,
00058 symboltable *localvar);
00059 void ln_id_symtab_varinit(symboltable *vartable, symboltable *classmf,
00060 symboltable *classvar, symboltable *parvar,
00061 symboltable *localvar);
00062 void ln_id_symtab_mf(symboltable *mft, symboltable *cmft, symboltable *cvt);
00063 void ln_id_symtab_types(symboltable *tt, symboltable *cvt);
00064 void ln_id_symtab_class(symboltable *ct);
00065 void link_id(void);
00066
00067 #endif // LINK_ID_H