ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
HFile_matlab5 Class Reference
+ Inheritance diagram for HFile_matlab5:
+ Collaboration diagram for HFile_matlab5:

Public Member Functions

 HFile_matlab5 ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 HFile ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 5 of file HFile_matlab5.php.

Member Function Documentation

◆ donothing()

HFile_matlab5::donothing (   $keywordin)

Definition at line 561 of file HFile_matlab5.php.

562 {
563  return $keywordin;
564 }

◆ HFile_matlab5()

HFile_matlab5::HFile_matlab5 ( )

Definition at line 6 of file HFile_matlab5.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // Matlab 5
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "brown", "blue");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array("!", "@", "$", "^", "&", "*", "(", ")", "{", "}", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?", "~");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("%");
39 $this->blockcommenton = array("/*");
40 $this->blockcommentoff = array("*/");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "assignin" => "1",
46  "break" => "1",
47  "case" => "1",
48  "catch" => "1",
49  "cell" => "1",
50  "char" => "1",
51  "class" => "1",
52  "dbclear" => "1",
53  "dbcont" => "1",
54  "dbdown" => "1",
55  "dbquit" => "1",
56  "dbstack" => "1",
57  "dbstatus" => "1",
58  "dbstep" => "1",
59  "dbstop" => "1",
60  "dbtype" => "1",
61  "dbup" => "1",
62  "debug" => "1",
63  "double" => "1",
64  "else" => "1",
65  "elseif" => "1",
66  "end" => "1",
67  "error" => "1",
68  "eval" => "1",
69  "evalin" => "1",
70  "feval" => "1",
71  "fieldnames" => "1",
72  "for" => "1",
73  "function" => "1",
74  "getfield" => "1",
75  "global" => "1",
76  "if" => "1",
77  "input" => "1",
78  "isa" => "1",
79  "iscell" => "1",
80  "ischar" => "1",
81  "isempty" => "1",
82  "isequal" => "1",
83  "isfield" => "1",
84  "isnumeric" => "1",
85  "isstruct" => "1",
86  "keyboard" => "1",
87  "lasterr" => "1",
88  "logical" => "1",
89  "length" => "1",
90  "long" => "1",
91  "menu" => "1",
92  "mexdebug" => "1",
93  "nargchk" => "1",
94  "nargin" => "1",
95  "nargout" => "1",
96  "ones" => "1",
97  "otherwise" => "1",
98  "pause" => "1",
99  "persistent" => "1",
100  "return" => "1",
101  "rmfield" => "1",
102  "script" => "1",
103  "setfield" => "1",
104  "sparse" => "1",
105  "speye" => "1",
106  "struct" => "1",
107  "switch" => "1",
108  "try" => "1",
109  "varargin" => "1",
110  "varargout" => "1",
111  "while" => "1",
112  "acsl" => "2",
113  "binpatch" => "2",
114  "cd" => "2",
115  "cedit" => "2",
116  "clc" => "2",
117  "clear" => "2",
118  "computer" => "2",
119  "delete" => "2",
120  "diary" => "2",
121  "dir" => "2",
122  "disp" => "2",
123  "doc" => "2",
124  "dos" => "2",
125  "echo" => "2",
126  "fileparts" => "2",
127  "format" => "2",
128  "fullfile" => "2",
129  "getenv" => "2",
130  "help" => "2",
131  "home" => "2",
132  "hostid" => "2",
133  "info" => "2",
134  "inquire" => "2",
135  "load" => "2",
136  "lookfor" => "2",
137  "ls" => "2",
138  "matlabro" => "2",
139  "memory" => "2",
140  "mlock" => "2",
141  "more" => "2",
142  "munlock" => "2",
143  "mislocked" => "2",
144  "pack" => "2",
145  "path" => "2",
146  "pwd" => "2",
147  "quit" => "2",
148  "readme" => "2",
149  "save" => "2",
150  "size" => "2",
151  "subscrib" => "2",
152  "type" => "2",
153  "unix" => "2",
154  "ver" => "2",
155  "version" => "2",
156  "vms" => "2",
157  "what" => "2",
158  "whatsnew" => "2",
159  "which" => "2",
160  "who" => "2",
161  "whos" => "2",
162  "why" => "2",
163  "abs" => "3",
164  "acos" => "3",
165  "acosh" => "3",
166  "acot" => "3",
167  "acoth" => "3",
168  "acsc" => "3",
169  "acsch" => "3",
170  "angle" => "3",
171  "asec" => "3",
172  "asech" => "3",
173  "asin" => "3",
174  "asinh" => "3",
175  "atan" => "3",
176  "atan2" => "3",
177  "atanh" => "3",
178  "ceil" => "3",
179  "conj" => "3",
180  "cos" => "3",
181  "cosh" => "3",
182  "cot" => "3",
183  "coth" => "3",
184  "csc" => "3",
185  "csch" => "3",
186  "exp" => "3",
187  "fix" => "3",
188  "floor" => "3",
189  "imag" => "3",
190  "log" => "3",
191  "log10" => "3",
192  "real" => "3",
193  "rem" => "3",
194  "round" => "3",
195  "sec" => "3",
196  "sech" => "3",
197  "sign" => "3",
198  "sin" => "3",
199  "sinh" => "3",
200  "sqrt" => "3",
201  "tan" => "3",
202  "tanh" => "3",
203  "+" => "3",
204  "-" => "3",
205  "*" => "3",
206  "/" => "3",
207  "auread" => "4",
208  "auwright" => "4",
209  "axes" => "4",
210  "axis" => "4",
211  "blt" => "4",
212  "capture" => "4",
213  "cinvert" => "4",
214  "cla" => "4",
215  "clf" => "4",
216  "clg" => "4",
217  "close" => "4",
218  "colstyle" => "4",
219  "dc2sc" => "4",
220  "dialog" => "4",
221  "drawnow" => "4",
222  "errordlg" => "4",
223  "figflag" => "4",
224  "figure" => "4",
225  "findobj" => "4",
226  "gca" => "4",
227  "gcf" => "4",
228  "gco" => "4",
229  "get" => "4",
230  "getframe" => "4",
231  "ginput" => "4",
232  "graymon" => "4",
233  "hardcopy" => "4",
234  "helpdlg" => "4",
235  "hold" => "4",
236  "image" => "4",
237  "imagesc" => "4",
238  "imfinfo" => "4",
239  "imread" => "4",
240  "imwright" => "4",
241  "ishold" => "4",
242  "layout" => "4",
243  "meta" => "4",
244  "movie" => "4",
245  "moviein" => "4",
246  "newplot" => "4",
247  "orient" => "4",
248  "patch" => "4",
249  "print" => "4",
250  "questdlg" => "4",
251  "rbbox" => "4",
252  "refresh" => "4",
253  "reset" => "4",
254  "rotate" => "4",
255  "sc2dc" => "4",
256  "set" => "4",
257  "shg" => "4",
258  "sound" => "4",
259  "soundsc" => "4",
260  "subplot" => "4",
261  "swapprev" => "4",
262  "terminal" => "4",
263  "uicontrol" => "4",
264  "uigetfile" => "4",
265  "uiguide" => "4",
266  "uimenu" => "4",
267  "uiputfile" => "4",
268  "uisetcolor" => "4",
269  "uisetfont" => "4",
270  "waitforbuttonpress" => "4",
271  "warndlg" => "4",
272  "wavread" => "4",
273  "wavwright" => "4",
274  "whitebg" => "4",
275  "zoom" => "4",
276  "all" => "5",
277  "any" => "5",
278  "arith" => "5",
279  "balance" => "5",
280  "bar" => "5",
281  "blanks" => "5",
282  "bone" => "5",
283  "brighten" => "5",
284  "caxis" => "5",
285  "cdf2rdf" => "5",
286  "chol" => "5",
287  "clabel" => "5",
288  "cmdmatch" => "5",
289  "colon" => "5",
290  "colorbar" => "5",
291  "colormap" => "5",
292  "comet" => "5",
293  "comet3" => "5",
294  "compass" => "5",
295  "cond" => "5",
296  "contour" => "5",
297  "contour3" => "5",
298  "contourc" => "5",
299  "contrast" => "5",
300  "conv" => "5",
301  "conv2" => "5",
302  "cool" => "5",
303  "copper" => "5",
304  "corrcoef" => "5",
305  "cov" => "5",
306  "cplxpair" => "5",
307  "cross" => "5",
308  "csvread" => "5",
309  "csvwrite" => "5",
310  "cumprod" => "5",
311  "cumsum" => "5",
312  "cylinder" => "5",
313  "deblank" => "5",
314  "dec2hex" => "5",
315  "deconv" => "5",
316  "del2" => "5",
317  "delstext" => "5",
318  "det" => "5",
319  "diff" => "5",
320  "diffuse" => "5",
321  "dlmread" => "5",
322  "dlmwrite" => "5",
323  "dot" => "5",
324  "eig" => "5",
325  "errorbar" => "5",
326  "exist" => "5",
327  "expm" => "5",
328  "expm1" => "5",
329  "expm2" => "5",
330  "expm3" => "5",
331  "fclose" => "5",
332  "feather" => "5",
333  "feof" => "5",
334  "ferror" => "5",
335  "fft" => "5",
336  "fft2" => "5",
337  "fftshift" => "5",
338  "fgetl" => "5",
339  "fgets" => "5",
340  "filesep" => "5",
341  "fill" => "5",
342  "fill3" => "5",
343  "filter" => "5",
344  "filter2" => "5",
345  "find" => "5",
346  "findstr" => "5",
347  "finite" => "5",
348  "fixstext" => "5",
349  "flag" => "5",
350  "fmin" => "5",
351  "fmins" => "5",
352  "fopen" => "5",
353  "foptions" => "5",
354  "fplot" => "5",
355  "fprintf" => "5",
356  "fread" => "5",
357  "frewind" => "5",
358  "fscanf" => "5",
359  "fseek" => "5",
360  "ftell" => "5",
361  "funm" => "5",
362  "fwrite" => "5",
363  "fzero" => "5",
364  "getcargs" => "5",
365  "getstext" => "5",
366  "gradient" => "5",
367  "gray" => "5",
368  "grid" => "5",
369  "griddata" => "5",
370  "gtext" => "5",
371  "hess" => "5",
372  "hex2dec" => "5",
373  "hex2num" => "5",
374  "hdf" => "5",
375  "hidden" => "5",
376  "hist" => "5",
377  "hk" => "5",
378  "hot" => "5",
379  "hsv" => "5",
380  "hsv2rgb" => "5",
381  "icubic" => "5",
382  "ifft" => "5",
383  "ifft2" => "5",
384  "int2str" => "5",
385  "interp1" => "5",
386  "interp2" => "5",
387  "interp3" => "5",
388  "interp4" => "5",
389  "interp5" => "5",
390  "interp6" => "5",
391  "interpft" => "5",
392  "inv" => "5",
393  "isglobal" => "5",
394  "isinf" => "5",
395  "isletter" => "5",
396  "isnan" => "5",
397  "isreal" => "5",
398  "isspace" => "5",
399  "isstr" => "5",
400  "jet" => "5",
401  "kron" => "5",
402  "legend" => "5",
403  "line" => "5",
404  "loglog" => "5",
405  "logm" => "5",
406  "lower" => "5",
407  "lscan" => "5",
408  "lscov" => "5",
409  "lu" => "5",
410  "mat2str" => "5",
411  "matlabroot" => "5",
412  "max" => "5",
413  "mean" => "5",
414  "median" => "5",
415  "mesh" => "5",
416  "meshc" => "5",
417  "meshz" => "5",
418  "mexext" => "5",
419  "min" => "5",
420  "mkpp" => "5",
421  "move1sto" => "5",
422  "moveaxis" => "5",
423  "nextpow2" => "5",
424  "nnls" => "5",
425  "norm" => "5",
426  "null" => "5",
427  "num2str" => "5",
428  "ode23" => "5",
429  "ode23p" => "5",
430  "ode45" => "5",
431  "orth" => "5",
432  "paren" => "5",
433  "partialpath" => "5",
434  "pathsep" => "5",
435  "pcolor" => "5",
436  "pink" => "5",
437  "pinv" => "5",
438  "planerot" => "5",
439  "plot" => "5",
440  "plot3" => "5",
441  "polar" => "5",
442  "poly" => "5",
443  "polyder" => "5",
444  "polyeig" => "5",
445  "polyfit" => "5",
446  "polyline" => "5",
447  "polymark" => "5",
448  "polyval" => "5",
449  "polyvalm" => "5",
450  "ppval" => "5",
451  "printsto" => "5",
452  "prism" => "5",
453  "prod" => "5",
454  "punct" => "5",
455  "qr" => "5",
456  "qrdelete" => "5",
457  "qrinsert" => "5",
458  "quad" => "5",
459  "quad8" => "5",
460  "quad8stp" => "5",
461  "quadstp" => "5",
462  "quiver" => "5",
463  "qz" => "5",
464  "rank" => "5",
465  "rcond" => "5",
466  "readstfm" => "5",
467  "relop" => "5",
468  "resi2" => "5",
469  "residue" => "5",
470  "rgb2hsv" => "5",
471  "rgbplot" => "5",
472  "roots" => "5",
473  "rose" => "5",
474  "rref" => "5",
475  "rsf2csf" => "5",
476  "schur" => "5",
477  "semilogx" => "5",
478  "semilogy" => "5",
479  "setstext" => "5",
480  "setstr" => "5",
481  "shading" => "5",
482  "slash" => "5",
483  "slegend" => "5",
484  "slice" => "5",
485  "sort" => "5",
486  "specular" => "5",
487  "sphere" => "5",
488  "spinmap" => "5",
489  "spline" => "5",
490  "spreview" => "5",
491  "sprintf" => "5",
492  "sqrtm" => "5",
493  "sscanf" => "5",
494  "stairs" => "5",
495  "std" => "5",
496  "stem" => "5",
497  "stext" => "5",
498  "stextbox" => "5",
499  "stfixps" => "5",
500  "stitle" => "5",
501  "stodemo" => "5",
502  "str2mat" => "5",
503  "str2num" => "5",
504  "str2rng" => "5",
505  "strcmp" => "5",
506  "strings" => "5",
507  "strrep" => "5",
508  "strtok" => "5",
509  "subspace" => "5",
510  "sum" => "5",
511  "surf" => "5",
512  "surface" => "5",
513  "surfc" => "5",
514  "surfl" => "5",
515  "surfnorm" => "5",
516  "svd" => "5",
517  "sxlabel" => "5",
518  "sylabel" => "5",
519  "szlabel" => "5",
520  "table1" => "5",
521  "table2" => "5",
522  "tempdir" => "5",
523  "tempname" => "5",
524  "text" => "5",
525  "title" => "5",
526  "trace" => "5",
527  "trapz" => "5",
528  "unmkpp" => "5",
529  "unwrap" => "5",
530  "upper" => "5",
531  "view" => "5",
532  "viewmtx" => "5",
533  "waterfall" => "5",
534  "white" => "5",
535  "wk1const" => "5",
536  "wk1read" => "5",
537  "wk1wrec" => "5",
538  "wk1write" => "5",
539  "xlabel" => "5",
540  "xor" => "5",
541  "xyzchk" => "5",
542  "ylabel" => "5",
543  "zlabel" => "5");
544 
545 // Special extensions
546 
547 // Each category can specify a PHP function that returns an altered
548 // version of the keyword.
549 
550 
551 
552 $this->linkscripts = array(
553  "1" => "donothing",
554  "2" => "donothing",
555  "3" => "donothing",
556  "4" => "donothing",
557  "5" => "donothing");
558 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: