[ Index ]
 

Code source de DokuWiki 2006-11-06

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

title

Body

[fermer]

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

   1  <?php
   2  /*************************************************************************************
   3   * io.php
   4   * -------
   5   * Author: Nigel McNie (nigel@geshi.org)
   6   * Copyright: (c) 2006 Nigel McNie (http://qbnz.com/highlighter/)
   7   * Release Version: 1.0.7.15
   8   * CVS Revision Version: $Revision: 1.1.2.1 $
   9   * Date Started: 2006/09/23
  10   * Last Modified: $Date: 2006/10/23 01:35:16 $
  11   *
  12   * Io language file for GeSHi. Thanks to Johnathan Wright for the suggestion and help
  13   * with this language :)
  14   *
  15   * CHANGES
  16   * -------
  17   * 2006/09/23(1.0.0)
  18   *  -  First Release
  19   *
  20   * TODO
  21   * -------------------------
  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' => 'Io',
  45      'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
  46      'COMMENT_MULTI' => array('/*' => '*/'),
  47      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  48      'QUOTEMARKS' => array('"'),
  49      'ESCAPE_CHAR' => '\\',
  50      'KEYWORDS' => array(
  51          1 => array(
  52              'and', 'break', 'else', 'elseif', 'exit', 'for', 'foreach', 'if', 'ifFalse', 'ifNil',
  53              'ifTrue', 'or', 'pass', 'raise', 'return', 'then', 'try', 'wait', 'while', 'yield'
  54              ),
  55          2 => array(
  56              'activate', 'activeCoroCount', 'asString', 'block', 'catch', 'clone', 'collectGarbage',
  57              'compileString', 'continue', 'do', 'doFile', 'doMessage', 'doString', 'forward',
  58              'getSlot', 'getenv', 'hasSlot', 'isActive', 'isNil', 'isResumable', 'list', 'message',
  59              'method', 'parent', 'pause', 'perform', 'performWithArgList', 'print', 'proto',
  60              'raiseResumable', 'removeSlot', 'resend', 'resume', 'schedulerSleepSeconds', 'self',
  61              'sender', 'setSchedulerSleepSeconds', 'setSlot', 'shallowCopy', 'slotNames', 'super',
  62              'system', 'thisBlock', 'thisContext', 'thisMessage', 'type', 'uniqueId', 'updateSlot',
  63              'write'
  64              ),
  65          3 => array(
  66              'Array', 'AudioDevice', 'AudioMixer', 'Block', 'Box', 'Buffer', 'CFunction', 'CGI',
  67              'Color', 'Curses', 'DBM', 'DNSResolver', 'DOConnection', 'DOProxy', 'DOServer',
  68              'Date', 'Directory', 'Duration', 'DynLib', 'Error', 'Exception', 'FFT', 'File',
  69              'Fnmatch', 'Font', 'Future', 'GL', 'GLE', 'GLScissor', 'GLU', 'GLUCylinder',
  70              'GLUQuadric', 'GLUSphere', 'GLUT', 'Host', 'Image', 'Importer', 'LinkList', 'List',
  71              'Lobby', 'Locals', 'MD5', 'MP3Decoder', 'MP3Encoder', 'Map', 'Message', 'Movie',
  72              'NULL', 'Nil', 'Nop', 'Notifiction', 'Number', 'Object', 'OpenGL', 'Point', 'Protos',
  73              'Regex', 'SGMLTag', 'SQLite', 'Server', 'ShowMessage', 'SleepyCat', 'SleepyCatCursor',
  74              'Socket', 'SocketManager', 'Sound', 'Soup', 'Store', 'String', 'Tree', 'UDPSender',
  75              'UDPReceiver', 'URL', 'User', 'Warning', 'WeakLink'
  76              )
  77          ),
  78      'SYMBOLS' => array(
  79          '(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
  80          ),
  81      'CASE_SENSITIVE' => array(
  82          GESHI_COMMENTS => false,
  83          1 => false,
  84          2 => false,
  85          3 => false,
  86          ),
  87      'STYLES' => array(
  88          'KEYWORDS' => array(
  89              1 => 'color: #b1b100;',
  90              2 => 'color: #000000; font-weight: bold;',
  91              3 => 'color: #000066;'
  92              ),
  93          'COMMENTS' => array(
  94              1 => 'color: #808080; font-style: italic;',
  95              2 => 'color: #808080; font-style: italic;',
  96              'MULTI' => 'color: #808080; font-style: italic;'
  97              ),
  98          'ESCAPE_CHAR' => array(
  99              0 => 'color: #000099; font-weight: bold;'
 100              ),
 101          'BRACKETS' => array(
 102              0 => 'color: #66cc66;'
 103              ),
 104          'STRINGS' => array(
 105              0 => 'color: #ff0000;'
 106              ),
 107          'NUMBERS' => array(
 108              0 => 'color: #cc66cc;'
 109              ),
 110          'METHODS' => array(
 111              1 => 'color: #006600;',
 112              2 => 'color: #006600;'
 113              ),
 114          'SYMBOLS' => array(
 115              0 => 'color: #66cc66;'
 116              ),
 117          'REGEXPS' => array(
 118              0 => 'color: #0000ff;'
 119              ),
 120          'SCRIPT' => array(
 121              0 => ''
 122              )
 123          ),
 124      'URLS' => array(
 125          1 => '',
 126          2 => '',
 127          3 => ''
 128          ),
 129      'OOLANG' => false,
 130      'OBJECT_SPLITTERS' => array(
 131          ),
 132      'REGEXPS' => array(
 133          ),
 134      'STRICT_MODE_APPLIES' => GESHI_NEVER,
 135      'SCRIPT_DELIMITERS' => array(
 136          ),
 137      'HIGHLIGHT_STRICT_BLOCK' => array(
 138          )
 139  );
 140  
 141  ?>


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