StringOp

zio.blocks.schema.patch.DynamicPatch.StringOp
See theStringOp companion trait
object StringOp

Attributes

Companion
trait
Source
DynamicPatch.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
StringOp.type

Members list

Type members

Classlikes

final case class Append(text: String) extends StringOp

Append text to the end of the string.

Append text to the end of the string.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StringOp
class Object
trait Matchable
class Any
Show all
final case class Delete(index: Int, length: Int) extends StringOp

Delete characters starting at the given index.

Delete characters starting at the given index.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StringOp
class Object
trait Matchable
class Any
Show all
final case class Insert(index: Int, text: String) extends StringOp

Insert text at the given index.

Insert text at the given index.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StringOp
class Object
trait Matchable
class Any
Show all
final case class Modify(index: Int, length: Int, text: String) extends StringOp

Modify (replace) characters starting at the given index with new text.

Modify (replace) characters starting at the given index with new text.

Attributes

Source
DynamicPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait StringOp
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala