2016-01-28 12:10:38 +08:00
|
|
|
/*
|
|
|
|
* 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"
|
2016-04-07 02:38:12 +08:00
|
|
|
#include "parser.hpp"
|
2016-01-28 12:10:38 +08:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
void ast_print(FILE *f, AstNode *node, int indent);
|
|
|
|
|
2017-04-24 01:22:36 +08:00
|
|
|
void ast_render(CodeGen *codegen, FILE *f, AstNode *node, int indent_size);
|
2016-01-28 12:10:38 +08:00
|
|
|
|
2016-12-19 06:53:12 +08:00
|
|
|
const char *container_string(ContainerKind kind);
|
|
|
|
|
2016-01-28 12:10:38 +08:00
|
|
|
#endif
|
|
|
|
|