final case classParseState(loc: Location, isSliced: Boolean) extends Product with Serializable
isSliced indicates if the current parser is surround by a
slice combinator. This lets us avoid building up values that
will end up getting thrown away.
There are several convenience functions on ParseState to make
implementing some of the combinators easier.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
isSliced
indicates if the current parser is surround by aslice
combinator. This lets us avoid building up values that will end up getting thrown away.There are several convenience functions on
ParseState
to make implementing some of the combinators easier.