Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
lezer-common
/
com.monkopedia.kodemirror.lezer.common
/
NodePropSource
Node
Prop
Source
class
NodePropSource
<
T
>
(
val
prop
:
NodeProp
<
T
>
,
val
f
:
(
NodeType
)
->
T
?
)
A source that can provide values for a
NodeProp
on
NodeType
s.
Members
Constructors
Node
Prop
Source
Link copied to clipboard
constructor
(
prop
:
NodeProp
<
T
>
,
f
:
(
NodeType
)
->
T
?
)
Properties
f
Link copied to clipboard
val
f
:
(
NodeType
)
->
T
?
prop
Link copied to clipboard
val
prop
:
NodeProp
<
T
>