ast

package
v0.35.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIgnoredFile added in v0.29.0

func IsIgnoredFile(name string) bool

isIgnoredFile returns true if the given filename (which must not have a directory path ahead of it) should be ignored as e.g. an editor swap file. See https://github.com/hashicorp/terraform/blob/d35bc05/internal/configs/parser_config_dir.go#L107

Types

type DiagnosticSource added in v0.32.0

type DiagnosticSource int

DiagnosticSource differentiates different sources of diagnostics.

const (
	HCLParsingSource DiagnosticSource = iota
	SchemaValidationSource
	ReferenceValidationSource
	TerraformValidateSource
)

func (DiagnosticSource) String added in v0.32.0

func (d DiagnosticSource) String() string

type DiagnosticSourceState added in v0.32.0

type DiagnosticSourceState map[DiagnosticSource]op.OpState

func (DiagnosticSourceState) Copy added in v0.32.0

Jump to

Keyboard shortcuts

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