YsonTextNode

data class YsonTextNode(val value: String, val attrs: Map<String, YsonValue>? = null)

YsonTextNode represents a single character in a Text CRDT, optionally carrying inline attributes.

Parameters

value

Character value held by this node.

attrs

Optional attribute map (for example formatting flags).

Constructors

Link copied to clipboard
constructor(value: String, attrs: Map<String, YsonValue>? = null)

Properties

Link copied to clipboard
val attrs: Map<String, YsonValue>? = null
Link copied to clipboard