harec

[hare] Hare compiler, written in C11 for POSIX OSs
Log | Files | Refs | README | LICENSE

parse.h (403B)


      1 #ifndef HAREC_PARSE_H
      2 #define HAREC_PARSE_H
      3 #include <stdio.h>
      4 
      5 struct ast_expression;
      6 struct ast_subunit;
      7 struct ast_type;
      8 struct lexer;
      9 
     10 void parse(struct lexer *lexer, struct ast_subunit *unit);
     11 bool parse_identifier(struct lexer *lexer, struct identifier *ident, bool trailing);
     12 struct ast_type *parse_type(struct lexer *lexer);
     13 struct ast_expression *parse_expression(struct lexer *lexer);
     14 
     15 #endif