MCPcopy
hub / github.com/witheve/Eve / getTokenAt

Method getTokenAt

typings/codemirror/codemirror.d.ts:286–286  ·  view source on GitHub ↗

Retrieves information about the token the current mode found before the given position (a {line, ch} object).

(pos: CodeMirror.Position)

Source from the content-addressed store, hash-verified

284
285 /** Retrieves information about the token the current mode found before the given position (a {line, ch} object). */
286 getTokenAt(pos: CodeMirror.Position): {
287 /** The character(on the given line) at which the token starts. */
288 start: number;
289 /** The character at which the token ends. */

Callers 2

codemirror.jsFile · 0.80
byExprFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected