diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-06 19:50:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-06 19:50:16 +0300 |
commit | 51096a574a96d741fe875d5bd954f9fea382aacb (patch) | |
tree | 6bc03f40a52894e0035618da3b7124558c2c5bb8 /src/nodes | |
parent | e672f8cabc8811d6071d0a08aa481b706a7f175e (diff) | |
download | paranucker-51096a574a96d741fe875d5bd954f9fea382aacb.tar.gz paranucker-51096a574a96d741fe875d5bd954f9fea382aacb.tar.bz2 paranucker-51096a574a96d741fe875d5bd954f9fea382aacb.tar.xz paranucker-51096a574a96d741fe875d5bd954f9fea382aacb.zip |
Move nodes and parsers to dirs based on types.
Diffstat (limited to 'src/nodes')
-rw-r--r-- | src/nodes/cst/integer_cst.h (renamed from src/nodes/integer_cst.h) | 0 | ||||
-rw-r--r-- | src/nodes/decl/function_decl.h (renamed from src/nodes/function_decl.h) | 7 | ||||
-rw-r--r-- | src/nodes/decl/parm_decl.h (renamed from src/nodes/parm_decl.h) | 2 | ||||
-rw-r--r-- | src/nodes/decl/result_decl.h (renamed from src/nodes/result_decl.h) | 0 | ||||
-rw-r--r-- | src/nodes/decl/type_decl.h (renamed from src/nodes/type_decl.h) | 0 | ||||
-rw-r--r-- | src/nodes/expr/return_expr.h (renamed from src/nodes/return_expr.h) | 0 | ||||
-rw-r--r-- | src/nodes/list/statement_list.h (renamed from src/nodes/statement_list.h) | 0 | ||||
-rw-r--r-- | src/nodes/list/tree_list.h (renamed from src/nodes/tree_list.h) | 0 | ||||
-rw-r--r-- | src/nodes/type/function_type.h (renamed from src/nodes/function_type.h) | 4 | ||||
-rw-r--r-- | src/nodes/type/integer_type.h (renamed from src/nodes/integer_type.h) | 2 | ||||
-rw-r--r-- | src/nodes/type/pointer_type.h (renamed from src/nodes/pointer_type.h) | 0 | ||||
-rw-r--r-- | src/nodes/type/void_type.h (renamed from src/nodes/void_type.h) | 0 |
12 files changed, 8 insertions, 7 deletions
diff --git a/src/nodes/integer_cst.h b/src/nodes/cst/integer_cst.h index 2cf0018..2cf0018 100644 --- a/src/nodes/integer_cst.h +++ b/src/nodes/cst/integer_cst.h diff --git a/src/nodes/function_decl.h b/src/nodes/decl/function_decl.h index e594a0f..f3fbc5f 100644 --- a/src/nodes/function_decl.h +++ b/src/nodes/decl/function_decl.h @@ -20,9 +20,10 @@ #ifndef NODES_FUNCTIONDECLNODE_H #define NODES_FUNCTIONDECLNODE_H -#include "nodes/function_type.h" -#include "nodes/parm_decl.h" -#include "nodes/result_decl.h" +#include "nodes/type/function_type.h" + +#include "nodes/decl/parm_decl.h" +#include "nodes/decl/result_decl.h" #include "nodes/base/decl.h" diff --git a/src/nodes/parm_decl.h b/src/nodes/decl/parm_decl.h index 50e1e4d..f408019 100644 --- a/src/nodes/parm_decl.h +++ b/src/nodes/decl/parm_decl.h @@ -20,7 +20,7 @@ #ifndef NODES_PARMDECLNODE_H #define NODES_PARMDECLNODE_H -#include "nodes/integer_cst.h" +#include "nodes/cst/integer_cst.h" #include "nodes/base/decl.h" #include "nodes/base/type.h" diff --git a/src/nodes/result_decl.h b/src/nodes/decl/result_decl.h index e3e0944..e3e0944 100644 --- a/src/nodes/result_decl.h +++ b/src/nodes/decl/result_decl.h diff --git a/src/nodes/type_decl.h b/src/nodes/decl/type_decl.h index 8308806..8308806 100644 --- a/src/nodes/type_decl.h +++ b/src/nodes/decl/type_decl.h diff --git a/src/nodes/return_expr.h b/src/nodes/expr/return_expr.h index efdcc83..efdcc83 100644 --- a/src/nodes/return_expr.h +++ b/src/nodes/expr/return_expr.h diff --git a/src/nodes/statement_list.h b/src/nodes/list/statement_list.h index db79463..db79463 100644 --- a/src/nodes/statement_list.h +++ b/src/nodes/list/statement_list.h diff --git a/src/nodes/tree_list.h b/src/nodes/list/tree_list.h index ffe374c..ffe374c 100644 --- a/src/nodes/tree_list.h +++ b/src/nodes/list/tree_list.h diff --git a/src/nodes/function_type.h b/src/nodes/type/function_type.h index 1dec238..7c90104 100644 --- a/src/nodes/function_type.h +++ b/src/nodes/type/function_type.h @@ -20,10 +20,10 @@ #ifndef NODES_FUNCTIONTYPENODE_H #define NODES_FUNCTIONTYPENODE_H -#include "nodes/tree_list.h" - #include "nodes/base/type.h" +#include "nodes/list/tree_list.h" + #include <string> struct FunctionTypeNode : public TypeNode diff --git a/src/nodes/integer_type.h b/src/nodes/type/integer_type.h index dfbdcaf..ae6747c 100644 --- a/src/nodes/integer_type.h +++ b/src/nodes/type/integer_type.h @@ -20,7 +20,7 @@ #ifndef NODES_INTEGERTYPENODE_H #define NODES_INTEGERTYPENODE_H -#include "nodes/integer_cst.h" +#include "nodes/cst/integer_cst.h" #include "nodes/base/type.h" diff --git a/src/nodes/pointer_type.h b/src/nodes/type/pointer_type.h index f93bfd3..f93bfd3 100644 --- a/src/nodes/pointer_type.h +++ b/src/nodes/type/pointer_type.h diff --git a/src/nodes/void_type.h b/src/nodes/type/void_type.h index c6292d1..c6292d1 100644 --- a/src/nodes/void_type.h +++ b/src/nodes/type/void_type.h |