2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array();
28 $this->unindent = array();
32 $this->stringchars = array(
"\"",
"'");
33 $this->delimiters = array(
"(",
")",
"{",
"}",
"[",
"]",
";",
",",
"`",
" ",
" ");
38 $this->linecommenton = array(
"--");
39 $this->blockcommenton = array(
"{-");
40 $this->blockcommentoff = array(
"-}");
44 $this->keywords = array(
56 "Hugs_ExitWith" =>
"1",
58 "Hugs_SuspendThread" =>
"1",
131 "approxRational" =>
"3",
151 "decodeFloat" =>
"3",
152 "denominator" =>
"3",
156 "doubleToFloat" =>
"3",
157 "doubleToRatio" =>
"3",
158 "doubleToRational" =>
"3",
163 "encodeFloat" =>
"3",
165 "enumFromThen" =>
"3",
166 "enumFromThenTo" =>
"3",
175 "floatDigits" =>
"3",
176 "floatProperFraction" =>
"3",
179 "floatToRational" =>
"3",
189 "fromInteger" =>
"3",
190 "fromIntegral" =>
"3",
191 "fromRational" =>
"3",
192 "fromRealFrac" =>
"3",
196 "getContents" =>
"3",
209 "ioeGetErrorString" =>
"3",
214 "isDenormalized" =>
"3",
221 "isNegativeZero" =>
"3",
255 "numericEnumFrom" =>
"3",
256 "numericEnumFromThen" =>
"3",
257 "numericEnumFromThenTo" =>
"3",
258 "numericEnumFromTo" =>
"3",
265 "primAcosDouble" =>
"3",
266 "primAcosFloat" =>
"3",
267 "primAsinDouble" =>
"3",
268 "primAsinFloat" =>
"3",
269 "primAtanDouble" =>
"3",
270 "primAtanFloat" =>
"3",
271 "primCharToInt" =>
"3",
272 "primCmpChar" =>
"3",
273 "primCmpDouble" =>
"3",
274 "primCmpFloat" =>
"3",
276 "primCmpInteger" =>
"3",
277 "primCompAux" =>
"3",
278 "primCosDouble" =>
"3",
279 "primCosFloat" =>
"3",
280 "primDivDouble" =>
"3",
281 "primDivFloat" =>
"3",
283 "primDoubleDecode" =>
"3",
284 "primDoubleDigits" =>
"3",
285 "primDoubleEncode" =>
"3",
286 "primDoubleMaxExp" =>
"3",
287 "primDoubleMinExp" =>
"3",
288 "primDoubleRadix" =>
"3",
290 "primEqDouble" =>
"3",
291 "primEqFloat" =>
"3",
293 "primEqInteger" =>
"3",
294 "primEvenInt" =>
"3",
295 "primEvenInteger" =>
"3",
296 "primExitWith" =>
"3",
297 "primExpDouble" =>
"3",
298 "primExpFloat" =>
"3",
299 "primFloatDecode" =>
"3",
300 "primFloatDigits" =>
"3",
301 "primFloatEncode" =>
"3",
302 "primFloatMaxExp" =>
"3",
303 "primFloatMinExp" =>
"3",
304 "primFloatRadix" =>
"3",
305 "primIntToChar" =>
"3",
306 "primIntToDouble" =>
"3",
307 "primIntToFloat" =>
"3",
308 "primIntToInteger" =>
"3",
309 "primIntegerToDouble" =>
"3",
310 "primIntegerToFloat" =>
"3",
311 "primIntegerToInt" =>
"3",
312 "primLogDouble" =>
"3",
313 "primLogFloat" =>
"3",
316 "primMinusDouble" =>
"3",
317 "primMinusFloat" =>
"3",
318 "primMinusInt" =>
"3",
319 "primMinusInteger" =>
"3",
321 "primMulDouble" =>
"3",
322 "primMulFloat" =>
"3",
324 "primMulInteger" =>
"3",
325 "primNegDouble" =>
"3",
326 "primNegFloat" =>
"3",
328 "primNegInteger" =>
"3",
329 "primPiDouble" =>
"3",
330 "primPiFloat" =>
"3",
331 "primPlusDouble" =>
"3",
332 "primPlusFloat" =>
"3",
333 "primPlusInt" =>
"3",
334 "primPlusInteger" =>
"3",
337 "primPmInteger" =>
"3",
341 "primQrmInteger" =>
"3",
342 "primQuotInt" =>
"3",
343 "primRationalToDouble" =>
"3",
344 "primRationalToFloat" =>
"3",
346 "primShowsDouble" =>
"3",
347 "primShowsFloat" =>
"3",
348 "primShowsInt" =>
"3",
349 "primShowsInteger" =>
"3",
350 "primSinDouble" =>
"3",
351 "primSinFloat" =>
"3",
352 "primSqrtDouble" =>
"3",
353 "primSqrtFloat" =>
"3",
354 "primTanDouble" =>
"3",
355 "primTanFloat" =>
"3",
360 "properFraction" =>
"3",
369 "rationalToDouble" =>
"3",
370 "rationalToFloat" =>
"3",
371 "rationalToRealFloat" =>
"3",
381 "readLitChar" =>
"3",
388 "realFloatToRational" =>
"3",
409 "showLitChar" =>
"3",
415 "significand" =>
"3",
491 $this->linkscripts = array(