[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/geshi/geshi/src/geshi/ -> parasail.php (source)

   1  <?php
   2  /*************************************************************************************
   3   * parasail.php
   4   * -------
   5   * Author: T. Taft (taft@adacore.com)
   6   * Copyright: (c) 2012 AdaCore (http://adacore.com/)
   7   * Release Version: 1.0.9.1
   8   * Date Started: 2012/08/02
   9   *
  10   * ParaSail language file for GeSHi.
  11   *
  12   * Words are from SciTe configuration file
  13   *
  14   * CHANGES
  15   * -------
  16   * 2012/08/02 (1.0.0)
  17   *   -  First Release
  18   *
  19   * TODO (updated 2012/08/02)
  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   ************************************************************************************/
  41  
  42  $language_data = array (
  43      'LANG_NAME' => 'ParaSail',
  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              'all', 'block', 'case', 'continue', 'each',
  52              'else', 'elsif', 'exit', 'for',
  53              'forward', 'if', 'loop', 'return', 'reverse', 'some',
  54              'then', 'until', 'while', 'with'
  55              ),
  56          2 => array(
  57              'abs', 'and','in', 'mod', 'not', 'null', 'or', 'rem', 'xor'
  58              ),
  59          3 => array(
  60              'abstract', 'class',
  61              'concurrent', 'const',
  62              'end', 'extends', 'exports',
  63              'func', 'global', 'implements', 'import',
  64              'interface', 'is', 'lambda', 'locked',
  65              'new', 'of', 'op', 'optional',
  66              'private', 'queued', 'ref',
  67              'separate', 'type', 'var',
  68              )
  69          ),
  70      'SYMBOLS' => array(
  71          '(', ')', '[', ']', '<', '>'
  72          ),
  73      'CASE_SENSITIVE' => array(
  74          GESHI_COMMENTS => false,
  75          1 => false,
  76          2 => false,
  77          3 => false,
  78          ),
  79      'STYLES' => array(
  80          'KEYWORDS' => array(
  81              1 => 'color: #00007f;',
  82              2 => 'color: #0000ff;',
  83              3 => 'color: #46aa03; font-weight:bold;',
  84              ),
  85          'BRACKETS' => array(
  86              0 => 'color: #66cc66;'
  87              ),
  88          'COMMENTS' => array(
  89              1 => 'color: #adadad; font-style: italic;',
  90              'MULTI' => 'color: #808080; font-style: italic;'
  91              ),
  92          'ESCAPE_CHAR' => array(
  93              0 => 'color: #000099; font-weight: bold;'
  94              ),
  95          'STRINGS' => array(
  96              0 => 'color: #7f007f;'
  97              ),
  98          'NUMBERS' => array(
  99              0 => 'color: #ff0000;'
 100              ),
 101          'METHODS' => array(
 102              1 => 'color: #202020;'
 103              ),
 104          'SYMBOLS' => array(
 105              0 => 'color: #66cc66;'
 106              ),
 107          'REGEXPS' => array(
 108              ),
 109          'SCRIPT' => array(
 110              )
 111          ),
 112      'URLS' => array(
 113          1 => '',
 114          2 => '',
 115          3 => ''
 116          ),
 117      'OOLANG' => true,
 118      'OBJECT_SPLITTERS' => array(
 119          1 => '.'
 120          ),
 121      'REGEXPS' => array(
 122          ),
 123      'STRICT_MODE_APPLIES' => GESHI_NEVER,
 124      'SCRIPT_DELIMITERS' => array(
 125          ),
 126      'HIGHLIGHT_STRICT_BLOCK' => array(
 127          )
 128  );