aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/hashicorp/hcl2/gohcl/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/hashicorp/hcl2/gohcl/types.go')
-rw-r--r--vendor/github.com/hashicorp/hcl2/gohcl/types.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/hcl2/gohcl/types.go b/vendor/github.com/hashicorp/hcl2/gohcl/types.go
new file mode 100644
index 0000000..a94f275
--- /dev/null
+++ b/vendor/github.com/hashicorp/hcl2/gohcl/types.go
@@ -0,0 +1,16 @@
1package gohcl
2
3import (
4 "reflect"
5
6 "github.com/hashicorp/hcl2/hcl"
7)
8
9var victimExpr hcl.Expression
10var victimBody hcl.Body
11
12var exprType = reflect.TypeOf(&victimExpr).Elem()
13var bodyType = reflect.TypeOf(&victimBody).Elem()
14var blockType = reflect.TypeOf((*hcl.Block)(nil))
15var attrType = reflect.TypeOf((*hcl.Attribute)(nil))
16var attrsType = reflect.TypeOf(hcl.Attributes(nil))