krabhcl

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	hcl.Body
}

func (*Body) DefRangesFromPartialContentAttributes

func (b *Body) DefRangesFromPartialContentAttributes(schema *hcl.BodySchema) map[string]hcl.Range

func (*Body) DefRangesFromPartialContentBlocks

func (b *Body) DefRangesFromPartialContentBlocks(schema *hcl.BodySchema) []hcl.Range

type Expression

type Expression struct {
	Expr        hcl.Expression
	EvalContext *hcl.EvalContext
}

func (Expression) AsBool

func (e Expression) AsBool() bool

func (Expression) AsFloat64 added in v0.4.2

func (e Expression) AsFloat64() float64

func (Expression) AsInt64 added in v0.4.2

func (e Expression) AsInt64() int64

func (Expression) AsString added in v0.4.2

func (e Expression) AsString() string

func (Expression) Ok

func (e Expression) Ok() bool

func (Expression) Type

func (e Expression) Type() cty.Type

Jump to

Keyboard shortcuts

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