mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: get_type2() for the upcoming type system refactoring
This commit is contained in:
@ -53,6 +53,7 @@ enum TypeCategory {
|
||||
union_ // 5
|
||||
c_struct
|
||||
c_typedef
|
||||
array
|
||||
}
|
||||
|
||||
struct Var {
|
||||
@ -96,6 +97,7 @@ mut:
|
||||
// This information is needed in the first pass.
|
||||
is_placeholder bool
|
||||
gen_str bool // needs `.str()` method generation
|
||||
|
||||
}
|
||||
|
||||
struct TypeNode {
|
||||
|
Reference in New Issue
Block a user