mirror of
https://github.com/github/codeql.git
synced 2025-12-23 04:06:37 +01:00
renamed "externalmoduledeclaration" to "external_module_declaration"
This commit is contained in:
@@ -146,7 +146,7 @@ jump_targets (unique int jump: @stmt ref,
|
||||
int target: @stmt ref);
|
||||
|
||||
@stmt_parent = @stmt | @toplevel | @function_expr | @arrow_function_expr;
|
||||
@stmt_container = @toplevel | @function | @namespace_declaration | @externalmoduledeclaration | @globalaugmentationdeclaration;
|
||||
@stmt_container = @toplevel | @function | @namespace_declaration | @external_module_declaration | @globalaugmentationdeclaration;
|
||||
|
||||
case @stmt.kind of
|
||||
0 = @emptystmt
|
||||
@@ -186,7 +186,7 @@ case @stmt.kind of
|
||||
| 34 = @interfacedeclaration
|
||||
| 35 = @typealiasdeclaration
|
||||
| 36 = @enumdeclaration
|
||||
| 37 = @externalmoduledeclaration
|
||||
| 37 = @external_module_declaration
|
||||
| 38 = @exportasnamespacedeclaration
|
||||
| 39 = @globalaugmentationdeclaration
|
||||
;
|
||||
@@ -200,7 +200,7 @@ case @stmt.kind of
|
||||
|
||||
is_instantiated(unique int decl: @namespace_declaration ref);
|
||||
|
||||
@declarable_node = @declstmt | @namespace_declaration | @classdeclstmt | @functiondeclstmt | @enumdeclaration | @externalmoduledeclaration | @globalaugmentationdeclaration | @field;
|
||||
@declarable_node = @declstmt | @namespace_declaration | @classdeclstmt | @functiondeclstmt | @enumdeclaration | @external_module_declaration | @globalaugmentationdeclaration | @field;
|
||||
has_declare_keyword(unique int stmt: @declarable_node ref);
|
||||
|
||||
is_for_await_of(unique int forof: @forofstmt ref);
|
||||
|
||||
Reference in New Issue
Block a user