RawTextVisitor
interfacePush-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.
Import
import { RawTextVisitor } from '@modular/sdk/editor';Members3
- linebreak
() => void- tab
() => void- text
(text: string) => void