StringStream
Unofficial
Encapsulates a single line of input. Given to stream syntax code, which uses it to tokenize the content.
Import:
import type { StringStream } from '@codemirror/language';Signature:
export interface StringStreamMethods
| Method | Returns | Description | |
|---|---|---|---|
| lookAhead(n) | string | Look ahead n lines from the current position and return the content. |