KXStudio Website https://kx.studio/
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.

ada.php 4.2KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /*************************************************************************************
  3. * ada.php
  4. * -------
  5. * Author: Tux (tux@inmail.cz)
  6. * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2004/07/29
  9. *
  10. * Ada language file for GeSHi.
  11. * Words are from SciTe configuration file
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/11/27 (1.0.2)
  16. * - Added support for multiple object splitters
  17. * 2004/10/27 (1.0.1)
  18. * - Removed apostrophe as string delimiter
  19. * - Added URL support
  20. * 2004/08/05 (1.0.0)
  21. * - First Release
  22. *
  23. * TODO (updated 2004/11/27)
  24. * -------------------------
  25. *
  26. *************************************************************************************
  27. *
  28. * This file is part of GeSHi.
  29. *
  30. * GeSHi is free software; you can redistribute it and/or modify
  31. * it under the terms of the GNU General Public License as published by
  32. * the Free Software Foundation; either version 2 of the License, or
  33. * (at your option) any later version.
  34. *
  35. * GeSHi is distributed in the hope that it will be useful,
  36. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  37. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  38. * GNU General Public License for more details.
  39. *
  40. * You should have received a copy of the GNU General Public License
  41. * along with GeSHi; if not, write to the Free Software
  42. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  43. *
  44. ************************************************************************************/
  45. $language_data = array (
  46. 'LANG_NAME' => 'Ada',
  47. 'COMMENT_SINGLE' => array(1 => '--'),
  48. 'COMMENT_MULTI' => array('/*' => '*/'),
  49. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  50. 'QUOTEMARKS' => array('"'),
  51. 'ESCAPE_CHAR' => '\\',
  52. 'KEYWORDS' => array(
  53. 1 => array(
  54. 'begin', 'declare', 'do', 'else', 'elsif', 'exception', 'for', 'if',
  55. 'is', 'loop', 'while', 'then', 'end', 'select', 'case', 'until',
  56. 'goto', 'return'
  57. ),
  58. 2 => array(
  59. 'abs', 'and', 'at', 'mod', 'not', 'or', 'rem', 'xor'
  60. ),
  61. 3 => array(
  62. 'abort', 'abstract', 'accept', 'access', 'aliased', 'all', 'array',
  63. 'body', 'constant', 'delay', 'delta', 'digits', 'entry', 'exit',
  64. 'function', 'generic', 'in', 'interface', 'limited', 'new', 'null',
  65. 'of', 'others', 'out', 'overriding', 'package', 'pragma', 'private',
  66. 'procedure', 'protected', 'raise', 'range', 'record', 'renames',
  67. 'requeue', 'reverse', 'separate', 'subtype', 'synchronized',
  68. 'tagged', 'task', 'terminate', 'type', 'use', 'when', 'with'
  69. )
  70. ),
  71. 'SYMBOLS' => array(
  72. '(', ')'
  73. ),
  74. 'CASE_SENSITIVE' => array(
  75. GESHI_COMMENTS => false,
  76. 1 => false,
  77. 2 => false,
  78. 3 => false,
  79. ),
  80. 'STYLES' => array(
  81. 'KEYWORDS' => array(
  82. 1 => 'color: #00007f;',
  83. 2 => 'color: #0000ff;',
  84. 3 => 'color: #46aa03; font-weight:bold;',
  85. ),
  86. 'BRACKETS' => array(
  87. 0 => 'color: #66cc66;'
  88. ),
  89. 'COMMENTS' => array(
  90. 1 => 'color: #adadad; font-style: italic;',
  91. 'MULTI' => 'color: #808080; font-style: italic;'
  92. ),
  93. 'ESCAPE_CHAR' => array(
  94. 0 => 'color: #000099; font-weight: bold;'
  95. ),
  96. 'BRACKETS' => array(
  97. 0 => 'color: #66cc66;'
  98. ),
  99. 'STRINGS' => array(
  100. 0 => 'color: #7f007f;'
  101. ),
  102. 'NUMBERS' => array(
  103. 0 => 'color: #ff0000;'
  104. ),
  105. 'METHODS' => array(
  106. 1 => 'color: #202020;'
  107. ),
  108. 'SYMBOLS' => array(
  109. 0 => 'color: #66cc66;'
  110. ),
  111. 'REGEXPS' => array(
  112. ),
  113. 'SCRIPT' => array(
  114. )
  115. ),
  116. 'URLS' => array(
  117. 1 => '',
  118. 2 => '',
  119. 3 => ''
  120. ),
  121. 'OOLANG' => true,
  122. 'OBJECT_SPLITTERS' => array(
  123. 1 => '.'
  124. ),
  125. 'REGEXPS' => array(
  126. ),
  127. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  128. 'SCRIPT_DELIMITERS' => array(
  129. ),
  130. 'HIGHLIGHT_STRICT_BLOCK' => array(
  131. )
  132. );
  133. ?>