Required Initializerswift 6.1.2Swift
init(stringLiteral:)
Creates an instance initialized to the given string value.
init(stringLiteral value: Self.StringLiteralType) Parameters
- value
The value of the new instance.
Creates an instance initialized to the given string value.
init(stringLiteral value: Self.StringLiteralType) ss26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc What are these?2V1NPThe value of the new instance.
import Swiftprotocol ExpressibleByStringLiteral : ExpressibleByExtendedGraphemeClusterLiteralA type that can be initialized with a string literal.
associatedtype StringLiteralType : _ExpressibleByBuiltinStringLiteralA type that represents a string literal.
import SwiftSyntaxBuilderSwiftSyntaxBuilder is a tool for generating Swift code in a convenient way using result builders.
init(stringLiteral value: String)