Documentation
¶
Overview ¶
Package plugin : This package is used for plugin implementations. While most plugins are likely a application or use-case specific, we can implement common plugins here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTreeWalkPluginExecutor ¶
func NewTreeWalkPluginExecutor(walker core.TreeWalker, plugins []core.Plugin) (*treeWalkPluginExecutor, error)
NewTreeWalkPluginExecutor creates a simple plugin executor using a tree walker. It just makes it easy to execute plugins suitable for ParseTree and File
Types ¶
type PluginExecutor ¶
type PluginExecutor interface {
Execute(context.Context, core.ImportAwareFileSystem) error
}
Click to show internal directories.
Click to hide internal directories.