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
552 B
Go
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]]
|
|
}
|