This object contains the sub-types of TokenSpan
.
Attributes
- Since
-
4.0.0
- Companion
- class
- Source
- TokenSpan.scala
- Graph
-
- Supertypes
- Self type
-
TokenSpan.type
Members list
Type members
Classlikes
This span is designed to be used by token extractors that try and parse the remaining input: it indicates the number of lines and columns that were parsed in the process of extracting the token.
This span is designed to be used by token extractors that try and parse the remaining input: it indicates the number of lines and columns that were parsed in the process of extracting the token.
Value parameters
- col
-
the number of columns consumed on the most recent line
- line
-
the number of lines the token passes over
Attributes
- Since
-
4.0.0
- Note
-
Parsley starts at position (1, 1): if the final position after token extraction on residual input was (2, 1) then that token would span 1 line and 0 columns.
- Source
- TokenSpan.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TokenSpanclass Objecttrait Matchableclass AnyShow all
This class describes a simple span of w
characters.
This class describes a simple span of w
characters.
Value parameters
- w
-
the width of the token in UTF-16 characters.
Attributes
- Since
-
4.0.0
- Source
- TokenSpan.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass TokenSpanclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The name of the type