PositionMapImplementation
open class PositionMapImplementation(val source: CharacterSource, val lineSeparators: IntArray) : PositionMap(source)
Simple implementation of PositionMap
Since
0.2.1
Parameters
source
the CharacterSource of the PositionMap
lineSeparators
the line separators of the PositionMap
Properties
Link copied to clipboard
Link copied to clipboard
The location of the PositionMap
Link copied to clipboard
Functions
Link copied to clipboard
Get amount of characters after the Position in the line Similar to getAfterInLine but with the index of the Position instead of the Position itself
Get amount of characters after the Position in the line
Link copied to clipboard
Return the String representation of the PositionMap