xpp.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * xpp.php
00004  * -------
00005  * Author: Simon Butcher (simon@butcher.name)
00006  * Copyright: (c) 2007 Simon Butcher (http://simon.butcher.name/)
00007  * Release Version: 1.0.7.20
00008  * CVS Revision Version: $Revision$
00009  * Date Started: 2007/02/27
00010  * Last Modified: $Date$
00011  *
00012  * Axapta/Dynamics Ax X++ language file for GeSHi.
00013  * For details, see <http://msdn.microsoft.com/en-us/library/aa867122.aspx>
00014  *
00015  * CHANGES
00016  * -------
00017  * 2007/02/28 (1.0.0)
00018  *  -  First Release
00019  *
00020  * TODO (updated 2007/02/27)
00021  * -------------------------
00022  *
00023  *************************************************************************************
00024  *
00025  *     This file is part of GeSHi.
00026  *
00027  *   GeSHi is free software; you can redistribute it and/or modify
00028  *   it under the terms of the GNU General Public License as published by
00029  *   the Free Software Foundation; either version 2 of the License, or
00030  *   (at your option) any later version.
00031  *
00032  *   GeSHi is distributed in the hope that it will be useful,
00033  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00034  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00035  *   GNU General Public License for more details.
00036  *
00037  *   You should have received a copy of the GNU General Public License
00038  *   along with GeSHi; if not, write to the Free Software
00039  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00040  *
00041  ************************************************************************************/
00042 
00043 $language_data = array (
00044      'LANG_NAME' => 'X++',
00045      'COMMENT_SINGLE' => array(1 => '//'),
00046      'COMMENT_MULTI' => array('/*' => '*/'),
00047      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00048      'QUOTEMARKS' => array("'", '"'),
00049      'ESCAPE_CHAR' => '\\',
00050      'KEYWORDS' => array(
00051           1 => array( // Primitive types
00052                'void',
00053                'str',
00054                'real',
00055                'int64',
00056                'int',
00057                'date',
00058                'container',
00059                'boolean',
00060                'anytype'
00061                ),
00062           2 => array( // Keywords
00063                'window',
00064                'while',
00065                'try',
00066                'true',
00067                'throw',
00068                'switch',
00069                'super',
00070                'static',
00071                'server',
00072                'right',
00073                'return',
00074                'retry',
00075                'public',
00076                'protected',
00077                'private',
00078                'print',
00079                'pause',
00080                'null',
00081                'new',
00082                'mod',
00083                'left',
00084                'interface',
00085                'implements',
00086                'if',
00087                'for',
00088                'final',
00089                'false',
00090                'extends',
00091                'else',
00092                'edit',
00093                'do',
00094                'div',
00095                'display',
00096                'default',
00097                'continue',
00098                'client',
00099                'class',
00100                'changeCompany',
00101                'case',
00102                'breakpoint',
00103                'break',
00104                'at',
00105                'abstract'
00106                ),
00107           3 => array( // Functions within the Axapta kernel
00108                'year',
00109                'wkofyr',
00110                'webwebpartstr',
00111                'webstaticfilestr',
00112                'websitetempstr',
00113                'websitedefstr',
00114                'webreportstr',
00115                'webpagedefstr',
00116                'weboutputcontentitemstr',
00117                'webmenustr',
00118                'webletitemstr',
00119                'webformstr',
00120                'webdisplaycontentitemstr',
00121                'webactionitemstr',
00122                'varstr',
00123                'utilmoyr',
00124                'uint2str',
00125                'typeof',
00126                'typeid',
00127                'trunc',
00128                'today',
00129                'timenow',
00130                'time2str',
00131                'term',
00132                'tanh',
00133                'tan',
00134                'tablestr',
00135                'tablestaticmethodstr',
00136                'tablepname',
00137                'tablenum',
00138                'tablename2id',
00139                'tablemethodstr',
00140                'tableid2pname',
00141                'tableid2name',
00142                'tablefieldgroupstr',
00143                'tablecollectionstr',
00144                'systemdateset',
00145                'systemdateget',
00146                'syd',
00147                'substr',
00148                'strupr',
00149                'strscan',
00150                'strrtrim',
00151                'strrep',
00152                'strrem',
00153                'strprompt',
00154                'strpoke',
00155                'strnfind',
00156                'strlwr',
00157                'strltrim',
00158                'strline',
00159                'strlen',
00160                'strkeep',
00161                'strins',
00162                'strfmt',
00163                'strfind',
00164                'strdel',
00165                'strcolseq',
00166                'strcmp',
00167                'stralpha',
00168                'str2time',
00169                'str2num',
00170                'str2int64',
00171                'str2int',
00172                'str2guid',
00173                'str2enum',
00174                'str2date',
00175                'staticmethodstr',
00176                'sln',
00177                'sleep',
00178                'sinh',
00179                'sin',
00180                'setprefix',
00181                'sessionid',
00182                'securitykeystr',
00183                'securitykeynum',
00184                'runbuf',
00185                'runas',
00186                'round',
00187                'resourcestr',
00188                'reportstr',
00189                'refprintall',
00190                'rate',
00191                'querystr',
00192                'pv',
00193                'pt',
00194                'prmisdefault',
00195                'primoyr',
00196                'prevyr',
00197                'prevqtr',
00198                'prevmth',
00199                'power',
00200                'pmt',
00201                'num2str',
00202                'num2date',
00203                'num2char',
00204                'nextyr',
00205                'nextqtr',
00206                'nextmth',
00207                'newguid',
00208                'mthofyr',
00209                'mthname',
00210                'mkdate',
00211                'minint',
00212                'min',
00213                'methodstr',
00214                'menustr',
00215                'menuitemoutputstr',
00216                'menuitemdisplaystr',
00217                'menuitemactionstr',
00218                'maxint',
00219                'maxdate',
00220                'max',
00221                'match',
00222                'logn',
00223                'log10',
00224                'literalstr',
00225                'licensecodestr',
00226                'licensecodenum',
00227                'intvnorm',
00228                'intvno',
00229                'intvname',
00230                'intvmax',
00231                'int64str',
00232                'int64str',
00233                'indexstr',
00234                'indexnum',
00235                'indexname2id',
00236                'indexid2name',
00237                'idg',
00238                'identifierstr',
00239                'helpfilestr',
00240                'helpdevstr',
00241                'helpapplstr',
00242                'guid2str',
00243                'getprefix',
00244                'getCurrentUTCTime',
00245                'fv',
00246                'funcname',
00247                'frac',
00248                'formstr',
00249                'fieldstr',
00250                'fieldpname',
00251                'fieldnum',
00252                'fieldname2id',
00253                'fieldid2pname',
00254                'fieldid2name',
00255                'extendedTypeStr',
00256                'extendedTypeNum',
00257                'exp10',
00258                'exp',
00259                'evalbuf',
00260                'enumstr',
00261                'enumnum',
00262                'enumcnt',
00263                'enum2str',
00264                'endmth',
00265                'dimof',
00266                'dg',
00267                'decround',
00268                'ddb',
00269                'dayofyr',
00270                'dayofwk',
00271                'dayofmth',
00272                'dayname',
00273                'date2str',
00274                'date2num',
00275                'curuserid',
00276                'curext',
00277                'cterm',
00278                'cosh',
00279                'cos',
00280                'corrflagset',
00281                'corrflagget',
00282                'convertUTCTimeToLocalTime',
00283                'convertUTCDateToLocalDate',
00284                'conpoke',
00285                'conpeek',
00286                'connull',
00287                'conlen',
00288                'conins',
00289                'confind',
00290                'configurationkeystr',
00291                'configurationkeynum',
00292                'condel',
00293                'classstr',
00294                'classnum',
00295                'classidget',
00296                'char2num',
00297                'beep',
00298                'atan',
00299                'asin',
00300                'ascii2ansi',
00301                'any2str',
00302                'any2real',
00303                'any2int64',
00304                'any2int',
00305                'any2guid',
00306                'any2enum',
00307                'any2date',
00308                'ansi2ascii',
00309                'acos',
00310                'abs'
00311                ),
00312           4 => array( // X++ SQL stuff
00313                'where',
00314                'update_recordset',
00315                'ttsCommit',
00316                'ttsBegin',
00317                'ttsAbort',
00318                'sum',
00319                'setting',
00320                'select',
00321                'reverse',
00322                'pessimisticLock',
00323                'outer',
00324                'order by',
00325                'optimisticLock',
00326                'notExists',
00327                'noFetch',
00328                'next',
00329                'minof',
00330                'maxof',
00331                'like',
00332                'join',
00333                'insert_recordset',
00334                'index hint',
00335                'index',
00336                'group by',
00337                'from',
00338                'forUpdate',
00339                'forceSelectOrder',
00340                'forcePlaceholders',
00341                'forceNestedLoop',
00342                'forceLiterals',
00343                'flush',
00344                'firstOnly',
00345                'firstFast',
00346                'exists',
00347                'desc',
00348                'delete_from',
00349                'count',
00350                'avg',
00351                'asc'
00352                )
00353           ),
00354      'SYMBOLS' => array( // X++ symbols
00355           '!',
00356           '&',
00357           '(',
00358           ')',
00359           '*',
00360           '^',
00361           '|',
00362           '~',
00363           '+',
00364           ',',
00365           '-',
00366           '/',
00367           ':',
00368           '<',
00369           '=',
00370           '>',
00371           '?',
00372           '[',
00373           ']',
00374           '{',
00375           '}'
00376           ),
00377      'CASE_SENSITIVE' => array(
00378           GESHI_COMMENTS => true,
00379           1 => false,
00380           2 => false,
00381           3 => false,
00382           4 => false
00383           ),
00384      'STYLES' => array(
00385           'KEYWORDS' => array(
00386                1 => 'color: #0000ff;',
00387                2 => 'color: #0000ff;',
00388                3 => 'color: #0000ff;',
00389                4 => 'color: #0000ff;'
00390                ),
00391           'COMMENTS' => array(
00392                1 => 'color: #007f00;',
00393                'MULTI' => 'color: #007f00; font-style: italic;'
00394                ),
00395           'ESCAPE_CHAR' => array(
00396                0 => 'color: #000000;'
00397                ),
00398           'BRACKETS' => array(
00399                0 => 'color: #000000;'
00400                ),
00401           'STRINGS' => array(
00402                0 => 'color: #ff0000;'
00403                ),
00404           'NUMBERS' => array(
00405                0 => 'color: #000000;'
00406                ),
00407           'METHODS' => array(
00408                1 => 'color: #000000;',
00409                2 => 'color: #000000;'
00410                ),
00411           'SYMBOLS' => array(
00412                0 => 'color: #00007f;'
00413                ),
00414           'REGEXPS' => array(
00415                ),
00416           'SCRIPT' => array(
00417                )
00418           ),
00419      'URLS' => array(
00420           ),
00421      'OOLANG' => true,
00422      'OBJECT_SPLITTERS' => array(
00423           1 => '.',
00424           2 => '::'
00425           ),
00426      'REGEXPS' => array(
00427           ),
00428      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00429      'SCRIPT_DELIMITERS' => array(
00430           ),
00431      'HIGHLIGHT_STRICT_BLOCK' => array(
00432           )
00433 );
00434 
00435 ?>

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