3327dee567
This is in preparation for the first v2 release from the main HCL repository.
17 lines
384 B
Go
17 lines
384 B
Go
package gohcl
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/hashicorp/hcl/v2/hcl"
|
|
)
|
|
|
|
var victimExpr hcl.Expression
|
|
var victimBody hcl.Body
|
|
|
|
var exprType = reflect.TypeOf(&victimExpr).Elem()
|
|
var bodyType = reflect.TypeOf(&victimBody).Elem()
|
|
var blockType = reflect.TypeOf((*hcl.Block)(nil))
|
|
var attrType = reflect.TypeOf((*hcl.Attribute)(nil))
|
|
var attrsType = reflect.TypeOf(hcl.Attributes(nil))
|