fortran.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * fortran.php
00004  * -----------
00005  * Author: Cedric Arrabie (cedric.arrabie@univ-pau.fr)
00006  * Copyright: (C) 2006 Cetric Arrabie
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2006/04/22
00009  * 
00010  * Fortran language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2006/04/20 (1.0.0)
00015  *   -  First Release
00016  *
00017  * TODO 
00018  * -------------------------
00019  *  -  Get a list of inbuilt functions to add (and explore fortran more
00020  *     to complete this rather bare language file)
00021  *
00022  *************************************************************************************
00023  *
00024  *     This file is part of GeSHi.
00025  *
00026  *   GeSHi is free software; you can redistribute it and/or modify
00027  *   it under the terms of the GNU General Public License as published by
00028  *   the Free Software Foundation; either version 2 of the License, or
00029  *   (at your option) any later version.
00030  *
00031  *   GeSHi is distributed in the hope that it will be useful,
00032  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00033  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00034  *   GNU General Public License for more details.
00035  *
00036  *   You should have received a copy of the GNU General Public License
00037  *   along with GeSHi; if not, write to the Free Software
00038  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00039  *
00040  ************************************************************************************/
00041 
00042 $language_data = array (
00043      'LANG_NAME'=>'Fortran',
00044      'COMMENT_SINGLE'=> array(1 =>'!',2=>'Cf2py'),
00045      'COMMENT_MULTI'=> array(),
00046      'CASE_KEYWORDS'=> GESHI_CAPS_NO_CHANGE,
00047      'QUOTEMARKS'=> array("'",'"'),
00048      'ESCAPE_CHAR'=>'\\',
00049      'KEYWORDS'=> array(
00050           1 => array(
00051                'allocate','block','call','case','contains','continue','cycle','deallocate',
00052                'default','do','else','elseif','elsewhere','end','enddo','endif','endwhere',
00053                'entry','exit','function','go','goto','if','interface','module','nullify','only', 
00054                'operator','procedure','program','recursive','return','select','stop', 
00055                'subroutine','then','to','where','while',
00056             'access','action','advance','blank','blocksize','carriagecontrol',
00057                'delim','direct','eor','err','exist','file','flen','fmt','form','formatted',
00058                'iostat','name','named','nextrec','nml','number','opened','pad','position',
00059                'readwrite','recl','sequential','status','unformatted','unit'
00060                ),
00061           2 => array(
00062                '.AND.','.EQ.','.EQV.','.GE.','.GT.','.LE.','.LT.','.NE.','.NEQV.','.NOT.',
00063                '.OR.','.TRUE.','.FALSE.'
00064                ),
00065           3 => array(
00066                'allocatable','character','common','complex','data','dimension','double',
00067                'equivalence','external','implicit','in','inout','integer','intent','intrinsic',
00068                'kind','logical','namelist','none','optional','out','parameter','pointer',
00069                'private','public','real','result','save','sequence','target','type','use'
00070                ),
00071           4 => array(
00072                'abs','achar','acos','adjustl','adjustr','aimag','aint','all','allocated',
00073                'anint','any','asin','atan','atan2','bit_size','break','btest','carg',
00074                'ceiling','char','cmplx','conjg','cos','cosh','cpu_time','count','cshift',
00075                'date_and_time','dble','digits','dim','dot_product','dprod dvchk',
00076                'eoshift','epsilon','error','exp','exponent','floor','flush','fraction',
00077                'getcl','huge','iachar','iand','ibclr','ibits','ibset','ichar','ieor','index',
00078                'int','intrup','invalop','ior','iostat_msg','ishft','ishftc','lbound',
00079                'len','len_trim','lge','lgt','lle','llt','log','log10','matmul','max','maxexponent',
00080                'maxloc','maxval','merge','min','minexponent','minloc','minval','mod','modulo',
00081                'mvbits','nbreak','ndperr','ndpexc','nearest','nint','not','offset','ovefl',
00082                'pack','precfill','precision','present','product','prompt','radix',
00083                'random_number','random_seed','range','repeat','reshape','rrspacing',
00084                'scale','scan','segment','selected_int_kind','selected_real_kind',
00085                'set_exponent','shape','sign','sin','sinh','size','spacing','spread','sqrt',
00086                'sum system','system_clock','tan','tanh','timer','tiny','transfer','transpose',
00087                'trim','ubound','undfl','unpack','val','verify'
00088                ),
00089           ),
00090      'SYMBOLS'=> array(
00091           '(',')','{','}','[',']','=','+','-','*','/','!','%','^','&',':'
00092           ),
00093      'CASE_SENSITIVE'=> array(
00094           GESHI_COMMENTS => true,
00095           1 => false,
00096           2 => false,
00097           3 => false,
00098           4 => false,
00099           ),
00100      'STYLES'=> array(
00101           'KEYWORDS'=> array(
00102                1 =>'color: #b1b100;',
00103                2 =>'color: #000000; font-weight: bold;',
00104                3 =>'color: #000066;',
00105                4 =>'color: #993333;'
00106                ),
00107           'COMMENTS'=> array(
00108                1 =>'color: #808080; font-style: italic;',
00109                2 =>'color: #339933;',
00110                'MULTI'=>'color: #808080; font-style: italic;'
00111                ),
00112           'ESCAPE_CHAR'=> array(
00113                0 =>'color: #000099; font-weight: bold;'
00114                ),
00115           'BRACKETS'=> array(
00116                0 =>'color: #66cc66;'
00117                ),
00118           'STRINGS'=> array(
00119                0 =>'color: #ff0000;'
00120                ),
00121           'NUMBERS'=> array(
00122                0 =>'color: #cc66cc;'
00123                ),
00124           'METHODS'=> array(
00125                1 =>'color: #202020;',
00126                2 =>'color: #202020;'
00127                ),
00128           'SYMBOLS'=> array(
00129                0 =>'color: #66cc66;'
00130                ),
00131           'REGEXPS'=> array(
00132                ),
00133           'SCRIPT'=> array(
00134                )
00135           ),
00136      'URLS'=> array(
00137           1 =>'',
00138           2 =>'',
00139           3 =>'',
00140           4 =>''
00141           ),
00142      'OOLANG'=> true,
00143      'OBJECT_SPLITTERS'=> array(
00144           1 =>'.',
00145           2 =>'::'
00146           ),
00147      'REGEXPS'=> array(
00148           ),
00149      'STRICT_MODE_APPLIES'=> GESHI_NEVER,
00150      'SCRIPT_DELIMITERS'=> array(
00151           ),
00152      'HIGHLIGHT_STRICT_BLOCK'=> array(
00153           )
00154 );
00155 
00156 ?>

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