lang: ast: add stub parser functions
This commit is contained in:
19
lang/ast.h
Normal file
19
lang/ast.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef _AST_H_
|
||||
#define _AST_H_
|
||||
|
||||
#include <blue/core/queue.h>
|
||||
#include <ivy/status.h>
|
||||
|
||||
struct ivy_parser_state {
|
||||
b_queue_entry s_entry;
|
||||
struct ivy_ast_node *s_parent;
|
||||
};
|
||||
|
||||
struct ivy_parser {
|
||||
enum ivy_status p_status;
|
||||
b_queue p_state;
|
||||
b_queue p_token_queue;
|
||||
b_queue p_node_queue;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user