def into.at

bolt@1.27.0.0 · src/lsp/enc.bend:196

import bolt@1.27.0.0/src/lsp/enc.bend as Enc
import Base

196# a column of a document's line read in an encoding; utf-32 never looks the
197# line up
198def into.at(ee: Enc, lines: List<&2, String>, line: U32, col: U32) -> U32:
199  match ee:
200    case Utf16{}:
201      into.col(Utf16{}, chars(lines, line), col)
202    case Utf32{}:
203      col

Uses (6)

Used by (1)