plugins/geshi/geshi/dot.php
changeset 2 9e3258dfae15
parent 0 441963e5b07a
child 3 f3e2bbbd2155
equal deleted inserted replaced
1:c715631f809a 2:9e3258dfae15
     2 /*************************************************************************************
     2 /*************************************************************************************
     3  * dot.php
     3  * dot.php
     4  * ---------------------------------
     4  * ---------------------------------
     5  * Author: Adrien Friggeri (adrien@friggeri.net)
     5  * Author: Adrien Friggeri (adrien@friggeri.net)
     6  * Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net)
     6  * Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net)
     7  * Release Version: 1.0.7.20
     7  * Release Version: 1.0.8.2
     8  * CVS Revision Version: $Revision: 958 $
       
     9  * Date Started: 2007/05/30
     8  * Date Started: 2007/05/30
    10  * Last Modified: $Date: 2007-04-01 23:51:03 +1200 (Sun, 01 Apr 2007) $
       
    11  *
     9  *
    12  * dot language file for GeSHi.
    10  * dot language file for GeSHi.
    13  *
    11  *
    14  * CHANGES
    12  * CHANGES
    15  * -------
    13  * -------
    46     'COMMENT_MULTI' => array('/*' => '*/'),
    44     'COMMENT_MULTI' => array('/*' => '*/'),
    47     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    45     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    48     'QUOTEMARKS' => array('"'),
    46     'QUOTEMARKS' => array('"'),
    49     'ESCAPE_CHAR' => '\\',
    47     'ESCAPE_CHAR' => '\\',
    50     'KEYWORDS' => array(
    48     'KEYWORDS' => array(
    51         1 => array('URL', 'arrowhead', 'arrowsize', 'arrowtail', 'bb', 'bgcolor', 'bottomlabel',
    49         1 => array(
    52           'center', 'clusterrank', 'color', 'comment', 'constraint', 'decorate',
    50             'URL', 'arrowhead', 'arrowsize', 'arrowtail', 'bb', 'bgcolor', 'bottomlabel',
    53           'dir', 'distortion', 'fillcolor', 'fixedsize', 'fontcolor',
    51             'center', 'clusterrank', 'color', 'comment', 'constraint', 'decorate',
    54           'fontname', 'fontsize', 'group', 'headclip', 'headlabel', 'headport',
    52             'dir', 'distortion', 'fillcolor', 'fixedsize', 'fontcolor',
    55           'height', 'id', 'label', 'labelangle', 'labeldistance', 'labelfontcolor',
    53             'fontname', 'fontsize', 'group', 'headclip', 'headlabel', 'headport',
    56           'labelfontname', 'labelfontsize', 'layer', 'layers', 'margin', 'mclimit',
    54             'height', 'id', 'label', 'labelangle', 'labeldistance', 'labelfontcolor',
    57           'minlen', 'nodesep', 'nslimit', 'ordering', 'orientation', 'page',
    55             'labelfontname', 'labelfontsize', 'layer', 'layers', 'margin', 'mclimit',
    58           'pagedir', 'peripheries', 'port_label_distance', 'quantum', 'rank', 'rankdir',
    56             'minlen', 'nodesep', 'nslimit', 'ordering', 'orientation', 'page',
    59           'ranksep', 'ratio', 'regular', 'rotate', 'samehead', 'sametail', 'searchsize',
    57             'pagedir', 'peripheries', 'port_label_distance', 'quantum', 'rank', 'rankdir',
    60           'shape', 'shapefile', 'showboxes', 'sides', 'size', 'skew', 'style',
    58             'ranksep', 'ratio', 'regular', 'rotate', 'samehead', 'sametail', 'searchsize',
    61           'tailclip', 'taillabel', 'tailport', 'toplabel', 'weight', 'width' 
    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', 'TRUE', 'auto', 'back',
       
    67             'bold', 'both', 'box', 'circle', 'compress', 'dashed', 'diamond', 'dot',
       
    68             'dotted', 'doublecircle', 'doubleoctagon', 'egg', 'ellipse', 'epsf', 'false',
       
    69             'fill', 'filled', 'forward', 'global', 'hexagon', 'house', 'inv', 'invdot',
       
    70             'invhouse', 'invis', 'invodot', 'invtrapezium', 'invtriangle', 'local', 'max',
       
    71             'min', 'none', 'normal', 'octagon', 'odot', 'out', 'parallelogram', 'plaintext',
       
    72             'polygon', 'record', 'same', 'solid', 'trapezium', 'triangle', 'tripleoctagon',
       
    73             '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             )
    62         ),
   100         ),
    63         2 => array('node', 'graph', 'digraph', 'strict', 'edge', 'subgraph'),
       
    64         3 => array('FALSE', 'Mcircle', 'Mdiamond', 'Mrecord', 'Msquare', 'TRUE', 'auto', 'back',
       
    65           'bold', 'both', 'box', 'circle', 'compress', 'dashed', 'diamond', 'dot',
       
    66           'dotted', 'doublecircle', 'doubleoctagon', 'egg', 'ellipse', 'epsf', 'false',
       
    67           'fill', 'filled', 'forward', 'global', 'hexagon', 'house', 'inv', 'invdot',
       
    68           'invhouse', 'invis', 'invodot', 'invtrapezium', 'invtriangle', 'local', 'max',
       
    69           'min', 'none', 'normal', 'octagon', 'odot', 'out', 'parallelogram', 'plaintext',
       
    70           'polygon', 'record', 'same', 'solid', 'trapezium', 'triangle', 'tripleoctagon',
       
    71           'true' 
       
    72         ),
       
    73         4 => array('aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'black',
       
    74           'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue',
       
    75           'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson',
       
    76           'cyan', 'darkgoldenrod', 'darkgreen', 'darkkhaki', 'darkolivegreen',
       
    77           'darkorange', 'darkorchid', 'darksalmon', 'darkseagreen', 'darkslateblue',
       
    78           'darkslategray', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue',
       
    79           'dimgray', 'dodgerblue', 'firebrick', 'forestgreen', 'gainsboro', 'ghostwhite',
       
    80           'gold', 'goldenrod', 'gray', 'green', 'greenyellow', 'honeydew', 'hotpink',
       
    81           'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush',
       
    82           'lawngreen', 'lemonchiffon', 'lightblue', 'lightcyan', 'lightgoldenrod',
       
    83           'lightgoldenrodyellow', 'lightgray', 'lightpink', 'lightsalmon',
       
    84           'lightseagreen', 'lightskyblue', 'lightslateblue', 'lightslategray',
       
    85           'lightyellow', 'limegreen', 'linen', 'magenta', 'maroon', 'mediumaquamarine',
       
    86           'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen',
       
    87           'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred',
       
    88           'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'navy',
       
    89           'navyblue', 'oldlace', 'olivedrab', 'oralwhite', 'orange', 'orangered',
       
    90           'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred',
       
    91           'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'purple',
       
    92           'red', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'salmon2', 'sandybrown',
       
    93           'seagreen', 'seashell', 'sienna', 'skyblue', 'slateblue', 'slategray', 'snow',
       
    94           'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet',
       
    95           'violetred', 'wheat', 'white', 'whitesmoke', 'yellow', 'yellowgreen' 
       
    96         )
       
    97       ),
       
    98     'SYMBOLS' => array(
   101     'SYMBOLS' => array(
    99         '[', ']', '{', '}', '-', '+', '*', '/', '<', '>', '!', '~', '%', '&', '|', '='
   102         '[', ']', '{', '}', '-', '+', '*', '/', '<', '>', '!', '~', '%', '&', '|', '='
   100     ),
   103         ),
   101     'CASE_SENSITIVE' => array(
   104     'CASE_SENSITIVE' => array(
   102         GESHI_COMMENTS => false,
   105         GESHI_COMMENTS => false,
   103         1 => false,
   106         1 => false,
   104         2 => false,
   107         2 => false,
   105         3 => false,
   108         3 => false,
   106         4 => false,
   109         4 => false,
   107     ),
   110         ),
   108     'STYLES' => array(
   111     'STYLES' => array(
   109         'KEYWORDS' => array(
   112         'KEYWORDS' => array(
   110             1 => 'color: #000066;',
   113             1 => 'color: #000066;',
   111             2 => 'color: #000000; font-weight: bold;',
   114             2 => 'color: #000000; font-weight: bold;',
   112             3 => 'color: #993333;',
   115             3 => 'color: #993333;',
   113             4 => 'color: #b1b100;'
   116             4 => 'color: #b1b100;'
   114         ),
   117             ),
   115         'COMMENTS' => array(
   118         'COMMENTS' => array(
   116             1 => 'color: #808080; font-style: italic;',
   119             1 => 'color: #808080; font-style: italic;',
   117             2 => 'color: #339933;',
   120             2 => 'color: #339933;',
   118             'MULTI' => 'color: #808080; font-style: italic;'
   121             'MULTI' => 'color: #808080; font-style: italic;'
   119         ),
   122             ),
   120         'ESCAPE_CHAR' => array(
   123         'ESCAPE_CHAR' => array(
   121             0 => 'color: #af624d; font-weight: bold;'
   124             0 => 'color: #af624d; font-weight: bold;'
   122         ),
   125             ),
   123         'BRACKETS' => array(
   126         'BRACKETS' => array(
   124             0 => 'color: #66cc66;'
   127             0 => 'color: #66cc66;'
   125         ),
   128             ),
   126         'STRINGS' => array(
   129         'STRINGS' => array(
   127             0 => 'color: #ff0000;'
   130             0 => 'color: #ff0000;'
   128         ),
   131             ),
   129         'NUMBERS' => array(
   132         'NUMBERS' => array(
   130             0 => 'color: #cc66cc;'
   133             0 => 'color: #cc66cc;'
   131         ),
   134             ),
   132         'SYMBOLS' => array(
   135         'SYMBOLS' => array(
   133             0 => 'color: #66cc66;'
   136             0 => 'color: #66cc66;'
   134         ),
   137             ),
   135         'METHODS' => array(
   138         'METHODS' => array(
   136             ),
   139             ),
   137         'SCRIPT' => array(
   140         'SCRIPT' => array(
   138             ),
   141             ),
   139         'REGEXPS' => array(
   142         'REGEXPS' => array(
   140             ),
   143             ),
   141     ),
   144         ),
   142     'URLS' => array(
   145     'URLS' => array(
   143         1 => '',
   146         1 => '',
   144         2 => '',
   147         2 => '',
   145         3 => ''
   148         3 => '',
   146     ),
   149         4 => ''
       
   150         ),
   147     'OOLANG' => false,
   151     'OOLANG' => false,
   148     'OBJECT_SPLITTER' => '',    
   152     'OBJECT_SPLITTERS' => array(),
   149     'REGEXPS' => array(),
   153     'REGEXPS' => array(),
   150     'STRICT_MODE_APPLIES' => GESHI_MAYBE,
   154     'STRICT_MODE_APPLIES' => GESHI_MAYBE,
   151     'SCRIPT_DELIMITERS' => array(),
   155     'SCRIPT_DELIMITERS' => array(),
   152     'HIGHLIGHT_STRICT_BLOCK' => array(
   156     'HIGHLIGHT_STRICT_BLOCK' => array(
   153         0 => true,
   157         0 => true,
   154         1 => true,
   158         1 => true,
   155         2 => true,
   159         2 => true,
   156         3 => true
   160         3 => true
   157     )
   161         )
   158 );
   162 );
   159 
   163 
   160 ?>
   164 ?>