jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [lib/] [geshi/] [matlab.php] - Blame information for rev 1

 

Line No. Rev Author Line
11simandl<?php
2/*************************************************************************************
3 * matlab.php
4 * -----------
5 * Author: Florian Knorn (floz@gmx.de)
6 * Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com)
7 * Release Version: 1.0.8.1
8 * Date Started: 2005/02/09
9 *
10 * Matlab M-file language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2006-03-25 (1.0.7.22)
15 * - support for the transpose operator
16 * - many keywords added
17 * - links to the matlab documentation at mathworks
18 * by: Olivier Verdier (olivier.verdier@free.fr)
19 * 2005/05/07 (1.0.0)
20 * - First Release
21 *
22 *
23 *************************************************************************************
24 *
25 * This file is part of GeSHi.
26 *
27 * GeSHi is free software; you can redistribute it and/or modify
28 * it under the terms of the GNU General Public License as published by
29 * the Free Software Foundation; either version 2 of the License, or
30 * (at your option) any later version.
31 *
32 * GeSHi is distributed in the hope that it will be useful,
33 * but WITHOUT ANY WARRANTY; without even the implied warranty of
34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 * GNU General Public License for more details.
36 *
37 * You should have received a copy of the GNU General Public License
38 * along with GeSHi; if not, write to the Free Software
39 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 *
41 ************************************************************************************/
42 
43$language_data = array (
44 'LANG_NAME' => 'Matlab M',
45 'COMMENT_SINGLE' => array(1 => '%'),
46 'COMMENT_MULTI' => array(),
47 //Matlab Strings
48 'COMMENT_REGEXP' => array(
49 2 => "/(?<![\\w\\)\\]\\}\\.])('[^\\n']*?')/"
50 ),
51 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
52 'QUOTEMARKS' => array(),
53 'ESCAPE_CHAR' => '',
54 'KEYWORDS' => array(
55 1 => array(
56 'break', 'case', 'catch', 'continue', 'elseif', 'else', 'end', 'for',
57 'function', 'global', 'if', 'otherwise', 'persistent', 'return',
58 'switch', 'try', 'while'
59 ),
60 2 => array(
61 'all','any','exist','is','logical','mislocked',
62 
63 'abs','acos','acosh','acot','acoth','acsc','acsch','airy','angle',
64 'ans','area','asec','asech','asin','asinh','atan','atan2','atanh',
65 'auread','autumn','auwrite','axes','axis','balance','bar','bar3',
66 'bar3h','barh','besselh','besseli','besselj','besselk','Bessely',
67 'beta','betainc','betaln','bicg','bicgstab','bin2dec','bitand',
68 'bitcmp','bitget','bitmax','bitor','bitset','bitshift','bitxor',
69 'blkdiag','bone','box','brighten','builtin','bwcontr','calendar',
70 'camdolly','camlight','camlookat','camorbit','campan','campos',
71 'camproj','camroll','camtarget','camup','camva','camzoom','capture',
72 'cart2pol','cart2sph','cat','caxis','cdf2rdf','ceil','cell',
73 'cell2struct','celldisp','cellfun','cellplot','cellstr','cgs',
74 'char','chol','cholinc','cholupdate','cla','clabel','class','clc',
75 'clf','clg','clock','close','colmmd','colorbar','colorcube',
76 'colordef','colormap','colperm','comet','comet3','compan','compass',
77 'complex','computer','cond','condeig','condest','coneplot','conj',
78 'contour','contourc','contourf','contourslice','contrast','conv',
79 'conv2','convhull','cool','copper','copyobj','corrcoef','cos',
80 'cosh','cot','coth','cov','cplxpair','cputime','cross','csc','csch',
81 'cumprod','cumsum','cumtrapz','cylinder','daspect','date','datenum',
82 'datestr','datetick','datevec','dbclear','dbcont','dbdown',
83 'dblquad','dbmex','dbquit','dbstack','dbstatus','dbstep','dbstop',
84 'dbtype','dbup','deblank','dec2bin','dec2hex','deconv','del2',
85 'delaunay','det','diag','dialog','diff','diffuse','dlmread',
86 'dlmwrite','dmperm','double','dragrect','drawnow','dsearch','eig',
87 'eigs','ellipj','ellipke','eomday','eps','erf','erfc','erfcx',
88 'erfiny','error','errorbar','errordlg','etime','eval','evalc',
89 'evalin','exp','expint','expm','eye','ezcontour','ezcontourf',
90 'ezmesh','ezmeshc','ezplot','ezplot3','ezpolar','ezsurf','ezsurfc',
91 'factor','factorial','fclose','feather','feof','ferror','feval',
92 'fft','fft2','fftshift','fgetl','fgets','fieldnames','figure',
93 'fill','fill3','filter','filter2','find','findfigs','findobj',
94 'findstr','fix','flag','flipdim','fliplr','flipud','floor','flops',
95 'fmin','fmins','fopen','fplot','fprintf','fread','frewind','fscanf',
96 'fseek','ftell','full','funm','fwrite','fzero','gallery','gamma',
97 'gammainc','gammaln','gca','gcbo','gcd','gcf','gco','get',
98 'getfield','ginput','gmres','gradient','gray','graymon','grid',
99 'griddata','gsvd','gtext','hadamard','hankel','hdf','helpdlg',
100 'hess','hex2dec','hex2num','hidden','hilb','hist','hold','hot',
101 'hsv','hsv2rgb','i','ifft','ifft2','ifftn','ifftshift','imag',
102 'image','imfinfo','imread','imwrite','ind2sub','Inf','inferiorto',
103 'inline','inpolygon','input','inputdlg','inputname','int16',
104 'int2str','int32','int8','interp1','interp2','interp3','interpft',
105 'interpn','intersect','inv','invhilb','ipermute','isa','ishandle',
106 'ismember','isocaps','isonormals','isosurface','j','jet','keyboard',
107 'lcm','legend','legendre','light','lighting','lightingangle',
108 'lin2mu','line','lines','linspace','listdlg','loadobj','log',
109 'log10','log2','loglog','logm','logspace','lower','lscov','lu',
110 'luinc','magic','mat2str','material','max','mean','median','menu',
111 'menuedit','mesh','meshc','meshgrid','min','mod','msgbox','mu2lin',
112 'NaN','nargchk','nargin','nargout','nchoosek','ndgrid','ndims',
113 'newplot','nextpow2','nnls','nnz','nonzeros','norm','normest','now',
114 'null','num2cell','num2str','nzmax','ode113,','ode15s,','ode23s,',
115 'ode23t,','ode23tb','ode45,','odefile','odeget','odeset','ones',
116 'orient','orth','pagedlg','pareto','pascal','patch','pause',
117 'pbaspect','pcg','pcolor','peaks','perms','permute','pi','pie',
118 'pie3','pinv','plot','plot3','plotmatrix','plotyy','pol2cart',
119 'polar','poly','polyarea','polyder','polyeig','polyfit','polyval',
120 'polyvalm','pow2','primes','print','printdlg','printopt','prism',
121 'prod','propedit','qmr','qr','qrdelete','qrinsert','qrupdate',
122 'quad','questdlg','quiver','quiver3','qz','rand','randn','randperm',
123 'rank','rat','rats','rbbox','rcond','real','realmax','realmin',
124 'rectangle','reducepatch','reducevolume','refresh','rem','repmat',
125 'reset','reshape','residue','rgb2hsv','rgbplot','ribbon','rmfield',
126 'roots','rose','rot90','rotate','rotate3d','round','rref',
127 'rrefmovie','rsf2csf','saveobj','scatter','scatter3','schur',
128 'script','sec','sech','selectmoveresize','semilogx','semilogy',
129 'set','setdiff','setfield','setxor','shading','shg','shiftdim',
130 'shrinkfaces','sign','sin','single','sinh','slice','smooth3','sort',
131 'sortrows','sound','soundsc','spalloc','sparse','spconvert',
132 'spdiags','specular','speye','spfun','sph2cart','sphere','spinmap',
133 'spline','spones','spparms','sprand','sprandn','sprandsym','spring',
134 'sprintf','sqrt','sqrtm','squeeze','sscanf','stairs','std','stem',
135 'stem3','str2double','str2num','strcat','strcmp','strcmpi',
136 'stream2','stream3','streamline','strings','strjust','strmatch',
137 'strncmp','strrep','strtok','struct','struct2cell','strvcat',
138 'sub2ind','subplot','subspace','subvolume','sum','summer',
139 'superiorto','surf','surf2patch','surface','surfc','surfl',
140 'surfnorm','svd','svds','symmmd','symrcm','symvar','tan','tanh',
141 'texlabel','text Create','textread','textwrap','tic','title','toc',
142 'toeplitz','trace','trapz','tril','trimesh','trisurf','triu',
143 'tsearch','uicontext Create','uicontextmenu','uicontrol',
144 'uigetfile','uimenu','uint32','uint8','uiputfile','uiresume',
145 'uisetcolor','uisetfont','uiwait Used','union','unique','unwrap',
146 'upper','var','varargin','varargout','vectorize','view','viewmtx',
147 'voronoi','waitbar','waitforbuttonpress','warndlg','warning',
148 'waterfall','wavread','wavwrite','weekday','whitebg','wilkinson',
149 'winter','wk1read','wk1write','xlabel','xlim','ylabel','ylim',
150 'zeros','zlabel','zlim','zoom',
151 //'[Keywords 6]',
152 'addpath','cd','clear','copyfile','delete','diary','dir','disp',
153 'doc','docopt','echo','edit','fileparts','format','fullfile','help',
154 'helpdesk','helpwin','home','inmem','lasterr','lastwarn','length',
155 'load','lookfor','ls','matlabrc','matlabroot','mkdir','mlock',
156 'more','munlock','open','openvar','pack','partialpath','path',
157 'pathtool','profile','profreport','pwd','quit','rmpath','save',
158 'saveas','size','tempdir','tempname','type','ver','version','web',
159 'what','whatsnew','which','who','whos','workspace'
160 )
161 ),
162 'SYMBOLS' => array(
163 '...'
164 ),
165 'CASE_SENSITIVE' => array(
166 GESHI_COMMENTS => false,
167 1 => false,
168 2 => false,
169 //3 => false,
170 //4 => false,
171 ),
172 'STYLES' => array(
173 'KEYWORDS' => array(
174 1 => 'color: #0000FF;',
175 2 => 'color: #0000FF;'
176 ),
177 'COMMENTS' => array(
178 1 => 'color: #228B22;',
179 2 => 'color:#A020F0;'
180 ),
181 'ESCAPE_CHAR' => array(
182 
183 ),
184 'BRACKETS' => array(
185 
186 ),
187 'STRINGS' => array(
188 //0 => 'color: #A020F0;'
189 ),
190 'NUMBERS' => array(
191 
192 ),
193 'METHODS' => array(
194 1 => '',
195 2 => ''
196 ),
197 'SYMBOLS' => array(
198 
199 ),
200 'REGEXPS' => array(
201 
202 ),
203 'SCRIPT' => array(
204 
205 )
206 ),
207 'URLS' => array(
208 1 => '',
209 2 => 'http://www.mathworks.com/access/helpdesk/help/techdoc/ref/{FNAMEL}.html'
210 ),
211 'OOLANG' => true,
212 'OBJECT_SPLITTERS' => array(
213 1 => '.',
214 2 => '::'
215 ),
216 'REGEXPS' => array(
217 //Complex numbers
218 
219 ),
220 'STRICT_MODE_APPLIES' => GESHI_NEVER,
221 'SCRIPT_DELIMITERS' => array(
222 ),
223 'HIGHLIGHT_STRICT_BLOCK' => array(
224 )
225);
226 
227?>

Powered by WebSVN 2.2.1