ast

package
v0.0.0-...-978a5fb Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIgnoredFile

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

type DiagnosticSource int

DiagnosticSource differentiates different sources of diagnostics.

const (
	HCLParsingSource DiagnosticSource = iota
	SchemaValidationSource
	ReferenceValidationSource
	TerraformValidateSource
)

func (DiagnosticSource) String

func (d DiagnosticSource) String() string

type DiagnosticSourceState

type DiagnosticSourceState map[DiagnosticSource]op.OpState

func (DiagnosticSourceState) Copy

Jump to

Keyboard shortcuts

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