parsley.errors.tokenextractors.package.scala Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2020 Parsley Contributors
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package parsley.errors
/** This package contains implementations of token extractors that can be mixed into `ErrorBuilder`
* to decide how to extract unexpected tokens from the residual input left over from a parse error.
*
* These are common strategies, and something here is likely to be what is needed. They are all careful
* to handle unprintable characters and whitespace in a sensible way, and account for unicode codepoints
* that are wider than a single 16-bit character.
*
* @since 4.0.0
* @group token
*/
package object tokenextractors
© 2015 - 2024 Weber Informatics LLC | Privacy Policy