diff options
Diffstat (limited to 'src/as_parser.h')
| -rw-r--r-- | src/as_parser.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/as_parser.h b/src/as_parser.h index 5d850c9..2171fe4 100644 --- a/src/as_parser.h +++ b/src/as_parser.h @@ -34,11 +34,22 @@ struct prog { struct stmts * stmts; }; +// result<prog> struct result parse_prog(struct allocator * alct, struct token_stream * ts); + +// result<stmt> struct result parse_stmt(struct allocator * alct, struct token_stream * ts); + +// result<stmts> struct result parse_stmts(struct allocator * alct, struct token_stream * ts); + +// result<instr> struct result parse_instr(struct allocator * alct, struct token_stream * ts); + +// result<label> struct result parse_label(struct allocator * alct, struct token_stream * ts); + +// result<enum op> struct result parse_op(struct allocator * alct, struct token_stream * ts); #endif |
