| 1 |
// Code generated by "stringer -type state"; DO NOT EDIT. |
| 2 |
|
| 3 |
package stack |
| 4 |
|
| 5 |
import "strconv" |
| 6 |
|
| 7 |
func _() { |
| 8 |
// An "invalid array index" compiler error signifies that the constant values have changed. |
| 9 |
// Re-run the stringer command to generate them again. |
| 10 |
var x [1]struct{} |
| 11 |
_ = x[looking-0] |
| 12 |
_ = x[done-1] |
| 13 |
_ = x[betweenRoutine-2] |
| 14 |
_ = x[gotRoutineHeader-3] |
| 15 |
_ = x[gotFunc-4] |
| 16 |
_ = x[gotCreated-5] |
| 17 |
_ = x[gotFileFunc-6] |
| 18 |
_ = x[gotFileCreated-7] |
| 19 |
_ = x[gotUnavail-8] |
| 20 |
_ = x[gotRaceHeader1-9] |
| 21 |
_ = x[gotRaceHeader2-10] |
| 22 |
_ = x[gotRaceOperationHeader-11] |
| 23 |
_ = x[gotRaceOperationFunc-12] |
| 24 |
_ = x[gotRaceOperationFile-13] |
| 25 |
_ = x[betweenRaceOperations-14] |
| 26 |
_ = x[gotRaceGoroutineHeader-15] |
| 27 |
_ = x[gotRaceGoroutineFunc-16] |
| 28 |
_ = x[gotRaceGoroutineFile-17] |
| 29 |
_ = x[betweenRaceGoroutines-18] |
| 30 |
} |
| 31 |
|
| 32 |
const _state_name = "lookingdonebetweenRoutinegotRoutineHeadergotFuncgotCreatedgotFileFuncgotFileCreatedgotUnavailgotRaceHeader1gotRaceHeader2gotRaceOperationHeadergotRaceOperationFuncgotRaceOperationFilebetweenRaceOperationsgotRaceGoroutineHeadergotRaceGoroutineFuncgotRaceGoroutineFilebetweenRaceGoroutines" |
| 33 |
|
| 34 |
var _state_index = [...]uint16{0, 7, 11, 25, 41, 48, 58, 69, 83, 93, 107, 121, 143, 163, 183, 204, 226, 246, 266, 287} |
| 35 |
|
| 36 |
func (i state) String() string { |
| 37 |
if i < 0 || i >= state(len(_state_index)-1) { |
| 38 |
return "state(" + strconv.FormatInt(int64(i), 10) + ")" |
| 39 |
} |
| 40 |
return _state_name[_state_index[i]:_state_index[i+1]] |
| 41 |
} |