package
0.0.0-20240722083041-1e49dba912c3
Repository: https://github.com/hashicorp/hcl-lang.git
Documentation: pkg.go.dev

# Functions

ExpressionCompletionCandidate converts a simplified ExpressionCandidate into a Candidate while taking care of populating fields and quoting strings.
No description provided by the author
No description provided by the author
NewDecoder creates a new Decoder Decoder is safe for use without any schema, but configuration files are loaded via LoadFile and (optionally) schema is set via SetSchema.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithFilename is not intended to be used outside this package except for testing hooks downstream.
WithMaxCandidates is not intended to be used outside this package except for testing hooks downstream.
WithPath is not intended to be used outside this package except for testing hooks downstream.
WithPos is not intended to be used outside this package except for testing hooks downstream.

# Structs

No description provided by the author
AttributeSymbol is Symbol implementation representing an attribute.
BlockSymbol is Symbol implementation representing a block.
Candidate represents a completion candidate created and returned from a completion hook.
No description provided by the author
No description provided by the author
DecoderContext represents global context relevant for all possible paths served by the Decoder.
ExpressionCandidate is a simplified version of Candidate and the preferred way to create completion candidates from completion hooks for attributes values (expressions).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PathContext represents any context relevant to the lang.Path i.e.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResolvedCandidate is the result of a resolve hook and can enrich a completion item by adding additional content to any of the fields.
No description provided by the author
TargetContext describes context for collecting reference targets.
No description provided by the author
No description provided by the author
No description provided by the author
UnresolvedCandidate contains the information required to call a resolve hook for enriching a completion item with more information.

# Interfaces

No description provided by the author
Expression represents an expression capable of providing various LSP features for given hcl.Expression and schema.Constraint.
No description provided by the author
No description provided by the author
No description provided by the author
Symbol represents any attribute, or block (and its nested blocks or attributes).

# Type aliases

CompletionFunc is the function signature for completion hooks.
No description provided by the author
CompletionResolveFunc is the function signature for resolve hooks.
No description provided by the author
No description provided by the author
No description provided by the author