blob: ae53b344243d1a43867b29712cc2229cda51a0e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef TYPE_H
#define TYPE_H
#include "lex.h"
#include "prv.h"
#include "parse.h"
const struct type *type_ufind(const struct fn *fn, const char *t, const char *s);
const struct type *type_find(const struct fn *fn, const char *t, const char *s);
const struct type *type_insert(struct prv *p, struct type *a);
char *type_name(const struct type *t);
int type(const struct lex *l, struct prv *p,
int (*fn)(const struct lex *, struct prv *p, const struct type *t));
void type_free(struct type *t);
void type_lfree(struct type *t);
#endif
|