Login   Register  
PHP Classes
elePHPant
Icontem

File: geshi/asp.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nigel McNie  >  GeSHi  >  geshi/asp.php  >  Download  
File: geshi/asp.php
Role: Configuration script
Content type: text/plain
Description: ASP
Class: GeSHi
Highlight syntax of source code of many languages
Author: By
Last change:
Date: 2006-06-28 20:15
Size: 5,192 bytes
 

Contents

Class file image Download
<?php
/*************************************************************************************
 * asp.php
 * --------
 * Author: Amit Gupta (http://blog.igeek.info/)
 * Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter)
 * Release Version: 1.0.7.11
 * CVS Revision Version: $Revision: 1.14.2.1 $
 * Date Started: 2004/08/13
 * Last Modified: $Date: 2006/06/21 10:38:17 $
 *
 * ASP language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2005/12/30 (1.0.3)
 *   -  Strings only delimited by ", comments by '
 * 2004/11/27 (1.0.2)
 *   -  Added support for multiple object splitters
 * 2004/10/27 (1.0.1)
 *   -  Added support for URLs
 * 2004/08/13 (1.0.0)
 *   -  First Release
 *
 * TODO (updated 2004/11/27)
 * -------------------------
 * * Include all the functions, keywords etc that I have missed
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ************************************************************************************/

$language_data = array (
    
'LANG_NAME' => 'ASP',
    
'COMMENT_SINGLE' => array(=> "'"=> '//'),
    
'COMMENT_MULTI' => array('/*' => '*/'),
    
'CASE_KEYWORDS' => 0,
    
'QUOTEMARKS' => array('"'),
    
'ESCAPE_CHAR' => '\\',
    
'KEYWORDS' => array(
        
=> array(
            
'include''file''Dim''Option''Explicit''Implicit''Set''Select''ReDim''Preserve',
            
'ByVal''ByRef''End''Private''Public''If''Then''Else''ElseIf''Case''With''NOT',
            
'While''Wend''For''Loop''Do''Request''Response''Server''ADODB''Session''Application',
            
'Each''In''Get''Next''INT''CINT''CBOOL''CDATE''CBYTE''CCUR''CDBL''CLNG''CSNG',
            
'CSTR''Fix''Is''Sgn''String''Boolean''Currency''Me''Single''Long''Integer''Byte',
            
'Variant''Double''To''Let''Xor''Resume''On''Error''Imp''GoTo''Call''Global'
            
),
        
=> array(
            
'Null''Nothing''And',
            
'False''&lt;%''%&gt;',
            
'&lt;script language=''&lt;/script&gt;',
            
'True''var''Or''BOF''EOF',
            
'Function''Class''New''Sub'
            
),
        
=> array(
            
'CreateObject''Write''Redirect''Cookies''BinaryRead''ClientCertificate''Form''QueryString',
            
'ServerVariables''TotalBytes''AddHeader''AppendToLog''BinaryWrite''Buffer''CacheControl',
            
'Charset''Clear''ContentType''End()''Expires''ExpiresAbsolute''Flush()''IsClientConnected',
            
'PICS''Status''Connection''Recordset''Execute''Abandon''Lock''UnLock''Command''Fields',
            
'Properties''Property''Send''Replace''InStr''TRIM''NOW''Day''Month''Hour''Minute''Second',
            
'Year''MonthName''LCase''UCase''Abs''Array''As''LEN''MoveFirst''MoveLast''MovePrevious',
            
'MoveNext''LBound''UBound''Transfer''Open''Close''MapPath''FileExists''OpenTextFile''ReadAll'
            
)
        ),
    
'CASE_SENSITIVE' => array(
        
GESHI_COMMENTS => false,
        
=> false,
        
=> false,
        
=> false,
        ),
    
'STYLES' => array(
        
'KEYWORDS' => array(
            
=> 'color: #990099; font-weight: bold;',
            
=> 'color: #0000ff; font-weight: bold;',
            
=> 'color: #330066;'
            
),
        
'COMMENTS' => array(
            
=> 'color: #008000;',
            
=> 'color: #ff6600;',
            
'MULTI' => 'color: #008000;'
            
),
        
'ESCAPE_CHAR' => array(
            
=> 'color: #000099; font-weight: bold;'
            
),
        
'BRACKETS' => array(
            
=> 'color: #006600; font-weight:bold'
            
),
        
'STRINGS' => array(
            
=> 'color: #cc0000;'
            
),
        
'NUMBERS' => array(
            
=> 'color: #800000;'
            
),
        
'METHODS' => array(
            
=> 'color: #9900cc;'
            
),
        
'SYMBOLS' => array(
            
=> 'color: #006600; font-weight: bold'
            
),
        
'REGEXPS' => array(
            ),
        
'SCRIPT' => array(
            
=> '',
            
=> '',
            
=> '',
            )
        ),
    
'URLS' => array(
        
=> '',
        
=> '',
        
=> ''
        
),
    
'OOLANG' => true,
    
'OBJECT_SPLITTERS' => array(
        
=> '.'
        
),
    
'REGEXPS' => array(
        ),
    
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
    
'SCRIPT_DELIMITERS' => array(
        
=> array(
            
'<%' => '%>'
            
),
        
=> array(
            
'<script language="vbscript" runat="server">' => '</script>'
            
),
        
=> array(
            
'<script language="javascript" runat="server">' => '</script>'
            
)
        ),
    
'HIGHLIGHT_STRICT_BLOCK' => array(
        
=> true,
        
=> true,
        
=> true,
        )
);

?>