1
0
mirror of https://github.com/go-task/task.git synced 2025-01-18 04:59:01 +02:00
task/vendor/mvdan.cc/sh/v3/syntax/token_string.go
2019-09-26 19:04:13 -03:00

150 lines
3.8 KiB
Go

// Code generated by "stringer -type token -linecomment -trimprefix _"; DO NOT EDIT.
package syntax
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[illegalTok-0]
_ = x[_EOF-1]
_ = x[_Newl-2]
_ = x[_Lit-3]
_ = x[_LitWord-4]
_ = x[_LitRedir-5]
_ = x[sglQuote-6]
_ = x[dblQuote-7]
_ = x[bckQuote-8]
_ = x[and-9]
_ = x[andAnd-10]
_ = x[orOr-11]
_ = x[or-12]
_ = x[orAnd-13]
_ = x[dollar-14]
_ = x[dollSglQuote-15]
_ = x[dollDblQuote-16]
_ = x[dollBrace-17]
_ = x[dollBrack-18]
_ = x[dollParen-19]
_ = x[dollDblParen-20]
_ = x[leftBrack-21]
_ = x[dblLeftBrack-22]
_ = x[leftParen-23]
_ = x[dblLeftParen-24]
_ = x[rightBrace-25]
_ = x[rightBrack-26]
_ = x[rightParen-27]
_ = x[dblRightParen-28]
_ = x[semicolon-29]
_ = x[dblSemicolon-30]
_ = x[semiAnd-31]
_ = x[dblSemiAnd-32]
_ = x[semiOr-33]
_ = x[exclMark-34]
_ = x[tilde-35]
_ = x[addAdd-36]
_ = x[subSub-37]
_ = x[star-38]
_ = x[power-39]
_ = x[equal-40]
_ = x[nequal-41]
_ = x[lequal-42]
_ = x[gequal-43]
_ = x[addAssgn-44]
_ = x[subAssgn-45]
_ = x[mulAssgn-46]
_ = x[quoAssgn-47]
_ = x[remAssgn-48]
_ = x[andAssgn-49]
_ = x[orAssgn-50]
_ = x[xorAssgn-51]
_ = x[shlAssgn-52]
_ = x[shrAssgn-53]
_ = x[rdrOut-54]
_ = x[appOut-55]
_ = x[rdrIn-56]
_ = x[rdrInOut-57]
_ = x[dplIn-58]
_ = x[dplOut-59]
_ = x[clbOut-60]
_ = x[hdoc-61]
_ = x[dashHdoc-62]
_ = x[wordHdoc-63]
_ = x[rdrAll-64]
_ = x[appAll-65]
_ = x[cmdIn-66]
_ = x[cmdOut-67]
_ = x[plus-68]
_ = x[colPlus-69]
_ = x[minus-70]
_ = x[colMinus-71]
_ = x[quest-72]
_ = x[colQuest-73]
_ = x[assgn-74]
_ = x[colAssgn-75]
_ = x[perc-76]
_ = x[dblPerc-77]
_ = x[hash-78]
_ = x[dblHash-79]
_ = x[caret-80]
_ = x[dblCaret-81]
_ = x[comma-82]
_ = x[dblComma-83]
_ = x[at-84]
_ = x[slash-85]
_ = x[dblSlash-86]
_ = x[colon-87]
_ = x[tsExists-88]
_ = x[tsRegFile-89]
_ = x[tsDirect-90]
_ = x[tsCharSp-91]
_ = x[tsBlckSp-92]
_ = x[tsNmPipe-93]
_ = x[tsSocket-94]
_ = x[tsSmbLink-95]
_ = x[tsSticky-96]
_ = x[tsGIDSet-97]
_ = x[tsUIDSet-98]
_ = x[tsGrpOwn-99]
_ = x[tsUsrOwn-100]
_ = x[tsModif-101]
_ = x[tsRead-102]
_ = x[tsWrite-103]
_ = x[tsExec-104]
_ = x[tsNoEmpty-105]
_ = x[tsFdTerm-106]
_ = x[tsEmpStr-107]
_ = x[tsNempStr-108]
_ = x[tsOptSet-109]
_ = x[tsVarSet-110]
_ = x[tsRefVar-111]
_ = x[tsReMatch-112]
_ = x[tsNewer-113]
_ = x[tsOlder-114]
_ = x[tsDevIno-115]
_ = x[tsEql-116]
_ = x[tsNeq-117]
_ = x[tsLeq-118]
_ = x[tsGeq-119]
_ = x[tsLss-120]
_ = x[tsGtr-121]
_ = x[globQuest-122]
_ = x[globStar-123]
_ = x[globPlus-124]
_ = x[globAt-125]
_ = x[globExcl-126]
}
const _token_name = "illegalTokEOFNewlLitLitWordLitRedir'\"`&&&||||&$$'$\"${$[$($(([[[(((}])));;;;&;;&;|!~++--***==!=<=>=+=-=*=/=%=&=|=^=<<=>>=>>><<><&>&>|<<<<-<<<&>&>><(>(+:+-:-?:?=:=%%%###^^^,,,@///:-e-f-d-c-b-p-S-L-k-g-u-G-O-N-r-w-x-s-t-z-n-o-v-R=~-nt-ot-ef-eq-ne-le-ge-lt-gt?(*(+(@(!("
var _token_index = [...]uint16{0, 10, 13, 17, 20, 27, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 49, 51, 53, 55, 57, 60, 61, 63, 64, 66, 67, 68, 69, 71, 72, 74, 76, 79, 81, 82, 83, 85, 87, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 117, 120, 121, 123, 124, 126, 128, 130, 132, 134, 137, 140, 142, 145, 147, 149, 150, 152, 153, 155, 156, 158, 159, 161, 162, 164, 165, 167, 168, 170, 171, 173, 174, 175, 177, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 231, 234, 237, 240, 243, 246, 249, 252, 255, 257, 259, 261, 263, 265}
func (i token) String() string {
if i >= token(len(_token_index)-1) {
return "token(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _token_name[_token_index[i]:_token_index[i+1]]
}