@@ -389,6 +389,12 @@ module Generated {
389389 /** Gets the location of this element. */
390390 override Location getLocation ( ) { dataclass_def ( this , _, result ) }
391391
392+ /** Gets the node corresponding to the field `extends`. */
393+ AstNode getExtends ( int i ) { dataclass_extends ( this , i , result ) }
394+
395+ /** Gets the node corresponding to the field `instanceof`. */
396+ AstNode getInstanceof ( int i ) { dataclass_instanceof ( this , i , result ) }
397+
392398 /** Gets the node corresponding to the field `name`. */
393399 ClassName getName ( ) { dataclass_def ( this , result , _) }
394400
@@ -397,7 +403,10 @@ module Generated {
397403
398404 /** Gets a field or child node of this node. */
399405 override AstNode getAFieldOrChild ( ) {
400- dataclass_def ( this , result , _) or dataclass_child ( this , _, result )
406+ dataclass_extends ( this , _, result ) or
407+ dataclass_instanceof ( this , _, result ) or
408+ dataclass_def ( this , result , _) or
409+ dataclass_child ( this , _, result )
401410 }
402411 }
403412
0 commit comments