Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
legacy-modes
/
com.monkopedia.kodemirror.legacy.modes
/
JavaScriptState
Java
Script
State
class
JavaScriptState
(
var
tokenize
:
Int
=
0
,
var
stringQuote
:
String
=
""
,
var
lastType
:
String
=
"sof"
,
var
indented
:
Int
=
0
,
var
lexical
:
JSLexical
=
JSLexical(-2, 0, "block")
,
var
fatArrowAt
:
Int
?
=
null
)
Members
Constructors
Java
Script
State
Link copied to clipboard
constructor
(
tokenize
:
Int
=
0
,
stringQuote
:
String
=
""
,
lastType
:
String
=
"sof"
,
indented
:
Int
=
0
,
lexical
:
JSLexical
=
JSLexical(-2, 0, "block")
,
fatArrowAt
:
Int
?
=
null
)
Properties
fat
Arrow
At
Link copied to clipboard
var
fatArrowAt
:
Int
?
indented
Link copied to clipboard
var
indented
:
Int
last
Type
Link copied to clipboard
var
lastType
:
String
lexical
Link copied to clipboard
var
lexical
:
JSLexical
string
Quote
Link copied to clipboard
var
stringQuote
:
String
tokenize
Link copied to clipboard
var
tokenize
:
Int