This is basically a trait which contains the "public" API to fastparse packages.
Custom version of ParserApi
, that behaves the same as the
default but injects whitespace in between every pair of tokens.
Custom version of ParserApi
, that behaves the same as the
default but injects whitespace in between every pair of tokens. Also
provides replacement methods repX
and ~~
if you wish to call the
original un-modified versions of these operators.
Fast, pre-computed character predicates for charactes from 0 to 65535
Fast, pre-computed character predicates for charactes from 0 to 65535
Useful because FastParse does it's parsing character by character, so
although this doesn't have the full range of the java
Character.getType(c: Int)
functions, it still is good enough for
a wide range of use cases
This is basically a trait which contains the "public" API to fastparse packages.
It aliases all the different parsers available in
fastparse.parsers.*
, as well as many of the other useful types such asMutable
andParsed
andParserInput
, and fixes their type-parameters to[Elem, Repr]
, so that anyone who uses the aliases defined here will not need to worry about filling in these type parameters every time they want to use it.If someone wants to write a parser that works on both bytes and strings, they still have the option of using the "raw" types and doing that, but most people shouldn't need to bother.
Also provides the implicits necessary for people who want to construct their own parsers, in the cases where we couldn't provide the implicit directly, e.g. for people defining their own subclass of
Parser