andR

infix fun <S, A, B : Any> Parser<S, A>.andR(q: Parser<S, B>): Parser<S, B>

Creates a parser that matches the first parser and then the second parser, returning the result of the second parser.

A.K.A. *>

Return

A parser that matches the first parser and then the second parser, returning the result of the second parser.

Parameters

q

The second parser.