gitea

Development moved to Codeberg

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  31. 31
  32. 32
  33. 33
  34. 34
  35. 35
  36. 36
  37. 37
  38. 38
  39. 39
  40. 40
  41. 41
  42. 42
  43. 43
  44. 44
  45. 45
  46. 46
  47. 47
// Code generated by "stringer -type token"; DO NOT EDIT.

package mssql

import "strconv"

const (
	_token_name_0 = "tokenReturnStatus"
	_token_name_1 = "tokenColMetadata"
	_token_name_2 = "tokenOrdertokenErrortokenInfotokenReturnValuetokenLoginAcktokenFeatureExtAck"
	_token_name_3 = "tokenRowtokenNbcRow"
	_token_name_4 = "tokenEnvChange"
	_token_name_5 = "tokenSSPItokenFedAuthInfo"
	_token_name_6 = "tokenDonetokenDoneProctokenDoneInProc"
)

var (
	_token_index_2 = [...]uint8{0, 10, 20, 29, 45, 58, 76}
	_token_index_3 = [...]uint8{0, 8, 19}
	_token_index_5 = [...]uint8{0, 9, 25}
	_token_index_6 = [...]uint8{0, 9, 22, 37}
)

func (i token) String() string {
	switch {
	case i == 121:
		return _token_name_0
	case i == 129:
		return _token_name_1
	case 169 <= i && i <= 174:
		i -= 169
		return _token_name_2[_token_index_2[i]:_token_index_2[i+1]]
	case 209 <= i && i <= 210:
		i -= 209
		return _token_name_3[_token_index_3[i]:_token_index_3[i+1]]
	case i == 227:
		return _token_name_4
	case 237 <= i && i <= 238:
		i -= 237
		return _token_name_5[_token_index_5[i]:_token_index_5[i+1]]
	case 253 <= i && i <= 255:
		i -= 253
		return _token_name_6[_token_index_6[i]:_token_index_6[i+1]]
	default:
		return "token(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}