21 lines
393 B
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.
|
|
// }
|