go-jsonnet/astcompkind_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
433 B
Go

// Generated by: main
// TypeWriter: stringer
// Directive: +gen on astCompKind
package jsonnet
import (
"fmt"
)
const _astCompKind_name = "astCompForastCompIf"
var _astCompKind_index = [...]uint8{0, 10, 19}
func (i astCompKind) String() string {
if i < 0 || i+1 >= astCompKind(len(_astCompKind_index)) {
return fmt.Sprintf("astCompKind(%d)", i)
}
return _astCompKind_name[_astCompKind_index[i]:_astCompKind_index[i+1]]
}