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(
"MAIN",
"THEN");
32 $this->unindent =
array(
"END MAIN",
"END IF",
"END FOR",
"END FOREACH");
36 $this->stringchars =
array(
'"');
37 $this->delimiters =
array(
"~",
"!",
"@",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
42 $this->linecommenton =
array(
"--");
43 $this->blockcommenton =
array(
"{");
44 $this->blockcommentoff =
array(
"}");
48 $this->keywords =
array(
101 "DISPLAYONLY" =>
"1",
137 "INSTRUCTIONS" =>
"1",
236 "UBeautifierIFT" =>
"1",
282 "ROLLFORWARD" =>
"2",
333 $this->linkscripts =
array(
Create styles array
The data for the language used.