extended_string.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // Code generated by "stringer -type=Extended"; DO NOT EDIT.
  2. package door
  3. import "strconv"
  4. func _() {
  5. // An "invalid array index" compiler error signifies that the constant values have changed.
  6. // Re-run the stringer command to generate them again.
  7. var x [1]struct{}
  8. _ = x[NOP-0]
  9. _ = x[UP_ARROW-1]
  10. _ = x[DOWN_ARROW-2]
  11. _ = x[RIGHT_ARROW-3]
  12. _ = x[LEFT_ARROW-4]
  13. _ = x[HOME-5]
  14. _ = x[END-6]
  15. _ = x[PAGE_UP-7]
  16. _ = x[PAGE_DOWN-8]
  17. _ = x[INSERT-9]
  18. _ = x[DELETE-10]
  19. _ = x[F1-11]
  20. _ = x[F2-12]
  21. _ = x[F3-13]
  22. _ = x[F4-14]
  23. _ = x[F5-15]
  24. _ = x[F6-16]
  25. _ = x[F7-17]
  26. _ = x[F8-18]
  27. _ = x[F9-19]
  28. _ = x[F10-20]
  29. _ = x[F11-21]
  30. _ = x[F12-22]
  31. _ = x[MOUSE-23]
  32. _ = x[CURSOR-24]
  33. _ = x[ALT_a-25]
  34. _ = x[ALT_b-26]
  35. _ = x[ALT_c-27]
  36. _ = x[ALT_d-28]
  37. _ = x[ALT_e-29]
  38. _ = x[ALT_f-30]
  39. _ = x[ALT_g-31]
  40. _ = x[ALT_h-32]
  41. _ = x[ALT_i-33]
  42. _ = x[ALT_j-34]
  43. _ = x[ALT_k-35]
  44. _ = x[ALT_l-36]
  45. _ = x[ALT_m-37]
  46. _ = x[ALT_n-38]
  47. _ = x[ALT_o-39]
  48. _ = x[ALT_p-40]
  49. _ = x[ALT_q-41]
  50. _ = x[ALT_r-42]
  51. _ = x[ALT_s-43]
  52. _ = x[ALT_t-44]
  53. _ = x[ALT_u-45]
  54. _ = x[ALT_v-46]
  55. _ = x[ALT_w-47]
  56. _ = x[ALT_x-48]
  57. _ = x[ALT_y-49]
  58. _ = x[ALT_z-50]
  59. _ = x[ALT_A-51]
  60. _ = x[ALT_B-52]
  61. _ = x[ALT_C-53]
  62. _ = x[ALT_D-54]
  63. _ = x[ALT_E-55]
  64. _ = x[ALT_F-56]
  65. _ = x[ALT_G-57]
  66. _ = x[ALT_H-58]
  67. _ = x[ALT_I-59]
  68. _ = x[ALT_J-60]
  69. _ = x[ALT_K-61]
  70. _ = x[ALT_L-62]
  71. _ = x[ALT_M-63]
  72. _ = x[ALT_N-64]
  73. _ = x[ALT_O-65]
  74. _ = x[ALT_P-66]
  75. _ = x[ALT_Q-67]
  76. _ = x[ALT_R-68]
  77. _ = x[ALT_S-69]
  78. _ = x[ALT_T-70]
  79. _ = x[ALT_U-71]
  80. _ = x[ALT_V-72]
  81. _ = x[ALT_W-73]
  82. _ = x[ALT_X-74]
  83. _ = x[ALT_Y-75]
  84. _ = x[ALT_Z-76]
  85. _ = x[UNKNOWN-77]
  86. }
  87. const _Extended_name = "NOPUP_ARROWDOWN_ARROWRIGHT_ARROWLEFT_ARROWHOMEENDPAGE_UPPAGE_DOWNINSERTDELETEF1F2F3F4F5F6F7F8F9F10F11F12MOUSECURSORALT_aALT_bALT_cALT_dALT_eALT_fALT_gALT_hALT_iALT_jALT_kALT_lALT_mALT_nALT_oALT_pALT_qALT_rALT_sALT_tALT_uALT_vALT_wALT_xALT_yALT_zALT_AALT_BALT_CALT_DALT_EALT_FALT_GALT_HALT_IALT_JALT_KALT_LALT_MALT_NALT_OALT_PALT_QALT_RALT_SALT_TALT_UALT_VALT_WALT_XALT_YALT_ZUNKNOWN"
  88. var _Extended_index = [...]uint16{0, 3, 11, 21, 32, 42, 46, 49, 56, 65, 71, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 98, 101, 104, 109, 115, 120, 125, 130, 135, 140, 145, 150, 155, 160, 165, 170, 175, 180, 185, 190, 195, 200, 205, 210, 215, 220, 225, 230, 235, 240, 245, 250, 255, 260, 265, 270, 275, 280, 285, 290, 295, 300, 305, 310, 315, 320, 325, 330, 335, 340, 345, 350, 355, 360, 365, 370, 375, 382}
  89. func (i Extended) String() string {
  90. if i < 0 || i >= Extended(len(_Extended_index)-1) {
  91. return "Extended(" + strconv.FormatInt(int64(i), 10) + ")"
  92. }
  93. return _Extended_name[_Extended_index[i]:_Extended_index[i+1]]
  94. }