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
visitor.h
AST visitors.
ASTNode
Main AST node structure.
Definition: ast.h:449
ast.h
AST nodes and attributes.
ErrorList
Linked list of AnalysisError* elements.
Definition: symbol.h:217
analyze
ErrorList * analyze(ASTNode *tree)
Perform static analysis on an AST and return a list of errors.
symbol.h
Symbols, symbol tables, and static analysis errors.
common.h
Includes, constants, declarations, and macros used across the compiler.
token.h
Tokens and regular expressions.