Decaf Compiler
Main Page
Classes
Class List
Class Index
Class Members
All
a
b
c
d
e
f
h
i
k
l
n
o
p
r
s
t
v
Variables
a
b
c
d
e
f
h
i
k
l
n
o
p
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Variables
Typedefs
Enumerations
Macros
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Macros
include
p2-parser.h
Go to the documentation of this file.
1
6
#ifndef __P2_PARSER_H
7
#define __P2_PARSER_H
8
9
#include "
common.h
"
10
#include "
token.h
"
11
#include "
ast.h
"
12
#include "
visitor.h
"
13
20
ASTNode
*
parse
(
TokenQueue
* input);
21
22
#endif
visitor.h
AST visitors.
ASTNode
Main AST node structure.
Definition:
ast.h:470
ast.h
AST nodes and attributes.
TokenQueue
Linked list of tokens.
Definition:
token.h:152
parse
ASTNode * parse(TokenQueue *input)
Convert a queue of tokens into an abstract syntax tree (AST)
Definition:
p2-parser.c:557
common.h
Includes, constants, declarations, and macros used across the compiler.
token.h
Tokens and regular expressions.
Generated by
1.8.17