blob: 8f04f16bbf3e51b1da72899598016ac87b455207 (
plain) (
tree)
|
|
#ifndef SEMANTICS_H
#define SEMANTICS_H
#include "const.h"
typedef struct CNode CNode;
typedef struct CTable *CTable_t;
typedef struct CType CType;
typedef CType *CType_t;
typedef struct CVar CVar;
typedef CVar *CVar_t;
typedef struct CSymbol CSymbol;
typedef CSymbol *CSymbol_t;
typedef struct CDef CDef;
typedef CDef *CDef_t;
typedef struct CTList CTList;
typedef CTList *CTList_t;
struct CTList {
CType_t type;
CTList_t next;
};
typedef struct CVList CVList;
typedef CVList *CVList_t;
struct CVList {
CVar_t var;
CVList_t next;
};
typedef struct CSList CSList;
typedef CSList *CSList_t;
struct CSList {
char *str;
int id;
CSList_t next;
};
typedef struct CBList *CBList_t;
typedef struct COList *COList_t;
typedef struct
|