Type Definition Listener
syntax_tree::change
type Listener<T> = Box<dyn Fn(Event<T>)>;
Function called when an event is emitted by the tree synchronously.