hcl/ast.go

21 lines
248 B
Go
Raw Normal View History

2014-08-01 01:44:21 +00:00
package hcl
type ValueType byte
const (
ValueTypeUnknown ValueType = iota
ValueTypeInt
ValueTypeString
)
type Node interface{}
type ObjectNode struct {
Elem map[string][]Node
}
type ValueNode struct {
Type ValueType
Value interface{}
}