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

Function asChar

packages/core/src/widgets/codeEditorSyntax.ts:788–790  ·  view source on GitHub ↗
(source: string, index: number)

Source from the content-addressed store, hash-verified

786}
787
788function asChar(source: string, index: number): string {
789 return source[index] ?? "";
790}
791
792function pushToken(
793 tokens: CodeEditorSyntaxToken[],

Callers 8

consumeWhitespaceFunction · 0.85
consumeWordFunction · 0.85
consumeNumberFunction · 0.85
consumeStringFunction · 0.85
consumeOperatorFunction · 0.85
classifyWordFunction · 0.85
tokenizeLineWithGrammarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected