Succeeds, consuming a single element
Consumes up to count
elements, if they are available
Parses a single element
Succeeds if at the end of the input, consuming no input
A parser that always fails immediately
Parses a literal String
ignoring case
Always succeeds, and provides the current index of the parse into the input.
Always succeeds, and provides the current index of the parse into the input. e.g. useful for providing source locations for AST nodes. Consumes no input.
Parses a literal IndexedSeq[Elem]
A parser that always succeeds, consuming no input
A parser that always succeeds with given result value t
, consuming no input
Succeeds if at the start of the input, consuming no input
Workaround https://github.com/scala-js/scala-js/issues/1603 by implementing startsWith myself
Leaf parsers which do not contain any other parsers, and do simple things