typedef struct Sym Sym; typedef enum Sym_Kind{ Sym_Kind_None, Sym_Kind_Type, Sym_Kind_Const, Sym_Kind_Func, }Sym_Kind; typedef enum Sym_State{ Sym_State_NotVisited, Sym_State_Visited, }; struct Sym{ Sym_Kind kind; Sym_State state; AST *ast; Type *type; }; global Sym *global_syms; function void resolve_test(){ }