trailing

fun trailing(line: Line, from: Int, end: Int): TrailingCustomId

Looks for a suffix at the end of one line's slice, without allocating the slice.

Return

the parsed suffix, or one with value set to null and contentEnd set to end

Parameters

line

line whose slice to inspect

from

index of the slice's first character, which the suffix may not start before

end

index just past the slice's last character