2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"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(
50 "DECLARATIONS" =>
"1",
52 "Declarations" =>
"1",
59 "FUNCTIONAL_BLOCK" =>
"1",
61 "Functional_block" =>
"1",
65 "If-Then-Else" =>
"1",
90 "STATE_DIAGRAM" =>
"1",
91 "STATE_REGISTER" =>
"1",
94 "State_Diagram" =>
"1",
95 "State_register" =>
"1",
98 "TEST_VECTORS" =>
"1",
100 "TRUTH_TABLE" =>
"1",
101 "Test_Vectors" =>
"1",
104 "Truth_Table" =>
"1",
105 "Test_vectors" =>
"1",
107 "When-Then-Else" =>
"1",
110 "XOR_FACTORS" =>
"1",
111 "XOR_Factors" =>
"1",
171 $this->linkscripts = array(