pascal.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * pascal.php
00004  * ----------
00005  * Author: Tux (tux@inamil.cz)
00006  * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2004/07/26
00009  *
00010  * Pascal language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2004/11/27 (1.0.2)
00015  *  -  Added support for multiple object splitters
00016  * 2004/10/27 (1.0.1)
00017  *   -  Added support for URLs
00018  * 2004/08/05 (1.0.0)
00019  *   -  Added support for symbols
00020  * 2004/07/27 (0.9.1)
00021  *   -  Pascal is OO language. Some new words.
00022  * 2004/07/26 (0.9.0)
00023  *   -  First Release
00024  *
00025  * TODO (updated 2004/11/27)
00026  * -------------------------
00027  *
00028  *************************************************************************************
00029  *
00030  *     This file is part of GeSHi.
00031  *
00032  *   GeSHi is free software; you can redistribute it and/or modify
00033  *   it under the terms of the GNU General Public License as published by
00034  *   the Free Software Foundation; either version 2 of the License, or
00035  *   (at your option) any later version.
00036  *
00037  *   GeSHi is distributed in the hope that it will be useful,
00038  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00039  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00040  *   GNU General Public License for more details.
00041  *
00042  *   You should have received a copy of the GNU General Public License
00043  *   along with GeSHi; if not, write to the Free Software
00044  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00045  *
00046  ************************************************************************************/
00047 
00048 $language_data = array (
00049      'LANG_NAME' => 'Pascal',
00050      'COMMENT_SINGLE' => array(1 => '//'),
00051      'COMMENT_MULTI' => array('{' => '}','(*' => '*)'),
00052      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00053      'QUOTEMARKS' => array("'", '"'),
00054      'ESCAPE_CHAR' => '\\',
00055      'KEYWORDS' => array(
00056           1 => array(
00057                'if', 'while', 'until', 'repeat', 'default',
00058                'do', 'else', 'for', 'switch', 'goto','label','asm','begin','end',
00059                'assembler','case', 'downto', 'to','div','mod','far','forward','in','inherited',
00060                'inline','interrupt','label','library','not','var','of','then','stdcall',
00061                'cdecl','end.','raise','try','except','name','finally','resourcestring','override','overload',
00062                'default','public','protected','private','property','published','stored','catch'
00063                ),
00064           2 => array(
00065                'nil', 'false', 'break', 'true', 'function', 'procedure','implementation','interface',
00066                'unit','program','initialization','finalization','uses'
00067                ),
00068           3 => array(
00069                'abs', 'absolute','and','arc','arctan','chr','constructor','destructor',
00070                'dispose','cos','eof','eoln','exp','get','index','ln','new','xor','write','writeln',
00071                'shr','sin','sqrt','succ','pred','odd','read','readln','ord','ordinal','blockread','blockwrite'
00072                ),
00073           4 => array(
00074                'array', 'char', 'const', 'boolean',  'real', 'integer', 'longint',
00075                'word', 'shortint', 'record','byte','bytebool','string',
00076                'type','object','export','exports','external','file','longbool','pointer','set',
00077                'packed','ansistring','union'
00078                ),
00079           ),
00080      'SYMBOLS' => array(
00081           ),
00082      'CASE_SENSITIVE' => array(
00083           GESHI_COMMENTS => true,
00084           1 => false,
00085           2 => false,
00086           3 => false,
00087           4 => false,
00088           ),
00089      'STYLES' => array(
00090           'KEYWORDS' => array(
00091                1 => 'color: #b1b100;',
00092                2 => 'color: #000000; font-weight: bold;',
00093                3 => '',
00094                4 => 'color: #993333;'
00095                ),
00096           'COMMENTS' => array(
00097                1 => 'color: #808080; font-style: italic;',
00098                2 => 'color: #339933;',
00099                'MULTI' => 'color: #808080; font-style: italic;'
00100                ),
00101           'ESCAPE_CHAR' => array(
00102                0 => 'color: #000099; font-weight: bold;'
00103                ),
00104           'BRACKETS' => array(
00105                0 => 'color: #66cc66;'
00106                ),
00107           'STRINGS' => array(
00108                0 => 'color: #ff0000;'
00109                ),
00110           'NUMBERS' => array(
00111                0 => 'color: #cc66cc;'
00112                ),
00113           'METHODS' => array(
00114                1 => 'color: #202020;'
00115                ),
00116           'SYMBOLS' => array(
00117                0 => 'color: #66cc66;'
00118                ),
00119           'REGEXPS' => array(
00120                ),
00121           'SCRIPT' => array(
00122                )
00123           ),
00124      'URLS' => array(
00125           1 => '',
00126           2 => '',
00127           3 => '',
00128           4 => ''
00129           ),
00130      'OOLANG' => true,
00131      'OBJECT_SPLITTERS' => array(
00132           1 => '.'
00133           ),
00134      'REGEXPS' => array(
00135           ),
00136      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00137      'SCRIPT_DELIMITERS' => array(
00138           ),
00139      'HIGHLIGHT_STRICT_BLOCK' => array(
00140         ),
00141     'TAB_WIDTH' => 4
00142 );
00143 
00144 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8