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
/
RState
RState
data
class
RState
(
var
tokenize
:
(
StringStream
,
RState
)
->
String
?
=
::rTokenBase
,
var
ctx
:
RContext
=
RContext("top", 0, R_ALIGN_NO, 0, null)
,
var
indent
:
Int
=
0
,
var
afterIdent
:
Boolean
=
false
,
var
curPunc
:
String
?
=
null
)
Members
Constructors
RState
Link copied to clipboard
constructor
(
tokenize
:
(
StringStream
,
RState
)
->
String
?
=
::rTokenBase
,
ctx
:
RContext
=
RContext("top", 0, R_ALIGN_NO, 0, null)
,
indent
:
Int
=
0
,
afterIdent
:
Boolean
=
false
,
curPunc
:
String
?
=
null
)
Properties
after
Ident
Link copied to clipboard
var
afterIdent
:
Boolean
ctx
Link copied to clipboard
var
ctx
:
RContext
cur
Punc
Link copied to clipboard
var
curPunc
:
String
?
indent
Link copied to clipboard
var
indent
:
Int
tokenize
Link copied to clipboard
var
tokenize
:
(
StringStream
,
RState
)
->
String
?