func (c *Context) RegisterRemovedNodeTextElement(textType json.TextElement) {
	c.root.RegisterRemovedNodeTextElement(textType)
}
RegisterRemovedNodeTextElement registers a given text type element to hash table.
package change
import (
	"github.com/yorkie-team/yorkie/pkg/document/json"
	"github.com/yorkie-team/yorkie/pkg/document/operation"
	"github.com/yorkie-team/yorkie/pkg/document/time"
)
type Context struct {
	id         *ID
	message    string
	operations []operation.Operation
	delimiter  uint32
	root       *json.Root
}
func NewContext(id *ID, message string, root *json.Root) *Context {
	return &Context{
		id:      id,
		message: message,
		root:    root,
	}
}
func (c *Context) ID() *ID {
	return c.id
}
func (c *Context) ToChange() *Change {
	return New(c.id, c.message, c.operations)
}
func (c *Context) HasOperations() bool {
	return len(c.operations) > 0
}
func (c *Context) IssueTimeTicket() *time.Ticket {
	c.delimiter++
	return c.id.NewTimeTicket(c.delimiter)
}
func (c *Context) Push(op operation.Operation) {
	c.operations = append(c.operations, op)
}
func (c *Context) RegisterElement(elem json.Element) {
	c.root.RegisterElement(elem)
}
func (c *Context) RegisterRemovedElementPair(parent json.Container, deleted json.Element) {
	c.root.RegisterRemovedElementPair(parent, deleted)
}