mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
renamed "classorinterface" to "class_or_interface"
This commit is contained in:
@@ -28,7 +28,7 @@ import javascript
|
|||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
class ClassOrInterface extends @classorinterface, TypeParameterized {
|
class ClassOrInterface extends @class_or_interface, TypeParameterized {
|
||||||
/** Gets the identifier naming the declared type, if any. */
|
/** Gets the identifier naming the declared type, if any. */
|
||||||
Identifier getIdentifier() { none() } // Overridden in subtypes.
|
Identifier getIdentifier() { none() } // Overridden in subtypes.
|
||||||
|
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ case @expr.kind of
|
|||||||
|
|
||||||
@classdefinition = @classdeclstmt | @classexpr;
|
@classdefinition = @classdeclstmt | @classexpr;
|
||||||
@interfacedefinition = @interfacedeclaration | @interface_typeexpr;
|
@interfacedefinition = @interfacedeclaration | @interface_typeexpr;
|
||||||
@classorinterface = @classdefinition | @interfacedefinition;
|
@class_or_interface = @classdefinition | @interfacedefinition;
|
||||||
|
|
||||||
@lexical_decl = @vardecl | @type_decl;
|
@lexical_decl = @vardecl | @type_decl;
|
||||||
@lexical_access = @varaccess | @local_type_access | @local_var_type_access | @local_namespace_access;
|
@lexical_access = @varaccess | @local_type_access | @local_var_type_access | @local_namespace_access;
|
||||||
@@ -437,7 +437,7 @@ scopenesting (unique int inner: @scope ref,
|
|||||||
@function = @functiondeclstmt | @functionexpr | @arrowfunctionexpr;
|
@function = @functiondeclstmt | @functionexpr | @arrowfunctionexpr;
|
||||||
|
|
||||||
@parameterized = @function | @catchclause;
|
@parameterized = @function | @catchclause;
|
||||||
@type_parameterized = @function | @classorinterface | @typealiasdeclaration | @mapped_typeexpr | @infer_typeexpr;
|
@type_parameterized = @function | @class_or_interface | @typealiasdeclaration | @mapped_typeexpr | @infer_typeexpr;
|
||||||
|
|
||||||
is_generator (int fun: @function ref);
|
is_generator (int fun: @function ref);
|
||||||
has_rest_parameter (int fun: @function ref);
|
has_rest_parameter (int fun: @function ref);
|
||||||
|
|||||||
Reference in New Issue
Block a user