Codulle - L'explorateur de code sources

Accueil>> AlBulle >> AlBulle0.2 >> classes

Informations fichier

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

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * pascal.php
  3. * ----------
  4. * Author: Tux (tux@inamil.cz)
  5. * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
  6. * Release Version: 1.0.7.5
  7. * CVS Revision Version: $Revision: 1.5 $
  8. * Date Started: 2004/07/26
  9. * Last Modified: $Date: 2005/10/22 07:52:59 $
  10. *
  11. * Pascal 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/05 (1.0.0)
  20. * - Added support for symbols
  21. * 2004/07/27 (0.9.1)
  22. * - Pascal is OO language. Some new words.
  23. * 2004/07/26 (0.9.0)
  24. * - First Release
  25. *
  26. * TODO (updated 2004/11/27)
  27. * -------------------------
  28. *
  29. *************************************************************************************
  30. *
  31. * This file is part of GeSHi.
  32. *
  33. * GeSHi is free software; you can redistribute it and/or modify
  34. * it under the terms of the GNU General Public License as published by
  35. * the Free Software Foundation; either version 2 of the License, or
  36. * (at your option) any later version.
  37. *
  38. * GeSHi is distributed in the hope that it will be useful,
  39. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  40. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  41. * GNU General Public License for more details.
  42. *
  43. * You should have received a copy of the GNU General Public License
  44. * along with GeSHi; if not, write to the Free Software
  45. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  46. *
  47. ************************************************************************************/'LANG_NAME' => 'Pascal',
  48. 'COMMENT_SINGLE''//'),
  49. 'COMMENT_MULTI''{' => '}','(*' => '*)'),
  50. 'CASE_KEYWORDS''QUOTEMARKS'"'", '"'),
  51. 'ESCAPE_CHAR' => '\\',
  52. 'KEYWORDS''if', 'while', 'until', 'repeat', 'default',
  53. 'do', 'else', 'for', 'switch', 'goto','label','asm','begin','end',
  54. 'assembler','case', 'downto', 'to','div','mod','far','forward','in','inherited',
  55. 'inline','interrupt','label','library','not','var','of','then','stdcall',
  56. 'cdecl','end.','raise','try','except','name','finally','resourcestring','override','overload',
  57. 'default','public','protected','private','property','published','stored','catch''nil', 'false', 'break', 'true', 'function', 'procedure','implementation','interface',
  58. 'unit','program','initialization','finalization','uses''abs', 'absolute','and','arc','arctan','chr','constructor','destructor',
  59. 'dispose','cos','eof','eoln','exp','get','index','ln','new','xor','write','writeln',
  60. 'shr','sin','sqrt','succ','pred','odd','read','readln','ord','ordinal','blockread','blockwrite''array', 'char', 'const', 'boolean', 'real', 'integer', 'longint',
  61. 'word', 'shortint', 'record','byte','bytebool','string',
  62. 'type','object','export','exports','external','file','longbool','pointer','set',
  63. 'packed','ansistring','union'
  64. ),
  65. ),
  66. 'SYMBOLS''CASE_SENSITIVE''STYLES''KEYWORDS''color: #b1b100;',
  67. 2 => 'color: #000000; font-weight: bold;',
  68. 3 => '',
  69. 4 => 'color: #993333;'
  70. ),
  71. 'COMMENTS''color: #808080; font-style: italic;',
  72. 2 => 'color: #339933;',
  73. 'MULTI' => 'color: #808080; font-style: italic;'
  74. ),
  75. 'ESCAPE_CHAR''color: #000099; font-weight: bold;'
  76. ),
  77. 'BRACKETS''color: #66cc66;'
  78. ),
  79. 'STRINGS''color: #ff0000;'
  80. ),
  81. 'NUMBERS''color: #cc66cc;'
  82. ),
  83. 'METHODS''color: #202020;'
  84. ),
  85. 'SYMBOLS''color: #66cc66;'
  86. ),
  87. 'REGEXPS''SCRIPT''URLS''',
  88. 2 => '',
  89. 3 => '',
  90. 4 => ''
  91. ),
  92. 'OOLANG''OBJECT_SPLITTERS''.'
  93. ),
  94. 'REGEXPS''STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

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