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.

pike.php 3.2KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?php
  2. /*************************************************************************************
  3. * pike.php
  4. * --------
  5. * Author: Rick E. (codeblock@eighthbit.net)
  6. * Copyright: (c) 2009 Rick E.
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2009/12/10
  9. *
  10. * Pike language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2009/12/25 (1.0.8.6)
  15. * - First Release
  16. *
  17. * TODO (updated 2009/12/25)
  18. * -------------------------
  19. *
  20. *
  21. *************************************************************************************
  22. *
  23. * This file is part of GeSHi.
  24. *
  25. * GeSHi is free software; you can redistribute it and/or modify
  26. * it under the terms of the GNU General Public License as published by
  27. * the Free Software Foundation; either version 2 of the License, or
  28. * (at your option) any later version.
  29. *
  30. * GeSHi is distributed in the hope that it will be useful,
  31. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  32. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  33. * GNU General Public License for more details.
  34. *
  35. * You should have received a copy of the GNU General Public License
  36. * along with GeSHi; if not, write to the Free Software
  37. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  38. *
  39. ************************************************************************************/
  40. $language_data = array(
  41. 'LANG_NAME' => 'Pike',
  42. 'COMMENT_SINGLE' => array(1 => '//'),
  43. 'COMMENT_MULTI' => array('/*' => '*/'),
  44. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  45. 'QUOTEMARKS' => array('"'),
  46. 'ESCAPE_CHAR' => '\\',
  47. 'KEYWORDS' => array(
  48. 1 => array(
  49. 'goto', 'break', 'continue', 'return', 'case', 'default', 'if',
  50. 'else', 'switch', 'while', 'foreach', 'do', 'for', 'gauge',
  51. 'destruct', 'lambda', 'inherit', 'import', 'typeof', 'catch',
  52. 'inline', 'nomask', 'private', 'protected', 'public', 'static'
  53. )
  54. ),
  55. 'SYMBOLS' => array(
  56. 1 => array(
  57. '(', ')', '{', '}', '[', ']', '+', '-', '*', '/', '%', '=', '!', '&', '|', '?', ';'
  58. )
  59. ),
  60. 'CASE_SENSITIVE' => array(
  61. GESHI_COMMENTS => false,
  62. 1 => true
  63. ),
  64. 'STYLES' => array(
  65. 'KEYWORDS' => array(
  66. 1 => 'color: #b1b100;'
  67. ),
  68. 'COMMENTS' => array(
  69. 1 => 'color: #666666; font-style: italic;',
  70. 'MULTI' => 'color: #666666; font-style: italic;'
  71. ),
  72. 'ESCAPE_CHAR' => array(
  73. 0 => 'color: #000099; font-weight: bold;'
  74. ),
  75. 'BRACKETS' => array(
  76. 0 => 'color: #009900;'
  77. ),
  78. 'STRINGS' => array(
  79. 0 => 'color: #0000ff;'
  80. ),
  81. 'NUMBERS' => array(
  82. 0 => 'color: #cc66cc;',
  83. ),
  84. 'METHODS' => array(
  85. 0 => 'color: #004000;'
  86. ),
  87. 'SYMBOLS' => array(
  88. 1 => 'color: #339933;'
  89. ),
  90. 'REGEXPS' => array(),
  91. 'SCRIPT' => array()
  92. ),
  93. 'URLS' => array(1 => ''),
  94. 'OOLANG' => true,
  95. 'OBJECT_SPLITTERS' => array(1 => '.'),
  96. 'REGEXPS' => array(),
  97. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  98. 'SCRIPT_DELIMITERS' => array(),
  99. 'HIGHLIGHT_STRICT_BLOCK' => array()
  100. );
  101. ?>