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.

spark.php 4.1KB

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