ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

HFile_matlab5::donothing (   $keywordin)

Definition at line 561 of file HFile_matlab5.php.

{
return $keywordin;
}
HFile_matlab5::HFile_matlab5 ( )

Definition at line 6 of file HFile_matlab5.php.

References HFile\HFile().

{
$this->HFile();
/*************************************/
// Beautifier Highlighting Configuration File
// Matlab 5
/*************************************/
// Flags
$this->nocase = "1";
$this->notrim = "0";
$this->perl = "0";
// Colours
$this->colours = array("blue", "purple", "gray", "brown", "blue");
$this->quotecolour = "blue";
$this->blockcommentcolour = "green";
$this->linecommentcolour = "green";
// Indent Strings
$this->indent = array();
$this->unindent = array();
// String characters and delimiters
$this->stringchars = array();
$this->delimiters = array("!", "@", "$", "^", "&", "*", "(", ")", "{", "}", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?", "~");
$this->escchar = "";
// Comment settings
$this->linecommenton = array("%");
$this->blockcommenton = array("/*");
$this->blockcommentoff = array("*/");
// Keywords (keyword mapping to colour number)
$this->keywords = array(
"assignin" => "1",
"break" => "1",
"case" => "1",
"catch" => "1",
"cell" => "1",
"char" => "1",
"class" => "1",
"dbclear" => "1",
"dbcont" => "1",
"dbdown" => "1",
"dbquit" => "1",
"dbstack" => "1",
"dbstatus" => "1",
"dbstep" => "1",
"dbstop" => "1",
"dbtype" => "1",
"dbup" => "1",
"debug" => "1",
"double" => "1",
"else" => "1",
"elseif" => "1",
"end" => "1",
"error" => "1",
"eval" => "1",
"evalin" => "1",
"feval" => "1",
"fieldnames" => "1",
"for" => "1",
"function" => "1",
"getfield" => "1",
"global" => "1",
"if" => "1",
"input" => "1",
"isa" => "1",
"iscell" => "1",
"ischar" => "1",
"isempty" => "1",
"isequal" => "1",
"isfield" => "1",
"isnumeric" => "1",
"isstruct" => "1",
"keyboard" => "1",
"lasterr" => "1",
"logical" => "1",
"length" => "1",
"long" => "1",
"menu" => "1",
"mexdebug" => "1",
"nargchk" => "1",
"nargin" => "1",
"nargout" => "1",
"ones" => "1",
"otherwise" => "1",
"pause" => "1",
"persistent" => "1",
"return" => "1",
"rmfield" => "1",
"script" => "1",
"setfield" => "1",
"sparse" => "1",
"speye" => "1",
"struct" => "1",
"switch" => "1",
"try" => "1",
"varargin" => "1",
"varargout" => "1",
"while" => "1",
"acsl" => "2",
"binpatch" => "2",
"cd" => "2",
"cedit" => "2",
"clc" => "2",
"clear" => "2",
"computer" => "2",
"delete" => "2",
"diary" => "2",
"dir" => "2",
"disp" => "2",
"doc" => "2",
"dos" => "2",
"echo" => "2",
"fileparts" => "2",
"format" => "2",
"fullfile" => "2",
"getenv" => "2",
"help" => "2",
"home" => "2",
"hostid" => "2",
"info" => "2",
"inquire" => "2",
"load" => "2",
"lookfor" => "2",
"ls" => "2",
"matlabro" => "2",
"memory" => "2",
"mlock" => "2",
"more" => "2",
"munlock" => "2",
"mislocked" => "2",
"pack" => "2",
"path" => "2",
"pwd" => "2",
"quit" => "2",
"readme" => "2",
"save" => "2",
"size" => "2",
"subscrib" => "2",
"type" => "2",
"unix" => "2",
"ver" => "2",
"version" => "2",
"vms" => "2",
"what" => "2",
"whatsnew" => "2",
"which" => "2",
"who" => "2",
"whos" => "2",
"why" => "2",
"abs" => "3",
"acos" => "3",
"acosh" => "3",
"acot" => "3",
"acoth" => "3",
"acsc" => "3",
"acsch" => "3",
"angle" => "3",
"asec" => "3",
"asech" => "3",
"asin" => "3",
"asinh" => "3",
"atan" => "3",
"atan2" => "3",
"atanh" => "3",
"ceil" => "3",
"conj" => "3",
"cos" => "3",
"cosh" => "3",
"cot" => "3",
"coth" => "3",
"csc" => "3",
"csch" => "3",
"exp" => "3",
"fix" => "3",
"floor" => "3",
"imag" => "3",
"log" => "3",
"log10" => "3",
"real" => "3",
"rem" => "3",
"round" => "3",
"sec" => "3",
"sech" => "3",
"sign" => "3",
"sin" => "3",
"sinh" => "3",
"sqrt" => "3",
"tan" => "3",
"tanh" => "3",
"+" => "3",
"-" => "3",
"*" => "3",
"/" => "3",
"auread" => "4",
"auwright" => "4",
"axes" => "4",
"axis" => "4",
"blt" => "4",
"capture" => "4",
"cinvert" => "4",
"cla" => "4",
"clf" => "4",
"clg" => "4",
"close" => "4",
"colstyle" => "4",
"dc2sc" => "4",
"dialog" => "4",
"drawnow" => "4",
"errordlg" => "4",
"figflag" => "4",
"figure" => "4",
"findobj" => "4",
"gca" => "4",
"gcf" => "4",
"gco" => "4",
"get" => "4",
"getframe" => "4",
"ginput" => "4",
"graymon" => "4",
"hardcopy" => "4",
"helpdlg" => "4",
"hold" => "4",
"image" => "4",
"imagesc" => "4",
"imfinfo" => "4",
"imread" => "4",
"imwright" => "4",
"ishold" => "4",
"layout" => "4",
"meta" => "4",
"movie" => "4",
"moviein" => "4",
"newplot" => "4",
"orient" => "4",
"patch" => "4",
"print" => "4",
"questdlg" => "4",
"rbbox" => "4",
"refresh" => "4",
"reset" => "4",
"rotate" => "4",
"sc2dc" => "4",
"set" => "4",
"shg" => "4",
"sound" => "4",
"soundsc" => "4",
"subplot" => "4",
"swapprev" => "4",
"terminal" => "4",
"uicontrol" => "4",
"uigetfile" => "4",
"uiguide" => "4",
"uimenu" => "4",
"uiputfile" => "4",
"uisetcolor" => "4",
"uisetfont" => "4",
"waitforbuttonpress" => "4",
"warndlg" => "4",
"wavread" => "4",
"wavwright" => "4",
"whitebg" => "4",
"zoom" => "4",
"all" => "5",
"any" => "5",
"arith" => "5",
"balance" => "5",
"bar" => "5",
"blanks" => "5",
"bone" => "5",
"brighten" => "5",
"caxis" => "5",
"cdf2rdf" => "5",
"chol" => "5",
"clabel" => "5",
"cmdmatch" => "5",
"colon" => "5",
"colorbar" => "5",
"colormap" => "5",
"comet" => "5",
"comet3" => "5",
"compass" => "5",
"cond" => "5",
"contour" => "5",
"contour3" => "5",
"contourc" => "5",
"contrast" => "5",
"conv" => "5",
"conv2" => "5",
"cool" => "5",
"copper" => "5",
"corrcoef" => "5",
"cov" => "5",
"cplxpair" => "5",
"cross" => "5",
"csvread" => "5",
"csvwrite" => "5",
"cumprod" => "5",
"cumsum" => "5",
"cylinder" => "5",
"deblank" => "5",
"dec2hex" => "5",
"deconv" => "5",
"del2" => "5",
"delstext" => "5",
"det" => "5",
"diff" => "5",
"diffuse" => "5",
"dlmread" => "5",
"dlmwrite" => "5",
"dot" => "5",
"eig" => "5",
"errorbar" => "5",
"exist" => "5",
"expm" => "5",
"expm1" => "5",
"expm2" => "5",
"expm3" => "5",
"fclose" => "5",
"feather" => "5",
"feof" => "5",
"ferror" => "5",
"fft" => "5",
"fft2" => "5",
"fftshift" => "5",
"fgetl" => "5",
"fgets" => "5",
"filesep" => "5",
"fill" => "5",
"fill3" => "5",
"filter" => "5",
"filter2" => "5",
"find" => "5",
"findstr" => "5",
"finite" => "5",
"fixstext" => "5",
"flag" => "5",
"fmin" => "5",
"fmins" => "5",
"fopen" => "5",
"foptions" => "5",
"fplot" => "5",
"fprintf" => "5",
"fread" => "5",
"frewind" => "5",
"fscanf" => "5",
"fseek" => "5",
"ftell" => "5",
"funm" => "5",
"fwrite" => "5",
"fzero" => "5",
"getcargs" => "5",
"getstext" => "5",
"gradient" => "5",
"gray" => "5",
"grid" => "5",
"griddata" => "5",
"gtext" => "5",
"hess" => "5",
"hex2dec" => "5",
"hex2num" => "5",
"hdf" => "5",
"hidden" => "5",
"hist" => "5",
"hk" => "5",
"hot" => "5",
"hsv" => "5",
"hsv2rgb" => "5",
"icubic" => "5",
"ifft" => "5",
"ifft2" => "5",
"int2str" => "5",
"interp1" => "5",
"interp2" => "5",
"interp3" => "5",
"interp4" => "5",
"interp5" => "5",
"interp6" => "5",
"interpft" => "5",
"inv" => "5",
"isglobal" => "5",
"isinf" => "5",
"isletter" => "5",
"isnan" => "5",
"isreal" => "5",
"isspace" => "5",
"isstr" => "5",
"jet" => "5",
"kron" => "5",
"legend" => "5",
"line" => "5",
"loglog" => "5",
"logm" => "5",
"lower" => "5",
"lscan" => "5",
"lscov" => "5",
"lu" => "5",
"mat2str" => "5",
"matlabroot" => "5",
"max" => "5",
"mean" => "5",
"median" => "5",
"mesh" => "5",
"meshc" => "5",
"meshz" => "5",
"mexext" => "5",
"min" => "5",
"mkpp" => "5",
"move1sto" => "5",
"moveaxis" => "5",
"nextpow2" => "5",
"nnls" => "5",
"norm" => "5",
"null" => "5",
"num2str" => "5",
"ode23" => "5",
"ode23p" => "5",
"ode45" => "5",
"orth" => "5",
"paren" => "5",
"partialpath" => "5",
"pathsep" => "5",
"pcolor" => "5",
"pink" => "5",
"pinv" => "5",
"planerot" => "5",
"plot" => "5",
"plot3" => "5",
"polar" => "5",
"poly" => "5",
"polyder" => "5",
"polyeig" => "5",
"polyfit" => "5",
"polyline" => "5",
"polymark" => "5",
"polyval" => "5",
"polyvalm" => "5",
"ppval" => "5",
"printsto" => "5",
"prism" => "5",
"prod" => "5",
"punct" => "5",
"qr" => "5",
"qrdelete" => "5",
"qrinsert" => "5",
"quad" => "5",
"quad8" => "5",
"quad8stp" => "5",
"quadstp" => "5",
"quiver" => "5",
"qz" => "5",
"rank" => "5",
"rcond" => "5",
"readstfm" => "5",
"relop" => "5",
"resi2" => "5",
"residue" => "5",
"rgb2hsv" => "5",
"rgbplot" => "5",
"roots" => "5",
"rose" => "5",
"rref" => "5",
"rsf2csf" => "5",
"schur" => "5",
"semilogx" => "5",
"semilogy" => "5",
"setstext" => "5",
"setstr" => "5",
"shading" => "5",
"slash" => "5",
"slegend" => "5",
"slice" => "5",
"sort" => "5",
"specular" => "5",
"sphere" => "5",
"spinmap" => "5",
"spline" => "5",
"spreview" => "5",
"sprintf" => "5",
"sqrtm" => "5",
"sscanf" => "5",
"stairs" => "5",
"std" => "5",
"stem" => "5",
"stext" => "5",
"stextbox" => "5",
"stfixps" => "5",
"stitle" => "5",
"stodemo" => "5",
"str2mat" => "5",
"str2num" => "5",
"str2rng" => "5",
"strcmp" => "5",
"strings" => "5",
"strrep" => "5",
"strtok" => "5",
"subspace" => "5",
"sum" => "5",
"surf" => "5",
"surface" => "5",
"surfc" => "5",
"surfl" => "5",
"surfnorm" => "5",
"svd" => "5",
"sxlabel" => "5",
"sylabel" => "5",
"szlabel" => "5",
"table1" => "5",
"table2" => "5",
"tempdir" => "5",
"tempname" => "5",
"text" => "5",
"title" => "5",
"trace" => "5",
"trapz" => "5",
"unmkpp" => "5",
"unwrap" => "5",
"upper" => "5",
"view" => "5",
"viewmtx" => "5",
"waterfall" => "5",
"white" => "5",
"wk1const" => "5",
"wk1read" => "5",
"wk1wrec" => "5",
"wk1write" => "5",
"xlabel" => "5",
"xor" => "5",
"xyzchk" => "5",
"ylabel" => "5",
"zlabel" => "5");
// Special extensions
// Each category can specify a PHP function that returns an altered
// version of the keyword.
$this->linkscripts = array(
"1" => "donothing",
"2" => "donothing",
"3" => "donothing",
"4" => "donothing",
"5" => "donothing");
}

+ Here is the call graph for this function:


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