decoder

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PathReader

type PathReader struct {
	StateReader StateReader
}

func (*PathReader) PathContext

func (pr *PathReader) PathContext(path lang.Path) (*decoder.PathContext, error)

PathContext returns a PathContext for the given path based on the language ID

func (*PathReader) Paths

func (pr *PathReader) Paths(ctx context.Context) []lang.Path

type StateReader

type StateReader interface {
	List() ([]*state.StackRecord, error)
	StackRecordByPath(modPath string) (*state.StackRecord, error)
}

Jump to

Keyboard shortcuts

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