Nearly complete Zig AST
This commit is contained in:
@@ -28,14 +28,12 @@ return;
|
||||
ContainerDocComment: "Hello, world!",
|
||||
ContainerMembers: []*zig.ContainerMember{
|
||||
{
|
||||
Decls: []zig.Decl{
|
||||
&zig.FnDecl{
|
||||
Name: "main",
|
||||
ReturnType: "void",
|
||||
Body: &zig.Block{
|
||||
Stmts: []zig.Stmt{
|
||||
&zig.ReturnStmt{},
|
||||
},
|
||||
Decl: &zig.FnDecl{
|
||||
Name: "main",
|
||||
ReturnType: &zig.Identifier{Name: "void"},
|
||||
Body: &zig.Block{
|
||||
Stmts: []zig.Stmt{
|
||||
&zig.ReturnStmt{},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user