mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
renamed "typereference" to "type_reference"
This commit is contained in:
@@ -2181,7 +2181,7 @@ class ObjectKeywordType extends Type, @objectkeywordtype { }
|
||||
/**
|
||||
* A type that refers to a class, interface, enum, or enum member.
|
||||
*/
|
||||
class TypeReference extends Type, @typereference {
|
||||
class TypeReference extends Type, @type_reference {
|
||||
/**
|
||||
* Gets the canonical name of the type being referenced.
|
||||
*/
|
||||
|
||||
@@ -618,7 +618,7 @@ case @type.kind of
|
||||
| 3 = @union_type
|
||||
| 4 = @true_type
|
||||
| 5 = @false_type
|
||||
| 6 = @typereference
|
||||
| 6 = @type_reference
|
||||
| 7 = @objecttype
|
||||
| 8 = @canonicaltypevariabletype
|
||||
| 9 = @typeoftype
|
||||
@@ -694,7 +694,7 @@ case @symbol.kind of
|
||||
| 2 = @other_symbol
|
||||
;
|
||||
|
||||
@type_with_symbol = @typereference | @typevariable_type | @typeoftype | @uniquesymboltype;
|
||||
@type_with_symbol = @type_reference | @typevariable_type | @typeoftype | @uniquesymboltype;
|
||||
@ast_node_with_symbol = @typedefinition | @namespacedefinition | @toplevel | @typeaccess | @namespace_access | @var_decl | @function | @invokeexpr | @import_declaration | @external_module_reference;
|
||||
|
||||
ast_node_symbol(
|
||||
@@ -778,7 +778,7 @@ base_type_names(
|
||||
|
||||
self_types(
|
||||
int typeName: @symbol ref,
|
||||
int selfType: @typereference ref
|
||||
int selfType: @type_reference ref
|
||||
);
|
||||
|
||||
tuple_type_min_length(
|
||||
|
||||
@@ -930,7 +930,7 @@
|
||||
<v>1</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@typereference</k>
|
||||
<k>@type_reference</k>
|
||||
<v>12383</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user