mirror of
https://github.com/github/codeql.git
synced 2026-07-20 18:58:36 +02:00
Swift: switch to python db schema
This commit is contained in:
@@ -643,6 +643,12 @@ class FloatLiteralExpr(NumberLiteralExpr):
|
||||
class IntegerLiteralExpr(NumberLiteralExpr):
|
||||
string_value: string
|
||||
|
||||
class PackExpr(Expr):
|
||||
pass
|
||||
|
||||
class ReifyPackExpr(ImplicitConversionExpr):
|
||||
pass
|
||||
|
||||
class AnyPattern(Pattern):
|
||||
pass
|
||||
|
||||
@@ -685,7 +691,7 @@ class CaseLabelItem(AstNode):
|
||||
guard: optional[Expr] | child
|
||||
|
||||
@group("stmt")
|
||||
class ConditionElement(Locatable):
|
||||
class ConditionElement(AstNode):
|
||||
boolean: optional[Expr] | child
|
||||
pattern: optional[Pattern] | child
|
||||
initializer: optional[Expr] | child
|
||||
@@ -941,10 +947,6 @@ class DictionaryType(SyntaxSugarType):
|
||||
key_type: Type
|
||||
value_type: Type
|
||||
|
||||
class NestedArchetypeType(ArchetypeType):
|
||||
parent: ArchetypeType
|
||||
associated_type_declaration: AssociatedTypeDecl
|
||||
|
||||
class NominalType(NominalOrBoundGenericNominalType):
|
||||
pass
|
||||
|
||||
@@ -992,3 +994,12 @@ class StructType(NominalType):
|
||||
|
||||
class VariadicSequenceType(UnarySyntaxSugarType):
|
||||
pass
|
||||
|
||||
class PackType(Type):
|
||||
pass
|
||||
|
||||
class PackExpansionType(Type):
|
||||
pass
|
||||
|
||||
class ParameterizedProtocolType(Type):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user