func RenderDebugIDs(enc *encoder) *encoder {
	enc.renderIDs = true
	return enc
}
RenderDebugIDs modifies the encoding to print out source element ids into the encoded string.
package yml
import (
	"fmt"
	"strconv"
	"strings"
	"time"
	"github.com/google/cel-go/common/types"
	"github.com/google/cel-policy-templates-go/policy/model"
)
func Encode(pv *model.ParsedValue, opts ...EncodeOption) string {
	if pv == nil {
		return ""
	}
	enc := &encoder{
		indents:   [][]string{},
		lineStart: true,
		meta:      pv.Meta,
	}
	for _, opt := range opts {
		enc = opt(enc)
	}
	enc.renderID(pv.ID)
	if enc.writeComment(pv.ID, model.HeadComment) {
		enc.eol().eol()
	}
	for _, f := range pv.Value.Fields {
		enc.writeField(f).maybeEOL()
	}
	return enc.writeFootComment(pv.ID).String()
}
type EncodeOption func(*encoder) *encoder