evaluator

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const HCL_LIST_VARTYPE = "list"
View Source
const HCL_MAP_VARTYPE = "map"
View Source
const HCL_STRING_VARTYPE = "string"

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator struct {
	Config       hil.EvalConfig
	ModuleConfig map[string]*hclModule
}

func NewEvaluator

func NewEvaluator(listMap map[string]*hclast.ObjectList, c *config.Config) (*Evaluator, error)

func (*Evaluator) Eval

func (e *Evaluator) Eval(src string) (interface{}, error)

Jump to

Keyboard shortcuts

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