std.meta/trait: def/definition => decl/declaration
TypeInfo: defs/Definition => decls/Declarations
This commit is contained in:
@@ -7762,7 +7762,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) {
|
||||
" pub const Struct = struct {\n"
|
||||
" layout: ContainerLayout,\n"
|
||||
" fields: []StructField,\n"
|
||||
" defs: []Definition,\n"
|
||||
" decls: []Declaration,\n"
|
||||
" };\n"
|
||||
"\n"
|
||||
" pub const Optional = struct {\n"
|
||||
@@ -7790,7 +7790,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) {
|
||||
" layout: ContainerLayout,\n"
|
||||
" tag_type: type,\n"
|
||||
" fields: []EnumField,\n"
|
||||
" defs: []Definition,\n"
|
||||
" decls: []Declaration,\n"
|
||||
" };\n"
|
||||
"\n"
|
||||
" pub const UnionField = struct {\n"
|
||||
@@ -7803,7 +7803,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) {
|
||||
" layout: ContainerLayout,\n"
|
||||
" tag_type: ?type,\n"
|
||||
" fields: []UnionField,\n"
|
||||
" defs: []Definition,\n"
|
||||
" decls: []Declaration,\n"
|
||||
" };\n"
|
||||
"\n"
|
||||
" pub const CallingConvention = enum {\n"
|
||||
@@ -7839,7 +7839,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) {
|
||||
" child: type,\n"
|
||||
" };\n"
|
||||
"\n"
|
||||
" pub const Definition = struct {\n"
|
||||
" pub const Declaration = struct {\n"
|
||||
" name: []const u8,\n"
|
||||
" is_pub: bool,\n"
|
||||
" data: Data,\n"
|
||||
@@ -7847,9 +7847,9 @@ Buf *codegen_generate_builtin_source(CodeGen *g) {
|
||||
" pub const Data = union(enum) {\n"
|
||||
" Type: type,\n"
|
||||
" Var: type,\n"
|
||||
" Fn: FnDef,\n"
|
||||
" Fn: FnDecl,\n"
|
||||
"\n"
|
||||
" pub const FnDef = struct {\n"
|
||||
" pub const FnDecl = struct {\n"
|
||||
" fn_type: type,\n"
|
||||
" inline_type: Inline,\n"
|
||||
" calling_convention: CallingConvention,\n"
|
||||
|
||||
Reference in New Issue
Block a user