Big renaming: AstNode to Ast

This commit is contained in:
gingerBill
2018-06-17 10:58:59 +01:00
parent e5aff6fd6d
commit c2ca24a486
14 changed files with 1578 additions and 1578 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
struct Scope;
struct AstNode;
struct Ast;
enum BasicKind {
Basic_Invalid,
@@ -81,7 +81,7 @@ struct BasicType {
struct TypeStruct {
Array<Entity *> fields;
AstNode *node;
Ast *node;
Scope * scope;
Array<i64> offsets;
@@ -130,7 +130,7 @@ struct TypeStruct {
TYPE_KIND(Struct, TypeStruct) \
TYPE_KIND(Enum, struct { \
Array<Entity *> fields; \
AstNode *node; \
Ast *node; \
Scope * scope; \
Entity * names; \
Type * base_type; \
@@ -141,7 +141,7 @@ struct TypeStruct {
}) \
TYPE_KIND(Union, struct { \
Array<Type *> variants; \
AstNode *node; \
Ast *node; \
Scope * scope; \
i64 variant_block_size; \
i64 custom_align; \
@@ -153,7 +153,7 @@ struct TypeStruct {
bool are_offsets_set; \
}) \
TYPE_KIND(Proc, struct { \
AstNode *node; \
Ast *node; \
Scope * scope; \
Type * params; /* Type_Tuple */ \
Type * results; /* Type_Tuple */ \