Spanning
parsley.errors.TokenSpan$.Spanning
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.
Attributes
- col
the number of columns consumed on the most recent line
- line
the number of lines the token passes over
- 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
- Graph
- Supertypes