Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
autocomplete
/
com.monkopedia.kodemirror.autocomplete
/
CompletionContext
/
tokenBefore
token
Before
fun
tokenBefore
(
types
:
List
<
String
>
)
:
SyntaxNode
?
Walk the syntax tree backward from
pos
looking for a node whose name is in
types
.