-
Notifications
You must be signed in to change notification settings - Fork 0
/
Parser.h
57 lines (55 loc) · 1.63 KB
/
Parser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef PARSER_H
#define PARSER_H
#include "Token.h"
#include "Parser.h"
#include "Hash.c"
void Parser();
int match(eTOKENS t);
void errorHandler(eTOKENS* follow_tokens_array, int size);
FILE *syntatic_out,*semantic_out;
int checkIfFullDef();
int checkIfFuncDef();
void Parse_PROG();
int Parse_GLOBAL_VARS();
void Parse_GLOBAL_VARS_TAG();
void Parse_FUNC_PREDEFS();
void Parse_FUNC_PREDEFS_TAG();
void Parse_FUNC_FULL_DEFS();
int Parse_FUNC_FULL_DEFS_TAG();
void Parse_VAR_DEC();
struct attribute Parse_VAR_DEC_TAG();
struct attribute Parse_TYPE();
struct attribute Parse_DIM_SIZES();
struct attribute Parse_DIM_SIZES_TAG();
struct attribute Parse_FUNC_PROTOTYPE();
void Parse_PARAMS();
struct attribute Parse_PARAM();
struct attribute Parse_PARAM_TAG();
void Parse_FUNC_WITH_BODY();
void Parse_COMP_STMT(struct attribute T);
void Parse_PARAM_LIST();
struct attribute Parse_PARAM_LIST_TAG();
void Parse_VAR_DEC_LIST();
void Parse_VAR_DEC_LIST_TAG();
void Parse_STMT_LIST();
void Parse_STMT_LIST_TAG();
void Parse_STMT();
struct attribute Parse_VAR();
struct attribute Parse_VAR_TAG();
struct attribute Parse_EXPR();
struct attribute Parse_EXPR_TAG();
void Parse_IF_STMT();
struct attribute Parse_CALL();
struct attribute Parse_RETURN_STMT();
struct attribute Parse_RETURN_STMT_TAG();
void Parse_rel_op();
void Parse_CONDITION();
struct attribute Parse_ARGS();
struct attribute Parse_ARG_LIST();
struct attribute Parse_ARG_LIST_TAG();
struct attribute Parse_EXPR_LIST();
struct attribute Parse_EXPR_LIST_TAG();
struct attribute Parse_TERM();
struct attribute Parse_TERM_TAG();
struct attribute Parse_FACTOR();
#endif