@@ -779,7 +779,7 @@ module API {
779
779
MkLabelAwait ( )
780
780
781
781
/** A label for a module. */
782
- class LabelModule extends ApiLabel {
782
+ class LabelModule extends ApiLabel , MkLabelModule {
783
783
string mod ;
784
784
785
785
LabelModule ( ) { this = MkLabelModule ( mod ) }
@@ -791,7 +791,7 @@ module API {
791
791
}
792
792
793
793
/** A label for the member named `prop`. */
794
- class LabelMember extends ApiLabel {
794
+ class LabelMember extends ApiLabel , MkLabelMember {
795
795
string member ;
796
796
797
797
LabelMember ( ) { this = MkLabelMember ( member ) }
@@ -803,14 +803,12 @@ module API {
803
803
}
804
804
805
805
/** A label for a member with an unknown name. */
806
- class LabelUnknownMember extends ApiLabel {
807
- LabelUnknownMember ( ) { this = MkLabelUnknownMember ( ) }
808
-
806
+ class LabelUnknownMember extends ApiLabel , MkLabelUnknownMember {
809
807
override string toString ( ) { result = "getUnknownMember()" }
810
808
}
811
809
812
810
/** A label for parameter `i`. */
813
- class LabelParameter extends ApiLabel {
811
+ class LabelParameter extends ApiLabel , MkLabelParameter {
814
812
int i ;
815
813
816
814
LabelParameter ( ) { this = MkLabelParameter ( i ) }
@@ -822,7 +820,7 @@ module API {
822
820
}
823
821
824
822
/** A label for a keyword parameter `name`. */
825
- class LabelKeywordParameter extends ApiLabel {
823
+ class LabelKeywordParameter extends ApiLabel , MkLabelKeywordParameter {
826
824
string name ;
827
825
828
826
LabelKeywordParameter ( ) { this = MkLabelKeywordParameter ( name ) }
@@ -834,23 +832,17 @@ module API {
834
832
}
835
833
836
834
/** A label that gets the return value of a function. */
837
- class LabelReturn extends ApiLabel {
838
- LabelReturn ( ) { this = MkLabelReturn ( ) }
839
-
835
+ class LabelReturn extends ApiLabel , MkLabelReturn {
840
836
override string toString ( ) { result = "getReturn()" }
841
837
}
842
838
843
839
/** A label that gets the subclass of a class. */
844
- class LabelSubclass extends ApiLabel {
845
- LabelSubclass ( ) { this = MkLabelSubclass ( ) }
846
-
840
+ class LabelSubclass extends ApiLabel , MkLabelSubclass {
847
841
override string toString ( ) { result = "getASubclass()" }
848
842
}
849
843
850
844
/** A label for awaited values. */
851
- class LabelAwait extends ApiLabel {
852
- LabelAwait ( ) { this = MkLabelAwait ( ) }
853
-
845
+ class LabelAwait extends ApiLabel , MkLabelAwait {
854
846
override string toString ( ) { result = "getAwaited()" }
855
847
}
856
848
}
0 commit comments