@@ -317,7 +317,6 @@ module API {
317
317
or
318
318
exists ( Node pred , ApiLabel lbl , string predpath |
319
319
Impl:: edge ( pred , lbl , this ) and
320
- not lbl instanceof Label:: LabelAlias and
321
320
predpath = pred .getAPath ( length - 1 ) and
322
321
exists ( string space | if length = 1 then space = "" else space = " " |
323
322
result = "(" + lbl + space + predpath + ")" and
@@ -1033,7 +1032,6 @@ module API {
1033
1032
MkLabelReturn ( ) or
1034
1033
MkLabelPromised ( ) or
1035
1034
MkLabelPromisedError ( ) or
1036
- MkLabelAlias ( ) or
1037
1035
MkLabelEntryPoint ( API:: EntryPoint e )
1038
1036
1039
1037
class LabelEntryPoint extends ApiLabel {
@@ -1046,12 +1044,6 @@ module API {
1046
1044
override string toString ( ) { result = e }
1047
1045
}
1048
1046
1049
- class LabelAlias extends ApiLabel {
1050
- LabelAlias ( ) { this = MkLabelAlias ( ) }
1051
-
1052
- override string toString ( ) { result = "" }
1053
- }
1054
-
1055
1047
class LabelPromised extends ApiLabel {
1056
1048
LabelPromised ( ) { this = MkLabelPromised ( ) }
1057
1049
@@ -1174,9 +1166,6 @@ module API {
1174
1166
/** Gets the `return` edge label. */
1175
1167
LabelReturn return ( ) { any ( ) }
1176
1168
1177
- /** Gets the `alias` (empty) edge label. */
1178
- LabelAlias alias ( ) { any ( ) }
1179
-
1180
1169
/** Gets the `promised` edge label connecting a promise to its contained value. */
1181
1170
MkLabelPromised promised ( ) { any ( ) }
1182
1171
0 commit comments