PropagatingAstObserver

This AstObserver attach itself to all new nodes added to the nodes already observed.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun concreteListChange(observedNode: NodeList<out Any>, type: AstObserver.ListChangeType, index: Int, nodeAddedOrRemoved: Node)
Link copied to clipboard
open fun concreteListReplacement(observedNode: NodeList<out Any>, index: Int, oldValue: Node, newValue: Node)
Link copied to clipboard
open fun concretePropertyChange(observedNode: Node, property: ObservableProperty, oldValue: Any, newValue: Any)
Link copied to clipboard
fun listChange(observedNode: NodeList<out Any>, type: AstObserver.ListChangeType, index: Int, nodeAddedOrRemoved: Node)
A list is changed
Link copied to clipboard
open fun listReplacement(observedNode: NodeList<out Any>, index: Int, oldNode: Node, newNode: Node)
Link copied to clipboard
open fun parentChange(observedNode: Node, previousParent: Node, newParent: Node)
The parent of a node is changed
Link copied to clipboard
fun propertyChange(observedNode: Node, property: ObservableProperty, oldValue: Any, newValue: Any)
The value of a property is changed
Link copied to clipboard
Wrap a given observer to make it self-propagating.