mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
renamed "namespacedefinition" to "namespace_definition"
This commit is contained in:
@@ -6,7 +6,7 @@ import javascript
|
|||||||
* Declarations that declare an alias for a namespace (i.e. an import) are not
|
* Declarations that declare an alias for a namespace (i.e. an import) are not
|
||||||
* considered to be namespace definitions.
|
* considered to be namespace definitions.
|
||||||
*/
|
*/
|
||||||
class NamespaceDefinition extends Stmt, @namespacedefinition, AST::ValueNode {
|
class NamespaceDefinition extends Stmt, @namespace_definition, AST::ValueNode {
|
||||||
/**
|
/**
|
||||||
* DEPRECATED: Use `getIdentifier()` instead.
|
* DEPRECATED: Use `getIdentifier()` instead.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ case @stmt.kind of
|
|||||||
|
|
||||||
@export_declaration = @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;
|
@namespace_definition = @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;
|
||||||
|
|
||||||
is_instantiated(unique int decl: @namespace_declaration ref);
|
is_instantiated(unique int decl: @namespace_declaration ref);
|
||||||
@@ -695,7 +695,7 @@ case @symbol.kind of
|
|||||||
;
|
;
|
||||||
|
|
||||||
@type_with_symbol = @type_reference | @typevariable_type | @typeof_type | @unique_symbol_type;
|
@type_with_symbol = @type_reference | @typevariable_type | @typeof_type | @unique_symbol_type;
|
||||||
@ast_node_with_symbol = @typedefinition | @namespacedefinition | @toplevel | @typeaccess | @namespace_access | @var_decl | @function | @invokeexpr | @import_declaration | @external_module_reference;
|
@ast_node_with_symbol = @typedefinition | @namespace_definition | @toplevel | @typeaccess | @namespace_access | @var_decl | @function | @invokeexpr | @import_declaration | @external_module_reference;
|
||||||
|
|
||||||
ast_node_symbol(
|
ast_node_symbol(
|
||||||
unique int node: @ast_node_with_symbol ref,
|
unique int node: @ast_node_with_symbol ref,
|
||||||
|
|||||||
Reference in New Issue
Block a user