mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-08 07:17:12 +02:00
There is the most minimal of tests and so this probably doesn't work well yet. Adding tests is the next job.
21 lines
576 B
Go
21 lines
576 B
Go
// Generated by: main
|
|
// TypeWriter: stringer
|
|
// Directive: +gen on astObjectFieldKind
|
|
|
|
package jsonnet
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
const _astObjectFieldKind_name = "astObjectAssertastObjectFieldIDastObjectFieldExprastObjectFieldStrastObjectLocal"
|
|
|
|
var _astObjectFieldKind_index = [...]uint8{0, 15, 31, 49, 66, 80}
|
|
|
|
func (i astObjectFieldKind) String() string {
|
|
if i < 0 || i+1 >= astObjectFieldKind(len(_astObjectFieldKind_index)) {
|
|
return fmt.Sprintf("astObjectFieldKind(%d)", i)
|
|
}
|
|
return _astObjectFieldKind_name[_astObjectFieldKind_index[i]:_astObjectFieldKind_index[i+1]]
|
|
}
|