Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

DOMBuilder

mattt edited this page May 5, 2021 · 1 revision

DOMBuilder

@_functionBuilder
public struct DOMBuilder 

Methods

buildExpression(_:)

public static func buildExpression(_ node: Node) -> Node 

buildExpression(_:)

public static func buildExpression(_ string: String) -> Node 

buildBlock(_:)

public static func buildBlock(_ children: Node...) -> Node 

buildBlock(_:)

public static func buildBlock(_ strings: String...) -> Node 

buildIf(_:)

public static func buildIf(_ child: Node?) -> Node 

buildIf(_:)

public static func buildIf(_ string: String?) -> Node 

buildEither(first:)

public static func buildEither(first: Node) -> Node 

buildEither(second:)

public static func buildEither(second: Node) -> Node 

buildEither(first:)

public static func buildEither(first: String) -> Node 

buildEither(second:)

public static func buildEither(second: String) -> Node 
Types
Protocols
Global Functions
Extensions
Clone this wiki locally