asp.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * asp.php
00004  * --------
00005  * Author: Amit Gupta (http://blog.igeek.info/)
00006  * Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2004/08/13
00009  *
00010  * ASP language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2005/12/30 (1.0.3)
00015  *   -  Strings only delimited by ", comments by '
00016  * 2004/11/27 (1.0.2)
00017  *   -  Added support for multiple object splitters
00018  * 2004/10/27 (1.0.1)
00019  *   -  Added support for URLs
00020  * 2004/08/13 (1.0.0)
00021  *   -  First Release
00022  *
00023  * TODO (updated 2004/11/27)
00024  * -------------------------
00025  * * Include all the functions, keywords etc that I have missed
00026  *
00027  *************************************************************************************
00028  *
00029  *     This file is part of GeSHi.
00030  *
00031  *   GeSHi is free software; you can redistribute it and/or modify
00032  *   it under the terms of the GNU General Public License as published by
00033  *   the Free Software Foundation; either version 2 of the License, or
00034  *   (at your option) any later version.
00035  *
00036  *   GeSHi is distributed in the hope that it will be useful,
00037  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00038  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00039  *   GNU General Public License for more details.
00040  *
00041  *   You should have received a copy of the GNU General Public License
00042  *   along with GeSHi; if not, write to the Free Software
00043  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00044  *
00045  ************************************************************************************/
00046 
00047 $language_data = array (
00048      'LANG_NAME' => 'ASP',
00049      'COMMENT_SINGLE' => array(1 => "'", 2 => '//'),
00050      'COMMENT_MULTI' => array('/*' => '*/'),
00051      'CASE_KEYWORDS' => 0,
00052      'QUOTEMARKS' => array('"'),
00053      'ESCAPE_CHAR' => '\\',
00054      'KEYWORDS' => array(
00055           1 => array(
00056                'include', 'file', 'Dim', 'Option', 'Explicit', 'Implicit', 'Set', 'Select', 'ReDim', 'Preserve',
00057                'ByVal', 'ByRef', 'End', 'Private', 'Public', 'If', 'Then', 'Else', 'ElseIf', 'Case', 'With', 'NOT',
00058                'While', 'Wend', 'For', 'Loop', 'Do', 'Request', 'Response', 'Server', 'ADODB', 'Session', 'Application',
00059                'Each', 'In', 'Get', 'Next', 'INT', 'CINT', 'CBOOL', 'CDATE', 'CBYTE', 'CCUR', 'CDBL', 'CLNG', 'CSNG',
00060                'CSTR', 'Fix', 'Is', 'Sgn', 'String', 'Boolean', 'Currency', 'Me', 'Single', 'Long', 'Integer', 'Byte',
00061                'Variant', 'Double', 'To', 'Let', 'Xor', 'Resume', 'On', 'Error', 'Imp', 'GoTo', 'Call', 'Global'
00062                ),
00063           2 => array(
00064                'Null', 'Nothing', 'And',
00065                'False', '&lt;%', '%&gt;',
00066                '&lt;script language=', '&lt;/script&gt;',
00067                'True', 'var', 'Or', 'BOF', 'EOF',
00068                'Function', 'Class', 'New', 'Sub'
00069                ),
00070           3 => array(
00071                'CreateObject', 'Write', 'Redirect', 'Cookies', 'BinaryRead', 'ClientCertificate', 'Form', 'QueryString',
00072                'ServerVariables', 'TotalBytes', 'AddHeader', 'AppendToLog', 'BinaryWrite', 'Buffer', 'CacheControl',
00073                'Charset', 'Clear', 'ContentType', 'End()', 'Expires', 'ExpiresAbsolute', 'Flush()', 'IsClientConnected',
00074                'PICS', 'Status', 'Connection', 'Recordset', 'Execute', 'Abandon', 'Lock', 'UnLock', 'Command', 'Fields',
00075                'Properties', 'Property', 'Send', 'Replace', 'InStr', 'TRIM', 'NOW', 'Day', 'Month', 'Hour', 'Minute', 'Second',
00076                'Year', 'MonthName', 'LCase', 'UCase', 'Abs', 'Array', 'As', 'LEN', 'MoveFirst', 'MoveLast', 'MovePrevious',
00077                'MoveNext', 'LBound', 'UBound', 'Transfer', 'Open', 'Close', 'MapPath', 'FileExists', 'OpenTextFile', 'ReadAll'
00078                )
00079           ),
00080      'CASE_SENSITIVE' => array(
00081           GESHI_COMMENTS => false,
00082           1 => false,
00083           2 => false,
00084           3 => false,
00085           ),
00086      'STYLES' => array(
00087           'KEYWORDS' => array(
00088                1 => 'color: #990099; font-weight: bold;',
00089                2 => 'color: #0000ff; font-weight: bold;',
00090                3 => 'color: #330066;'
00091                ),
00092           'COMMENTS' => array(
00093                1 => 'color: #008000;',
00094                2 => 'color: #ff6600;',
00095                'MULTI' => 'color: #008000;'
00096                ),
00097           'ESCAPE_CHAR' => array(
00098                0 => 'color: #000099; font-weight: bold;'
00099                ),
00100           'BRACKETS' => array(
00101                0 => 'color: #006600; font-weight:bold'
00102                ),
00103           'STRINGS' => array(
00104                0 => 'color: #cc0000;'
00105                ),
00106           'NUMBERS' => array(
00107                0 => 'color: #800000;'
00108                ),
00109           'METHODS' => array(
00110                1 => 'color: #9900cc;'
00111                ),
00112           'SYMBOLS' => array(
00113                0 => 'color: #006600; font-weight: bold'
00114                ),
00115           'REGEXPS' => array(
00116                ),
00117           'SCRIPT' => array(
00118                0 => '',
00119                1 => '',
00120                2 => '',
00121                )
00122           ),
00123      'URLS' => array(
00124           1 => '',
00125           2 => '',
00126           3 => ''
00127           ),
00128      'OOLANG' => true,
00129      'OBJECT_SPLITTERS' => array(
00130           1 => '.'
00131           ),
00132      'REGEXPS' => array(
00133           ),
00134      'STRICT_MODE_APPLIES' => GESHI_MAYBE,
00135      'SCRIPT_DELIMITERS' => array(
00136           0 => array(
00137                '<%' => '%>'
00138                ),
00139           1 => array(
00140                '<script language="vbscript" runat="server">' => '</script>'
00141                ),
00142           2 => array(
00143                '<script language="javascript" runat="server">' => '</script>'
00144                )
00145           ),
00146      'HIGHLIGHT_STRICT_BLOCK' => array(
00147           0 => true,
00148           1 => true,
00149           2 => true,
00150           )
00151 );
00152 
00153 ?>

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