shithub: hammer

ref: 4457deb19fb16af77ee0f0f8b3ea745b3fe41e1d
dir: /fns.h/

View raw version
void	loaduse(char*);
Nlst	append(Nlst, Nod*);
Nod*	mkexpr(int, Nod*, Nod*);
Nod*	mkiter(Nod*, Nod*, Nod*);
Nod*	mkfor(Nod*, Nod*, Nod*, Nod*);
Nod*	mkif(Nod*, Nod*, Nod*);
Nod*	mkfunc(char*, Nlst, Typ*, Nlst);
Nod*	mkcall(char*, Nlst);
Nod*	mkintlit(vlong);
Nod*	mkstrlit(char*);
Nod*	mksym(char*);
Nod*	mkdecl(char*, Typ*, Nod*);
Nod*	mkblk(Nlst);
Typ*	mktype(char*, int);
Typ*	mktyarray(Typ*, Nod*);
Typ*	mktyslice(Typ*);
Typ*	mktyfunc(Typ**, int, Typ*);
int	nodfmt(Fmt*);
void	astfmtinstall(void);