mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
renamed "typedecl" to "type_decl"
This commit is contained in:
@@ -397,7 +397,7 @@ case @expr.kind of
|
||||
@interfacedefinition = @interfacedeclaration | @interfacetypeexpr;
|
||||
@classorinterface = @classdefinition | @interfacedefinition;
|
||||
|
||||
@lexical_decl = @vardecl | @typedecl;
|
||||
@lexical_decl = @vardecl | @type_decl;
|
||||
@lexical_access = @varaccess | @local_type_access | @localvartypeaccess | @localnamespaceaccess;
|
||||
@lexical_ref = @lexical_decl | @lexical_access;
|
||||
|
||||
@@ -474,7 +474,7 @@ decl (unique int id: @vardecl ref,
|
||||
typebind (unique int id: @typebind_id ref,
|
||||
int decl: @local_type_name ref);
|
||||
|
||||
@typedecl_id = @typedecl | @vardecl;
|
||||
@typedecl_id = @type_decl | @vardecl;
|
||||
typedecl (unique int id: @typedecl_id ref,
|
||||
int decl: @local_type_name ref);
|
||||
|
||||
@@ -548,7 +548,7 @@ typeexprs (
|
||||
|
||||
case @typeexpr.kind of
|
||||
0 = @local_type_access
|
||||
| 1 = @typedecl
|
||||
| 1 = @type_decl
|
||||
| 2 = @keywordtypeexpr
|
||||
| 3 = @stringliteraltypeexpr
|
||||
| 4 = @numberliteraltypeexpr
|
||||
@@ -586,8 +586,8 @@ case @typeexpr.kind of
|
||||
| 36 = @readonlytypeexpr
|
||||
;
|
||||
|
||||
@typeref = @typeaccess | @typedecl;
|
||||
@typeidentifier = @typedecl | @local_type_access | @typelabel | @localvartypeaccess | @localnamespaceaccess;
|
||||
@typeref = @typeaccess | @type_decl;
|
||||
@typeidentifier = @type_decl | @local_type_access | @typelabel | @localvartypeaccess | @localnamespaceaccess;
|
||||
@typeexpr_parent = @expr | @stmt | @property | @typeexpr;
|
||||
@literaltypeexpr = @stringliteraltypeexpr | @numberliteraltypeexpr | @booleanliteraltypeexpr | @bigintliteraltypeexpr;
|
||||
@typeaccess = @local_type_access | @qualifiedtypeaccess | @importtypeaccess;
|
||||
|
||||
Reference in New Issue
Block a user