mirror of
https://github.com/go-task/task.git
synced 2024-12-16 10:59:23 +02:00
0160f5dd30
fixes #67 fixed upstream on mvdan/sh#159
17 lines
1.1 KiB
Go
17 lines
1.1 KiB
Go
// Code generated by "stringer -type token -linecoms"; DO NOT EDIT.
|
|
|
|
package syntax
|
|
|
|
import "fmt"
|
|
|
|
const _token_name = "illegalTokEOFNewlineLitLitWordLitRedir'\"`&&&||||&$$'$\"${$[$($(([(((}])));;;;&;;&;|!++--***==!=<=>=+=-=*=/=%=&=|=^=<<=>>=>>><<><&>&>|<<<<-<<<&>&>><(>(+:+-:-?:?=:=%%%###^^^,,,@///:-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, 20, 23, 30, 38, 39, 40, 41, 42, 44, 46, 47, 49, 50, 52, 54, 56, 58, 60, 63, 64, 65, 67, 68, 69, 70, 72, 73, 75, 77, 80, 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 fmt.Sprintf("token(%d)", i)
|
|
}
|
|
return _token_name[_token_index[i]:_token_index[i+1]]
|
|
}
|