mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
renamed "constructortypeexpr" to "constructor_typeexpr"
This commit is contained in:
@@ -344,7 +344,7 @@ class FunctionTypeExpr extends TypeExpr, @functiontypeexpr {
|
||||
}
|
||||
|
||||
/** A constructor type, such as `new (x: string) => Object`. */
|
||||
class ConstructorTypeExpr extends FunctionTypeExpr, @constructortypeexpr { }
|
||||
class ConstructorTypeExpr extends FunctionTypeExpr, @constructor_typeexpr { }
|
||||
|
||||
/** A function type that is not a constructor type, such as `(x: string) => number`. */
|
||||
class PlainFunctionTypeExpr extends FunctionTypeExpr, @plain_function_typeexpr { }
|
||||
|
||||
@@ -571,7 +571,7 @@ case @typeexpr.kind of
|
||||
| 21 = @interface_typeexpr
|
||||
| 22 = @type_parameter
|
||||
| 23 = @plain_function_typeexpr
|
||||
| 24 = @constructortypeexpr
|
||||
| 24 = @constructor_typeexpr
|
||||
| 25 = @localnamespaceaccess
|
||||
| 26 = @qualifiednamespaceaccess
|
||||
| 27 = @mappedtypeexpr
|
||||
@@ -595,7 +595,7 @@ case @typeexpr.kind of
|
||||
@namespaceaccess = @localnamespaceaccess | @qualifiednamespaceaccess | @importnamespaceaccess;
|
||||
@importtypeexpr = @importtypeaccess | @importnamespaceaccess | @importvartypeaccess;
|
||||
|
||||
@functiontypeexpr = @plain_function_typeexpr | @constructortypeexpr;
|
||||
@functiontypeexpr = @plain_function_typeexpr | @constructor_typeexpr;
|
||||
|
||||
// types
|
||||
types (
|
||||
|
||||
@@ -886,7 +886,7 @@
|
||||
<v>20</v>
|
||||
</e>
|
||||
<e>
|
||||
<k>@constructortypeexpr</k>
|
||||
<k>@constructor_typeexpr</k>
|
||||
<v>20</v>
|
||||
</e>
|
||||
<e>
|
||||
|
||||
Reference in New Issue
Block a user