[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

   1  <?php
   2  /*************************************************************************************
   3   * dot.php
   4   * ---------------------------------
   5   * Author: Adrien Friggeri (adrien@friggeri.net)
   6   * Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net)
   7   * Release Version: 1.0.9.1
   8   * Date Started: 2007/05/30
   9   *
  10   * dot language file for GeSHi.
  11   *
  12   * CHANGES
  13   * -------
  14   * 2007/05/30 (1.0.0)
  15   *  -  First Release
  16   *
  17   * TODO (updated 2007/05/30)
  18   * -------------------------
  19   * Everything
  20   *
  21   *************************************************************************************
  22   *
  23   *     This file is part of GeSHi.
  24   *
  25   *   GeSHi is free software; you can redistribute it and/or modify
  26   *   it under the terms of the GNU General Public License as published by
  27   *   the Free Software Foundation; either version 2 of the License, or
  28   *   (at your option) any later version.
  29   *
  30   *   GeSHi is distributed in the hope that it will be useful,
  31   *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  32   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  33   *   GNU General Public License for more details.
  34   *
  35   *   You should have received a copy of the GNU General Public License
  36   *   along with GeSHi; if not, write to the Free Software
  37   *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  38   *
  39   ************************************************************************************/
  40  
  41  $language_data = array (
  42      'LANG_NAME' => 'dot',
  43      'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
  44      'COMMENT_MULTI' => array('/*' => '*/'),
  45      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  46      'QUOTEMARKS' => array('"'),
  47      'ESCAPE_CHAR' => '\\',
  48      'KEYWORDS' => array(
  49          1 => array(
  50              'URL', 'arrowhead', 'arrowsize', 'arrowtail', 'bb', 'bgcolor', 'bottomlabel',
  51              'center', 'clusterrank', 'color', 'comment', 'constraint', 'decorate',
  52              'dir', 'distortion', 'fillcolor', 'fixedsize', 'fontcolor',
  53              'fontname', 'fontsize', 'group', 'headclip', 'headlabel', 'headport',
  54              'height', 'id', 'label', 'labelangle', 'labeldistance', 'labelfontcolor',
  55              'labelfontname', 'labelfontsize', 'layer', 'layers', 'margin', 'mclimit',
  56              'minlen', 'nodesep', 'nslimit', 'ordering', 'orientation', 'page',
  57              'pagedir', 'peripheries', 'port_label_distance', 'quantum', 'rank', 'rankdir',
  58              'ranksep', 'ratio', 'regular', 'rotate', 'samehead', 'sametail', 'searchsize',
  59              'shape', 'shapefile', 'showboxes', 'sides', 'size', 'skew', 'style',
  60              'tailclip', 'taillabel', 'tailport', 'toplabel', 'weight', 'width'
  61              ),
  62          2 => array(
  63              'node', 'graph', 'digraph', 'strict', 'edge', 'subgraph'
  64              ),
  65          3 => array(
  66              'Mcircle', 'Mdiamond', 'Mrecord', 'Msquare', 'auto', 'back', 'bold',
  67              'both', 'box', 'circle', 'compress', 'dashed', 'diamond', 'dot',
  68              'dotted', 'doublecircle', 'doubleoctagon', 'egg', 'ellipse', 'epsf',
  69              'false', 'fill', 'filled', 'forward', 'global', 'hexagon', 'house',
  70              'inv', 'invdot', 'invhouse', 'invis', 'invodot', 'invtrapezium',
  71              'invtriangle', 'local', 'max', 'min', 'none', 'normal', 'octagon',
  72              'odot', 'out', 'parallelogram', 'plaintext', 'polygon', 'record',
  73              'same', 'solid', 'trapezium', 'triangle', 'tripleoctagon', 'true'
  74              ),
  75          4 => array(
  76              'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'black',
  77              'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue',
  78              'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson',
  79              'cyan', 'darkgoldenrod', 'darkgreen', 'darkkhaki', 'darkolivegreen',
  80              'darkorange', 'darkorchid', 'darksalmon', 'darkseagreen', 'darkslateblue',
  81              'darkslategray', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue',
  82              'dimgray', 'dodgerblue', 'firebrick', 'forestgreen', 'gainsboro', 'ghostwhite',
  83              'gold', 'goldenrod', 'gray', 'green', 'greenyellow', 'honeydew', 'hotpink',
  84              'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush',
  85              'lawngreen', 'lemonchiffon', 'lightblue', 'lightcyan', 'lightgoldenrod',
  86              'lightgoldenrodyellow', 'lightgray', 'lightpink', 'lightsalmon',
  87              'lightseagreen', 'lightskyblue', 'lightslateblue', 'lightslategray',
  88              'lightyellow', 'limegreen', 'linen', 'magenta', 'maroon', 'mediumaquamarine',
  89              'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen',
  90              'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred',
  91              'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'navy',
  92              'navyblue', 'oldlace', 'olivedrab', 'oralwhite', 'orange', 'orangered',
  93              'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred',
  94              'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'purple',
  95              'red', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'salmon2', 'sandybrown',
  96              'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'snow',
  97              'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet',
  98              'violetred', 'wheat', 'white', 'whitesmoke', 'yellow', 'yellowgreen'
  99              )
 100          ),
 101      'SYMBOLS' => array(
 102          '[', ']', '{', '}', '-', '+', '*', '/', '<', '>', '!', '~', '%', '&', '|', '='
 103          ),
 104      'CASE_SENSITIVE' => array(
 105          GESHI_COMMENTS => false,
 106          1 => false,
 107          2 => false,
 108          3 => false,
 109          4 => false,
 110          ),
 111      'STYLES' => array(
 112          'KEYWORDS' => array(
 113              1 => 'color: #000066;',
 114              2 => 'color: #000000; font-weight: bold;',
 115              3 => 'color: #993333;',
 116              4 => 'color: #b1b100;'
 117              ),
 118          'COMMENTS' => array(
 119              1 => 'color: #808080; font-style: italic;',
 120              2 => 'color: #339933;',
 121              'MULTI' => 'color: #808080; font-style: italic;'
 122              ),
 123          'ESCAPE_CHAR' => array(
 124              0 => 'color: #af624d; font-weight: bold;'
 125              ),
 126          'BRACKETS' => array(
 127              0 => 'color: #66cc66;'
 128              ),
 129          'STRINGS' => array(
 130              0 => 'color: #ff0000;'
 131              ),
 132          'NUMBERS' => array(
 133              0 => 'color: #cc66cc;'
 134              ),
 135          'SYMBOLS' => array(
 136              0 => 'color: #66cc66;'
 137              ),
 138          'METHODS' => array(
 139              ),
 140          'SCRIPT' => array(
 141              ),
 142          'REGEXPS' => array(
 143              ),
 144          ),
 145      'URLS' => array(
 146          1 => '',
 147          2 => '',
 148          3 => '',
 149          4 => ''
 150          ),
 151      'OOLANG' => false,
 152      'OBJECT_SPLITTERS' => array(),
 153      'REGEXPS' => array(),
 154      'STRICT_MODE_APPLIES' => GESHI_MAYBE,
 155      'SCRIPT_DELIMITERS' => array(),
 156      'HIGHLIGHT_STRICT_BLOCK' => array(
 157          0 => true,
 158          1 => true,
 159          2 => true,
 160          3 => true
 161          )
 162  );