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
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)
Click to show internal directories.
Click to hide internal directories.