250250 pos token.Pos
251251}
252252
253- @[minify]
254253pub struct StringLiteral {
255254pub :
256255 val string
@@ -302,7 +301,6 @@ pub enum GenericKindField {
302301}
303302
304303// `foo.bar`
305- @[minify]
306304pub struct SelectorExpr {
307305pub :
308306 pos token.Pos
353351 pos token.Pos
354352}
355353
356- @[minify]
357354pub struct StructField {
358355pub :
359356 pos token.Pos
@@ -416,7 +413,6 @@ pub mut:
416413}
417414
418415// const declaration
419- @[minify]
420416pub struct ConstDecl {
421417pub :
422418 is_pub bool
@@ -428,7 +424,6 @@ pub mut:
428424 is_block bool // const() block
429425}
430426
431- @[minify]
432427pub struct StructDecl {
433428pub :
434429 pos token.Pos
472467 comments []Comment
473468}
474469
475- @[minify]
476470pub struct InterfaceDecl {
477471pub :
478472 name string
@@ -516,7 +510,6 @@ pub mut:
516510// ...a
517511// field1: 'hello'
518512// }`
519- @[minify]
520513pub struct StructInit {
521514pub :
522515 pos token.Pos
@@ -581,7 +574,6 @@ pub mut:
581574}
582575
583576// function or method declaration
584- @[minify]
585577pub struct FnDecl {
586578pub :
587579 name string // 'math.bits.normalize'
@@ -675,7 +667,6 @@ pub fn (f &FnDecl) new_method_with_receiver_type(new_type_ Type) FnDecl {
675667 }
676668}
677669
678- @[minify]
679670pub struct FnTrace {
680671pub mut :
681672 name string
687678 is_fn_var bool
688679}
689680
690- @[minify]
691681pub struct Fn {
692682pub :
693683 is_variadic bool
@@ -739,7 +729,6 @@ fn (f &Fn) method_equals(o &Fn) bool {
739729 && f.name == o.name
740730}
741731
742- @[minify]
743732pub struct Param {
744733pub :
745734 pos token.Pos
@@ -805,7 +794,6 @@ fn (p []Param) equals(o []Param) bool {
805794}
806795
807796// break, continue
808- @[minify]
809797pub struct BranchStmt {
810798pub :
811799 kind token.Kind
@@ -881,7 +869,6 @@ pub enum CallKind {
881869}
882870
883871// function or method call expr
884- @[minify]
885872pub struct CallExpr {
886873pub :
887874 pos token.Pos
@@ -939,7 +926,6 @@ pub struct AutofreeArgVar {
939926*/
940927
941928// function call argument: `f(callarg)`
942- @[minify]
943929pub struct CallArg {
944930pub :
945931 is_mut bool
@@ -977,7 +963,6 @@ pub enum ComptimeVarKind {
977963 aggregate // aggregate var
978964}
979965
980- @[minify]
981966pub struct Var {
982967pub :
983968 name string
@@ -1016,7 +1001,6 @@ pub mut:
10161001
10171002// used for smartcasting only
10181003// struct fields change type in scopes
1019- @[minify]
10201004pub struct ScopeStructField {
10211005pub :
10221006 struct_type Type // type of struct
@@ -1031,7 +1015,6 @@ pub:
10311015 // 12 <- the current casted type (typ)
10321016}
10331017
1034- @[minify]
10351018pub struct GlobalField {
10361019pub :
10371020 name string
@@ -1066,7 +1049,6 @@ pub mut:
10661049 end_comments []Comment
10671050}
10681051
1069- @[minify]
10701052pub struct EmbeddedFile {
10711053pub :
10721054 compression_type string
@@ -1154,7 +1136,6 @@ pub mut:
11541136
11551137// TODO: (joe) remove completely, use ident.obj
11561138// instead which points to the scope object
1157- @[minify]
11581139pub struct IdentVar {
11591140pub mut :
11601141 typ Type
@@ -1177,7 +1158,6 @@ pub enum IdentKind {
11771158}
11781159
11791160// A single identifier
1180- @[minify]
11811161pub struct Ident {
11821162pub :
11831163 language Language
@@ -1239,7 +1219,6 @@ pub fn (i &Ident) var_info() IdentVar {
12391219
12401220// left op right
12411221// See: token.Kind.is_infix
1242- @[minify]
12431222pub struct InfixExpr {
12441223pub :
12451224 op token.Kind
@@ -1278,7 +1257,6 @@ pub mut:
12781257}
12791258
12801259// See: token.Kind.is_prefix
1281- @[minify]
12821260pub struct PrefixExpr {
12831261pub :
12841262 op token.Kind
@@ -1290,7 +1268,6 @@ pub mut:
12901268 is_option bool // IfGuard
12911269}
12921270
1293- @[minify]
12941271pub struct IndexExpr {
12951272pub :
12961273 pos token.Pos
@@ -1309,7 +1286,6 @@ pub mut:
13091286 typ Type
13101287}
13111288
1312- @[minify]
13131289pub struct IfExpr {
13141290pub :
13151291 is_comptime bool
@@ -1357,7 +1333,6 @@ pub mut:
13571333 scope & Scope = unsafe { nil }
13581334}
13591335
1360- @[minify]
13611336pub struct MatchExpr {
13621337pub :
13631338 is_comptime bool
@@ -1399,7 +1374,6 @@ pub mut:
13991374 expected_type Type // for debugging only
14001375}
14011376
1402- @[minify]
14031377pub struct SelectBranch {
14041378pub :
14051379 pos token.Pos
@@ -1447,7 +1421,6 @@ pub mut:
14471421 scope & Scope = unsafe { nil }
14481422}
14491423
1450- @[minify]
14511424pub struct ForInStmt {
14521425pub :
14531426 key_var string
@@ -1509,7 +1482,6 @@ pub mut:
15091482}
15101483
15111484// variable assign statement
1512- @[minify]
15131485pub struct AssignStmt {
15141486pub :
15151487 op token.Kind // include: =,:=,+=,-=,*=,/= and so on; for a list of all the assign operators, see vlib/token/token.v
@@ -1566,7 +1538,6 @@ pub mut:
15661538}
15671539
15681540// enum declaration
1569- @[minify]
15701541pub struct EnumDecl {
15711542pub :
15721543 name string
@@ -1636,7 +1607,6 @@ pub enum DeferMode {
16361607// TODO: handle this differently
16371608// v1 excludes non current os ifdefs so
16381609// the defer's never get added in the first place
1639- @[minify]
16401610pub struct DeferStmt {
16411611pub :
16421612 pos token.Pos
@@ -1658,7 +1628,6 @@ pub mut:
16581628 comments []Comment
16591629}
16601630
1661- @[minify]
16621631pub struct GoExpr {
16631632pub :
16641633 pos token.Pos
@@ -1667,7 +1636,6 @@ pub mut:
16671636 is_expr bool
16681637}
16691638
1670- @[minify]
16711639pub struct SpawnExpr {
16721640pub :
16731641 pos token.Pos
@@ -1690,7 +1658,6 @@ pub:
16901658 pos token.Pos
16911659}
16921660
1693- @[minify]
16941661pub struct ArrayInit {
16951662pub :
16961663 pos token.Pos // `[]` in []Type{} position
@@ -1738,7 +1705,6 @@ pub mut:
17381705 elem_type Type
17391706}
17401707
1741- @[minify]
17421708pub struct MapInit {
17431709pub :
17441710 pos token.Pos
@@ -1758,7 +1724,6 @@ pub mut:
17581724}
17591725
17601726// s[10..20]
1761- @[minify]
17621727pub struct RangeExpr {
17631728pub :
17641729 has_high bool
@@ -1771,7 +1736,6 @@ pub mut:
17711736 typ Type // filled in by checker; the type of `0...1` is `int` for example, while `a`...`z` is `rune` etc
17721737}
17731738
1774- @[minify]
17751739pub struct CastExpr {
17761740pub mut :
17771741 arg Expr // `n` in `string(buf, n)`
@@ -1783,7 +1747,6 @@ pub mut:
17831747 pos token.Pos
17841748}
17851749
1786- @[minify]
17871750pub struct AsmStmt {
17881751pub :
17891752 arch pref.Arch
@@ -1801,7 +1764,6 @@ pub mut:
18011764 local_labels []string // local to the assembly block
18021765}
18031766
1804- @[minify]
18051767pub struct AsmTemplate {
18061768pub mut :
18071769 name string
@@ -1989,7 +1951,6 @@ pub:
19891951}
19901952
19911953// `assert a == 0, 'a is zero'`
1992- @[minify]
19931954pub struct AssertStmt {
19941955pub :
19951956 pos token.Pos
@@ -2046,7 +2007,6 @@ pub:
20462007*/
20472008
20482009// deprecated
2049- @[minify]
20502010pub struct Assoc {
20512011pub :
20522012 var_name string
@@ -2078,7 +2038,6 @@ pub mut:
20782038 typ Type
20792039}
20802040
2081- @[minify]
20822041pub struct OffsetOf {
20832042pub :
20842043 struct_type Type
@@ -2109,7 +2068,6 @@ pub mut:
21092068 expr Expr
21102069}
21112070
2112- @[minify]
21132071pub struct TypeOf {
21142072pub :
21152073 is_type bool
@@ -2119,7 +2077,6 @@ pub mut:
21192077 typ Type
21202078}
21212079
2122- @[minify]
21232080pub struct DumpExpr {
21242081pub :
21252082 pos token.Pos
@@ -2154,7 +2111,6 @@ pub mut:
21542111 val string
21552112}
21562113
2157- @[minify]
21582114pub struct ComptimeSelector {
21592115pub :
21602116 has_parens bool // if $() is used, for vfmt
@@ -2183,7 +2139,6 @@ pub enum ComptimeCallKind {
21832139 compile_error
21842140}
21852141
2186- @[minify]
21872142pub struct ComptimeCall {
21882143pub :
21892144 pos token.Pos
0 commit comments