code: func SourceRangeFromHCL(hclRange hcl.Range) SourceRange {
  	return SourceRange{
  		Filename: hclRange.Filename,
  		Start: SourcePos{
  			Line:   hclRange.Start.Line,
  			Column: hclRange.Start.Column,
  			Byte:   hclRange.Start.Byte,
  		},
  		End: SourcePos{
  			Line:   hclRange.End.Line,
  			Column: hclRange.End.Column,
  			Byte:   hclRange.End.Byte,
  		},
  	}
  }
docs: // SourceRangeFromHCL constructs a SourceRange from the corresponding range
  // type within the HCL package.