storyboard-root
Toggle table of contents
0.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
storyboard-root
storyboard-warp
/
dev.bnorm.storyboard
/
State
State
sealed
class
State
(
source
)
Inheritors
Empty
Match
Insert
Delete
Members
Members & Extensions
Types
Delete
Link copied to clipboard
@
Immutable
data
class
Delete
(
val
token
:
Token
,
val
index
:
Int
)
:
State
Represents a deletion.
Empty
Link copied to clipboard
object
Empty
:
State
Represents the initial state.
Insert
Link copied to clipboard
@
Immutable
data
class
Insert
(
val
token
:
Token
,
val
index
:
Int
)
:
State
Represents an insert.
Match
Link copied to clipboard
@
Immutable
data
class
Match
(
val
previous
:
Token
,
val
previousIdx
:
Int
,
val
current
:
Token
,
val
currentIdx
:
Int
)
:
State
This represents a Match.
Functions
color
Link copied to clipboard
fun
State
.
color
(
)
:
Color
content
Link copied to clipboard
fun
State
.
content
(
)
:
String