# Source for file vbnet.php

Documentation is available at vbnet.php

    1     <?php
    2     /***********************************************************************************
    3      * vbnet.php
    4      * ---------
    5      * Author: Alan Juden (alan@judenware.org)
    6      * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter)
    7      * Release Version: 1.0.7.3
    8      * CVS Revision Version: $Revision: 1.1 $
    9      * Date Started: 2004/06/04
    10     * Last Modified: $Date: 2006/01/23 09:27:29 $
    11     *
    12     * VB.NET language file for GeSHi.
    13     *
    14     * CHANGES
    15     * -------
    16     * 2004/11/27 (1.0.0)
    17     *  -  Initial release
    18     *
    19     * TODO (updated 2004/11/27)
    20     * -------------------------
    21     *
    22     ************************************************************************************
    23     *
    24     *     This file is part of GeSHi.
    25     *
    26     *   GeSHi is free software; you can redistribute it and/or modify
    27     *   it under the terms of the GNU General Public License as published by
    28     *   the Free Software Foundation; either version 2 of the License, or
    29     *   (at your option) any later version.
    30     *
    31     *   GeSHi is distributed in the hope that it will be useful,
    32     *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    33     *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    34     *   GNU General Public License for more details.
    35     *
    36     *   You should have received a copy of the GNU General Public License
    37     *   along with GeSHi; if not, write to the Free Software
    38     *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    39     *
    40     ************************************************************************************/
    40
    41
    42     $language_data = array (
    43        'LANG_NAME' => 'vb.net',
    44        'COMMENT_SINGLE' => array(1 => "'"),
    45        'COMMENT_MULTI' => array(),
    46        'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    47        'QUOTEMARKS' => array('"'),
    48        'ESCAPE_CHAR' => '',
    49        'KEYWORDS' => array(
    50            1 => array(
    51                '3DDKSHADOW', '3DHIGHLIGHT', '3DLIGHT', 'ABORT', 'ABORTRETRYIGNORE', 'ACTIVEBORDER',
    52                'ACTIVETITLEBAR', 'ALIAS', 'APPLICATIONMODAL', 'APPLICATIONWORKSPACE', 'ARCHIVE',
    53                'BACK', 'BINARYCOMPARE', 'BLACK', 'BLUE', 'BUTTONFACE', 'BUTTONSHADOW', 'BUTTONTEXT',
    54                'CANCEL', 'CDROM', 'CR', 'CRITICAL', 'CRLF', 'CYAN', 'DEFAULT', 'DEFAULTBUTTON1',
    55                'DEFAULTBUTTON2', 'DEFAULTBUTTON3', 'DESKTOP', 'DIRECTORY', 'EXCLAMATION', 'FALSE',
    56                'FIXED', 'FORAPPENDING', 'FORMFEED', 'FORREADING', 'FORWRITING', 'FROMUNICODE',
    57                'GRAYTEXT', 'GREEN', 'HIDDEN', 'HIDE', 'HIGHLIGHT', 'HIGHLIGHTTEXT', 'HIRAGANA',
    58                'IGNORE', 'INACTIVEBORDER', 'INACTIVECAPTIONTEXT', 'INACTIVETITLEBAR', 'INFOBACKGROUND',
    59                'INFORMATION', 'INFOTEXT', 'KATAKANALF', 'LOWERCASE', 'MAGENTA', 'MAXIMIZEDFOCUS',
    60                'MENUBAR', 'MENUTEXT', 'METHOD', 'MINIMIZEDFOCUS', 'MINIMIZEDNOFOCUS', 'MSGBOXRIGHT',
    61                'MSGBOXRTLREADING', 'MSGBOXSETFOREGROUND', 'NARROW', 'NEWLINE', 'NO', 'NORMAL',
    62                'NORMALFOCUS', 'NORMALNOFOCUS', 'NULLSTRING', 'OBJECTERROR', 'OK', 'OKCANCEL', 'OKONLY',
    63                'PROPERCASE', 'QUESTION', 'RAMDISK', 'READONLY', 'RED', 'REMOTE', 'REMOVABLE', 'RETRY',
    64                'RETRYCANCEL', 'SCROLLBARS', 'SYSTEMFOLDER', 'SYSTEMMODAL', 'TAB', 'TEMPORARYFOLDER',
    65                'TEXTCOMPARE', 'TITLEBARTEXT', 'TRUE', 'UNICODE', 'UNKNOWN', 'UPPERCASE', 'VERTICALTAB',
    66                'VOLUME', 'WHITE', 'WIDE', 'WIN16', 'WIN32', 'WINDOWBACKGROUND', 'WINDOWFRAME',
    67                'WINDOWSFOLDER', 'WINDOWTEXT', 'YELLOW', 'YES', 'YESNO', 'YESNOCANCEL'
    68                ),
    69            2 => array(
    70                'As', 'ADDHANDLER', 'ASSEMBLY', 'AUTO', 'Binary', 'ByRef', 'ByVal', 'BEGINEPILOGUE',
    71                'Else', 'Empty', 'Error', 'ENDPROLOGUE', 'EXTERNALSOURCE', 'ENVIRON', 'For',
    72                'Friend', 'GET', 'HANDLES', 'Input', 'Is', 'Len', 'Lock', 'Me', 'Mid', 'MUSTINHERIT',
    73                'MYBASE', 'MYCLASS', 'New', 'Next', 'Nothing', 'Null', 'NOTINHERITABLE',
    74                'NOTOVERRIDABLE', 'OFF', 'On', 'Option', 'Optional', 'OVERRIDABLE', 'ParamArray',
    75                'Print', 'Private', 'Property', 'Public', 'Resume', 'Seek', 'Static', 'Step',
    76                'String', 'SHELL', 'SENDKEYS', 'SET', 'Then', 'Time', 'To', 'THROW', 'WithEvents'
    77                ),
    78            3 => array(
    79                'COLLECTION', 'DEBUG', 'DICTIONARY', 'DRIVE', 'DRIVES', 'ERR', 'FILE', 'FILES',
    80                'FILESYSTEMOBJECT', 'FOLDER', 'FOLDERS', 'TEXTSTREAM'
    81                ),
    82            4 => array(
    83                'BOOLEAN', 'BYTE', 'DATE', 'DECIMIAL', 'DOUBLE', 'INTEGER', 'LONG', 'OBJECT',
    84                'SINGLE STRING'
    85                ),
    86            5 => array(
    87                'ADDRESSOF', 'AND', 'BITAND', 'BITNOT', 'BITOR', 'BITXOR',
    88                'GETTYPE', 'LIKE', 'MOD', 'NOT', 'ORXOR'
    89                ),
    90            6 => array(
    91                'APPACTIVATE', 'BEEP', 'CALL', 'CHDIR', 'CHDRIVE', 'CLASS', 'CASE', 'CATCH',
    92                'DECLARE', 'DELEGATE', 'DELETESETTING', 'DIM', 'DO', 'DOEVENTS', 'END', 'ENUM',
    93                'EVENT', 'EXIT', 'EACH', 'FUNCTION', 'FINALLY', 'IF', 'IMPORTS', 'INHERITS',
    94                'INTERFACE', 'IMPLEMENTS', 'KILL', 'LOOP', 'MIDB', 'NAMESPACE', 'OPEN', 'PUT',
    95                'RAISEEVENT', 'RANDOMIZE', 'REDIM', 'REM', 'RESET', 'SAVESETTING', 'SELECT',
    96                'SETATTR', 'STOP', 'SUB', 'SYNCLOCK', 'STRUCTURE', 'SHADOWS', 'SWITCH',
    97                'TIMEOFDAY', 'TODAY', 'TRY', 'WIDTH', 'WITH', 'WRITE', 'WHILE'
    98                ),
    99            7 => array(
    100               'ABS', 'ARRAY', 'ASC', 'ASCB', 'ASCW', 'CALLBYNAME', 'CBOOL', 'CBYTE', 'CCHAR',
    101               'CCHR', 'CDATE', 'CDBL', 'CDEC', 'CHOOSE', 'CHR', 'CHR$', 'CHRB', 'CHRB$', 'CHRW',
    102               'CINT', 'CLNG', 'CLNG8', 'CLOSE', 'COBJ', 'COMMAND', 'COMMAND$', 'CONVERSION',
    103               'COS', 'CREATEOBJECT', 'CSHORT', 'CSTR', 'CURDIR', 'CTYPE', 'CVDATE', 'DATEADD',
    104               'DATEDIFF', 'DATEPART', 'DATESERIAL', 'DATEVALUE', 'DAY', 'DDB', 'DIR', 'DIR$',
    105               'EOF', 'ERROR$', 'EXP', 'FILEATTR', 'FILECOPY', 'FILEDATATIME', 'FILELEN', 'FILTER',
    106               'FIX', 'FORMAT', 'FORMAT$', 'FORMATCURRENCY', 'FORMATDATETIME', 'FORMATNUMBER',
    107               'FORMATPERCENT', 'FREEFILE', 'FV', 'GETALLSETTINGS', 'GETATTRGETOBJECT', 'GETSETTING',
    108               'HEX', 'HEX$', 'HOUR', 'IIF', 'IMESTATUS', 'INPUT$', 'INPUTB', 'INPUTB$', 'INPUTBOX',
    109               'INSTR', 'INSTRB', 'INSTRREV', 'INT', 'IPMT', 'IRR', 'ISARRAY', 'ISDATE', 'ISEMPTY',
    110               'ISERROR', 'ISNULL', 'ISNUMERIC', 'ISOBJECT', 'JOIN', 'LBOUND', 'LCASE', 'LCASE$',
    111               'LEFT', 'LEFT$', 'LEFTB', 'LEFTB$', 'LENB', 'LINEINPUT', 'LOC', 'LOF', 'LOG', 'LTRIM',
    112               'LTRIM$', 'MID$', 'MIDB', 'MIDB$', 'MINUTE', 'MIRR', 'MKDIR', 'MONTH', 'MONTHNAME',
    113               'MSGBOX', 'NOW', 'NPER', 'NPV', 'OCT', 'OCT$', 'PARTITION', 'PMT', 'PPMT', 'PV',
    114               'RATE', 'REPLACE', 'RIGHT', 'RIGHT$', 'RIGHTB', 'RIGHTB$', 'RMDIR', 'RND', 'RTRIM',
    115               'RTRIM$', 'SECOND', 'SIN', 'SLN', 'SPACE', 'SPACE$', 'SPC', 'SPLIT', 'STR', 'STR$',
    116               'STRCOMP', 'STRCONV', 'STRING$', 'STRREVERSE', 'SYD', 'TAB', 'TAN', 'TIMEOFDAY',
    117               'TIMER', 'TIMESERIAL', 'TIMEVALUE', 'TODAY', 'TRIM', 'TRIM$', 'TYPENAME', 'UBOUND',
    118               'UCASE', 'UCASE$', 'VAL', 'WEEKDAY', 'WEEKDAYNAME', 'YEAR'
    119               ),
    120           8 => array(
    121               'ANY', 'ATN', 'CALENDAR', 'CIRCLE', 'CURRENCY', 'DEFBOOL', 'DEFBYTE', 'DEFCUR',
    122               'DEFDATE', 'DEFDBL', 'DEFDEC', 'DEFINT', 'DEFLNG', 'DEFOBJ', 'DEFSNG', 'DEFSTR',
    123               'DEFVAR', 'EQV', 'GOSUB', 'IMP', 'INITIALIZE', 'ISMISSING', 'LET', 'LINE', 'LSET',
    124               'RSET', 'SGN', 'SQR', 'TERMINATE', 'VARIANT', 'VARTYPE', 'WEND'
    125               ),
    126           ),
    127       'SYMBOLS' => array(
    128           '&', '&=', '*', '*=', '+', '+=', '-', '-=', '//', '/', '/=', '=', '\\', '\\=',
    129           '^', '^='
    130           ),
    131       'CASE_SENSITIVE' => array(
    132           GESHI_COMMENTS => true,
    133           1 => false,
    134           2 => false,
    135           3 => false,
    136           4 => false,
    137           5 => false,
    138           6 => false,
    139           7 => false,
    140           8 => false,
    141           ),
    142       'STYLES' => array(
    143           'KEYWORDS' => array(
    144               1 => 'color: #0600FF;',        //Constants
    145               2 => 'color: #FF8000;',        //Keywords
    146               3 => 'color: #008000;',        //Data Types
    147               4 => 'color: #FF0000;',        //Objects
    148               5 => 'color: #804040;',        //Operators
    149               6 => 'color: #0600FF;',        //Statements
    150               7 => 'color: #0600FF;',        //Functions
    151               8 => 'color: #0600FF;'        //Deprecated
    152               ),
    153           'COMMENTS' => array(
    154               1 => 'color: #008080; font-style: italic;',
    155               'MULTI' => 'color: #008080; font-style: italic;'
    156               ),
    157           'ESCAPE_CHAR' => array(
    158               0 => 'color: #008080; font-weight: bold;'
    159               ),
    160           'BRACKETS' => array(
    161               0 => 'color: #000000;'
    162               ),
    163           'STRINGS' => array(
    164               0 => 'color: #808080;'
    165               ),
    166           'NUMBERS' => array(
    167               0 => 'color: #FF0000;'
    168               ),
    169           'METHODS' => array(
    170               1 => 'color: #0000FF;'
    171               ),
    172           'SYMBOLS' => array(
    173               0 => 'color: #008000;'
    174               ),
    175           'REGEXPS' => array(
    176               ),
    177           'SCRIPT' => array(
    178               )
    179           ),
    180       'URLS' => array(
    181           1 => '',
    182           2 => '',
    183           3 => 'http://www.google.com/search?q={FNAME}+msdn.microsoft.com',
    184           4 => ''
    185           ),
    186       'OOLANG' => true,
    187       'OBJECT_SPLITTERS' => array(
    188           1 =>'.'
    189           ),
    190       'REGEXPS' => array(
    191           ),
    192       'STRICT_MODE_APPLIES' => GESHI_NEVER,
    193       'SCRIPT_DELIMITERS' => array(
    194           ),
    195       'HIGHLIGHT_STRICT_BLOCK' => array(
    196           )
    197   );
    198
    199   ?>

Documentation generated on Thu, 22 Sep 2005 13:48:07 +1200 by phpDocumentor 1.2.3