mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-20 07:38:52 +00:00
17 lines
773 B
Go
17 lines
773 B
Go
|
// Code generated by "stringer -type ItemType"; DO NOT EDIT.
|
||
|
|
||
|
package pageparser
|
||
|
|
||
|
import "strconv"
|
||
|
|
||
|
const _ItemType_name = "tErrortEOFTypeHTMLStartTypeLeadSummaryDividerTypeFrontMatterYAMLTypeFrontMatterTOMLTypeFrontMatterJSONTypeFrontMatterORGTypeEmojiTypeIgnoretLeftDelimScNoMarkuptRightDelimScNoMarkuptLeftDelimScWithMarkuptRightDelimScWithMarkuptScClosetScNametScNameInlinetScParamtScParamValtTexttKeywordMarker"
|
||
|
|
||
|
var _ItemType_index = [...]uint16{0, 6, 10, 23, 45, 64, 83, 102, 120, 129, 139, 159, 180, 202, 225, 233, 240, 253, 261, 272, 277, 291}
|
||
|
|
||
|
func (i ItemType) String() string {
|
||
|
if i < 0 || i >= ItemType(len(_ItemType_index)-1) {
|
||
|
return "ItemType(" + strconv.FormatInt(int64(i), 10) + ")"
|
||
|
}
|
||
|
return _ItemType_name[_ItemType_index[i]:_ItemType_index[i+1]]
|
||
|
}
|