2$BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple",
"gray",
"brown");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent = array(
"{");
32 $this->unindent = array(
"}");
36 $this->stringchars = array(
"\"",
"'");
37 $this->delimiters = array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
42 $this->linecommenton = array(
"//");
43 $this->blockcommenton = array(
"/*");
44 $this->blockcommentoff = array(
"*/");
48 $this->keywords = array(
132 "displacement" =>
"2",
152 "transformation" =>
"2",
159 "__multiple_inheritance" =>
"2",
160 "__single_inheritance" =>
"2",
161 "__virtual_inheritance" =>
"2",
173 "filteredpulse" =>
"3",
174 "filteredpulsetrain" =>
"3",
196 "calculatenormal" =>
"4",
199 "faceforward" =>
"4",
217 "environment" =>
"7",
230 $this->linkscripts = array(
An exception for terminatinating execution or to throw for unit testing.