-
Notifications
You must be signed in to change notification settings - Fork 1
Literal
kareman edited this page Jul 1, 2020
·
5 revisions
Matches a sequence of elements.
public struct Literal: Pattern
If empty, it will always succeed without consuming any input.
ExpressibleByStringLiteral
, Pattern
, RegexConvertible
Matches sequence
.
@inlinable public init<S: Sequence>(_ sequence: S) where S.Element == Pattern.Input.Element
Matches this character.
@inlinable public init(_ character: Character)
@inlinable public init(stringLiteral value: StaticString)
let elements: Input
var description: String
var regex: String
@inlinable public func createInstructions(_ instructions: inout Instructions)
Matches the following pattern without consuming any input.
@inlinable public static prefix func &&(me: Literal) -> AndPattern<Literal>
Generated at 2020-08-23T12:56:49+0000 using swift-doc 1.0.0-beta.3.