]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/file.go
Merge branch 'fix_read_test' of github.com:alexandreFre/terraform-provider-statuscake
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / hcl2 / hcl / hclsyntax / file.go
1 package hclsyntax
2
3 import (
4 "github.com/hashicorp/hcl2/hcl"
5 )
6
7 // File is the top-level object resulting from parsing a configuration file.
8 type File struct {
9 Body *Body
10 Bytes []byte
11 }
12
13 func (f *File) AsHCLFile() *hcl.File {
14 return &hcl.File{
15 Body: f.Body,
16 Bytes: f.Bytes,
17
18 // TODO: The Nav object, once we have an implementation of it
19 }
20 }