Codulle - L'explorateur de code sources

Accueil>> AlBulle >> Albulle1.0rc3

Informations fichier

Nom du fichier : csharp.php
Taille du fichier : 6 Ko (229 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * csharp.php
  3. * ----------
  4. * Author: Alan Juden (alan@judenware.org)
  5. * Copyright: (c) 2004 Alan Juden, 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/04
  9. * Last Modified: $Date: 2005/10/22 07:52:59 $
  10. *
  11. * C# language file for GeSHi.
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/11/27 (1.0.0)
  16. * - Initial release
  17. *
  18. * TODO (updated 2004/11/27)
  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. ************************************************************************************/'LANG_NAME' => 'CSharp',
  40. 'COMMENT_SINGLE''//', 2 => '#'),
  41. 'COMMENT_MULTI''/*' => '*/'),
  42. 'CASE_KEYWORDS''QUOTEMARKS'"'", '"'),
  43. 'ESCAPE_CHAR' => '\\',
  44. 'KEYWORDS''as', 'auto', 'base', 'break', 'case', 'catch', 'const', 'continue',
  45. 'default', 'do', 'else', 'event', 'explicit', 'extern', 'false',
  46. 'finally', 'fixed', 'for', 'foreach', 'goto', 'if', 'implicit',
  47. 'in', 'internal', 'lock', 'namespace', 'null', 'operator', 'out',
  48. 'override', 'params', 'private', 'protected', 'public', 'readonly',
  49. 'ref', 'return', 'sealed', 'stackalloc', 'static', 'switch', 'this',
  50. 'throw', 'true', 'try', 'unsafe', 'using', 'virtual', 'void', 'while''#elif', '#endif', '#endregion', '#else', '#error', '#define', '#if',
  51. '#line', '#region', '#undef', '#warning''checked', 'is', 'new', 'sizeof', 'typeof', 'unchecked''bool', 'byte', 'char', 'class', 'decimal', 'delegate', 'double',
  52. 'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte',
  53. 'short', 'string', 'struct', 'uint', 'ulong', 'ushort''Microsoft.Win32',
  54. 'System',
  55. 'System.CodeDOM',
  56. 'System.CodeDOM.Compiler',
  57. 'System.Collections',
  58. 'System.Collections.Bases',
  59. 'System.ComponentModel',
  60. 'System.ComponentModel.Design',
  61. 'System.ComponentModel.Design.CodeModel',
  62. 'System.Configuration',
  63. 'System.Configuration.Assemblies',
  64. 'System.Configuration.Core',
  65. 'System.Configuration.Install',
  66. 'System.Configuration.Interceptors',
  67. 'System.Configuration.Schema',
  68. 'System.Configuration.Web',
  69. 'System.Core',
  70. 'System.Data',
  71. 'System.Data.ADO',
  72. 'System.Data.Design',
  73. 'System.Data.Internal',
  74. 'System.Data.SQL',
  75. 'System.Data.SQLTypes',
  76. 'System.Data.XML',
  77. 'System.Data.XML.DOM',
  78. 'System.Data.XML.XPath',
  79. 'System.Data.XML.XSLT',
  80. 'System.Diagnostics',
  81. 'System.Diagnostics.SymbolStore',
  82. 'System.DirectoryServices',
  83. 'System.Drawing',
  84. 'System.Drawing.Design',
  85. 'System.Drawing.Drawing2D',
  86. 'System.Drawing.Imaging',
  87. 'System.Drawing.Printing',
  88. 'System.Drawing.Text',
  89. 'System.Globalization',
  90. 'System.IO',
  91. 'System.IO.IsolatedStorage',
  92. 'System.Messaging',
  93. 'System.Net',
  94. 'System.Net.Sockets',
  95. 'System.NewXml',
  96. 'System.NewXml.XPath',
  97. 'System.NewXml.Xsl',
  98. 'System.Reflection',
  99. 'System.Reflection.Emit',
  100. 'System.Resources',
  101. 'System.Runtime.InteropServices',
  102. 'System.Runtime.InteropServices.Expando',
  103. 'System.Runtime.Remoting',
  104. 'System.Runtime.Serialization',
  105. 'System.Runtime.Serialization.Formatters',
  106. 'System.Runtime.Serialization.Formatters.Binary',
  107. 'System.Security',
  108. 'System.Security.Cryptography',
  109. 'System.Security.Cryptography.X509Certificates',
  110. 'System.Security.Permissions',
  111. 'System.Security.Policy',
  112. 'System.Security.Principal',
  113. 'System.ServiceProcess',
  114. 'System.Text',
  115. 'System.Text.RegularExpressions',
  116. 'System.Threading',
  117. 'System.Timers',
  118. 'System.Web',
  119. 'System.Web.Caching',
  120. 'System.Web.Configuration',
  121. 'System.Web.Security',
  122. 'System.Web.Services',
  123. 'System.Web.Services.Description',
  124. 'System.Web.Services.Discovery',
  125. 'System.Web.Services.Protocols',
  126. 'System.Web.UI',
  127. 'System.Web.UI.Design',
  128. 'System.Web.UI.Design.WebControls',
  129. 'System.Web.UI.Design.WebControls.ListControls',
  130. 'System.Web.UI.HtmlControls',
  131. 'System.Web.UI.WebControls',
  132. 'System.WinForms',
  133. 'System.WinForms.ComponentModel',
  134. 'System.WinForms.Design',
  135. 'System.Xml',
  136. 'System.Xml.Serialization',
  137. 'System.Xml.Serialization.Code',
  138. 'System.Xml.Serialization.Schema'
  139. ),
  140. ),
  141. 'SYMBOLS''+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', '|', ':',
  142. '(', ')', '{', '}', '[', ']'
  143. ),
  144. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #0600FF;',
  145. 2 => 'color: #FF8000; font-weight: bold;',
  146. 3 => 'color: #008000;',
  147. 4 => 'color: #FF0000;',
  148. 5 => 'color: #000000;'
  149. ),
  150. 'COMMENTS''color: #008080; font-style: italic;',
  151. 2 => 'color: #008080;',
  152. 'MULTI' => 'color: #008080; font-style: italic;'
  153. ),
  154. 'ESCAPE_CHAR''color: #008080; font-weight: bold;'
  155. ),
  156. 'BRACKETS''color: #000000;'
  157. ),
  158. 'STRINGS''color: #808080;'
  159. ),
  160. 'NUMBERS''color: #FF0000;'
  161. ),
  162. 'METHODS''color: #0000FF;',
  163. 2 => 'color: #0000FF;'
  164. ),
  165. 'SYMBOLS''color: #008000;'
  166. ),
  167. 'REGEXPS''SCRIPT''URLS''',
  168. 2 => '',
  169. 3 => 'http://www.google.com/search?q={FNAME}+msdn.microsoft.com',
  170. 4 => ''
  171. ),
  172. 'OOLANG''OBJECT_SPLITTERS''.',
  173. 2 => '::'
  174. ),
  175. 'REGEXPS''STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

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