mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-28 17:01:02 +02:00
21 lines
542 B
Go
21 lines
542 B
Go
// Generated by: main
|
|
// TypeWriter: stringer
|
|
// Directive: +gen on astLiteralStringKind
|
|
|
|
package ast
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
const _astLiteralStringKind_name = "astStringSingleastStringDoubleastStringBlock"
|
|
|
|
var _astLiteralStringKind_index = [...]uint8{0, 15, 30, 44}
|
|
|
|
func (i LiteralStringKind) String() string {
|
|
if i < 0 || i+1 >= LiteralStringKind(len(_astLiteralStringKind_index)) {
|
|
return fmt.Sprintf("astLiteralStringKind(%d)", i)
|
|
}
|
|
return _astLiteralStringKind_name[_astLiteralStringKind_index[i]:_astLiteralStringKind_index[i+1]]
|
|
}
|