renamed "astypeassertion" to "as_type_assertion"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:54:37 +02:00
parent ccdfe25f88
commit 56c440b577
3 changed files with 4 additions and 4 deletions

View File

@@ -1205,7 +1205,7 @@ class TypeAssertion extends Expr, @typeassertion {
/** /**
* A type assertion specifically of the form `E as T` (as opposed to the `<T> E` syntax). * A type assertion specifically of the form `E as T` (as opposed to the `<T> E` syntax).
*/ */
class AsTypeAssertion extends TypeAssertion, @astypeassertion { } class AsTypeAssertion extends TypeAssertion, @as_type_assertion { }
/** /**
* A type assertion specifically of the form `<T> E` (as opposed to the `E as T` syntax). * A type assertion specifically of the form `<T> E` (as opposed to the `E as T` syntax).

View File

@@ -337,7 +337,7 @@ case @expr.kind of
| 99 = @dynamic_import | 99 = @dynamic_import
| 100 = @expression_with_type_arguments | 100 = @expression_with_type_arguments
| 101 = @prefix_type_assertion | 101 = @prefix_type_assertion
| 102 = @astypeassertion | 102 = @as_type_assertion
| 103 = @export_varaccess | 103 = @export_varaccess
| 104 = @decorator_list | 104 = @decorator_list
| 105 = @non_null_assertion | 105 = @non_null_assertion
@@ -391,7 +391,7 @@ case @expr.kind of
@import_or_export_declaration = @import_declaration | @exportdeclaration; @import_or_export_declaration = @import_declaration | @exportdeclaration;
@typeassertion = @astypeassertion | @prefix_type_assertion; @typeassertion = @as_type_assertion | @prefix_type_assertion;
@classdefinition = @class_decl_stmt | @class_expr; @classdefinition = @class_decl_stmt | @class_expr;
@interfacedefinition = @interfacedeclaration | @interface_typeexpr; @interfacedefinition = @interfacedeclaration | @interface_typeexpr;

View File

@@ -586,7 +586,7 @@
<v>1721</v> <v>1721</v>
</e> </e>
<e> <e>
<k>@astypeassertion</k> <k>@as_type_assertion</k>
<v>368</v> <v>368</v>
</e> </e>
<e> <e>