/src/lib/string/character_constants.e

http://github.com/tybor/Liberty · Specman e · 85 lines · 30 code · 28 blank · 27 comment · 0 complexity · 375267affed0064157e4925f709c3841 MD5 · raw file

  1. -- This file is part of a Liberty Eiffel library.
  2. -- See the full copyright at the end.
  3. --
  4. expanded class CHARACTER_CONSTANTS
  5. --
  6. -- Platform-independent, universal, character constants.
  7. -- Intended to be used as ancestor for classes that need these constants.
  8. --
  9. feature {ANY} -- Character names:
  10. Ctrl_a: CHARACTER '%/1/'
  11. Ctrl_b: CHARACTER '%/2/'
  12. Ctrl_c: CHARACTER '%/3/'
  13. Ctrl_d: CHARACTER '%/4/'
  14. Ctrl_e: CHARACTER '%/5/'
  15. Ctrl_f: CHARACTER '%/6/'
  16. Ctrl_g: CHARACTER '%/7/'
  17. Ch_bs: CHARACTER '%/8/'
  18. Ch_tab: CHARACTER '%/9/'
  19. Ctrl_j: CHARACTER '%/10/'
  20. Ctrl_k: CHARACTER '%/11/'
  21. Ctrl_l: CHARACTER '%/12/'
  22. Ctrl_m: CHARACTER '%/13/'
  23. Ctrl_n: CHARACTER '%/14/'
  24. Ctrl_o: CHARACTER '%/15/'
  25. Ctrl_p: CHARACTER '%/16/'
  26. Ctrl_q: CHARACTER '%/17/'
  27. Ctrl_r: CHARACTER '%/18/'
  28. Ctrl_s: CHARACTER '%/19/'
  29. Ctrl_t: CHARACTER '%/20/'
  30. Ctrl_u: CHARACTER '%/21/'
  31. Ctrl_v: CHARACTER '%/22/'
  32. Ctrl_w: CHARACTER '%/23/'
  33. Ctrl_x: CHARACTER '%/24/'
  34. Ctrl_y: CHARACTER '%/25/'
  35. Ctrl_z: CHARACTER '%/26/'
  36. Ch_del: CHARACTER '%/127/'
  37. end -- class CHARACTER_CONSTANTS
  38. --
  39. -- Copyright (C) 2009-2017: by all the people cited in the AUTHORS file.
  40. --
  41. -- Permission is hereby granted, free of charge, to any person obtaining a copy
  42. -- of this software and associated documentation files (the "Software"), to deal
  43. -- in the Software without restriction, including without limitation the rights
  44. -- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  45. -- copies of the Software, and to permit persons to whom the Software is
  46. -- furnished to do so, subject to the following conditions:
  47. --
  48. -- The above copyright notice and this permission notice shall be included in
  49. -- all copies or substantial portions of the Software.
  50. --
  51. -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  52. -- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  53. -- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  54. -- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  55. -- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  56. -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  57. -- THE SOFTWARE.