ICompositeListenerBuilder<TContext, TBaseNode> Interface
Definition
Fluent interface to build a CompositeListener<TContext, TBaseNode>.
public abstract interface ICompositeListenerBuilder<TContext, TBaseNode>
where TBaseNode : Node<TBaseNode>
Type Parameters
Name | Description |
---|---|
TContext | The type of the context object. |
TBaseNode | The base type of all nodes in the tree. |
Methods
Name | Description |
---|---|
Builds the CompositeListener<TContext, TBaseNode>. | |
Add a listener for the base node type. Useful to provide a fallback listener when there is no listener for the specific node type registered. | |
Add a listener for the specific node type |
Last modified: 22 November 2024