plugin

package
v0.0.0-...-312e67f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2025 License: Apache-2.0 Imports: 5 Imported by: 2

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL