go-jsonnet/astobjectfieldkind_stringer.go
Joe Beda 142b77c41f Finish up blocking out the parser.
There is the most minimal of tests and so this probably doesn't work well yet.  Adding tests is the next job.
2016-03-01 17:08:35 -08:00

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]]
}