Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GeSHi has a deprecated constructor in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 158

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/demos/codulle/classes/geshi.php on line 2012
.: Codulle : Source de javascript.php :.

pub

Codulle - L'explorateur de code sources

Accueil>> Codulle0.1.1 >> codulle >> classes >> geshi

Informations fichier

Nom du fichier : javascript.php
Taille du fichier : 4 Ko (146 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * javascript.php
  3. * --------------
  4. * Author: Ben Keen (ben.keen@gmail.com)
  5. * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
  6. * Release Version: 1.0.7.5
  7. * CVS Revision Version: $Revision: 1.5 $
  8. * Date Started: 2004/06/20
  9. * Last Modified: $Date: 2005/10/22 07:52:59 $
  10. *
  11. * JavaScript language file for GeSHi.
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/11/27 (1.0.1)
  16. * - Added support for multiple object splitters
  17. * 2004/10/27 (1.0.0)
  18. * - First Release
  19. *
  20. * TODO (updated 2004/11/27)
  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. ************************************************************************************/'LANG_NAME' => 'JAVASCRIPT',
  42. 'COMMENT_SINGLE''//'),
  43. 'COMMENT_MULTI''/*' => '*/'),
  44. 'CASE_KEYWORDS''QUOTEMARKS'"'", '"'),
  45. 'ESCAPE_CHAR' => '\\',
  46. 'KEYWORDS''as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do',
  47. 'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item',
  48. 'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void',
  49. 'while', 'write', 'with''class', 'const', 'default', 'debugger', 'export', 'extends', 'false',
  50. 'function', 'import', 'namespace', 'new', 'null', 'package', 'private',
  51. 'protected', 'public', 'super', 'true', 'use', 'var'// common functions for Window object
  52. 'alert', 'back', 'blur', 'close', 'confirm', 'focus', 'forward', 'home',
  53. 'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove',
  54. 'onresize', 'onunload', 'open', 'print', 'prompt', 'scroll', 'status',
  55. 'stop',
  56. )
  57. ),
  58. 'SYMBOLS''(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
  59. ),
  60. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #000066; font-weight: bold;',
  61. 2 => 'color: #003366; font-weight: bold;',
  62. 3 => 'color: #000066;'
  63. ),
  64. 'COMMENTS''color: #009900; font-style: italic;',
  65. 'MULTI' => 'color: #009900; font-style: italic;'
  66. ),
  67. 'ESCAPE_CHAR''color: #000099; font-weight: bold;'
  68. ),
  69. 'BRACKETS''color: #66cc66;'
  70. ),
  71. 'STRINGS''color: #3366CC;'
  72. ),
  73. 'NUMBERS''color: #CC0000;'
  74. ),
  75. 'METHODS''color: #006600;'
  76. ),
  77. 'SYMBOLS''color: #66cc66;'
  78. ),
  79. 'REGEXPS''color: #0066FF;'
  80. ),
  81. 'SCRIPT''',
  82. 1 => '',
  83. 2 => '',
  84. 3 => ''
  85. )
  86. ),
  87. 'URLS''',
  88. 2 => '',
  89. 3 => ''
  90. ),
  91. 'OOLANG''OBJECT_SPLITTERS''.'
  92. ),
  93. 'REGEXPS'"/.*/([igm]*)?" // matches js reg exps
  94. ),
  95. 'STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''<script type="text/javascript">' => '</script>''<script language="javascript">' => '</script>'
  96. )
  97. ),
  98. 'HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

Publié par Codulle - v0.1.1 - © Bubulles Creations