diff --git a/misc/codegen/templates/ql_db.mustache b/misc/codegen/templates/ql_db.mustache index 55a83514d6e..d16416f4a5b 100644 --- a/misc/codegen/templates/ql_db.mustache +++ b/misc/codegen/templates/ql_db.mustache @@ -1,5 +1,15 @@ +/** + * INTERNAL: Do not use. + * This module holds thin fully generated class definitions around DB entities. + */ module Raw { {{#classes}} + /** + * INTERNAL: Do not use. + {{#doc}} + * {{.}} + {{/doc}} + */ class {{name}} extends {{db_id}}{{#bases}}, {{.}}{{/bases}} { {{#root}}string toString() { none() }{{/root}} {{#final}}override string toString() { result = "{{name}}" }{{/final}} diff --git a/misc/codegen/templates/ql_ipa_types.mustache b/misc/codegen/templates/ql_ipa_types.mustache index 430361f6776..d4244690930 100644 --- a/misc/codegen/templates/ql_ipa_types.mustache +++ b/misc/codegen/templates/ql_ipa_types.mustache @@ -1,22 +1,42 @@ +/** + * INTERNAL: Do not use. + * This module defines the IPA layer on top of raw DB entities, and the conversions between the two + * layers. + */ + private import {{import_prefix}}.SynthConstructors private import {{import_prefix}}.Raw cached module Synth { + /** + * INTERNAL: Do not use. + * The synthesized type of all elements. + */ cached newtype T{{root}} = {{#final_classes}} {{^first}} or {{/first}} + /** + * INTERNAL: Do not use. + */ T{{name}}({{#params}}{{^first}}, {{/first}}{{type}} {{param}}{{/params}}){{#has_params}} { construct{{name}}({{#params}}{{^first}}, {{/first}}{{param}}{{/params}}) }{{/has_params}} {{/final_classes}} {{#non_final_classes}} {{^root}} + /** + * INTERNAL: Do not use. + */ class T{{name}} = {{#derived}}{{^first}} or {{/first}}T{{name}}{{/derived}}; {{/root}} {{/non_final_classes}} {{#final_classes}} + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `T{{name}}`, if possible. + */ cached T{{name}} convert{{name}}FromRaw(Raw::Element e) { {{^is_fresh_ipa}} result = T{{name}}(e) @@ -28,6 +48,10 @@ cached module Synth { {{/final_classes}} {{#non_final_classes}} + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `T{{name}}`, if possible. + */ cached T{{name}} convert{{name}}FromRaw(Raw::Element e) { {{#derived}} {{^first}} @@ -39,6 +63,10 @@ cached module Synth { {{/non_final_classes}} {{#final_classes}} + /** + * INTERNAL: Do not use. + * Converts a synthesized `T{{name}}` to a raw DB element, if possible. + */ cached Raw::Element convert{{name}}ToRaw(T{{name}} e) { {{^is_fresh_ipa}} e = T{{name}}(result) @@ -50,6 +78,10 @@ cached module Synth { {{/final_classes}} {{#non_final_classes}} + /** + * INTERNAL: Do not use. + * Converts a synthesized `T{{name}}` to a raw DB element, if possible. + */ cached Raw::Element convert{{name}}ToRaw(T{{name}} e) { {{#derived}} {{^first}} diff --git a/swift/ql/.generated.list b/swift/ql/.generated.list index 7d721073d74..9f40271bcca 100644 --- a/swift/ql/.generated.list +++ b/swift/ql/.generated.list @@ -386,8 +386,8 @@ ql/lib/codeql/swift/generated/OtherAvailabilitySpec.qll 0e26a203b26ff0581b7396b0 ql/lib/codeql/swift/generated/ParentChild.qll 3998d73048297cf2df42176b0060c025e57d409d56f3fbfab9c202bd46c07b5e 425b01328baf38bd5e46403e11b25b0e17cd5bc40731dbf64a46e01604611e15 ql/lib/codeql/swift/generated/PlatformVersionAvailabilitySpec.qll f82d9ca416fe8bd59b5531b65b1c74c9f317b3297a6101544a11339a1cffce38 7f5c6d3309e66c134107afe55bae76dfc9a72cb7cdd6d4c3706b6b34cee09fa0 ql/lib/codeql/swift/generated/PureSynthConstructors.qll 173c0dd59396a1de26fe870e3bc2766c46de689da2a4d8807cb62023bbce1a98 173c0dd59396a1de26fe870e3bc2766c46de689da2a4d8807cb62023bbce1a98 -ql/lib/codeql/swift/generated/Raw.qll 16ef0c379f1b3ceb73df393a34b8d2c5c4fb180e337fb3b8f33078fa9d827b7e 4b608cd9fc3f425fc568322ae17036e6407a54d0a6a30ff03fe04942f4ef897f -ql/lib/codeql/swift/generated/Synth.qll 1b60c8eab214c8f9a3a1fb39a8785979bc3d86f2615ba0a580c35e17fd496851 052940a87ffb32214b1b3c774bc643aa5d4f31c484d3121b4da384c2839cb10b +ql/lib/codeql/swift/generated/Raw.qll cda40b44e2b72ceb32a3c03d2f16028fc4db723c8cdc0a9638693794f4f07411 eb4b59f4dbd2159f59132994e6d1840a1273e5c316232b8439ddc0cc08ef8736 +ql/lib/codeql/swift/generated/Synth.qll e26debaea7feaabbdd4180983a03fa406584e2a0dc4902520d5549d106770fee a448e51acba628d63fc4ae59aa23efa7cd5b567230ae24749d31d2a4ad51baf9 ql/lib/codeql/swift/generated/SynthConstructors.qll bb0c69cea79a06ec3cc0e176fc6e63cfe125107a45373e41083fc4de056133b8 bb0c69cea79a06ec3cc0e176fc6e63cfe125107a45373e41083fc4de056133b8 ql/lib/codeql/swift/generated/UnknownFile.qll 0fcf9beb8de79440bcdfff4bb6ab3dd139bd273e6c32754e05e6a632651e85f6 0fcf9beb8de79440bcdfff4bb6ab3dd139bd273e6c32754e05e6a632651e85f6 ql/lib/codeql/swift/generated/UnknownLocation.qll e50efefa02a0ec1ff635a00951b5924602fc8cab57e5756e4a039382c69d3882 e50efefa02a0ec1ff635a00951b5924602fc8cab57e5756e4a039382c69d3882 diff --git a/swift/ql/lib/codeql/swift/generated/Raw.qll b/swift/ql/lib/codeql/swift/generated/Raw.qll index d307b3e53fb..7a13a82dbcd 100644 --- a/swift/ql/lib/codeql/swift/generated/Raw.qll +++ b/swift/ql/lib/codeql/swift/generated/Raw.qll @@ -1,4 +1,11 @@ +/** + * INTERNAL: Do not use. + * This module holds thin fully generated class definitions around DB entities. + */ module Raw { + /** + * INTERNAL: Do not use. + */ class Element extends @element { string toString() { none() } @@ -8,6 +15,9 @@ module Raw { predicate isUnknown() { element_is_unknown(this) } } + /** + * INTERNAL: Do not use. + */ class Callable extends @callable, Element { /** * Gets the name of this callable, if it exists. @@ -37,6 +47,9 @@ module Raw { CapturedDecl getCapture(int index) { callable_captures(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class File extends @file, Element { /** * Gets the name of this file. @@ -49,6 +62,9 @@ module Raw { predicate isSuccessfullyExtracted() { file_is_successfully_extracted(this) } } + /** + * INTERNAL: Do not use. + */ class Locatable extends @locatable, Element { /** * Gets the location associated with this element in the code, if it exists. @@ -56,6 +72,9 @@ module Raw { Location getLocation() { locatable_locations(this, result) } } + /** + * INTERNAL: Do not use. + */ class Location extends @location, Element { /** * Gets the file of this location. @@ -83,8 +102,14 @@ module Raw { int getEndColumn() { locations(this, _, _, _, _, result) } } + /** + * INTERNAL: Do not use. + */ class AstNode extends @ast_node, Locatable { } + /** + * INTERNAL: Do not use. + */ class Comment extends @comment, Locatable { override string toString() { result = "Comment" } @@ -94,14 +119,23 @@ module Raw { string getText() { comments(this, result) } } + /** + * INTERNAL: Do not use. + */ class DbFile extends @db_file, File { override string toString() { result = "DbFile" } } + /** + * INTERNAL: Do not use. + */ class DbLocation extends @db_location, Location { override string toString() { result = "DbLocation" } } + /** + * INTERNAL: Do not use. + */ class Diagnostics extends @diagnostics, Locatable { override string toString() { result = "Diagnostics" } @@ -116,8 +150,28 @@ module Raw { int getKind() { diagnostics(this, _, result) } } + /** + * INTERNAL: Do not use. + * The superclass of all elements indicating some kind of error. + */ class ErrorElement extends @error_element, Locatable { } + /** + * INTERNAL: Do not use. + * An availability condition of an `if`, `while`, or `guard` statements. + * + * Examples: + * ``` + * if #available(iOS 12, *) { + * // Runs on iOS 12 and above + * } else { + * // Runs only anything below iOS 12 + * } + * if #unavailable(macOS 10.14, *) { + * // Runs only on macOS 10 and below + * } + * ``` + */ class AvailabilityInfo extends @availability_info, AstNode { override string toString() { result = "AvailabilityInfo" } @@ -132,8 +186,19 @@ module Raw { AvailabilitySpec getSpec(int index) { availability_info_specs(this, index, result) } } + /** + * INTERNAL: Do not use. + * An availability spec, that is, part of an `AvailabilityInfo` condition. For example `iOS 12` and `*` in: + * ``` + * if #available(iOS 12, *) + * ``` + */ class AvailabilitySpec extends @availability_spec, AstNode { } + /** + * INTERNAL: Do not use. + * A component of a `KeyPathExpr`. + */ class KeyPathComponent extends @key_path_component, AstNode { override string toString() { result = "KeyPathComponent" } @@ -179,6 +244,9 @@ module Raw { Type getComponentType() { key_path_components(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class UnspecifiedElement extends @unspecified_element, ErrorElement { override string toString() { result = "UnspecifiedElement" } @@ -203,10 +271,18 @@ module Raw { string getError() { unspecified_elements(this, _, result) } } + /** + * INTERNAL: Do not use. + * A wildcard availability spec `*` + */ class OtherAvailabilitySpec extends @other_availability_spec, AvailabilitySpec { override string toString() { result = "OtherAvailabilitySpec" } } + /** + * INTERNAL: Do not use. + * An availability spec based on platform and version, for example `macOS 12` or `watchOS 14` + */ class PlatformVersionAvailabilitySpec extends @platform_version_availability_spec, AvailabilitySpec { @@ -223,6 +299,9 @@ module Raw { string getVersion() { platform_version_availability_specs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class Decl extends @decl, AstNode { /** * Gets the module of this declaration. @@ -235,6 +314,9 @@ module Raw { Decl getMember(int index) { decl_members(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class GenericContext extends @generic_context, Element { /** * Gets the `index`th generic type parameter of this generic context (0-based). @@ -244,6 +326,9 @@ module Raw { } } + /** + * INTERNAL: Do not use. + */ class CapturedDecl extends @captured_decl, Decl { override string toString() { result = "CapturedDecl" } @@ -263,6 +348,9 @@ module Raw { predicate isEscaping() { captured_decl_is_escaping(this) } } + /** + * INTERNAL: Do not use. + */ class EnumCaseDecl extends @enum_case_decl, Decl { override string toString() { result = "EnumCaseDecl" } @@ -272,6 +360,9 @@ module Raw { EnumElementDecl getElement(int index) { enum_case_decl_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class ExtensionDecl extends @extension_decl, GenericContext, Decl { override string toString() { result = "ExtensionDecl" } @@ -286,6 +377,9 @@ module Raw { ProtocolDecl getProtocol(int index) { extension_decl_protocols(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class IfConfigDecl extends @if_config_decl, Decl { override string toString() { result = "IfConfigDecl" } @@ -295,6 +389,9 @@ module Raw { AstNode getActiveElement(int index) { if_config_decl_active_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class ImportDecl extends @import_decl, Decl { override string toString() { result = "ImportDecl" } @@ -314,6 +411,10 @@ module Raw { ValueDecl getDeclaration(int index) { import_decl_declarations(this, index, result) } } + /** + * INTERNAL: Do not use. + * A placeholder for missing declarations that can arise on object deserialization. + */ class MissingMemberDecl extends @missing_member_decl, Decl { override string toString() { result = "MissingMemberDecl" } @@ -323,6 +424,9 @@ module Raw { string getName() { missing_member_decls(this, result) } } + /** + * INTERNAL: Do not use. + */ class OperatorDecl extends @operator_decl, Decl { /** * Gets the name of this operator declaration. @@ -330,6 +434,9 @@ module Raw { string getName() { operator_decls(this, result) } } + /** + * INTERNAL: Do not use. + */ class PatternBindingDecl extends @pattern_binding_decl, Decl { override string toString() { result = "PatternBindingDecl" } @@ -344,6 +451,10 @@ module Raw { Pattern getPattern(int index) { pattern_binding_decl_patterns(this, index, result) } } + /** + * INTERNAL: Do not use. + * A diagnostic directive, which is either `#error` or `#warning`. + */ class PoundDiagnosticDecl extends @pound_diagnostic_decl, Decl { override string toString() { result = "PoundDiagnosticDecl" } @@ -360,10 +471,16 @@ module Raw { StringLiteralExpr getMessage() { pound_diagnostic_decls(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class PrecedenceGroupDecl extends @precedence_group_decl, Decl { override string toString() { result = "PrecedenceGroupDecl" } } + /** + * INTERNAL: Do not use. + */ class TopLevelCodeDecl extends @top_level_code_decl, Decl { override string toString() { result = "TopLevelCodeDecl" } @@ -373,6 +490,9 @@ module Raw { BraceStmt getBody() { top_level_code_decls(this, result) } } + /** + * INTERNAL: Do not use. + */ class ValueDecl extends @value_decl, Decl { /** * Gets the interface type of this value declaration. @@ -380,9 +500,15 @@ module Raw { Type getInterfaceType() { value_decls(this, result) } } + /** + * INTERNAL: Do not use. + */ class AbstractFunctionDecl extends @abstract_function_decl, GenericContext, ValueDecl, Callable { } + /** + * INTERNAL: Do not use. + */ class AbstractStorageDecl extends @abstract_storage_decl, ValueDecl { /** * Gets the `index`th accessor declaration of this abstract storage declaration (0-based). @@ -392,6 +518,9 @@ module Raw { } } + /** + * INTERNAL: Do not use. + */ class EnumElementDecl extends @enum_element_decl, ValueDecl { override string toString() { result = "EnumElementDecl" } @@ -406,6 +535,9 @@ module Raw { ParamDecl getParam(int index) { enum_element_decl_params(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class InfixOperatorDecl extends @infix_operator_decl, OperatorDecl { override string toString() { result = "InfixOperatorDecl" } @@ -415,14 +547,23 @@ module Raw { PrecedenceGroupDecl getPrecedenceGroup() { infix_operator_decl_precedence_groups(this, result) } } + /** + * INTERNAL: Do not use. + */ class PostfixOperatorDecl extends @postfix_operator_decl, OperatorDecl { override string toString() { result = "PostfixOperatorDecl" } } + /** + * INTERNAL: Do not use. + */ class PrefixOperatorDecl extends @prefix_operator_decl, OperatorDecl { override string toString() { result = "PrefixOperatorDecl" } } + /** + * INTERNAL: Do not use. + */ class TypeDecl extends @type_decl, ValueDecl { /** * Gets the name of this type declaration. @@ -435,20 +576,38 @@ module Raw { Type getBaseType(int index) { type_decl_base_types(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class AbstractTypeParamDecl extends @abstract_type_param_decl, TypeDecl { } + /** + * INTERNAL: Do not use. + */ class ConstructorDecl extends @constructor_decl, AbstractFunctionDecl { override string toString() { result = "ConstructorDecl" } } + /** + * INTERNAL: Do not use. + */ class DestructorDecl extends @destructor_decl, AbstractFunctionDecl { override string toString() { result = "DestructorDecl" } } + /** + * INTERNAL: Do not use. + */ class FuncDecl extends @func_decl, AbstractFunctionDecl { } + /** + * INTERNAL: Do not use. + */ class GenericTypeDecl extends @generic_type_decl, GenericContext, TypeDecl { } + /** + * INTERNAL: Do not use. + */ class ModuleDecl extends @module_decl, TypeDecl { override string toString() { result = "ModuleDecl" } @@ -475,6 +634,9 @@ module Raw { ModuleDecl getAnExportedModule() { module_decl_exported_modules(this, result) } } + /** + * INTERNAL: Do not use. + */ class SubscriptDecl extends @subscript_decl, AbstractStorageDecl, GenericContext { override string toString() { result = "SubscriptDecl" } @@ -489,6 +651,25 @@ module Raw { Type getElementType() { subscript_decls(this, result) } } + /** + * INTERNAL: Do not use. + * A declaration of a variable such as + * * a local variable in a function: + * ``` + * func foo() { + * var x = 42 // <- + * let y = "hello" // <- + * ... + * } + * ``` + * * a member of a `struct` or `class`: + * ``` + * struct S { + * var size : Int // <- + * } + * ``` + * * ... + */ class VarDecl extends @var_decl, AbstractStorageDecl { /** * Gets the name of this variable declaration. @@ -586,6 +767,9 @@ module Raw { } } + /** + * INTERNAL: Do not use. + */ class AccessorDecl extends @accessor_decl, FuncDecl { override string toString() { result = "AccessorDecl" } @@ -630,14 +814,23 @@ module Raw { predicate isUnsafeMutableAddress() { accessor_decl_is_unsafe_mutable_address(this) } } + /** + * INTERNAL: Do not use. + */ class AssociatedTypeDecl extends @associated_type_decl, AbstractTypeParamDecl { override string toString() { result = "AssociatedTypeDecl" } } + /** + * INTERNAL: Do not use. + */ class ConcreteFuncDecl extends @concrete_func_decl, FuncDecl { override string toString() { result = "ConcreteFuncDecl" } } + /** + * INTERNAL: Do not use. + */ class ConcreteVarDecl extends @concrete_var_decl, VarDecl { override string toString() { result = "ConcreteVarDecl" } @@ -649,10 +842,16 @@ module Raw { int getIntroducerInt() { concrete_var_decls(this, result) } } + /** + * INTERNAL: Do not use. + */ class GenericTypeParamDecl extends @generic_type_param_decl, AbstractTypeParamDecl { override string toString() { result = "GenericTypeParamDecl" } } + /** + * INTERNAL: Do not use. + */ class NominalTypeDecl extends @nominal_type_decl, GenericTypeDecl { /** * Gets the type of this nominal type declaration. @@ -660,6 +859,18 @@ module Raw { Type getType() { nominal_type_decls(this, result) } } + /** + * INTERNAL: Do not use. + * A declaration of an opaque type, that is formally equivalent to a given type but abstracts it + * away. + * + * Such a declaration is implicitly given when a declaration is written with an opaque result type, + * for example + * ``` + * func opaque() -> some SignedInteger { return 1 } + * ``` + * See https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html. + */ class OpaqueTypeDecl extends @opaque_type_decl, GenericTypeDecl { override string toString() { result = "OpaqueTypeDecl" } @@ -676,6 +887,9 @@ module Raw { } } + /** + * INTERNAL: Do not use. + */ class ParamDecl extends @param_decl, VarDecl { override string toString() { result = "ParamDecl" } @@ -705,6 +919,13 @@ module Raw { } } + /** + * INTERNAL: Do not use. + * A declaration of a type alias to another type. For example: + * ``` + * typealias MyInt = Int + * ``` + */ class TypeAliasDecl extends @type_alias_decl, GenericTypeDecl { override string toString() { result = "TypeAliasDecl" } @@ -719,22 +940,37 @@ module Raw { Type getAliasedType() { type_alias_decls(this, result) } } + /** + * INTERNAL: Do not use. + */ class ClassDecl extends @class_decl, NominalTypeDecl { override string toString() { result = "ClassDecl" } } + /** + * INTERNAL: Do not use. + */ class EnumDecl extends @enum_decl, NominalTypeDecl { override string toString() { result = "EnumDecl" } } + /** + * INTERNAL: Do not use. + */ class ProtocolDecl extends @protocol_decl, NominalTypeDecl { override string toString() { result = "ProtocolDecl" } } + /** + * INTERNAL: Do not use. + */ class StructDecl extends @struct_decl, NominalTypeDecl { override string toString() { result = "StructDecl" } } + /** + * INTERNAL: Do not use. + */ class Argument extends @argument, Locatable { override string toString() { result = "Argument" } @@ -749,6 +985,10 @@ module Raw { Expr getExpr() { arguments(this, _, result) } } + /** + * INTERNAL: Do not use. + * The base class for all expressions in Swift. + */ class Expr extends @expr, AstNode { /** * Gets the type of this expression, if it exists. @@ -756,8 +996,14 @@ module Raw { Type getType() { expr_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class AbstractClosureExpr extends @abstract_closure_expr, Expr, Callable { } + /** + * INTERNAL: Do not use. + */ class AnyTryExpr extends @any_try_expr, Expr { /** * Gets the sub expression of this any try expression. @@ -765,6 +1011,10 @@ module Raw { Expr getSubExpr() { any_try_exprs(this, result) } } + /** + * INTERNAL: Do not use. + * An implicit application of a property wrapper on the argument of a call. + */ class AppliedPropertyWrapperExpr extends @applied_property_wrapper_expr, Expr { override string toString() { result = "AppliedPropertyWrapperExpr" } @@ -788,6 +1038,9 @@ module Raw { ParamDecl getParam() { applied_property_wrapper_exprs(this, _, _, result) } } + /** + * INTERNAL: Do not use. + */ class ApplyExpr extends @apply_expr, Expr { /** * Gets the function being applied. @@ -800,6 +1053,9 @@ module Raw { Argument getArgument(int index) { apply_expr_arguments(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class AssignExpr extends @assign_expr, Expr { override string toString() { result = "AssignExpr" } @@ -814,6 +1070,9 @@ module Raw { Expr getSource() { assign_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class BindOptionalExpr extends @bind_optional_expr, Expr { override string toString() { result = "BindOptionalExpr" } @@ -823,6 +1082,9 @@ module Raw { Expr getSubExpr() { bind_optional_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class CaptureListExpr extends @capture_list_expr, Expr { override string toString() { result = "CaptureListExpr" } @@ -839,8 +1101,14 @@ module Raw { ClosureExpr getClosureBody() { capture_list_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class CollectionExpr extends @collection_expr, Expr { } + /** + * INTERNAL: Do not use. + */ class DeclRefExpr extends @decl_ref_expr, Expr { override string toString() { result = "DeclRefExpr" } @@ -877,6 +1145,9 @@ module Raw { predicate hasDistributedThunkSemantics() { decl_ref_expr_has_distributed_thunk_semantics(this) } } + /** + * INTERNAL: Do not use. + */ class DefaultArgumentExpr extends @default_argument_expr, Expr { override string toString() { result = "DefaultArgumentExpr" } @@ -896,10 +1167,16 @@ module Raw { Expr getCallerSideDefault() { default_argument_expr_caller_side_defaults(this, result) } } + /** + * INTERNAL: Do not use. + */ class DiscardAssignmentExpr extends @discard_assignment_expr, Expr { override string toString() { result = "DiscardAssignmentExpr" } } + /** + * INTERNAL: Do not use. + */ class DotSyntaxBaseIgnoredExpr extends @dot_syntax_base_ignored_expr, Expr { override string toString() { result = "DotSyntaxBaseIgnoredExpr" } @@ -914,6 +1191,9 @@ module Raw { Expr getSubExpr() { dot_syntax_base_ignored_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class DynamicTypeExpr extends @dynamic_type_expr, Expr { override string toString() { result = "DynamicTypeExpr" } @@ -923,6 +1203,9 @@ module Raw { Expr getBase() { dynamic_type_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class EnumIsCaseExpr extends @enum_is_case_expr, Expr { override string toString() { result = "EnumIsCaseExpr" } @@ -937,10 +1220,16 @@ module Raw { EnumElementDecl getElement() { enum_is_case_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class ErrorExpr extends @error_expr, Expr, ErrorElement { override string toString() { result = "ErrorExpr" } } + /** + * INTERNAL: Do not use. + */ class ExplicitCastExpr extends @explicit_cast_expr, Expr { /** * Gets the sub expression of this explicit cast expression. @@ -948,6 +1237,9 @@ module Raw { Expr getSubExpr() { explicit_cast_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class ForceValueExpr extends @force_value_expr, Expr { override string toString() { result = "ForceValueExpr" } @@ -957,6 +1249,9 @@ module Raw { Expr getSubExpr() { force_value_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class IdentityExpr extends @identity_expr, Expr { /** * Gets the sub expression of this identity expression. @@ -964,6 +1259,9 @@ module Raw { Expr getSubExpr() { identity_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class IfExpr extends @if_expr, Expr { override string toString() { result = "IfExpr" } @@ -983,6 +1281,9 @@ module Raw { Expr getElseExpr() { if_exprs(this, _, _, result) } } + /** + * INTERNAL: Do not use. + */ class ImplicitConversionExpr extends @implicit_conversion_expr, Expr { /** * Gets the sub expression of this implicit conversion expression. @@ -990,6 +1291,9 @@ module Raw { Expr getSubExpr() { implicit_conversion_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class InOutExpr extends @in_out_expr, Expr { override string toString() { result = "InOutExpr" } @@ -999,6 +1303,9 @@ module Raw { Expr getSubExpr() { in_out_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class KeyPathApplicationExpr extends @key_path_application_expr, Expr { override string toString() { result = "KeyPathApplicationExpr" } @@ -1013,10 +1320,17 @@ module Raw { Expr getKeyPath() { key_path_application_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class KeyPathDotExpr extends @key_path_dot_expr, Expr { override string toString() { result = "KeyPathDotExpr" } } + /** + * INTERNAL: Do not use. + * A key-path expression. + */ class KeyPathExpr extends @key_path_expr, Expr { override string toString() { result = "KeyPathExpr" } @@ -1031,6 +1345,9 @@ module Raw { KeyPathComponent getComponent(int index) { key_path_expr_components(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class LazyInitializerExpr extends @lazy_initializer_expr, Expr { override string toString() { result = "LazyInitializerExpr" } @@ -1040,8 +1357,14 @@ module Raw { Expr getSubExpr() { lazy_initializer_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class LiteralExpr extends @literal_expr, Expr { } + /** + * INTERNAL: Do not use. + */ class LookupExpr extends @lookup_expr, Expr { /** * Gets the base of this lookup expression. @@ -1054,6 +1377,9 @@ module Raw { Decl getMember() { lookup_expr_members(this, result) } } + /** + * INTERNAL: Do not use. + */ class MakeTemporarilyEscapableExpr extends @make_temporarily_escapable_expr, Expr { override string toString() { result = "MakeTemporarilyEscapableExpr" } @@ -1073,6 +1399,9 @@ module Raw { Expr getSubExpr() { make_temporarily_escapable_exprs(this, _, _, result) } } + /** + * INTERNAL: Do not use. + */ class ObjCSelectorExpr extends @obj_c_selector_expr, Expr { override string toString() { result = "ObjCSelectorExpr" } @@ -1087,6 +1416,9 @@ module Raw { AbstractFunctionDecl getMethod() { obj_c_selector_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class OneWayExpr extends @one_way_expr, Expr { override string toString() { result = "OneWayExpr" } @@ -1096,10 +1428,16 @@ module Raw { Expr getSubExpr() { one_way_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class OpaqueValueExpr extends @opaque_value_expr, Expr { override string toString() { result = "OpaqueValueExpr" } } + /** + * INTERNAL: Do not use. + */ class OpenExistentialExpr extends @open_existential_expr, Expr { override string toString() { result = "OpenExistentialExpr" } @@ -1119,6 +1457,9 @@ module Raw { OpaqueValueExpr getOpaqueExpr() { open_existential_exprs(this, _, _, result) } } + /** + * INTERNAL: Do not use. + */ class OptionalEvaluationExpr extends @optional_evaluation_expr, Expr { override string toString() { result = "OptionalEvaluationExpr" } @@ -1128,6 +1469,9 @@ module Raw { Expr getSubExpr() { optional_evaluation_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class OtherConstructorDeclRefExpr extends @other_constructor_decl_ref_expr, Expr { override string toString() { result = "OtherConstructorDeclRefExpr" } @@ -1137,6 +1481,11 @@ module Raw { ConstructorDecl getConstructorDecl() { other_constructor_decl_ref_exprs(this, result) } } + /** + * INTERNAL: Do not use. + * An ambiguous expression that might refer to multiple declarations. This will be present only + * for failing compilations. + */ class OverloadedDeclRefExpr extends @overloaded_decl_ref_expr, Expr, ErrorElement { override string toString() { result = "OverloadedDeclRefExpr" } @@ -1148,6 +1497,11 @@ module Raw { } } + /** + * INTERNAL: Do not use. + * A placeholder substituting property initializations with `=` when the property has a property + * wrapper with an initializer. + */ class PropertyWrapperValuePlaceholderExpr extends @property_wrapper_value_placeholder_expr, Expr { override string toString() { result = "PropertyWrapperValuePlaceholderExpr" } @@ -1162,6 +1516,9 @@ module Raw { OpaqueValueExpr getPlaceholder() { property_wrapper_value_placeholder_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class RebindSelfInConstructorExpr extends @rebind_self_in_constructor_expr, Expr { override string toString() { result = "RebindSelfInConstructorExpr" } @@ -1176,6 +1533,9 @@ module Raw { VarDecl getSelf() { rebind_self_in_constructor_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class SequenceExpr extends @sequence_expr, Expr { override string toString() { result = "SequenceExpr" } @@ -1185,6 +1545,9 @@ module Raw { Expr getElement(int index) { sequence_expr_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class SuperRefExpr extends @super_ref_expr, Expr { override string toString() { result = "SuperRefExpr" } @@ -1194,6 +1557,9 @@ module Raw { VarDecl getSelf() { super_ref_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class TapExpr extends @tap_expr, Expr { override string toString() { result = "TapExpr" } @@ -1213,6 +1579,9 @@ module Raw { VarDecl getVar() { tap_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class TupleElementExpr extends @tuple_element_expr, Expr { override string toString() { result = "TupleElementExpr" } @@ -1227,6 +1596,9 @@ module Raw { int getIndex() { tuple_element_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class TupleExpr extends @tuple_expr, Expr { override string toString() { result = "TupleExpr" } @@ -1236,6 +1608,9 @@ module Raw { Expr getElement(int index) { tuple_expr_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class TypeExpr extends @type_expr, Expr { override string toString() { result = "TypeExpr" } @@ -1245,6 +1620,9 @@ module Raw { TypeRepr getTypeRepr() { type_expr_type_reprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class UnresolvedDeclRefExpr extends @unresolved_decl_ref_expr, Expr, ErrorElement { override string toString() { result = "UnresolvedDeclRefExpr" } @@ -1254,6 +1632,9 @@ module Raw { string getName() { unresolved_decl_ref_expr_names(this, result) } } + /** + * INTERNAL: Do not use. + */ class UnresolvedDotExpr extends @unresolved_dot_expr, Expr, ErrorElement { override string toString() { result = "UnresolvedDotExpr" } @@ -1268,6 +1649,9 @@ module Raw { string getName() { unresolved_dot_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class UnresolvedMemberExpr extends @unresolved_member_expr, Expr, ErrorElement { override string toString() { result = "UnresolvedMemberExpr" } @@ -1277,6 +1661,9 @@ module Raw { string getName() { unresolved_member_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class UnresolvedPatternExpr extends @unresolved_pattern_expr, Expr, ErrorElement { override string toString() { result = "UnresolvedPatternExpr" } @@ -1286,6 +1673,9 @@ module Raw { Pattern getSubPattern() { unresolved_pattern_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class UnresolvedSpecializeExpr extends @unresolved_specialize_expr, Expr, ErrorElement { override string toString() { result = "UnresolvedSpecializeExpr" } @@ -1295,6 +1685,9 @@ module Raw { Expr getSubExpr() { unresolved_specialize_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class VarargExpansionExpr extends @vararg_expansion_expr, Expr { override string toString() { result = "VarargExpansionExpr" } @@ -1304,18 +1697,30 @@ module Raw { Expr getSubExpr() { vararg_expansion_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class AbiSafeConversionExpr extends @abi_safe_conversion_expr, ImplicitConversionExpr { override string toString() { result = "AbiSafeConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class AnyHashableErasureExpr extends @any_hashable_erasure_expr, ImplicitConversionExpr { override string toString() { result = "AnyHashableErasureExpr" } } + /** + * INTERNAL: Do not use. + */ class ArchetypeToSuperExpr extends @archetype_to_super_expr, ImplicitConversionExpr { override string toString() { result = "ArchetypeToSuperExpr" } } + /** + * INTERNAL: Do not use. + */ class ArrayExpr extends @array_expr, CollectionExpr { override string toString() { result = "ArrayExpr" } @@ -1325,82 +1730,139 @@ module Raw { Expr getElement(int index) { array_expr_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class ArrayToPointerExpr extends @array_to_pointer_expr, ImplicitConversionExpr { override string toString() { result = "ArrayToPointerExpr" } } + /** + * INTERNAL: Do not use. + */ class AutoClosureExpr extends @auto_closure_expr, AbstractClosureExpr { override string toString() { result = "AutoClosureExpr" } } + /** + * INTERNAL: Do not use. + */ class AwaitExpr extends @await_expr, IdentityExpr { override string toString() { result = "AwaitExpr" } } + /** + * INTERNAL: Do not use. + */ class BinaryExpr extends @binary_expr, ApplyExpr { override string toString() { result = "BinaryExpr" } } + /** + * INTERNAL: Do not use. + */ class BridgeFromObjCExpr extends @bridge_from_obj_c_expr, ImplicitConversionExpr { override string toString() { result = "BridgeFromObjCExpr" } } + /** + * INTERNAL: Do not use. + */ class BridgeToObjCExpr extends @bridge_to_obj_c_expr, ImplicitConversionExpr { override string toString() { result = "BridgeToObjCExpr" } } + /** + * INTERNAL: Do not use. + */ class BuiltinLiteralExpr extends @builtin_literal_expr, LiteralExpr { } + /** + * INTERNAL: Do not use. + */ class CallExpr extends @call_expr, ApplyExpr { override string toString() { result = "CallExpr" } } + /** + * INTERNAL: Do not use. + */ class CheckedCastExpr extends @checked_cast_expr, ExplicitCastExpr { } + /** + * INTERNAL: Do not use. + */ class ClassMetatypeToObjectExpr extends @class_metatype_to_object_expr, ImplicitConversionExpr { override string toString() { result = "ClassMetatypeToObjectExpr" } } + /** + * INTERNAL: Do not use. + */ class ClosureExpr extends @closure_expr, AbstractClosureExpr { override string toString() { result = "ClosureExpr" } } + /** + * INTERNAL: Do not use. + */ class CoerceExpr extends @coerce_expr, ExplicitCastExpr { override string toString() { result = "CoerceExpr" } } + /** + * INTERNAL: Do not use. + */ class CollectionUpcastConversionExpr extends @collection_upcast_conversion_expr, ImplicitConversionExpr { override string toString() { result = "CollectionUpcastConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class ConditionalBridgeFromObjCExpr extends @conditional_bridge_from_obj_c_expr, ImplicitConversionExpr { override string toString() { result = "ConditionalBridgeFromObjCExpr" } } + /** + * INTERNAL: Do not use. + */ class CovariantFunctionConversionExpr extends @covariant_function_conversion_expr, ImplicitConversionExpr { override string toString() { result = "CovariantFunctionConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class CovariantReturnConversionExpr extends @covariant_return_conversion_expr, ImplicitConversionExpr { override string toString() { result = "CovariantReturnConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class DerivedToBaseExpr extends @derived_to_base_expr, ImplicitConversionExpr { override string toString() { result = "DerivedToBaseExpr" } } + /** + * INTERNAL: Do not use. + */ class DestructureTupleExpr extends @destructure_tuple_expr, ImplicitConversionExpr { override string toString() { result = "DestructureTupleExpr" } } + /** + * INTERNAL: Do not use. + */ class DictionaryExpr extends @dictionary_expr, CollectionExpr { override string toString() { result = "DictionaryExpr" } @@ -1410,52 +1872,88 @@ module Raw { Expr getElement(int index) { dictionary_expr_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class DifferentiableFunctionExpr extends @differentiable_function_expr, ImplicitConversionExpr { override string toString() { result = "DifferentiableFunctionExpr" } } + /** + * INTERNAL: Do not use. + */ class DifferentiableFunctionExtractOriginalExpr extends @differentiable_function_extract_original_expr, ImplicitConversionExpr { override string toString() { result = "DifferentiableFunctionExtractOriginalExpr" } } + /** + * INTERNAL: Do not use. + */ class DotSelfExpr extends @dot_self_expr, IdentityExpr { override string toString() { result = "DotSelfExpr" } } + /** + * INTERNAL: Do not use. + */ class DynamicLookupExpr extends @dynamic_lookup_expr, LookupExpr { } + /** + * INTERNAL: Do not use. + */ class ErasureExpr extends @erasure_expr, ImplicitConversionExpr { override string toString() { result = "ErasureExpr" } } + /** + * INTERNAL: Do not use. + */ class ExistentialMetatypeToObjectExpr extends @existential_metatype_to_object_expr, ImplicitConversionExpr { override string toString() { result = "ExistentialMetatypeToObjectExpr" } } + /** + * INTERNAL: Do not use. + */ class ForceTryExpr extends @force_try_expr, AnyTryExpr { override string toString() { result = "ForceTryExpr" } } + /** + * INTERNAL: Do not use. + */ class ForeignObjectConversionExpr extends @foreign_object_conversion_expr, ImplicitConversionExpr { override string toString() { result = "ForeignObjectConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class FunctionConversionExpr extends @function_conversion_expr, ImplicitConversionExpr { override string toString() { result = "FunctionConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class InOutToPointerExpr extends @in_out_to_pointer_expr, ImplicitConversionExpr { override string toString() { result = "InOutToPointerExpr" } } + /** + * INTERNAL: Do not use. + */ class InjectIntoOptionalExpr extends @inject_into_optional_expr, ImplicitConversionExpr { override string toString() { result = "InjectIntoOptionalExpr" } } + /** + * INTERNAL: Do not use. + */ class InterpolatedStringLiteralExpr extends @interpolated_string_literal_expr, LiteralExpr { override string toString() { result = "InterpolatedStringLiteralExpr" } @@ -1486,26 +1984,41 @@ module Raw { TapExpr getAppendingExpr() { interpolated_string_literal_expr_appending_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class LinearFunctionExpr extends @linear_function_expr, ImplicitConversionExpr { override string toString() { result = "LinearFunctionExpr" } } + /** + * INTERNAL: Do not use. + */ class LinearFunctionExtractOriginalExpr extends @linear_function_extract_original_expr, ImplicitConversionExpr { override string toString() { result = "LinearFunctionExtractOriginalExpr" } } + /** + * INTERNAL: Do not use. + */ class LinearToDifferentiableFunctionExpr extends @linear_to_differentiable_function_expr, ImplicitConversionExpr { override string toString() { result = "LinearToDifferentiableFunctionExpr" } } + /** + * INTERNAL: Do not use. + */ class LoadExpr extends @load_expr, ImplicitConversionExpr { override string toString() { result = "LoadExpr" } } + /** + * INTERNAL: Do not use. + */ class MemberRefExpr extends @member_ref_expr, LookupExpr { override string toString() { result = "MemberRefExpr" } @@ -1536,14 +2049,24 @@ module Raw { } } + /** + * INTERNAL: Do not use. + */ class MetatypeConversionExpr extends @metatype_conversion_expr, ImplicitConversionExpr { override string toString() { result = "MetatypeConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class NilLiteralExpr extends @nil_literal_expr, LiteralExpr { override string toString() { result = "NilLiteralExpr" } } + /** + * INTERNAL: Do not use. + * An instance of `#fileLiteral`, `#imageLiteral` or `#colorLiteral` expressions, which are used in playgrounds. + */ class ObjectLiteralExpr extends @object_literal_expr, LiteralExpr { override string toString() { result = "ObjectLiteralExpr" } @@ -1560,32 +2083,54 @@ module Raw { Argument getArgument(int index) { object_literal_expr_arguments(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class OptionalTryExpr extends @optional_try_expr, AnyTryExpr { override string toString() { result = "OptionalTryExpr" } } + /** + * INTERNAL: Do not use. + */ class ParenExpr extends @paren_expr, IdentityExpr { override string toString() { result = "ParenExpr" } } + /** + * INTERNAL: Do not use. + */ class PointerToPointerExpr extends @pointer_to_pointer_expr, ImplicitConversionExpr { override string toString() { result = "PointerToPointerExpr" } } + /** + * INTERNAL: Do not use. + */ class PostfixUnaryExpr extends @postfix_unary_expr, ApplyExpr { override string toString() { result = "PostfixUnaryExpr" } } + /** + * INTERNAL: Do not use. + */ class PrefixUnaryExpr extends @prefix_unary_expr, ApplyExpr { override string toString() { result = "PrefixUnaryExpr" } } + /** + * INTERNAL: Do not use. + */ class ProtocolMetatypeToObjectExpr extends @protocol_metatype_to_object_expr, ImplicitConversionExpr { override string toString() { result = "ProtocolMetatypeToObjectExpr" } } + /** + * INTERNAL: Do not use. + * A regular expression literal which is checked at compile time, for example `/a(a|b)*b/`. + */ class RegexLiteralExpr extends @regex_literal_expr, LiteralExpr { override string toString() { result = "RegexLiteralExpr" } @@ -1600,6 +2145,11 @@ module Raw { int getVersion() { regex_literal_exprs(this, _, result) } } + /** + * INTERNAL: Do not use. + * An internal raw instance of method lookups like `x.foo` in `x.foo()`. + * This is completely replaced by the synthesized type `MethodLookupExpr`. + */ class SelfApplyExpr extends @self_apply_expr, ApplyExpr { /** * Gets the base of this self apply expression. @@ -1607,10 +2157,16 @@ module Raw { Expr getBase() { self_apply_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class StringToPointerExpr extends @string_to_pointer_expr, ImplicitConversionExpr { override string toString() { result = "StringToPointerExpr" } } + /** + * INTERNAL: Do not use. + */ class SubscriptExpr extends @subscript_expr, LookupExpr { override string toString() { result = "SubscriptExpr" } @@ -1644,30 +2200,48 @@ module Raw { } } + /** + * INTERNAL: Do not use. + */ class TryExpr extends @try_expr, AnyTryExpr { override string toString() { result = "TryExpr" } } + /** + * INTERNAL: Do not use. + */ class UnderlyingToOpaqueExpr extends @underlying_to_opaque_expr, ImplicitConversionExpr { override string toString() { result = "UnderlyingToOpaqueExpr" } } + /** + * INTERNAL: Do not use. + */ class UnevaluatedInstanceExpr extends @unevaluated_instance_expr, ImplicitConversionExpr { override string toString() { result = "UnevaluatedInstanceExpr" } } + /** + * INTERNAL: Do not use. + */ class UnresolvedMemberChainResultExpr extends @unresolved_member_chain_result_expr, IdentityExpr, ErrorElement { override string toString() { result = "UnresolvedMemberChainResultExpr" } } + /** + * INTERNAL: Do not use. + */ class UnresolvedTypeConversionExpr extends @unresolved_type_conversion_expr, ImplicitConversionExpr, ErrorElement { override string toString() { result = "UnresolvedTypeConversionExpr" } } + /** + * INTERNAL: Do not use. + */ class BooleanLiteralExpr extends @boolean_literal_expr, BuiltinLiteralExpr { override string toString() { result = "BooleanLiteralExpr" } @@ -1677,34 +2251,58 @@ module Raw { boolean getValue() { boolean_literal_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class ConditionalCheckedCastExpr extends @conditional_checked_cast_expr, CheckedCastExpr { override string toString() { result = "ConditionalCheckedCastExpr" } } + /** + * INTERNAL: Do not use. + */ class ConstructorRefCallExpr extends @constructor_ref_call_expr, SelfApplyExpr { override string toString() { result = "ConstructorRefCallExpr" } } + /** + * INTERNAL: Do not use. + */ class DotSyntaxCallExpr extends @dot_syntax_call_expr, SelfApplyExpr { override string toString() { result = "DotSyntaxCallExpr" } } + /** + * INTERNAL: Do not use. + */ class DynamicMemberRefExpr extends @dynamic_member_ref_expr, DynamicLookupExpr { override string toString() { result = "DynamicMemberRefExpr" } } + /** + * INTERNAL: Do not use. + */ class DynamicSubscriptExpr extends @dynamic_subscript_expr, DynamicLookupExpr { override string toString() { result = "DynamicSubscriptExpr" } } + /** + * INTERNAL: Do not use. + */ class ForcedCheckedCastExpr extends @forced_checked_cast_expr, CheckedCastExpr { override string toString() { result = "ForcedCheckedCastExpr" } } + /** + * INTERNAL: Do not use. + */ class IsExpr extends @is_expr, CheckedCastExpr { override string toString() { result = "IsExpr" } } + /** + * INTERNAL: Do not use. + */ class MagicIdentifierLiteralExpr extends @magic_identifier_literal_expr, BuiltinLiteralExpr { override string toString() { result = "MagicIdentifierLiteralExpr" } @@ -1714,8 +2312,14 @@ module Raw { string getKind() { magic_identifier_literal_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class NumberLiteralExpr extends @number_literal_expr, BuiltinLiteralExpr { } + /** + * INTERNAL: Do not use. + */ class StringLiteralExpr extends @string_literal_expr, BuiltinLiteralExpr { override string toString() { result = "StringLiteralExpr" } @@ -1725,6 +2329,9 @@ module Raw { string getValue() { string_literal_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class FloatLiteralExpr extends @float_literal_expr, NumberLiteralExpr { override string toString() { result = "FloatLiteralExpr" } @@ -1734,6 +2341,9 @@ module Raw { string getStringValue() { float_literal_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class IntegerLiteralExpr extends @integer_literal_expr, NumberLiteralExpr { override string toString() { result = "IntegerLiteralExpr" } @@ -1743,12 +2353,21 @@ module Raw { string getStringValue() { integer_literal_exprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class Pattern extends @pattern, AstNode { } + /** + * INTERNAL: Do not use. + */ class AnyPattern extends @any_pattern, Pattern { override string toString() { result = "AnyPattern" } } + /** + * INTERNAL: Do not use. + */ class BindingPattern extends @binding_pattern, Pattern { override string toString() { result = "BindingPattern" } @@ -1758,6 +2377,9 @@ module Raw { Pattern getSubPattern() { binding_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class BoolPattern extends @bool_pattern, Pattern { override string toString() { result = "BoolPattern" } @@ -1767,6 +2389,9 @@ module Raw { boolean getValue() { bool_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class EnumElementPattern extends @enum_element_pattern, Pattern { override string toString() { result = "EnumElementPattern" } @@ -1781,6 +2406,9 @@ module Raw { Pattern getSubPattern() { enum_element_pattern_sub_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class ExprPattern extends @expr_pattern, Pattern { override string toString() { result = "ExprPattern" } @@ -1790,6 +2418,9 @@ module Raw { Expr getSubExpr() { expr_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class IsPattern extends @is_pattern, Pattern { override string toString() { result = "IsPattern" } @@ -1804,6 +2435,9 @@ module Raw { Pattern getSubPattern() { is_pattern_sub_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class NamedPattern extends @named_pattern, Pattern { override string toString() { result = "NamedPattern" } @@ -1813,6 +2447,9 @@ module Raw { string getName() { named_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class OptionalSomePattern extends @optional_some_pattern, Pattern { override string toString() { result = "OptionalSomePattern" } @@ -1822,6 +2459,9 @@ module Raw { Pattern getSubPattern() { optional_some_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class ParenPattern extends @paren_pattern, Pattern { override string toString() { result = "ParenPattern" } @@ -1831,6 +2471,9 @@ module Raw { Pattern getSubPattern() { paren_patterns(this, result) } } + /** + * INTERNAL: Do not use. + */ class TuplePattern extends @tuple_pattern, Pattern { override string toString() { result = "TuplePattern" } @@ -1840,6 +2483,9 @@ module Raw { Pattern getElement(int index) { tuple_pattern_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class TypedPattern extends @typed_pattern, Pattern { override string toString() { result = "TypedPattern" } @@ -1854,6 +2500,9 @@ module Raw { TypeRepr getTypeRepr() { typed_pattern_type_reprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class CaseLabelItem extends @case_label_item, AstNode { override string toString() { result = "CaseLabelItem" } @@ -1868,6 +2517,9 @@ module Raw { Expr getGuard() { case_label_item_guards(this, result) } } + /** + * INTERNAL: Do not use. + */ class ConditionElement extends @condition_element, AstNode { override string toString() { result = "ConditionElement" } @@ -1892,8 +2544,14 @@ module Raw { AvailabilityInfo getAvailability() { condition_element_availabilities(this, result) } } + /** + * INTERNAL: Do not use. + */ class Stmt extends @stmt, AstNode { } + /** + * INTERNAL: Do not use. + */ class StmtCondition extends @stmt_condition, AstNode { override string toString() { result = "StmtCondition" } @@ -1903,6 +2561,9 @@ module Raw { ConditionElement getElement(int index) { stmt_condition_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class BraceStmt extends @brace_stmt, Stmt { override string toString() { result = "BraceStmt" } @@ -1912,6 +2573,9 @@ module Raw { AstNode getElement(int index) { brace_stmt_elements(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class BreakStmt extends @break_stmt, Stmt { override string toString() { result = "BreakStmt" } @@ -1926,6 +2590,9 @@ module Raw { Stmt getTarget() { break_stmt_targets(this, result) } } + /** + * INTERNAL: Do not use. + */ class CaseStmt extends @case_stmt, Stmt { override string toString() { result = "CaseStmt" } @@ -1945,6 +2612,9 @@ module Raw { VarDecl getVariable(int index) { case_stmt_variables(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class ContinueStmt extends @continue_stmt, Stmt { override string toString() { result = "ContinueStmt" } @@ -1959,6 +2629,9 @@ module Raw { Stmt getTarget() { continue_stmt_targets(this, result) } } + /** + * INTERNAL: Do not use. + */ class DeferStmt extends @defer_stmt, Stmt { override string toString() { result = "DeferStmt" } @@ -1968,10 +2641,16 @@ module Raw { BraceStmt getBody() { defer_stmts(this, result) } } + /** + * INTERNAL: Do not use. + */ class FailStmt extends @fail_stmt, Stmt { override string toString() { result = "FailStmt" } } + /** + * INTERNAL: Do not use. + */ class FallthroughStmt extends @fallthrough_stmt, Stmt { override string toString() { result = "FallthroughStmt" } @@ -1986,6 +2665,9 @@ module Raw { CaseStmt getFallthroughDest() { fallthrough_stmts(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class LabeledStmt extends @labeled_stmt, Stmt { /** * Gets the label of this labeled statement, if it exists. @@ -1993,6 +2675,9 @@ module Raw { string getLabel() { labeled_stmt_labels(this, result) } } + /** + * INTERNAL: Do not use. + */ class PoundAssertStmt extends @pound_assert_stmt, Stmt { override string toString() { result = "PoundAssertStmt" } @@ -2007,6 +2692,9 @@ module Raw { string getMessage() { pound_assert_stmts(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class ReturnStmt extends @return_stmt, Stmt { override string toString() { result = "ReturnStmt" } @@ -2016,6 +2704,9 @@ module Raw { Expr getResult() { return_stmt_results(this, result) } } + /** + * INTERNAL: Do not use. + */ class ThrowStmt extends @throw_stmt, Stmt { override string toString() { result = "ThrowStmt" } @@ -2025,6 +2716,9 @@ module Raw { Expr getSubExpr() { throw_stmts(this, result) } } + /** + * INTERNAL: Do not use. + */ class YieldStmt extends @yield_stmt, Stmt { override string toString() { result = "YieldStmt" } @@ -2034,6 +2728,9 @@ module Raw { Expr getResult(int index) { yield_stmt_results(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class DoCatchStmt extends @do_catch_stmt, LabeledStmt { override string toString() { result = "DoCatchStmt" } @@ -2048,6 +2745,9 @@ module Raw { CaseStmt getCatch(int index) { do_catch_stmt_catches(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class DoStmt extends @do_stmt, LabeledStmt { override string toString() { result = "DoStmt" } @@ -2057,6 +2757,9 @@ module Raw { BraceStmt getBody() { do_stmts(this, result) } } + /** + * INTERNAL: Do not use. + */ class ForEachStmt extends @for_each_stmt, LabeledStmt { override string toString() { result = "ForEachStmt" } @@ -2081,6 +2784,9 @@ module Raw { BraceStmt getBody() { for_each_stmts(this, _, _, result) } } + /** + * INTERNAL: Do not use. + */ class LabeledConditionalStmt extends @labeled_conditional_stmt, LabeledStmt { /** * Gets the condition of this labeled conditional statement. @@ -2088,6 +2794,9 @@ module Raw { StmtCondition getCondition() { labeled_conditional_stmts(this, result) } } + /** + * INTERNAL: Do not use. + */ class RepeatWhileStmt extends @repeat_while_stmt, LabeledStmt { override string toString() { result = "RepeatWhileStmt" } @@ -2102,6 +2811,9 @@ module Raw { Stmt getBody() { repeat_while_stmts(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class SwitchStmt extends @switch_stmt, LabeledStmt { override string toString() { result = "SwitchStmt" } @@ -2116,6 +2828,9 @@ module Raw { CaseStmt getCase(int index) { switch_stmt_cases(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class GuardStmt extends @guard_stmt, LabeledConditionalStmt { override string toString() { result = "GuardStmt" } @@ -2125,6 +2840,9 @@ module Raw { BraceStmt getBody() { guard_stmts(this, result) } } + /** + * INTERNAL: Do not use. + */ class IfStmt extends @if_stmt, LabeledConditionalStmt { override string toString() { result = "IfStmt" } @@ -2139,6 +2857,9 @@ module Raw { Stmt getElse() { if_stmt_elses(this, result) } } + /** + * INTERNAL: Do not use. + */ class WhileStmt extends @while_stmt, LabeledConditionalStmt { override string toString() { result = "WhileStmt" } @@ -2148,6 +2869,9 @@ module Raw { Stmt getBody() { while_stmts(this, result) } } + /** + * INTERNAL: Do not use. + */ class Type extends @type, Element { /** * Gets the name of this type. @@ -2160,6 +2884,9 @@ module Raw { Type getCanonicalType() { types(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class TypeRepr extends @type_repr, AstNode { override string toString() { result = "TypeRepr" } @@ -2169,6 +2896,9 @@ module Raw { Type getType() { type_reprs(this, result) } } + /** + * INTERNAL: Do not use. + */ class AnyFunctionType extends @any_function_type, Type { /** * Gets the result of this function type. @@ -2191,6 +2921,9 @@ module Raw { predicate isAsync() { any_function_type_is_async(this) } } + /** + * INTERNAL: Do not use. + */ class AnyGenericType extends @any_generic_type, Type { /** * Gets the parent of this any generic type, if it exists. @@ -2203,10 +2936,19 @@ module Raw { GenericTypeDecl getDeclaration() { any_generic_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class AnyMetatypeType extends @any_metatype_type, Type { } + /** + * INTERNAL: Do not use. + */ class BuiltinType extends @builtin_type, Type { } + /** + * INTERNAL: Do not use. + */ class DependentMemberType extends @dependent_member_type, Type { override string toString() { result = "DependentMemberType" } @@ -2221,6 +2963,9 @@ module Raw { AssociatedTypeDecl getAssociatedTypeDecl() { dependent_member_types(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class DynamicSelfType extends @dynamic_self_type, Type { override string toString() { result = "DynamicSelfType" } @@ -2230,10 +2975,16 @@ module Raw { Type getStaticSelfType() { dynamic_self_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class ErrorType extends @error_type, Type, ErrorElement { override string toString() { result = "ErrorType" } } + /** + * INTERNAL: Do not use. + */ class ExistentialType extends @existential_type, Type { override string toString() { result = "ExistentialType" } @@ -2243,6 +2994,9 @@ module Raw { Type getConstraint() { existential_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class InOutType extends @in_out_type, Type { override string toString() { result = "InOutType" } @@ -2252,6 +3006,9 @@ module Raw { Type getObjectType() { in_out_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class LValueType extends @l_value_type, Type { override string toString() { result = "LValueType" } @@ -2261,6 +3018,9 @@ module Raw { Type getObjectType() { l_value_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class ModuleType extends @module_type, Type { override string toString() { result = "ModuleType" } @@ -2270,6 +3030,12 @@ module Raw { ModuleDecl getModule() { module_types(this, result) } } + /** + * INTERNAL: Do not use. + * A sugar type of the form `P` with `P` a protocol. + * + * If `P` has primary associated type `A`, then `T: P` is a shortcut for `T: P where T.A == X`. + */ class ParameterizedProtocolType extends @parameterized_protocol_type, Type { override string toString() { result = "ParameterizedProtocolType" } @@ -2284,6 +3050,9 @@ module Raw { Type getArg(int index) { parameterized_protocol_type_args(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class ProtocolCompositionType extends @protocol_composition_type, Type { override string toString() { result = "ProtocolCompositionType" } @@ -2293,6 +3062,9 @@ module Raw { Type getMember(int index) { protocol_composition_type_members(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class ReferenceStorageType extends @reference_storage_type, Type { /** * Gets the referent type of this reference storage type. @@ -2300,10 +3072,19 @@ module Raw { Type getReferentType() { reference_storage_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class SubstitutableType extends @substitutable_type, Type { } + /** + * INTERNAL: Do not use. + */ class SugarType extends @sugar_type, Type { } + /** + * INTERNAL: Do not use. + */ class TupleType extends @tuple_type, Type { override string toString() { result = "TupleType" } @@ -2318,12 +3099,21 @@ module Raw { string getName(int index) { tuple_type_names(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class UnresolvedType extends @unresolved_type, Type, ErrorElement { override string toString() { result = "UnresolvedType" } } + /** + * INTERNAL: Do not use. + */ class AnyBuiltinIntegerType extends @any_builtin_integer_type, BuiltinType { } + /** + * INTERNAL: Do not use. + */ class ArchetypeType extends @archetype_type, SubstitutableType { /** * Gets the interface type of this archetype type. @@ -2341,54 +3131,94 @@ module Raw { ProtocolDecl getProtocol(int index) { archetype_type_protocols(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class BuiltinBridgeObjectType extends @builtin_bridge_object_type, BuiltinType { override string toString() { result = "BuiltinBridgeObjectType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinDefaultActorStorageType extends @builtin_default_actor_storage_type, BuiltinType { override string toString() { result = "BuiltinDefaultActorStorageType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinExecutorType extends @builtin_executor_type, BuiltinType { override string toString() { result = "BuiltinExecutorType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinFloatType extends @builtin_float_type, BuiltinType { override string toString() { result = "BuiltinFloatType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinJobType extends @builtin_job_type, BuiltinType { override string toString() { result = "BuiltinJobType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinNativeObjectType extends @builtin_native_object_type, BuiltinType { override string toString() { result = "BuiltinNativeObjectType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinRawPointerType extends @builtin_raw_pointer_type, BuiltinType { override string toString() { result = "BuiltinRawPointerType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinRawUnsafeContinuationType extends @builtin_raw_unsafe_continuation_type, BuiltinType { override string toString() { result = "BuiltinRawUnsafeContinuationType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinUnsafeValueBufferType extends @builtin_unsafe_value_buffer_type, BuiltinType { override string toString() { result = "BuiltinUnsafeValueBufferType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinVectorType extends @builtin_vector_type, BuiltinType { override string toString() { result = "BuiltinVectorType" } } + /** + * INTERNAL: Do not use. + */ class ExistentialMetatypeType extends @existential_metatype_type, AnyMetatypeType { override string toString() { result = "ExistentialMetatypeType" } } + /** + * INTERNAL: Do not use. + */ class FunctionType extends @function_type, AnyFunctionType { override string toString() { result = "FunctionType" } } + /** + * INTERNAL: Do not use. + * The type of a generic function with type parameters + */ class GenericFunctionType extends @generic_function_type, AnyFunctionType { override string toString() { result = "GenericFunctionType" } @@ -2400,18 +3230,30 @@ module Raw { } } + /** + * INTERNAL: Do not use. + */ class GenericTypeParamType extends @generic_type_param_type, SubstitutableType { override string toString() { result = "GenericTypeParamType" } } + /** + * INTERNAL: Do not use. + */ class MetatypeType extends @metatype_type, AnyMetatypeType { override string toString() { result = "MetatypeType" } } + /** + * INTERNAL: Do not use. + */ class NominalOrBoundGenericNominalType extends @nominal_or_bound_generic_nominal_type, AnyGenericType { } + /** + * INTERNAL: Do not use. + */ class ParenType extends @paren_type, SugarType { override string toString() { result = "ParenType" } @@ -2421,8 +3263,14 @@ module Raw { Type getType() { paren_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class SyntaxSugarType extends @syntax_sugar_type, SugarType { } + /** + * INTERNAL: Do not use. + */ class TypeAliasType extends @type_alias_type, SugarType { override string toString() { result = "TypeAliasType" } @@ -2432,22 +3280,37 @@ module Raw { TypeAliasDecl getDecl() { type_alias_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class UnboundGenericType extends @unbound_generic_type, AnyGenericType { override string toString() { result = "UnboundGenericType" } } + /** + * INTERNAL: Do not use. + */ class UnmanagedStorageType extends @unmanaged_storage_type, ReferenceStorageType { override string toString() { result = "UnmanagedStorageType" } } + /** + * INTERNAL: Do not use. + */ class UnownedStorageType extends @unowned_storage_type, ReferenceStorageType { override string toString() { result = "UnownedStorageType" } } + /** + * INTERNAL: Do not use. + */ class WeakStorageType extends @weak_storage_type, ReferenceStorageType { override string toString() { result = "WeakStorageType" } } + /** + * INTERNAL: Do not use. + */ class BoundGenericType extends @bound_generic_type, NominalOrBoundGenericNominalType { /** * Gets the `index`th argument type of this bound generic type (0-based). @@ -2455,10 +3318,16 @@ module Raw { Type getArgType(int index) { bound_generic_type_arg_types(this, index, result) } } + /** + * INTERNAL: Do not use. + */ class BuiltinIntegerLiteralType extends @builtin_integer_literal_type, AnyBuiltinIntegerType { override string toString() { result = "BuiltinIntegerLiteralType" } } + /** + * INTERNAL: Do not use. + */ class BuiltinIntegerType extends @builtin_integer_type, AnyBuiltinIntegerType { override string toString() { result = "BuiltinIntegerType" } @@ -2468,6 +3337,9 @@ module Raw { int getWidth() { builtin_integer_type_widths(this, result) } } + /** + * INTERNAL: Do not use. + */ class DictionaryType extends @dictionary_type, SyntaxSugarType { override string toString() { result = "DictionaryType" } @@ -2482,8 +3354,17 @@ module Raw { Type getValueType() { dictionary_types(this, _, result) } } + /** + * INTERNAL: Do not use. + */ class NominalType extends @nominal_type, NominalOrBoundGenericNominalType { } + /** + * INTERNAL: Do not use. + * An opaque type, that is a type formally equivalent to an underlying type but abstracting it away. + * + * See https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html. + */ class OpaqueTypeArchetypeType extends @opaque_type_archetype_type, ArchetypeType { override string toString() { result = "OpaqueTypeArchetypeType" } @@ -2493,14 +3374,23 @@ module Raw { OpaqueTypeDecl getDeclaration() { opaque_type_archetype_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class OpenedArchetypeType extends @opened_archetype_type, ArchetypeType { override string toString() { result = "OpenedArchetypeType" } } + /** + * INTERNAL: Do not use. + */ class PrimaryArchetypeType extends @primary_archetype_type, ArchetypeType { override string toString() { result = "PrimaryArchetypeType" } } + /** + * INTERNAL: Do not use. + */ class UnarySyntaxSugarType extends @unary_syntax_sugar_type, SyntaxSugarType { /** * Gets the base type of this unary syntax sugar type. @@ -2508,42 +3398,72 @@ module Raw { Type getBaseType() { unary_syntax_sugar_types(this, result) } } + /** + * INTERNAL: Do not use. + */ class ArraySliceType extends @array_slice_type, UnarySyntaxSugarType { override string toString() { result = "ArraySliceType" } } + /** + * INTERNAL: Do not use. + */ class BoundGenericClassType extends @bound_generic_class_type, BoundGenericType { override string toString() { result = "BoundGenericClassType" } } + /** + * INTERNAL: Do not use. + */ class BoundGenericEnumType extends @bound_generic_enum_type, BoundGenericType { override string toString() { result = "BoundGenericEnumType" } } + /** + * INTERNAL: Do not use. + */ class BoundGenericStructType extends @bound_generic_struct_type, BoundGenericType { override string toString() { result = "BoundGenericStructType" } } + /** + * INTERNAL: Do not use. + */ class ClassType extends @class_type, NominalType { override string toString() { result = "ClassType" } } + /** + * INTERNAL: Do not use. + */ class EnumType extends @enum_type, NominalType { override string toString() { result = "EnumType" } } + /** + * INTERNAL: Do not use. + */ class OptionalType extends @optional_type, UnarySyntaxSugarType { override string toString() { result = "OptionalType" } } + /** + * INTERNAL: Do not use. + */ class ProtocolType extends @protocol_type, NominalType { override string toString() { result = "ProtocolType" } } + /** + * INTERNAL: Do not use. + */ class StructType extends @struct_type, NominalType { override string toString() { result = "StructType" } } + /** + * INTERNAL: Do not use. + */ class VariadicSequenceType extends @variadic_sequence_type, UnarySyntaxSugarType { override string toString() { result = "VariadicSequenceType" } } diff --git a/swift/ql/lib/codeql/swift/generated/Synth.qll b/swift/ql/lib/codeql/swift/generated/Synth.qll index a30d1b2e695..78077f37c16 100644 --- a/swift/ql/lib/codeql/swift/generated/Synth.qll +++ b/swift/ql/lib/codeql/swift/generated/Synth.qll @@ -1,380 +1,1167 @@ +/** + * INTERNAL: Do not use. + * This module defines the IPA layer on top of raw DB entities, and the conversions between the two + * layers. + */ + private import codeql.swift.generated.SynthConstructors private import codeql.swift.generated.Raw cached module Synth { + /** + * INTERNAL: Do not use. + * The synthesized type of all elements. + */ cached newtype TElement = + /** + * INTERNAL: Do not use. + */ TAvailabilityInfo(Raw::AvailabilityInfo id) { constructAvailabilityInfo(id) } or + /** + * INTERNAL: Do not use. + */ TComment(Raw::Comment id) { constructComment(id) } or + /** + * INTERNAL: Do not use. + */ TDbFile(Raw::DbFile id) { constructDbFile(id) } or + /** + * INTERNAL: Do not use. + */ TDbLocation(Raw::DbLocation id) { constructDbLocation(id) } or + /** + * INTERNAL: Do not use. + */ TDiagnostics(Raw::Diagnostics id) { constructDiagnostics(id) } or + /** + * INTERNAL: Do not use. + */ TKeyPathComponent(Raw::KeyPathComponent id) { constructKeyPathComponent(id) } or + /** + * INTERNAL: Do not use. + */ TOtherAvailabilitySpec(Raw::OtherAvailabilitySpec id) { constructOtherAvailabilitySpec(id) } or + /** + * INTERNAL: Do not use. + */ TPlatformVersionAvailabilitySpec(Raw::PlatformVersionAvailabilitySpec id) { constructPlatformVersionAvailabilitySpec(id) } or + /** + * INTERNAL: Do not use. + */ TUnknownFile() or + /** + * INTERNAL: Do not use. + */ TUnknownLocation() or + /** + * INTERNAL: Do not use. + */ TUnspecifiedElement(Raw::UnspecifiedElement id) { constructUnspecifiedElement(id) } or + /** + * INTERNAL: Do not use. + */ TAccessorDecl(Raw::AccessorDecl id) { constructAccessorDecl(id) } or + /** + * INTERNAL: Do not use. + */ TAssociatedTypeDecl(Raw::AssociatedTypeDecl id) { constructAssociatedTypeDecl(id) } or + /** + * INTERNAL: Do not use. + */ TCapturedDecl(Raw::CapturedDecl id) { constructCapturedDecl(id) } or + /** + * INTERNAL: Do not use. + */ TClassDecl(Raw::ClassDecl id) { constructClassDecl(id) } or + /** + * INTERNAL: Do not use. + */ TConcreteFuncDecl(Raw::ConcreteFuncDecl id) { constructConcreteFuncDecl(id) } or + /** + * INTERNAL: Do not use. + */ TConcreteVarDecl(Raw::ConcreteVarDecl id) { constructConcreteVarDecl(id) } or + /** + * INTERNAL: Do not use. + */ TConstructorDecl(Raw::ConstructorDecl id) { constructConstructorDecl(id) } or + /** + * INTERNAL: Do not use. + */ TDestructorDecl(Raw::DestructorDecl id) { constructDestructorDecl(id) } or + /** + * INTERNAL: Do not use. + */ TEnumCaseDecl(Raw::EnumCaseDecl id) { constructEnumCaseDecl(id) } or + /** + * INTERNAL: Do not use. + */ TEnumDecl(Raw::EnumDecl id) { constructEnumDecl(id) } or + /** + * INTERNAL: Do not use. + */ TEnumElementDecl(Raw::EnumElementDecl id) { constructEnumElementDecl(id) } or + /** + * INTERNAL: Do not use. + */ TExtensionDecl(Raw::ExtensionDecl id) { constructExtensionDecl(id) } or + /** + * INTERNAL: Do not use. + */ TGenericTypeParamDecl(Raw::GenericTypeParamDecl id) { constructGenericTypeParamDecl(id) } or + /** + * INTERNAL: Do not use. + */ TIfConfigDecl(Raw::IfConfigDecl id) { constructIfConfigDecl(id) } or + /** + * INTERNAL: Do not use. + */ TImportDecl(Raw::ImportDecl id) { constructImportDecl(id) } or + /** + * INTERNAL: Do not use. + */ TInfixOperatorDecl(Raw::InfixOperatorDecl id) { constructInfixOperatorDecl(id) } or + /** + * INTERNAL: Do not use. + */ TMissingMemberDecl(Raw::MissingMemberDecl id) { constructMissingMemberDecl(id) } or + /** + * INTERNAL: Do not use. + */ TModuleDecl(Raw::ModuleDecl id) { constructModuleDecl(id) } or + /** + * INTERNAL: Do not use. + */ TOpaqueTypeDecl(Raw::OpaqueTypeDecl id) { constructOpaqueTypeDecl(id) } or + /** + * INTERNAL: Do not use. + */ TParamDecl(Raw::ParamDecl id) { constructParamDecl(id) } or + /** + * INTERNAL: Do not use. + */ TPatternBindingDecl(Raw::PatternBindingDecl id) { constructPatternBindingDecl(id) } or + /** + * INTERNAL: Do not use. + */ TPostfixOperatorDecl(Raw::PostfixOperatorDecl id) { constructPostfixOperatorDecl(id) } or + /** + * INTERNAL: Do not use. + */ TPoundDiagnosticDecl(Raw::PoundDiagnosticDecl id) { constructPoundDiagnosticDecl(id) } or + /** + * INTERNAL: Do not use. + */ TPrecedenceGroupDecl(Raw::PrecedenceGroupDecl id) { constructPrecedenceGroupDecl(id) } or + /** + * INTERNAL: Do not use. + */ TPrefixOperatorDecl(Raw::PrefixOperatorDecl id) { constructPrefixOperatorDecl(id) } or + /** + * INTERNAL: Do not use. + */ TProtocolDecl(Raw::ProtocolDecl id) { constructProtocolDecl(id) } or + /** + * INTERNAL: Do not use. + */ TStructDecl(Raw::StructDecl id) { constructStructDecl(id) } or + /** + * INTERNAL: Do not use. + */ TSubscriptDecl(Raw::SubscriptDecl id) { constructSubscriptDecl(id) } or + /** + * INTERNAL: Do not use. + */ TTopLevelCodeDecl(Raw::TopLevelCodeDecl id) { constructTopLevelCodeDecl(id) } or + /** + * INTERNAL: Do not use. + */ TTypeAliasDecl(Raw::TypeAliasDecl id) { constructTypeAliasDecl(id) } or + /** + * INTERNAL: Do not use. + */ TAbiSafeConversionExpr(Raw::AbiSafeConversionExpr id) { constructAbiSafeConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TAnyHashableErasureExpr(Raw::AnyHashableErasureExpr id) { constructAnyHashableErasureExpr(id) } or + /** + * INTERNAL: Do not use. + */ TAppliedPropertyWrapperExpr(Raw::AppliedPropertyWrapperExpr id) { constructAppliedPropertyWrapperExpr(id) } or + /** + * INTERNAL: Do not use. + */ TArchetypeToSuperExpr(Raw::ArchetypeToSuperExpr id) { constructArchetypeToSuperExpr(id) } or + /** + * INTERNAL: Do not use. + */ TArgument(Raw::Argument id) { constructArgument(id) } or + /** + * INTERNAL: Do not use. + */ TArrayExpr(Raw::ArrayExpr id) { constructArrayExpr(id) } or + /** + * INTERNAL: Do not use. + */ TArrayToPointerExpr(Raw::ArrayToPointerExpr id) { constructArrayToPointerExpr(id) } or + /** + * INTERNAL: Do not use. + */ TAssignExpr(Raw::AssignExpr id) { constructAssignExpr(id) } or + /** + * INTERNAL: Do not use. + */ TAutoClosureExpr(Raw::AutoClosureExpr id) { constructAutoClosureExpr(id) } or + /** + * INTERNAL: Do not use. + */ TAwaitExpr(Raw::AwaitExpr id) { constructAwaitExpr(id) } or + /** + * INTERNAL: Do not use. + */ TBinaryExpr(Raw::BinaryExpr id) { constructBinaryExpr(id) } or + /** + * INTERNAL: Do not use. + */ TBindOptionalExpr(Raw::BindOptionalExpr id) { constructBindOptionalExpr(id) } or + /** + * INTERNAL: Do not use. + */ TBooleanLiteralExpr(Raw::BooleanLiteralExpr id) { constructBooleanLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TBridgeFromObjCExpr(Raw::BridgeFromObjCExpr id) { constructBridgeFromObjCExpr(id) } or + /** + * INTERNAL: Do not use. + */ TBridgeToObjCExpr(Raw::BridgeToObjCExpr id) { constructBridgeToObjCExpr(id) } or + /** + * INTERNAL: Do not use. + */ TCallExpr(Raw::CallExpr id) { constructCallExpr(id) } or + /** + * INTERNAL: Do not use. + */ TCaptureListExpr(Raw::CaptureListExpr id) { constructCaptureListExpr(id) } or + /** + * INTERNAL: Do not use. + */ TClassMetatypeToObjectExpr(Raw::ClassMetatypeToObjectExpr id) { constructClassMetatypeToObjectExpr(id) } or + /** + * INTERNAL: Do not use. + */ TClosureExpr(Raw::ClosureExpr id) { constructClosureExpr(id) } or + /** + * INTERNAL: Do not use. + */ TCoerceExpr(Raw::CoerceExpr id) { constructCoerceExpr(id) } or + /** + * INTERNAL: Do not use. + */ TCollectionUpcastConversionExpr(Raw::CollectionUpcastConversionExpr id) { constructCollectionUpcastConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TConditionalBridgeFromObjCExpr(Raw::ConditionalBridgeFromObjCExpr id) { constructConditionalBridgeFromObjCExpr(id) } or + /** + * INTERNAL: Do not use. + */ TConditionalCheckedCastExpr(Raw::ConditionalCheckedCastExpr id) { constructConditionalCheckedCastExpr(id) } or + /** + * INTERNAL: Do not use. + */ TConstructorRefCallExpr(Raw::ConstructorRefCallExpr id) { constructConstructorRefCallExpr(id) } or + /** + * INTERNAL: Do not use. + */ TCovariantFunctionConversionExpr(Raw::CovariantFunctionConversionExpr id) { constructCovariantFunctionConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TCovariantReturnConversionExpr(Raw::CovariantReturnConversionExpr id) { constructCovariantReturnConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDeclRefExpr(Raw::DeclRefExpr id) { constructDeclRefExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDefaultArgumentExpr(Raw::DefaultArgumentExpr id) { constructDefaultArgumentExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDerivedToBaseExpr(Raw::DerivedToBaseExpr id) { constructDerivedToBaseExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDestructureTupleExpr(Raw::DestructureTupleExpr id) { constructDestructureTupleExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDictionaryExpr(Raw::DictionaryExpr id) { constructDictionaryExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDifferentiableFunctionExpr(Raw::DifferentiableFunctionExpr id) { constructDifferentiableFunctionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDifferentiableFunctionExtractOriginalExpr(Raw::DifferentiableFunctionExtractOriginalExpr id) { constructDifferentiableFunctionExtractOriginalExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDiscardAssignmentExpr(Raw::DiscardAssignmentExpr id) { constructDiscardAssignmentExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDotSelfExpr(Raw::DotSelfExpr id) { constructDotSelfExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDotSyntaxBaseIgnoredExpr(Raw::DotSyntaxBaseIgnoredExpr id) { constructDotSyntaxBaseIgnoredExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDotSyntaxCallExpr(Raw::DotSyntaxCallExpr id) { constructDotSyntaxCallExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDynamicMemberRefExpr(Raw::DynamicMemberRefExpr id) { constructDynamicMemberRefExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDynamicSubscriptExpr(Raw::DynamicSubscriptExpr id) { constructDynamicSubscriptExpr(id) } or + /** + * INTERNAL: Do not use. + */ TDynamicTypeExpr(Raw::DynamicTypeExpr id) { constructDynamicTypeExpr(id) } or + /** + * INTERNAL: Do not use. + */ TEnumIsCaseExpr(Raw::EnumIsCaseExpr id) { constructEnumIsCaseExpr(id) } or + /** + * INTERNAL: Do not use. + */ TErasureExpr(Raw::ErasureExpr id) { constructErasureExpr(id) } or + /** + * INTERNAL: Do not use. + */ TErrorExpr(Raw::ErrorExpr id) { constructErrorExpr(id) } or + /** + * INTERNAL: Do not use. + */ TExistentialMetatypeToObjectExpr(Raw::ExistentialMetatypeToObjectExpr id) { constructExistentialMetatypeToObjectExpr(id) } or + /** + * INTERNAL: Do not use. + */ TFloatLiteralExpr(Raw::FloatLiteralExpr id) { constructFloatLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TForceTryExpr(Raw::ForceTryExpr id) { constructForceTryExpr(id) } or + /** + * INTERNAL: Do not use. + */ TForceValueExpr(Raw::ForceValueExpr id) { constructForceValueExpr(id) } or + /** + * INTERNAL: Do not use. + */ TForcedCheckedCastExpr(Raw::ForcedCheckedCastExpr id) { constructForcedCheckedCastExpr(id) } or + /** + * INTERNAL: Do not use. + */ TForeignObjectConversionExpr(Raw::ForeignObjectConversionExpr id) { constructForeignObjectConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TFunctionConversionExpr(Raw::FunctionConversionExpr id) { constructFunctionConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TIfExpr(Raw::IfExpr id) { constructIfExpr(id) } or + /** + * INTERNAL: Do not use. + */ TInOutExpr(Raw::InOutExpr id) { constructInOutExpr(id) } or + /** + * INTERNAL: Do not use. + */ TInOutToPointerExpr(Raw::InOutToPointerExpr id) { constructInOutToPointerExpr(id) } or + /** + * INTERNAL: Do not use. + */ TInjectIntoOptionalExpr(Raw::InjectIntoOptionalExpr id) { constructInjectIntoOptionalExpr(id) } or + /** + * INTERNAL: Do not use. + */ TIntegerLiteralExpr(Raw::IntegerLiteralExpr id) { constructIntegerLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TInterpolatedStringLiteralExpr(Raw::InterpolatedStringLiteralExpr id) { constructInterpolatedStringLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TIsExpr(Raw::IsExpr id) { constructIsExpr(id) } or + /** + * INTERNAL: Do not use. + */ TKeyPathApplicationExpr(Raw::KeyPathApplicationExpr id) { constructKeyPathApplicationExpr(id) } or + /** + * INTERNAL: Do not use. + */ TKeyPathDotExpr(Raw::KeyPathDotExpr id) { constructKeyPathDotExpr(id) } or + /** + * INTERNAL: Do not use. + */ TKeyPathExpr(Raw::KeyPathExpr id) { constructKeyPathExpr(id) } or + /** + * INTERNAL: Do not use. + */ TLazyInitializerExpr(Raw::LazyInitializerExpr id) { constructLazyInitializerExpr(id) } or + /** + * INTERNAL: Do not use. + */ TLinearFunctionExpr(Raw::LinearFunctionExpr id) { constructLinearFunctionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TLinearFunctionExtractOriginalExpr(Raw::LinearFunctionExtractOriginalExpr id) { constructLinearFunctionExtractOriginalExpr(id) } or + /** + * INTERNAL: Do not use. + */ TLinearToDifferentiableFunctionExpr(Raw::LinearToDifferentiableFunctionExpr id) { constructLinearToDifferentiableFunctionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TLoadExpr(Raw::LoadExpr id) { constructLoadExpr(id) } or + /** + * INTERNAL: Do not use. + */ TMagicIdentifierLiteralExpr(Raw::MagicIdentifierLiteralExpr id) { constructMagicIdentifierLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TMakeTemporarilyEscapableExpr(Raw::MakeTemporarilyEscapableExpr id) { constructMakeTemporarilyEscapableExpr(id) } or + /** + * INTERNAL: Do not use. + */ TMemberRefExpr(Raw::MemberRefExpr id) { constructMemberRefExpr(id) } or + /** + * INTERNAL: Do not use. + */ TMetatypeConversionExpr(Raw::MetatypeConversionExpr id) { constructMetatypeConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TMethodLookupExpr(Raw::SelfApplyExpr id) { constructMethodLookupExpr(id) } or + /** + * INTERNAL: Do not use. + */ TNilLiteralExpr(Raw::NilLiteralExpr id) { constructNilLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TObjCSelectorExpr(Raw::ObjCSelectorExpr id) { constructObjCSelectorExpr(id) } or + /** + * INTERNAL: Do not use. + */ TObjectLiteralExpr(Raw::ObjectLiteralExpr id) { constructObjectLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TOneWayExpr(Raw::OneWayExpr id) { constructOneWayExpr(id) } or + /** + * INTERNAL: Do not use. + */ TOpaqueValueExpr(Raw::OpaqueValueExpr id) { constructOpaqueValueExpr(id) } or + /** + * INTERNAL: Do not use. + */ TOpenExistentialExpr(Raw::OpenExistentialExpr id) { constructOpenExistentialExpr(id) } or + /** + * INTERNAL: Do not use. + */ TOptionalEvaluationExpr(Raw::OptionalEvaluationExpr id) { constructOptionalEvaluationExpr(id) } or + /** + * INTERNAL: Do not use. + */ TOptionalTryExpr(Raw::OptionalTryExpr id) { constructOptionalTryExpr(id) } or + /** + * INTERNAL: Do not use. + */ TOtherConstructorDeclRefExpr(Raw::OtherConstructorDeclRefExpr id) { constructOtherConstructorDeclRefExpr(id) } or + /** + * INTERNAL: Do not use. + */ TOverloadedDeclRefExpr(Raw::OverloadedDeclRefExpr id) { constructOverloadedDeclRefExpr(id) } or + /** + * INTERNAL: Do not use. + */ TParenExpr(Raw::ParenExpr id) { constructParenExpr(id) } or + /** + * INTERNAL: Do not use. + */ TPointerToPointerExpr(Raw::PointerToPointerExpr id) { constructPointerToPointerExpr(id) } or + /** + * INTERNAL: Do not use. + */ TPostfixUnaryExpr(Raw::PostfixUnaryExpr id) { constructPostfixUnaryExpr(id) } or + /** + * INTERNAL: Do not use. + */ TPrefixUnaryExpr(Raw::PrefixUnaryExpr id) { constructPrefixUnaryExpr(id) } or + /** + * INTERNAL: Do not use. + */ TPropertyWrapperValuePlaceholderExpr(Raw::PropertyWrapperValuePlaceholderExpr id) { constructPropertyWrapperValuePlaceholderExpr(id) } or + /** + * INTERNAL: Do not use. + */ TProtocolMetatypeToObjectExpr(Raw::ProtocolMetatypeToObjectExpr id) { constructProtocolMetatypeToObjectExpr(id) } or + /** + * INTERNAL: Do not use. + */ TRebindSelfInConstructorExpr(Raw::RebindSelfInConstructorExpr id) { constructRebindSelfInConstructorExpr(id) } or + /** + * INTERNAL: Do not use. + */ TRegexLiteralExpr(Raw::RegexLiteralExpr id) { constructRegexLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TSequenceExpr(Raw::SequenceExpr id) { constructSequenceExpr(id) } or + /** + * INTERNAL: Do not use. + */ TStringLiteralExpr(Raw::StringLiteralExpr id) { constructStringLiteralExpr(id) } or + /** + * INTERNAL: Do not use. + */ TStringToPointerExpr(Raw::StringToPointerExpr id) { constructStringToPointerExpr(id) } or + /** + * INTERNAL: Do not use. + */ TSubscriptExpr(Raw::SubscriptExpr id) { constructSubscriptExpr(id) } or + /** + * INTERNAL: Do not use. + */ TSuperRefExpr(Raw::SuperRefExpr id) { constructSuperRefExpr(id) } or + /** + * INTERNAL: Do not use. + */ TTapExpr(Raw::TapExpr id) { constructTapExpr(id) } or + /** + * INTERNAL: Do not use. + */ TTryExpr(Raw::TryExpr id) { constructTryExpr(id) } or + /** + * INTERNAL: Do not use. + */ TTupleElementExpr(Raw::TupleElementExpr id) { constructTupleElementExpr(id) } or + /** + * INTERNAL: Do not use. + */ TTupleExpr(Raw::TupleExpr id) { constructTupleExpr(id) } or + /** + * INTERNAL: Do not use. + */ TTypeExpr(Raw::TypeExpr id) { constructTypeExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnderlyingToOpaqueExpr(Raw::UnderlyingToOpaqueExpr id) { constructUnderlyingToOpaqueExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnevaluatedInstanceExpr(Raw::UnevaluatedInstanceExpr id) { constructUnevaluatedInstanceExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedDeclRefExpr(Raw::UnresolvedDeclRefExpr id) { constructUnresolvedDeclRefExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedDotExpr(Raw::UnresolvedDotExpr id) { constructUnresolvedDotExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedMemberChainResultExpr(Raw::UnresolvedMemberChainResultExpr id) { constructUnresolvedMemberChainResultExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedMemberExpr(Raw::UnresolvedMemberExpr id) { constructUnresolvedMemberExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedPatternExpr(Raw::UnresolvedPatternExpr id) { constructUnresolvedPatternExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedSpecializeExpr(Raw::UnresolvedSpecializeExpr id) { constructUnresolvedSpecializeExpr(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedTypeConversionExpr(Raw::UnresolvedTypeConversionExpr id) { constructUnresolvedTypeConversionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TVarargExpansionExpr(Raw::VarargExpansionExpr id) { constructVarargExpansionExpr(id) } or + /** + * INTERNAL: Do not use. + */ TAnyPattern(Raw::AnyPattern id) { constructAnyPattern(id) } or + /** + * INTERNAL: Do not use. + */ TBindingPattern(Raw::BindingPattern id) { constructBindingPattern(id) } or + /** + * INTERNAL: Do not use. + */ TBoolPattern(Raw::BoolPattern id) { constructBoolPattern(id) } or + /** + * INTERNAL: Do not use. + */ TEnumElementPattern(Raw::EnumElementPattern id) { constructEnumElementPattern(id) } or + /** + * INTERNAL: Do not use. + */ TExprPattern(Raw::ExprPattern id) { constructExprPattern(id) } or + /** + * INTERNAL: Do not use. + */ TIsPattern(Raw::IsPattern id) { constructIsPattern(id) } or + /** + * INTERNAL: Do not use. + */ TNamedPattern(Raw::NamedPattern id) { constructNamedPattern(id) } or + /** + * INTERNAL: Do not use. + */ TOptionalSomePattern(Raw::OptionalSomePattern id) { constructOptionalSomePattern(id) } or + /** + * INTERNAL: Do not use. + */ TParenPattern(Raw::ParenPattern id) { constructParenPattern(id) } or + /** + * INTERNAL: Do not use. + */ TTuplePattern(Raw::TuplePattern id) { constructTuplePattern(id) } or + /** + * INTERNAL: Do not use. + */ TTypedPattern(Raw::TypedPattern id) { constructTypedPattern(id) } or + /** + * INTERNAL: Do not use. + */ TBraceStmt(Raw::BraceStmt id) { constructBraceStmt(id) } or + /** + * INTERNAL: Do not use. + */ TBreakStmt(Raw::BreakStmt id) { constructBreakStmt(id) } or + /** + * INTERNAL: Do not use. + */ TCaseLabelItem(Raw::CaseLabelItem id) { constructCaseLabelItem(id) } or + /** + * INTERNAL: Do not use. + */ TCaseStmt(Raw::CaseStmt id) { constructCaseStmt(id) } or + /** + * INTERNAL: Do not use. + */ TConditionElement(Raw::ConditionElement id) { constructConditionElement(id) } or + /** + * INTERNAL: Do not use. + */ TContinueStmt(Raw::ContinueStmt id) { constructContinueStmt(id) } or + /** + * INTERNAL: Do not use. + */ TDeferStmt(Raw::DeferStmt id) { constructDeferStmt(id) } or + /** + * INTERNAL: Do not use. + */ TDoCatchStmt(Raw::DoCatchStmt id) { constructDoCatchStmt(id) } or + /** + * INTERNAL: Do not use. + */ TDoStmt(Raw::DoStmt id) { constructDoStmt(id) } or + /** + * INTERNAL: Do not use. + */ TFailStmt(Raw::FailStmt id) { constructFailStmt(id) } or + /** + * INTERNAL: Do not use. + */ TFallthroughStmt(Raw::FallthroughStmt id) { constructFallthroughStmt(id) } or + /** + * INTERNAL: Do not use. + */ TForEachStmt(Raw::ForEachStmt id) { constructForEachStmt(id) } or + /** + * INTERNAL: Do not use. + */ TGuardStmt(Raw::GuardStmt id) { constructGuardStmt(id) } or + /** + * INTERNAL: Do not use. + */ TIfStmt(Raw::IfStmt id) { constructIfStmt(id) } or + /** + * INTERNAL: Do not use. + */ TPoundAssertStmt(Raw::PoundAssertStmt id) { constructPoundAssertStmt(id) } or + /** + * INTERNAL: Do not use. + */ TRepeatWhileStmt(Raw::RepeatWhileStmt id) { constructRepeatWhileStmt(id) } or + /** + * INTERNAL: Do not use. + */ TReturnStmt(Raw::ReturnStmt id) { constructReturnStmt(id) } or + /** + * INTERNAL: Do not use. + */ TStmtCondition(Raw::StmtCondition id) { constructStmtCondition(id) } or + /** + * INTERNAL: Do not use. + */ TSwitchStmt(Raw::SwitchStmt id) { constructSwitchStmt(id) } or + /** + * INTERNAL: Do not use. + */ TThrowStmt(Raw::ThrowStmt id) { constructThrowStmt(id) } or + /** + * INTERNAL: Do not use. + */ TWhileStmt(Raw::WhileStmt id) { constructWhileStmt(id) } or + /** + * INTERNAL: Do not use. + */ TYieldStmt(Raw::YieldStmt id) { constructYieldStmt(id) } or + /** + * INTERNAL: Do not use. + */ TArraySliceType(Raw::ArraySliceType id) { constructArraySliceType(id) } or + /** + * INTERNAL: Do not use. + */ TBoundGenericClassType(Raw::BoundGenericClassType id) { constructBoundGenericClassType(id) } or + /** + * INTERNAL: Do not use. + */ TBoundGenericEnumType(Raw::BoundGenericEnumType id) { constructBoundGenericEnumType(id) } or + /** + * INTERNAL: Do not use. + */ TBoundGenericStructType(Raw::BoundGenericStructType id) { constructBoundGenericStructType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinBridgeObjectType(Raw::BuiltinBridgeObjectType id) { constructBuiltinBridgeObjectType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinDefaultActorStorageType(Raw::BuiltinDefaultActorStorageType id) { constructBuiltinDefaultActorStorageType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinExecutorType(Raw::BuiltinExecutorType id) { constructBuiltinExecutorType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinFloatType(Raw::BuiltinFloatType id) { constructBuiltinFloatType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinIntegerLiteralType(Raw::BuiltinIntegerLiteralType id) { constructBuiltinIntegerLiteralType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinIntegerType(Raw::BuiltinIntegerType id) { constructBuiltinIntegerType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinJobType(Raw::BuiltinJobType id) { constructBuiltinJobType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinNativeObjectType(Raw::BuiltinNativeObjectType id) { constructBuiltinNativeObjectType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinRawPointerType(Raw::BuiltinRawPointerType id) { constructBuiltinRawPointerType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinRawUnsafeContinuationType(Raw::BuiltinRawUnsafeContinuationType id) { constructBuiltinRawUnsafeContinuationType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinUnsafeValueBufferType(Raw::BuiltinUnsafeValueBufferType id) { constructBuiltinUnsafeValueBufferType(id) } or + /** + * INTERNAL: Do not use. + */ TBuiltinVectorType(Raw::BuiltinVectorType id) { constructBuiltinVectorType(id) } or + /** + * INTERNAL: Do not use. + */ TClassType(Raw::ClassType id) { constructClassType(id) } or + /** + * INTERNAL: Do not use. + */ TDependentMemberType(Raw::DependentMemberType id) { constructDependentMemberType(id) } or + /** + * INTERNAL: Do not use. + */ TDictionaryType(Raw::DictionaryType id) { constructDictionaryType(id) } or + /** + * INTERNAL: Do not use. + */ TDynamicSelfType(Raw::DynamicSelfType id) { constructDynamicSelfType(id) } or + /** + * INTERNAL: Do not use. + */ TEnumType(Raw::EnumType id) { constructEnumType(id) } or + /** + * INTERNAL: Do not use. + */ TErrorType(Raw::ErrorType id) { constructErrorType(id) } or + /** + * INTERNAL: Do not use. + */ TExistentialMetatypeType(Raw::ExistentialMetatypeType id) { constructExistentialMetatypeType(id) } or + /** + * INTERNAL: Do not use. + */ TExistentialType(Raw::ExistentialType id) { constructExistentialType(id) } or + /** + * INTERNAL: Do not use. + */ TFunctionType(Raw::FunctionType id) { constructFunctionType(id) } or + /** + * INTERNAL: Do not use. + */ TGenericFunctionType(Raw::GenericFunctionType id) { constructGenericFunctionType(id) } or + /** + * INTERNAL: Do not use. + */ TGenericTypeParamType(Raw::GenericTypeParamType id) { constructGenericTypeParamType(id) } or + /** + * INTERNAL: Do not use. + */ TInOutType(Raw::InOutType id) { constructInOutType(id) } or + /** + * INTERNAL: Do not use. + */ TLValueType(Raw::LValueType id) { constructLValueType(id) } or + /** + * INTERNAL: Do not use. + */ TMetatypeType(Raw::MetatypeType id) { constructMetatypeType(id) } or + /** + * INTERNAL: Do not use. + */ TModuleType(Raw::ModuleType id) { constructModuleType(id) } or + /** + * INTERNAL: Do not use. + */ TOpaqueTypeArchetypeType(Raw::OpaqueTypeArchetypeType id) { constructOpaqueTypeArchetypeType(id) } or + /** + * INTERNAL: Do not use. + */ TOpenedArchetypeType(Raw::OpenedArchetypeType id) { constructOpenedArchetypeType(id) } or + /** + * INTERNAL: Do not use. + */ TOptionalType(Raw::OptionalType id) { constructOptionalType(id) } or + /** + * INTERNAL: Do not use. + */ TParameterizedProtocolType(Raw::ParameterizedProtocolType id) { constructParameterizedProtocolType(id) } or + /** + * INTERNAL: Do not use. + */ TParenType(Raw::ParenType id) { constructParenType(id) } or + /** + * INTERNAL: Do not use. + */ TPrimaryArchetypeType(Raw::PrimaryArchetypeType id) { constructPrimaryArchetypeType(id) } or + /** + * INTERNAL: Do not use. + */ TProtocolCompositionType(Raw::ProtocolCompositionType id) { constructProtocolCompositionType(id) } or + /** + * INTERNAL: Do not use. + */ TProtocolType(Raw::ProtocolType id) { constructProtocolType(id) } or + /** + * INTERNAL: Do not use. + */ TStructType(Raw::StructType id) { constructStructType(id) } or + /** + * INTERNAL: Do not use. + */ TTupleType(Raw::TupleType id) { constructTupleType(id) } or + /** + * INTERNAL: Do not use. + */ TTypeAliasType(Raw::TypeAliasType id) { constructTypeAliasType(id) } or + /** + * INTERNAL: Do not use. + */ TTypeRepr(Raw::TypeRepr id) { constructTypeRepr(id) } or + /** + * INTERNAL: Do not use. + */ TUnboundGenericType(Raw::UnboundGenericType id) { constructUnboundGenericType(id) } or + /** + * INTERNAL: Do not use. + */ TUnmanagedStorageType(Raw::UnmanagedStorageType id) { constructUnmanagedStorageType(id) } or + /** + * INTERNAL: Do not use. + */ TUnownedStorageType(Raw::UnownedStorageType id) { constructUnownedStorageType(id) } or + /** + * INTERNAL: Do not use. + */ TUnresolvedType(Raw::UnresolvedType id) { constructUnresolvedType(id) } or + /** + * INTERNAL: Do not use. + */ TVariadicSequenceType(Raw::VariadicSequenceType id) { constructVariadicSequenceType(id) } or + /** + * INTERNAL: Do not use. + */ TWeakStorageType(Raw::WeakStorageType id) { constructWeakStorageType(id) } + /** + * INTERNAL: Do not use. + */ class TAstNode = TAvailabilityInfo or TAvailabilitySpec or TCaseLabelItem or TConditionElement or TDecl or TExpr or TKeyPathComponent or TPattern or TStmt or TStmtCondition or TTypeRepr; + /** + * INTERNAL: Do not use. + */ class TAvailabilitySpec = TOtherAvailabilitySpec or TPlatformVersionAvailabilitySpec; + /** + * INTERNAL: Do not use. + */ class TCallable = TAbstractClosureExpr or TAbstractFunctionDecl; + /** + * INTERNAL: Do not use. + */ class TErrorElement = TErrorExpr or TErrorType or TOverloadedDeclRefExpr or TUnresolvedDeclRefExpr or TUnresolvedDotExpr or TUnresolvedMemberChainResultExpr or TUnresolvedMemberExpr or TUnresolvedPatternExpr or TUnresolvedSpecializeExpr or TUnresolvedType or TUnresolvedTypeConversionExpr or TUnspecifiedElement; + /** + * INTERNAL: Do not use. + */ class TFile = TDbFile or TUnknownFile; + /** + * INTERNAL: Do not use. + */ class TLocatable = TArgument or TAstNode or TComment or TDiagnostics or TErrorElement; + /** + * INTERNAL: Do not use. + */ class TLocation = TDbLocation or TUnknownLocation; + /** + * INTERNAL: Do not use. + */ class TAbstractFunctionDecl = TConstructorDecl or TDestructorDecl or TFuncDecl; + /** + * INTERNAL: Do not use. + */ class TAbstractStorageDecl = TSubscriptDecl or TVarDecl; + /** + * INTERNAL: Do not use. + */ class TAbstractTypeParamDecl = TAssociatedTypeDecl or TGenericTypeParamDecl; + /** + * INTERNAL: Do not use. + */ class TDecl = TCapturedDecl or TEnumCaseDecl or TExtensionDecl or TIfConfigDecl or TImportDecl or TMissingMemberDecl or TOperatorDecl or TPatternBindingDecl or TPoundDiagnosticDecl or TPrecedenceGroupDecl or TTopLevelCodeDecl or TValueDecl; + /** + * INTERNAL: Do not use. + */ class TFuncDecl = TAccessorDecl or TConcreteFuncDecl; + /** + * INTERNAL: Do not use. + */ class TGenericContext = TAbstractFunctionDecl or TExtensionDecl or TGenericTypeDecl or TSubscriptDecl; + /** + * INTERNAL: Do not use. + */ class TGenericTypeDecl = TNominalTypeDecl or TOpaqueTypeDecl or TTypeAliasDecl; + /** + * INTERNAL: Do not use. + */ class TNominalTypeDecl = TClassDecl or TEnumDecl or TProtocolDecl or TStructDecl; + /** + * INTERNAL: Do not use. + */ class TOperatorDecl = TInfixOperatorDecl or TPostfixOperatorDecl or TPrefixOperatorDecl; + /** + * INTERNAL: Do not use. + */ class TTypeDecl = TAbstractTypeParamDecl or TGenericTypeDecl or TModuleDecl; + /** + * INTERNAL: Do not use. + */ class TValueDecl = TAbstractFunctionDecl or TAbstractStorageDecl or TEnumElementDecl or TTypeDecl; + /** + * INTERNAL: Do not use. + */ class TVarDecl = TConcreteVarDecl or TParamDecl; + /** + * INTERNAL: Do not use. + */ class TAbstractClosureExpr = TAutoClosureExpr or TClosureExpr; + /** + * INTERNAL: Do not use. + */ class TAnyTryExpr = TForceTryExpr or TOptionalTryExpr or TTryExpr; + /** + * INTERNAL: Do not use. + */ class TApplyExpr = TBinaryExpr or TCallExpr or TPostfixUnaryExpr or TPrefixUnaryExpr or TSelfApplyExpr; + /** + * INTERNAL: Do not use. + */ class TBuiltinLiteralExpr = TBooleanLiteralExpr or TMagicIdentifierLiteralExpr or TNumberLiteralExpr or TStringLiteralExpr; + /** + * INTERNAL: Do not use. + */ class TCheckedCastExpr = TConditionalCheckedCastExpr or TForcedCheckedCastExpr or TIsExpr; + /** + * INTERNAL: Do not use. + */ class TCollectionExpr = TArrayExpr or TDictionaryExpr; + /** + * INTERNAL: Do not use. + */ class TDynamicLookupExpr = TDynamicMemberRefExpr or TDynamicSubscriptExpr; + /** + * INTERNAL: Do not use. + */ class TExplicitCastExpr = TCheckedCastExpr or TCoerceExpr; + /** + * INTERNAL: Do not use. + */ class TExpr = TAbstractClosureExpr or TAnyTryExpr or TAppliedPropertyWrapperExpr or TApplyExpr or TAssignExpr or TBindOptionalExpr or TCaptureListExpr or TCollectionExpr or TDeclRefExpr or @@ -390,9 +1177,15 @@ module Synth { TUnresolvedDeclRefExpr or TUnresolvedDotExpr or TUnresolvedMemberExpr or TUnresolvedPatternExpr or TUnresolvedSpecializeExpr or TVarargExpansionExpr; + /** + * INTERNAL: Do not use. + */ class TIdentityExpr = TAwaitExpr or TDotSelfExpr or TParenExpr or TUnresolvedMemberChainResultExpr; + /** + * INTERNAL: Do not use. + */ class TImplicitConversionExpr = TAbiSafeConversionExpr or TAnyHashableErasureExpr or TArchetypeToSuperExpr or TArrayToPointerExpr or TBridgeFromObjCExpr or TBridgeToObjCExpr or @@ -407,350 +1200,715 @@ module Synth { TPointerToPointerExpr or TProtocolMetatypeToObjectExpr or TStringToPointerExpr or TUnderlyingToOpaqueExpr or TUnevaluatedInstanceExpr or TUnresolvedTypeConversionExpr; + /** + * INTERNAL: Do not use. + */ class TLiteralExpr = TBuiltinLiteralExpr or TInterpolatedStringLiteralExpr or TNilLiteralExpr or TObjectLiteralExpr or TRegexLiteralExpr; + /** + * INTERNAL: Do not use. + */ class TLookupExpr = TDynamicLookupExpr or TMemberRefExpr or TMethodLookupExpr or TSubscriptExpr; + /** + * INTERNAL: Do not use. + */ class TNumberLiteralExpr = TFloatLiteralExpr or TIntegerLiteralExpr; + /** + * INTERNAL: Do not use. + */ class TSelfApplyExpr = TConstructorRefCallExpr or TDotSyntaxCallExpr; + /** + * INTERNAL: Do not use. + */ class TPattern = TAnyPattern or TBindingPattern or TBoolPattern or TEnumElementPattern or TExprPattern or TIsPattern or TNamedPattern or TOptionalSomePattern or TParenPattern or TTuplePattern or TTypedPattern; + /** + * INTERNAL: Do not use. + */ class TLabeledConditionalStmt = TGuardStmt or TIfStmt or TWhileStmt; + /** + * INTERNAL: Do not use. + */ class TLabeledStmt = TDoCatchStmt or TDoStmt or TForEachStmt or TLabeledConditionalStmt or TRepeatWhileStmt or TSwitchStmt; + /** + * INTERNAL: Do not use. + */ class TStmt = TBraceStmt or TBreakStmt or TCaseStmt or TContinueStmt or TDeferStmt or TFailStmt or TFallthroughStmt or TLabeledStmt or TPoundAssertStmt or TReturnStmt or TThrowStmt or TYieldStmt; + /** + * INTERNAL: Do not use. + */ class TAnyBuiltinIntegerType = TBuiltinIntegerLiteralType or TBuiltinIntegerType; + /** + * INTERNAL: Do not use. + */ class TAnyFunctionType = TFunctionType or TGenericFunctionType; + /** + * INTERNAL: Do not use. + */ class TAnyGenericType = TNominalOrBoundGenericNominalType or TUnboundGenericType; + /** + * INTERNAL: Do not use. + */ class TAnyMetatypeType = TExistentialMetatypeType or TMetatypeType; + /** + * INTERNAL: Do not use. + */ class TArchetypeType = TOpaqueTypeArchetypeType or TOpenedArchetypeType or TPrimaryArchetypeType; + /** + * INTERNAL: Do not use. + */ class TBoundGenericType = TBoundGenericClassType or TBoundGenericEnumType or TBoundGenericStructType; + /** + * INTERNAL: Do not use. + */ class TBuiltinType = TAnyBuiltinIntegerType or TBuiltinBridgeObjectType or TBuiltinDefaultActorStorageType or TBuiltinExecutorType or TBuiltinFloatType or TBuiltinJobType or TBuiltinNativeObjectType or TBuiltinRawPointerType or TBuiltinRawUnsafeContinuationType or TBuiltinUnsafeValueBufferType or TBuiltinVectorType; + /** + * INTERNAL: Do not use. + */ class TNominalOrBoundGenericNominalType = TBoundGenericType or TNominalType; + /** + * INTERNAL: Do not use. + */ class TNominalType = TClassType or TEnumType or TProtocolType or TStructType; + /** + * INTERNAL: Do not use. + */ class TReferenceStorageType = TUnmanagedStorageType or TUnownedStorageType or TWeakStorageType; + /** + * INTERNAL: Do not use. + */ class TSubstitutableType = TArchetypeType or TGenericTypeParamType; + /** + * INTERNAL: Do not use. + */ class TSugarType = TParenType or TSyntaxSugarType or TTypeAliasType; + /** + * INTERNAL: Do not use. + */ class TSyntaxSugarType = TDictionaryType or TUnarySyntaxSugarType; + /** + * INTERNAL: Do not use. + */ class TType = TAnyFunctionType or TAnyGenericType or TAnyMetatypeType or TBuiltinType or TDependentMemberType or TDynamicSelfType or TErrorType or TExistentialType or TInOutType or TLValueType or TModuleType or TParameterizedProtocolType or TProtocolCompositionType or TReferenceStorageType or TSubstitutableType or TSugarType or TTupleType or TUnresolvedType; + /** + * INTERNAL: Do not use. + */ class TUnarySyntaxSugarType = TArraySliceType or TOptionalType or TVariadicSequenceType; + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAvailabilityInfo`, if possible. + */ cached TAvailabilityInfo convertAvailabilityInfoFromRaw(Raw::Element e) { result = TAvailabilityInfo(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TComment`, if possible. + */ cached TComment convertCommentFromRaw(Raw::Element e) { result = TComment(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDbFile`, if possible. + */ cached TDbFile convertDbFileFromRaw(Raw::Element e) { result = TDbFile(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDbLocation`, if possible. + */ cached TDbLocation convertDbLocationFromRaw(Raw::Element e) { result = TDbLocation(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDiagnostics`, if possible. + */ cached TDiagnostics convertDiagnosticsFromRaw(Raw::Element e) { result = TDiagnostics(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TKeyPathComponent`, if possible. + */ cached TKeyPathComponent convertKeyPathComponentFromRaw(Raw::Element e) { result = TKeyPathComponent(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOtherAvailabilitySpec`, if possible. + */ cached TOtherAvailabilitySpec convertOtherAvailabilitySpecFromRaw(Raw::Element e) { result = TOtherAvailabilitySpec(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPlatformVersionAvailabilitySpec`, if possible. + */ cached TPlatformVersionAvailabilitySpec convertPlatformVersionAvailabilitySpecFromRaw(Raw::Element e) { result = TPlatformVersionAvailabilitySpec(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnknownFile`, if possible. + */ cached TUnknownFile convertUnknownFileFromRaw(Raw::Element e) { none() } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnknownLocation`, if possible. + */ cached TUnknownLocation convertUnknownLocationFromRaw(Raw::Element e) { none() } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnspecifiedElement`, if possible. + */ cached TUnspecifiedElement convertUnspecifiedElementFromRaw(Raw::Element e) { result = TUnspecifiedElement(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAccessorDecl`, if possible. + */ cached TAccessorDecl convertAccessorDeclFromRaw(Raw::Element e) { result = TAccessorDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAssociatedTypeDecl`, if possible. + */ cached TAssociatedTypeDecl convertAssociatedTypeDeclFromRaw(Raw::Element e) { result = TAssociatedTypeDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCapturedDecl`, if possible. + */ cached TCapturedDecl convertCapturedDeclFromRaw(Raw::Element e) { result = TCapturedDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TClassDecl`, if possible. + */ cached TClassDecl convertClassDeclFromRaw(Raw::Element e) { result = TClassDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TConcreteFuncDecl`, if possible. + */ cached TConcreteFuncDecl convertConcreteFuncDeclFromRaw(Raw::Element e) { result = TConcreteFuncDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TConcreteVarDecl`, if possible. + */ cached TConcreteVarDecl convertConcreteVarDeclFromRaw(Raw::Element e) { result = TConcreteVarDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TConstructorDecl`, if possible. + */ cached TConstructorDecl convertConstructorDeclFromRaw(Raw::Element e) { result = TConstructorDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDestructorDecl`, if possible. + */ cached TDestructorDecl convertDestructorDeclFromRaw(Raw::Element e) { result = TDestructorDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TEnumCaseDecl`, if possible. + */ cached TEnumCaseDecl convertEnumCaseDeclFromRaw(Raw::Element e) { result = TEnumCaseDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TEnumDecl`, if possible. + */ cached TEnumDecl convertEnumDeclFromRaw(Raw::Element e) { result = TEnumDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TEnumElementDecl`, if possible. + */ cached TEnumElementDecl convertEnumElementDeclFromRaw(Raw::Element e) { result = TEnumElementDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TExtensionDecl`, if possible. + */ cached TExtensionDecl convertExtensionDeclFromRaw(Raw::Element e) { result = TExtensionDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TGenericTypeParamDecl`, if possible. + */ cached TGenericTypeParamDecl convertGenericTypeParamDeclFromRaw(Raw::Element e) { result = TGenericTypeParamDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TIfConfigDecl`, if possible. + */ cached TIfConfigDecl convertIfConfigDeclFromRaw(Raw::Element e) { result = TIfConfigDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TImportDecl`, if possible. + */ cached TImportDecl convertImportDeclFromRaw(Raw::Element e) { result = TImportDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TInfixOperatorDecl`, if possible. + */ cached TInfixOperatorDecl convertInfixOperatorDeclFromRaw(Raw::Element e) { result = TInfixOperatorDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TMissingMemberDecl`, if possible. + */ cached TMissingMemberDecl convertMissingMemberDeclFromRaw(Raw::Element e) { result = TMissingMemberDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TModuleDecl`, if possible. + */ cached TModuleDecl convertModuleDeclFromRaw(Raw::Element e) { result = TModuleDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOpaqueTypeDecl`, if possible. + */ cached TOpaqueTypeDecl convertOpaqueTypeDeclFromRaw(Raw::Element e) { result = TOpaqueTypeDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TParamDecl`, if possible. + */ cached TParamDecl convertParamDeclFromRaw(Raw::Element e) { result = TParamDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPatternBindingDecl`, if possible. + */ cached TPatternBindingDecl convertPatternBindingDeclFromRaw(Raw::Element e) { result = TPatternBindingDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPostfixOperatorDecl`, if possible. + */ cached TPostfixOperatorDecl convertPostfixOperatorDeclFromRaw(Raw::Element e) { result = TPostfixOperatorDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPoundDiagnosticDecl`, if possible. + */ cached TPoundDiagnosticDecl convertPoundDiagnosticDeclFromRaw(Raw::Element e) { result = TPoundDiagnosticDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPrecedenceGroupDecl`, if possible. + */ cached TPrecedenceGroupDecl convertPrecedenceGroupDeclFromRaw(Raw::Element e) { result = TPrecedenceGroupDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPrefixOperatorDecl`, if possible. + */ cached TPrefixOperatorDecl convertPrefixOperatorDeclFromRaw(Raw::Element e) { result = TPrefixOperatorDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TProtocolDecl`, if possible. + */ cached TProtocolDecl convertProtocolDeclFromRaw(Raw::Element e) { result = TProtocolDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TStructDecl`, if possible. + */ cached TStructDecl convertStructDeclFromRaw(Raw::Element e) { result = TStructDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TSubscriptDecl`, if possible. + */ cached TSubscriptDecl convertSubscriptDeclFromRaw(Raw::Element e) { result = TSubscriptDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTopLevelCodeDecl`, if possible. + */ cached TTopLevelCodeDecl convertTopLevelCodeDeclFromRaw(Raw::Element e) { result = TTopLevelCodeDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTypeAliasDecl`, if possible. + */ cached TTypeAliasDecl convertTypeAliasDeclFromRaw(Raw::Element e) { result = TTypeAliasDecl(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAbiSafeConversionExpr`, if possible. + */ cached TAbiSafeConversionExpr convertAbiSafeConversionExprFromRaw(Raw::Element e) { result = TAbiSafeConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAnyHashableErasureExpr`, if possible. + */ cached TAnyHashableErasureExpr convertAnyHashableErasureExprFromRaw(Raw::Element e) { result = TAnyHashableErasureExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAppliedPropertyWrapperExpr`, if possible. + */ cached TAppliedPropertyWrapperExpr convertAppliedPropertyWrapperExprFromRaw(Raw::Element e) { result = TAppliedPropertyWrapperExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TArchetypeToSuperExpr`, if possible. + */ cached TArchetypeToSuperExpr convertArchetypeToSuperExprFromRaw(Raw::Element e) { result = TArchetypeToSuperExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TArgument`, if possible. + */ cached TArgument convertArgumentFromRaw(Raw::Element e) { result = TArgument(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TArrayExpr`, if possible. + */ cached TArrayExpr convertArrayExprFromRaw(Raw::Element e) { result = TArrayExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TArrayToPointerExpr`, if possible. + */ cached TArrayToPointerExpr convertArrayToPointerExprFromRaw(Raw::Element e) { result = TArrayToPointerExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAssignExpr`, if possible. + */ cached TAssignExpr convertAssignExprFromRaw(Raw::Element e) { result = TAssignExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAutoClosureExpr`, if possible. + */ cached TAutoClosureExpr convertAutoClosureExprFromRaw(Raw::Element e) { result = TAutoClosureExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAwaitExpr`, if possible. + */ cached TAwaitExpr convertAwaitExprFromRaw(Raw::Element e) { result = TAwaitExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBinaryExpr`, if possible. + */ cached TBinaryExpr convertBinaryExprFromRaw(Raw::Element e) { result = TBinaryExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBindOptionalExpr`, if possible. + */ cached TBindOptionalExpr convertBindOptionalExprFromRaw(Raw::Element e) { result = TBindOptionalExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBooleanLiteralExpr`, if possible. + */ cached TBooleanLiteralExpr convertBooleanLiteralExprFromRaw(Raw::Element e) { result = TBooleanLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBridgeFromObjCExpr`, if possible. + */ cached TBridgeFromObjCExpr convertBridgeFromObjCExprFromRaw(Raw::Element e) { result = TBridgeFromObjCExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBridgeToObjCExpr`, if possible. + */ cached TBridgeToObjCExpr convertBridgeToObjCExprFromRaw(Raw::Element e) { result = TBridgeToObjCExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCallExpr`, if possible. + */ cached TCallExpr convertCallExprFromRaw(Raw::Element e) { result = TCallExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCaptureListExpr`, if possible. + */ cached TCaptureListExpr convertCaptureListExprFromRaw(Raw::Element e) { result = TCaptureListExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TClassMetatypeToObjectExpr`, if possible. + */ cached TClassMetatypeToObjectExpr convertClassMetatypeToObjectExprFromRaw(Raw::Element e) { result = TClassMetatypeToObjectExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TClosureExpr`, if possible. + */ cached TClosureExpr convertClosureExprFromRaw(Raw::Element e) { result = TClosureExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCoerceExpr`, if possible. + */ cached TCoerceExpr convertCoerceExprFromRaw(Raw::Element e) { result = TCoerceExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCollectionUpcastConversionExpr`, if possible. + */ cached TCollectionUpcastConversionExpr convertCollectionUpcastConversionExprFromRaw(Raw::Element e) { result = TCollectionUpcastConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TConditionalBridgeFromObjCExpr`, if possible. + */ cached TConditionalBridgeFromObjCExpr convertConditionalBridgeFromObjCExprFromRaw(Raw::Element e) { result = TConditionalBridgeFromObjCExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TConditionalCheckedCastExpr`, if possible. + */ cached TConditionalCheckedCastExpr convertConditionalCheckedCastExprFromRaw(Raw::Element e) { result = TConditionalCheckedCastExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TConstructorRefCallExpr`, if possible. + */ cached TConstructorRefCallExpr convertConstructorRefCallExprFromRaw(Raw::Element e) { result = TConstructorRefCallExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCovariantFunctionConversionExpr`, if possible. + */ cached TCovariantFunctionConversionExpr convertCovariantFunctionConversionExprFromRaw(Raw::Element e) { result = TCovariantFunctionConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCovariantReturnConversionExpr`, if possible. + */ cached TCovariantReturnConversionExpr convertCovariantReturnConversionExprFromRaw(Raw::Element e) { result = TCovariantReturnConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDeclRefExpr`, if possible. + */ cached TDeclRefExpr convertDeclRefExprFromRaw(Raw::Element e) { result = TDeclRefExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDefaultArgumentExpr`, if possible. + */ cached TDefaultArgumentExpr convertDefaultArgumentExprFromRaw(Raw::Element e) { result = TDefaultArgumentExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDerivedToBaseExpr`, if possible. + */ cached TDerivedToBaseExpr convertDerivedToBaseExprFromRaw(Raw::Element e) { result = TDerivedToBaseExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDestructureTupleExpr`, if possible. + */ cached TDestructureTupleExpr convertDestructureTupleExprFromRaw(Raw::Element e) { result = TDestructureTupleExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDictionaryExpr`, if possible. + */ cached TDictionaryExpr convertDictionaryExprFromRaw(Raw::Element e) { result = TDictionaryExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDifferentiableFunctionExpr`, if possible. + */ cached TDifferentiableFunctionExpr convertDifferentiableFunctionExprFromRaw(Raw::Element e) { result = TDifferentiableFunctionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDifferentiableFunctionExtractOriginalExpr`, if possible. + */ cached TDifferentiableFunctionExtractOriginalExpr convertDifferentiableFunctionExtractOriginalExprFromRaw( Raw::Element e @@ -758,130 +1916,254 @@ module Synth { result = TDifferentiableFunctionExtractOriginalExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDiscardAssignmentExpr`, if possible. + */ cached TDiscardAssignmentExpr convertDiscardAssignmentExprFromRaw(Raw::Element e) { result = TDiscardAssignmentExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDotSelfExpr`, if possible. + */ cached TDotSelfExpr convertDotSelfExprFromRaw(Raw::Element e) { result = TDotSelfExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDotSyntaxBaseIgnoredExpr`, if possible. + */ cached TDotSyntaxBaseIgnoredExpr convertDotSyntaxBaseIgnoredExprFromRaw(Raw::Element e) { result = TDotSyntaxBaseIgnoredExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDotSyntaxCallExpr`, if possible. + */ cached TDotSyntaxCallExpr convertDotSyntaxCallExprFromRaw(Raw::Element e) { result = TDotSyntaxCallExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDynamicMemberRefExpr`, if possible. + */ cached TDynamicMemberRefExpr convertDynamicMemberRefExprFromRaw(Raw::Element e) { result = TDynamicMemberRefExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDynamicSubscriptExpr`, if possible. + */ cached TDynamicSubscriptExpr convertDynamicSubscriptExprFromRaw(Raw::Element e) { result = TDynamicSubscriptExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDynamicTypeExpr`, if possible. + */ cached TDynamicTypeExpr convertDynamicTypeExprFromRaw(Raw::Element e) { result = TDynamicTypeExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TEnumIsCaseExpr`, if possible. + */ cached TEnumIsCaseExpr convertEnumIsCaseExprFromRaw(Raw::Element e) { result = TEnumIsCaseExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TErasureExpr`, if possible. + */ cached TErasureExpr convertErasureExprFromRaw(Raw::Element e) { result = TErasureExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TErrorExpr`, if possible. + */ cached TErrorExpr convertErrorExprFromRaw(Raw::Element e) { result = TErrorExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TExistentialMetatypeToObjectExpr`, if possible. + */ cached TExistentialMetatypeToObjectExpr convertExistentialMetatypeToObjectExprFromRaw(Raw::Element e) { result = TExistentialMetatypeToObjectExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TFloatLiteralExpr`, if possible. + */ cached TFloatLiteralExpr convertFloatLiteralExprFromRaw(Raw::Element e) { result = TFloatLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TForceTryExpr`, if possible. + */ cached TForceTryExpr convertForceTryExprFromRaw(Raw::Element e) { result = TForceTryExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TForceValueExpr`, if possible. + */ cached TForceValueExpr convertForceValueExprFromRaw(Raw::Element e) { result = TForceValueExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TForcedCheckedCastExpr`, if possible. + */ cached TForcedCheckedCastExpr convertForcedCheckedCastExprFromRaw(Raw::Element e) { result = TForcedCheckedCastExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TForeignObjectConversionExpr`, if possible. + */ cached TForeignObjectConversionExpr convertForeignObjectConversionExprFromRaw(Raw::Element e) { result = TForeignObjectConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TFunctionConversionExpr`, if possible. + */ cached TFunctionConversionExpr convertFunctionConversionExprFromRaw(Raw::Element e) { result = TFunctionConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TIfExpr`, if possible. + */ cached TIfExpr convertIfExprFromRaw(Raw::Element e) { result = TIfExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TInOutExpr`, if possible. + */ cached TInOutExpr convertInOutExprFromRaw(Raw::Element e) { result = TInOutExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TInOutToPointerExpr`, if possible. + */ cached TInOutToPointerExpr convertInOutToPointerExprFromRaw(Raw::Element e) { result = TInOutToPointerExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TInjectIntoOptionalExpr`, if possible. + */ cached TInjectIntoOptionalExpr convertInjectIntoOptionalExprFromRaw(Raw::Element e) { result = TInjectIntoOptionalExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TIntegerLiteralExpr`, if possible. + */ cached TIntegerLiteralExpr convertIntegerLiteralExprFromRaw(Raw::Element e) { result = TIntegerLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TInterpolatedStringLiteralExpr`, if possible. + */ cached TInterpolatedStringLiteralExpr convertInterpolatedStringLiteralExprFromRaw(Raw::Element e) { result = TInterpolatedStringLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TIsExpr`, if possible. + */ cached TIsExpr convertIsExprFromRaw(Raw::Element e) { result = TIsExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TKeyPathApplicationExpr`, if possible. + */ cached TKeyPathApplicationExpr convertKeyPathApplicationExprFromRaw(Raw::Element e) { result = TKeyPathApplicationExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TKeyPathDotExpr`, if possible. + */ cached TKeyPathDotExpr convertKeyPathDotExprFromRaw(Raw::Element e) { result = TKeyPathDotExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TKeyPathExpr`, if possible. + */ cached TKeyPathExpr convertKeyPathExprFromRaw(Raw::Element e) { result = TKeyPathExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TLazyInitializerExpr`, if possible. + */ cached TLazyInitializerExpr convertLazyInitializerExprFromRaw(Raw::Element e) { result = TLazyInitializerExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TLinearFunctionExpr`, if possible. + */ cached TLinearFunctionExpr convertLinearFunctionExprFromRaw(Raw::Element e) { result = TLinearFunctionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TLinearFunctionExtractOriginalExpr`, if possible. + */ cached TLinearFunctionExtractOriginalExpr convertLinearFunctionExtractOriginalExprFromRaw(Raw::Element e) { result = TLinearFunctionExtractOriginalExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TLinearToDifferentiableFunctionExpr`, if possible. + */ cached TLinearToDifferentiableFunctionExpr convertLinearToDifferentiableFunctionExprFromRaw( Raw::Element e @@ -889,84 +2171,168 @@ module Synth { result = TLinearToDifferentiableFunctionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TLoadExpr`, if possible. + */ cached TLoadExpr convertLoadExprFromRaw(Raw::Element e) { result = TLoadExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TMagicIdentifierLiteralExpr`, if possible. + */ cached TMagicIdentifierLiteralExpr convertMagicIdentifierLiteralExprFromRaw(Raw::Element e) { result = TMagicIdentifierLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TMakeTemporarilyEscapableExpr`, if possible. + */ cached TMakeTemporarilyEscapableExpr convertMakeTemporarilyEscapableExprFromRaw(Raw::Element e) { result = TMakeTemporarilyEscapableExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TMemberRefExpr`, if possible. + */ cached TMemberRefExpr convertMemberRefExprFromRaw(Raw::Element e) { result = TMemberRefExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TMetatypeConversionExpr`, if possible. + */ cached TMetatypeConversionExpr convertMetatypeConversionExprFromRaw(Raw::Element e) { result = TMetatypeConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TMethodLookupExpr`, if possible. + */ cached TMethodLookupExpr convertMethodLookupExprFromRaw(Raw::Element e) { result = TMethodLookupExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TNilLiteralExpr`, if possible. + */ cached TNilLiteralExpr convertNilLiteralExprFromRaw(Raw::Element e) { result = TNilLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TObjCSelectorExpr`, if possible. + */ cached TObjCSelectorExpr convertObjCSelectorExprFromRaw(Raw::Element e) { result = TObjCSelectorExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TObjectLiteralExpr`, if possible. + */ cached TObjectLiteralExpr convertObjectLiteralExprFromRaw(Raw::Element e) { result = TObjectLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOneWayExpr`, if possible. + */ cached TOneWayExpr convertOneWayExprFromRaw(Raw::Element e) { result = TOneWayExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOpaqueValueExpr`, if possible. + */ cached TOpaqueValueExpr convertOpaqueValueExprFromRaw(Raw::Element e) { result = TOpaqueValueExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOpenExistentialExpr`, if possible. + */ cached TOpenExistentialExpr convertOpenExistentialExprFromRaw(Raw::Element e) { result = TOpenExistentialExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOptionalEvaluationExpr`, if possible. + */ cached TOptionalEvaluationExpr convertOptionalEvaluationExprFromRaw(Raw::Element e) { result = TOptionalEvaluationExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOptionalTryExpr`, if possible. + */ cached TOptionalTryExpr convertOptionalTryExprFromRaw(Raw::Element e) { result = TOptionalTryExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOtherConstructorDeclRefExpr`, if possible. + */ cached TOtherConstructorDeclRefExpr convertOtherConstructorDeclRefExprFromRaw(Raw::Element e) { result = TOtherConstructorDeclRefExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOverloadedDeclRefExpr`, if possible. + */ cached TOverloadedDeclRefExpr convertOverloadedDeclRefExprFromRaw(Raw::Element e) { result = TOverloadedDeclRefExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TParenExpr`, if possible. + */ cached TParenExpr convertParenExprFromRaw(Raw::Element e) { result = TParenExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPointerToPointerExpr`, if possible. + */ cached TPointerToPointerExpr convertPointerToPointerExprFromRaw(Raw::Element e) { result = TPointerToPointerExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPostfixUnaryExpr`, if possible. + */ cached TPostfixUnaryExpr convertPostfixUnaryExprFromRaw(Raw::Element e) { result = TPostfixUnaryExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPrefixUnaryExpr`, if possible. + */ cached TPrefixUnaryExpr convertPrefixUnaryExprFromRaw(Raw::Element e) { result = TPrefixUnaryExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPropertyWrapperValuePlaceholderExpr`, if possible. + */ cached TPropertyWrapperValuePlaceholderExpr convertPropertyWrapperValuePlaceholderExprFromRaw( Raw::Element e @@ -974,405 +2340,829 @@ module Synth { result = TPropertyWrapperValuePlaceholderExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TProtocolMetatypeToObjectExpr`, if possible. + */ cached TProtocolMetatypeToObjectExpr convertProtocolMetatypeToObjectExprFromRaw(Raw::Element e) { result = TProtocolMetatypeToObjectExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TRebindSelfInConstructorExpr`, if possible. + */ cached TRebindSelfInConstructorExpr convertRebindSelfInConstructorExprFromRaw(Raw::Element e) { result = TRebindSelfInConstructorExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TRegexLiteralExpr`, if possible. + */ cached TRegexLiteralExpr convertRegexLiteralExprFromRaw(Raw::Element e) { result = TRegexLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TSequenceExpr`, if possible. + */ cached TSequenceExpr convertSequenceExprFromRaw(Raw::Element e) { result = TSequenceExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TStringLiteralExpr`, if possible. + */ cached TStringLiteralExpr convertStringLiteralExprFromRaw(Raw::Element e) { result = TStringLiteralExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TStringToPointerExpr`, if possible. + */ cached TStringToPointerExpr convertStringToPointerExprFromRaw(Raw::Element e) { result = TStringToPointerExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TSubscriptExpr`, if possible. + */ cached TSubscriptExpr convertSubscriptExprFromRaw(Raw::Element e) { result = TSubscriptExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TSuperRefExpr`, if possible. + */ cached TSuperRefExpr convertSuperRefExprFromRaw(Raw::Element e) { result = TSuperRefExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTapExpr`, if possible. + */ cached TTapExpr convertTapExprFromRaw(Raw::Element e) { result = TTapExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTryExpr`, if possible. + */ cached TTryExpr convertTryExprFromRaw(Raw::Element e) { result = TTryExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTupleElementExpr`, if possible. + */ cached TTupleElementExpr convertTupleElementExprFromRaw(Raw::Element e) { result = TTupleElementExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTupleExpr`, if possible. + */ cached TTupleExpr convertTupleExprFromRaw(Raw::Element e) { result = TTupleExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTypeExpr`, if possible. + */ cached TTypeExpr convertTypeExprFromRaw(Raw::Element e) { result = TTypeExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnderlyingToOpaqueExpr`, if possible. + */ cached TUnderlyingToOpaqueExpr convertUnderlyingToOpaqueExprFromRaw(Raw::Element e) { result = TUnderlyingToOpaqueExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnevaluatedInstanceExpr`, if possible. + */ cached TUnevaluatedInstanceExpr convertUnevaluatedInstanceExprFromRaw(Raw::Element e) { result = TUnevaluatedInstanceExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedDeclRefExpr`, if possible. + */ cached TUnresolvedDeclRefExpr convertUnresolvedDeclRefExprFromRaw(Raw::Element e) { result = TUnresolvedDeclRefExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedDotExpr`, if possible. + */ cached TUnresolvedDotExpr convertUnresolvedDotExprFromRaw(Raw::Element e) { result = TUnresolvedDotExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedMemberChainResultExpr`, if possible. + */ cached TUnresolvedMemberChainResultExpr convertUnresolvedMemberChainResultExprFromRaw(Raw::Element e) { result = TUnresolvedMemberChainResultExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedMemberExpr`, if possible. + */ cached TUnresolvedMemberExpr convertUnresolvedMemberExprFromRaw(Raw::Element e) { result = TUnresolvedMemberExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedPatternExpr`, if possible. + */ cached TUnresolvedPatternExpr convertUnresolvedPatternExprFromRaw(Raw::Element e) { result = TUnresolvedPatternExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedSpecializeExpr`, if possible. + */ cached TUnresolvedSpecializeExpr convertUnresolvedSpecializeExprFromRaw(Raw::Element e) { result = TUnresolvedSpecializeExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedTypeConversionExpr`, if possible. + */ cached TUnresolvedTypeConversionExpr convertUnresolvedTypeConversionExprFromRaw(Raw::Element e) { result = TUnresolvedTypeConversionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TVarargExpansionExpr`, if possible. + */ cached TVarargExpansionExpr convertVarargExpansionExprFromRaw(Raw::Element e) { result = TVarargExpansionExpr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TAnyPattern`, if possible. + */ cached TAnyPattern convertAnyPatternFromRaw(Raw::Element e) { result = TAnyPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBindingPattern`, if possible. + */ cached TBindingPattern convertBindingPatternFromRaw(Raw::Element e) { result = TBindingPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBoolPattern`, if possible. + */ cached TBoolPattern convertBoolPatternFromRaw(Raw::Element e) { result = TBoolPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TEnumElementPattern`, if possible. + */ cached TEnumElementPattern convertEnumElementPatternFromRaw(Raw::Element e) { result = TEnumElementPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TExprPattern`, if possible. + */ cached TExprPattern convertExprPatternFromRaw(Raw::Element e) { result = TExprPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TIsPattern`, if possible. + */ cached TIsPattern convertIsPatternFromRaw(Raw::Element e) { result = TIsPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TNamedPattern`, if possible. + */ cached TNamedPattern convertNamedPatternFromRaw(Raw::Element e) { result = TNamedPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOptionalSomePattern`, if possible. + */ cached TOptionalSomePattern convertOptionalSomePatternFromRaw(Raw::Element e) { result = TOptionalSomePattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TParenPattern`, if possible. + */ cached TParenPattern convertParenPatternFromRaw(Raw::Element e) { result = TParenPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTuplePattern`, if possible. + */ cached TTuplePattern convertTuplePatternFromRaw(Raw::Element e) { result = TTuplePattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTypedPattern`, if possible. + */ cached TTypedPattern convertTypedPatternFromRaw(Raw::Element e) { result = TTypedPattern(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBraceStmt`, if possible. + */ cached TBraceStmt convertBraceStmtFromRaw(Raw::Element e) { result = TBraceStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBreakStmt`, if possible. + */ cached TBreakStmt convertBreakStmtFromRaw(Raw::Element e) { result = TBreakStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCaseLabelItem`, if possible. + */ cached TCaseLabelItem convertCaseLabelItemFromRaw(Raw::Element e) { result = TCaseLabelItem(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TCaseStmt`, if possible. + */ cached TCaseStmt convertCaseStmtFromRaw(Raw::Element e) { result = TCaseStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TConditionElement`, if possible. + */ cached TConditionElement convertConditionElementFromRaw(Raw::Element e) { result = TConditionElement(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TContinueStmt`, if possible. + */ cached TContinueStmt convertContinueStmtFromRaw(Raw::Element e) { result = TContinueStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDeferStmt`, if possible. + */ cached TDeferStmt convertDeferStmtFromRaw(Raw::Element e) { result = TDeferStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDoCatchStmt`, if possible. + */ cached TDoCatchStmt convertDoCatchStmtFromRaw(Raw::Element e) { result = TDoCatchStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDoStmt`, if possible. + */ cached TDoStmt convertDoStmtFromRaw(Raw::Element e) { result = TDoStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TFailStmt`, if possible. + */ cached TFailStmt convertFailStmtFromRaw(Raw::Element e) { result = TFailStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TFallthroughStmt`, if possible. + */ cached TFallthroughStmt convertFallthroughStmtFromRaw(Raw::Element e) { result = TFallthroughStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TForEachStmt`, if possible. + */ cached TForEachStmt convertForEachStmtFromRaw(Raw::Element e) { result = TForEachStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TGuardStmt`, if possible. + */ cached TGuardStmt convertGuardStmtFromRaw(Raw::Element e) { result = TGuardStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TIfStmt`, if possible. + */ cached TIfStmt convertIfStmtFromRaw(Raw::Element e) { result = TIfStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPoundAssertStmt`, if possible. + */ cached TPoundAssertStmt convertPoundAssertStmtFromRaw(Raw::Element e) { result = TPoundAssertStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TRepeatWhileStmt`, if possible. + */ cached TRepeatWhileStmt convertRepeatWhileStmtFromRaw(Raw::Element e) { result = TRepeatWhileStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TReturnStmt`, if possible. + */ cached TReturnStmt convertReturnStmtFromRaw(Raw::Element e) { result = TReturnStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TStmtCondition`, if possible. + */ cached TStmtCondition convertStmtConditionFromRaw(Raw::Element e) { result = TStmtCondition(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TSwitchStmt`, if possible. + */ cached TSwitchStmt convertSwitchStmtFromRaw(Raw::Element e) { result = TSwitchStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TThrowStmt`, if possible. + */ cached TThrowStmt convertThrowStmtFromRaw(Raw::Element e) { result = TThrowStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TWhileStmt`, if possible. + */ cached TWhileStmt convertWhileStmtFromRaw(Raw::Element e) { result = TWhileStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TYieldStmt`, if possible. + */ cached TYieldStmt convertYieldStmtFromRaw(Raw::Element e) { result = TYieldStmt(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TArraySliceType`, if possible. + */ cached TArraySliceType convertArraySliceTypeFromRaw(Raw::Element e) { result = TArraySliceType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBoundGenericClassType`, if possible. + */ cached TBoundGenericClassType convertBoundGenericClassTypeFromRaw(Raw::Element e) { result = TBoundGenericClassType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBoundGenericEnumType`, if possible. + */ cached TBoundGenericEnumType convertBoundGenericEnumTypeFromRaw(Raw::Element e) { result = TBoundGenericEnumType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBoundGenericStructType`, if possible. + */ cached TBoundGenericStructType convertBoundGenericStructTypeFromRaw(Raw::Element e) { result = TBoundGenericStructType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinBridgeObjectType`, if possible. + */ cached TBuiltinBridgeObjectType convertBuiltinBridgeObjectTypeFromRaw(Raw::Element e) { result = TBuiltinBridgeObjectType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinDefaultActorStorageType`, if possible. + */ cached TBuiltinDefaultActorStorageType convertBuiltinDefaultActorStorageTypeFromRaw(Raw::Element e) { result = TBuiltinDefaultActorStorageType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinExecutorType`, if possible. + */ cached TBuiltinExecutorType convertBuiltinExecutorTypeFromRaw(Raw::Element e) { result = TBuiltinExecutorType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinFloatType`, if possible. + */ cached TBuiltinFloatType convertBuiltinFloatTypeFromRaw(Raw::Element e) { result = TBuiltinFloatType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinIntegerLiteralType`, if possible. + */ cached TBuiltinIntegerLiteralType convertBuiltinIntegerLiteralTypeFromRaw(Raw::Element e) { result = TBuiltinIntegerLiteralType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinIntegerType`, if possible. + */ cached TBuiltinIntegerType convertBuiltinIntegerTypeFromRaw(Raw::Element e) { result = TBuiltinIntegerType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinJobType`, if possible. + */ cached TBuiltinJobType convertBuiltinJobTypeFromRaw(Raw::Element e) { result = TBuiltinJobType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinNativeObjectType`, if possible. + */ cached TBuiltinNativeObjectType convertBuiltinNativeObjectTypeFromRaw(Raw::Element e) { result = TBuiltinNativeObjectType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinRawPointerType`, if possible. + */ cached TBuiltinRawPointerType convertBuiltinRawPointerTypeFromRaw(Raw::Element e) { result = TBuiltinRawPointerType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinRawUnsafeContinuationType`, if possible. + */ cached TBuiltinRawUnsafeContinuationType convertBuiltinRawUnsafeContinuationTypeFromRaw(Raw::Element e) { result = TBuiltinRawUnsafeContinuationType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinUnsafeValueBufferType`, if possible. + */ cached TBuiltinUnsafeValueBufferType convertBuiltinUnsafeValueBufferTypeFromRaw(Raw::Element e) { result = TBuiltinUnsafeValueBufferType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TBuiltinVectorType`, if possible. + */ cached TBuiltinVectorType convertBuiltinVectorTypeFromRaw(Raw::Element e) { result = TBuiltinVectorType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TClassType`, if possible. + */ cached TClassType convertClassTypeFromRaw(Raw::Element e) { result = TClassType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDependentMemberType`, if possible. + */ cached TDependentMemberType convertDependentMemberTypeFromRaw(Raw::Element e) { result = TDependentMemberType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDictionaryType`, if possible. + */ cached TDictionaryType convertDictionaryTypeFromRaw(Raw::Element e) { result = TDictionaryType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TDynamicSelfType`, if possible. + */ cached TDynamicSelfType convertDynamicSelfTypeFromRaw(Raw::Element e) { result = TDynamicSelfType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TEnumType`, if possible. + */ cached TEnumType convertEnumTypeFromRaw(Raw::Element e) { result = TEnumType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TErrorType`, if possible. + */ cached TErrorType convertErrorTypeFromRaw(Raw::Element e) { result = TErrorType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TExistentialMetatypeType`, if possible. + */ cached TExistentialMetatypeType convertExistentialMetatypeTypeFromRaw(Raw::Element e) { result = TExistentialMetatypeType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TExistentialType`, if possible. + */ cached TExistentialType convertExistentialTypeFromRaw(Raw::Element e) { result = TExistentialType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TFunctionType`, if possible. + */ cached TFunctionType convertFunctionTypeFromRaw(Raw::Element e) { result = TFunctionType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TGenericFunctionType`, if possible. + */ cached TGenericFunctionType convertGenericFunctionTypeFromRaw(Raw::Element e) { result = TGenericFunctionType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TGenericTypeParamType`, if possible. + */ cached TGenericTypeParamType convertGenericTypeParamTypeFromRaw(Raw::Element e) { result = TGenericTypeParamType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TInOutType`, if possible. + */ cached TInOutType convertInOutTypeFromRaw(Raw::Element e) { result = TInOutType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TLValueType`, if possible. + */ cached TLValueType convertLValueTypeFromRaw(Raw::Element e) { result = TLValueType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TMetatypeType`, if possible. + */ cached TMetatypeType convertMetatypeTypeFromRaw(Raw::Element e) { result = TMetatypeType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TModuleType`, if possible. + */ cached TModuleType convertModuleTypeFromRaw(Raw::Element e) { result = TModuleType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOpaqueTypeArchetypeType`, if possible. + */ cached TOpaqueTypeArchetypeType convertOpaqueTypeArchetypeTypeFromRaw(Raw::Element e) { result = TOpaqueTypeArchetypeType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOpenedArchetypeType`, if possible. + */ cached TOpenedArchetypeType convertOpenedArchetypeTypeFromRaw(Raw::Element e) { result = TOpenedArchetypeType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TOptionalType`, if possible. + */ cached TOptionalType convertOptionalTypeFromRaw(Raw::Element e) { result = TOptionalType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TParameterizedProtocolType`, if possible. + */ cached TParameterizedProtocolType convertParameterizedProtocolTypeFromRaw(Raw::Element e) { result = TParameterizedProtocolType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TParenType`, if possible. + */ cached TParenType convertParenTypeFromRaw(Raw::Element e) { result = TParenType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TPrimaryArchetypeType`, if possible. + */ cached TPrimaryArchetypeType convertPrimaryArchetypeTypeFromRaw(Raw::Element e) { result = TPrimaryArchetypeType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TProtocolCompositionType`, if possible. + */ cached TProtocolCompositionType convertProtocolCompositionTypeFromRaw(Raw::Element e) { result = TProtocolCompositionType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TProtocolType`, if possible. + */ cached TProtocolType convertProtocolTypeFromRaw(Raw::Element e) { result = TProtocolType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TStructType`, if possible. + */ cached TStructType convertStructTypeFromRaw(Raw::Element e) { result = TStructType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTupleType`, if possible. + */ cached TTupleType convertTupleTypeFromRaw(Raw::Element e) { result = TTupleType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTypeAliasType`, if possible. + */ cached TTypeAliasType convertTypeAliasTypeFromRaw(Raw::Element e) { result = TTypeAliasType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TTypeRepr`, if possible. + */ cached TTypeRepr convertTypeReprFromRaw(Raw::Element e) { result = TTypeRepr(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnboundGenericType`, if possible. + */ cached TUnboundGenericType convertUnboundGenericTypeFromRaw(Raw::Element e) { result = TUnboundGenericType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnmanagedStorageType`, if possible. + */ cached TUnmanagedStorageType convertUnmanagedStorageTypeFromRaw(Raw::Element e) { result = TUnmanagedStorageType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnownedStorageType`, if possible. + */ cached TUnownedStorageType convertUnownedStorageTypeFromRaw(Raw::Element e) { result = TUnownedStorageType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TUnresolvedType`, if possible. + */ cached TUnresolvedType convertUnresolvedTypeFromRaw(Raw::Element e) { result = TUnresolvedType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TVariadicSequenceType`, if possible. + */ cached TVariadicSequenceType convertVariadicSequenceTypeFromRaw(Raw::Element e) { result = TVariadicSequenceType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw element to a synthesized `TWeakStorageType`, if possible. + */ cached TWeakStorageType convertWeakStorageTypeFromRaw(Raw::Element e) { result = TWeakStorageType(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAstNode`, if possible. + */ cached TAstNode convertAstNodeFromRaw(Raw::Element e) { result = convertAvailabilityInfoFromRaw(e) @@ -1398,6 +3188,10 @@ module Synth { result = convertTypeReprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAvailabilitySpec`, if possible. + */ cached TAvailabilitySpec convertAvailabilitySpecFromRaw(Raw::Element e) { result = convertOtherAvailabilitySpecFromRaw(e) @@ -1405,6 +3199,10 @@ module Synth { result = convertPlatformVersionAvailabilitySpecFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TCallable`, if possible. + */ cached TCallable convertCallableFromRaw(Raw::Element e) { result = convertAbstractClosureExprFromRaw(e) @@ -1412,6 +3210,10 @@ module Synth { result = convertAbstractFunctionDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TElement`, if possible. + */ cached TElement convertElementFromRaw(Raw::Element e) { result = convertCallableFromRaw(e) @@ -1427,6 +3229,10 @@ module Synth { result = convertTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TErrorElement`, if possible. + */ cached TErrorElement convertErrorElementFromRaw(Raw::Element e) { result = convertErrorExprFromRaw(e) @@ -1454,6 +3260,10 @@ module Synth { result = convertUnspecifiedElementFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TFile`, if possible. + */ cached TFile convertFileFromRaw(Raw::Element e) { result = convertDbFileFromRaw(e) @@ -1461,6 +3271,10 @@ module Synth { result = convertUnknownFileFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TLocatable`, if possible. + */ cached TLocatable convertLocatableFromRaw(Raw::Element e) { result = convertArgumentFromRaw(e) @@ -1474,6 +3288,10 @@ module Synth { result = convertErrorElementFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TLocation`, if possible. + */ cached TLocation convertLocationFromRaw(Raw::Element e) { result = convertDbLocationFromRaw(e) @@ -1481,6 +3299,10 @@ module Synth { result = convertUnknownLocationFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAbstractFunctionDecl`, if possible. + */ cached TAbstractFunctionDecl convertAbstractFunctionDeclFromRaw(Raw::Element e) { result = convertConstructorDeclFromRaw(e) @@ -1490,6 +3312,10 @@ module Synth { result = convertFuncDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAbstractStorageDecl`, if possible. + */ cached TAbstractStorageDecl convertAbstractStorageDeclFromRaw(Raw::Element e) { result = convertSubscriptDeclFromRaw(e) @@ -1497,6 +3323,10 @@ module Synth { result = convertVarDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAbstractTypeParamDecl`, if possible. + */ cached TAbstractTypeParamDecl convertAbstractTypeParamDeclFromRaw(Raw::Element e) { result = convertAssociatedTypeDeclFromRaw(e) @@ -1504,6 +3334,10 @@ module Synth { result = convertGenericTypeParamDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TDecl`, if possible. + */ cached TDecl convertDeclFromRaw(Raw::Element e) { result = convertCapturedDeclFromRaw(e) @@ -1531,6 +3365,10 @@ module Synth { result = convertValueDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TFuncDecl`, if possible. + */ cached TFuncDecl convertFuncDeclFromRaw(Raw::Element e) { result = convertAccessorDeclFromRaw(e) @@ -1538,6 +3376,10 @@ module Synth { result = convertConcreteFuncDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TGenericContext`, if possible. + */ cached TGenericContext convertGenericContextFromRaw(Raw::Element e) { result = convertAbstractFunctionDeclFromRaw(e) @@ -1549,6 +3391,10 @@ module Synth { result = convertSubscriptDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TGenericTypeDecl`, if possible. + */ cached TGenericTypeDecl convertGenericTypeDeclFromRaw(Raw::Element e) { result = convertNominalTypeDeclFromRaw(e) @@ -1558,6 +3404,10 @@ module Synth { result = convertTypeAliasDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TNominalTypeDecl`, if possible. + */ cached TNominalTypeDecl convertNominalTypeDeclFromRaw(Raw::Element e) { result = convertClassDeclFromRaw(e) @@ -1569,6 +3419,10 @@ module Synth { result = convertStructDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TOperatorDecl`, if possible. + */ cached TOperatorDecl convertOperatorDeclFromRaw(Raw::Element e) { result = convertInfixOperatorDeclFromRaw(e) @@ -1578,6 +3432,10 @@ module Synth { result = convertPrefixOperatorDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TTypeDecl`, if possible. + */ cached TTypeDecl convertTypeDeclFromRaw(Raw::Element e) { result = convertAbstractTypeParamDeclFromRaw(e) @@ -1587,6 +3445,10 @@ module Synth { result = convertModuleDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TValueDecl`, if possible. + */ cached TValueDecl convertValueDeclFromRaw(Raw::Element e) { result = convertAbstractFunctionDeclFromRaw(e) @@ -1598,6 +3460,10 @@ module Synth { result = convertTypeDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TVarDecl`, if possible. + */ cached TVarDecl convertVarDeclFromRaw(Raw::Element e) { result = convertConcreteVarDeclFromRaw(e) @@ -1605,6 +3471,10 @@ module Synth { result = convertParamDeclFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAbstractClosureExpr`, if possible. + */ cached TAbstractClosureExpr convertAbstractClosureExprFromRaw(Raw::Element e) { result = convertAutoClosureExprFromRaw(e) @@ -1612,6 +3482,10 @@ module Synth { result = convertClosureExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAnyTryExpr`, if possible. + */ cached TAnyTryExpr convertAnyTryExprFromRaw(Raw::Element e) { result = convertForceTryExprFromRaw(e) @@ -1621,6 +3495,10 @@ module Synth { result = convertTryExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TApplyExpr`, if possible. + */ cached TApplyExpr convertApplyExprFromRaw(Raw::Element e) { result = convertBinaryExprFromRaw(e) @@ -1634,6 +3512,10 @@ module Synth { result = convertSelfApplyExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TBuiltinLiteralExpr`, if possible. + */ cached TBuiltinLiteralExpr convertBuiltinLiteralExprFromRaw(Raw::Element e) { result = convertBooleanLiteralExprFromRaw(e) @@ -1645,6 +3527,10 @@ module Synth { result = convertStringLiteralExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TCheckedCastExpr`, if possible. + */ cached TCheckedCastExpr convertCheckedCastExprFromRaw(Raw::Element e) { result = convertConditionalCheckedCastExprFromRaw(e) @@ -1654,6 +3540,10 @@ module Synth { result = convertIsExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TCollectionExpr`, if possible. + */ cached TCollectionExpr convertCollectionExprFromRaw(Raw::Element e) { result = convertArrayExprFromRaw(e) @@ -1661,6 +3551,10 @@ module Synth { result = convertDictionaryExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TDynamicLookupExpr`, if possible. + */ cached TDynamicLookupExpr convertDynamicLookupExprFromRaw(Raw::Element e) { result = convertDynamicMemberRefExprFromRaw(e) @@ -1668,6 +3562,10 @@ module Synth { result = convertDynamicSubscriptExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TExplicitCastExpr`, if possible. + */ cached TExplicitCastExpr convertExplicitCastExprFromRaw(Raw::Element e) { result = convertCheckedCastExprFromRaw(e) @@ -1675,6 +3573,10 @@ module Synth { result = convertCoerceExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TExpr`, if possible. + */ cached TExpr convertExprFromRaw(Raw::Element e) { result = convertAbstractClosureExprFromRaw(e) @@ -1776,6 +3678,10 @@ module Synth { result = convertVarargExpansionExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TIdentityExpr`, if possible. + */ cached TIdentityExpr convertIdentityExprFromRaw(Raw::Element e) { result = convertAwaitExprFromRaw(e) @@ -1787,6 +3693,10 @@ module Synth { result = convertUnresolvedMemberChainResultExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TImplicitConversionExpr`, if possible. + */ cached TImplicitConversionExpr convertImplicitConversionExprFromRaw(Raw::Element e) { result = convertAbiSafeConversionExprFromRaw(e) @@ -1854,6 +3764,10 @@ module Synth { result = convertUnresolvedTypeConversionExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TLiteralExpr`, if possible. + */ cached TLiteralExpr convertLiteralExprFromRaw(Raw::Element e) { result = convertBuiltinLiteralExprFromRaw(e) @@ -1867,6 +3781,10 @@ module Synth { result = convertRegexLiteralExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TLookupExpr`, if possible. + */ cached TLookupExpr convertLookupExprFromRaw(Raw::Element e) { result = convertDynamicLookupExprFromRaw(e) @@ -1878,6 +3796,10 @@ module Synth { result = convertSubscriptExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TNumberLiteralExpr`, if possible. + */ cached TNumberLiteralExpr convertNumberLiteralExprFromRaw(Raw::Element e) { result = convertFloatLiteralExprFromRaw(e) @@ -1885,6 +3807,10 @@ module Synth { result = convertIntegerLiteralExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TSelfApplyExpr`, if possible. + */ cached TSelfApplyExpr convertSelfApplyExprFromRaw(Raw::Element e) { result = convertConstructorRefCallExprFromRaw(e) @@ -1892,6 +3818,10 @@ module Synth { result = convertDotSyntaxCallExprFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TPattern`, if possible. + */ cached TPattern convertPatternFromRaw(Raw::Element e) { result = convertAnyPatternFromRaw(e) @@ -1917,6 +3847,10 @@ module Synth { result = convertTypedPatternFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TLabeledConditionalStmt`, if possible. + */ cached TLabeledConditionalStmt convertLabeledConditionalStmtFromRaw(Raw::Element e) { result = convertGuardStmtFromRaw(e) @@ -1926,6 +3860,10 @@ module Synth { result = convertWhileStmtFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TLabeledStmt`, if possible. + */ cached TLabeledStmt convertLabeledStmtFromRaw(Raw::Element e) { result = convertDoCatchStmtFromRaw(e) @@ -1941,6 +3879,10 @@ module Synth { result = convertSwitchStmtFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TStmt`, if possible. + */ cached TStmt convertStmtFromRaw(Raw::Element e) { result = convertBraceStmtFromRaw(e) @@ -1968,6 +3910,10 @@ module Synth { result = convertYieldStmtFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAnyBuiltinIntegerType`, if possible. + */ cached TAnyBuiltinIntegerType convertAnyBuiltinIntegerTypeFromRaw(Raw::Element e) { result = convertBuiltinIntegerLiteralTypeFromRaw(e) @@ -1975,6 +3921,10 @@ module Synth { result = convertBuiltinIntegerTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAnyFunctionType`, if possible. + */ cached TAnyFunctionType convertAnyFunctionTypeFromRaw(Raw::Element e) { result = convertFunctionTypeFromRaw(e) @@ -1982,6 +3932,10 @@ module Synth { result = convertGenericFunctionTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAnyGenericType`, if possible. + */ cached TAnyGenericType convertAnyGenericTypeFromRaw(Raw::Element e) { result = convertNominalOrBoundGenericNominalTypeFromRaw(e) @@ -1989,6 +3943,10 @@ module Synth { result = convertUnboundGenericTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TAnyMetatypeType`, if possible. + */ cached TAnyMetatypeType convertAnyMetatypeTypeFromRaw(Raw::Element e) { result = convertExistentialMetatypeTypeFromRaw(e) @@ -1996,6 +3954,10 @@ module Synth { result = convertMetatypeTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TArchetypeType`, if possible. + */ cached TArchetypeType convertArchetypeTypeFromRaw(Raw::Element e) { result = convertOpaqueTypeArchetypeTypeFromRaw(e) @@ -2005,6 +3967,10 @@ module Synth { result = convertPrimaryArchetypeTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TBoundGenericType`, if possible. + */ cached TBoundGenericType convertBoundGenericTypeFromRaw(Raw::Element e) { result = convertBoundGenericClassTypeFromRaw(e) @@ -2014,6 +3980,10 @@ module Synth { result = convertBoundGenericStructTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TBuiltinType`, if possible. + */ cached TBuiltinType convertBuiltinTypeFromRaw(Raw::Element e) { result = convertAnyBuiltinIntegerTypeFromRaw(e) @@ -2039,6 +4009,10 @@ module Synth { result = convertBuiltinVectorTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TNominalOrBoundGenericNominalType`, if possible. + */ cached TNominalOrBoundGenericNominalType convertNominalOrBoundGenericNominalTypeFromRaw(Raw::Element e) { result = convertBoundGenericTypeFromRaw(e) @@ -2046,6 +4020,10 @@ module Synth { result = convertNominalTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TNominalType`, if possible. + */ cached TNominalType convertNominalTypeFromRaw(Raw::Element e) { result = convertClassTypeFromRaw(e) @@ -2057,6 +4035,10 @@ module Synth { result = convertStructTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TReferenceStorageType`, if possible. + */ cached TReferenceStorageType convertReferenceStorageTypeFromRaw(Raw::Element e) { result = convertUnmanagedStorageTypeFromRaw(e) @@ -2066,6 +4048,10 @@ module Synth { result = convertWeakStorageTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TSubstitutableType`, if possible. + */ cached TSubstitutableType convertSubstitutableTypeFromRaw(Raw::Element e) { result = convertArchetypeTypeFromRaw(e) @@ -2073,6 +4059,10 @@ module Synth { result = convertGenericTypeParamTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TSugarType`, if possible. + */ cached TSugarType convertSugarTypeFromRaw(Raw::Element e) { result = convertParenTypeFromRaw(e) @@ -2082,6 +4072,10 @@ module Synth { result = convertTypeAliasTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TSyntaxSugarType`, if possible. + */ cached TSyntaxSugarType convertSyntaxSugarTypeFromRaw(Raw::Element e) { result = convertDictionaryTypeFromRaw(e) @@ -2089,6 +4083,10 @@ module Synth { result = convertUnarySyntaxSugarTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TType`, if possible. + */ cached TType convertTypeFromRaw(Raw::Element e) { result = convertAnyFunctionTypeFromRaw(e) @@ -2128,6 +4126,10 @@ module Synth { result = convertUnresolvedTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a raw DB element to a synthesized `TUnarySyntaxSugarType`, if possible. + */ cached TUnarySyntaxSugarType convertUnarySyntaxSugarTypeFromRaw(Raw::Element e) { result = convertArraySliceTypeFromRaw(e) @@ -2137,285 +4139,581 @@ module Synth { result = convertVariadicSequenceTypeFromRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAvailabilityInfo` to a raw DB element, if possible. + */ cached Raw::Element convertAvailabilityInfoToRaw(TAvailabilityInfo e) { e = TAvailabilityInfo(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TComment` to a raw DB element, if possible. + */ cached Raw::Element convertCommentToRaw(TComment e) { e = TComment(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDbFile` to a raw DB element, if possible. + */ cached Raw::Element convertDbFileToRaw(TDbFile e) { e = TDbFile(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDbLocation` to a raw DB element, if possible. + */ cached Raw::Element convertDbLocationToRaw(TDbLocation e) { e = TDbLocation(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDiagnostics` to a raw DB element, if possible. + */ cached Raw::Element convertDiagnosticsToRaw(TDiagnostics e) { e = TDiagnostics(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TKeyPathComponent` to a raw DB element, if possible. + */ cached Raw::Element convertKeyPathComponentToRaw(TKeyPathComponent e) { e = TKeyPathComponent(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOtherAvailabilitySpec` to a raw DB element, if possible. + */ cached Raw::Element convertOtherAvailabilitySpecToRaw(TOtherAvailabilitySpec e) { e = TOtherAvailabilitySpec(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPlatformVersionAvailabilitySpec` to a raw DB element, if possible. + */ cached Raw::Element convertPlatformVersionAvailabilitySpecToRaw(TPlatformVersionAvailabilitySpec e) { e = TPlatformVersionAvailabilitySpec(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnknownFile` to a raw DB element, if possible. + */ cached Raw::Element convertUnknownFileToRaw(TUnknownFile e) { none() } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnknownLocation` to a raw DB element, if possible. + */ cached Raw::Element convertUnknownLocationToRaw(TUnknownLocation e) { none() } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnspecifiedElement` to a raw DB element, if possible. + */ cached Raw::Element convertUnspecifiedElementToRaw(TUnspecifiedElement e) { e = TUnspecifiedElement(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAccessorDecl` to a raw DB element, if possible. + */ cached Raw::Element convertAccessorDeclToRaw(TAccessorDecl e) { e = TAccessorDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAssociatedTypeDecl` to a raw DB element, if possible. + */ cached Raw::Element convertAssociatedTypeDeclToRaw(TAssociatedTypeDecl e) { e = TAssociatedTypeDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCapturedDecl` to a raw DB element, if possible. + */ cached Raw::Element convertCapturedDeclToRaw(TCapturedDecl e) { e = TCapturedDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TClassDecl` to a raw DB element, if possible. + */ cached Raw::Element convertClassDeclToRaw(TClassDecl e) { e = TClassDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TConcreteFuncDecl` to a raw DB element, if possible. + */ cached Raw::Element convertConcreteFuncDeclToRaw(TConcreteFuncDecl e) { e = TConcreteFuncDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TConcreteVarDecl` to a raw DB element, if possible. + */ cached Raw::Element convertConcreteVarDeclToRaw(TConcreteVarDecl e) { e = TConcreteVarDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TConstructorDecl` to a raw DB element, if possible. + */ cached Raw::Element convertConstructorDeclToRaw(TConstructorDecl e) { e = TConstructorDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDestructorDecl` to a raw DB element, if possible. + */ cached Raw::Element convertDestructorDeclToRaw(TDestructorDecl e) { e = TDestructorDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TEnumCaseDecl` to a raw DB element, if possible. + */ cached Raw::Element convertEnumCaseDeclToRaw(TEnumCaseDecl e) { e = TEnumCaseDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TEnumDecl` to a raw DB element, if possible. + */ cached Raw::Element convertEnumDeclToRaw(TEnumDecl e) { e = TEnumDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TEnumElementDecl` to a raw DB element, if possible. + */ cached Raw::Element convertEnumElementDeclToRaw(TEnumElementDecl e) { e = TEnumElementDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TExtensionDecl` to a raw DB element, if possible. + */ cached Raw::Element convertExtensionDeclToRaw(TExtensionDecl e) { e = TExtensionDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TGenericTypeParamDecl` to a raw DB element, if possible. + */ cached Raw::Element convertGenericTypeParamDeclToRaw(TGenericTypeParamDecl e) { e = TGenericTypeParamDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TIfConfigDecl` to a raw DB element, if possible. + */ cached Raw::Element convertIfConfigDeclToRaw(TIfConfigDecl e) { e = TIfConfigDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TImportDecl` to a raw DB element, if possible. + */ cached Raw::Element convertImportDeclToRaw(TImportDecl e) { e = TImportDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TInfixOperatorDecl` to a raw DB element, if possible. + */ cached Raw::Element convertInfixOperatorDeclToRaw(TInfixOperatorDecl e) { e = TInfixOperatorDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TMissingMemberDecl` to a raw DB element, if possible. + */ cached Raw::Element convertMissingMemberDeclToRaw(TMissingMemberDecl e) { e = TMissingMemberDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TModuleDecl` to a raw DB element, if possible. + */ cached Raw::Element convertModuleDeclToRaw(TModuleDecl e) { e = TModuleDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOpaqueTypeDecl` to a raw DB element, if possible. + */ cached Raw::Element convertOpaqueTypeDeclToRaw(TOpaqueTypeDecl e) { e = TOpaqueTypeDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TParamDecl` to a raw DB element, if possible. + */ cached Raw::Element convertParamDeclToRaw(TParamDecl e) { e = TParamDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPatternBindingDecl` to a raw DB element, if possible. + */ cached Raw::Element convertPatternBindingDeclToRaw(TPatternBindingDecl e) { e = TPatternBindingDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPostfixOperatorDecl` to a raw DB element, if possible. + */ cached Raw::Element convertPostfixOperatorDeclToRaw(TPostfixOperatorDecl e) { e = TPostfixOperatorDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPoundDiagnosticDecl` to a raw DB element, if possible. + */ cached Raw::Element convertPoundDiagnosticDeclToRaw(TPoundDiagnosticDecl e) { e = TPoundDiagnosticDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPrecedenceGroupDecl` to a raw DB element, if possible. + */ cached Raw::Element convertPrecedenceGroupDeclToRaw(TPrecedenceGroupDecl e) { e = TPrecedenceGroupDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPrefixOperatorDecl` to a raw DB element, if possible. + */ cached Raw::Element convertPrefixOperatorDeclToRaw(TPrefixOperatorDecl e) { e = TPrefixOperatorDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TProtocolDecl` to a raw DB element, if possible. + */ cached Raw::Element convertProtocolDeclToRaw(TProtocolDecl e) { e = TProtocolDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TStructDecl` to a raw DB element, if possible. + */ cached Raw::Element convertStructDeclToRaw(TStructDecl e) { e = TStructDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSubscriptDecl` to a raw DB element, if possible. + */ cached Raw::Element convertSubscriptDeclToRaw(TSubscriptDecl e) { e = TSubscriptDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTopLevelCodeDecl` to a raw DB element, if possible. + */ cached Raw::Element convertTopLevelCodeDeclToRaw(TTopLevelCodeDecl e) { e = TTopLevelCodeDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTypeAliasDecl` to a raw DB element, if possible. + */ cached Raw::Element convertTypeAliasDeclToRaw(TTypeAliasDecl e) { e = TTypeAliasDecl(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAbiSafeConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAbiSafeConversionExprToRaw(TAbiSafeConversionExpr e) { e = TAbiSafeConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAnyHashableErasureExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAnyHashableErasureExprToRaw(TAnyHashableErasureExpr e) { e = TAnyHashableErasureExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAppliedPropertyWrapperExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAppliedPropertyWrapperExprToRaw(TAppliedPropertyWrapperExpr e) { e = TAppliedPropertyWrapperExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TArchetypeToSuperExpr` to a raw DB element, if possible. + */ cached Raw::Element convertArchetypeToSuperExprToRaw(TArchetypeToSuperExpr e) { e = TArchetypeToSuperExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TArgument` to a raw DB element, if possible. + */ cached Raw::Element convertArgumentToRaw(TArgument e) { e = TArgument(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TArrayExpr` to a raw DB element, if possible. + */ cached Raw::Element convertArrayExprToRaw(TArrayExpr e) { e = TArrayExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TArrayToPointerExpr` to a raw DB element, if possible. + */ cached Raw::Element convertArrayToPointerExprToRaw(TArrayToPointerExpr e) { e = TArrayToPointerExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAssignExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAssignExprToRaw(TAssignExpr e) { e = TAssignExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAutoClosureExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAutoClosureExprToRaw(TAutoClosureExpr e) { e = TAutoClosureExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAwaitExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAwaitExprToRaw(TAwaitExpr e) { e = TAwaitExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBinaryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertBinaryExprToRaw(TBinaryExpr e) { e = TBinaryExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBindOptionalExpr` to a raw DB element, if possible. + */ cached Raw::Element convertBindOptionalExprToRaw(TBindOptionalExpr e) { e = TBindOptionalExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBooleanLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertBooleanLiteralExprToRaw(TBooleanLiteralExpr e) { e = TBooleanLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBridgeFromObjCExpr` to a raw DB element, if possible. + */ cached Raw::Element convertBridgeFromObjCExprToRaw(TBridgeFromObjCExpr e) { e = TBridgeFromObjCExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBridgeToObjCExpr` to a raw DB element, if possible. + */ cached Raw::Element convertBridgeToObjCExprToRaw(TBridgeToObjCExpr e) { e = TBridgeToObjCExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCallExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCallExprToRaw(TCallExpr e) { e = TCallExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCaptureListExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCaptureListExprToRaw(TCaptureListExpr e) { e = TCaptureListExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TClassMetatypeToObjectExpr` to a raw DB element, if possible. + */ cached Raw::Element convertClassMetatypeToObjectExprToRaw(TClassMetatypeToObjectExpr e) { e = TClassMetatypeToObjectExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TClosureExpr` to a raw DB element, if possible. + */ cached Raw::Element convertClosureExprToRaw(TClosureExpr e) { e = TClosureExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCoerceExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCoerceExprToRaw(TCoerceExpr e) { e = TCoerceExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCollectionUpcastConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCollectionUpcastConversionExprToRaw(TCollectionUpcastConversionExpr e) { e = TCollectionUpcastConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TConditionalBridgeFromObjCExpr` to a raw DB element, if possible. + */ cached Raw::Element convertConditionalBridgeFromObjCExprToRaw(TConditionalBridgeFromObjCExpr e) { e = TConditionalBridgeFromObjCExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TConditionalCheckedCastExpr` to a raw DB element, if possible. + */ cached Raw::Element convertConditionalCheckedCastExprToRaw(TConditionalCheckedCastExpr e) { e = TConditionalCheckedCastExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TConstructorRefCallExpr` to a raw DB element, if possible. + */ cached Raw::Element convertConstructorRefCallExprToRaw(TConstructorRefCallExpr e) { e = TConstructorRefCallExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCovariantFunctionConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCovariantFunctionConversionExprToRaw(TCovariantFunctionConversionExpr e) { e = TCovariantFunctionConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCovariantReturnConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCovariantReturnConversionExprToRaw(TCovariantReturnConversionExpr e) { e = TCovariantReturnConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDeclRefExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDeclRefExprToRaw(TDeclRefExpr e) { e = TDeclRefExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDefaultArgumentExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDefaultArgumentExprToRaw(TDefaultArgumentExpr e) { e = TDefaultArgumentExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDerivedToBaseExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDerivedToBaseExprToRaw(TDerivedToBaseExpr e) { e = TDerivedToBaseExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDestructureTupleExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDestructureTupleExprToRaw(TDestructureTupleExpr e) { e = TDestructureTupleExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDictionaryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDictionaryExprToRaw(TDictionaryExpr e) { e = TDictionaryExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDifferentiableFunctionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDifferentiableFunctionExprToRaw(TDifferentiableFunctionExpr e) { e = TDifferentiableFunctionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDifferentiableFunctionExtractOriginalExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDifferentiableFunctionExtractOriginalExprToRaw( TDifferentiableFunctionExtractOriginalExpr e @@ -2423,213 +4721,421 @@ module Synth { e = TDifferentiableFunctionExtractOriginalExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDiscardAssignmentExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDiscardAssignmentExprToRaw(TDiscardAssignmentExpr e) { e = TDiscardAssignmentExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDotSelfExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDotSelfExprToRaw(TDotSelfExpr e) { e = TDotSelfExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDotSyntaxBaseIgnoredExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDotSyntaxBaseIgnoredExprToRaw(TDotSyntaxBaseIgnoredExpr e) { e = TDotSyntaxBaseIgnoredExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDotSyntaxCallExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDotSyntaxCallExprToRaw(TDotSyntaxCallExpr e) { e = TDotSyntaxCallExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDynamicMemberRefExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDynamicMemberRefExprToRaw(TDynamicMemberRefExpr e) { e = TDynamicMemberRefExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDynamicSubscriptExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDynamicSubscriptExprToRaw(TDynamicSubscriptExpr e) { e = TDynamicSubscriptExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDynamicTypeExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDynamicTypeExprToRaw(TDynamicTypeExpr e) { e = TDynamicTypeExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TEnumIsCaseExpr` to a raw DB element, if possible. + */ cached Raw::Element convertEnumIsCaseExprToRaw(TEnumIsCaseExpr e) { e = TEnumIsCaseExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TErasureExpr` to a raw DB element, if possible. + */ cached Raw::Element convertErasureExprToRaw(TErasureExpr e) { e = TErasureExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TErrorExpr` to a raw DB element, if possible. + */ cached Raw::Element convertErrorExprToRaw(TErrorExpr e) { e = TErrorExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TExistentialMetatypeToObjectExpr` to a raw DB element, if possible. + */ cached Raw::Element convertExistentialMetatypeToObjectExprToRaw(TExistentialMetatypeToObjectExpr e) { e = TExistentialMetatypeToObjectExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TFloatLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertFloatLiteralExprToRaw(TFloatLiteralExpr e) { e = TFloatLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TForceTryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertForceTryExprToRaw(TForceTryExpr e) { e = TForceTryExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TForceValueExpr` to a raw DB element, if possible. + */ cached Raw::Element convertForceValueExprToRaw(TForceValueExpr e) { e = TForceValueExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TForcedCheckedCastExpr` to a raw DB element, if possible. + */ cached Raw::Element convertForcedCheckedCastExprToRaw(TForcedCheckedCastExpr e) { e = TForcedCheckedCastExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TForeignObjectConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertForeignObjectConversionExprToRaw(TForeignObjectConversionExpr e) { e = TForeignObjectConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TFunctionConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertFunctionConversionExprToRaw(TFunctionConversionExpr e) { e = TFunctionConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TIfExpr` to a raw DB element, if possible. + */ cached Raw::Element convertIfExprToRaw(TIfExpr e) { e = TIfExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TInOutExpr` to a raw DB element, if possible. + */ cached Raw::Element convertInOutExprToRaw(TInOutExpr e) { e = TInOutExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TInOutToPointerExpr` to a raw DB element, if possible. + */ cached Raw::Element convertInOutToPointerExprToRaw(TInOutToPointerExpr e) { e = TInOutToPointerExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TInjectIntoOptionalExpr` to a raw DB element, if possible. + */ cached Raw::Element convertInjectIntoOptionalExprToRaw(TInjectIntoOptionalExpr e) { e = TInjectIntoOptionalExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TIntegerLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertIntegerLiteralExprToRaw(TIntegerLiteralExpr e) { e = TIntegerLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TInterpolatedStringLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertInterpolatedStringLiteralExprToRaw(TInterpolatedStringLiteralExpr e) { e = TInterpolatedStringLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TIsExpr` to a raw DB element, if possible. + */ cached Raw::Element convertIsExprToRaw(TIsExpr e) { e = TIsExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TKeyPathApplicationExpr` to a raw DB element, if possible. + */ cached Raw::Element convertKeyPathApplicationExprToRaw(TKeyPathApplicationExpr e) { e = TKeyPathApplicationExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TKeyPathDotExpr` to a raw DB element, if possible. + */ cached Raw::Element convertKeyPathDotExprToRaw(TKeyPathDotExpr e) { e = TKeyPathDotExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TKeyPathExpr` to a raw DB element, if possible. + */ cached Raw::Element convertKeyPathExprToRaw(TKeyPathExpr e) { e = TKeyPathExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLazyInitializerExpr` to a raw DB element, if possible. + */ cached Raw::Element convertLazyInitializerExprToRaw(TLazyInitializerExpr e) { e = TLazyInitializerExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLinearFunctionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertLinearFunctionExprToRaw(TLinearFunctionExpr e) { e = TLinearFunctionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLinearFunctionExtractOriginalExpr` to a raw DB element, if possible. + */ cached Raw::Element convertLinearFunctionExtractOriginalExprToRaw(TLinearFunctionExtractOriginalExpr e) { e = TLinearFunctionExtractOriginalExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLinearToDifferentiableFunctionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertLinearToDifferentiableFunctionExprToRaw(TLinearToDifferentiableFunctionExpr e) { e = TLinearToDifferentiableFunctionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLoadExpr` to a raw DB element, if possible. + */ cached Raw::Element convertLoadExprToRaw(TLoadExpr e) { e = TLoadExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TMagicIdentifierLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertMagicIdentifierLiteralExprToRaw(TMagicIdentifierLiteralExpr e) { e = TMagicIdentifierLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TMakeTemporarilyEscapableExpr` to a raw DB element, if possible. + */ cached Raw::Element convertMakeTemporarilyEscapableExprToRaw(TMakeTemporarilyEscapableExpr e) { e = TMakeTemporarilyEscapableExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TMemberRefExpr` to a raw DB element, if possible. + */ cached Raw::Element convertMemberRefExprToRaw(TMemberRefExpr e) { e = TMemberRefExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TMetatypeConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertMetatypeConversionExprToRaw(TMetatypeConversionExpr e) { e = TMetatypeConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TMethodLookupExpr` to a raw DB element, if possible. + */ cached Raw::Element convertMethodLookupExprToRaw(TMethodLookupExpr e) { e = TMethodLookupExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TNilLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertNilLiteralExprToRaw(TNilLiteralExpr e) { e = TNilLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TObjCSelectorExpr` to a raw DB element, if possible. + */ cached Raw::Element convertObjCSelectorExprToRaw(TObjCSelectorExpr e) { e = TObjCSelectorExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TObjectLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertObjectLiteralExprToRaw(TObjectLiteralExpr e) { e = TObjectLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOneWayExpr` to a raw DB element, if possible. + */ cached Raw::Element convertOneWayExprToRaw(TOneWayExpr e) { e = TOneWayExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOpaqueValueExpr` to a raw DB element, if possible. + */ cached Raw::Element convertOpaqueValueExprToRaw(TOpaqueValueExpr e) { e = TOpaqueValueExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOpenExistentialExpr` to a raw DB element, if possible. + */ cached Raw::Element convertOpenExistentialExprToRaw(TOpenExistentialExpr e) { e = TOpenExistentialExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOptionalEvaluationExpr` to a raw DB element, if possible. + */ cached Raw::Element convertOptionalEvaluationExprToRaw(TOptionalEvaluationExpr e) { e = TOptionalEvaluationExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOptionalTryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertOptionalTryExprToRaw(TOptionalTryExpr e) { e = TOptionalTryExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOtherConstructorDeclRefExpr` to a raw DB element, if possible. + */ cached Raw::Element convertOtherConstructorDeclRefExprToRaw(TOtherConstructorDeclRefExpr e) { e = TOtherConstructorDeclRefExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOverloadedDeclRefExpr` to a raw DB element, if possible. + */ cached Raw::Element convertOverloadedDeclRefExprToRaw(TOverloadedDeclRefExpr e) { e = TOverloadedDeclRefExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TParenExpr` to a raw DB element, if possible. + */ cached Raw::Element convertParenExprToRaw(TParenExpr e) { e = TParenExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPointerToPointerExpr` to a raw DB element, if possible. + */ cached Raw::Element convertPointerToPointerExprToRaw(TPointerToPointerExpr e) { e = TPointerToPointerExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPostfixUnaryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertPostfixUnaryExprToRaw(TPostfixUnaryExpr e) { e = TPostfixUnaryExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPrefixUnaryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertPrefixUnaryExprToRaw(TPrefixUnaryExpr e) { e = TPrefixUnaryExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPropertyWrapperValuePlaceholderExpr` to a raw DB element, if possible. + */ cached Raw::Element convertPropertyWrapperValuePlaceholderExprToRaw( TPropertyWrapperValuePlaceholderExpr e @@ -2637,405 +5143,829 @@ module Synth { e = TPropertyWrapperValuePlaceholderExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TProtocolMetatypeToObjectExpr` to a raw DB element, if possible. + */ cached Raw::Element convertProtocolMetatypeToObjectExprToRaw(TProtocolMetatypeToObjectExpr e) { e = TProtocolMetatypeToObjectExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TRebindSelfInConstructorExpr` to a raw DB element, if possible. + */ cached Raw::Element convertRebindSelfInConstructorExprToRaw(TRebindSelfInConstructorExpr e) { e = TRebindSelfInConstructorExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TRegexLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertRegexLiteralExprToRaw(TRegexLiteralExpr e) { e = TRegexLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSequenceExpr` to a raw DB element, if possible. + */ cached Raw::Element convertSequenceExprToRaw(TSequenceExpr e) { e = TSequenceExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TStringLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertStringLiteralExprToRaw(TStringLiteralExpr e) { e = TStringLiteralExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TStringToPointerExpr` to a raw DB element, if possible. + */ cached Raw::Element convertStringToPointerExprToRaw(TStringToPointerExpr e) { e = TStringToPointerExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSubscriptExpr` to a raw DB element, if possible. + */ cached Raw::Element convertSubscriptExprToRaw(TSubscriptExpr e) { e = TSubscriptExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSuperRefExpr` to a raw DB element, if possible. + */ cached Raw::Element convertSuperRefExprToRaw(TSuperRefExpr e) { e = TSuperRefExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTapExpr` to a raw DB element, if possible. + */ cached Raw::Element convertTapExprToRaw(TTapExpr e) { e = TTapExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertTryExprToRaw(TTryExpr e) { e = TTryExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTupleElementExpr` to a raw DB element, if possible. + */ cached Raw::Element convertTupleElementExprToRaw(TTupleElementExpr e) { e = TTupleElementExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTupleExpr` to a raw DB element, if possible. + */ cached Raw::Element convertTupleExprToRaw(TTupleExpr e) { e = TTupleExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTypeExpr` to a raw DB element, if possible. + */ cached Raw::Element convertTypeExprToRaw(TTypeExpr e) { e = TTypeExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnderlyingToOpaqueExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnderlyingToOpaqueExprToRaw(TUnderlyingToOpaqueExpr e) { e = TUnderlyingToOpaqueExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnevaluatedInstanceExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnevaluatedInstanceExprToRaw(TUnevaluatedInstanceExpr e) { e = TUnevaluatedInstanceExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedDeclRefExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedDeclRefExprToRaw(TUnresolvedDeclRefExpr e) { e = TUnresolvedDeclRefExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedDotExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedDotExprToRaw(TUnresolvedDotExpr e) { e = TUnresolvedDotExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedMemberChainResultExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedMemberChainResultExprToRaw(TUnresolvedMemberChainResultExpr e) { e = TUnresolvedMemberChainResultExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedMemberExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedMemberExprToRaw(TUnresolvedMemberExpr e) { e = TUnresolvedMemberExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedPatternExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedPatternExprToRaw(TUnresolvedPatternExpr e) { e = TUnresolvedPatternExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedSpecializeExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedSpecializeExprToRaw(TUnresolvedSpecializeExpr e) { e = TUnresolvedSpecializeExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedTypeConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedTypeConversionExprToRaw(TUnresolvedTypeConversionExpr e) { e = TUnresolvedTypeConversionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TVarargExpansionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertVarargExpansionExprToRaw(TVarargExpansionExpr e) { e = TVarargExpansionExpr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAnyPattern` to a raw DB element, if possible. + */ cached Raw::Element convertAnyPatternToRaw(TAnyPattern e) { e = TAnyPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBindingPattern` to a raw DB element, if possible. + */ cached Raw::Element convertBindingPatternToRaw(TBindingPattern e) { e = TBindingPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBoolPattern` to a raw DB element, if possible. + */ cached Raw::Element convertBoolPatternToRaw(TBoolPattern e) { e = TBoolPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TEnumElementPattern` to a raw DB element, if possible. + */ cached Raw::Element convertEnumElementPatternToRaw(TEnumElementPattern e) { e = TEnumElementPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TExprPattern` to a raw DB element, if possible. + */ cached Raw::Element convertExprPatternToRaw(TExprPattern e) { e = TExprPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TIsPattern` to a raw DB element, if possible. + */ cached Raw::Element convertIsPatternToRaw(TIsPattern e) { e = TIsPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TNamedPattern` to a raw DB element, if possible. + */ cached Raw::Element convertNamedPatternToRaw(TNamedPattern e) { e = TNamedPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOptionalSomePattern` to a raw DB element, if possible. + */ cached Raw::Element convertOptionalSomePatternToRaw(TOptionalSomePattern e) { e = TOptionalSomePattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TParenPattern` to a raw DB element, if possible. + */ cached Raw::Element convertParenPatternToRaw(TParenPattern e) { e = TParenPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTuplePattern` to a raw DB element, if possible. + */ cached Raw::Element convertTuplePatternToRaw(TTuplePattern e) { e = TTuplePattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTypedPattern` to a raw DB element, if possible. + */ cached Raw::Element convertTypedPatternToRaw(TTypedPattern e) { e = TTypedPattern(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBraceStmt` to a raw DB element, if possible. + */ cached Raw::Element convertBraceStmtToRaw(TBraceStmt e) { e = TBraceStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBreakStmt` to a raw DB element, if possible. + */ cached Raw::Element convertBreakStmtToRaw(TBreakStmt e) { e = TBreakStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCaseLabelItem` to a raw DB element, if possible. + */ cached Raw::Element convertCaseLabelItemToRaw(TCaseLabelItem e) { e = TCaseLabelItem(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCaseStmt` to a raw DB element, if possible. + */ cached Raw::Element convertCaseStmtToRaw(TCaseStmt e) { e = TCaseStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TConditionElement` to a raw DB element, if possible. + */ cached Raw::Element convertConditionElementToRaw(TConditionElement e) { e = TConditionElement(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TContinueStmt` to a raw DB element, if possible. + */ cached Raw::Element convertContinueStmtToRaw(TContinueStmt e) { e = TContinueStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDeferStmt` to a raw DB element, if possible. + */ cached Raw::Element convertDeferStmtToRaw(TDeferStmt e) { e = TDeferStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDoCatchStmt` to a raw DB element, if possible. + */ cached Raw::Element convertDoCatchStmtToRaw(TDoCatchStmt e) { e = TDoCatchStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDoStmt` to a raw DB element, if possible. + */ cached Raw::Element convertDoStmtToRaw(TDoStmt e) { e = TDoStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TFailStmt` to a raw DB element, if possible. + */ cached Raw::Element convertFailStmtToRaw(TFailStmt e) { e = TFailStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TFallthroughStmt` to a raw DB element, if possible. + */ cached Raw::Element convertFallthroughStmtToRaw(TFallthroughStmt e) { e = TFallthroughStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TForEachStmt` to a raw DB element, if possible. + */ cached Raw::Element convertForEachStmtToRaw(TForEachStmt e) { e = TForEachStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TGuardStmt` to a raw DB element, if possible. + */ cached Raw::Element convertGuardStmtToRaw(TGuardStmt e) { e = TGuardStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TIfStmt` to a raw DB element, if possible. + */ cached Raw::Element convertIfStmtToRaw(TIfStmt e) { e = TIfStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPoundAssertStmt` to a raw DB element, if possible. + */ cached Raw::Element convertPoundAssertStmtToRaw(TPoundAssertStmt e) { e = TPoundAssertStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TRepeatWhileStmt` to a raw DB element, if possible. + */ cached Raw::Element convertRepeatWhileStmtToRaw(TRepeatWhileStmt e) { e = TRepeatWhileStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TReturnStmt` to a raw DB element, if possible. + */ cached Raw::Element convertReturnStmtToRaw(TReturnStmt e) { e = TReturnStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TStmtCondition` to a raw DB element, if possible. + */ cached Raw::Element convertStmtConditionToRaw(TStmtCondition e) { e = TStmtCondition(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSwitchStmt` to a raw DB element, if possible. + */ cached Raw::Element convertSwitchStmtToRaw(TSwitchStmt e) { e = TSwitchStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TThrowStmt` to a raw DB element, if possible. + */ cached Raw::Element convertThrowStmtToRaw(TThrowStmt e) { e = TThrowStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TWhileStmt` to a raw DB element, if possible. + */ cached Raw::Element convertWhileStmtToRaw(TWhileStmt e) { e = TWhileStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TYieldStmt` to a raw DB element, if possible. + */ cached Raw::Element convertYieldStmtToRaw(TYieldStmt e) { e = TYieldStmt(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TArraySliceType` to a raw DB element, if possible. + */ cached Raw::Element convertArraySliceTypeToRaw(TArraySliceType e) { e = TArraySliceType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBoundGenericClassType` to a raw DB element, if possible. + */ cached Raw::Element convertBoundGenericClassTypeToRaw(TBoundGenericClassType e) { e = TBoundGenericClassType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBoundGenericEnumType` to a raw DB element, if possible. + */ cached Raw::Element convertBoundGenericEnumTypeToRaw(TBoundGenericEnumType e) { e = TBoundGenericEnumType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBoundGenericStructType` to a raw DB element, if possible. + */ cached Raw::Element convertBoundGenericStructTypeToRaw(TBoundGenericStructType e) { e = TBoundGenericStructType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinBridgeObjectType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinBridgeObjectTypeToRaw(TBuiltinBridgeObjectType e) { e = TBuiltinBridgeObjectType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinDefaultActorStorageType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinDefaultActorStorageTypeToRaw(TBuiltinDefaultActorStorageType e) { e = TBuiltinDefaultActorStorageType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinExecutorType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinExecutorTypeToRaw(TBuiltinExecutorType e) { e = TBuiltinExecutorType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinFloatType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinFloatTypeToRaw(TBuiltinFloatType e) { e = TBuiltinFloatType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinIntegerLiteralType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinIntegerLiteralTypeToRaw(TBuiltinIntegerLiteralType e) { e = TBuiltinIntegerLiteralType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinIntegerType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinIntegerTypeToRaw(TBuiltinIntegerType e) { e = TBuiltinIntegerType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinJobType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinJobTypeToRaw(TBuiltinJobType e) { e = TBuiltinJobType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinNativeObjectType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinNativeObjectTypeToRaw(TBuiltinNativeObjectType e) { e = TBuiltinNativeObjectType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinRawPointerType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinRawPointerTypeToRaw(TBuiltinRawPointerType e) { e = TBuiltinRawPointerType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinRawUnsafeContinuationType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinRawUnsafeContinuationTypeToRaw(TBuiltinRawUnsafeContinuationType e) { e = TBuiltinRawUnsafeContinuationType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinUnsafeValueBufferType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinUnsafeValueBufferTypeToRaw(TBuiltinUnsafeValueBufferType e) { e = TBuiltinUnsafeValueBufferType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinVectorType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinVectorTypeToRaw(TBuiltinVectorType e) { e = TBuiltinVectorType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TClassType` to a raw DB element, if possible. + */ cached Raw::Element convertClassTypeToRaw(TClassType e) { e = TClassType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDependentMemberType` to a raw DB element, if possible. + */ cached Raw::Element convertDependentMemberTypeToRaw(TDependentMemberType e) { e = TDependentMemberType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDictionaryType` to a raw DB element, if possible. + */ cached Raw::Element convertDictionaryTypeToRaw(TDictionaryType e) { e = TDictionaryType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDynamicSelfType` to a raw DB element, if possible. + */ cached Raw::Element convertDynamicSelfTypeToRaw(TDynamicSelfType e) { e = TDynamicSelfType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TEnumType` to a raw DB element, if possible. + */ cached Raw::Element convertEnumTypeToRaw(TEnumType e) { e = TEnumType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TErrorType` to a raw DB element, if possible. + */ cached Raw::Element convertErrorTypeToRaw(TErrorType e) { e = TErrorType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TExistentialMetatypeType` to a raw DB element, if possible. + */ cached Raw::Element convertExistentialMetatypeTypeToRaw(TExistentialMetatypeType e) { e = TExistentialMetatypeType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TExistentialType` to a raw DB element, if possible. + */ cached Raw::Element convertExistentialTypeToRaw(TExistentialType e) { e = TExistentialType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TFunctionType` to a raw DB element, if possible. + */ cached Raw::Element convertFunctionTypeToRaw(TFunctionType e) { e = TFunctionType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TGenericFunctionType` to a raw DB element, if possible. + */ cached Raw::Element convertGenericFunctionTypeToRaw(TGenericFunctionType e) { e = TGenericFunctionType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TGenericTypeParamType` to a raw DB element, if possible. + */ cached Raw::Element convertGenericTypeParamTypeToRaw(TGenericTypeParamType e) { e = TGenericTypeParamType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TInOutType` to a raw DB element, if possible. + */ cached Raw::Element convertInOutTypeToRaw(TInOutType e) { e = TInOutType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLValueType` to a raw DB element, if possible. + */ cached Raw::Element convertLValueTypeToRaw(TLValueType e) { e = TLValueType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TMetatypeType` to a raw DB element, if possible. + */ cached Raw::Element convertMetatypeTypeToRaw(TMetatypeType e) { e = TMetatypeType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TModuleType` to a raw DB element, if possible. + */ cached Raw::Element convertModuleTypeToRaw(TModuleType e) { e = TModuleType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOpaqueTypeArchetypeType` to a raw DB element, if possible. + */ cached Raw::Element convertOpaqueTypeArchetypeTypeToRaw(TOpaqueTypeArchetypeType e) { e = TOpaqueTypeArchetypeType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOpenedArchetypeType` to a raw DB element, if possible. + */ cached Raw::Element convertOpenedArchetypeTypeToRaw(TOpenedArchetypeType e) { e = TOpenedArchetypeType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOptionalType` to a raw DB element, if possible. + */ cached Raw::Element convertOptionalTypeToRaw(TOptionalType e) { e = TOptionalType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TParameterizedProtocolType` to a raw DB element, if possible. + */ cached Raw::Element convertParameterizedProtocolTypeToRaw(TParameterizedProtocolType e) { e = TParameterizedProtocolType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TParenType` to a raw DB element, if possible. + */ cached Raw::Element convertParenTypeToRaw(TParenType e) { e = TParenType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPrimaryArchetypeType` to a raw DB element, if possible. + */ cached Raw::Element convertPrimaryArchetypeTypeToRaw(TPrimaryArchetypeType e) { e = TPrimaryArchetypeType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TProtocolCompositionType` to a raw DB element, if possible. + */ cached Raw::Element convertProtocolCompositionTypeToRaw(TProtocolCompositionType e) { e = TProtocolCompositionType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TProtocolType` to a raw DB element, if possible. + */ cached Raw::Element convertProtocolTypeToRaw(TProtocolType e) { e = TProtocolType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TStructType` to a raw DB element, if possible. + */ cached Raw::Element convertStructTypeToRaw(TStructType e) { e = TStructType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTupleType` to a raw DB element, if possible. + */ cached Raw::Element convertTupleTypeToRaw(TTupleType e) { e = TTupleType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTypeAliasType` to a raw DB element, if possible. + */ cached Raw::Element convertTypeAliasTypeToRaw(TTypeAliasType e) { e = TTypeAliasType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTypeRepr` to a raw DB element, if possible. + */ cached Raw::Element convertTypeReprToRaw(TTypeRepr e) { e = TTypeRepr(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnboundGenericType` to a raw DB element, if possible. + */ cached Raw::Element convertUnboundGenericTypeToRaw(TUnboundGenericType e) { e = TUnboundGenericType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnmanagedStorageType` to a raw DB element, if possible. + */ cached Raw::Element convertUnmanagedStorageTypeToRaw(TUnmanagedStorageType e) { e = TUnmanagedStorageType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnownedStorageType` to a raw DB element, if possible. + */ cached Raw::Element convertUnownedStorageTypeToRaw(TUnownedStorageType e) { e = TUnownedStorageType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnresolvedType` to a raw DB element, if possible. + */ cached Raw::Element convertUnresolvedTypeToRaw(TUnresolvedType e) { e = TUnresolvedType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TVariadicSequenceType` to a raw DB element, if possible. + */ cached Raw::Element convertVariadicSequenceTypeToRaw(TVariadicSequenceType e) { e = TVariadicSequenceType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TWeakStorageType` to a raw DB element, if possible. + */ cached Raw::Element convertWeakStorageTypeToRaw(TWeakStorageType e) { e = TWeakStorageType(result) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAstNode` to a raw DB element, if possible. + */ cached Raw::Element convertAstNodeToRaw(TAstNode e) { result = convertAvailabilityInfoToRaw(e) @@ -3061,6 +5991,10 @@ module Synth { result = convertTypeReprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAvailabilitySpec` to a raw DB element, if possible. + */ cached Raw::Element convertAvailabilitySpecToRaw(TAvailabilitySpec e) { result = convertOtherAvailabilitySpecToRaw(e) @@ -3068,6 +6002,10 @@ module Synth { result = convertPlatformVersionAvailabilitySpecToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCallable` to a raw DB element, if possible. + */ cached Raw::Element convertCallableToRaw(TCallable e) { result = convertAbstractClosureExprToRaw(e) @@ -3075,6 +6013,10 @@ module Synth { result = convertAbstractFunctionDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TElement` to a raw DB element, if possible. + */ cached Raw::Element convertElementToRaw(TElement e) { result = convertCallableToRaw(e) @@ -3090,6 +6032,10 @@ module Synth { result = convertTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TErrorElement` to a raw DB element, if possible. + */ cached Raw::Element convertErrorElementToRaw(TErrorElement e) { result = convertErrorExprToRaw(e) @@ -3117,6 +6063,10 @@ module Synth { result = convertUnspecifiedElementToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TFile` to a raw DB element, if possible. + */ cached Raw::Element convertFileToRaw(TFile e) { result = convertDbFileToRaw(e) @@ -3124,6 +6074,10 @@ module Synth { result = convertUnknownFileToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLocatable` to a raw DB element, if possible. + */ cached Raw::Element convertLocatableToRaw(TLocatable e) { result = convertArgumentToRaw(e) @@ -3137,6 +6091,10 @@ module Synth { result = convertErrorElementToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLocation` to a raw DB element, if possible. + */ cached Raw::Element convertLocationToRaw(TLocation e) { result = convertDbLocationToRaw(e) @@ -3144,6 +6102,10 @@ module Synth { result = convertUnknownLocationToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAbstractFunctionDecl` to a raw DB element, if possible. + */ cached Raw::Element convertAbstractFunctionDeclToRaw(TAbstractFunctionDecl e) { result = convertConstructorDeclToRaw(e) @@ -3153,6 +6115,10 @@ module Synth { result = convertFuncDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAbstractStorageDecl` to a raw DB element, if possible. + */ cached Raw::Element convertAbstractStorageDeclToRaw(TAbstractStorageDecl e) { result = convertSubscriptDeclToRaw(e) @@ -3160,6 +6126,10 @@ module Synth { result = convertVarDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAbstractTypeParamDecl` to a raw DB element, if possible. + */ cached Raw::Element convertAbstractTypeParamDeclToRaw(TAbstractTypeParamDecl e) { result = convertAssociatedTypeDeclToRaw(e) @@ -3167,6 +6137,10 @@ module Synth { result = convertGenericTypeParamDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDecl` to a raw DB element, if possible. + */ cached Raw::Element convertDeclToRaw(TDecl e) { result = convertCapturedDeclToRaw(e) @@ -3194,6 +6168,10 @@ module Synth { result = convertValueDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TFuncDecl` to a raw DB element, if possible. + */ cached Raw::Element convertFuncDeclToRaw(TFuncDecl e) { result = convertAccessorDeclToRaw(e) @@ -3201,6 +6179,10 @@ module Synth { result = convertConcreteFuncDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TGenericContext` to a raw DB element, if possible. + */ cached Raw::Element convertGenericContextToRaw(TGenericContext e) { result = convertAbstractFunctionDeclToRaw(e) @@ -3212,6 +6194,10 @@ module Synth { result = convertSubscriptDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TGenericTypeDecl` to a raw DB element, if possible. + */ cached Raw::Element convertGenericTypeDeclToRaw(TGenericTypeDecl e) { result = convertNominalTypeDeclToRaw(e) @@ -3221,6 +6207,10 @@ module Synth { result = convertTypeAliasDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TNominalTypeDecl` to a raw DB element, if possible. + */ cached Raw::Element convertNominalTypeDeclToRaw(TNominalTypeDecl e) { result = convertClassDeclToRaw(e) @@ -3232,6 +6222,10 @@ module Synth { result = convertStructDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TOperatorDecl` to a raw DB element, if possible. + */ cached Raw::Element convertOperatorDeclToRaw(TOperatorDecl e) { result = convertInfixOperatorDeclToRaw(e) @@ -3241,6 +6235,10 @@ module Synth { result = convertPrefixOperatorDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TTypeDecl` to a raw DB element, if possible. + */ cached Raw::Element convertTypeDeclToRaw(TTypeDecl e) { result = convertAbstractTypeParamDeclToRaw(e) @@ -3250,6 +6248,10 @@ module Synth { result = convertModuleDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TValueDecl` to a raw DB element, if possible. + */ cached Raw::Element convertValueDeclToRaw(TValueDecl e) { result = convertAbstractFunctionDeclToRaw(e) @@ -3261,6 +6263,10 @@ module Synth { result = convertTypeDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TVarDecl` to a raw DB element, if possible. + */ cached Raw::Element convertVarDeclToRaw(TVarDecl e) { result = convertConcreteVarDeclToRaw(e) @@ -3268,6 +6274,10 @@ module Synth { result = convertParamDeclToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAbstractClosureExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAbstractClosureExprToRaw(TAbstractClosureExpr e) { result = convertAutoClosureExprToRaw(e) @@ -3275,6 +6285,10 @@ module Synth { result = convertClosureExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAnyTryExpr` to a raw DB element, if possible. + */ cached Raw::Element convertAnyTryExprToRaw(TAnyTryExpr e) { result = convertForceTryExprToRaw(e) @@ -3284,6 +6298,10 @@ module Synth { result = convertTryExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TApplyExpr` to a raw DB element, if possible. + */ cached Raw::Element convertApplyExprToRaw(TApplyExpr e) { result = convertBinaryExprToRaw(e) @@ -3297,6 +6315,10 @@ module Synth { result = convertSelfApplyExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinLiteralExprToRaw(TBuiltinLiteralExpr e) { result = convertBooleanLiteralExprToRaw(e) @@ -3308,6 +6330,10 @@ module Synth { result = convertStringLiteralExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCheckedCastExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCheckedCastExprToRaw(TCheckedCastExpr e) { result = convertConditionalCheckedCastExprToRaw(e) @@ -3317,6 +6343,10 @@ module Synth { result = convertIsExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TCollectionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertCollectionExprToRaw(TCollectionExpr e) { result = convertArrayExprToRaw(e) @@ -3324,6 +6354,10 @@ module Synth { result = convertDictionaryExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TDynamicLookupExpr` to a raw DB element, if possible. + */ cached Raw::Element convertDynamicLookupExprToRaw(TDynamicLookupExpr e) { result = convertDynamicMemberRefExprToRaw(e) @@ -3331,6 +6365,10 @@ module Synth { result = convertDynamicSubscriptExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TExplicitCastExpr` to a raw DB element, if possible. + */ cached Raw::Element convertExplicitCastExprToRaw(TExplicitCastExpr e) { result = convertCheckedCastExprToRaw(e) @@ -3338,6 +6376,10 @@ module Synth { result = convertCoerceExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TExpr` to a raw DB element, if possible. + */ cached Raw::Element convertExprToRaw(TExpr e) { result = convertAbstractClosureExprToRaw(e) @@ -3439,6 +6481,10 @@ module Synth { result = convertVarargExpansionExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TIdentityExpr` to a raw DB element, if possible. + */ cached Raw::Element convertIdentityExprToRaw(TIdentityExpr e) { result = convertAwaitExprToRaw(e) @@ -3450,6 +6496,10 @@ module Synth { result = convertUnresolvedMemberChainResultExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TImplicitConversionExpr` to a raw DB element, if possible. + */ cached Raw::Element convertImplicitConversionExprToRaw(TImplicitConversionExpr e) { result = convertAbiSafeConversionExprToRaw(e) @@ -3517,6 +6567,10 @@ module Synth { result = convertUnresolvedTypeConversionExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertLiteralExprToRaw(TLiteralExpr e) { result = convertBuiltinLiteralExprToRaw(e) @@ -3530,6 +6584,10 @@ module Synth { result = convertRegexLiteralExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLookupExpr` to a raw DB element, if possible. + */ cached Raw::Element convertLookupExprToRaw(TLookupExpr e) { result = convertDynamicLookupExprToRaw(e) @@ -3541,6 +6599,10 @@ module Synth { result = convertSubscriptExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TNumberLiteralExpr` to a raw DB element, if possible. + */ cached Raw::Element convertNumberLiteralExprToRaw(TNumberLiteralExpr e) { result = convertFloatLiteralExprToRaw(e) @@ -3548,6 +6610,10 @@ module Synth { result = convertIntegerLiteralExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSelfApplyExpr` to a raw DB element, if possible. + */ cached Raw::Element convertSelfApplyExprToRaw(TSelfApplyExpr e) { result = convertConstructorRefCallExprToRaw(e) @@ -3555,6 +6621,10 @@ module Synth { result = convertDotSyntaxCallExprToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TPattern` to a raw DB element, if possible. + */ cached Raw::Element convertPatternToRaw(TPattern e) { result = convertAnyPatternToRaw(e) @@ -3580,6 +6650,10 @@ module Synth { result = convertTypedPatternToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLabeledConditionalStmt` to a raw DB element, if possible. + */ cached Raw::Element convertLabeledConditionalStmtToRaw(TLabeledConditionalStmt e) { result = convertGuardStmtToRaw(e) @@ -3589,6 +6663,10 @@ module Synth { result = convertWhileStmtToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TLabeledStmt` to a raw DB element, if possible. + */ cached Raw::Element convertLabeledStmtToRaw(TLabeledStmt e) { result = convertDoCatchStmtToRaw(e) @@ -3604,6 +6682,10 @@ module Synth { result = convertSwitchStmtToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TStmt` to a raw DB element, if possible. + */ cached Raw::Element convertStmtToRaw(TStmt e) { result = convertBraceStmtToRaw(e) @@ -3631,6 +6713,10 @@ module Synth { result = convertYieldStmtToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAnyBuiltinIntegerType` to a raw DB element, if possible. + */ cached Raw::Element convertAnyBuiltinIntegerTypeToRaw(TAnyBuiltinIntegerType e) { result = convertBuiltinIntegerLiteralTypeToRaw(e) @@ -3638,6 +6724,10 @@ module Synth { result = convertBuiltinIntegerTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAnyFunctionType` to a raw DB element, if possible. + */ cached Raw::Element convertAnyFunctionTypeToRaw(TAnyFunctionType e) { result = convertFunctionTypeToRaw(e) @@ -3645,6 +6735,10 @@ module Synth { result = convertGenericFunctionTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAnyGenericType` to a raw DB element, if possible. + */ cached Raw::Element convertAnyGenericTypeToRaw(TAnyGenericType e) { result = convertNominalOrBoundGenericNominalTypeToRaw(e) @@ -3652,6 +6746,10 @@ module Synth { result = convertUnboundGenericTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TAnyMetatypeType` to a raw DB element, if possible. + */ cached Raw::Element convertAnyMetatypeTypeToRaw(TAnyMetatypeType e) { result = convertExistentialMetatypeTypeToRaw(e) @@ -3659,6 +6757,10 @@ module Synth { result = convertMetatypeTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TArchetypeType` to a raw DB element, if possible. + */ cached Raw::Element convertArchetypeTypeToRaw(TArchetypeType e) { result = convertOpaqueTypeArchetypeTypeToRaw(e) @@ -3668,6 +6770,10 @@ module Synth { result = convertPrimaryArchetypeTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBoundGenericType` to a raw DB element, if possible. + */ cached Raw::Element convertBoundGenericTypeToRaw(TBoundGenericType e) { result = convertBoundGenericClassTypeToRaw(e) @@ -3677,6 +6783,10 @@ module Synth { result = convertBoundGenericStructTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TBuiltinType` to a raw DB element, if possible. + */ cached Raw::Element convertBuiltinTypeToRaw(TBuiltinType e) { result = convertAnyBuiltinIntegerTypeToRaw(e) @@ -3702,6 +6812,10 @@ module Synth { result = convertBuiltinVectorTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TNominalOrBoundGenericNominalType` to a raw DB element, if possible. + */ cached Raw::Element convertNominalOrBoundGenericNominalTypeToRaw(TNominalOrBoundGenericNominalType e) { result = convertBoundGenericTypeToRaw(e) @@ -3709,6 +6823,10 @@ module Synth { result = convertNominalTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TNominalType` to a raw DB element, if possible. + */ cached Raw::Element convertNominalTypeToRaw(TNominalType e) { result = convertClassTypeToRaw(e) @@ -3720,6 +6838,10 @@ module Synth { result = convertStructTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TReferenceStorageType` to a raw DB element, if possible. + */ cached Raw::Element convertReferenceStorageTypeToRaw(TReferenceStorageType e) { result = convertUnmanagedStorageTypeToRaw(e) @@ -3729,6 +6851,10 @@ module Synth { result = convertWeakStorageTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSubstitutableType` to a raw DB element, if possible. + */ cached Raw::Element convertSubstitutableTypeToRaw(TSubstitutableType e) { result = convertArchetypeTypeToRaw(e) @@ -3736,6 +6862,10 @@ module Synth { result = convertGenericTypeParamTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSugarType` to a raw DB element, if possible. + */ cached Raw::Element convertSugarTypeToRaw(TSugarType e) { result = convertParenTypeToRaw(e) @@ -3745,6 +6875,10 @@ module Synth { result = convertTypeAliasTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TSyntaxSugarType` to a raw DB element, if possible. + */ cached Raw::Element convertSyntaxSugarTypeToRaw(TSyntaxSugarType e) { result = convertDictionaryTypeToRaw(e) @@ -3752,6 +6886,10 @@ module Synth { result = convertUnarySyntaxSugarTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TType` to a raw DB element, if possible. + */ cached Raw::Element convertTypeToRaw(TType e) { result = convertAnyFunctionTypeToRaw(e) @@ -3791,6 +6929,10 @@ module Synth { result = convertUnresolvedTypeToRaw(e) } + /** + * INTERNAL: Do not use. + * Converts a synthesized `TUnarySyntaxSugarType` to a raw DB element, if possible. + */ cached Raw::Element convertUnarySyntaxSugarTypeToRaw(TUnarySyntaxSugarType e) { result = convertArraySliceTypeToRaw(e)