Codulle - L'explorateur de code sources

Accueil>> AlBulle >> AlBulle0.4

Informations fichier

Nom du fichier : bash.php
Taille du fichier : 3 Ko (131 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * bash.php
  3. * --------
  4. * Author: Andreas Gohr (andi@splitbrain.org)
  5. * Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter)
  6. * Release Version: 1.0.7.5
  7. * CVS Revision Version: $Revision: 1.5 $
  8. * Date Started: 2004/08/20
  9. * Last Modified: $Date: 2005/10/22 07:52:59 $
  10. *
  11. * BASH language file for GeSHi.
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/11/27 (1.0.2)
  16. * - Added support for multiple object splitters
  17. * 2004/10/27 (1.0.1)
  18. * - Added support for URLs
  19. * 2004/08/20 (1.0.0)
  20. * - First Release
  21. *
  22. * TODO (updated 2004/11/27)
  23. * -------------------------
  24. * * Get symbols working
  25. * * Highlight builtin vars
  26. *
  27. *************************************************************************************
  28. *
  29. * This file is part of GeSHi.
  30. *
  31. * GeSHi is free software; you can redistribute it and/or modify
  32. * it under the terms of the GNU General Public License as published by
  33. * the Free Software Foundation; either version 2 of the License, or
  34. * (at your option) any later version.
  35. *
  36. * GeSHi is distributed in the hope that it will be useful,
  37. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  38. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  39. * GNU General Public License for more details.
  40. *
  41. * You should have received a copy of the GNU General Public License
  42. * along with GeSHi; if not, write to the Free Software
  43. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  44. *
  45. ************************************************************************************/'LANG_NAME' => 'Bash',
  46. 'COMMENT_SINGLE''#'),
  47. 'COMMENT_MULTI''CASE_KEYWORDS''QUOTEMARKS'"'", '"'),
  48. 'ESCAPE_CHAR' => '\\',
  49. 'KEYWORDS''case', 'do', 'done', 'elif', 'else', 'esac', 'fi', 'for', 'function',
  50. 'if', 'in', 'select', 'then', 'until', 'while', 'time''source', 'alias', 'bg', 'bind', 'break', 'builtin', 'cd', 'command',
  51. 'compgen', 'complete', 'continue', 'declare', 'typeset', 'dirs',
  52. 'disown', 'echo', 'enable', 'eval', 'exec', 'exit', 'export', 'fc',
  53. 'fg', 'getopts', 'hash', 'help', 'history', 'jobs', 'kill', 'let',
  54. 'local', 'logout', 'popd', 'printf', 'pushd', 'pwd', 'read', 'readonly',
  55. 'return', 'set', 'shift', 'shopt', 'suspend', 'test', 'times', 'trap',
  56. 'type', 'ulimit', 'umask', 'unalias', 'unset', 'wait'
  57. )
  58. ),
  59. 'SYMBOLS''(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>'
  60. ),
  61. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #b1b100;',
  62. 3 => 'color: #000066;'
  63. ),
  64. 'COMMENTS''color: #808080; font-style: italic;',
  65. ),
  66. 'ESCAPE_CHAR''color: #000099; font-weight: bold;'
  67. ),
  68. 'BRACKETS''color: #66cc66;'
  69. ),
  70. 'STRINGS''color: #ff0000;'
  71. ),
  72. 'NUMBERS''color: #cc66cc;'
  73. ),
  74. 'METHODS''SYMBOLS''color: #66cc66;'
  75. ),
  76. 'REGEXPS''color: #0000ff;',
  77. 1 => 'color: #0000ff;',
  78. 2 => 'color: #0000ff;'
  79. ),
  80. 'SCRIPT''URLS''',
  81. 3 => ''
  82. ),
  83. 'OOLANG''OBJECT_SPLITTERS''REGEXPS'"\\$\\{[a-zA-Z_][a-zA-Z0-9_]*?\\}",
  84. 1 => "\\$[a-zA-Z_][a-zA-Z0-9_]*",
  85. 2 => "([a-zA-Z_][a-zA-Z0-9_]*)="
  86. ),
  87. 'STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

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