Decaf Compiler
Loading...
Searching...
No Matches
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
ast.h
AST nodes and attributes.
common.h
Includes, constants, declarations, and macros used across the compiler.
parse
ASTNode * parse(TokenQueue *input)
Convert a queue of tokens into an abstract syntax tree (AST)
Definition
p2-parser.c:563
ASTNode
Main AST node structure.
Definition
ast.h:471
TokenQueue
Linked list of tokens.
Definition
token.h:153
token.h
Tokens and regular expressions.
visitor.h
AST visitors.
Generated by
1.9.8