ContextualKeyword
struct ContextualKeyword<T> : Combinator where T : RawRepresentable, T.RawValue == String
A combinator that parses contextual keywords.
-
Declaration
Swift
typealias Context = ParserState -
Declaration
Swift
typealias Element = SourceRepresentable<T> -
Declaration
Swift
func parse(_ state: inout ParserState) throws -> Element?
View on GitHub