packer-cn/hcl2template/types.hcl_ref.go

21 lines
393 B
Go

package hcl2template
import (
"github.com/hashicorp/hcl/v2"
)
// reference to the source definition in configuration text file
type HCL2Ref struct {
// reference to the source definition in configuration text file
DeclRange hcl.Range
// remainder of unparsed body
Remain hcl.Body
}
// func (hr *HCL2Ref) Blah() {
// // hr.Remain.
// ctyjson.Marshal(nil, nil)
// hr.DeclRange.
// }