2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown");
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(
46 "AGGREGATE_MEMBER" =>
"1",
51 "COMPUTED_ITEM" =>
"1",
52 "COMPUTED_MEMBER" =>
"1",
57 "DYNAMIC_SPAN" =>
"1",
58 "DECOMMISSION" =>
"1",
67 "LOAD_CONVERSION_DATA" =>
"1",
71 "LOAD_DIMENSION" =>
"1",
82 "START_JOB_QUEUE" =>
"1",
83 "STOP_JOB_QUEUE" =>
"1",
90 "AGGREGATE_MEMBERS" =>
"2",
91 "ADDITIVE_ONLY" =>
"2",
92 "ASCII_EXTRACTOR" =>
"2",
97 "CONSOLIDATION" =>
"2",
98 "COMPUTED_MEMBERS" =>
"2",
99 "COMMIT_VERSION" =>
"2",
100 "CYCLE_DIMENSION" =>
"2",
103 "DYNAMIC_SPANS" =>
"2",
106 "DIMENSION_ONLY" =>
"2",
107 "DISPLAY_SET" =>
"2",
109 "END_TRANSFORMER" =>
"2",
114 "FIXED_EXTRACTOR" =>
"2",
116 "GOOD_OUTPUTS" =>
"2",
119 "HIERARCHIC_SUBTRACTIVE" =>
"2",
120 "HIERARCHIC_ONLY" =>
"2",
123 "ITEM_HIERARCHY" =>
"2",
124 "INCLUDE_ALL" =>
"2",
127 "INCREMENTAL" =>
"2",
128 "ITEM_DIMENSION" =>
"2",
129 "INCYCLE_DIMENSION" =>
"2",
130 "INCLUDE_ONLY" =>
"2",
134 "LOAD_MODEL_INCREMENTAL" =>
"2",
143 "NEW_VERSION" =>
"2",
144 "NULLIFY_CURRENT" =>
"2",
145 "NULLIFY_FROM" =>
"2",
153 "RUN_TASK_STEP" =>
"2",
155 "SUBTRACTIVE_ONLY" =>
"2",
157 "SQL_EXTRACTOR" =>
"2",
160 "TIME_LATEST" =>
"2",
161 "TIME_DIMENSION" =>
"2",
162 "TOP_INCYCLE" =>
"2",
163 "TRANSFORMER" =>
"2",
166 "ACROSS_FIELD" =>
"3",
169 "CYCLE_FIELD" =>
"3",
171 "DEFAULT_ALLOWED" =>
"3",
175 "FIELD_OR_UNIT" =>
"3",
180 "ITEM_SPECIFIER" =>
"3",
189 "PERIOD_FIELD" =>
"3",
192 "SHORT_RECORDS" =>
"3",
213 $this->linkscripts = array(