init(_:)

    Initialize an instance of this type containing the specified source code.

    Expression.swift:519

    This declaration is gated by at least one @_spi attribute.

    init(_ sourceCode: String)

    Parameters

    sourceCode

    The source code of the expression being described.

    To get the string value of an expression, pass it to String.init(describing:).

    This initializer does not attempt to parse sourceCode.

    Other members in extension

    Types

    Show system interfaces (1)

    Hide system interfaces

    • struct Value

      A type which represents an evaluated value, which may include textual descriptions, type information, substructure, and other information.

    Type members

    Show implementation details (7)

    Hide implementation details

    Instance members

    Show implementation details (2)

    Hide implementation details

    Show system interfaces (5)

    Hide system interfaces