You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
501 B
20 lines
501 B
#ifndef _BLOCK_H_
|
|
#define _BLOCK_H_
|
|
|
|
typedef struct block s_block;
|
|
|
|
#include <identList.h>
|
|
#include <stmtQueue.h>
|
|
|
|
s_block * blockNew(s_stmtQueue *);
|
|
void blockFree(s_block *);
|
|
void blockSetNonLocalId(s_block *, s_ident *);
|
|
s_block * blockPush(s_block **, s_block *);
|
|
s_block * blockPop(s_block **);
|
|
s_block * blockPrev(s_block *);
|
|
s_stmtQueue * blockStmts(s_block *);
|
|
s_identList * blockIdl(s_block *);
|
|
|
|
s_identList * blockGetIdl(s_block *);
|
|
|
|
#endif /* _BLOCK_H_ */
|