shithub: hugo

ref: ce9aceb7495670d4a8a3c0c2fa5be6d2a718a802
dir: /tpl/internal/go_templates/htmltemplate/jsctx_string.go/

View raw version
// Code generated by "stringer -type jsCtx"; DO NOT EDIT.

package template

import "strconv"

const _jsCtx_name = "jsCtxRegexpjsCtxDivOpjsCtxUnknown"

var _jsCtx_index = [...]uint8{0, 11, 21, 33}

func (i jsCtx) String() string {
	if i >= jsCtx(len(_jsCtx_index)-1) {
		return "jsCtx(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _jsCtx_name[_jsCtx_index[i]:_jsCtx_index[i+1]]
}