@jetjs/core
class PrettyPrintVisitor
Visitor implementation to pretty print a plugin definition
Methods
Method | Return | Description |
---|---|---|
prettyPrint() | string | |
reset() | void | |
visitGroupEnd() | void | |
visitGroupNext() | void | |
visitGroupStart() | void | |
visitMerge() | void | |
visitPipe() | void | |
visitPlugin(plugin) | void | |
visitPluginDefinition() | void | |
visitSplitEnd() | void | |
visitSplitNext() | void | |
visitSplitStart() | void |
Method Details
-
prettyPrint() Method
pretty prints the plugin definition
Signature:prettyPrint(): string;
Returns:string
-
reset() Method
resets internal statem so the visitor can be reused
Signature:reset(): void;
Returns:void
-
visitGroupEnd() Method
Signature:visitGroupEnd(): void;
Returns:void
-
visitGroupNext() Method
Signature:visitGroupNext(): void;
Returns:void
-
visitGroupStart() Method
Signature:visitGroupStart(): void;
Returns:void
-
visitMerge() Method
Signature:visitMerge(): void;
Returns:void
-
visitPipe() Method
Signature:visitPipe(): void;
Returns:void
-
visitPlugin(plugin) Method
Signature:visitPlugin(plugin: Plugin): void;
Returns:void
Parameter Type Description plugin Plugin
-
visitPluginDefinition() Method
Signature:visitPluginDefinition(): void;
Returns:void
-
visitSplitEnd() Method
Signature:visitSplitEnd(): void;
Returns:void
-
visitSplitNext() Method
Signature:visitSplitNext(): void;
Returns:void
-
visitSplitStart() Method
Signature:visitSplitStart(): void;
Returns:void