A tumblelog CMS built on AJAX, PHP and MySQL.

idl.php 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?php
  2. /*************************************************************************************
  3. * idl.php
  4. * -------
  5. * Author: Cedric Bosdonnat (cedricbosdo@openoffice.org)
  6. * Copyright: (c) 2006 Cedric Bosdonnat
  7. * Release Version: 1.0.7.21
  8. * Date Started: 2006/08/20
  9. *
  10. * Unoidl language file for GeSHi.
  11. *
  12. * 2006/08/20 (1.0.0)
  13. * - First Release
  14. *
  15. *************************************************************************************
  16. *
  17. * This file is part of GeSHi.
  18. *
  19. * GeSHi is free software; you can redistribute it and/or modify
  20. * it under the terms of the GNU General Public License as published by
  21. * the Free Software Foundation; either version 2 of the License, or
  22. * (at your option) any later version.
  23. *
  24. * GeSHi is distributed in the hope that it will be useful,
  25. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27. * GNU General Public License for more details.
  28. *
  29. * You should have received a copy of the GNU General Public License
  30. * along with GeSHi; if not, write to the Free Software
  31. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  32. *
  33. ************************************************************************************/
  34. $language_data = array (
  35. 'LANG_NAME' => 'Uno Idl',
  36. 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
  37. 'COMMENT_MULTI' => array('/*' => '*/'),
  38. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  39. 'QUOTEMARKS' => array("'", '"'),
  40. 'ESCAPE_CHAR' => '\\',
  41. 'KEYWORDS' => array(
  42. 1 => array(
  43. 'published', 'get', 'set', 'service', 'singleton', 'type', 'module', 'interface', 'struct',
  44. 'const', 'constants', 'exception', 'enum', 'raises', 'typedef'
  45. ),
  46. 2 => array(
  47. 'bound', 'maybeambiguous', 'maybedefault', 'maybevoid', 'oneway', 'optional',
  48. 'readonly', 'in', 'out', 'inout', 'attribute', 'transient', 'removable'
  49. ),
  50. 3 => array(
  51. 'True', 'False', 'TRUE', 'FALSE'
  52. ),
  53. 4 => array(
  54. 'string', 'long', 'byte', 'hyper', 'boolean', 'any', 'char', 'double', 'long',
  55. 'void', 'sequence', 'unsigned', '...'
  56. ),
  57. ),
  58. 'SYMBOLS' => array(
  59. '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':', ';'
  60. ),
  61. 'CASE_SENSITIVE' => array(
  62. GESHI_COMMENTS => true,
  63. 1 => true,
  64. 2 => true,
  65. 3 => true,
  66. 4 => true,
  67. ),
  68. 'STYLES' => array(
  69. 'KEYWORDS' => array(
  70. 1 => 'color: #990078; font-weight: bold',
  71. 2 => 'color: #36dd1c;',
  72. 3 => 'color: #990078; font-weight: bold',
  73. 4 => 'color: #0000ec;'
  74. ),
  75. 'COMMENTS' => array(
  76. 1 => 'color: #3f7f5f;',
  77. 2 => 'color: #808080;',
  78. 'MULTI' => 'color: #4080ff; font-style: italic;'
  79. ),
  80. 'ESCAPE_CHAR' => array(
  81. 0 => 'color: #666666; font-weight: bold;'
  82. ),
  83. 'BRACKETS' => array(
  84. 0 => 'color: #808080;'
  85. ),
  86. 'STRINGS' => array(
  87. 0 => 'color: #ff0000;'
  88. ),
  89. 'NUMBERS' => array(
  90. 0 => 'color: #0000dd;'
  91. ),
  92. 'METHODS' => array(
  93. ),
  94. 'SYMBOLS' => array(
  95. 0 => 'color: #66cc66;'
  96. ),
  97. 'REGEXPS' => array(
  98. ),
  99. 'SCRIPT' => array(
  100. )
  101. ),
  102. 'URLS' => array(
  103. ),
  104. 'OOLANG' => false,
  105. 'OBJECT_SPLITTERS' => array(
  106. 1 => '::'
  107. ),
  108. 'REGEXPS' => array(
  109. ),
  110. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  111. 'SCRIPT_DELIMITERS' => array(
  112. ),
  113. 'HIGHLIGHT_STRICT_BLOCK' => array(
  114. )
  115. );
  116. ?>