@@ -21,19 +21,19 @@ type StrOpNode struct {
2121 Value types.String
2222}
2323
24- func (n StrOpNode ) isNode () {}
24+ func (n StrOpNode ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
2525
2626type BinaryNode struct {
2727 Left , Right IsNode
2828}
2929
30- func (n BinaryNode ) isNode () {}
30+ func (n BinaryNode ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
3131
3232type NodeTypeIfThenElse struct {
3333 If , Then , Else IsNode
3434}
3535
36- func (n NodeTypeIfThenElse ) isNode () {}
36+ func (n NodeTypeIfThenElse ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation
3737
3838type NodeTypeOr struct { BinaryNode }
3939
@@ -74,14 +74,14 @@ type NodeTypeLike struct {
7474 Value types.Pattern
7575}
7676
77- func (n NodeTypeLike ) isNode () {}
77+ func (n NodeTypeLike ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
7878
7979type NodeTypeIs struct {
8080 Left IsNode
8181 EntityType types.EntityType
8282}
8383
84- func (n NodeTypeIs ) isNode () {}
84+ func (n NodeTypeIs ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
8585
8686type NodeTypeIsIn struct {
8787 NodeTypeIs
@@ -106,7 +106,7 @@ type UnaryNode struct {
106106 Arg IsNode
107107}
108108
109- func (n UnaryNode ) isNode () {}
109+ func (n UnaryNode ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
110110
111111type NodeTypeNegate struct { UnaryNode }
112112type NodeTypeNot struct { UnaryNode }
@@ -120,7 +120,7 @@ type NodeTypeExtensionCall struct {
120120 Args []IsNode
121121}
122122
123- func (n NodeTypeExtensionCall ) isNode () {}
123+ func (n NodeTypeExtensionCall ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
124124
125125func stripNodes (args []Node ) []IsNode {
126126 if args == nil {
@@ -170,7 +170,7 @@ type NodeValue struct {
170170 Value types.Value
171171}
172172
173- func (n NodeValue ) isNode () {}
173+ func (n NodeValue ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
174174
175175type RecordElementNode struct {
176176 Key types.String
@@ -181,19 +181,19 @@ type NodeTypeRecord struct {
181181 Elements []RecordElementNode
182182}
183183
184- func (n NodeTypeRecord ) isNode () {}
184+ func (n NodeTypeRecord ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
185185
186186type NodeTypeSet struct {
187187 Elements []IsNode
188188}
189189
190- func (n NodeTypeSet ) isNode () {}
190+ func (n NodeTypeSet ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
191191
192192type NodeTypeVariable struct {
193193 Name types.String
194194}
195195
196- func (n NodeTypeVariable ) isNode () {}
196+ func (n NodeTypeVariable ) isNode () { _ = 0 } // No-op statement injected for code coverage instrumentation{ }
197197
198198type IsNode interface {
199199 isNode ()
0 commit comments