go-jsonnet/astliteralstringkind_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
552 B
Go

// Generated by: main
// TypeWriter: stringer
// Directive: +gen on astLiteralStringKind
package jsonnet
import (
"fmt"
)
const _astLiteralStringKind_name = "astStringSingleastStringDoubleastStringBlock"
var _astLiteralStringKind_index = [...]uint8{0, 15, 30, 44}
func (i astLiteralStringKind) String() string {
if i < 0 || i+1 >= astLiteralStringKind(len(_astLiteralStringKind_index)) {
return fmt.Sprintf("astLiteralStringKind(%d)", i)
}
return _astLiteralStringKind_name[_astLiteralStringKind_index[i]:_astLiteralStringKind_index[i+1]]
}