mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
renamed "exportnameddeclaration" to "export_named_declaration"
This commit is contained in:
@@ -351,7 +351,7 @@ class ExportDefaultDeclaration extends ExportDeclaration, @export_default_declar
|
||||
* export { x } from 'a';
|
||||
* ```
|
||||
*/
|
||||
class ExportNamedDeclaration extends ExportDeclaration, @exportnameddeclaration {
|
||||
class ExportNamedDeclaration extends ExportDeclaration, @export_named_declaration {
|
||||
/** Gets the operand statement or expression that is exported by this declaration. */
|
||||
ExprOrStmt getOperand() { result = getChild(-1) }
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ case @stmt.kind of
|
||||
| 27 = @import_declaration
|
||||
| 28 = @export_all_declaration
|
||||
| 29 = @export_default_declaration
|
||||
| 30 = @exportnameddeclaration
|
||||
| 30 = @export_named_declaration
|
||||
| 31 = @namespace_declaration
|
||||
| 32 = @importequalsdeclaration
|
||||
| 33 = @exportassigndeclaration
|
||||
@@ -193,7 +193,7 @@ case @stmt.kind of
|
||||
|
||||
@declstmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt;
|
||||
|
||||
@exportdeclaration = @export_all_declaration | @export_default_declaration | @exportnameddeclaration;
|
||||
@exportdeclaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
|
||||
|
||||
@namespacedefinition = @namespace_declaration | @enumdeclaration;
|
||||
@typedefinition = @classdefinition | @interfacedeclaration | @enumdeclaration | @typealiasdeclaration | @enum_member;
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
<v>5</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@exportnameddeclaration</k>
|
||||
<k>@export_named_declaration</k>
|
||||
<v>31</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user