diff options
Diffstat (limited to 'vendor/github.com/hashicorp/hcl2/gohcl/types.go')
-rw-r--r-- | vendor/github.com/hashicorp/hcl2/gohcl/types.go | 16 |
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 @@ | |||
1 | package gohcl | ||
2 | |||
3 | import ( | ||
4 | "reflect" | ||
5 | |||
6 | "github.com/hashicorp/hcl2/hcl" | ||
7 | ) | ||
8 | |||
9 | var victimExpr hcl.Expression | ||
10 | var victimBody hcl.Body | ||
11 | |||
12 | var exprType = reflect.TypeOf(&victimExpr).Elem() | ||
13 | var bodyType = reflect.TypeOf(&victimBody).Elem() | ||
14 | var blockType = reflect.TypeOf((*hcl.Block)(nil)) | ||
15 | var attrType = reflect.TypeOf((*hcl.Attribute)(nil)) | ||
16 | var attrsType = reflect.TypeOf(hcl.Attributes(nil)) | ||