+(_:_:)
public func +<Token, Result>(left: Parser<Token, [Result]>, right: Parser<Token, [Result]>) -> Parser<Token, [Result]>
Constructs a Parser
that will parse each element of parsers
, sequentially. Parsing only succeeds if every
parser succeeds, and the resulting parser returns an array of the results.
Parameter
Parameter parsers: The variadic list of parsers to sequentially run.-
Undocumented
Declaration
Swift
public func +<Token, Result>(left: Parser<Token, [Result]>, right: Parser<Token, [Result]>) -> Parser<Token, [Result]>