languages

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	Name() string
	Diagnostics(context.Context, string) error
}

Adapter abstracts language tooling behind a stable contract.

func NewNoopAdapter

func NewNoopAdapter(name string) Adapter

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Registry maps language identifiers to adapters.

func NewRegistry

func NewRegistry() *Registry

func (*Registry) Get

func (r *Registry) Get(name string) (Adapter, bool)

func (*Registry) Register

func (r *Registry) Register(name string, adapter Adapter)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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