StreamLanguage

A Language class based on a CodeMirror 5-style StreamParser.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val allowsNesting: Boolean

Whether this language allows nesting other languages inside it.

Link copied to clipboard

The extension value to install this as the document language.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun getTree(state: EditorState): Tree

Parse the document in state, threading the state's tabSize and indentUnit into the stream parser so tokens are measured correctly.