ast

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsModuleFilename

func IsModuleFilename(name string) bool

func IsVarsFilename

func IsVarsFilename(name string) bool

Types

type ModDiags

type ModDiags map[ModFilename]hcl.Diagnostics

func ModDiagsFromMap

func ModDiagsFromMap(m map[string]hcl.Diagnostics) ModDiags

func (ModDiags) AsMap

func (md ModDiags) AsMap() map[string]hcl.Diagnostics

type ModFilename

type ModFilename string

func (ModFilename) String

func (mf ModFilename) String() string

type ModFiles

type ModFiles map[ModFilename]*hcl.File

func ModFilesFromMap

func ModFilesFromMap(m map[string]*hcl.File) ModFiles

func (ModFiles) AsMap

func (mf ModFiles) AsMap() map[string]*hcl.File

type VarsDiags

type VarsDiags map[VarsFilename]hcl.Diagnostics

func VarsDiagsFromMap

func VarsDiagsFromMap(m map[string]hcl.Diagnostics) VarsDiags

func (VarsDiags) AsMap

func (vd VarsDiags) AsMap() map[string]hcl.Diagnostics

func (VarsDiags) AutoloadedOnly

func (vd VarsDiags) AutoloadedOnly() VarsDiags

func (VarsDiags) ForFile

func (vd VarsDiags) ForFile(name VarsFilename) VarsDiags

type VarsFilename

type VarsFilename string

func NewVarsFilename

func NewVarsFilename(name string) (VarsFilename, bool)

func (VarsFilename) IsAutoloaded

func (vf VarsFilename) IsAutoloaded() bool

func (VarsFilename) String

func (vf VarsFilename) String() string

type VarsFiles

type VarsFiles map[VarsFilename]*hcl.File

func VarsFilesFromMap

func VarsFilesFromMap(m map[string]*hcl.File) VarsFiles

Jump to

Keyboard shortcuts

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