SourcePosition

fun SourcePosition(sourceFile: SourceFile, offset: Int)

Parameters

offset

Number of Chars (unicode code units, not code points) before this position, counting from the beginning of the file. Starts at 0.