00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 $language_data = array (
00046 'LANG_NAME' => 'D',
00047 'COMMENT_SINGLE' => array(1 => '//'),
00048 'COMMENT_MULTI' => array('/*' => '*/'),
00049 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00050 'QUOTEMARKS' => array('"', "'", '`'),
00051 'ESCAPE_CHAR' => '\\',
00052 'KEYWORDS' => array(
00053 1 => array(
00054 'while',
00055 'switch',
00056 'if',
00057 'foreach',
00058 'for',
00059 'goto',
00060 'return',
00061 'else',
00062 'do',
00063 'case',
00064 'continue',
00065 'break'
00066 ),
00067 2 => array(
00068 'with',
00069 'union',
00070 'typeof',
00071 'typeid',
00072 'typedef',
00073 'try',
00074 'true',
00075 'throw',
00076 'this',
00077 'super',
00078 'pragma',
00079 'out',
00080 'null',
00081 'new',
00082 'module',
00083 'mixin',
00084 'is',
00085 'invariant',
00086 'interface',
00087 'inout',
00088 'in',
00089 'import',
00090 'function',
00091 'finally',
00092 'false',
00093 'extern',
00094 'delete',
00095 'delegate',
00096 'default',
00097 'catch',
00098 'cast',
00099 'body',
00100 'assert',
00101 'asm',
00102 'alias'
00103 ),
00104 3 => array(
00105 'TypeInfo',
00106 'SwitchError',
00107 'OutOfMemoryException',
00108 'Object',
00109 'ModuleInfo',
00110 'Interface',
00111 'Exception',
00112 'Error',
00113 'ClassInfo',
00114 'ArrayBoundsError',
00115 'AssertError',
00116 '_d_throw',
00117 '_d_switch_ustring',
00118 '_d_switch_string',
00119 '_d_switch_dstring',
00120 '_d_OutOfMemory',
00121 '_d_obj_eq',
00122 '_d_obj_cmp',
00123 '_d_newclass',
00124 '_d_newbitarray',
00125 '_d_newarrayi',
00126 '_d_new',
00127 '_d_monitorrelease',
00128 '_d_monitor_prolog',
00129 '_d_monitor_handler',
00130 '_d_monitorexit',
00131 '_d_monitor_epilog',
00132 '_d_monitorenter',
00133 '_d_local_unwind',
00134 '_d_isbaseof2',
00135 '_d_isbaseof',
00136 '_d_invariant',
00137 '_d_interface_vtbl',
00138 '_d_interface_cast',
00139 '_d_framehandler',
00140 '_d_exception_filter',
00141 '_d_exception',
00142 '_d_dynamic_cast',
00143 '_d_delmemory',
00144 '_d_delinterface',
00145 '_d_delclass',
00146 '_d_delarray',
00147 '_d_criticalexit',
00148 '_d_criticalenter',
00149 '_d_create_exception_object',
00150 '_d_callfinalizer',
00151 '_d_arraysetlengthb',
00152 '_d_arraysetlength',
00153 '_d_arraysetbit2',
00154 '_d_arraysetbit',
00155 '_d_arraycopybit',
00156 '_d_arraycopy',
00157 '_d_arraycatn',
00158 '_d_arraycatb',
00159 '_d_arraycat',
00160 '_d_arraycast_frombit',
00161 '_d_arraycast',
00162 '_d_arrayappendcb',
00163 '_d_arrayappendc',
00164 '_d_arrayappendb',
00165 '_d_arrayappend',
00166 ),
00167 4 => array(
00168 'wchar',
00169 'volatile',
00170 'void',
00171 'version',
00172 'ushort',
00173 'unittest',
00174 'ulong',
00175 'uint',
00176 'ucent',
00177 'ubyte',
00178 'template',
00179 'struct',
00180 'static',
00181 'synchronized',
00182 'size_t',
00183 'short',
00184 'real',
00185 'public',
00186 'protected',
00187 'private',
00188 'ptrdiff_t',
00189 'package',
00190 'override',
00191 'long',
00192 'int',
00193 'ireal',
00194 'ifloat',
00195 'idouble',
00196 'float',
00197 'final',
00198 'export',
00199 'enum',
00200 'double',
00201 'deprecated',
00202 'debug',
00203 'dchar',
00204 'creal',
00205 'const',
00206 'class',
00207 'char',
00208 'cfloat',
00209 'cent',
00210 'cdouble',
00211 'byte',
00212 'bool',
00213 'bit',
00214 'auto',
00215 'align',
00216 'abstract'
00217 )
00218 ),
00219 'SYMBOLS' => array(
00220 '(', ')', '[', ']', '{', '}', '?', '!', ';', ':', ',', '...', '..',
00221 '+', '-', '*', '/', '%', '&', '|', '^', '<', '>', '=', '~',
00222 ),
00223 'CASE_SENSITIVE' => array(
00224 GESHI_COMMENTS => true,
00225 1 => true,
00226 2 => true,
00227 3 => true,
00228 4 => true
00229 ),
00230 'STYLES' => array(
00231 'KEYWORDS' => array(
00232 1 => 'color: #b1b100;',
00233 2 => 'color: #000000; font-weight: bold;',
00234 3 => 'color: #aaaadd; font-weight: bold;',
00235 4 => 'color: #993333;'
00236 ),
00237 'COMMENTS' => array(
00238 1=> 'color: #808080; font-style: italic;',
00239 2=> 'color: #a1a100;',
00240 'MULTI' => 'color: #808080; font-style: italic;'
00241 ),
00242 'ESCAPE_CHAR' => array(
00243 0 => 'color: #000099; font-weight: bold;'
00244 ),
00245 'BRACKETS' => array(
00246 0 => 'color: #66cc66;'
00247 ),
00248 'STRINGS' => array(
00249 0 => 'color: #ff0000;'
00250 ),
00251 'NUMBERS' => array(
00252 0 => 'color: #cc66cc;'
00253 ),
00254 'METHODS' => array(
00255 1 => 'color: #006600;',
00256 2 => 'color: #006600;'
00257 ),
00258 'SYMBOLS' => array(
00259 0 => 'color: #66cc66;'
00260 ),
00261 'SCRIPT' => array(
00262 ),
00263 'REGEXPS' => array(
00264 )
00265 ),
00266 'URLS' => array(
00267 1 => '',
00268 2 => '',
00269 3 => '',
00270 4 => ''
00271 ),
00272 'OOLANG' => true,
00273 'OBJECT_SPLITTERS' => array(
00274 1 => '.',
00275 ),
00276 'REGEXPS' => array(
00277 ),
00278 'STRICT_MODE_APPLIES' => GESHI_NEVER,
00279 'SCRIPT_DELIMITERS' => array(
00280 ),
00281 'HIGHLIGHT_STRICT_BLOCK' => array(
00282 )
00283 );
00284
00285 ?>