本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.3KB

  1. // Code generated by "stringer -type token"; DO NOT EDIT
  2. package mssql
  3. import "fmt"
  4. const (
  5. _token_name_0 = "tokenReturnStatus"
  6. _token_name_1 = "tokenColMetadata"
  7. _token_name_2 = "tokenOrdertokenErrortokenInfo"
  8. _token_name_3 = "tokenLoginAck"
  9. _token_name_4 = "tokenRowtokenNbcRow"
  10. _token_name_5 = "tokenEnvChange"
  11. _token_name_6 = "tokenSSPI"
  12. _token_name_7 = "tokenDonetokenDoneProctokenDoneInProc"
  13. )
  14. var (
  15. _token_index_0 = [...]uint8{0, 17}
  16. _token_index_1 = [...]uint8{0, 16}
  17. _token_index_2 = [...]uint8{0, 10, 20, 29}
  18. _token_index_3 = [...]uint8{0, 13}
  19. _token_index_4 = [...]uint8{0, 8, 19}
  20. _token_index_5 = [...]uint8{0, 14}
  21. _token_index_6 = [...]uint8{0, 9}
  22. _token_index_7 = [...]uint8{0, 9, 22, 37}
  23. )
  24. func (i token) String() string {
  25. switch {
  26. case i == 121:
  27. return _token_name_0
  28. case i == 129:
  29. return _token_name_1
  30. case 169 <= i && i <= 171:
  31. i -= 169
  32. return _token_name_2[_token_index_2[i]:_token_index_2[i+1]]
  33. case i == 173:
  34. return _token_name_3
  35. case 209 <= i && i <= 210:
  36. i -= 209
  37. return _token_name_4[_token_index_4[i]:_token_index_4[i+1]]
  38. case i == 227:
  39. return _token_name_5
  40. case i == 237:
  41. return _token_name_6
  42. case 253 <= i && i <= 255:
  43. i -= 253
  44. return _token_name_7[_token_index_7[i]:_token_index_7[i+1]]
  45. default:
  46. return fmt.Sprintf("token(%d)", i)
  47. }
  48. }
上海开阖软件有限公司 沪ICP备12045867号-1