2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"gray");
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(
54 "DECLARATIONS" =>
"1",
56 "Declarations" =>
"1",
63 "FUNCTIONAL_BLOCK" =>
"1",
65 "Functional_block" =>
"1",
69 "If-Then-Else" =>
"1",
94 "STATE_DIAGRAM" =>
"1",
95 "STATE_REGISTER" =>
"1",
98 "State_Diagram" =>
"1",
99 "State_register" =>
"1",
102 "TEST_VECTORS" =>
"1",
104 "TRUTH_TABLE" =>
"1",
105 "Test_Vectors" =>
"1",
108 "Truth_Table" =>
"1",
109 "Test_vectors" =>
"1",
111 "When-Then-Else" =>
"1",
114 "XOR_FACTORS" =>
"1",
115 "XOR_Factors" =>
"1",
175 $this->linkscripts =
array(
Create styles array
The data for the language used.