hcled

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: MPL-2.0 Imports: 1 Imported by: 8

Documentation

Overview

Package hcled provides functionality intended to help an application that embeds HCL to deliver relevant information to a text editor or IDE for navigating around and analyzing configuration files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextDefRange

func ContextDefRange(file *hcl.File, offset int) hcl.Range

func ContextString

func ContextString(file *hcl.File, offset int) string

ContextString returns a string describing the context of the given byte offset, if available. An empty string is returned if no such information is available, or otherwise the returned string is in a form that depends on the language used to write the referenced file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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