KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dot.php 6.9KB

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