Skip to main content

RawTextVisitor

interface

Push-lexer visitor passed to tokenizeRawText. The tokenizer invokes one callback per token it emits; empty text runs are suppressed, so `text` is only invoked with a non-empty string.

interface RawTextVisitor

Import

import { RawTextVisitor } from '@modular/sdk/editor';

Members3

linebreak
() => void
tab
() => void
text
(text: string) => void