mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: Regenerate dbscheme/AST
This commit is contained in:
@@ -1126,6 +1126,9 @@ class ParamSpec_ extends @py_ParamSpec, TypeParameter {
|
||||
/** Gets the name of this parameter spec. */
|
||||
Expr getName() { py_exprs(result, _, this, 1) }
|
||||
|
||||
/** Gets the default of this parameter spec. */
|
||||
Expr getDefault() { py_exprs(result, _, this, 2) }
|
||||
|
||||
override string toString() { result = "ParamSpec" }
|
||||
}
|
||||
|
||||
@@ -1466,6 +1469,9 @@ class TypeVar_ extends @py_TypeVar, TypeParameter {
|
||||
/** Gets the bound of this type variable. */
|
||||
Expr getBound() { py_exprs(result, _, this, 2) }
|
||||
|
||||
/** Gets the default of this type variable. */
|
||||
Expr getDefault() { py_exprs(result, _, this, 3) }
|
||||
|
||||
override string toString() { result = "TypeVar" }
|
||||
}
|
||||
|
||||
@@ -1474,6 +1480,9 @@ class TypeVarTuple_ extends @py_TypeVarTuple, TypeParameter {
|
||||
/** Gets the name of this type variable tuple. */
|
||||
Expr getName() { py_exprs(result, _, this, 1) }
|
||||
|
||||
/** Gets the default of this type variable tuple. */
|
||||
Expr getDefault() { py_exprs(result, _, this, 2) }
|
||||
|
||||
override string toString() { result = "TypeVarTuple" }
|
||||
}
|
||||
|
||||
|
||||
@@ -617,6 +617,7 @@ py_extracted_version(int module : @py_Module ref,
|
||||
|
||||
/* <Field> ParamSpec.location = 0, location */
|
||||
/* <Field> ParamSpec.name = 1, expr */
|
||||
/* <Field> ParamSpec.default = 2, expr */
|
||||
|
||||
/* <Field> Pass.location = 0, location */
|
||||
|
||||
@@ -715,9 +716,11 @@ py_extracted_version(int module : @py_Module ref,
|
||||
/* <Field> TypeVar.location = 0, location */
|
||||
/* <Field> TypeVar.name = 1, expr */
|
||||
/* <Field> TypeVar.bound = 2, expr */
|
||||
/* <Field> TypeVar.default = 3, expr */
|
||||
|
||||
/* <Field> TypeVarTuple.location = 0, location */
|
||||
/* <Field> TypeVarTuple.name = 1, expr */
|
||||
/* <Field> TypeVarTuple.default = 2, expr */
|
||||
|
||||
/* <Field> UnaryExpr.location = 0, location */
|
||||
/* <Field> UnaryExpr.parenthesised = 1, bool */
|
||||
|
||||
Reference in New Issue
Block a user