SequenceExpr
struct SequenceExpr
struct SequenceExpr
init(leadingTrivia: Trivia, garbageBeforeElements: ExpressibleAsGarbageNodes?, elements: ExpressibleAsExprList)
Creates a SequenceExpr
using the provided parameters.
init(leadingTrivia: Trivia, garbageBeforeElements: ExpressibleAsGarbageNodes?, elementsBuilder: () -> ExpressibleAsExprList)
A convenience initializer that allows:
func buildExpr(format: Format, leadingTrivia: Trivia?) -> ExprSyntax
Conformance to ExprBuildable
.
func buildExprList(format: Format, leadingTrivia: Trivia?) -> [ExprSyntax]
Builds list of ExprSyntax
s.
func buildSyntax(format: Format, leadingTrivia: Trivia?) -> Syntax
Builds a ExprSyntax
.
func buildSyntaxList(format: Format, leadingTrivia: Trivia?) -> [Syntax]
Builds list of Syntax
s.
func createAttributeList() -> AttributeList
Conformance to ExpressibleAsAttributeList
func createCodeBlock() -> CodeBlock
Conformance to ExpressibleAsCodeBlock
func createCodeBlockItem() -> CodeBlockItem
Conformance to ExpressibleAsCodeBlockItem
func createCodeBlockItemList() -> CodeBlockItemList
Conformance to ExpressibleAsCodeBlockItemList
func createConditionElement() -> ConditionElement
Conformance to ExpressibleAsConditionElement
func createConditionElementList() -> ConditionElementList
Conformance to ExpressibleAsConditionElementList
func createExprBuildable() -> ExprBuildable
SequenceExpr
might conform to ExpressibleAsExprBuildable
via different ExpressibleAs*
paths. Thus, there are multiple default implementations for createExprBuildable
, some of which perform conversions through ExpressibleAs*
protocols. To resolve the ambiguity, provide a fixed implementation that doesn’t perform any conversions.
func createExprList() -> ExprList
Conformance to ExpressibleAsExprList
func createGarbageNodes() -> GarbageNodes
Conformance to ExpressibleAsGarbageNodes
func createInitializerClause() -> InitializerClause
Conformance to ExpressibleAsInitializerClause
func createPrecedenceGroupAttributeList() -> PrecedenceGroupAttributeList
Conformance to ExpressibleAsPrecedenceGroupAttributeList
func createSequenceExpr() -> SequenceExpr
Conformance to ExpressibleAsSequenceExpr
.
func createSpecializeAttributeSpecList() -> SpecializeAttributeSpecList
Conformance to ExpressibleAsSpecializeAttributeSpecList
func createStringLiteralSegments() -> StringLiteralSegments
Conformance to ExpressibleAsStringLiteralSegments
func createSwitchCaseList() -> SwitchCaseList
Conformance to ExpressibleAsSwitchCaseList
func createSyntaxBuildable() -> SyntaxBuildable
SequenceExpr
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.
func createTupleExprElement() -> TupleExprElement
Conformance to ExpressibleAsTupleExprElement
func createTupleExprElementList() -> TupleExprElementList
Conformance to ExpressibleAsTupleExprElementList