parser

package
v0.1.0-rc.11 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDeprecation

func FormatDeprecation(diag *hcl.Diagnostic) string

FormatDeprecation renders a single deprecation warning as a one-line, file:line-prefixed string. Exported so CLI commands can present warnings consistently.

func LoadPath

func LoadPath(path string) (*model.Suite, hcl.Diagnostics)

LoadPath loads one .tales file or all .tales files recursively from a directory.

func Warnings

func Warnings(diags hcl.Diagnostics) hcl.Diagnostics

Warnings returns the warning-severity diagnostics from a diagnostics set, preserving order. It lets callers surface deprecation warnings without re-implementing the severity filter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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