File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -793,13 +793,11 @@ module API {
793
793
or
794
794
pos .isAnyNamed ( ) and
795
795
result = Label:: keywordParameter ( _)
796
+ //
796
797
// Note: there is currently no API graph label for `self`.
797
798
// It was omitted since in practice it means going back to where you came from.
798
799
// For example, `base.getMethod("foo").getSelf()` would just be `base`.
799
800
// However, it's possible we'll need it later, for identifying `self` parameters or post-update nodes.
800
- // or
801
- // pos.isSelf() and
802
- // ...
803
801
}
804
802
805
803
/** Gets the API graph label corresponding to the given parameter position. */
@@ -829,10 +827,11 @@ module API {
829
827
or
830
828
pos .isAnyNamed ( ) and
831
829
result = Label:: keywordParameter ( _)
832
- // TODO: needs handling of `self` ParameterPosition
833
- // or
834
- // pos.isSelf() and
835
- // ...
830
+ //
831
+ // Note: there is currently no API graph label for `self`.
832
+ // It was omitted since in practice it means going back to where you came from.
833
+ // For example, `base.getMethod("foo").getSelf()` would just be `base`.
834
+ // However, it's possible we'll need it later, for identifying `self` parameters or post-update nodes.
836
835
}
837
836
}
838
837
}
You can’t perform that action at this time.
0 commit comments