Initializer (Default implementation)swift-syntax 600.0.1SwiftSyntax

init(_:)

Initializes a new instance of the conforming type from a given specialized syntax node.

SyntaxProtocol.swift:49
init?<S>(_ node: S?) where S : SyntaxProtocol

Returns nil if the conversion isn’t possible, or if the provided node is nil.