aboutsummaryrefslogtreecommitdiff
path: root/src/ast_render.hpp
blob: d37002d8c7251b428c20e94a52021dd2e632c134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2015 Andrew Kelley
 *
 * This file is part of zig, which is MIT licensed.
 * See http://opensource.org/licenses/MIT
 */

#ifndef ZIG_AST_RENDER_HPP
#define ZIG_AST_RENDER_HPP

#include "all_types.hpp"
#include "parser.hpp"

#include <stdio.h>

void ast_print(FILE *f, AstNode *node, int indent);

void ast_render(CodeGen *codegen, FILE *f, AstNode *node, int indent_size);

const char *container_string(ContainerKind kind);

#endif