2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"purple",
"gray",
"brown",
"blue");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"ARRAY",
"BEGIN",
"CONST",
"DO",
"ELSE",
"ELSIF",
"FOR",
"FROM",
"IF",
"IMPORT",
"LOOP",
"PROCEDURE",
"RECORD",
"REPEAT",
"TYPE",
"VAR",
"WHILE",
"WITH");
32 $this->unindent =
array(
"ELSE",
"ELSIF",
"END",
"UNTIL");
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"_",
"-",
"+",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
" ",
",",
".",
"?",
"/");
42 $this->linecommenton =
array(
"");
43 $this->blockcommenton =
array(
"(*");
44 $this->blockcommentoff =
array(
"*)");
48 $this->keywords =
array(
71 "IMPLEMENTATION" =>
"1",
140 $this->linkscripts =
array(
Create styles array
The data for the language used.