aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorc+12023-05-14 07:43:24 -0400
committerc+12023-05-14 07:43:24 -0400
commitaceffe9d3eed82e025202e8d5661e5bdbb2fd358 (patch)
treee198dca4c0cf02372f97f62d432d3b780158f922 /src/include
parent8f5856e86e50429d1b28039ba3d876af616a5279 (diff)
halk
Diffstat (limited to 'src/include')
-rw-r--r--src/include/parser.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/include/parser.h b/src/include/parser.h
index 5ff8366..c77fd29 100644
--- a/src/include/parser.h
+++ b/src/include/parser.h
@@ -20,7 +20,6 @@ void parser_check_expect(parser_t* parser, int token_type);
// creates the abstract syntax tree
tree_t* parser_parse(parser_t* parser);
-
tree_t* parser_parse_token_id(parser_t* parser);
// parse a single chunk
@@ -29,18 +28,16 @@ tree_t* parser_parse_chunk(parser_t* parser);
// parse all in list of chunks
tree_t* parser_parse_chunks(parser_t* parser);
+// leaves of the tree
tree_t* parser_parse_expr(parser_t* parser);
-
tree_t* parser_parse_fac(parser_t* parser);
-
tree_t* parser_parse_term(parser_t* parser);
-
tree_t* parser_parse_fn_call(parser_t* parser);
-
+tree_t* parser_parse_fn_def(parser_t* parser);
tree_t* parser_parse_var(parser_t* parser);
tree_t* parser_parse_var_def(parser_t* parser);
-
tree_t* parser_parse_str(parser_t* parser);
+tree_t* parser_parse_keyword(parser_t* parser);
#endif