Decaf Compiler
Main Page
Classes
Class List
Class Index
Class Members
All
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
v
Variables
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
i
l
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
Macros
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
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.
Generated by
1.8.16