mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ast: add str for Module (#8072)
This commit is contained in:
parent
1e853b0efc
commit
e8ab79205f
@ -347,6 +347,9 @@ pub fn (node Stmt) str() string {
|
||||
EnumDecl {
|
||||
return 'enum $node.name { $node.fields.len fields }'
|
||||
}
|
||||
Module {
|
||||
return 'module $node.name'
|
||||
}
|
||||
StructDecl {
|
||||
return 'struct $node.name { $node.fields.len fields }'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user