Skip to content

¿(me:)

kareman edited this page Aug 23, 2020 · 5 revisions

¿(me:)

Tries the preceding pattern, and continues even if it fails.

@inlinable public postfix func ¿<P: Pattern>(me: P) -> RepeatPattern<P>

Note: in standard PEG this operator is `?`, but that is not allowed in Swift.

¿(me:)

Tries the preceding pattern, and continues even if it fails.

@inlinable public postfix func ¿<Input>(me: Literal<Input>) -> RepeatPattern<Literal<Input>>

Note: in standard PEG this operator is `?`, but that is not allowed in Swift.

Clone this wiki locally