Class DetachedContextOperation

Construct a new detached context delta operation instance. This is a pure data object without any methods.

Constructor

class DetachedContextOperation(type, path, remove, insert, head, tail)
Arguments:
  • type
  • path
  • remove
  • insert
  • head
  • tail

Methods

toString

DetachedContextOperation#toString()

Return a string representation of the operation

Attributes

insert

insert

Null (remove), one tree.Node (update) or sequence of nodes (insert)

path

path

An array of integers representing the top-down path from the root node to the anchor of this operation. The anchor point always is the first position after the leading context values. For insert operations it will must point to the first element of the tail context.

remove

remove

Null (insert), one tree.Node (update) or sequence of nodes (delete)

type

type

The operation type, one of deltamod.UPDATE_NODE_TYPE, deltamod.UPDATE_FOREST_TYPE

Table Of Contents

Previous topic

Detached Context Delta Operations

Next topic

Class Detacher