708abb8c97
This is a super-invasive update since the "zcl" package in particular is referenced all over. There are probably still a few zcl references hanging around in comments, etc but this takes care of most of it.
17 lines
382 B
Go
17 lines
382 B
Go
package gohcl
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/hashicorp/hcl2/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))
|