Skip to content

NavigationTreeBuilder

ohitsdaniel edited this page Apr 29, 2021 · 3 revisions

NavigationTreeBuilder

!((swift(>=5.4)))
@_functionBuilder
public enum NavigationTreeBuilder 

Methods

buildBlock(_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder
  ) -> _PathBuilder<EitherAB<ABuilder.Content, BBuilder.Content>> 

buildBlock(_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder
  ) -> _PathBuilder<EitherAB<ABuilder.Content, BBuilder.Content>> 

buildBlock(_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder
  ) -> _PathBuilder<EitherABC<ABuilder.Content, BBuilder.Content, CBuilder.Content>> 

buildBlock(_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder
  ) -> _PathBuilder<EitherABC<ABuilder.Content, BBuilder.Content, CBuilder.Content>> 

buildBlock(_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder
  ) -> _PathBuilder<EitherABCD<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content>> 

buildBlock(_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder
  ) -> _PathBuilder<EitherABCD<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content>> 

buildBlock(_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder
  ) -> _PathBuilder<EitherABCDE<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content>> 

buildBlock(_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder
  ) -> _PathBuilder<EitherABCDE<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content>> 

buildBlock(_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder
  ) -> _PathBuilder<EitherABCDEF<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content>> 

buildBlock(_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder
  ) -> _PathBuilder<EitherABCDEF<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder
  ) -> _PathBuilder<EitherABCDEFG<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder
  ) -> _PathBuilder<EitherABCDEFG<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder, HBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder, _ h: HBuilder
  ) -> _PathBuilder<EitherABCDEFGH<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content, HBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder, HBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder, _ h: HBuilder
  ) -> _PathBuilder<EitherABCDEFGH<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content, HBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder, HBuilder: PathBuilder, IBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder, _ h: HBuilder, _ i: IBuilder
  ) -> _PathBuilder<EitherABCDEFGHI<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content, HBuilder.Content, IBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder, HBuilder: PathBuilder, IBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder, _ h: HBuilder, _ i: IBuilder
  ) -> _PathBuilder<EitherABCDEFGHI<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content, HBuilder.Content, IBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder, HBuilder: PathBuilder, IBuilder: PathBuilder, JBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder, _ h: HBuilder, _ i: IBuilder, _ j: JBuilder
  ) -> _PathBuilder<EitherABCDEFGHIJ<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content, HBuilder.Content, IBuilder.Content, JBuilder.Content>> 

buildBlock(_:_:_:_:_:_:_:_:_:_:)

public static func buildBlock<ABuilder: PathBuilder, BBuilder: PathBuilder, CBuilder: PathBuilder, DBuilder: PathBuilder, EBuilder: PathBuilder, FBuilder: PathBuilder, GBuilder: PathBuilder, HBuilder: PathBuilder, IBuilder: PathBuilder, JBuilder: PathBuilder>(
    _ a: ABuilder, _ b: BBuilder, _ c: CBuilder, _ d: DBuilder, _ e: EBuilder, _ f: FBuilder, _ g: GBuilder, _ h: HBuilder, _ i: IBuilder, _ j: JBuilder
  ) -> _PathBuilder<EitherABCDEFGHIJ<ABuilder.Content, BBuilder.Content, CBuilder.Content, DBuilder.Content, EBuilder.Content, FBuilder.Content, GBuilder.Content, HBuilder.Content, IBuilder.Content, JBuilder.Content>> 

buildEither(first:)

public static func buildEither<P: PathBuilder>(first component: P) -> P 

buildEither(first:)

public static func buildEither<P: PathBuilder>(first component: P) -> P 

buildEither(second:)

public static func buildEither<P: PathBuilder>(second component: P) -> P 

buildEither(second:)

public static func buildEither<P: PathBuilder>(second component: P) -> P 

buildOptional(_:)

public static func buildOptional<P: PathBuilder>(_ component: P?) -> some PathBuilder 

buildOptional(_:)

public static func buildOptional<P: PathBuilder>(_ component: P?) -> some PathBuilder 

buildBlock(_:)

swift(>=5.4)
public static func buildBlock<P: PathBuilder>(_ builder: P) -> P 

buildBlock(_:)

!((swift(>=5.4)))
public static func buildBlock<P: PathBuilder>(_ builder: P) -> P 
Clone this wiki locally