Function containerDeclRoot [src]
Prototype
pub fn containerDeclRoot(tree: Ast) full.ContainerDecl
Parameters
tree: Ast
Source
pub fn containerDeclRoot(tree: Ast) full.ContainerDecl {
return .{
.layout_token = null,
.ast = .{
.main_token = 0,
.enum_token = null,
.members = tree.rootDecls(),
.arg = .none,
},
};
}