TokenSpan

parsley.errors.TokenSpan
See theTokenSpan companion object
sealed abstract class TokenSpan

This class and its subtypes are used to describe how big a token should be (and therefore the size of the corresponding error caret). This is provided to Token.Named and is therefore used in the creation of Tokens for lexical extractors.

Attributes

Since:

4.0.0

Companion:
object
Source:
TokenSpan.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Spanning
class Width

Members list

Concise view