mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-28 17:01:02 +02:00
21 lines
423 B
Go
21 lines
423 B
Go
// Generated by: main
|
|
// TypeWriter: stringer
|
|
// Directive: +gen on astCompKind
|
|
|
|
package ast
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
const _astCompKind_name = "astCompForastCompIf"
|
|
|
|
var _astCompKind_index = [...]uint8{0, 10, 19}
|
|
|
|
func (i CompKind) String() string {
|
|
if i < 0 || i+1 >= CompKind(len(_astCompKind_index)) {
|
|
return fmt.Sprintf("astCompKind(%d)", i)
|
|
}
|
|
return _astCompKind_name[_astCompKind_index[i]:_astCompKind_index[i+1]]
|
|
}
|