Skip to content

(p1:p2:)

kareman edited this page Aug 13, 2020 · 3 revisions

/(p1:p2:)

First tries the pattern to the left, if that fails it tries the pattern to the right from the same position.

@inlinable public func /<First: Pattern, Second: Pattern>(p1: First, p2: Second) -> OrPattern<First, Second>

/(p1:p2:)

First tries the pattern to the left, if that fails it tries the pattern to the right from the same position.

@inlinable public func /<Second: Pattern>(p1: Literal<Second.Input>, p2: Second) -> OrPattern<Literal<Second.Input>, Second>

/(p1:p2:)

First tries the pattern to the left, if that fails it tries the pattern to the right from the same position.

@inlinable public func /<First: Pattern>(p1: First, p2: Literal<First.Input>) -> OrPattern<First, Literal<First.Input>>

/(p1:p2:)

First tries the pattern to the left, if that fails it tries the pattern to the right from the same position.

@inlinable public func /<Input>(p1: Literal<Input>, p2: Literal<Input>) -> OrPattern<Literal<Input>, Literal<Input>>

/(p1:p2:)

First tries the pattern to the left, if that fails it tries the pattern to the right from the same position.

@inlinable public func /(p1: Literal<String>, p2: Literal<String>) -> OrPattern<Literal<String>, Literal<String>>
Clone this wiki locally