decoder

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecoderContext added in v0.29.0

func DecoderContext(ctx context.Context) decoder.DecoderContext

func LanguageId added in v0.24.0

func LanguageId(ctx context.Context) (ilsp.LanguageID, bool)

func WithLanguageId added in v0.24.0

func WithLanguageId(ctx context.Context, langId ilsp.LanguageID) context.Context

Types

type ModuleReader added in v0.24.0

type ModuleReader interface {
	ModuleByPath(modPath string) (*state.Module, error)
	List() ([]*state.Module, error)
	ModuleCalls(modPath string) (tfmod.ModuleCalls, error)
	LocalModuleMeta(modPath string) (*tfmod.Meta, error)
	RegistryModuleMeta(addr tfaddr.Module, cons version.Constraints) (*registry.ModuleData, error)
}

type PathReader added in v0.24.0

type PathReader struct {
	ModuleReader ModuleReader
	SchemaReader state.SchemaReader
}

func (*PathReader) PathContext added in v0.24.0

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

func (*PathReader) Paths added in v0.24.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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