From 16e313088238701973b35981f3b702b7b144d9c9 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 23 May 2019 10:09:33 +0200 Subject: [PATCH] :shirt: Clean traverse --- src/parse/traverse.c | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/src/parse/traverse.c b/src/parse/traverse.c index 55c3ad3b..637d93e3 100644 --- a/src/parse/traverse.c +++ b/src/parse/traverse.c @@ -4,37 +4,6 @@ #include "env.h" #include "traverse.h" -ANN m_bool scan0_ast(const Env env, Ast ast); -ANN m_bool scan1_ast(const Env env, Ast ast); -ANN m_bool scan2_ast(const Env env, Ast ast); -ANN m_bool check_ast(const Env env, Ast ast); - -ANN m_bool scan1_exp_decl(const Env env, const Exp_Decl* decl); -ANN m_bool scan2_exp_decl(const Env env, const Exp_Decl* decl); -ANN Type check_exp_decl(const Env env, const Exp_Decl* decl); - -ANN m_bool scan1_func_def(const Env env, const Func_Def def); -ANN m_bool scan2_func_def(const Env env, const Func_Def def); -ANN m_bool check_func_def(const Env env, const Func_Def def); - -ANN m_bool scan0_stmt_fptr(const Env env, const Stmt_Fptr def); -ANN m_bool scan1_stmt_fptr(const Env env, const Stmt_Fptr def); -ANN m_bool scan2_stmt_fptr(const Env env, const Stmt_Fptr def); -//ANN m_bool check_stmt_fptr(const Env env, const Stmt_Fptr def); - -ANN m_bool scan1_stmt_union(const Env env, const Stmt_Union def); -ANN m_bool scan2_stmt_union(const Env env, const Stmt_Union def); -ANN m_bool check_stmt_union(const Env env, const Stmt_Union def); - -ANN m_bool scan0_stmt_enum(const Env env, const Stmt_Enum def); -ANN m_bool scan1_stmt_enum(const Env env, const Stmt_Enum def); -//ANN m_bool scan2_stmt_enum(const Env env, const Stmt_Enum def); -ANN m_bool check_stmt_enum(const Env env, const Stmt_Enum def); - -ANN m_bool scan1_class_def(const Env env, const Class_Def def); -ANN m_bool scan2_class_def(const Env env, const Class_Def def); -ANN m_bool check_class_def(const Env env, const Class_Def def); - ANN m_bool traverse_ast(const Env env, const Ast ast) { CHECK_BB(scan0_ast(env, ast)) CHECK_BB(scan1_ast(env, ast)) -- 2.43.0