DeclNameArgumentList
DeclNameArgumentList
represents a collection of DeclNameArgument
struct DeclNameArgumentList
DeclNameArgumentList
represents a collection of DeclNameArgument
struct DeclNameArgumentList
init([ExpressibleAsDeclNameArgument])
Creates a DeclNameArgumentList
with the provided list of elements.
init(arrayLiteral: ExpressibleAsDeclNameArgument...)
Creates an instance initialized with the given elements.
init(combining: [ExpressibleAsDeclNameArgumentList])
Creates a new DeclNameArgumentList
by flattening the elements in lists
init(itemsBuilder: () -> DeclNameArgumentList)
func buildDeclNameArgumentList(format: Format, leadingTrivia: Trivia?) -> DeclNameArgumentListSyntax
func buildSyntax(format: Format, leadingTrivia: Trivia?) -> Syntax
Builds list of Syntax
s.
func buildSyntaxList(format: Format, leadingTrivia: Trivia?) -> [Syntax]
Builds list of Syntax
s.
func createAttributeList() -> AttributeList
Conformance to ExpressibleAsAttributeList
func createDeclNameArgumentList() -> DeclNameArgumentList
Conformance to ExpressibleAsDeclNameArgumentList
func createGarbageNodes() -> GarbageNodes
Conformance to ExpressibleAsGarbageNodes
func createPrecedenceGroupAttributeList() -> PrecedenceGroupAttributeList
Conformance to ExpressibleAsPrecedenceGroupAttributeList
func createSpecializeAttributeSpecList() -> SpecializeAttributeSpecList
Conformance to ExpressibleAsSpecializeAttributeSpecList
func createStringLiteralSegments() -> StringLiteralSegments
Conformance to ExpressibleAsStringLiteralSegments
func createSwitchCaseList() -> SwitchCaseList
Conformance to ExpressibleAsSwitchCaseList
func createSyntaxBuildable() -> SyntaxBuildable
DeclNameArgumentList
might conform to SyntaxBuildable
via different ExpressibleAs*
paths. Thus, there are multiple default implementations for createSyntaxBuildable
, some of which perform conversions through ExpressibleAs*
protocols. To resolve the ambiguity, provide a fixed implementation that doesn’t perform any conversions.