@jetjs/core
class AbstractVisitor
Abstract Visitor that provides empty default implementation, so concrete Visitor implementation only needs to implement methods that are required.
Methods
Method Details
-
visitGroupEnd(pluginGroup) Method
Signature:visitGroupEnd(pluginGroup: PG): void;
Returns:void
Parameter Type Description pluginGroup PG
-
visitGroupNext(pluginGroup, prevPlugin, nextPlugin) Method
Signature:visitGroupNext(pluginGroup: PG, prevPlugin: P, nextPlugin: P): void;
Returns:void
Parameter Type Description pluginGroup PG
prevPlugin P
nextPlugin P
-
visitGroupStart(pluginGroup) Method
Signature:visitGroupStart(pluginGroup: PG): void;
Returns:void
Parameter Type Description pluginGroup PG
-
visitMerge(plugin) Method
Signature:visitMerge(plugin: P): void;
Returns:void
Parameter Type Description plugin P
-
visitPipe(prevPlugin, nextPlugin) Method
Signature:visitPipe(prevPlugin: P, nextPlugin: P): void;
Returns:void
Parameter Type Description prevPlugin P
nextPlugin P
-
visitPlugin(plugin) Method
Signature:visitPlugin(plugin: P): void;
Returns:void
Parameter Type Description plugin P
-
visitPluginDefinition(pluginDefinition) Method
Signature:visitPluginDefinition(pluginDefinition: PluginDefinition<P, PG>): void;
Returns:void
Parameter Type Description pluginDefinition PluginDefinition
-
visitSplitEnd(plugins, splitSource) Method
Signature:visitSplitEnd(plugins: P[], splitSource: P): void;
Returns:void
Parameter Type Description plugins P[]
splitSource P
-
visitSplitNext(plugins, prevPlugin, nextPlugin, splitSource) Method
Signature:visitSplitNext(plugins: P[], prevPlugin: P, nextPlugin: P, splitSource: P): void;
Returns:void
Parameter Type Description plugins P[]
prevPlugin P
nextPlugin P
splitSource P
-
visitSplitStart(plugins, splitSource) Method
Signature:visitSplitStart(plugins: P[], splitSource: P): void;
Returns:void
Parameter Type Description plugins P[]
splitSource P