1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/vendor/github.com/sourcegraph/syntaxhighlight/kind_gostring.go
2017-10-03 14:43:55 -04:00

17 lines
503 B
Go

// generated by gostringer -type=Kind; DO NOT EDIT
package syntaxhighlight
import "fmt"
const _Kind_name = "WhitespaceStringKeywordCommentTypeLiteralPunctuationPlaintextTagHTMLTagHTMLAttrNameHTMLAttrValueDecimal"
var _Kind_index = [...]uint8{0, 10, 16, 23, 30, 34, 41, 52, 61, 64, 71, 83, 96, 103}
func (i Kind) GoString() string {
if i+1 >= Kind(len(_Kind_index)) {
return fmt.Sprintf("syntaxhighlight.Kind(%d)", i)
}
return "syntaxhighlight." + _Kind_name[_Kind_index[i]:_Kind_index[i+1]]
}