File geshi/geshi/genero.php
Last commit: Fri Nov 23 00:12:00 2007 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.
1 <?php 2 /************************************************************************************* 3 * genero.php 4 * ---------- 5 * Author: Lars Gersmann (lars.gersmann@gmail.com) 6 * Copyright: (c) 2007 Lars Gersmann, Nigel McNie (http://qbnz.com/highlighter/) 7 * Release Version: 1.0.7.20 8 * CVS Revision Version: $Revision$ 9 * 10 * Genero (FOURJ's Genero 4GL) language file for GeSHi. 11 * 12 * CHANGES 13 * ------- 14 * 2007/07/01 (1.0.0) 15 * - Initial release 16 * 17 ************************************************************************************* 18 * 19 * This file is part of GeSHi. 20 * 21 * GeSHi is free software; you can redistribute it and/or modify 22 * it under the terms of the GNU General Public License as published by 23 * the Free Software Foundation; either version 2 of the License, or 24 * (at your option) any later version. 25 * 26 * GeSHi is distributed in the hope that it will be useful, 27 * but WITHOUT ANY WARRANTY; without even the implied warranty of 28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29 * GNU General Public License for more details. 30 * 31 * You should have received a copy of the GNU General Public License 32 * along with GeSHi; if not, write to the Free Software 33 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 34 * 35 ************************************************************************************/ 36 37 $language_data = array ( 38 'LANG_NAME' => 'genero', 39 'COMMENT_SINGLE' => array(1 => '--', 2 => '#'), 40 'COMMENT_MULTI' => array('{' => '}'), 41 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 42 'QUOTEMARKS' => array("'", '"'), 43 'ESCAPE_CHAR' => '\\', 44 'KEYWORDS' => array( 45 1 => array( 46 "ABSOLUTE", 47 "ACCEPT", 48 "ACTION", 49 "ADD", 50 "AFTER", 51 "ALL", 52 "ALTER", 53 "AND", 54 "ANY", 55 "APPEND", 56 "APPLICATION", 57 "AS", 58 "AT", 59 "ATTRIBUTE", 60 "ATTRIBUTES", 61 "AUDIT", 62 "AVG", 63 "BEFORE", 64 "BEGIN", 65 "BETWEEN", 66 "BORDER", 67 "BORDER", 68 "BOTTOM", 69 "BREAKPOINT", 70 "BUFFER", 71 "BUFFERED", 72 "BY", 73 "CALL", 74 "CANCEL", 75 "CASE", 76 "CENTURY", 77 "CHANGE", 78 "CHECK", 79 "CLEAR", 80 "CLIPPED", 81 "CLOSE", 82 "CLUSTER", 83 "COLUMN", 84 "COLUMNS", 85 "COMMAND", 86 "COMMENT", 87 "COMMIT", 88 "COMMITTED", 89 "CONCURRENT ", 90 "CONNECT", 91 "CONNECTION", 92 "CONSTANT", 93 "CONSTRAINED", 94 "CONSTRAINT", 95 "CONSTRUCT", 96 "CONTINUE", 97 "CONTROL", 98 "COUNT", 99 "CREATE", 100 "CROSS", 101 "CURRENT", 102 "DATABASE", 103 "DBA", 104 "DEC", 105 "DECLARE", 106 "DEFAULT", 107 "DEFAULTS", 108 "DEFER", 109 "DEFINE", 110 "DELETE", 111 "DELIMITER", 112 "DESCRIBE", 113 "DESTINATION", 114 "DIM", 115 "DIALOG", 116 "DIMENSION", 117 "DIRTY", 118 "DISCONNECT", 119 "DISPLAY", 120 "DISTINCT", 121 "DORMANT", 122 "DOWN", 123 "DROP", 124 "DYNAMIC", 125 "ELSE", 126 "END", 127 "ERROR", 128 "ESCAPE", 129 "EVERY", 130 "EXCLUSIVE", 131 "EXECUTE", 132 "EXISTS", 133 "EXIT", 134 "EXPLAIN", 135 "EXTEND", 136 "EXTENT", 137 "EXTERNAL", 138 "FETCH", 139 "FGL_DRAWBOX", 140 "FIELD", 141 "FIELD_TOUCHED", 142 "FILE", 143 "FILL", 144 "FINISH", 145 "FIRST", 146 "FLOAT", 147 "FLUSH", 148 "FOR", 149 "FOREACH", 150 "FORM", 151 "FORMAT", 152 "FOUND", 153 "FRACTION", 154 "FREE", 155 "FROM", 156 "FULL", 157 "FUNCTION", 158 "GET_FLDBUF", 159 "GLOBALS", 160 "GO", 161 "GOTO", 162 "GRANT", 163 "GROUP", 164 "HAVING", 165 "HEADER", 166 "HELP", 167 "HIDE", 168 "HOLD", 169 "HOUR", 170 "IDLE", 171 "IF", 172 "IMAGE", 173 "IMMEDIATE", 174 "IN", 175 "INDEX", 176 "INFIELD", 177 "INITIALIZE", 178 "INNER", 179 "INPUT", 180 "INSERT", 181 "INTERRUPT", 182 "INTERVAL", 183 "INTO", 184 "INVISIBLE", 185 "IS", 186 "ISOLATION", 187 "JOIN", 188 "KEEP", 189 "KEY", 190 "LABEL", 191 "LAST", 192 "LEFT", 193 "LENGTH", 194 "LET", 195 "LIKE", 196 "LINE", 197 "LINENO", 198 "LINES", 199 "LOAD", 200 "LOCATE", 201 "LOCK", 202 "LOG", 203 "LSTR", 204 "MAIN", 205 "MARGIN", 206 "MATCHES", 207 "MAX", 208 "MAXCOUNT", 209 "MDY", 210 "MEMORY", 211 "MENU", 212 "MESSAGE", 213 "MIN", 214 "MINUTE", 215 "MOD", 216 "MODE", 217 "MODIFY", 218 "MONEY", 219 "NAME", 220 "NEED", 221 "NEXT", 222 "NO", 223 "NORMAL", 224 "NOT", 225 "NOTFOUND", 226 "NULL", 227 "NUMERIC", 228 "OF", 229 "ON", 230 "OPEN", 231 "OPTION", 232 "OPTIONS", 233 "OR", 234 "ORDER", 235 "OTHERWISE", 236 "OUTER", 237 "OUTPUT", 238 "PAGE", 239 "PAGENO", 240 "PAUSE", 241 "PERCENT", 242 "PICTURE", 243 "PIPE", 244 "PRECISION", 245 "PREPARE", 246 "PREVIOUS", 247 "PRINT", 248 "PRINTER", 249 "PRINTX", 250 "PRIOR", 251 "PRIVILEGES", 252 "PROCEDURE", 253 "PROGRAM", 254 "PROMPT", 255 "PUBLIC", 256 "PUT", 257 "QUIT", 258 "READ", 259 "REAL", 260 "RECORD", 261 "RECOVER", 262 "RED ", 263 "RELATIVE", 264 "RENAME", 265 "REOPTIMIZATION", 266 "REPEATABLE", 267 "REPORT", 268 "RESOURCE", 269 "RETURN", 270 "RETURNING", 271 "REVERSE", 272 "REVOKE", 273 "RIGHT", 274 "ROLLBACK", 275 "ROLLFORWARD", 276 "ROW", 277 "ROWS", 278 "RUN", 279 "SCHEMA", 280 "SCREEN", 281 "SCROLL", 282 "SECOND", 283 "SELECT", 284 "SERIAL", 285 "SET", 286 "SFMT", 287 "SHARE", 288 "SHIFT", 289 "SHOW", 290 "SIGNAL ", 291 "SIZE", 292 "SKIP", 293 "SLEEP", 294 "SOME", 295 "SPACE", 296 "SPACES", 297 "SQL", 298 "SQLERRMESSAGE", 299 "SQLERROR", 300 "SQLSTATE", 301 "STABILITY", 302 "START", 303 "STATISTICS", 304 "STEP", 305 "STOP", 306 "STYLE", 307 "SUM", 308 "SYNONYM", 309 "TABLE", 310 "TEMP", 311 "TERMINATE", 312 "TEXT", 313 "THEN", 314 "THROUGH", 315 "THRU", 316 "TO", 317 "TODAY", 318 "TOP", 319 "TRAILER", 320 "TRANSACTION ", 321 "UNBUFFERED", 322 "UNCONSTRAINED", 323 "UNDERLINE", 324 "UNION", 325 "UNIQUE", 326 "UNITS", 327 "UNLOAD", 328 "UNLOCK", 329 "UP", 330 "UPDATE", 331 "USE", 332 "USER", 333 "USING", 334 "VALIDATE", 335 "VALUE", 336 "VALUES", 337 "VARCHAR", 338 "VIEW", 339 "WAIT", 340 "WAITING", 341 "WARNING", 342 "WHEN", 343 "WHENEVER", 344 "WHERE", 345 "WHILE", 346 "WINDOW", 347 "WITH", 348 "WITHOUT", 349 "WORDWRAP", 350 "WORK", 351 "WRAP" 352 ), 353 2 => array( 354 '&IFDEF', '&ENDIF' 355 ), 356 3 => array( 357 "ARRAY", 358 "BYTE", 359 "CHAR", 360 "CHARACTER", 361 "CURSOR", 362 "DATE", 363 "DATETIME", 364 "DECIMAL", 365 "DOUBLE", 366 "FALSE", 367 "INT", 368 "INTEGER", 369 "SMALLFLOAT", 370 "SMALLINT", 371 "STRING", 372 "TIME", 373 "TRUE" 374 ), 375 4 => array( 376 "BLACK", 377 "BLINK", 378 "BLUE", 379 "BOLD", 380 "ANSI", 381 "ASC", 382 "ASCENDING", 383 "ASCII", 384 "CYAN", 385 "DESC", 386 "DESCENDING", 387 "GREEN", 388 "MAGENTA", 389 "OFF", 390 "WHITE", 391 "YELLOW", 392 "YEAR", 393 "DAY", 394 "MONTH", 395 "WEEKDAY" 396 ), 397 ), 398 'SYMBOLS' => array( 399 '+', '-', '*', '?', '=', '/', '%', '>', '<', '^', '!', '|', ':', 400 '(', ')', '[', ']' 401 ), 402 'CASE_SENSITIVE' => array( 403 GESHI_COMMENTS => true, 404 1 => false, 405 2 => false, 406 3 => false, 407 4 => false, 408 ), 409 'STYLES' => array( 410 'KEYWORDS' => array( 411 1 => 'color: #0600FF;', 412 2 => 'color: #0000FF; font-weight: bold;', 413 3 => 'color: #008000;', 414 4 => 'color: #FF0000;', 415 ), 416 'COMMENTS' => array( 417 1 => 'color: #008080; font-style: italic;', 418 2 => 'color: #008080;', 419 'MULTI' => 'color: #008080; font-style: italic;' 420 ), 421 'ESCAPE_CHAR' => array( 422 0 => 'color: #008080; font-weight: bold;' 423 ), 424 'BRACKETS' => array( 425 0 => 'color: #000000;' 426 ), 427 'STRINGS' => array( 428 0 => 'color: #808080;' 429 ), 430 'NUMBERS' => array( 431 0 => 'color: #FF0000;' 432 ), 433 'METHODS' => array( 434 1 => 'color: #0000FF;', 435 2 => 'color: #0000FF;' 436 ), 437 'SYMBOLS' => array( 438 0 => 'color: #008000;' 439 ), 440 'REGEXPS' => array( 441 ), 442 'SCRIPT' => array( 443 ) 444 ), 445 'URLS' => array( 446 1 => '', 447 2 => '', 448 3 => '', 449 4 => '' 450 ), 451 'OOLANG' => true, 452 'OBJECT_SPLITTERS' => array( 453 1 => '.' 454 ), 455 'REGEXPS' => array( 456 ), 457 'STRICT_MODE_APPLIES' => GESHI_NEVER, 458 'SCRIPT_DELIMITERS' => array( 459 ), 460 'HIGHLIGHT_STRICT_BLOCK' => array( 461 ) 462 ); 463 464 ?>
Downloadgeshi/geshi/genero.php
History Fri, 23 Nov 2007 00:12:00 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.