mirror of
https://github.com/danog/liquid.git
synced 2024-11-30 09:59:02 +01:00
17 lines
413 B
Go
17 lines
413 B
Go
// Code generated by "stringer -type=TokenType"; DO NOT EDIT.
|
|
|
|
package parser
|
|
|
|
import "fmt"
|
|
|
|
const _TokenType_name = "TextTokenTypeTagTokenTypeObjTokenType"
|
|
|
|
var _TokenType_index = [...]uint8{0, 13, 25, 37}
|
|
|
|
func (i TokenType) String() string {
|
|
if i < 0 || i >= TokenType(len(_TokenType_index)-1) {
|
|
return fmt.Sprintf("TokenType(%d)", i)
|
|
}
|
|
return _TokenType_name[_TokenType_index[i]:_TokenType_index[i+1]]
|
|
}
|