• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_matlab5.php

Go to the documentation of this file.
00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005   class HFile_matlab5 extends HFile{
00006    function HFile_matlab5(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // Matlab 5
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "1";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "brown", "blue");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array();
00028 $this->unindent                 = array();
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array();
00033 $this->delimiters               = array("!", "@", "$", "^", "&", "*", "(", ")", "{", "}", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?", "~");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("%");
00039 $this->blockcommenton           = array("/*");
00040 $this->blockcommentoff          = array("*/");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "assignin" => "1", 
00046                         "break" => "1", 
00047                         "case" => "1", 
00048                         "catch" => "1", 
00049                         "cell" => "1", 
00050                         "char" => "1", 
00051                         "class" => "1", 
00052                         "dbclear" => "1", 
00053                         "dbcont" => "1", 
00054                         "dbdown" => "1", 
00055                         "dbquit" => "1", 
00056                         "dbstack" => "1", 
00057                         "dbstatus" => "1", 
00058                         "dbstep" => "1", 
00059                         "dbstop" => "1", 
00060                         "dbtype" => "1", 
00061                         "dbup" => "1", 
00062                         "debug" => "1", 
00063                         "double" => "1", 
00064                         "else" => "1", 
00065                         "elseif" => "1", 
00066                         "end" => "1", 
00067                         "error" => "1", 
00068                         "eval" => "1", 
00069                         "evalin" => "1", 
00070                         "feval" => "1", 
00071                         "fieldnames" => "1", 
00072                         "for" => "1", 
00073                         "function" => "1", 
00074                         "getfield" => "1", 
00075                         "global" => "1", 
00076                         "if" => "1", 
00077                         "input" => "1", 
00078                         "isa" => "1", 
00079                         "iscell" => "1", 
00080                         "ischar" => "1", 
00081                         "isempty" => "1", 
00082                         "isequal" => "1", 
00083                         "isfield" => "1", 
00084                         "isnumeric" => "1", 
00085                         "isstruct" => "1", 
00086                         "keyboard" => "1", 
00087                         "lasterr" => "1", 
00088                         "logical" => "1", 
00089                         "length" => "1", 
00090                         "long" => "1", 
00091                         "menu" => "1", 
00092                         "mexdebug" => "1", 
00093                         "nargchk" => "1", 
00094                         "nargin" => "1", 
00095                         "nargout" => "1", 
00096                         "ones" => "1", 
00097                         "otherwise" => "1", 
00098                         "pause" => "1", 
00099                         "persistent" => "1", 
00100                         "return" => "1", 
00101                         "rmfield" => "1", 
00102                         "script" => "1", 
00103                         "setfield" => "1", 
00104                         "sparse" => "1", 
00105                         "speye" => "1", 
00106                         "struct" => "1", 
00107                         "switch" => "1", 
00108                         "try" => "1", 
00109                         "varargin" => "1", 
00110                         "varargout" => "1", 
00111                         "while" => "1", 
00112                         "acsl" => "2", 
00113                         "binpatch" => "2", 
00114                         "cd" => "2", 
00115                         "cedit" => "2", 
00116                         "clc" => "2", 
00117                         "clear" => "2", 
00118                         "computer" => "2", 
00119                         "delete" => "2", 
00120                         "diary" => "2", 
00121                         "dir" => "2", 
00122                         "disp" => "2", 
00123                         "doc" => "2", 
00124                         "dos" => "2", 
00125                         "echo" => "2", 
00126                         "fileparts" => "2", 
00127                         "format" => "2", 
00128                         "fullfile" => "2", 
00129                         "getenv" => "2", 
00130                         "help" => "2", 
00131                         "home" => "2", 
00132                         "hostid" => "2", 
00133                         "info" => "2", 
00134                         "inquire" => "2", 
00135                         "load" => "2", 
00136                         "lookfor" => "2", 
00137                         "ls" => "2", 
00138                         "matlabro" => "2", 
00139                         "memory" => "2", 
00140                         "mlock" => "2", 
00141                         "more" => "2", 
00142                         "munlock" => "2", 
00143                         "mislocked" => "2", 
00144                         "pack" => "2", 
00145                         "path" => "2", 
00146                         "pwd" => "2", 
00147                         "quit" => "2", 
00148                         "readme" => "2", 
00149                         "save" => "2", 
00150                         "size" => "2", 
00151                         "subscrib" => "2", 
00152                         "type" => "2", 
00153                         "unix" => "2", 
00154                         "ver" => "2", 
00155                         "version" => "2", 
00156                         "vms" => "2", 
00157                         "what" => "2", 
00158                         "whatsnew" => "2", 
00159                         "which" => "2", 
00160                         "who" => "2", 
00161                         "whos" => "2", 
00162                         "why" => "2", 
00163                         "abs" => "3", 
00164                         "acos" => "3", 
00165                         "acosh" => "3", 
00166                         "acot" => "3", 
00167                         "acoth" => "3", 
00168                         "acsc" => "3", 
00169                         "acsch" => "3", 
00170                         "angle" => "3", 
00171                         "asec" => "3", 
00172                         "asech" => "3", 
00173                         "asin" => "3", 
00174                         "asinh" => "3", 
00175                         "atan" => "3", 
00176                         "atan2" => "3", 
00177                         "atanh" => "3", 
00178                         "ceil" => "3", 
00179                         "conj" => "3", 
00180                         "cos" => "3", 
00181                         "cosh" => "3", 
00182                         "cot" => "3", 
00183                         "coth" => "3", 
00184                         "csc" => "3", 
00185                         "csch" => "3", 
00186                         "exp" => "3", 
00187                         "fix" => "3", 
00188                         "floor" => "3", 
00189                         "imag" => "3", 
00190                         "log" => "3", 
00191                         "log10" => "3", 
00192                         "real" => "3", 
00193                         "rem" => "3", 
00194                         "round" => "3", 
00195                         "sec" => "3", 
00196                         "sech" => "3", 
00197                         "sign" => "3", 
00198                         "sin" => "3", 
00199                         "sinh" => "3", 
00200                         "sqrt" => "3", 
00201                         "tan" => "3", 
00202                         "tanh" => "3", 
00203                         "+" => "3", 
00204                         "-" => "3", 
00205                         "*" => "3", 
00206                         "/" => "3", 
00207                         "auread" => "4", 
00208                         "auwright" => "4", 
00209                         "axes" => "4", 
00210                         "axis" => "4", 
00211                         "blt" => "4", 
00212                         "capture" => "4", 
00213                         "cinvert" => "4", 
00214                         "cla" => "4", 
00215                         "clf" => "4", 
00216                         "clg" => "4", 
00217                         "close" => "4", 
00218                         "colstyle" => "4", 
00219                         "dc2sc" => "4", 
00220                         "dialog" => "4", 
00221                         "drawnow" => "4", 
00222                         "errordlg" => "4", 
00223                         "figflag" => "4", 
00224                         "figure" => "4", 
00225                         "findobj" => "4", 
00226                         "gca" => "4", 
00227                         "gcf" => "4", 
00228                         "gco" => "4", 
00229                         "get" => "4", 
00230                         "getframe" => "4", 
00231                         "ginput" => "4", 
00232                         "graymon" => "4", 
00233                         "hardcopy" => "4", 
00234                         "helpdlg" => "4", 
00235                         "hold" => "4", 
00236                         "image" => "4", 
00237                         "imagesc" => "4", 
00238                         "imfinfo" => "4", 
00239                         "imread" => "4", 
00240                         "imwright" => "4", 
00241                         "ishold" => "4", 
00242                         "layout" => "4", 
00243                         "meta" => "4", 
00244                         "movie" => "4", 
00245                         "moviein" => "4", 
00246                         "newplot" => "4", 
00247                         "orient" => "4", 
00248                         "patch" => "4", 
00249                         "print" => "4", 
00250                         "questdlg" => "4", 
00251                         "rbbox" => "4", 
00252                         "refresh" => "4", 
00253                         "reset" => "4", 
00254                         "rotate" => "4", 
00255                         "sc2dc" => "4", 
00256                         "set" => "4", 
00257                         "shg" => "4", 
00258                         "sound" => "4", 
00259                         "soundsc" => "4", 
00260                         "subplot" => "4", 
00261                         "swapprev" => "4", 
00262                         "terminal" => "4", 
00263                         "uicontrol" => "4", 
00264                         "uigetfile" => "4", 
00265                         "uiguide" => "4", 
00266                         "uimenu" => "4", 
00267                         "uiputfile" => "4", 
00268                         "uisetcolor" => "4", 
00269                         "uisetfont" => "4", 
00270                         "waitforbuttonpress" => "4", 
00271                         "warndlg" => "4", 
00272                         "wavread" => "4", 
00273                         "wavwright" => "4", 
00274                         "whitebg" => "4", 
00275                         "zoom" => "4", 
00276                         "all" => "5", 
00277                         "any" => "5", 
00278                         "arith" => "5", 
00279                         "balance" => "5", 
00280                         "bar" => "5", 
00281                         "blanks" => "5", 
00282                         "bone" => "5", 
00283                         "brighten" => "5", 
00284                         "caxis" => "5", 
00285                         "cdf2rdf" => "5", 
00286                         "chol" => "5", 
00287                         "clabel" => "5", 
00288                         "cmdmatch" => "5", 
00289                         "colon" => "5", 
00290                         "colorbar" => "5", 
00291                         "colormap" => "5", 
00292                         "comet" => "5", 
00293                         "comet3" => "5", 
00294                         "compass" => "5", 
00295                         "cond" => "5", 
00296                         "contour" => "5", 
00297                         "contour3" => "5", 
00298                         "contourc" => "5", 
00299                         "contrast" => "5", 
00300                         "conv" => "5", 
00301                         "conv2" => "5", 
00302                         "cool" => "5", 
00303                         "copper" => "5", 
00304                         "corrcoef" => "5", 
00305                         "cov" => "5", 
00306                         "cplxpair" => "5", 
00307                         "cross" => "5", 
00308                         "csvread" => "5", 
00309                         "csvwrite" => "5", 
00310                         "cumprod" => "5", 
00311                         "cumsum" => "5", 
00312                         "cylinder" => "5", 
00313                         "deblank" => "5", 
00314                         "dec2hex" => "5", 
00315                         "deconv" => "5", 
00316                         "del2" => "5", 
00317                         "delstext" => "5", 
00318                         "det" => "5", 
00319                         "diff" => "5", 
00320                         "diffuse" => "5", 
00321                         "dlmread" => "5", 
00322                         "dlmwrite" => "5", 
00323                         "dot" => "5", 
00324                         "eig" => "5", 
00325                         "errorbar" => "5", 
00326                         "exist" => "5", 
00327                         "expm" => "5", 
00328                         "expm1" => "5", 
00329                         "expm2" => "5", 
00330                         "expm3" => "5", 
00331                         "fclose" => "5", 
00332                         "feather" => "5", 
00333                         "feof" => "5", 
00334                         "ferror" => "5", 
00335                         "fft" => "5", 
00336                         "fft2" => "5", 
00337                         "fftshift" => "5", 
00338                         "fgetl" => "5", 
00339                         "fgets" => "5", 
00340                         "filesep" => "5", 
00341                         "fill" => "5", 
00342                         "fill3" => "5", 
00343                         "filter" => "5", 
00344                         "filter2" => "5", 
00345                         "find" => "5", 
00346                         "findstr" => "5", 
00347                         "finite" => "5", 
00348                         "fixstext" => "5", 
00349                         "flag" => "5", 
00350                         "fmin" => "5", 
00351                         "fmins" => "5", 
00352                         "fopen" => "5", 
00353                         "foptions" => "5", 
00354                         "fplot" => "5", 
00355                         "fprintf" => "5", 
00356                         "fread" => "5", 
00357                         "frewind" => "5", 
00358                         "fscanf" => "5", 
00359                         "fseek" => "5", 
00360                         "ftell" => "5", 
00361                         "funm" => "5", 
00362                         "fwrite" => "5", 
00363                         "fzero" => "5", 
00364                         "getcargs" => "5", 
00365                         "getstext" => "5", 
00366                         "gradient" => "5", 
00367                         "gray" => "5", 
00368                         "grid" => "5", 
00369                         "griddata" => "5", 
00370                         "gtext" => "5", 
00371                         "hess" => "5", 
00372                         "hex2dec" => "5", 
00373                         "hex2num" => "5", 
00374                         "hdf" => "5", 
00375                         "hidden" => "5", 
00376                         "hist" => "5", 
00377                         "hk" => "5", 
00378                         "hot" => "5", 
00379                         "hsv" => "5", 
00380                         "hsv2rgb" => "5", 
00381                         "icubic" => "5", 
00382                         "ifft" => "5", 
00383                         "ifft2" => "5", 
00384                         "int2str" => "5", 
00385                         "interp1" => "5", 
00386                         "interp2" => "5", 
00387                         "interp3" => "5", 
00388                         "interp4" => "5", 
00389                         "interp5" => "5", 
00390                         "interp6" => "5", 
00391                         "interpft" => "5", 
00392                         "inv" => "5", 
00393                         "isglobal" => "5", 
00394                         "isinf" => "5", 
00395                         "isletter" => "5", 
00396                         "isnan" => "5", 
00397                         "isreal" => "5", 
00398                         "isspace" => "5", 
00399                         "isstr" => "5", 
00400                         "jet" => "5", 
00401                         "kron" => "5", 
00402                         "legend" => "5", 
00403                         "line" => "5", 
00404                         "loglog" => "5", 
00405                         "logm" => "5", 
00406                         "lower" => "5", 
00407                         "lscan" => "5", 
00408                         "lscov" => "5", 
00409                         "lu" => "5", 
00410                         "mat2str" => "5", 
00411                         "matlabroot" => "5", 
00412                         "max" => "5", 
00413                         "mean" => "5", 
00414                         "median" => "5", 
00415                         "mesh" => "5", 
00416                         "meshc" => "5", 
00417                         "meshz" => "5", 
00418                         "mexext" => "5", 
00419                         "min" => "5", 
00420                         "mkpp" => "5", 
00421                         "move1sto" => "5", 
00422                         "moveaxis" => "5", 
00423                         "nextpow2" => "5", 
00424                         "nnls" => "5", 
00425                         "norm" => "5", 
00426                         "null" => "5", 
00427                         "num2str" => "5", 
00428                         "ode23" => "5", 
00429                         "ode23p" => "5", 
00430                         "ode45" => "5", 
00431                         "orth" => "5", 
00432                         "paren" => "5", 
00433                         "partialpath" => "5", 
00434                         "pathsep" => "5", 
00435                         "pcolor" => "5", 
00436                         "pink" => "5", 
00437                         "pinv" => "5", 
00438                         "planerot" => "5", 
00439                         "plot" => "5", 
00440                         "plot3" => "5", 
00441                         "polar" => "5", 
00442                         "poly" => "5", 
00443                         "polyder" => "5", 
00444                         "polyeig" => "5", 
00445                         "polyfit" => "5", 
00446                         "polyline" => "5", 
00447                         "polymark" => "5", 
00448                         "polyval" => "5", 
00449                         "polyvalm" => "5", 
00450                         "ppval" => "5", 
00451                         "printsto" => "5", 
00452                         "prism" => "5", 
00453                         "prod" => "5", 
00454                         "punct" => "5", 
00455                         "qr" => "5", 
00456                         "qrdelete" => "5", 
00457                         "qrinsert" => "5", 
00458                         "quad" => "5", 
00459                         "quad8" => "5", 
00460                         "quad8stp" => "5", 
00461                         "quadstp" => "5", 
00462                         "quiver" => "5", 
00463                         "qz" => "5", 
00464                         "rank" => "5", 
00465                         "rcond" => "5", 
00466                         "readstfm" => "5", 
00467                         "relop" => "5", 
00468                         "resi2" => "5", 
00469                         "residue" => "5", 
00470                         "rgb2hsv" => "5", 
00471                         "rgbplot" => "5", 
00472                         "roots" => "5", 
00473                         "rose" => "5", 
00474                         "rref" => "5", 
00475                         "rsf2csf" => "5", 
00476                         "schur" => "5", 
00477                         "semilogx" => "5", 
00478                         "semilogy" => "5", 
00479                         "setstext" => "5", 
00480                         "setstr" => "5", 
00481                         "shading" => "5", 
00482                         "slash" => "5", 
00483                         "slegend" => "5", 
00484                         "slice" => "5", 
00485                         "sort" => "5", 
00486                         "specular" => "5", 
00487                         "sphere" => "5", 
00488                         "spinmap" => "5", 
00489                         "spline" => "5", 
00490                         "spreview" => "5", 
00491                         "sprintf" => "5", 
00492                         "sqrtm" => "5", 
00493                         "sscanf" => "5", 
00494                         "stairs" => "5", 
00495                         "std" => "5", 
00496                         "stem" => "5", 
00497                         "stext" => "5", 
00498                         "stextbox" => "5", 
00499                         "stfixps" => "5", 
00500                         "stitle" => "5", 
00501                         "stodemo" => "5", 
00502                         "str2mat" => "5", 
00503                         "str2num" => "5", 
00504                         "str2rng" => "5", 
00505                         "strcmp" => "5", 
00506                         "strings" => "5", 
00507                         "strrep" => "5", 
00508                         "strtok" => "5", 
00509                         "subspace" => "5", 
00510                         "sum" => "5", 
00511                         "surf" => "5", 
00512                         "surface" => "5", 
00513                         "surfc" => "5", 
00514                         "surfl" => "5", 
00515                         "surfnorm" => "5", 
00516                         "svd" => "5", 
00517                         "sxlabel" => "5", 
00518                         "sylabel" => "5", 
00519                         "szlabel" => "5", 
00520                         "table1" => "5", 
00521                         "table2" => "5", 
00522                         "tempdir" => "5", 
00523                         "tempname" => "5", 
00524                         "text" => "5", 
00525                         "title" => "5", 
00526                         "trace" => "5", 
00527                         "trapz" => "5", 
00528                         "unmkpp" => "5", 
00529                         "unwrap" => "5", 
00530                         "upper" => "5", 
00531                         "view" => "5", 
00532                         "viewmtx" => "5", 
00533                         "waterfall" => "5", 
00534                         "white" => "5", 
00535                         "wk1const" => "5", 
00536                         "wk1read" => "5", 
00537                         "wk1wrec" => "5", 
00538                         "wk1write" => "5", 
00539                         "xlabel" => "5", 
00540                         "xor" => "5", 
00541                         "xyzchk" => "5", 
00542                         "ylabel" => "5", 
00543                         "zlabel" => "5");
00544 
00545 // Special extensions
00546 
00547 // Each category can specify a PHP function that returns an altered
00548 // version of the keyword.
00549         
00550         
00551 
00552 $this->linkscripts      = array(
00553                         "1" => "donothing", 
00554                         "2" => "donothing", 
00555                         "3" => "donothing", 
00556                         "4" => "donothing", 
00557                         "5" => "donothing");
00558 }
00559 
00560 
00561 function donothing($keywordin)
00562 {
00563         return $keywordin;
00564 }
00565 
00566 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1