@jetjs/core
interface Visitor
Methods
Method Details
-
visitGroupEnd(pluginGroup) Method
Signature:visitGroupEnd(pluginGroup: PG): any;
Returns:any
Parameter Type Description pluginGroup PG
plugin group
-
visitGroupNext(pluginGroup, prevPlugin, nextPlugin) Method
Signature:visitGroupNext(pluginGroup: PG, prevPlugin: P, nextPlugin: P): any;
Returns:any
Parameter Type Description pluginGroup PG
plugin group
prevPlugin P
previously visited plugin
nextPlugin P
the plugin, that will be visited next
-
visitGroupStart(pluginGroup) Method
Signature:visitGroupStart(pluginGroup: PG): any;
Returns:any
Parameter Type Description pluginGroup PG
plugin group
-
visitMerge(plugin) Method
Signature:visitMerge(plugin: P): any;
Returns:any
Parameter Type Description plugin P
the plugin to merge into
-
visitPipe(prevPlugin, nextPlugin) Method
Signature:visitPipe(prevPlugin: P, nextPlugin: P): any;
Returns:any
Parameter Type Description prevPlugin P
previously visited plugin
nextPlugin P
the plugin, that will be visited next
-
visitPlugin(plugin) Method
Signature:visitPlugin(plugin: P): any;
Returns:any
Parameter Type Description plugin P
plugin
-
visitPluginDefinition(pluginDefinition) Method
Signature:visitPluginDefinition(pluginDefinition: PluginDefinition<P, PG>): any;
Returns:any
Parameter Type Description pluginDefinition PluginDefinition
the definition
-
visitSplitEnd(plugins, splitSource) Method
Signature:visitSplitEnd(plugins: P[], splitSource: P): any;
Returns:any
Parameter Type Description plugins P[]
plugins
splitSource P
-
visitSplitNext(plugins, prevPlugin, nextPlugin, splitSource) Method
Signature:visitSplitNext(plugins: P[], prevPlugin: P, nextPlugin: P, splitSource: P): any;
Returns:any
Parameter Type Description plugins P[]
plugins
prevPlugin P
previously visited plugin
nextPlugin P
the plugin, that will be visited next
splitSource P
the plugin right before the split
-
visitSplitStart(plugins, splitSource) Method
Signature:visitSplitStart(plugins: P[], splitSource: P): any;
Returns:any
Parameter Type Description plugins P[]
plugins
splitSource P
the plugin right before the split