From aceffe9d3eed82e025202e8d5661e5bdbb2fd358 Mon Sep 17 00:00:00 2001 From: c+1 Date: Sun, 14 May 2023 07:43:24 -0400 Subject: halk --- src/include/parser.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/include') 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 -- cgit v1.2.3