mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "localvartypeaccess" to "local_var_type_access"
This commit is contained in:
@@ -1010,7 +1010,7 @@ class VarTypeAccess extends @vartypeaccess, TypeExpr { }
|
|||||||
*
|
*
|
||||||
* This can occur as part of the operand to a `typeof` type or as the first operand to an `is` type.
|
* This can occur as part of the operand to a `typeof` type or as the first operand to an `is` type.
|
||||||
*/
|
*/
|
||||||
class LocalVarTypeAccess extends @localvartypeaccess, VarTypeAccess, LexicalAccess, Identifier {
|
class LocalVarTypeAccess extends @local_var_type_access, VarTypeAccess, LexicalAccess, Identifier {
|
||||||
/** Gets the variable being referenced, or nothing if this is a `this` keyword. */
|
/** Gets the variable being referenced, or nothing if this is a `this` keyword. */
|
||||||
Variable getVariable() { bind(this, result) }
|
Variable getVariable() { bind(this, result) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ case @expr.kind of
|
|||||||
@classorinterface = @classdefinition | @interfacedefinition;
|
@classorinterface = @classdefinition | @interfacedefinition;
|
||||||
|
|
||||||
@lexical_decl = @vardecl | @type_decl;
|
@lexical_decl = @vardecl | @type_decl;
|
||||||
@lexical_access = @varaccess | @local_type_access | @localvartypeaccess | @localnamespaceaccess;
|
@lexical_access = @varaccess | @local_type_access | @local_var_type_access | @localnamespaceaccess;
|
||||||
@lexical_ref = @lexical_decl | @lexical_access;
|
@lexical_ref = @lexical_decl | @lexical_access;
|
||||||
|
|
||||||
@e4x_xml_attribute_selector = @e4x_xml_static_attribute_selector | @e4x_xml_dynamic_attribute_selector;
|
@e4x_xml_attribute_selector = @e4x_xml_static_attribute_selector | @e4x_xml_dynamic_attribute_selector;
|
||||||
@@ -463,7 +463,7 @@ is_arguments_object (int id: @variable ref);
|
|||||||
|
|
||||||
@lexical_name = @variable | @local_type_name | @local_namespace_name;
|
@lexical_name = @variable | @local_type_name | @local_namespace_name;
|
||||||
|
|
||||||
@bind_id = @varaccess | @localvartypeaccess;
|
@bind_id = @varaccess | @local_var_type_access;
|
||||||
bind (unique int id: @bind_id ref,
|
bind (unique int id: @bind_id ref,
|
||||||
int decl: @variable ref);
|
int decl: @variable ref);
|
||||||
|
|
||||||
@@ -564,7 +564,7 @@ case @typeexpr.kind of
|
|||||||
| 14 = @generic_typeexpr
|
| 14 = @generic_typeexpr
|
||||||
| 15 = @type_label
|
| 15 = @type_label
|
||||||
| 16 = @typeof_typeexpr
|
| 16 = @typeof_typeexpr
|
||||||
| 17 = @localvartypeaccess
|
| 17 = @local_var_type_access
|
||||||
| 18 = @qualifiedvartypeaccess
|
| 18 = @qualifiedvartypeaccess
|
||||||
| 19 = @thisvartypeaccess
|
| 19 = @thisvartypeaccess
|
||||||
| 20 = @predicatetypeexpr
|
| 20 = @predicatetypeexpr
|
||||||
@@ -587,11 +587,11 @@ case @typeexpr.kind of
|
|||||||
;
|
;
|
||||||
|
|
||||||
@typeref = @typeaccess | @type_decl;
|
@typeref = @typeaccess | @type_decl;
|
||||||
@typeidentifier = @type_decl | @local_type_access | @type_label | @localvartypeaccess | @localnamespaceaccess;
|
@typeidentifier = @type_decl | @local_type_access | @type_label | @local_var_type_access | @localnamespaceaccess;
|
||||||
@typeexpr_parent = @expr | @stmt | @property | @typeexpr;
|
@typeexpr_parent = @expr | @stmt | @property | @typeexpr;
|
||||||
@literaltypeexpr = @string_literal_typeexpr | @number_literal_typeexpr | @boolean_literal_typeexpr | @bigintliteraltypeexpr;
|
@literaltypeexpr = @string_literal_typeexpr | @number_literal_typeexpr | @boolean_literal_typeexpr | @bigintliteraltypeexpr;
|
||||||
@typeaccess = @local_type_access | @qualified_type_access | @importtypeaccess;
|
@typeaccess = @local_type_access | @qualified_type_access | @importtypeaccess;
|
||||||
@vartypeaccess = @localvartypeaccess | @qualifiedvartypeaccess | @thisvartypeaccess | @importvartypeaccess;
|
@vartypeaccess = @local_var_type_access | @qualifiedvartypeaccess | @thisvartypeaccess | @importvartypeaccess;
|
||||||
@namespaceaccess = @localnamespaceaccess | @qualifiednamespaceaccess | @importnamespaceaccess;
|
@namespaceaccess = @localnamespaceaccess | @qualifiednamespaceaccess | @importnamespaceaccess;
|
||||||
@importtypeexpr = @importtypeaccess | @importnamespaceaccess | @importvartypeaccess;
|
@importtypeexpr = @importtypeaccess | @importnamespaceaccess | @importvartypeaccess;
|
||||||
|
|
||||||
|
|||||||
@@ -850,7 +850,7 @@
|
|||||||
<v>24</v>
|
<v>24</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
<k>@localvartypeaccess</k>
|
<k>@local_var_type_access</k>
|
||||||
<v>24</v>
|
<v>24</v>
|
||||||
</e>
|
</e>
|
||||||
<e>
|
<e>
|
||||||
|
|||||||
Reference in New Issue
Block a user