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",
"purple",
"gray");
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(
65 "CreateBitField" =>
"2",
66 "CreateByteField" =>
"2",
67 "CreateDWordField" =>
"2",
69 "CreateQWordField" =>
"2",
70 "CreateWordField" =>
"2",
71 "DataTableRegion" =>
"2",
78 "OperationRegion" =>
"2",
79 "PowerResource" =>
"2",
83 "EmbeddedControl" =>
"3",
85 "PciBarTarget" =>
"3",
88 "SystemMemory" =>
"3",
102 "Concatenate" =>
"6",
103 "ConcatenateResTemplate" =>
"6",
109 "FindSetLeftBit" =>
"6",
110 "FindSetRightBit" =>
"6",
119 "LGreaterEqual" =>
"6",
156 $this->linkscripts = array(