2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
12 parent::__construct();
27 $this->colours =
array(
"blue",
"purple",
"gray",
"brown",
"blue");
28 $this->quotecolour =
"blue";
29 $this->blockcommentcolour =
"green";
30 $this->linecommentcolour =
"green";
34 $this->indent =
array(
"{");
35 $this->unindent =
array(
"}");
39 $this->stringchars =
array(
"\"",
"'");
40 $this->delimiters =
array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"{",
"}",
"[",
"]",
"<",
">",
":",
";",
"\"",
"'",
" ",
",",
" ",
".",
"?");
45 $this->linecommenton =
array(
"//");
46 $this->blockcommenton =
array(
"/*");
47 $this->blockcommentoff =
array(
"*/");
51 $this->keywords =
array(
63 "dynamic_cast" =>
"1",
84 "reinterpret_cast" =>
"1",
157 $this->linkscripts =
array(
Create styles array
The data for the language used.