[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/inc/geshi/ -> div.php (source)

   1  <?php
   2  /*************************************************************************************

   3   * div.php

   4   * ---------------------------------

   5   * Author: Gabriel Lorenzo (ermakina@gmail.com)

   6   * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)

   7   * Release Version: 1.0.7.15
   8   * CVS Revision Version: $Revision: 1.13.2.4 $

   9   * Date Started: 2005/06/19

  10   * Last Modified: $Date: 2006/09/23 02:05:46 $

  11   *

  12   * DIV language file for GeSHi.

  13   *

  14   * CHANGES

  15   * -------

  16   * 2005/06/22 (1.0.0)

  17   *  -  First Release, includes "2nd gen" ELSEIF statement

  18   *

  19   * TODO (updated 2005/06/22)

  20   * -------------------------

  21   *  -  I'm pretty satisfied with this, so nothing for now... :P

  22   *

  23   *************************************************************************************

  24   *

  25   *     This file is part of GeSHi.

  26   *

  27   *   GeSHi is free software; you can redistribute it and/or modify

  28   *   it under the terms of the GNU General Public License as published by

  29   *   the Free Software Foundation; either version 2 of the License, or

  30   *   (at your option) any later version.

  31   *

  32   *   GeSHi is distributed in the hope that it will be useful,

  33   *   but WITHOUT ANY WARRANTY; without even the implied warranty of

  34   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

  35   *   GNU General Public License for more details.

  36   *

  37   *   You should have received a copy of the GNU General Public License

  38   *   along with GeSHi; if not, write to the Free Software

  39   *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

  40   *

  41   ************************************************************************************/
  42  
  43  $language_data = array (
  44      'LANG_NAME' => 'DIV',
  45      'COMMENT_SINGLE' => array(1 => '//'),
  46      'COMMENT_MULTI' => array('/*' => '*/'),
  47      'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
  48      'QUOTEMARKS' => array("'", '"'),
  49      'ESCAPE_CHAR' => '',
  50      'KEYWORDS' => array(
  51          1 => array(
  52              'while','until','to','switch','step','return','repeat','loop','if','from','frame','for','end','elseif',
  53              'else','default','debug','continue','clone','case','break','begin'
  54              ),
  55          2 => array(
  56              'xor','whoami','type','sizeof','pointer','or','offset','not','neg','mod','id','dup','and','_ne','_lt',
  57              '_le','_gt','_ge','_eq'
  58              ),
  59          3 => array(
  60              'setup_program','program','process','private','local','import','global','function','const',
  61              'compiler_options'
  62              ),
  63          4 => array(
  64              'word','struct','string','int','byte'
  65              ),
  66          ),
  67      'SYMBOLS' => array(
  68          '(',')','[',']','=','+','-','*','/','!','%','^','&',':',';',',','<','>'
  69          ),
  70      'CASE_SENSITIVE' => array(
  71          GESHI_COMMENTS => false,
  72          1 => false,
  73          2 => false,
  74          3 => false,
  75          4 => false,
  76          ),
  77      'STYLES' => array(
  78          'KEYWORDS' => array(
  79              1 => 'color: #0040b1;',
  80              2 => 'color: #000000;',
  81              3 => 'color: #000066; font-weight: bold;',
  82              4 => 'color: #993333;'
  83              ),
  84          'COMMENTS' => array(
  85              1 => 'color: #808080; font-style: italic;',
  86              'MULTI' => 'color: #808080; font-style: italic;'
  87              ),
  88          'ESCAPE_CHAR' => array(
  89              0 => ''
  90              ),
  91          'BRACKETS' => array(
  92              0 => 'color: #44aa44;'
  93              ),
  94          'STRINGS' => array(
  95              0 => 'color: #ff0000;'
  96              ),
  97          'NUMBERS' => array(
  98              0 => 'color: #cc66cc;'
  99              ),
 100          'METHODS' => array(
 101              0 => 'color: #202020;',
 102              ),
 103          'SYMBOLS' => array(
 104              0 => 'color: #44aa44;'
 105              ),
 106          'REGEXPS' => array(
 107              ),
 108          'SCRIPT' => array(
 109              )
 110          ),
 111      'URLS' => array(
 112          1 => '',
 113          2 => '',
 114          3 => '',
 115          4 => ''
 116          ),
 117      'OOLANG' => false,
 118      'OBJECT_SPLITTER' => '',
 119      'REGEXPS' => array(
 120          ),
 121      'STRICT_MODE_APPLIES' => GESHI_NEVER,
 122      'SCRIPT_DELIMITERS' => array(
 123          ),
 124      'HIGHLIGHT_STRICT_BLOCK' => array(
 125          )
 126  );
 127  
 128  ?>


Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7