mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
renamed "typedefinition" to "type_definition"
This commit is contained in:
@@ -96,7 +96,7 @@ class NamespaceDeclaration extends NamespaceDefinition, StmtContainer, @namespac
|
||||
* Note that imports and type parameters are not type definitions. Consider using `TypeDecl` to capture
|
||||
* a wider class of type declarations.
|
||||
*/
|
||||
class TypeDefinition extends ASTNode, @typedefinition {
|
||||
class TypeDefinition extends ASTNode, @type_definition {
|
||||
/**
|
||||
* Gets the identifier naming the type.
|
||||
*/
|
||||
|
||||
@@ -196,7 +196,7 @@ case @stmt.kind of
|
||||
@export_declaration = @export_all_declaration | @export_default_declaration | @export_named_declaration;
|
||||
|
||||
@namespace_definition = @namespace_declaration | @enum_declaration;
|
||||
@typedefinition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member;
|
||||
@type_definition = @classdefinition | @interface_declaration | @enum_declaration | @type_alias_declaration | @enum_member;
|
||||
|
||||
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;
|
||||
@ast_node_with_symbol = @typedefinition | @namespace_definition | @toplevel | @typeaccess | @namespace_access | @var_decl | @function | @invokeexpr | @import_declaration | @external_module_reference;
|
||||
@ast_node_with_symbol = @type_definition | @namespace_definition | @toplevel | @typeaccess | @namespace_access | @var_decl | @function | @invokeexpr | @import_declaration | @external_module_reference;
|
||||
|
||||
ast_node_symbol(
|
||||
unique int node: @ast_node_with_symbol ref,
|
||||
|
||||
Reference in New Issue
Block a user