1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: make type system use source name & cleanup storing name in fields

This commit is contained in:
joe-conigliaro
2020-12-06 14:55:08 +11:00
parent 028c82e255
commit a05408b49a
14 changed files with 211 additions and 299 deletions

View File

@ -265,7 +265,7 @@ pub fn (mut parser Parser) finalize() {
parser.generate_tag()
}
pub fn (parser Parser) get_tags() []Tag_ptr {
pub fn (parser Parser) get_tags() []&Tag {
return parser.tags
}

View File

@ -32,7 +32,7 @@ fn (mut tag Tag) add_child(t &Tag) int {
return tag.children.len
}
pub fn (tag Tag) get_children() []Tag_ptr {
pub fn (tag Tag) get_children() []&Tag {
return tag.children
}