A tumblelog CMS built on AJAX, PHP and MySQL.

abap.php 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?php
  2. /*************************************************************************************
  3. * abap.php
  4. * --------
  5. * Author: Andres Picazo (andres@andrespicazo.com)
  6. * Copyright: (c) 2007 Andres Picazo
  7. * Release Version: 1.0.7.21
  8. * Date Started: 2004/06/04
  9. *
  10. * ABAP language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2007/06/27 (1.0.0)
  15. * - First Release
  16. *
  17. * TODO
  18. * ----
  19. *
  20. *************************************************************************************
  21. *
  22. * This file is part of GeSHi.
  23. *
  24. * GeSHi is free software; you can redistribute it and/or modify
  25. * it under the terms of the GNU General Public License as published by
  26. * the Free Software Foundation; either version 2 of the License, or
  27. * (at your option) any later version.
  28. *
  29. * GeSHi is distributed in the hope that it will be useful,
  30. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  31. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  32. * GNU General Public License for more details.
  33. *
  34. * You should have received a copy of the GNU General Public License
  35. * along with GeSHi; if not, write to the Free Software
  36. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  37. *
  38. ************************************************************************************/
  39. $language_data = array (
  40. 'LANG_NAME' => 'ABAP',
  41. 'COMMENT_SINGLE' => array(1 => '"', 2 => '*'),
  42. 'CASE_KEYWORDS' => 0,
  43. 'QUOTEMARKS' => array("'"),
  44. 'ESCAPE_CHAR' => '',
  45. 'KEYWORDS' => array(
  46. 1 => array(
  47. 'if', 'return', 'while', 'case', 'default',
  48. 'do', 'else', 'for', 'endif', 'elseif', 'eq',
  49. 'not', 'and'
  50. ),
  51. 2 => array(
  52. 'data', 'types', 'seletion-screen', 'parameters', 'field-symbols', 'extern', 'inline'
  53. ),
  54. 3 => array(
  55. 'report', 'write', 'append', 'select', 'endselect', 'call method', 'call function',
  56. 'loop', 'endloop', 'raise', 'read table', 'concatenate', 'split', 'shift',
  57. 'condense', 'describe', 'clear', 'endfunction', 'assign', 'create data', 'translate',
  58. 'continue', 'start-of-selection', 'at selection-screen', 'modify', 'call screen',
  59. 'create object', 'perform', 'form', 'endform',
  60. 'reuse_alv_block_list_init', 'zbcialv', 'include'
  61. ),
  62. 4 => array(
  63. 'type ref to', 'type', 'begin of', 'end of', 'like', 'into',
  64. 'from', 'where', 'order by', 'with key', 'into', 'string', 'separated by',
  65. 'exporting', 'importing', 'to upper case', 'to', 'exceptions', 'tables',
  66. 'using', 'changing'
  67. ),
  68. ),
  69. 'SYMBOLS' => array(
  70. '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
  71. ),
  72. 'CASE_SENSITIVE' => array(
  73. GESHI_COMMENTS => true,
  74. 1 => false,
  75. 2 => false,
  76. 3 => false,
  77. 4 => false,
  78. ),
  79. 'STYLES' => array(
  80. 'KEYWORDS' => array(
  81. 1 => 'color: #b1b100;',
  82. 2 => 'color: #000000; font-weight: bold;',
  83. 3 => 'color: #000066;',
  84. 4 => 'color: #993333;'
  85. ),
  86. 'COMMENTS' => array(
  87. 1 => 'color: #808080; font-style: italic;',
  88. 2 => 'color: #339933;',
  89. 'MULTI' => 'color: #808080; font-style: italic;'
  90. ),
  91. 'ESCAPE_CHAR' => array(
  92. 0 => 'color: #000099; font-weight: bold;'
  93. ),
  94. 'BRACKETS' => array(
  95. 0 => 'color: #66cc66;'
  96. ),
  97. 'STRINGS' => array(
  98. 0 => 'color: #ff0000;'
  99. ),
  100. 'NUMBERS' => array(
  101. 0 => 'color: #cc66cc;'
  102. ),
  103. 'METHODS' => array(
  104. 1 => 'color: #202020;',
  105. 2 => 'color: #202020;'
  106. ),
  107. 'SYMBOLS' => array(
  108. 0 => 'color: #66cc66;'
  109. ),
  110. 'REGEXPS' => array(
  111. ),
  112. 'SCRIPT' => array(
  113. )
  114. ),
  115. 'URLS' => array(
  116. 1 => '',
  117. 2 => '',
  118. 3 => 'http://sap4.com/wiki/index.php?title={FNAME}',
  119. 4 => ''
  120. ),
  121. 'OOLANG' => true,
  122. 'OBJECT_SPLITTERS' => array(
  123. 1 => '.',
  124. 2 => '::'
  125. ),
  126. 'REGEXPS' => array(
  127. ),
  128. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  129. 'SCRIPT_DELIMITERS' => array(
  130. ),
  131. 'HIGHLIGHT_STRICT_BLOCK' => array(
  132. )
  133. );
  134. ?>