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

gen: compile time for (methods and fields) (#5957)

This commit is contained in:
Louis Schmieder
2020-07-25 00:02:44 +02:00
committed by GitHub
parent 2ccb28a93e
commit b58b15993c
12 changed files with 510 additions and 231 deletions

View File

@@ -282,3 +282,21 @@ pub:
value string
method string
}
pub struct FunctionData {
pub:
name string
attrs []string
ret_type string
@type int
}
pub struct FieldData {
pub:
name string
attrs []string
typ string
is_pub bool
is_mut bool
@type int
}