matlab.py 129 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293
  1. """
  2. pygments.lexers.matlab
  3. ~~~~~~~~~~~~~~~~~~~~~~
  4. Lexers for Matlab and related languages.
  5. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
  6. :license: BSD, see LICENSE for details.
  7. """
  8. import re
  9. from pygments.lexer import Lexer, RegexLexer, bygroups, default, words, \
  10. do_insertions, include
  11. from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
  12. Number, Punctuation, Generic, Whitespace
  13. from pygments.lexers import _scilab_builtins
  14. __all__ = ['MatlabLexer', 'MatlabSessionLexer', 'OctaveLexer', 'ScilabLexer']
  15. class MatlabLexer(RegexLexer):
  16. """
  17. For Matlab source code.
  18. .. versionadded:: 0.10
  19. """
  20. name = 'Matlab'
  21. aliases = ['matlab']
  22. filenames = ['*.m']
  23. mimetypes = ['text/matlab']
  24. _operators = r'-|==|~=|<=|>=|<|>|&&|&|~|\|\|?|\.\*|\*|\+|\.\^|\.\\|\./|/|\\'
  25. tokens = {
  26. 'expressions': [
  27. # operators:
  28. (_operators, Operator),
  29. # numbers (must come before punctuation to handle `.5`; cannot use
  30. # `\b` due to e.g. `5. + .5`). The negative lookahead on operators
  31. # avoids including the dot in `1./x` (the dot is part of `./`).
  32. (r'(?<!\w)((\d+\.\d+)|(\d*\.\d+)|(\d+\.(?!%s)))'
  33. r'([eEf][+-]?\d+)?(?!\w)' % _operators, Number.Float),
  34. (r'\b\d+[eEf][+-]?[0-9]+\b', Number.Float),
  35. (r'\b\d+\b', Number.Integer),
  36. # punctuation:
  37. (r'\[|\]|\(|\)|\{|\}|:|@|\.|,', Punctuation),
  38. (r'=|:|;', Punctuation),
  39. # quote can be transpose, instead of string:
  40. # (not great, but handles common cases...)
  41. (r'(?<=[\w)\].])\'+', Operator),
  42. (r'"(""|[^"])*"', String),
  43. (r'(?<![\w)\].])\'', String, 'string'),
  44. (r'[a-zA-Z_]\w*', Name),
  45. (r'\s+', Whitespace),
  46. (r'.', Text),
  47. ],
  48. 'root': [
  49. # line starting with '!' is sent as a system command. not sure what
  50. # label to use...
  51. (r'^!.*', String.Other),
  52. (r'%\{\s*\n', Comment.Multiline, 'blockcomment'),
  53. (r'%.*$', Comment),
  54. (r'(\s*^\s*)(function)\b', bygroups(Whitespace, Keyword), 'deffunc'),
  55. (r'(\s*^\s*)(properties)(\s+)(\()',
  56. bygroups(Whitespace, Keyword, Whitespace, Punctuation),
  57. ('defprops', 'propattrs')),
  58. (r'(\s*^\s*)(properties)\b',
  59. bygroups(Whitespace, Keyword), 'defprops'),
  60. # from 'iskeyword' on version 9.4 (R2018a):
  61. # Check that there is no preceding dot, as keywords are valid field
  62. # names.
  63. (words(('break', 'case', 'catch', 'classdef', 'continue',
  64. 'dynamicprops', 'else', 'elseif', 'end', 'for', 'function',
  65. 'global', 'if', 'methods', 'otherwise', 'parfor',
  66. 'persistent', 'return', 'spmd', 'switch',
  67. 'try', 'while'),
  68. prefix=r'(?<!\.)(\s*)(', suffix=r')\b'),
  69. bygroups(Whitespace, Keyword)),
  70. (
  71. words(
  72. [
  73. # See https://mathworks.com/help/matlab/referencelist.html
  74. # Below data from 2021-02-10T18:24:08Z
  75. # for Matlab release R2020b
  76. "BeginInvoke",
  77. "COM",
  78. "Combine",
  79. "CombinedDatastore",
  80. "EndInvoke",
  81. "Execute",
  82. "FactoryGroup",
  83. "FactorySetting",
  84. "Feval",
  85. "FunctionTestCase",
  86. "GetCharArray",
  87. "GetFullMatrix",
  88. "GetVariable",
  89. "GetWorkspaceData",
  90. "GraphPlot",
  91. "H5.close",
  92. "H5.garbage_collect",
  93. "H5.get_libversion",
  94. "H5.open",
  95. "H5.set_free_list_limits",
  96. "H5A.close",
  97. "H5A.create",
  98. "H5A.delete",
  99. "H5A.get_info",
  100. "H5A.get_name",
  101. "H5A.get_space",
  102. "H5A.get_type",
  103. "H5A.iterate",
  104. "H5A.open",
  105. "H5A.open_by_idx",
  106. "H5A.open_by_name",
  107. "H5A.read",
  108. "H5A.write",
  109. "H5D.close",
  110. "H5D.create",
  111. "H5D.get_access_plist",
  112. "H5D.get_create_plist",
  113. "H5D.get_offset",
  114. "H5D.get_space",
  115. "H5D.get_space_status",
  116. "H5D.get_storage_size",
  117. "H5D.get_type",
  118. "H5D.open",
  119. "H5D.read",
  120. "H5D.set_extent",
  121. "H5D.vlen_get_buf_size",
  122. "H5D.write",
  123. "H5DS.attach_scale",
  124. "H5DS.detach_scale",
  125. "H5DS.get_label",
  126. "H5DS.get_num_scales",
  127. "H5DS.get_scale_name",
  128. "H5DS.is_scale",
  129. "H5DS.iterate_scales",
  130. "H5DS.set_label",
  131. "H5DS.set_scale",
  132. "H5E.clear",
  133. "H5E.get_major",
  134. "H5E.get_minor",
  135. "H5E.walk",
  136. "H5F.close",
  137. "H5F.create",
  138. "H5F.flush",
  139. "H5F.get_access_plist",
  140. "H5F.get_create_plist",
  141. "H5F.get_filesize",
  142. "H5F.get_freespace",
  143. "H5F.get_info",
  144. "H5F.get_mdc_config",
  145. "H5F.get_mdc_hit_rate",
  146. "H5F.get_mdc_size",
  147. "H5F.get_name",
  148. "H5F.get_obj_count",
  149. "H5F.get_obj_ids",
  150. "H5F.is_hdf5",
  151. "H5F.mount",
  152. "H5F.open",
  153. "H5F.reopen",
  154. "H5F.set_mdc_config",
  155. "H5F.unmount",
  156. "H5G.close",
  157. "H5G.create",
  158. "H5G.get_info",
  159. "H5G.open",
  160. "H5I.dec_ref",
  161. "H5I.get_file_id",
  162. "H5I.get_name",
  163. "H5I.get_ref",
  164. "H5I.get_type",
  165. "H5I.inc_ref",
  166. "H5I.is_valid",
  167. "H5L.copy",
  168. "H5L.create_external",
  169. "H5L.create_hard",
  170. "H5L.create_soft",
  171. "H5L.delete",
  172. "H5L.exists",
  173. "H5L.get_info",
  174. "H5L.get_name_by_idx",
  175. "H5L.get_val",
  176. "H5L.iterate",
  177. "H5L.iterate_by_name",
  178. "H5L.move",
  179. "H5L.visit",
  180. "H5L.visit_by_name",
  181. "H5ML.compare_values",
  182. "H5ML.get_constant_names",
  183. "H5ML.get_constant_value",
  184. "H5ML.get_function_names",
  185. "H5ML.get_mem_datatype",
  186. "H5O.close",
  187. "H5O.copy",
  188. "H5O.get_comment",
  189. "H5O.get_comment_by_name",
  190. "H5O.get_info",
  191. "H5O.link",
  192. "H5O.open",
  193. "H5O.open_by_idx",
  194. "H5O.set_comment",
  195. "H5O.set_comment_by_name",
  196. "H5O.visit",
  197. "H5O.visit_by_name",
  198. "H5P.all_filters_avail",
  199. "H5P.close",
  200. "H5P.close_class",
  201. "H5P.copy",
  202. "H5P.create",
  203. "H5P.equal",
  204. "H5P.exist",
  205. "H5P.fill_value_defined",
  206. "H5P.get",
  207. "H5P.get_alignment",
  208. "H5P.get_alloc_time",
  209. "H5P.get_attr_creation_order",
  210. "H5P.get_attr_phase_change",
  211. "H5P.get_btree_ratios",
  212. "H5P.get_char_encoding",
  213. "H5P.get_chunk",
  214. "H5P.get_chunk_cache",
  215. "H5P.get_class",
  216. "H5P.get_class_name",
  217. "H5P.get_class_parent",
  218. "H5P.get_copy_object",
  219. "H5P.get_create_intermediate_group",
  220. "H5P.get_driver",
  221. "H5P.get_edc_check",
  222. "H5P.get_external",
  223. "H5P.get_external_count",
  224. "H5P.get_family_offset",
  225. "H5P.get_fapl_core",
  226. "H5P.get_fapl_family",
  227. "H5P.get_fapl_multi",
  228. "H5P.get_fclose_degree",
  229. "H5P.get_fill_time",
  230. "H5P.get_fill_value",
  231. "H5P.get_filter",
  232. "H5P.get_filter_by_id",
  233. "H5P.get_gc_references",
  234. "H5P.get_hyper_vector_size",
  235. "H5P.get_istore_k",
  236. "H5P.get_layout",
  237. "H5P.get_libver_bounds",
  238. "H5P.get_link_creation_order",
  239. "H5P.get_link_phase_change",
  240. "H5P.get_mdc_config",
  241. "H5P.get_meta_block_size",
  242. "H5P.get_multi_type",
  243. "H5P.get_nfilters",
  244. "H5P.get_nprops",
  245. "H5P.get_sieve_buf_size",
  246. "H5P.get_size",
  247. "H5P.get_sizes",
  248. "H5P.get_small_data_block_size",
  249. "H5P.get_sym_k",
  250. "H5P.get_userblock",
  251. "H5P.get_version",
  252. "H5P.isa_class",
  253. "H5P.iterate",
  254. "H5P.modify_filter",
  255. "H5P.remove_filter",
  256. "H5P.set",
  257. "H5P.set_alignment",
  258. "H5P.set_alloc_time",
  259. "H5P.set_attr_creation_order",
  260. "H5P.set_attr_phase_change",
  261. "H5P.set_btree_ratios",
  262. "H5P.set_char_encoding",
  263. "H5P.set_chunk",
  264. "H5P.set_chunk_cache",
  265. "H5P.set_copy_object",
  266. "H5P.set_create_intermediate_group",
  267. "H5P.set_deflate",
  268. "H5P.set_edc_check",
  269. "H5P.set_external",
  270. "H5P.set_family_offset",
  271. "H5P.set_fapl_core",
  272. "H5P.set_fapl_family",
  273. "H5P.set_fapl_log",
  274. "H5P.set_fapl_multi",
  275. "H5P.set_fapl_sec2",
  276. "H5P.set_fapl_split",
  277. "H5P.set_fapl_stdio",
  278. "H5P.set_fclose_degree",
  279. "H5P.set_fill_time",
  280. "H5P.set_fill_value",
  281. "H5P.set_filter",
  282. "H5P.set_fletcher32",
  283. "H5P.set_gc_references",
  284. "H5P.set_hyper_vector_size",
  285. "H5P.set_istore_k",
  286. "H5P.set_layout",
  287. "H5P.set_libver_bounds",
  288. "H5P.set_link_creation_order",
  289. "H5P.set_link_phase_change",
  290. "H5P.set_mdc_config",
  291. "H5P.set_meta_block_size",
  292. "H5P.set_multi_type",
  293. "H5P.set_nbit",
  294. "H5P.set_scaleoffset",
  295. "H5P.set_shuffle",
  296. "H5P.set_sieve_buf_size",
  297. "H5P.set_sizes",
  298. "H5P.set_small_data_block_size",
  299. "H5P.set_sym_k",
  300. "H5P.set_userblock",
  301. "H5R.create",
  302. "H5R.dereference",
  303. "H5R.get_name",
  304. "H5R.get_obj_type",
  305. "H5R.get_region",
  306. "H5S.close",
  307. "H5S.copy",
  308. "H5S.create",
  309. "H5S.create_simple",
  310. "H5S.extent_copy",
  311. "H5S.get_select_bounds",
  312. "H5S.get_select_elem_npoints",
  313. "H5S.get_select_elem_pointlist",
  314. "H5S.get_select_hyper_blocklist",
  315. "H5S.get_select_hyper_nblocks",
  316. "H5S.get_select_npoints",
  317. "H5S.get_select_type",
  318. "H5S.get_simple_extent_dims",
  319. "H5S.get_simple_extent_ndims",
  320. "H5S.get_simple_extent_npoints",
  321. "H5S.get_simple_extent_type",
  322. "H5S.is_simple",
  323. "H5S.offset_simple",
  324. "H5S.select_all",
  325. "H5S.select_elements",
  326. "H5S.select_hyperslab",
  327. "H5S.select_none",
  328. "H5S.select_valid",
  329. "H5S.set_extent_none",
  330. "H5S.set_extent_simple",
  331. "H5T.array_create",
  332. "H5T.close",
  333. "H5T.commit",
  334. "H5T.committed",
  335. "H5T.copy",
  336. "H5T.create",
  337. "H5T.detect_class",
  338. "H5T.enum_create",
  339. "H5T.enum_insert",
  340. "H5T.enum_nameof",
  341. "H5T.enum_valueof",
  342. "H5T.equal",
  343. "H5T.get_array_dims",
  344. "H5T.get_array_ndims",
  345. "H5T.get_class",
  346. "H5T.get_create_plist",
  347. "H5T.get_cset",
  348. "H5T.get_ebias",
  349. "H5T.get_fields",
  350. "H5T.get_inpad",
  351. "H5T.get_member_class",
  352. "H5T.get_member_index",
  353. "H5T.get_member_name",
  354. "H5T.get_member_offset",
  355. "H5T.get_member_type",
  356. "H5T.get_member_value",
  357. "H5T.get_native_type",
  358. "H5T.get_nmembers",
  359. "H5T.get_norm",
  360. "H5T.get_offset",
  361. "H5T.get_order",
  362. "H5T.get_pad",
  363. "H5T.get_precision",
  364. "H5T.get_sign",
  365. "H5T.get_size",
  366. "H5T.get_strpad",
  367. "H5T.get_super",
  368. "H5T.get_tag",
  369. "H5T.insert",
  370. "H5T.is_variable_str",
  371. "H5T.lock",
  372. "H5T.open",
  373. "H5T.pack",
  374. "H5T.set_cset",
  375. "H5T.set_ebias",
  376. "H5T.set_fields",
  377. "H5T.set_inpad",
  378. "H5T.set_norm",
  379. "H5T.set_offset",
  380. "H5T.set_order",
  381. "H5T.set_pad",
  382. "H5T.set_precision",
  383. "H5T.set_sign",
  384. "H5T.set_size",
  385. "H5T.set_strpad",
  386. "H5T.set_tag",
  387. "H5T.vlen_create",
  388. "H5Z.filter_avail",
  389. "H5Z.get_filter_info",
  390. "Inf",
  391. "KeyValueDatastore",
  392. "KeyValueStore",
  393. "MException",
  394. "MException.last",
  395. "MaximizeCommandWindow",
  396. "MemoizedFunction",
  397. "MinimizeCommandWindow",
  398. "NET",
  399. "NET.Assembly",
  400. "NET.GenericClass",
  401. "NET.NetException",
  402. "NET.addAssembly",
  403. "NET.convertArray",
  404. "NET.createArray",
  405. "NET.createGeneric",
  406. "NET.disableAutoRelease",
  407. "NET.enableAutoRelease",
  408. "NET.invokeGenericMethod",
  409. "NET.isNETSupported",
  410. "NET.setStaticProperty",
  411. "NaN",
  412. "NaT",
  413. "OperationResult",
  414. "PutCharArray",
  415. "PutFullMatrix",
  416. "PutWorkspaceData",
  417. "PythonEnvironment",
  418. "Quit",
  419. "RandStream",
  420. "ReleaseCompatibilityException",
  421. "ReleaseCompatibilityResults",
  422. "Remove",
  423. "RemoveAll",
  424. "Setting",
  425. "SettingsGroup",
  426. "TallDatastore",
  427. "Test",
  428. "TestResult",
  429. "Tiff",
  430. "TransformedDatastore",
  431. "ValueIterator",
  432. "VersionResults",
  433. "VideoReader",
  434. "VideoWriter",
  435. "abs",
  436. "accumarray",
  437. "acos",
  438. "acosd",
  439. "acosh",
  440. "acot",
  441. "acotd",
  442. "acoth",
  443. "acsc",
  444. "acscd",
  445. "acsch",
  446. "actxGetRunningServer",
  447. "actxserver",
  448. "add",
  449. "addCause",
  450. "addCorrection",
  451. "addFile",
  452. "addFolderIncludingChildFiles",
  453. "addGroup",
  454. "addLabel",
  455. "addPath",
  456. "addReference",
  457. "addSetting",
  458. "addShortcut",
  459. "addShutdownFile",
  460. "addStartupFile",
  461. "addStyle",
  462. "addToolbarExplorationButtons",
  463. "addboundary",
  464. "addcats",
  465. "addedge",
  466. "addevent",
  467. "addlistener",
  468. "addmulti",
  469. "addnode",
  470. "addpath",
  471. "addpoints",
  472. "addpref",
  473. "addprop",
  474. "addsample",
  475. "addsampletocollection",
  476. "addtodate",
  477. "addts",
  478. "addvars",
  479. "adjacency",
  480. "airy",
  481. "align",
  482. "alim",
  483. "all",
  484. "allchild",
  485. "alpha",
  486. "alphaShape",
  487. "alphaSpectrum",
  488. "alphaTriangulation",
  489. "alphamap",
  490. "alphanumericBoundary",
  491. "alphanumericsPattern",
  492. "amd",
  493. "analyzeCodeCompatibility",
  494. "ancestor",
  495. "angle",
  496. "animatedline",
  497. "annotation",
  498. "ans",
  499. "any",
  500. "appdesigner",
  501. "append",
  502. "area",
  503. "arguments",
  504. "array2table",
  505. "array2timetable",
  506. "arrayDatastore",
  507. "arrayfun",
  508. "asFewOfPattern",
  509. "asManyOfPattern",
  510. "ascii",
  511. "asec",
  512. "asecd",
  513. "asech",
  514. "asin",
  515. "asind",
  516. "asinh",
  517. "assert",
  518. "assignin",
  519. "atan",
  520. "atan2",
  521. "atan2d",
  522. "atand",
  523. "atanh",
  524. "audiodevinfo",
  525. "audiodevreset",
  526. "audioinfo",
  527. "audioplayer",
  528. "audioread",
  529. "audiorecorder",
  530. "audiowrite",
  531. "autumn",
  532. "axes",
  533. "axis",
  534. "axtoolbar",
  535. "axtoolbarbtn",
  536. "balance",
  537. "bandwidth",
  538. "bar",
  539. "bar3",
  540. "bar3h",
  541. "barh",
  542. "barycentricToCartesian",
  543. "base2dec",
  544. "batchStartupOptionUsed",
  545. "bctree",
  546. "beep",
  547. "bench",
  548. "besselh",
  549. "besseli",
  550. "besselj",
  551. "besselk",
  552. "bessely",
  553. "beta",
  554. "betainc",
  555. "betaincinv",
  556. "betaln",
  557. "between",
  558. "bfsearch",
  559. "bicg",
  560. "bicgstab",
  561. "bicgstabl",
  562. "biconncomp",
  563. "bin2dec",
  564. "binary",
  565. "binscatter",
  566. "bitand",
  567. "bitcmp",
  568. "bitget",
  569. "bitnot",
  570. "bitor",
  571. "bitset",
  572. "bitshift",
  573. "bitxor",
  574. "blanks",
  575. "ble",
  576. "blelist",
  577. "blkdiag",
  578. "bluetooth",
  579. "bluetoothlist",
  580. "bone",
  581. "boundary",
  582. "boundaryFacets",
  583. "boundaryshape",
  584. "boundingbox",
  585. "bounds",
  586. "box",
  587. "boxchart",
  588. "brighten",
  589. "brush",
  590. "bsxfun",
  591. "bubblechart",
  592. "bubblechart3",
  593. "bubblelegend",
  594. "bubblelim",
  595. "bubblesize",
  596. "builddocsearchdb",
  597. "builtin",
  598. "bvp4c",
  599. "bvp5c",
  600. "bvpget",
  601. "bvpinit",
  602. "bvpset",
  603. "bvpxtend",
  604. "caldays",
  605. "caldiff",
  606. "calendar",
  607. "calendarDuration",
  608. "calllib",
  609. "calmonths",
  610. "calquarters",
  611. "calweeks",
  612. "calyears",
  613. "camdolly",
  614. "cameratoolbar",
  615. "camlight",
  616. "camlookat",
  617. "camorbit",
  618. "campan",
  619. "campos",
  620. "camproj",
  621. "camroll",
  622. "camtarget",
  623. "camup",
  624. "camva",
  625. "camzoom",
  626. "canUseGPU",
  627. "canUseParallelPool",
  628. "cart2pol",
  629. "cart2sph",
  630. "cartesianToBarycentric",
  631. "caseInsensitivePattern",
  632. "caseSensitivePattern",
  633. "cast",
  634. "cat",
  635. "categorical",
  636. "categories",
  637. "caxis",
  638. "cd",
  639. "cdf2rdf",
  640. "cdfepoch",
  641. "cdfinfo",
  642. "cdflib",
  643. "cdfread",
  644. "ceil",
  645. "cell",
  646. "cell2mat",
  647. "cell2struct",
  648. "cell2table",
  649. "celldisp",
  650. "cellfun",
  651. "cellplot",
  652. "cellstr",
  653. "centrality",
  654. "centroid",
  655. "cgs",
  656. "char",
  657. "characterListPattern",
  658. "characteristic",
  659. "checkcode",
  660. "chol",
  661. "cholupdate",
  662. "choose",
  663. "chooseContextMenu",
  664. "circshift",
  665. "circumcenter",
  666. "cla",
  667. "clabel",
  668. "class",
  669. "classUnderlying",
  670. "clc",
  671. "clear",
  672. "clearAllMemoizedCaches",
  673. "clearPersonalValue",
  674. "clearTemporaryValue",
  675. "clearpoints",
  676. "clearvars",
  677. "clf",
  678. "clibArray",
  679. "clibConvertArray",
  680. "clibIsNull",
  681. "clibIsReadOnly",
  682. "clibRelease",
  683. "clibgen.buildInterface",
  684. "clibgen.generateLibraryDefinition",
  685. "clipboard",
  686. "clock",
  687. "clone",
  688. "close",
  689. "closeFile",
  690. "closereq",
  691. "cmap2gray",
  692. "cmpermute",
  693. "cmunique",
  694. "codeCompatibilityReport",
  695. "colamd",
  696. "collapse",
  697. "colon",
  698. "colorbar",
  699. "colorcube",
  700. "colormap",
  701. "colororder",
  702. "colperm",
  703. "com.mathworks.engine.MatlabEngine",
  704. "com.mathworks.matlab.types.CellStr",
  705. "com.mathworks.matlab.types.Complex",
  706. "com.mathworks.matlab.types.HandleObject",
  707. "com.mathworks.matlab.types.Struct",
  708. "combine",
  709. "comet",
  710. "comet3",
  711. "compan",
  712. "compass",
  713. "complex",
  714. "compose",
  715. "computer",
  716. "comserver",
  717. "cond",
  718. "condeig",
  719. "condensation",
  720. "condest",
  721. "coneplot",
  722. "configureCallback",
  723. "configureTerminator",
  724. "conj",
  725. "conncomp",
  726. "containers.Map",
  727. "contains",
  728. "containsrange",
  729. "contour",
  730. "contour3",
  731. "contourc",
  732. "contourf",
  733. "contourslice",
  734. "contrast",
  735. "conv",
  736. "conv2",
  737. "convertCharsToStrings",
  738. "convertContainedStringsToChars",
  739. "convertStringsToChars",
  740. "convertTo",
  741. "convertvars",
  742. "convexHull",
  743. "convhull",
  744. "convhulln",
  745. "convn",
  746. "cool",
  747. "copper",
  748. "copyHDU",
  749. "copyfile",
  750. "copygraphics",
  751. "copyobj",
  752. "corrcoef",
  753. "cos",
  754. "cosd",
  755. "cosh",
  756. "cospi",
  757. "cot",
  758. "cotd",
  759. "coth",
  760. "count",
  761. "countcats",
  762. "cov",
  763. "cplxpair",
  764. "cputime",
  765. "createCategory",
  766. "createFile",
  767. "createImg",
  768. "createLabel",
  769. "createTbl",
  770. "criticalAlpha",
  771. "cross",
  772. "csc",
  773. "cscd",
  774. "csch",
  775. "ctranspose",
  776. "cummax",
  777. "cummin",
  778. "cumprod",
  779. "cumsum",
  780. "cumtrapz",
  781. "curl",
  782. "currentProject",
  783. "cylinder",
  784. "daspect",
  785. "dataTipInteraction",
  786. "dataTipTextRow",
  787. "datacursormode",
  788. "datastore",
  789. "datatip",
  790. "date",
  791. "datenum",
  792. "dateshift",
  793. "datestr",
  794. "datetick",
  795. "datetime",
  796. "datevec",
  797. "day",
  798. "days",
  799. "dbclear",
  800. "dbcont",
  801. "dbdown",
  802. "dbmex",
  803. "dbquit",
  804. "dbstack",
  805. "dbstatus",
  806. "dbstep",
  807. "dbstop",
  808. "dbtype",
  809. "dbup",
  810. "dde23",
  811. "ddeget",
  812. "ddensd",
  813. "ddesd",
  814. "ddeset",
  815. "deblank",
  816. "dec2base",
  817. "dec2bin",
  818. "dec2hex",
  819. "decic",
  820. "decomposition",
  821. "deconv",
  822. "deg2rad",
  823. "degree",
  824. "del2",
  825. "delaunay",
  826. "delaunayTriangulation",
  827. "delaunayn",
  828. "delete",
  829. "deleteCol",
  830. "deleteFile",
  831. "deleteHDU",
  832. "deleteKey",
  833. "deleteRecord",
  834. "deleteRows",
  835. "delevent",
  836. "delimitedTextImportOptions",
  837. "delsample",
  838. "delsamplefromcollection",
  839. "demo",
  840. "descriptor",
  841. "det",
  842. "details",
  843. "detectImportOptions",
  844. "detrend",
  845. "deval",
  846. "dfsearch",
  847. "diag",
  848. "dialog",
  849. "diary",
  850. "diff",
  851. "diffuse",
  852. "digitBoundary",
  853. "digitsPattern",
  854. "digraph",
  855. "dir",
  856. "disableDefaultInteractivity",
  857. "discretize",
  858. "disp",
  859. "display",
  860. "dissect",
  861. "distances",
  862. "dither",
  863. "divergence",
  864. "dmperm",
  865. "doc",
  866. "docsearch",
  867. "dos",
  868. "dot",
  869. "double",
  870. "drag",
  871. "dragrect",
  872. "drawnow",
  873. "dsearchn",
  874. "duration",
  875. "dynamicprops",
  876. "echo",
  877. "echodemo",
  878. "echotcpip",
  879. "edgeAttachments",
  880. "edgecount",
  881. "edges",
  882. "edit",
  883. "eig",
  884. "eigs",
  885. "ellipj",
  886. "ellipke",
  887. "ellipsoid",
  888. "empty",
  889. "enableDefaultInteractivity",
  890. "enableLegacyExplorationModes",
  891. "enableNETfromNetworkDrive",
  892. "enableservice",
  893. "endsWith",
  894. "enumeration",
  895. "eomday",
  896. "eps",
  897. "eq",
  898. "equilibrate",
  899. "erase",
  900. "eraseBetween",
  901. "erf",
  902. "erfc",
  903. "erfcinv",
  904. "erfcx",
  905. "erfinv",
  906. "error",
  907. "errorbar",
  908. "errordlg",
  909. "etime",
  910. "etree",
  911. "etreeplot",
  912. "eval",
  913. "evalc",
  914. "evalin",
  915. "event.ClassInstanceEvent",
  916. "event.DynamicPropertyEvent",
  917. "event.EventData",
  918. "event.PropertyEvent",
  919. "event.hasListener",
  920. "event.listener",
  921. "event.proplistener",
  922. "eventlisteners",
  923. "events",
  924. "exceltime",
  925. "exist",
  926. "exit",
  927. "exp",
  928. "expand",
  929. "expint",
  930. "expm",
  931. "expm1",
  932. "export",
  933. "export2wsdlg",
  934. "exportapp",
  935. "exportgraphics",
  936. "exportsetupdlg",
  937. "extract",
  938. "extractAfter",
  939. "extractBefore",
  940. "extractBetween",
  941. "eye",
  942. "ezpolar",
  943. "faceNormal",
  944. "factor",
  945. "factorial",
  946. "false",
  947. "fclose",
  948. "fcontour",
  949. "feather",
  950. "featureEdges",
  951. "feof",
  952. "ferror",
  953. "feval",
  954. "fewerbins",
  955. "fft",
  956. "fft2",
  957. "fftn",
  958. "fftshift",
  959. "fftw",
  960. "fgetl",
  961. "fgets",
  962. "fieldnames",
  963. "figure",
  964. "figurepalette",
  965. "fileDatastore",
  966. "fileMode",
  967. "fileName",
  968. "fileattrib",
  969. "filemarker",
  970. "fileparts",
  971. "fileread",
  972. "filesep",
  973. "fill",
  974. "fill3",
  975. "fillmissing",
  976. "filloutliers",
  977. "filter",
  978. "filter2",
  979. "fimplicit",
  980. "fimplicit3",
  981. "find",
  982. "findCategory",
  983. "findEvent",
  984. "findFile",
  985. "findLabel",
  986. "findall",
  987. "findedge",
  988. "findfigs",
  989. "findgroups",
  990. "findnode",
  991. "findobj",
  992. "findprop",
  993. "finish",
  994. "fitsdisp",
  995. "fitsinfo",
  996. "fitsread",
  997. "fitswrite",
  998. "fix",
  999. "fixedWidthImportOptions",
  1000. "flag",
  1001. "flintmax",
  1002. "flip",
  1003. "flipedge",
  1004. "fliplr",
  1005. "flipud",
  1006. "floor",
  1007. "flow",
  1008. "flush",
  1009. "fmesh",
  1010. "fminbnd",
  1011. "fminsearch",
  1012. "fopen",
  1013. "format",
  1014. "fplot",
  1015. "fplot3",
  1016. "fprintf",
  1017. "frame2im",
  1018. "fread",
  1019. "freeBoundary",
  1020. "freqspace",
  1021. "frewind",
  1022. "fscanf",
  1023. "fseek",
  1024. "fsurf",
  1025. "ftell",
  1026. "ftp",
  1027. "full",
  1028. "fullfile",
  1029. "func2str",
  1030. "function_handle",
  1031. "functions",
  1032. "functiontests",
  1033. "funm",
  1034. "fwrite",
  1035. "fzero",
  1036. "gallery",
  1037. "gamma",
  1038. "gammainc",
  1039. "gammaincinv",
  1040. "gammaln",
  1041. "gather",
  1042. "gca",
  1043. "gcbf",
  1044. "gcbo",
  1045. "gcd",
  1046. "gcf",
  1047. "gcmr",
  1048. "gco",
  1049. "genpath",
  1050. "geoaxes",
  1051. "geobasemap",
  1052. "geobubble",
  1053. "geodensityplot",
  1054. "geolimits",
  1055. "geoplot",
  1056. "geoscatter",
  1057. "geotickformat",
  1058. "get",
  1059. "getAColParms",
  1060. "getAxes",
  1061. "getBColParms",
  1062. "getColName",
  1063. "getColType",
  1064. "getColorbar",
  1065. "getConstantValue",
  1066. "getEqColType",
  1067. "getFileFormats",
  1068. "getHDUnum",
  1069. "getHDUtype",
  1070. "getHdrSpace",
  1071. "getImgSize",
  1072. "getImgType",
  1073. "getLayout",
  1074. "getLegend",
  1075. "getMockHistory",
  1076. "getNumCols",
  1077. "getNumHDUs",
  1078. "getNumInputs",
  1079. "getNumInputsImpl",
  1080. "getNumOutputs",
  1081. "getNumOutputsImpl",
  1082. "getNumRows",
  1083. "getOpenFiles",
  1084. "getProfiles",
  1085. "getPropertyGroupsImpl",
  1086. "getReport",
  1087. "getTimeStr",
  1088. "getVersion",
  1089. "getabstime",
  1090. "getappdata",
  1091. "getaudiodata",
  1092. "getdatasamples",
  1093. "getdatasamplesize",
  1094. "getenv",
  1095. "getfield",
  1096. "getframe",
  1097. "getinterpmethod",
  1098. "getnext",
  1099. "getpinstatus",
  1100. "getpixelposition",
  1101. "getplayer",
  1102. "getpoints",
  1103. "getpref",
  1104. "getqualitydesc",
  1105. "getrangefromclass",
  1106. "getsamples",
  1107. "getsampleusingtime",
  1108. "gettimeseriesnames",
  1109. "gettsafteratevent",
  1110. "gettsafterevent",
  1111. "gettsatevent",
  1112. "gettsbeforeatevent",
  1113. "gettsbeforeevent",
  1114. "gettsbetweenevents",
  1115. "getvaropts",
  1116. "ginput",
  1117. "gmres",
  1118. "gobjects",
  1119. "gplot",
  1120. "grabcode",
  1121. "gradient",
  1122. "graph",
  1123. "gray",
  1124. "grid",
  1125. "griddata",
  1126. "griddatan",
  1127. "griddedInterpolant",
  1128. "groot",
  1129. "groupcounts",
  1130. "groupfilter",
  1131. "groupsummary",
  1132. "grouptransform",
  1133. "gsvd",
  1134. "gtext",
  1135. "guidata",
  1136. "guide",
  1137. "guihandles",
  1138. "gunzip",
  1139. "gzip",
  1140. "h5create",
  1141. "h5disp",
  1142. "h5info",
  1143. "h5read",
  1144. "h5readatt",
  1145. "h5write",
  1146. "h5writeatt",
  1147. "hadamard",
  1148. "handle",
  1149. "hankel",
  1150. "hasFactoryValue",
  1151. "hasFrame",
  1152. "hasGroup",
  1153. "hasPersonalValue",
  1154. "hasSetting",
  1155. "hasTemporaryValue",
  1156. "hasdata",
  1157. "hasnext",
  1158. "hdfan",
  1159. "hdfdf24",
  1160. "hdfdfr8",
  1161. "hdfh",
  1162. "hdfhd",
  1163. "hdfhe",
  1164. "hdfhx",
  1165. "hdfinfo",
  1166. "hdfml",
  1167. "hdfpt",
  1168. "hdfread",
  1169. "hdfv",
  1170. "hdfvf",
  1171. "hdfvh",
  1172. "hdfvs",
  1173. "head",
  1174. "heatmap",
  1175. "height",
  1176. "help",
  1177. "helpdlg",
  1178. "hess",
  1179. "hex2dec",
  1180. "hex2num",
  1181. "hgexport",
  1182. "hggroup",
  1183. "hgtransform",
  1184. "hidden",
  1185. "highlight",
  1186. "hilb",
  1187. "histcounts",
  1188. "histcounts2",
  1189. "histogram",
  1190. "histogram2",
  1191. "hms",
  1192. "hold",
  1193. "holes",
  1194. "home",
  1195. "horzcat",
  1196. "hot",
  1197. "hour",
  1198. "hours",
  1199. "hover",
  1200. "hsv",
  1201. "hsv2rgb",
  1202. "hypot",
  1203. "i",
  1204. "ichol",
  1205. "idealfilter",
  1206. "idivide",
  1207. "ifft",
  1208. "ifft2",
  1209. "ifftn",
  1210. "ifftshift",
  1211. "ilu",
  1212. "im2double",
  1213. "im2frame",
  1214. "im2gray",
  1215. "im2java",
  1216. "imag",
  1217. "image",
  1218. "imageDatastore",
  1219. "imagesc",
  1220. "imapprox",
  1221. "imfinfo",
  1222. "imformats",
  1223. "imgCompress",
  1224. "import",
  1225. "importdata",
  1226. "imread",
  1227. "imresize",
  1228. "imshow",
  1229. "imtile",
  1230. "imwrite",
  1231. "inShape",
  1232. "incenter",
  1233. "incidence",
  1234. "ind2rgb",
  1235. "ind2sub",
  1236. "indegree",
  1237. "inedges",
  1238. "infoImpl",
  1239. "inmem",
  1240. "inner2outer",
  1241. "innerjoin",
  1242. "inpolygon",
  1243. "input",
  1244. "inputParser",
  1245. "inputdlg",
  1246. "inputname",
  1247. "insertATbl",
  1248. "insertAfter",
  1249. "insertBTbl",
  1250. "insertBefore",
  1251. "insertCol",
  1252. "insertImg",
  1253. "insertRows",
  1254. "int16",
  1255. "int2str",
  1256. "int32",
  1257. "int64",
  1258. "int8",
  1259. "integral",
  1260. "integral2",
  1261. "integral3",
  1262. "interp1",
  1263. "interp2",
  1264. "interp3",
  1265. "interpft",
  1266. "interpn",
  1267. "interpstreamspeed",
  1268. "intersect",
  1269. "intmax",
  1270. "intmin",
  1271. "inv",
  1272. "invhilb",
  1273. "ipermute",
  1274. "iqr",
  1275. "isCompressedImg",
  1276. "isConnected",
  1277. "isDiscreteStateSpecificationMutableImpl",
  1278. "isDone",
  1279. "isDoneImpl",
  1280. "isInactivePropertyImpl",
  1281. "isInputComplexityMutableImpl",
  1282. "isInputDataTypeMutableImpl",
  1283. "isInputSizeMutableImpl",
  1284. "isInterior",
  1285. "isKey",
  1286. "isLoaded",
  1287. "isLocked",
  1288. "isMATLABReleaseOlderThan",
  1289. "isPartitionable",
  1290. "isShuffleable",
  1291. "isStringScalar",
  1292. "isTunablePropertyDataTypeMutableImpl",
  1293. "isUnderlyingType",
  1294. "isa",
  1295. "isaUnderlying",
  1296. "isappdata",
  1297. "isbanded",
  1298. "isbetween",
  1299. "iscalendarduration",
  1300. "iscategorical",
  1301. "iscategory",
  1302. "iscell",
  1303. "iscellstr",
  1304. "ischange",
  1305. "ischar",
  1306. "iscolumn",
  1307. "iscom",
  1308. "isdag",
  1309. "isdatetime",
  1310. "isdiag",
  1311. "isdst",
  1312. "isduration",
  1313. "isempty",
  1314. "isenum",
  1315. "isequal",
  1316. "isequaln",
  1317. "isevent",
  1318. "isfield",
  1319. "isfile",
  1320. "isfinite",
  1321. "isfloat",
  1322. "isfolder",
  1323. "isgraphics",
  1324. "ishandle",
  1325. "ishermitian",
  1326. "ishold",
  1327. "ishole",
  1328. "isinf",
  1329. "isinteger",
  1330. "isinterface",
  1331. "isinterior",
  1332. "isisomorphic",
  1333. "isjava",
  1334. "iskeyword",
  1335. "isletter",
  1336. "islocalmax",
  1337. "islocalmin",
  1338. "islogical",
  1339. "ismac",
  1340. "ismatrix",
  1341. "ismember",
  1342. "ismembertol",
  1343. "ismethod",
  1344. "ismissing",
  1345. "ismultigraph",
  1346. "isnan",
  1347. "isnat",
  1348. "isnumeric",
  1349. "isobject",
  1350. "isocaps",
  1351. "isocolors",
  1352. "isomorphism",
  1353. "isonormals",
  1354. "isordinal",
  1355. "isosurface",
  1356. "isoutlier",
  1357. "ispc",
  1358. "isplaying",
  1359. "ispref",
  1360. "isprime",
  1361. "isprop",
  1362. "isprotected",
  1363. "isreal",
  1364. "isrecording",
  1365. "isregular",
  1366. "isrow",
  1367. "isscalar",
  1368. "issimplified",
  1369. "issorted",
  1370. "issortedrows",
  1371. "isspace",
  1372. "issparse",
  1373. "isstring",
  1374. "isstrprop",
  1375. "isstruct",
  1376. "isstudent",
  1377. "issymmetric",
  1378. "istable",
  1379. "istall",
  1380. "istimetable",
  1381. "istril",
  1382. "istriu",
  1383. "isundefined",
  1384. "isunix",
  1385. "isvalid",
  1386. "isvarname",
  1387. "isvector",
  1388. "isweekend",
  1389. "j",
  1390. "javaArray",
  1391. "javaMethod",
  1392. "javaMethodEDT",
  1393. "javaObject",
  1394. "javaObjectEDT",
  1395. "javaaddpath",
  1396. "javachk",
  1397. "javaclasspath",
  1398. "javarmpath",
  1399. "jet",
  1400. "join",
  1401. "jsondecode",
  1402. "jsonencode",
  1403. "juliandate",
  1404. "keyboard",
  1405. "keys",
  1406. "kron",
  1407. "labeledge",
  1408. "labelnode",
  1409. "lag",
  1410. "laplacian",
  1411. "lastwarn",
  1412. "layout",
  1413. "lcm",
  1414. "ldl",
  1415. "leapseconds",
  1416. "legend",
  1417. "legendre",
  1418. "length",
  1419. "letterBoundary",
  1420. "lettersPattern",
  1421. "lib.pointer",
  1422. "libfunctions",
  1423. "libfunctionsview",
  1424. "libisloaded",
  1425. "libpointer",
  1426. "libstruct",
  1427. "license",
  1428. "light",
  1429. "lightangle",
  1430. "lighting",
  1431. "lin2mu",
  1432. "line",
  1433. "lineBoundary",
  1434. "lines",
  1435. "linkaxes",
  1436. "linkdata",
  1437. "linkprop",
  1438. "linsolve",
  1439. "linspace",
  1440. "listModifiedFiles",
  1441. "listRequiredFiles",
  1442. "listdlg",
  1443. "listener",
  1444. "listfonts",
  1445. "load",
  1446. "loadObjectImpl",
  1447. "loadlibrary",
  1448. "loadobj",
  1449. "localfunctions",
  1450. "log",
  1451. "log10",
  1452. "log1p",
  1453. "log2",
  1454. "logical",
  1455. "loglog",
  1456. "logm",
  1457. "logspace",
  1458. "lookAheadBoundary",
  1459. "lookBehindBoundary",
  1460. "lookfor",
  1461. "lower",
  1462. "ls",
  1463. "lscov",
  1464. "lsqminnorm",
  1465. "lsqnonneg",
  1466. "lsqr",
  1467. "lu",
  1468. "magic",
  1469. "makehgtform",
  1470. "makima",
  1471. "mapreduce",
  1472. "mapreducer",
  1473. "maskedPattern",
  1474. "mat2cell",
  1475. "mat2str",
  1476. "matches",
  1477. "matchpairs",
  1478. "material",
  1479. "matfile",
  1480. "matlab.System",
  1481. "matlab.addons.disableAddon",
  1482. "matlab.addons.enableAddon",
  1483. "matlab.addons.install",
  1484. "matlab.addons.installedAddons",
  1485. "matlab.addons.isAddonEnabled",
  1486. "matlab.addons.toolbox.installToolbox",
  1487. "matlab.addons.toolbox.installedToolboxes",
  1488. "matlab.addons.toolbox.packageToolbox",
  1489. "matlab.addons.toolbox.toolboxVersion",
  1490. "matlab.addons.toolbox.uninstallToolbox",
  1491. "matlab.addons.uninstall",
  1492. "matlab.apputil.create",
  1493. "matlab.apputil.getInstalledAppInfo",
  1494. "matlab.apputil.install",
  1495. "matlab.apputil.package",
  1496. "matlab.apputil.run",
  1497. "matlab.apputil.uninstall",
  1498. "matlab.codetools.requiredFilesAndProducts",
  1499. "matlab.engine.FutureResult",
  1500. "matlab.engine.MatlabEngine",
  1501. "matlab.engine.connect_matlab",
  1502. "matlab.engine.engineName",
  1503. "matlab.engine.find_matlab",
  1504. "matlab.engine.isEngineShared",
  1505. "matlab.engine.shareEngine",
  1506. "matlab.engine.start_matlab",
  1507. "matlab.exception.JavaException",
  1508. "matlab.exception.PyException",
  1509. "matlab.graphics.chartcontainer.ChartContainer",
  1510. "matlab.graphics.chartcontainer.mixin.Colorbar",
  1511. "matlab.graphics.chartcontainer.mixin.Legend",
  1512. "matlab.io.Datastore",
  1513. "matlab.io.datastore.BlockedFileSet",
  1514. "matlab.io.datastore.DsFileReader",
  1515. "matlab.io.datastore.DsFileSet",
  1516. "matlab.io.datastore.FileSet",
  1517. "matlab.io.datastore.FileWritable",
  1518. "matlab.io.datastore.FoldersPropertyProvider",
  1519. "matlab.io.datastore.HadoopLocationBased",
  1520. "matlab.io.datastore.Partitionable",
  1521. "matlab.io.datastore.Shuffleable",
  1522. "matlab.io.hdf4.sd",
  1523. "matlab.io.hdfeos.gd",
  1524. "matlab.io.hdfeos.sw",
  1525. "matlab.io.saveVariablesToScript",
  1526. "matlab.lang.OnOffSwitchState",
  1527. "matlab.lang.correction.AppendArgumentsCorrection",
  1528. "matlab.lang.correction.ConvertToFunctionNotationCorrection",
  1529. "matlab.lang.correction.ReplaceIdentifierCorrection",
  1530. "matlab.lang.makeUniqueStrings",
  1531. "matlab.lang.makeValidName",
  1532. "matlab.mex.MexHost",
  1533. "matlab.mixin.Copyable",
  1534. "matlab.mixin.CustomDisplay",
  1535. "matlab.mixin.Heterogeneous",
  1536. "matlab.mixin.SetGet",
  1537. "matlab.mixin.SetGetExactNames",
  1538. "matlab.mixin.util.PropertyGroup",
  1539. "matlab.mock.AnyArguments",
  1540. "matlab.mock.InteractionHistory",
  1541. "matlab.mock.InteractionHistory.forMock",
  1542. "matlab.mock.MethodCallBehavior",
  1543. "matlab.mock.PropertyBehavior",
  1544. "matlab.mock.PropertyGetBehavior",
  1545. "matlab.mock.PropertySetBehavior",
  1546. "matlab.mock.TestCase",
  1547. "matlab.mock.actions.AssignOutputs",
  1548. "matlab.mock.actions.DoNothing",
  1549. "matlab.mock.actions.Invoke",
  1550. "matlab.mock.actions.ReturnStoredValue",
  1551. "matlab.mock.actions.StoreValue",
  1552. "matlab.mock.actions.ThrowException",
  1553. "matlab.mock.constraints.Occurred",
  1554. "matlab.mock.constraints.WasAccessed",
  1555. "matlab.mock.constraints.WasCalled",
  1556. "matlab.mock.constraints.WasSet",
  1557. "matlab.net.ArrayFormat",
  1558. "matlab.net.QueryParameter",
  1559. "matlab.net.URI",
  1560. "matlab.net.base64decode",
  1561. "matlab.net.base64encode",
  1562. "matlab.net.http.AuthInfo",
  1563. "matlab.net.http.AuthenticationScheme",
  1564. "matlab.net.http.Cookie",
  1565. "matlab.net.http.CookieInfo",
  1566. "matlab.net.http.Credentials",
  1567. "matlab.net.http.Disposition",
  1568. "matlab.net.http.HTTPException",
  1569. "matlab.net.http.HTTPOptions",
  1570. "matlab.net.http.HeaderField",
  1571. "matlab.net.http.LogRecord",
  1572. "matlab.net.http.MediaType",
  1573. "matlab.net.http.Message",
  1574. "matlab.net.http.MessageBody",
  1575. "matlab.net.http.MessageType",
  1576. "matlab.net.http.ProgressMonitor",
  1577. "matlab.net.http.ProtocolVersion",
  1578. "matlab.net.http.RequestLine",
  1579. "matlab.net.http.RequestMessage",
  1580. "matlab.net.http.RequestMethod",
  1581. "matlab.net.http.ResponseMessage",
  1582. "matlab.net.http.StartLine",
  1583. "matlab.net.http.StatusClass",
  1584. "matlab.net.http.StatusCode",
  1585. "matlab.net.http.StatusLine",
  1586. "matlab.net.http.field.AcceptField",
  1587. "matlab.net.http.field.AuthenticateField",
  1588. "matlab.net.http.field.AuthenticationInfoField",
  1589. "matlab.net.http.field.AuthorizationField",
  1590. "matlab.net.http.field.ContentDispositionField",
  1591. "matlab.net.http.field.ContentLengthField",
  1592. "matlab.net.http.field.ContentLocationField",
  1593. "matlab.net.http.field.ContentTypeField",
  1594. "matlab.net.http.field.CookieField",
  1595. "matlab.net.http.field.DateField",
  1596. "matlab.net.http.field.GenericField",
  1597. "matlab.net.http.field.GenericParameterizedField",
  1598. "matlab.net.http.field.HTTPDateField",
  1599. "matlab.net.http.field.IntegerField",
  1600. "matlab.net.http.field.LocationField",
  1601. "matlab.net.http.field.MediaRangeField",
  1602. "matlab.net.http.field.SetCookieField",
  1603. "matlab.net.http.field.URIReferenceField",
  1604. "matlab.net.http.io.BinaryConsumer",
  1605. "matlab.net.http.io.ContentConsumer",
  1606. "matlab.net.http.io.ContentProvider",
  1607. "matlab.net.http.io.FileConsumer",
  1608. "matlab.net.http.io.FileProvider",
  1609. "matlab.net.http.io.FormProvider",
  1610. "matlab.net.http.io.GenericConsumer",
  1611. "matlab.net.http.io.GenericProvider",
  1612. "matlab.net.http.io.ImageConsumer",
  1613. "matlab.net.http.io.ImageProvider",
  1614. "matlab.net.http.io.JSONConsumer",
  1615. "matlab.net.http.io.JSONProvider",
  1616. "matlab.net.http.io.MultipartConsumer",
  1617. "matlab.net.http.io.MultipartFormProvider",
  1618. "matlab.net.http.io.MultipartProvider",
  1619. "matlab.net.http.io.StringConsumer",
  1620. "matlab.net.http.io.StringProvider",
  1621. "matlab.perftest.FixedTimeExperiment",
  1622. "matlab.perftest.FrequentistTimeExperiment",
  1623. "matlab.perftest.TestCase",
  1624. "matlab.perftest.TimeExperiment",
  1625. "matlab.perftest.TimeResult",
  1626. "matlab.project.Project",
  1627. "matlab.project.convertDefinitionFiles",
  1628. "matlab.project.createProject",
  1629. "matlab.project.deleteProject",
  1630. "matlab.project.loadProject",
  1631. "matlab.project.rootProject",
  1632. "matlab.settings.FactoryGroup.createToolboxGroup",
  1633. "matlab.settings.SettingsFileUpgrader",
  1634. "matlab.settings.loadSettingsCompatibilityResults",
  1635. "matlab.settings.mustBeIntegerScalar",
  1636. "matlab.settings.mustBeLogicalScalar",
  1637. "matlab.settings.mustBeNumericScalar",
  1638. "matlab.settings.mustBeStringScalar",
  1639. "matlab.settings.reloadFactoryFile",
  1640. "matlab.system.mixin.FiniteSource",
  1641. "matlab.tall.blockMovingWindow",
  1642. "matlab.tall.movingWindow",
  1643. "matlab.tall.reduce",
  1644. "matlab.tall.transform",
  1645. "matlab.test.behavior.Missing",
  1646. "matlab.ui.componentcontainer.ComponentContainer",
  1647. "matlab.uitest.TestCase",
  1648. "matlab.uitest.TestCase.forInteractiveUse",
  1649. "matlab.uitest.unlock",
  1650. "matlab.unittest.Test",
  1651. "matlab.unittest.TestCase",
  1652. "matlab.unittest.TestResult",
  1653. "matlab.unittest.TestRunner",
  1654. "matlab.unittest.TestSuite",
  1655. "matlab.unittest.constraints.BooleanConstraint",
  1656. "matlab.unittest.constraints.Constraint",
  1657. "matlab.unittest.constraints.Tolerance",
  1658. "matlab.unittest.diagnostics.ConstraintDiagnostic",
  1659. "matlab.unittest.diagnostics.Diagnostic",
  1660. "matlab.unittest.fixtures.Fixture",
  1661. "matlab.unittest.measurement.DefaultMeasurementResult",
  1662. "matlab.unittest.measurement.MeasurementResult",
  1663. "matlab.unittest.measurement.chart.ComparisonPlot",
  1664. "matlab.unittest.plugins.OutputStream",
  1665. "matlab.unittest.plugins.Parallelizable",
  1666. "matlab.unittest.plugins.QualifyingPlugin",
  1667. "matlab.unittest.plugins.TestRunnerPlugin",
  1668. "matlab.wsdl.createWSDLClient",
  1669. "matlab.wsdl.setWSDLToolPath",
  1670. "matlabRelease",
  1671. "matlabrc",
  1672. "matlabroot",
  1673. "max",
  1674. "maxflow",
  1675. "maxk",
  1676. "mean",
  1677. "median",
  1678. "memmapfile",
  1679. "memoize",
  1680. "memory",
  1681. "mergecats",
  1682. "mergevars",
  1683. "mesh",
  1684. "meshc",
  1685. "meshgrid",
  1686. "meshz",
  1687. "meta.ArrayDimension",
  1688. "meta.DynamicProperty",
  1689. "meta.EnumeratedValue",
  1690. "meta.FixedDimension",
  1691. "meta.MetaData",
  1692. "meta.UnrestrictedDimension",
  1693. "meta.Validation",
  1694. "meta.abstractDetails",
  1695. "meta.class",
  1696. "meta.class.fromName",
  1697. "meta.event",
  1698. "meta.method",
  1699. "meta.package",
  1700. "meta.package.fromName",
  1701. "meta.package.getAllPackages",
  1702. "meta.property",
  1703. "metaclass",
  1704. "methods",
  1705. "methodsview",
  1706. "mex",
  1707. "mexext",
  1708. "mexhost",
  1709. "mfilename",
  1710. "mget",
  1711. "milliseconds",
  1712. "min",
  1713. "mink",
  1714. "minres",
  1715. "minspantree",
  1716. "minute",
  1717. "minutes",
  1718. "mislocked",
  1719. "missing",
  1720. "mkdir",
  1721. "mkpp",
  1722. "mldivide",
  1723. "mlintrpt",
  1724. "mlock",
  1725. "mmfileinfo",
  1726. "mod",
  1727. "mode",
  1728. "month",
  1729. "more",
  1730. "morebins",
  1731. "movAbsHDU",
  1732. "movNamHDU",
  1733. "movRelHDU",
  1734. "move",
  1735. "movefile",
  1736. "movegui",
  1737. "movevars",
  1738. "movie",
  1739. "movmad",
  1740. "movmax",
  1741. "movmean",
  1742. "movmedian",
  1743. "movmin",
  1744. "movprod",
  1745. "movstd",
  1746. "movsum",
  1747. "movvar",
  1748. "mpower",
  1749. "mput",
  1750. "mrdivide",
  1751. "msgbox",
  1752. "mtimes",
  1753. "mu2lin",
  1754. "multibandread",
  1755. "multibandwrite",
  1756. "munlock",
  1757. "mustBeA",
  1758. "mustBeFile",
  1759. "mustBeFinite",
  1760. "mustBeFloat",
  1761. "mustBeFolder",
  1762. "mustBeGreaterThan",
  1763. "mustBeGreaterThanOrEqual",
  1764. "mustBeInRange",
  1765. "mustBeInteger",
  1766. "mustBeLessThan",
  1767. "mustBeLessThanOrEqual",
  1768. "mustBeMember",
  1769. "mustBeNegative",
  1770. "mustBeNonNan",
  1771. "mustBeNonempty",
  1772. "mustBeNonmissing",
  1773. "mustBeNonnegative",
  1774. "mustBeNonpositive",
  1775. "mustBeNonsparse",
  1776. "mustBeNonzero",
  1777. "mustBeNonzeroLengthText",
  1778. "mustBeNumeric",
  1779. "mustBeNumericOrLogical",
  1780. "mustBePositive",
  1781. "mustBeReal",
  1782. "mustBeScalarOrEmpty",
  1783. "mustBeText",
  1784. "mustBeTextScalar",
  1785. "mustBeUnderlyingType",
  1786. "mustBeValidVariableName",
  1787. "mustBeVector",
  1788. "namedPattern",
  1789. "namedargs2cell",
  1790. "namelengthmax",
  1791. "nargin",
  1792. "narginchk",
  1793. "nargout",
  1794. "nargoutchk",
  1795. "native2unicode",
  1796. "nccreate",
  1797. "ncdisp",
  1798. "nchoosek",
  1799. "ncinfo",
  1800. "ncread",
  1801. "ncreadatt",
  1802. "ncwrite",
  1803. "ncwriteatt",
  1804. "ncwriteschema",
  1805. "ndgrid",
  1806. "ndims",
  1807. "nearest",
  1808. "nearestNeighbor",
  1809. "nearestvertex",
  1810. "neighbors",
  1811. "netcdf.abort",
  1812. "netcdf.close",
  1813. "netcdf.copyAtt",
  1814. "netcdf.create",
  1815. "netcdf.defDim",
  1816. "netcdf.defGrp",
  1817. "netcdf.defVar",
  1818. "netcdf.defVarChunking",
  1819. "netcdf.defVarDeflate",
  1820. "netcdf.defVarFill",
  1821. "netcdf.defVarFletcher32",
  1822. "netcdf.delAtt",
  1823. "netcdf.endDef",
  1824. "netcdf.getAtt",
  1825. "netcdf.getChunkCache",
  1826. "netcdf.getConstant",
  1827. "netcdf.getConstantNames",
  1828. "netcdf.getVar",
  1829. "netcdf.inq",
  1830. "netcdf.inqAtt",
  1831. "netcdf.inqAttID",
  1832. "netcdf.inqAttName",
  1833. "netcdf.inqDim",
  1834. "netcdf.inqDimID",
  1835. "netcdf.inqDimIDs",
  1836. "netcdf.inqFormat",
  1837. "netcdf.inqGrpName",
  1838. "netcdf.inqGrpNameFull",
  1839. "netcdf.inqGrpParent",
  1840. "netcdf.inqGrps",
  1841. "netcdf.inqLibVers",
  1842. "netcdf.inqNcid",
  1843. "netcdf.inqUnlimDims",
  1844. "netcdf.inqVar",
  1845. "netcdf.inqVarChunking",
  1846. "netcdf.inqVarDeflate",
  1847. "netcdf.inqVarFill",
  1848. "netcdf.inqVarFletcher32",
  1849. "netcdf.inqVarID",
  1850. "netcdf.inqVarIDs",
  1851. "netcdf.open",
  1852. "netcdf.putAtt",
  1853. "netcdf.putVar",
  1854. "netcdf.reDef",
  1855. "netcdf.renameAtt",
  1856. "netcdf.renameDim",
  1857. "netcdf.renameVar",
  1858. "netcdf.setChunkCache",
  1859. "netcdf.setDefaultFormat",
  1860. "netcdf.setFill",
  1861. "netcdf.sync",
  1862. "newline",
  1863. "newplot",
  1864. "nextpow2",
  1865. "nexttile",
  1866. "nnz",
  1867. "nonzeros",
  1868. "norm",
  1869. "normalize",
  1870. "normest",
  1871. "notify",
  1872. "now",
  1873. "nsidedpoly",
  1874. "nthroot",
  1875. "nufft",
  1876. "nufftn",
  1877. "null",
  1878. "num2cell",
  1879. "num2hex",
  1880. "num2ruler",
  1881. "num2str",
  1882. "numArgumentsFromSubscript",
  1883. "numRegions",
  1884. "numboundaries",
  1885. "numedges",
  1886. "numel",
  1887. "numnodes",
  1888. "numpartitions",
  1889. "numsides",
  1890. "nzmax",
  1891. "ode113",
  1892. "ode15i",
  1893. "ode15s",
  1894. "ode23",
  1895. "ode23s",
  1896. "ode23t",
  1897. "ode23tb",
  1898. "ode45",
  1899. "odeget",
  1900. "odeset",
  1901. "odextend",
  1902. "onCleanup",
  1903. "ones",
  1904. "open",
  1905. "openDiskFile",
  1906. "openFile",
  1907. "openProject",
  1908. "openfig",
  1909. "opengl",
  1910. "openvar",
  1911. "optimget",
  1912. "optimset",
  1913. "optionalPattern",
  1914. "ordeig",
  1915. "orderfields",
  1916. "ordqz",
  1917. "ordschur",
  1918. "orient",
  1919. "orth",
  1920. "outdegree",
  1921. "outedges",
  1922. "outerjoin",
  1923. "overlaps",
  1924. "overlapsrange",
  1925. "pack",
  1926. "pad",
  1927. "padecoef",
  1928. "pagectranspose",
  1929. "pagemtimes",
  1930. "pagetranspose",
  1931. "pan",
  1932. "panInteraction",
  1933. "parallelplot",
  1934. "pareto",
  1935. "parquetDatastore",
  1936. "parquetinfo",
  1937. "parquetread",
  1938. "parquetwrite",
  1939. "partition",
  1940. "parula",
  1941. "pascal",
  1942. "patch",
  1943. "path",
  1944. "pathsep",
  1945. "pathtool",
  1946. "pattern",
  1947. "pause",
  1948. "pbaspect",
  1949. "pcg",
  1950. "pchip",
  1951. "pcode",
  1952. "pcolor",
  1953. "pdepe",
  1954. "pdeval",
  1955. "peaks",
  1956. "perimeter",
  1957. "perl",
  1958. "perms",
  1959. "permute",
  1960. "pi",
  1961. "pie",
  1962. "pie3",
  1963. "pink",
  1964. "pinv",
  1965. "planerot",
  1966. "play",
  1967. "playblocking",
  1968. "plot",
  1969. "plot3",
  1970. "plotbrowser",
  1971. "plotedit",
  1972. "plotmatrix",
  1973. "plottools",
  1974. "plus",
  1975. "pointLocation",
  1976. "pol2cart",
  1977. "polaraxes",
  1978. "polarbubblechart",
  1979. "polarhistogram",
  1980. "polarplot",
  1981. "polarscatter",
  1982. "poly",
  1983. "polyarea",
  1984. "polybuffer",
  1985. "polyder",
  1986. "polyeig",
  1987. "polyfit",
  1988. "polyint",
  1989. "polyshape",
  1990. "polyval",
  1991. "polyvalm",
  1992. "posixtime",
  1993. "possessivePattern",
  1994. "pow2",
  1995. "ppval",
  1996. "predecessors",
  1997. "prefdir",
  1998. "preferences",
  1999. "press",
  2000. "preview",
  2001. "primes",
  2002. "print",
  2003. "printdlg",
  2004. "printopt",
  2005. "printpreview",
  2006. "prism",
  2007. "processInputSpecificationChangeImpl",
  2008. "processTunedPropertiesImpl",
  2009. "prod",
  2010. "profile",
  2011. "propedit",
  2012. "properties",
  2013. "propertyeditor",
  2014. "psi",
  2015. "publish",
  2016. "pwd",
  2017. "pyargs",
  2018. "pyenv",
  2019. "qmr",
  2020. "qr",
  2021. "qrdelete",
  2022. "qrinsert",
  2023. "qrupdate",
  2024. "quad2d",
  2025. "quadgk",
  2026. "quarter",
  2027. "questdlg",
  2028. "quit",
  2029. "quiver",
  2030. "quiver3",
  2031. "qz",
  2032. "rad2deg",
  2033. "rand",
  2034. "randi",
  2035. "randn",
  2036. "randperm",
  2037. "rank",
  2038. "rat",
  2039. "rats",
  2040. "rbbox",
  2041. "rcond",
  2042. "read",
  2043. "readATblHdr",
  2044. "readBTblHdr",
  2045. "readCard",
  2046. "readCol",
  2047. "readFrame",
  2048. "readImg",
  2049. "readKey",
  2050. "readKeyCmplx",
  2051. "readKeyDbl",
  2052. "readKeyLongLong",
  2053. "readKeyLongStr",
  2054. "readKeyUnit",
  2055. "readRecord",
  2056. "readall",
  2057. "readcell",
  2058. "readline",
  2059. "readlines",
  2060. "readmatrix",
  2061. "readstruct",
  2062. "readtable",
  2063. "readtimetable",
  2064. "readvars",
  2065. "real",
  2066. "reallog",
  2067. "realmax",
  2068. "realmin",
  2069. "realpow",
  2070. "realsqrt",
  2071. "record",
  2072. "recordblocking",
  2073. "rectangle",
  2074. "rectint",
  2075. "recycle",
  2076. "reducepatch",
  2077. "reducevolume",
  2078. "refresh",
  2079. "refreshSourceControl",
  2080. "refreshdata",
  2081. "regexp",
  2082. "regexpPattern",
  2083. "regexpi",
  2084. "regexprep",
  2085. "regexptranslate",
  2086. "regionZoomInteraction",
  2087. "regions",
  2088. "registerevent",
  2089. "regmatlabserver",
  2090. "rehash",
  2091. "relationaloperators",
  2092. "release",
  2093. "releaseImpl",
  2094. "reload",
  2095. "rem",
  2096. "remove",
  2097. "removeCategory",
  2098. "removeFile",
  2099. "removeGroup",
  2100. "removeLabel",
  2101. "removePath",
  2102. "removeReference",
  2103. "removeSetting",
  2104. "removeShortcut",
  2105. "removeShutdownFile",
  2106. "removeStartupFile",
  2107. "removeStyle",
  2108. "removeToolbarExplorationButtons",
  2109. "removecats",
  2110. "removets",
  2111. "removevars",
  2112. "rename",
  2113. "renamecats",
  2114. "renamevars",
  2115. "rendererinfo",
  2116. "reordercats",
  2117. "reordernodes",
  2118. "repelem",
  2119. "replace",
  2120. "replaceBetween",
  2121. "repmat",
  2122. "resample",
  2123. "rescale",
  2124. "reset",
  2125. "resetImpl",
  2126. "reshape",
  2127. "residue",
  2128. "restoredefaultpath",
  2129. "resume",
  2130. "rethrow",
  2131. "retime",
  2132. "reverse",
  2133. "rgb2gray",
  2134. "rgb2hsv",
  2135. "rgb2ind",
  2136. "rgbplot",
  2137. "ribbon",
  2138. "rlim",
  2139. "rmappdata",
  2140. "rmboundary",
  2141. "rmdir",
  2142. "rmedge",
  2143. "rmfield",
  2144. "rmholes",
  2145. "rmmissing",
  2146. "rmnode",
  2147. "rmoutliers",
  2148. "rmpath",
  2149. "rmpref",
  2150. "rmprop",
  2151. "rmslivers",
  2152. "rng",
  2153. "roots",
  2154. "rosser",
  2155. "rot90",
  2156. "rotate",
  2157. "rotate3d",
  2158. "rotateInteraction",
  2159. "round",
  2160. "rowfun",
  2161. "rows2vars",
  2162. "rref",
  2163. "rsf2csf",
  2164. "rtickangle",
  2165. "rtickformat",
  2166. "rticklabels",
  2167. "rticks",
  2168. "ruler2num",
  2169. "rulerPanInteraction",
  2170. "run",
  2171. "runChecks",
  2172. "runperf",
  2173. "runtests",
  2174. "save",
  2175. "saveObjectImpl",
  2176. "saveas",
  2177. "savefig",
  2178. "saveobj",
  2179. "savepath",
  2180. "scale",
  2181. "scatter",
  2182. "scatter3",
  2183. "scatteredInterpolant",
  2184. "scatterhistogram",
  2185. "schur",
  2186. "scroll",
  2187. "sec",
  2188. "secd",
  2189. "sech",
  2190. "second",
  2191. "seconds",
  2192. "semilogx",
  2193. "semilogy",
  2194. "sendmail",
  2195. "serialport",
  2196. "serialportlist",
  2197. "set",
  2198. "setBscale",
  2199. "setCompressionType",
  2200. "setDTR",
  2201. "setHCompScale",
  2202. "setHCompSmooth",
  2203. "setProperties",
  2204. "setRTS",
  2205. "setTileDim",
  2206. "setTscale",
  2207. "setabstime",
  2208. "setappdata",
  2209. "setcats",
  2210. "setdiff",
  2211. "setenv",
  2212. "setfield",
  2213. "setinterpmethod",
  2214. "setpixelposition",
  2215. "setpref",
  2216. "settimeseriesnames",
  2217. "settings",
  2218. "setuniformtime",
  2219. "setup",
  2220. "setupImpl",
  2221. "setvaropts",
  2222. "setvartype",
  2223. "setxor",
  2224. "sgtitle",
  2225. "shading",
  2226. "sheetnames",
  2227. "shg",
  2228. "shiftdim",
  2229. "shortestpath",
  2230. "shortestpathtree",
  2231. "showplottool",
  2232. "shrinkfaces",
  2233. "shuffle",
  2234. "sign",
  2235. "simplify",
  2236. "sin",
  2237. "sind",
  2238. "single",
  2239. "sinh",
  2240. "sinpi",
  2241. "size",
  2242. "slice",
  2243. "smooth3",
  2244. "smoothdata",
  2245. "snapnow",
  2246. "sort",
  2247. "sortboundaries",
  2248. "sortregions",
  2249. "sortrows",
  2250. "sortx",
  2251. "sorty",
  2252. "sound",
  2253. "soundsc",
  2254. "spalloc",
  2255. "sparse",
  2256. "spaugment",
  2257. "spconvert",
  2258. "spdiags",
  2259. "specular",
  2260. "speye",
  2261. "spfun",
  2262. "sph2cart",
  2263. "sphere",
  2264. "spinmap",
  2265. "spline",
  2266. "split",
  2267. "splitapply",
  2268. "splitlines",
  2269. "splitvars",
  2270. "spones",
  2271. "spparms",
  2272. "sprand",
  2273. "sprandn",
  2274. "sprandsym",
  2275. "sprank",
  2276. "spreadsheetDatastore",
  2277. "spreadsheetImportOptions",
  2278. "spring",
  2279. "sprintf",
  2280. "spy",
  2281. "sqrt",
  2282. "sqrtm",
  2283. "squeeze",
  2284. "ss2tf",
  2285. "sscanf",
  2286. "stack",
  2287. "stackedplot",
  2288. "stairs",
  2289. "standardizeMissing",
  2290. "start",
  2291. "startat",
  2292. "startsWith",
  2293. "startup",
  2294. "std",
  2295. "stem",
  2296. "stem3",
  2297. "step",
  2298. "stepImpl",
  2299. "stlread",
  2300. "stlwrite",
  2301. "stop",
  2302. "str2double",
  2303. "str2func",
  2304. "str2num",
  2305. "strcat",
  2306. "strcmp",
  2307. "strcmpi",
  2308. "stream2",
  2309. "stream3",
  2310. "streamline",
  2311. "streamparticles",
  2312. "streamribbon",
  2313. "streamslice",
  2314. "streamtube",
  2315. "strfind",
  2316. "string",
  2317. "strings",
  2318. "strip",
  2319. "strjoin",
  2320. "strjust",
  2321. "strlength",
  2322. "strncmp",
  2323. "strncmpi",
  2324. "strrep",
  2325. "strsplit",
  2326. "strtok",
  2327. "strtrim",
  2328. "struct",
  2329. "struct2cell",
  2330. "struct2table",
  2331. "structfun",
  2332. "sub2ind",
  2333. "subgraph",
  2334. "subplot",
  2335. "subsasgn",
  2336. "subscribe",
  2337. "subsindex",
  2338. "subspace",
  2339. "subsref",
  2340. "substruct",
  2341. "subtitle",
  2342. "subtract",
  2343. "subvolume",
  2344. "successors",
  2345. "sum",
  2346. "summary",
  2347. "summer",
  2348. "superclasses",
  2349. "surf",
  2350. "surf2patch",
  2351. "surface",
  2352. "surfaceArea",
  2353. "surfc",
  2354. "surfl",
  2355. "surfnorm",
  2356. "svd",
  2357. "svds",
  2358. "svdsketch",
  2359. "swapbytes",
  2360. "swarmchart",
  2361. "swarmchart3",
  2362. "sylvester",
  2363. "symamd",
  2364. "symbfact",
  2365. "symmlq",
  2366. "symrcm",
  2367. "synchronize",
  2368. "sysobjupdate",
  2369. "system",
  2370. "table",
  2371. "table2array",
  2372. "table2cell",
  2373. "table2struct",
  2374. "table2timetable",
  2375. "tabularTextDatastore",
  2376. "tail",
  2377. "tall",
  2378. "tallrng",
  2379. "tan",
  2380. "tand",
  2381. "tanh",
  2382. "tar",
  2383. "tcpclient",
  2384. "tempdir",
  2385. "tempname",
  2386. "testsuite",
  2387. "tetramesh",
  2388. "texlabel",
  2389. "text",
  2390. "textBoundary",
  2391. "textscan",
  2392. "textwrap",
  2393. "tfqmr",
  2394. "thetalim",
  2395. "thetatickformat",
  2396. "thetaticklabels",
  2397. "thetaticks",
  2398. "thingSpeakRead",
  2399. "thingSpeakWrite",
  2400. "throw",
  2401. "throwAsCaller",
  2402. "tic",
  2403. "tiledlayout",
  2404. "time",
  2405. "timeit",
  2406. "timeofday",
  2407. "timer",
  2408. "timerange",
  2409. "timerfind",
  2410. "timerfindall",
  2411. "timeseries",
  2412. "timetable",
  2413. "timetable2table",
  2414. "timezones",
  2415. "title",
  2416. "toc",
  2417. "todatenum",
  2418. "toeplitz",
  2419. "toolboxdir",
  2420. "topkrows",
  2421. "toposort",
  2422. "trace",
  2423. "transclosure",
  2424. "transform",
  2425. "translate",
  2426. "transpose",
  2427. "transreduction",
  2428. "trapz",
  2429. "treelayout",
  2430. "treeplot",
  2431. "triangulation",
  2432. "tril",
  2433. "trimesh",
  2434. "triplot",
  2435. "trisurf",
  2436. "triu",
  2437. "true",
  2438. "tscollection",
  2439. "tsdata.event",
  2440. "tsearchn",
  2441. "turbo",
  2442. "turningdist",
  2443. "type",
  2444. "typecast",
  2445. "tzoffset",
  2446. "uialert",
  2447. "uiaxes",
  2448. "uibutton",
  2449. "uibuttongroup",
  2450. "uicheckbox",
  2451. "uiconfirm",
  2452. "uicontextmenu",
  2453. "uicontrol",
  2454. "uidatepicker",
  2455. "uidropdown",
  2456. "uieditfield",
  2457. "uifigure",
  2458. "uigauge",
  2459. "uigetdir",
  2460. "uigetfile",
  2461. "uigetpref",
  2462. "uigridlayout",
  2463. "uihtml",
  2464. "uiimage",
  2465. "uiknob",
  2466. "uilabel",
  2467. "uilamp",
  2468. "uilistbox",
  2469. "uimenu",
  2470. "uint16",
  2471. "uint32",
  2472. "uint64",
  2473. "uint8",
  2474. "uiopen",
  2475. "uipanel",
  2476. "uiprogressdlg",
  2477. "uipushtool",
  2478. "uiputfile",
  2479. "uiradiobutton",
  2480. "uiresume",
  2481. "uisave",
  2482. "uisetcolor",
  2483. "uisetfont",
  2484. "uisetpref",
  2485. "uislider",
  2486. "uispinner",
  2487. "uistack",
  2488. "uistyle",
  2489. "uiswitch",
  2490. "uitab",
  2491. "uitabgroup",
  2492. "uitable",
  2493. "uitextarea",
  2494. "uitogglebutton",
  2495. "uitoggletool",
  2496. "uitoolbar",
  2497. "uitree",
  2498. "uitreenode",
  2499. "uiwait",
  2500. "uminus",
  2501. "underlyingType",
  2502. "underlyingValue",
  2503. "unicode2native",
  2504. "union",
  2505. "unique",
  2506. "uniquetol",
  2507. "unix",
  2508. "unloadlibrary",
  2509. "unmesh",
  2510. "unmkpp",
  2511. "unregisterallevents",
  2512. "unregisterevent",
  2513. "unstack",
  2514. "unsubscribe",
  2515. "untar",
  2516. "unwrap",
  2517. "unzip",
  2518. "update",
  2519. "updateDependencies",
  2520. "uplus",
  2521. "upper",
  2522. "usejava",
  2523. "userpath",
  2524. "validateFunctionSignaturesJSON",
  2525. "validateInputsImpl",
  2526. "validatePropertiesImpl",
  2527. "validateattributes",
  2528. "validatecolor",
  2529. "validatestring",
  2530. "values",
  2531. "vander",
  2532. "var",
  2533. "varargin",
  2534. "varargout",
  2535. "varfun",
  2536. "vartype",
  2537. "vecnorm",
  2538. "ver",
  2539. "verLessThan",
  2540. "version",
  2541. "vertcat",
  2542. "vertexAttachments",
  2543. "vertexNormal",
  2544. "view",
  2545. "viewmtx",
  2546. "visdiff",
  2547. "volume",
  2548. "volumebounds",
  2549. "voronoi",
  2550. "voronoiDiagram",
  2551. "voronoin",
  2552. "wait",
  2553. "waitbar",
  2554. "waitfor",
  2555. "waitforbuttonpress",
  2556. "warndlg",
  2557. "warning",
  2558. "waterfall",
  2559. "web",
  2560. "weboptions",
  2561. "webread",
  2562. "websave",
  2563. "webwrite",
  2564. "week",
  2565. "weekday",
  2566. "what",
  2567. "which",
  2568. "whitespaceBoundary",
  2569. "whitespacePattern",
  2570. "who",
  2571. "whos",
  2572. "width",
  2573. "wildcardPattern",
  2574. "wilkinson",
  2575. "winopen",
  2576. "winqueryreg",
  2577. "winter",
  2578. "withinrange",
  2579. "withtol",
  2580. "wordcloud",
  2581. "write",
  2582. "writeChecksum",
  2583. "writeCol",
  2584. "writeComment",
  2585. "writeDate",
  2586. "writeHistory",
  2587. "writeImg",
  2588. "writeKey",
  2589. "writeKeyUnit",
  2590. "writeVideo",
  2591. "writeall",
  2592. "writecell",
  2593. "writeline",
  2594. "writematrix",
  2595. "writestruct",
  2596. "writetable",
  2597. "writetimetable",
  2598. "xcorr",
  2599. "xcov",
  2600. "xlabel",
  2601. "xlim",
  2602. "xline",
  2603. "xmlread",
  2604. "xmlwrite",
  2605. "xor",
  2606. "xslt",
  2607. "xtickangle",
  2608. "xtickformat",
  2609. "xticklabels",
  2610. "xticks",
  2611. "year",
  2612. "years",
  2613. "ylabel",
  2614. "ylim",
  2615. "yline",
  2616. "ymd",
  2617. "ytickangle",
  2618. "ytickformat",
  2619. "yticklabels",
  2620. "yticks",
  2621. "yyaxis",
  2622. "yyyymmdd",
  2623. "zeros",
  2624. "zip",
  2625. "zlabel",
  2626. "zlim",
  2627. "zoom",
  2628. "zoomInteraction",
  2629. "ztickangle",
  2630. "ztickformat",
  2631. "zticklabels",
  2632. "zticks",
  2633. ],
  2634. prefix=r"(?<!\.)(", # Exclude field names
  2635. suffix=r")\b"
  2636. ),
  2637. Name.Builtin
  2638. ),
  2639. # line continuation with following comment:
  2640. (r'(\.\.\.)(.*)$', bygroups(Keyword, Comment)),
  2641. # command form:
  2642. # "How MATLAB Recognizes Command Syntax" specifies that an operator
  2643. # is recognized if it is either surrounded by spaces or by no
  2644. # spaces on both sides (this allows distinguishing `cd ./foo` from
  2645. # `cd ./ foo`.). Here, the regex checks that the first word in the
  2646. # line is not followed by <spaces> and then
  2647. # (equal | open-parenthesis | <operator><space> | <space>).
  2648. (r'(?:^|(?<=;))(\s*)(\w+)(\s+)(?!=|\(|%s\s|\s)' % _operators,
  2649. bygroups(Whitespace, Name, Whitespace), 'commandargs'),
  2650. include('expressions')
  2651. ],
  2652. 'blockcomment': [
  2653. (r'^\s*%\}', Comment.Multiline, '#pop'),
  2654. (r'^.*\n', Comment.Multiline),
  2655. (r'.', Comment.Multiline),
  2656. ],
  2657. 'deffunc': [
  2658. (r'(\s*)(?:(\S+)(\s*)(=)(\s*))?(.+)(\()(.*)(\))(\s*)',
  2659. bygroups(Whitespace, Text, Whitespace, Punctuation,
  2660. Whitespace, Name.Function, Punctuation, Text,
  2661. Punctuation, Whitespace), '#pop'),
  2662. # function with no args
  2663. (r'(\s*)([a-zA-Z_]\w*)',
  2664. bygroups(Whitespace, Name.Function), '#pop'),
  2665. ],
  2666. 'propattrs': [
  2667. (r'(\w+)(\s*)(=)(\s*)(\d+)',
  2668. bygroups(Name.Builtin, Whitespace, Punctuation, Whitespace,
  2669. Number)),
  2670. (r'(\w+)(\s*)(=)(\s*)([a-zA-Z]\w*)',
  2671. bygroups(Name.Builtin, Whitespace, Punctuation, Whitespace,
  2672. Keyword)),
  2673. (r',', Punctuation),
  2674. (r'\)', Punctuation, '#pop'),
  2675. (r'\s+', Whitespace),
  2676. (r'.', Text),
  2677. ],
  2678. 'defprops': [
  2679. (r'%\{\s*\n', Comment.Multiline, 'blockcomment'),
  2680. (r'%.*$', Comment),
  2681. (r'(?<!\.)end\b', Keyword, '#pop'),
  2682. include('expressions'),
  2683. ],
  2684. 'string': [
  2685. (r"[^']*'", String, '#pop'),
  2686. ],
  2687. 'commandargs': [
  2688. # If an equal sign or other operator is encountered, this
  2689. # isn't a command. It might be a variable assignment or
  2690. # comparison operation with multiple spaces before the
  2691. # equal sign or operator
  2692. (r"=", Punctuation, '#pop'),
  2693. (_operators, Operator, '#pop'),
  2694. (r"[ \t]+", Whitespace),
  2695. ("'[^']*'", String),
  2696. (r"[^';\s]+", String),
  2697. (";", Punctuation, '#pop'),
  2698. default('#pop'),
  2699. ]
  2700. }
  2701. def analyse_text(text):
  2702. # function declaration.
  2703. first_non_comment = next((line for line in text.splitlines()
  2704. if not re.match(r'^\s*%', text)), '').strip()
  2705. if (first_non_comment.startswith('function')
  2706. and '{' not in first_non_comment):
  2707. return 1.
  2708. # comment
  2709. elif re.search(r'^\s*%', text, re.M):
  2710. return 0.2
  2711. # system cmd
  2712. elif re.search(r'^!\w+', text, re.M):
  2713. return 0.2
  2714. line_re = re.compile('.*?\n')
  2715. class MatlabSessionLexer(Lexer):
  2716. """
  2717. For Matlab sessions. Modeled after PythonConsoleLexer.
  2718. Contributed by Ken Schutte <kschutte@csail.mit.edu>.
  2719. .. versionadded:: 0.10
  2720. """
  2721. name = 'Matlab session'
  2722. aliases = ['matlabsession']
  2723. def get_tokens_unprocessed(self, text):
  2724. mlexer = MatlabLexer(**self.options)
  2725. curcode = ''
  2726. insertions = []
  2727. continuation = False
  2728. for match in line_re.finditer(text):
  2729. line = match.group()
  2730. if line.startswith('>> '):
  2731. insertions.append((len(curcode),
  2732. [(0, Generic.Prompt, line[:3])]))
  2733. curcode += line[3:]
  2734. elif line.startswith('>>'):
  2735. insertions.append((len(curcode),
  2736. [(0, Generic.Prompt, line[:2])]))
  2737. curcode += line[2:]
  2738. elif line.startswith('???'):
  2739. idx = len(curcode)
  2740. # without is showing error on same line as before...?
  2741. # line = "\n" + line
  2742. token = (0, Generic.Traceback, line)
  2743. insertions.append((idx, [token]))
  2744. elif continuation:
  2745. # line_start is the length of the most recent prompt symbol
  2746. line_start = len(insertions[-1][-1][-1])
  2747. # Set leading spaces with the length of the prompt to be a generic prompt
  2748. # This keeps code aligned when prompts are removed, say with some Javascript
  2749. if line.startswith(' '*line_start):
  2750. insertions.append(
  2751. (len(curcode), [(0, Generic.Prompt, line[:line_start])]))
  2752. curcode += line[line_start:]
  2753. else:
  2754. curcode += line
  2755. else:
  2756. if curcode:
  2757. yield from do_insertions(
  2758. insertions, mlexer.get_tokens_unprocessed(curcode))
  2759. curcode = ''
  2760. insertions = []
  2761. yield match.start(), Generic.Output, line
  2762. # Does not allow continuation if a comment is included after the ellipses.
  2763. # Continues any line that ends with ..., even comments (lines that start with %)
  2764. if line.strip().endswith('...'):
  2765. continuation = True
  2766. else:
  2767. continuation = False
  2768. if curcode: # or item:
  2769. yield from do_insertions(
  2770. insertions, mlexer.get_tokens_unprocessed(curcode))
  2771. class OctaveLexer(RegexLexer):
  2772. """
  2773. For GNU Octave source code.
  2774. .. versionadded:: 1.5
  2775. """
  2776. name = 'Octave'
  2777. aliases = ['octave']
  2778. filenames = ['*.m']
  2779. mimetypes = ['text/octave']
  2780. # These lists are generated automatically.
  2781. # Run the following in bash shell:
  2782. #
  2783. # First dump all of the Octave manual into a plain text file:
  2784. #
  2785. # $ info octave --subnodes -o octave-manual
  2786. #
  2787. # Now grep through it:
  2788. # for i in \
  2789. # "Built-in Function" "Command" "Function File" \
  2790. # "Loadable Function" "Mapping Function";
  2791. # do
  2792. # perl -e '@name = qw('"$i"');
  2793. # print lc($name[0]),"_kw = [\n"';
  2794. #
  2795. # perl -n -e 'print "\"$1\",\n" if /-- '"$i"': .* (\w*) \(/;' \
  2796. # octave-manual | sort | uniq ;
  2797. # echo "]" ;
  2798. # echo;
  2799. # done
  2800. # taken from Octave Mercurial changeset 8cc154f45e37 (30-jan-2011)
  2801. builtin_kw = (
  2802. "addlistener", "addpath", "addproperty", "all",
  2803. "and", "any", "argnames", "argv", "assignin",
  2804. "atexit", "autoload",
  2805. "available_graphics_toolkits", "beep_on_error",
  2806. "bitand", "bitmax", "bitor", "bitshift", "bitxor",
  2807. "cat", "cell", "cellstr", "char", "class", "clc",
  2808. "columns", "command_line_path",
  2809. "completion_append_char", "completion_matches",
  2810. "complex", "confirm_recursive_rmdir", "cputime",
  2811. "crash_dumps_octave_core", "ctranspose", "cumprod",
  2812. "cumsum", "debug_on_error", "debug_on_interrupt",
  2813. "debug_on_warning", "default_save_options",
  2814. "dellistener", "diag", "diff", "disp",
  2815. "doc_cache_file", "do_string_escapes", "double",
  2816. "drawnow", "e", "echo_executing_commands", "eps",
  2817. "eq", "errno", "errno_list", "error", "eval",
  2818. "evalin", "exec", "exist", "exit", "eye", "false",
  2819. "fclear", "fclose", "fcntl", "fdisp", "feof",
  2820. "ferror", "feval", "fflush", "fgetl", "fgets",
  2821. "fieldnames", "file_in_loadpath", "file_in_path",
  2822. "filemarker", "filesep", "find_dir_in_path",
  2823. "fixed_point_format", "fnmatch", "fopen", "fork",
  2824. "formula", "fprintf", "fputs", "fread", "freport",
  2825. "frewind", "fscanf", "fseek", "fskipl", "ftell",
  2826. "functions", "fwrite", "ge", "genpath", "get",
  2827. "getegid", "getenv", "geteuid", "getgid",
  2828. "getpgrp", "getpid", "getppid", "getuid", "glob",
  2829. "gt", "gui_mode", "history_control",
  2830. "history_file", "history_size",
  2831. "history_timestamp_format_string", "home",
  2832. "horzcat", "hypot", "ifelse",
  2833. "ignore_function_time_stamp", "inferiorto",
  2834. "info_file", "info_program", "inline", "input",
  2835. "intmax", "intmin", "ipermute",
  2836. "is_absolute_filename", "isargout", "isbool",
  2837. "iscell", "iscellstr", "ischar", "iscomplex",
  2838. "isempty", "isfield", "isfloat", "isglobal",
  2839. "ishandle", "isieee", "isindex", "isinteger",
  2840. "islogical", "ismatrix", "ismethod", "isnull",
  2841. "isnumeric", "isobject", "isreal",
  2842. "is_rooted_relative_filename", "issorted",
  2843. "isstruct", "isvarname", "kbhit", "keyboard",
  2844. "kill", "lasterr", "lasterror", "lastwarn",
  2845. "ldivide", "le", "length", "link", "linspace",
  2846. "logical", "lstat", "lt", "make_absolute_filename",
  2847. "makeinfo_program", "max_recursion_depth", "merge",
  2848. "methods", "mfilename", "minus", "mislocked",
  2849. "mkdir", "mkfifo", "mkstemp", "mldivide", "mlock",
  2850. "mouse_wheel_zoom", "mpower", "mrdivide", "mtimes",
  2851. "munlock", "nargin", "nargout",
  2852. "native_float_format", "ndims", "ne", "nfields",
  2853. "nnz", "norm", "not", "numel", "nzmax",
  2854. "octave_config_info", "octave_core_file_limit",
  2855. "octave_core_file_name",
  2856. "octave_core_file_options", "ones", "or",
  2857. "output_max_field_width", "output_precision",
  2858. "page_output_immediately", "page_screen_output",
  2859. "path", "pathsep", "pause", "pclose", "permute",
  2860. "pi", "pipe", "plus", "popen", "power",
  2861. "print_empty_dimensions", "printf",
  2862. "print_struct_array_contents", "prod",
  2863. "program_invocation_name", "program_name",
  2864. "putenv", "puts", "pwd", "quit", "rats", "rdivide",
  2865. "readdir", "readlink", "read_readline_init_file",
  2866. "realmax", "realmin", "rehash", "rename",
  2867. "repelems", "re_read_readline_init_file", "reset",
  2868. "reshape", "resize", "restoredefaultpath",
  2869. "rethrow", "rmdir", "rmfield", "rmpath", "rows",
  2870. "save_header_format_string", "save_precision",
  2871. "saving_history", "scanf", "set", "setenv",
  2872. "shell_cmd", "sighup_dumps_octave_core",
  2873. "sigterm_dumps_octave_core", "silent_functions",
  2874. "single", "size", "size_equal", "sizemax",
  2875. "sizeof", "sleep", "source", "sparse_auto_mutate",
  2876. "split_long_rows", "sprintf", "squeeze", "sscanf",
  2877. "stat", "stderr", "stdin", "stdout", "strcmp",
  2878. "strcmpi", "string_fill_char", "strncmp",
  2879. "strncmpi", "struct", "struct_levels_to_print",
  2880. "strvcat", "subsasgn", "subsref", "sum", "sumsq",
  2881. "superiorto", "suppress_verbose_help_message",
  2882. "symlink", "system", "tic", "tilde_expand",
  2883. "times", "tmpfile", "tmpnam", "toc", "toupper",
  2884. "transpose", "true", "typeinfo", "umask", "uminus",
  2885. "uname", "undo_string_escapes", "unlink", "uplus",
  2886. "upper", "usage", "usleep", "vec", "vectorize",
  2887. "vertcat", "waitpid", "warning", "warranty",
  2888. "whos_line_format", "yes_or_no", "zeros",
  2889. "inf", "Inf", "nan", "NaN")
  2890. command_kw = ("close", "load", "who", "whos")
  2891. function_kw = (
  2892. "accumarray", "accumdim", "acosd", "acotd",
  2893. "acscd", "addtodate", "allchild", "ancestor",
  2894. "anova", "arch_fit", "arch_rnd", "arch_test",
  2895. "area", "arma_rnd", "arrayfun", "ascii", "asctime",
  2896. "asecd", "asind", "assert", "atand",
  2897. "autoreg_matrix", "autumn", "axes", "axis", "bar",
  2898. "barh", "bartlett", "bartlett_test", "beep",
  2899. "betacdf", "betainv", "betapdf", "betarnd",
  2900. "bicgstab", "bicubic", "binary", "binocdf",
  2901. "binoinv", "binopdf", "binornd", "bitcmp",
  2902. "bitget", "bitset", "blackman", "blanks",
  2903. "blkdiag", "bone", "box", "brighten", "calendar",
  2904. "cast", "cauchy_cdf", "cauchy_inv", "cauchy_pdf",
  2905. "cauchy_rnd", "caxis", "celldisp", "center", "cgs",
  2906. "chisquare_test_homogeneity",
  2907. "chisquare_test_independence", "circshift", "cla",
  2908. "clabel", "clf", "clock", "cloglog", "closereq",
  2909. "colon", "colorbar", "colormap", "colperm",
  2910. "comet", "common_size", "commutation_matrix",
  2911. "compan", "compare_versions", "compass",
  2912. "computer", "cond", "condest", "contour",
  2913. "contourc", "contourf", "contrast", "conv",
  2914. "convhull", "cool", "copper", "copyfile", "cor",
  2915. "corrcoef", "cor_test", "cosd", "cotd", "cov",
  2916. "cplxpair", "cross", "cscd", "cstrcat", "csvread",
  2917. "csvwrite", "ctime", "cumtrapz", "curl", "cut",
  2918. "cylinder", "date", "datenum", "datestr",
  2919. "datetick", "datevec", "dblquad", "deal",
  2920. "deblank", "deconv", "delaunay", "delaunayn",
  2921. "delete", "demo", "detrend", "diffpara", "diffuse",
  2922. "dir", "discrete_cdf", "discrete_inv",
  2923. "discrete_pdf", "discrete_rnd", "display",
  2924. "divergence", "dlmwrite", "dos", "dsearch",
  2925. "dsearchn", "duplication_matrix", "durbinlevinson",
  2926. "ellipsoid", "empirical_cdf", "empirical_inv",
  2927. "empirical_pdf", "empirical_rnd", "eomday",
  2928. "errorbar", "etime", "etreeplot", "example",
  2929. "expcdf", "expinv", "expm", "exppdf", "exprnd",
  2930. "ezcontour", "ezcontourf", "ezmesh", "ezmeshc",
  2931. "ezplot", "ezpolar", "ezsurf", "ezsurfc", "factor",
  2932. "factorial", "fail", "fcdf", "feather", "fftconv",
  2933. "fftfilt", "fftshift", "figure", "fileattrib",
  2934. "fileparts", "fill", "findall", "findobj",
  2935. "findstr", "finv", "flag", "flipdim", "fliplr",
  2936. "flipud", "fpdf", "fplot", "fractdiff", "freqz",
  2937. "freqz_plot", "frnd", "fsolve",
  2938. "f_test_regression", "ftp", "fullfile", "fzero",
  2939. "gamcdf", "gaminv", "gampdf", "gamrnd", "gca",
  2940. "gcbf", "gcbo", "gcf", "genvarname", "geocdf",
  2941. "geoinv", "geopdf", "geornd", "getfield", "ginput",
  2942. "glpk", "gls", "gplot", "gradient",
  2943. "graphics_toolkit", "gray", "grid", "griddata",
  2944. "griddatan", "gtext", "gunzip", "gzip", "hadamard",
  2945. "hamming", "hankel", "hanning", "hggroup",
  2946. "hidden", "hilb", "hist", "histc", "hold", "hot",
  2947. "hotelling_test", "housh", "hsv", "hurst",
  2948. "hygecdf", "hygeinv", "hygepdf", "hygernd",
  2949. "idivide", "ifftshift", "image", "imagesc",
  2950. "imfinfo", "imread", "imshow", "imwrite", "index",
  2951. "info", "inpolygon", "inputname", "interpft",
  2952. "interpn", "intersect", "invhilb", "iqr", "isa",
  2953. "isdefinite", "isdir", "is_duplicate_entry",
  2954. "isequal", "isequalwithequalnans", "isfigure",
  2955. "ishermitian", "ishghandle", "is_leap_year",
  2956. "isletter", "ismac", "ismember", "ispc", "isprime",
  2957. "isprop", "isscalar", "issquare", "isstrprop",
  2958. "issymmetric", "isunix", "is_valid_file_id",
  2959. "isvector", "jet", "kendall",
  2960. "kolmogorov_smirnov_cdf",
  2961. "kolmogorov_smirnov_test", "kruskal_wallis_test",
  2962. "krylov", "kurtosis", "laplace_cdf", "laplace_inv",
  2963. "laplace_pdf", "laplace_rnd", "legend", "legendre",
  2964. "license", "line", "linkprop", "list_primes",
  2965. "loadaudio", "loadobj", "logistic_cdf",
  2966. "logistic_inv", "logistic_pdf", "logistic_rnd",
  2967. "logit", "loglog", "loglogerr", "logm", "logncdf",
  2968. "logninv", "lognpdf", "lognrnd", "logspace",
  2969. "lookfor", "ls_command", "lsqnonneg", "magic",
  2970. "mahalanobis", "manova", "matlabroot",
  2971. "mcnemar_test", "mean", "meansq", "median", "menu",
  2972. "mesh", "meshc", "meshgrid", "meshz", "mexext",
  2973. "mget", "mkpp", "mode", "moment", "movefile",
  2974. "mpoles", "mput", "namelengthmax", "nargchk",
  2975. "nargoutchk", "nbincdf", "nbininv", "nbinpdf",
  2976. "nbinrnd", "nchoosek", "ndgrid", "newplot", "news",
  2977. "nonzeros", "normcdf", "normest", "norminv",
  2978. "normpdf", "normrnd", "now", "nthroot", "null",
  2979. "ocean", "ols", "onenormest", "optimget",
  2980. "optimset", "orderfields", "orient", "orth",
  2981. "pack", "pareto", "parseparams", "pascal", "patch",
  2982. "pathdef", "pcg", "pchip", "pcolor", "pcr",
  2983. "peaks", "periodogram", "perl", "perms", "pie",
  2984. "pink", "planerot", "playaudio", "plot",
  2985. "plotmatrix", "plotyy", "poisscdf", "poissinv",
  2986. "poisspdf", "poissrnd", "polar", "poly",
  2987. "polyaffine", "polyarea", "polyderiv", "polyfit",
  2988. "polygcd", "polyint", "polyout", "polyreduce",
  2989. "polyval", "polyvalm", "postpad", "powerset",
  2990. "ppder", "ppint", "ppjumps", "ppplot", "ppval",
  2991. "pqpnonneg", "prepad", "primes", "print",
  2992. "print_usage", "prism", "probit", "qp", "qqplot",
  2993. "quadcc", "quadgk", "quadl", "quadv", "quiver",
  2994. "qzhess", "rainbow", "randi", "range", "rank",
  2995. "ranks", "rat", "reallog", "realpow", "realsqrt",
  2996. "record", "rectangle_lw", "rectangle_sw",
  2997. "rectint", "refresh", "refreshdata",
  2998. "regexptranslate", "repmat", "residue", "ribbon",
  2999. "rindex", "roots", "rose", "rosser", "rotdim",
  3000. "rref", "run", "run_count", "rundemos", "run_test",
  3001. "runtests", "saveas", "saveaudio", "saveobj",
  3002. "savepath", "scatter", "secd", "semilogx",
  3003. "semilogxerr", "semilogy", "semilogyerr",
  3004. "setaudio", "setdiff", "setfield", "setxor",
  3005. "shading", "shift", "shiftdim", "sign_test",
  3006. "sinc", "sind", "sinetone", "sinewave", "skewness",
  3007. "slice", "sombrero", "sortrows", "spaugment",
  3008. "spconvert", "spdiags", "spearman", "spectral_adf",
  3009. "spectral_xdf", "specular", "speed", "spencer",
  3010. "speye", "spfun", "sphere", "spinmap", "spline",
  3011. "spones", "sprand", "sprandn", "sprandsym",
  3012. "spring", "spstats", "spy", "sqp", "stairs",
  3013. "statistics", "std", "stdnormal_cdf",
  3014. "stdnormal_inv", "stdnormal_pdf", "stdnormal_rnd",
  3015. "stem", "stft", "strcat", "strchr", "strjust",
  3016. "strmatch", "strread", "strsplit", "strtok",
  3017. "strtrim", "strtrunc", "structfun", "studentize",
  3018. "subplot", "subsindex", "subspace", "substr",
  3019. "substruct", "summer", "surf", "surface", "surfc",
  3020. "surfl", "surfnorm", "svds", "swapbytes",
  3021. "sylvester_matrix", "symvar", "synthesis", "table",
  3022. "tand", "tar", "tcdf", "tempdir", "tempname",
  3023. "test", "text", "textread", "textscan", "tinv",
  3024. "title", "toeplitz", "tpdf", "trace", "trapz",
  3025. "treelayout", "treeplot", "triangle_lw",
  3026. "triangle_sw", "tril", "trimesh", "triplequad",
  3027. "triplot", "trisurf", "triu", "trnd", "tsearchn",
  3028. "t_test", "t_test_regression", "type", "unidcdf",
  3029. "unidinv", "unidpdf", "unidrnd", "unifcdf",
  3030. "unifinv", "unifpdf", "unifrnd", "union", "unique",
  3031. "unix", "unmkpp", "unpack", "untabify", "untar",
  3032. "unwrap", "unzip", "u_test", "validatestring",
  3033. "vander", "var", "var_test", "vech", "ver",
  3034. "version", "view", "voronoi", "voronoin",
  3035. "waitforbuttonpress", "wavread", "wavwrite",
  3036. "wblcdf", "wblinv", "wblpdf", "wblrnd", "weekday",
  3037. "welch_test", "what", "white", "whitebg",
  3038. "wienrnd", "wilcoxon_test", "wilkinson", "winter",
  3039. "xlabel", "xlim", "ylabel", "yulewalker", "zip",
  3040. "zlabel", "z_test")
  3041. loadable_kw = (
  3042. "airy", "amd", "balance", "besselh", "besseli",
  3043. "besselj", "besselk", "bessely", "bitpack",
  3044. "bsxfun", "builtin", "ccolamd", "cellfun",
  3045. "cellslices", "chol", "choldelete", "cholinsert",
  3046. "cholinv", "cholshift", "cholupdate", "colamd",
  3047. "colloc", "convhulln", "convn", "csymamd",
  3048. "cummax", "cummin", "daspk", "daspk_options",
  3049. "dasrt", "dasrt_options", "dassl", "dassl_options",
  3050. "dbclear", "dbdown", "dbstack", "dbstatus",
  3051. "dbstop", "dbtype", "dbup", "dbwhere", "det",
  3052. "dlmread", "dmperm", "dot", "eig", "eigs",
  3053. "endgrent", "endpwent", "etree", "fft", "fftn",
  3054. "fftw", "filter", "find", "full", "gcd",
  3055. "getgrent", "getgrgid", "getgrnam", "getpwent",
  3056. "getpwnam", "getpwuid", "getrusage", "givens",
  3057. "gmtime", "gnuplot_binary", "hess", "ifft",
  3058. "ifftn", "inv", "isdebugmode", "issparse", "kron",
  3059. "localtime", "lookup", "lsode", "lsode_options",
  3060. "lu", "luinc", "luupdate", "matrix_type", "max",
  3061. "min", "mktime", "pinv", "qr", "qrdelete",
  3062. "qrinsert", "qrshift", "qrupdate", "quad",
  3063. "quad_options", "qz", "rand", "rande", "randg",
  3064. "randn", "randp", "randperm", "rcond", "regexp",
  3065. "regexpi", "regexprep", "schur", "setgrent",
  3066. "setpwent", "sort", "spalloc", "sparse", "spparms",
  3067. "sprank", "sqrtm", "strfind", "strftime",
  3068. "strptime", "strrep", "svd", "svd_driver", "syl",
  3069. "symamd", "symbfact", "symrcm", "time", "tsearch",
  3070. "typecast", "urlread", "urlwrite")
  3071. mapping_kw = (
  3072. "abs", "acos", "acosh", "acot", "acoth", "acsc",
  3073. "acsch", "angle", "arg", "asec", "asech", "asin",
  3074. "asinh", "atan", "atanh", "beta", "betainc",
  3075. "betaln", "bincoeff", "cbrt", "ceil", "conj", "cos",
  3076. "cosh", "cot", "coth", "csc", "csch", "erf", "erfc",
  3077. "erfcx", "erfinv", "exp", "finite", "fix", "floor",
  3078. "fmod", "gamma", "gammainc", "gammaln", "imag",
  3079. "isalnum", "isalpha", "isascii", "iscntrl",
  3080. "isdigit", "isfinite", "isgraph", "isinf",
  3081. "islower", "isna", "isnan", "isprint", "ispunct",
  3082. "isspace", "isupper", "isxdigit", "lcm", "lgamma",
  3083. "log", "lower", "mod", "real", "rem", "round",
  3084. "roundb", "sec", "sech", "sign", "sin", "sinh",
  3085. "sqrt", "tan", "tanh", "toascii", "tolower", "xor")
  3086. builtin_consts = (
  3087. "EDITOR", "EXEC_PATH", "I", "IMAGE_PATH", "NA",
  3088. "OCTAVE_HOME", "OCTAVE_VERSION", "PAGER",
  3089. "PAGER_FLAGS", "SEEK_CUR", "SEEK_END", "SEEK_SET",
  3090. "SIG", "S_ISBLK", "S_ISCHR", "S_ISDIR", "S_ISFIFO",
  3091. "S_ISLNK", "S_ISREG", "S_ISSOCK", "WCONTINUE",
  3092. "WCOREDUMP", "WEXITSTATUS", "WIFCONTINUED",
  3093. "WIFEXITED", "WIFSIGNALED", "WIFSTOPPED", "WNOHANG",
  3094. "WSTOPSIG", "WTERMSIG", "WUNTRACED")
  3095. tokens = {
  3096. 'root': [
  3097. (r'%\{\s*\n', Comment.Multiline, 'percentblockcomment'),
  3098. (r'#\{\s*\n', Comment.Multiline, 'hashblockcomment'),
  3099. (r'[%#].*$', Comment),
  3100. (r'^\s*function\b', Keyword, 'deffunc'),
  3101. # from 'iskeyword' on hg changeset 8cc154f45e37
  3102. (words((
  3103. '__FILE__', '__LINE__', 'break', 'case', 'catch', 'classdef',
  3104. 'continue', 'do', 'else', 'elseif', 'end', 'end_try_catch',
  3105. 'end_unwind_protect', 'endclassdef', 'endevents', 'endfor',
  3106. 'endfunction', 'endif', 'endmethods', 'endproperties', 'endswitch',
  3107. 'endwhile', 'events', 'for', 'function', 'get', 'global', 'if',
  3108. 'methods', 'otherwise', 'persistent', 'properties', 'return',
  3109. 'set', 'static', 'switch', 'try', 'until', 'unwind_protect',
  3110. 'unwind_protect_cleanup', 'while'), suffix=r'\b'),
  3111. Keyword),
  3112. (words(builtin_kw + command_kw + function_kw + loadable_kw + mapping_kw,
  3113. suffix=r'\b'), Name.Builtin),
  3114. (words(builtin_consts, suffix=r'\b'), Name.Constant),
  3115. # operators in Octave but not Matlab:
  3116. (r'-=|!=|!|/=|--', Operator),
  3117. # operators:
  3118. (r'-|==|~=|<|>|<=|>=|&&|&|~|\|\|?', Operator),
  3119. # operators in Octave but not Matlab requiring escape for re:
  3120. (r'\*=|\+=|\^=|\/=|\\=|\*\*|\+\+|\.\*\*', Operator),
  3121. # operators requiring escape for re:
  3122. (r'\.\*|\*|\+|\.\^|\.\\|\.\/|\/|\\', Operator),
  3123. # punctuation:
  3124. (r'[\[\](){}:@.,]', Punctuation),
  3125. (r'=|:|;', Punctuation),
  3126. (r'"[^"]*"', String),
  3127. (r'(\d+\.\d*|\d*\.\d+)([eEf][+-]?[0-9]+)?', Number.Float),
  3128. (r'\d+[eEf][+-]?[0-9]+', Number.Float),
  3129. (r'\d+', Number.Integer),
  3130. # quote can be transpose, instead of string:
  3131. # (not great, but handles common cases...)
  3132. (r'(?<=[\w)\].])\'+', Operator),
  3133. (r'(?<![\w)\].])\'', String, 'string'),
  3134. (r'[a-zA-Z_]\w*', Name),
  3135. (r'\s+', Text),
  3136. (r'.', Text),
  3137. ],
  3138. 'percentblockcomment': [
  3139. (r'^\s*%\}', Comment.Multiline, '#pop'),
  3140. (r'^.*\n', Comment.Multiline),
  3141. (r'.', Comment.Multiline),
  3142. ],
  3143. 'hashblockcomment': [
  3144. (r'^\s*#\}', Comment.Multiline, '#pop'),
  3145. (r'^.*\n', Comment.Multiline),
  3146. (r'.', Comment.Multiline),
  3147. ],
  3148. 'string': [
  3149. (r"[^']*'", String, '#pop'),
  3150. ],
  3151. 'deffunc': [
  3152. (r'(\s*)(?:(\S+)(\s*)(=)(\s*))?(.+)(\()(.*)(\))(\s*)',
  3153. bygroups(Whitespace, Text, Whitespace, Punctuation,
  3154. Whitespace, Name.Function, Punctuation, Text,
  3155. Punctuation, Whitespace), '#pop'),
  3156. # function with no args
  3157. (r'(\s*)([a-zA-Z_]\w*)',
  3158. bygroups(Whitespace, Name.Function), '#pop'),
  3159. ],
  3160. }
  3161. def analyse_text(text):
  3162. """Octave is quite hard to spot, and it looks like Matlab as well."""
  3163. return 0
  3164. class ScilabLexer(RegexLexer):
  3165. """
  3166. For Scilab source code.
  3167. .. versionadded:: 1.5
  3168. """
  3169. name = 'Scilab'
  3170. aliases = ['scilab']
  3171. filenames = ['*.sci', '*.sce', '*.tst']
  3172. mimetypes = ['text/scilab']
  3173. tokens = {
  3174. 'root': [
  3175. (r'//.*?$', Comment.Single),
  3176. (r'^\s*function\b', Keyword, 'deffunc'),
  3177. (words((
  3178. '__FILE__', '__LINE__', 'break', 'case', 'catch', 'classdef', 'continue', 'do', 'else',
  3179. 'elseif', 'end', 'end_try_catch', 'end_unwind_protect', 'endclassdef',
  3180. 'endevents', 'endfor', 'endfunction', 'endif', 'endmethods', 'endproperties',
  3181. 'endswitch', 'endwhile', 'events', 'for', 'function', 'get', 'global', 'if', 'methods',
  3182. 'otherwise', 'persistent', 'properties', 'return', 'set', 'static', 'switch', 'try',
  3183. 'until', 'unwind_protect', 'unwind_protect_cleanup', 'while'), suffix=r'\b'),
  3184. Keyword),
  3185. (words(_scilab_builtins.functions_kw +
  3186. _scilab_builtins.commands_kw +
  3187. _scilab_builtins.macros_kw, suffix=r'\b'), Name.Builtin),
  3188. (words(_scilab_builtins.variables_kw, suffix=r'\b'), Name.Constant),
  3189. # operators:
  3190. (r'-|==|~=|<|>|<=|>=|&&|&|~|\|\|?', Operator),
  3191. # operators requiring escape for re:
  3192. (r'\.\*|\*|\+|\.\^|\.\\|\.\/|\/|\\', Operator),
  3193. # punctuation:
  3194. (r'[\[\](){}@.,=:;]', Punctuation),
  3195. (r'"[^"]*"', String),
  3196. # quote can be transpose, instead of string:
  3197. # (not great, but handles common cases...)
  3198. (r'(?<=[\w)\].])\'+', Operator),
  3199. (r'(?<![\w)\].])\'', String, 'string'),
  3200. (r'(\d+\.\d*|\d*\.\d+)([eEf][+-]?[0-9]+)?', Number.Float),
  3201. (r'\d+[eEf][+-]?[0-9]+', Number.Float),
  3202. (r'\d+', Number.Integer),
  3203. (r'[a-zA-Z_]\w*', Name),
  3204. (r'.', Text),
  3205. ],
  3206. 'string': [
  3207. (r"[^']*'", String, '#pop'),
  3208. (r'.', String, '#pop'),
  3209. ],
  3210. 'deffunc': [
  3211. (r'(\s*)(?:(\S+)(\s*)(=)(\s*))?(.+)(\()(.*)(\))(\s*)',
  3212. bygroups(Whitespace, Text, Whitespace, Punctuation,
  3213. Whitespace, Name.Function, Punctuation, Text,
  3214. Punctuation, Whitespace), '#pop'),
  3215. # function with no args
  3216. (r'(\s*)([a-zA-Z_]\w*)', bygroups(Text, Name.Function), '#pop'),
  3217. ],
  3218. }