Semantic.sent.one: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/semantic.bend as Semantic Lines 378-382 of bolt@1.27.0.0/src/lsp/semantic.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&start_line=378&end_line=382 import Base import bolt@1.27.0.0/src/lsp/enc.bend as Enc # a token's column and length in an encoding, on its line's chars def sent.one(+ee: Enc.Enc, +cs: List<&2, Char>, sem: Sem) -> Sem: Sem{line, +col, +len, typ} = sem +start = Enc.out.col(ee, cs, col) Sem{line, start, (Enc.out.col(ee, cs, (col + len : U32)) - start : U32), typ} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=Enc https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&name=out.col https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/semantic.bend&name=Sem