Codulle - L'explorateur de code sources

Accueil>> AlBulle >> Albulle1.0rc3 >> core

Informations fichier

Nom du fichier : perl.php
Taille du fichier : 5 Ko (163 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * perl.php
  3. * --------
  4. * Author: Andreas Gohr (andi@splitbrain.org), Ben Keen (ben.keen@gmail.com)
  5. * Copyright: (c) 2004 Andreas Gohr, Ben Keen (http://www.benjaminkeen.org/), 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. * Perl language file for GeSHi.
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/11/27 (1.0.1)
  16. * - Added support for multiple object splitters
  17. * 2004/08/20 (1.0.0)
  18. * - First Release
  19. *
  20. * TODO (updated 2004/11/27)
  21. * -------------------------
  22. * * LABEL:
  23. * * string comparison operators
  24. *
  25. *************************************************************************************
  26. *
  27. * This file is part of GeSHi.
  28. *
  29. * GeSHi is free software; you can redistribute it and/or modify
  30. * it under the terms of the GNU General Public License as published by
  31. * the Free Software Foundation; either version 2 of the License, or
  32. * (at your option) any later version.
  33. *
  34. * GeSHi is distributed in the hope that it will be useful,
  35. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  36. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  37. * GNU General Public License for more details.
  38. *
  39. * You should have received a copy of the GNU General Public License
  40. * along with GeSHi; if not, write to the Free Software
  41. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  42. *
  43. ************************************************************************************/'LANG_NAME' => 'Perl',
  44. 'COMMENT_SINGLE''#'),
  45. 'COMMENT_MULTI''=pod' => '=cut'),
  46. 'CASE_KEYWORDS''QUOTEMARKS'"'", '"'),
  47. 'ESCAPE_CHAR' => '\\',
  48. 'KEYWORDS''case', 'do', 'else', 'elsif', 'for', 'if', 'then', 'until', 'while', 'foreach', 'my',
  49. 'or', 'and', 'unless', 'next', 'last', 'redo', 'not', 'our',
  50. 'reset', 'continue','and', 'cmp', 'ne''use', 'sub', 'new', '__END__', '__DATA__', '__DIE__', '__WARN__', 'BEGIN',
  51. 'STDIN', 'STDOUT', 'STDERR''abs', 'accept', 'alarm', 'atan2', 'bind', 'binmode', 'bless',
  52. 'caller', 'chdir', 'chmod', 'chomp', 'chop', 'chown', 'chr',
  53. 'chroot', 'close', 'closedir', 'connect', 'continue', 'cos',
  54. 'crypt', 'dbmclose', 'dbmopen', 'defined', 'delete', 'die',
  55. 'dump', 'each', 'endgrent', 'endhostent', 'endnetent', 'endprotoent',
  56. 'endpwent', 'endservent', 'eof', 'eval', 'exec', 'exists', 'exit',
  57. 'exp', 'fcntl', 'fileno', 'flock', 'fork', 'format', 'formline',
  58. 'getc', 'getgrent', 'getgrgid', 'getgrnam', 'gethostbyaddr',
  59. 'gethostbyname', 'gethostent', 'getlogin', 'getnetbyaddr', 'getnetbyname',
  60. 'getnetent', 'getpeername', 'getpgrp', 'getppid', 'getpriority',
  61. 'getprotobyname', 'getprotobynumber', 'getprotoent', 'getpwent',
  62. 'getpwnam', 'getpwuid', 'getservbyname', 'getservbyport', 'getservent',
  63. 'getsockname', 'getsockopt', 'glob', 'gmtime', 'goto', 'grep',
  64. 'hex', 'import', 'index', 'int', 'ioctl', 'join', 'keys', 'kill',
  65. 'last', 'lc', 'lcfirst', 'length', 'link', 'listen', 'local',
  66. 'localtime', 'log', 'lstat', 'm', 'map', 'mkdir', 'msgctl', 'msgget',
  67. 'msgrcv', 'msgsnd', 'my', 'next', 'no', 'oct', 'open', 'opendir',
  68. 'ord', 'our', 'pack', 'package', 'pipe', 'pop', 'pos', 'print',
  69. 'printf', 'prototype', 'push', 'qq', 'qr', 'quotemeta', 'qw',
  70. 'qx', 'q', 'rand', 'read', 'readdir', 'readline', 'readlink', 'readpipe',
  71. 'recv', 'redo', 'ref', 'rename', 'require', 'return',
  72. 'reverse', 'rewinddir', 'rindex', 'rmdir', 's', 'scalar', 'seek',
  73. 'seekdir', 'select', 'semctl', 'semget', 'semop', 'send', 'setgrent',
  74. 'sethostent', 'setnetent', 'setpgrp', 'setpriority', 'setprotoent',
  75. 'setpwent', 'setservent', 'setsockopt', 'shift', 'shmctl', 'shmget',
  76. 'shmread', 'shmwrite', 'shutdown', 'sin', 'sleep', 'socket', 'socketpair',
  77. 'sort', 'splice', 'split', 'sprintf', 'sqrt', 'srand', 'stat',
  78. 'study', 'substr', 'symlink', 'syscall', 'sysopen', 'sysread',
  79. 'sysseek', 'system', 'syswrite', 'tell', 'telldir', 'tie', 'tied',
  80. 'time', 'times', 'tr', 'truncate', 'uc', 'ucfirst', 'umask', 'undef',
  81. 'unlink', 'unpack', 'unshift', 'untie', 'utime', 'values',
  82. 'vec', 'wait', 'waitpid', 'wantarray', 'warn', 'write', 'y'
  83. )
  84. ),
  85. 'SYMBOLS''(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>'
  86. ),
  87. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #b1b100;',
  88. 2 => 'color: #000000; font-weight: bold;',
  89. 3 => 'color: #000066;'
  90. ),
  91. 'COMMENTS''color: #808080; font-style: italic;',
  92. 'MULTI' => 'color: #808080; font-style: italic;'
  93. ),
  94. 'ESCAPE_CHAR''color: #000099; font-weight: bold;'
  95. ),
  96. 'BRACKETS''color: #66cc66;'
  97. ),
  98. 'STRINGS''color: #ff0000;'
  99. ),
  100. 'NUMBERS''color: #cc66cc;'
  101. ),
  102. 'METHODS''color: #006600;',
  103. 2 => 'color: #006600;'
  104. ),
  105. 'SYMBOLS''color: #66cc66;'
  106. ),
  107. 'REGEXPS''color: #0000ff;',
  108. 4 => 'color: #009999;',
  109. ),
  110. 'SCRIPT''URLS''http://www.perldoc.com/perl5.6/pod/func/{FNAME}.html'
  111. ),
  112. 'OOLANG''OBJECT_SPLITTERS''-&gt;',
  113. 2 => '::'
  114. ),
  115. 'REGEXPS''[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
  116. 4 => '&lt;[a-zA-Z_][a-zA-Z0-9_]*&gt;',
  117. ),
  118. 'STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

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