Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
lang-markdown
/
com.monkopedia.kodemirror.lezer.markdown
/
Buffer
Buffer
class
Buffer
(
val
nodeSet
:
NodeSet
)
Members
Constructors
Buffer
Link copied to clipboard
constructor
(
nodeSet
:
NodeSet
)
Properties
content
Link copied to clipboard
val
content
:
MutableList
<
Int
>
nodes
Link copied to clipboard
val
nodes
:
MutableList
<
Tree
>
node
Set
Link copied to clipboard
val
nodeSet
:
NodeSet
Functions
finish
Link copied to clipboard
fun
finish
(
type
:
Int
,
length
:
Int
)
:
Tree
write
Link copied to clipboard
fun
write
(
type
:
Int
,
from
:
Int
,
to
:
Int
,
children
:
Int
=
0
)
:
Buffer
write
Elements
Link copied to clipboard
fun
writeElements
(
elts
:
List
<
Element
>
,
offset
:
Int
=
0
)
:
Buffer