Codulle - L'explorateur de code sources

Accueil>> AlBulle >> AlBulle0.6 >> classes

Informations fichier

Nom du fichier : cpp.php
Taille du fichier : 6 Ko (173 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * cpp.php
  3. * -------
  4. * Author: Dennis Bayer (Dennis.Bayer@mnifh-giessen.de)
  5. * Contributors:
  6. * - M. Uli Kusterer (witness.of.teachtext@gmx.net)
  7. * - Jack Lloyd (lloyd@randombit.net)
  8. * Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter)
  9. * Release Version: 1.0.7.5
  10. * CVS Revision Version: $Revision: 1.7 $
  11. * Date Started: 2004/09/27
  12. * Last Modified: $Date: 2005/10/22 07:52:59 $
  13. *
  14. * C++ language file for GeSHi.
  15. *
  16. * CHANGES
  17. * -------
  18. * 2004/XX/XX (1.0.2)
  19. * - Added several new keywords (Jack Lloyd)
  20. * 2004/11/27 (1.0.1)
  21. * - Added StdCLib function and constant names, changed color scheme to
  22. * a cleaner one. (M. Uli Kusterer)
  23. * - Added support for multiple object splitters
  24. * 2004/10/27 (1.0.0)
  25. * - First Release
  26. *
  27. * TODO (updated 2004/11/27)
  28. * -------------------------
  29. *
  30. *************************************************************************************
  31. *
  32. * This file is part of GeSHi.
  33. *
  34. * GeSHi is free software; you can redistribute it and/or modify
  35. * it under the terms of the GNU General Public License as published by
  36. * the Free Software Foundation; either version 2 of the License, or
  37. * (at your option) any later version.
  38. *
  39. * GeSHi is distributed in the hope that it will be useful,
  40. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  41. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  42. * GNU General Public License for more details.
  43. *
  44. * You should have received a copy of the GNU General Public License
  45. * along with GeSHi; if not, write to the Free Software
  46. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  47. *
  48. ************************************************************************************/'LANG_NAME' => 'C++',
  49. 'COMMENT_SINGLE''//', 2 => '#'),
  50. 'COMMENT_MULTI''/*' => '*/'),
  51. 'CASE_KEYWORDS''QUOTEMARKS'"'", '"'),
  52. 'ESCAPE_CHAR' => '\\',
  53. 'KEYWORDS''case', 'continue', 'default', 'do', 'else', 'for', 'goto', 'if', 'return',
  54. 'switch', 'while''NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM',
  55. 'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
  56. 'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
  57. 'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
  58. 'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
  59. 'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
  60. 'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
  61. 'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
  62. 'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
  63. 'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL',
  64. 'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
  65. 'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
  66. 'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
  67. 'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
  68. 'static_cast', 'explicit', 'friend', 'wchar_t', 'typename', 'typeid', 'class''cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this',
  69. 'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
  70. 'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
  71. 'ispunct', 'isspace', 'ispunct', 'isupper', 'isxdigit', 'tolower', 'toupper',
  72. 'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
  73. 'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
  74. 'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp', 'asin', 'acos', 'atan', 'atan2',
  75. 'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
  76. 'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
  77. 'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
  78. 'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
  79. 'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
  80. 'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
  81. 'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
  82. 'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
  83. 'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
  84. 'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
  85. 'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
  86. 'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
  87. 'asctime', 'ctime', 'gmtime', 'localtime', 'strftime''auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
  88. 'register', 'short', 'shortint', 'signed', 'static', 'struct',
  89. 'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
  90. 'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
  91. 'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
  92. ),
  93. ),
  94. 'SYMBOLS''(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
  95. ),
  96. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #0000ff;',
  97. 2 => 'color: #0000ff;',
  98. 3 => 'color: #0000dd;',
  99. 4 => 'color: #0000ff;'
  100. ),
  101. 'COMMENTS''color: #ff0000;',
  102. 2 => 'color: #339900;',
  103. 'MULTI' => 'color: #ff0000; font-style: italic;'
  104. ),
  105. 'ESCAPE_CHAR''color: #666666; font-weight: bold;'
  106. ),
  107. 'BRACKETS''color: #000000;'
  108. ),
  109. 'STRINGS''color: #666666;'
  110. ),
  111. 'NUMBERS''color: #0000dd;'
  112. ),
  113. 'METHODS''color: #00eeff;',
  114. 2 => 'color: #00eeff;'
  115. ),
  116. 'SYMBOLS''color: #000000;'
  117. ),
  118. 'REGEXPS''SCRIPT''URLS''OOLANG''OBJECT_SPLITTERS''.',
  119. 2 => '::'
  120. ),
  121. 'REGEXPS''STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

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