MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / plainLine

Function plainLine

packages/core/src/widgets/codeEditorSyntax.ts:1017–1020  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

1015}
1016
1017function plainLine(line: string): readonly CodeEditorSyntaxToken[] {
1018 if (line.length === 0) return Object.freeze([]);
1019 return Object.freeze([Object.freeze({ text: line, kind: "plain" as const })]);
1020}
1021
1022export function tokenizeCodeEditorLine(
1023 line: string,

Callers 3

tokenizeCodeEditorLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected