2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
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(
55 "architecture" =>
"1",
66 "configuration" =>
"1",
152 "std_logic_vector" =>
"2",
159 "ActivPullUp" =>
"5",
165 "CntNBitDown" =>
"5",
170 "CntNBitUpDown" =>
"5",
173 "DiffH2LWithFF" =>
"5",
174 "DiffL2HWithFF" =>
"5",
184 "PreScale1Bit" =>
"5",
185 "PreScale1BitAR" =>
"5",
186 "PreScale1BitARNegClk" =>
"5",
187 "PreScaleNBit" =>
"5",
188 "PreScaleNBitAR" =>
"5",
196 "RsSynchronizer" =>
"5",
197 "ShiftP2SRegNBitAR" =>
"5",
198 "ShiftRegNBitAR" =>
"5",
199 "ShiftS2SRegNBit" =>
"5",
201 "SyncAndDiffL2HWithFF" =>
"5",
202 "SyncAndDiffH2LWithFF" =>
"5",
203 "SyncAndDiffL2HWithFFAndFg" =>
"5",
204 "SyncAndDiffH2LWithFFAndFg" =>
"5",
205 "SyncAndDiffLL2HHWithFF" =>
"5",
206 "SyncAndDiffHH2LLWithFF" =>
"5",
207 "SyncAndDiffLL2HHWithFFAndFg" =>
"5",
208 "SyncAndDiffHH2LLWithFFAndFg" =>
"5",
209 "ActivPullUp_arch" =>
"6",
211 "And2FF_arch" =>
"6",
212 "AndNFF_arch" =>
"6",
213 "Cnt1Bit_arch" =>
"6",
214 "CntNBit_arch" =>
"6",
215 "CntNBitDown_arch" =>
"6",
216 "CntNBitMod_arch" =>
"6",
217 "CntNBitOe_arch" =>
"6",
218 "CntNBitSLd_arch" =>
"6",
219 "CntNBitSR_arch" =>
"6",
220 "CntNBitUpDown_arch" =>
"6",
221 "CompNBit_arch" =>
"6",
222 "CompNBitFF_arch" =>
"6",
223 "DiffH2LWithFF_arch" =>
"6",
224 "DiffL2HWithFF_arch" =>
"6",
226 "Dff1NegClk_arch" =>
"6",
228 "Encode4to5_arch" =>
"6",
229 "Mux1of2_arch" =>
"6",
230 "Mux1of8_arch" =>
"6",
231 "Mux1Vof2V_arch" =>
"6",
232 "Mux1Vof3V_arch" =>
"6",
233 "Mux1Vof4V_arch" =>
"6",
234 "PreScale1Bit_arch" =>
"6",
235 "PreScale1BitAR_arch" =>
"6",
236 "PreScale1BitARNegClk_arch" =>
"6",
237 "PreScaleNBit_arch" =>
"6",
238 "PreScaleNBitAR_arch" =>
"6",
239 "Reg1Bit_arch" =>
"6",
240 "Reg1BitAR_arch" =>
"6",
241 "Reg1BitR_arch" =>
"6",
242 "RegNBit_arch" =>
"6",
243 "RegNBitAR_arch" =>
"6",
244 "RSFFAsync_arch" =>
"6",
245 "RSFFsync_arch" =>
"6",
246 "RsSynchronizer_arch" =>
"6",
247 "ShiftP2SRegNBitAR_arch" =>
"6",
248 "ShiftRegNBitAR_arch" =>
"6",
249 "ShiftS2SRegNBit_arch" =>
"6",
250 "SRFFsync_arch" =>
"6",
251 "SyncAndDiffL2HWithFF_arch" =>
"6",
252 "SyncAndDiffH2LWithFF_arch" =>
"6",
253 "SyncAndDiffL2HWithFFAndFg_arch" =>
"6",
254 "SyncAndDiffH2LWithFFAndFg_arch" =>
"6",
255 "SyncAndDiffLL2HHWithFF_arch" =>
"6",
256 "SyncAndDiffHH2LLWithFF_arch" =>
"6",
257 "SyncAndDiffLL2HHWithFFAndFg_arch" =>
"6",
258 "SyncAndDiffHH2LLWithFFAndFg_arch" =>
"6");
267 $this->linkscripts =
array(
Create styles array
The data for the language used.