mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "exportdeclaration" to "export_declaration"
This commit is contained in:
@@ -230,7 +230,7 @@ class SelectiveImportDeclaration extends ImportDeclaration {
|
|||||||
* export x from 'a'; // default re-export declaration
|
* export x from 'a'; // default re-export declaration
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
abstract class ExportDeclaration extends Stmt, @exportdeclaration {
|
abstract class ExportDeclaration extends Stmt, @export_declaration {
|
||||||
/** Gets the module to which this export declaration belongs. */
|
/** Gets the module to which this export declaration belongs. */
|
||||||
ES2015Module getEnclosingModule() { this = result.getAnExport() }
|
ES2015Module getEnclosingModule() { this = result.getAnExport() }
|
||||||
|
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ case @stmt.kind of
|
|||||||
|
|
||||||
@decl_stmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt;
|
@decl_stmt = @var_decl_stmt | @const_decl_stmt | @let_stmt | @legacy_let_stmt;
|
||||||
|
|
||||||
@exportdeclaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
|
@export_declaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
|
||||||
|
|
||||||
@namespacedefinition = @namespace_declaration | @enum_declaration;
|
@namespacedefinition = @namespace_declaration | @enum_declaration;
|
||||||
@typedefinition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member;
|
@typedefinition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member;
|
||||||
@@ -389,7 +389,7 @@ case @expr.kind of
|
|||||||
|
|
||||||
@exportspecifier = @named_export_specifier | @export_default_specifier | @export_namespace_specifier;
|
@exportspecifier = @named_export_specifier | @export_default_specifier | @export_namespace_specifier;
|
||||||
|
|
||||||
@import_or_export_declaration = @import_declaration | @exportdeclaration;
|
@import_or_export_declaration = @import_declaration | @export_declaration;
|
||||||
|
|
||||||
@typeassertion = @as_type_assertion | @prefix_type_assertion;
|
@typeassertion = @as_type_assertion | @prefix_type_assertion;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user