Decaf Compiler
p3-analysis.h
Go to the documentation of this file.
1 
6 #ifndef __P3_ANALYSIS_H
7 #define __P3_ANALYSIS_H
8 
9 #include "common.h"
10 #include "token.h"
11 #include "ast.h"
12 #include "visitor.h"
13 #include "symbol.h"
14 
22 ErrorList* analyze (ASTNode* tree);
23 
24 #endif
AST nodes and attributes.
Includes, constants, declarations, and macros used across the compiler.
ErrorList * analyze(ASTNode *tree)
Perform static analysis on an AST and return a list of errors.
Definition: p3-analysis.c:386
Main AST node structure.
Definition: ast.h:466
Linked list of AnalysisError* elements.
Definition: symbol.h:217
Symbols, symbol tables, and static analysis errors.
Tokens and regular expressions.
AST visitors.