Skip to content

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 StringStream

Methods

MethodReturnsDescription
lookAhead(n)stringLook ahead n lines from the current position and return the content.