aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/homemade/scl/token_string.go
blob: c959de618c07bc25e768fdf4dc667fa4da8a539d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type=tokenKind -output=token_string.go"; DO NOT EDIT

package scl

import "fmt"

const _tokenKind_name = "tokenLineCommenttokenMixinDeclarationtokenVariabletokenVariableAssignmenttokenFunctionCalltokenLiteraltokenVariableDeclarationtokenConditionalVariableAssignmenttokenCommentStarttokenCommentEnd"

var _tokenKind_index = [...]uint8{0, 16, 37, 50, 73, 90, 102, 126, 160, 177, 192}

func (i tokenKind) String() string {
	if i < 0 || i >= tokenKind(len(_tokenKind_index)-1) {
		return fmt.Sprintf("tokenKind(%d)", i)
	}
	return _tokenKind_name[_tokenKind_index[i]:_tokenKind_index[i+1]]
}