Class: Replaceable
Defined in: | lib/Types/StructuredTypes.coffee |
Inherits: | types.Insert |
Overview
The ReplaceManager manages Replaceables.
Instance Method Summary
- # (void) val() Return the content that this operation holds.
- # (void) replace(content) Replace the content of this replaceable with new content.
- # (void) execute() If possible set the replace manager in the content.
- # (void) _encode() Encode this operation in such a way that it can be parsed by remote peers.
Constructor Details
#
(void)
constructor(content, parent, uid, prev, next, origin)
Instance Method Details
#
(void)
val()
Return the content that this operation holds.
#
(void)
replace(content)
Replace the content of this replaceable with new content.
#
(void)
execute()
If possible set the replace manager in the content.
#
(void)
_encode()
Encode this operation in such a way that it can be parsed by remote peers.