_ada_builtins.py 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. """
  2. pygments.lexers._ada_builtins
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. Ada builtins.
  5. :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
  6. :license: BSD, see LICENSE for details.
  7. """
  8. KEYWORD_LIST = (
  9. 'abort',
  10. 'abs',
  11. 'abstract',
  12. 'accept',
  13. 'access',
  14. 'aliased',
  15. 'all',
  16. 'array',
  17. 'at',
  18. 'begin',
  19. 'body',
  20. 'case',
  21. 'constant',
  22. 'declare',
  23. 'delay',
  24. 'delta',
  25. 'digits',
  26. 'do',
  27. 'else',
  28. 'elsif',
  29. 'end',
  30. 'entry',
  31. 'exception',
  32. 'exit',
  33. 'interface',
  34. 'for',
  35. 'goto',
  36. 'if',
  37. 'is',
  38. 'limited',
  39. 'loop',
  40. 'new',
  41. 'null',
  42. 'of',
  43. 'or',
  44. 'others',
  45. 'out',
  46. 'overriding',
  47. 'pragma',
  48. 'protected',
  49. 'raise',
  50. 'range',
  51. 'record',
  52. 'renames',
  53. 'requeue',
  54. 'return',
  55. 'reverse',
  56. 'select',
  57. 'separate',
  58. 'some',
  59. 'subtype',
  60. 'synchronized',
  61. 'task',
  62. 'tagged',
  63. 'terminate',
  64. 'then',
  65. 'type',
  66. 'until',
  67. 'when',
  68. 'while',
  69. 'xor'
  70. )
  71. BUILTIN_LIST = (
  72. 'Address',
  73. 'Byte',
  74. 'Boolean',
  75. 'Character',
  76. 'Controlled',
  77. 'Count',
  78. 'Cursor',
  79. 'Duration',
  80. 'File_Mode',
  81. 'File_Type',
  82. 'Float',
  83. 'Generator',
  84. 'Integer',
  85. 'Long_Float',
  86. 'Long_Integer',
  87. 'Long_Long_Float',
  88. 'Long_Long_Integer',
  89. 'Natural',
  90. 'Positive',
  91. 'Reference_Type',
  92. 'Short_Float',
  93. 'Short_Integer',
  94. 'Short_Short_Float',
  95. 'Short_Short_Integer',
  96. 'String',
  97. 'Wide_Character',
  98. 'Wide_String'
  99. )