Kate/Scilab.pm

filter: Statementstmt 54.9% 28 / 51 Branchbran 0.0% 0 / 20 Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 3 totaltotal 38.8% 33 / 85 CC 12 SCAR 44.5
CC
12
Cov
39%
parsemain
132.0
new
2.0
language
2.0
CRAP 85.9
« Kate/Nl.pm ↑ Summary Kate/REXX.pm »
1 # Copyright (c) 2005 - 2006 Hans Jeuken. All rights reserved.
2 # This program is free software; you can redistribute it and/or
3 # modify it under the same terms as Perl itself.
4  
5 # This file was generated from the 'sci.xml' file of the syntax highlight
6 # engine of the kate text editor (http://www.kate-editor.org
7  
8 #kate xml version 1.03
9 #kate version 2.3
10 #generated: Sun Feb 3 22:02:06 2008, localtime
11  
12 package Syntax::Highlight::Engine::Kate::Scilab;
13  
14 1 our $VERSION = '0.16';
15  
16 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use base('Syntax::Highlight::Engine::Kate::Template');
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 1 ▶sub new {
Subroutine new: called CC=2 SCAR=7.0
Pod undocumented
21 1 my $proto = shift;
22 1 ▶ my $class = ref($proto) || $proto;
Condition33%1/3
ref $proto || $proto
l!l&&r!l&&!r
010
MC/DC0%0/2
ref $proto || $proto
ref $proto $proto
Truth table33%1/3
A || B
A= ref $protoB= $proto
ABresult
1X1
011
000
23 1 my $self = $class->SUPER::new(@_);
24 1 $self->attributes({
25 'Comment' => 'Comment',
26 'Constants-keyword' => 'Variable',
27 'Control-keywords' => 'Operator',
28 'Decimal' => 'DecVal',
29 'Float' => 'Float',
30 'Function-keywords' => 'Function',
31 'Normal Text' => 'Normal',
32 'String' => 'String',
33 'Structure-keywords' => 'Keyword',
34 'Warning-keywords' => 'Others',
35 'functions' => 'Function',
36 });
37 1 $self->listAdd('Constants-keyword',
38 '$',
39 '%F',
40 '%T',
41 '%e',
42 '%eps',
43 '%f',
44 '%i',
45 '%inf',
46 '%io',
47 '%nan',
48 '%pi',
49 '%s',
50 '%t',
51 '%z',
52 'MSDOS',
53 );
54 1 $self->listAdd('Control-keywords',
55 'abort',
56 'break',
57 'pause',
58 'quit',
59 'resume',
60 'return',
61 );
62 1 $self->listAdd('Function-keywords',
63 'endfunction',
64 'function',
65 );
66 1 $self->listAdd('Structure-keywords',
67 'do',
68 'else',
69 'elseif',
70 'end',
71 'for',
72 'if',
73 'select',
74 'then',
75 'while',
76 );
77 1 $self->listAdd('Warning-keywords',
78 'error',
79 'warning',
80 );
81 1 $self->listAdd('functions',
82 '%asn',
83 '%helps',
84 '%k',
85 '%sn',
86 'ABSBLK_f',
87 'AFFICH_f',
88 'ANDLOG_f',
89 'ANIMXY_f',
90 'AdCommunications',
91 'BIGSOM_f',
92 'CLINDUMMY_f',
93 'CLKINV_f',
94 'CLKIN_f',
95 'CLKOUTV_f',
96 'CLKOUT_f',
97 'CLKSOMV_f',
98 'CLKSOM_f',
99 'CLKSPLIT_f',
100 'CLOCK_f',
101 'CLR_f',
102 'CLSS_f',
103 'CONST_f',
104 'COSBLK_f',
105 'CURV_f',
106 'Communications',
107 'CreateLink',
108 'DELAYV_f',
109 'DELAY_f',
110 'DEMUX_f',
111 'DLRADAPT_f',
112 'DLR_f',
113 'DLSS_f',
114 'DestroyLink',
115 'EVENTSCOPE_f',
116 'EVTDLY_f',
117 'EVTGEN_f',
118 'EXPBLK_f',
119 'Example',
120 'ExecAppli',
121 'ExecScilab',
122 'ExeclScilab',
123 'GAINBLK_f',
124 'GAIN_f',
125 'GENERAL_f',
126 'GENERIC_f',
127 'GENSIN_f',
128 'GENSQR_f',
129 'G_make',
130 'GetMsg',
131 'Graphics',
132 'HALT_f',
133 'IFTHEL_f',
134 'INTEGRAL_f',
135 'INTRP2BLK_f',
136 'INTRPLBLK_f',
137 'INVBLK_f',
138 'IN_f',
139 'LOGBLK_f',
140 'LOOKUP_f',
141 'MAX_f',
142 'MCLOCK_f',
143 'MFCLCK_f',
144 'MIN_f',
145 'MUX_f',
146 'Matplot',
147 'Matplot1',
148 'NEGTOPOS_f',
149 'OUT_f',
150 'POSTONEG_f',
151 'POWBLK_f',
152 'PROD_f',
153 'QUANT_f',
154 'RAND_f',
155 'READC_f',
156 'REGISTER_f',
157 'RELAY_f',
158 'RFILE_f',
159 'SAMPLEHOLD_f',
160 'SAT_f',
161 'SAWTOOTH_f',
162 'SCOPE_f',
163 'SCOPXY_f',
164 'SELECT_f',
165 'SINBLK_f',
166 'SOM_f',
167 'SPLIT_f',
168 'STOP_f',
169 'SUPER_f',
170 'ScilabEval',
171 'SendMsg',
172 'Sfgrayplot',
173 'Sgrayplot',
174 'TANBLK_f',
175 'TCLSS_f',
176 'TEXT_f',
177 'TIME_f',
178 'TK_EvalFile',
179 'TK_EvalStr',
180 'TK_GetVar',
181 'TK_SetVar',
182 'TRASH_f',
183 'WFILE_f',
184 'WRITEC_f',
185 'WaitMsg',
186 'ZCROSS_f',
187 'abcd',
188 'abinv',
189 'abs',
190 'acos',
191 'acosh',
192 'acoshm',
193 'acosm',
194 'add_edge',
195 'add_node',
196 'addcolor',
197 'addf',
198 'addinter',
199 'addmenu',
200 'adj2sp',
201 'adj_lists',
202 'aff2ab',
203 'alufunctions',
204 'amell',
205 'analpf',
206 'analyze',
207 'and',
208 'ans',
209 'apropos',
210 'arc_graph',
211 'arc_number',
212 'argn',
213 'arhnk',
214 'arl2',
215 'arma',
216 'arma2p',
217 'armac',
218 'armax',
219 'armax1',
220 'arsimul',
221 'artest',
222 'articul',
223 'ascii',
224 'asin',
225 'asinh',
226 'asinhm',
227 'asinm',
228 'atan',
229 'atanh',
230 'atanhm',
231 'atanm',
232 'augment',
233 'auread',
234 'auwrite',
235 'backslash',
236 'balanc',
237 'balreal',
238 'bandwr',
239 'bdiag',
240 'besseli',
241 'besselj',
242 'besselk',
243 'bessely',
244 'best_match',
245 'bezout',
246 'bifish',
247 'bilin',
248 'binomial',
249 'black',
250 'bloc2exp',
251 'bloc2ss',
252 'bode',
253 'bool2s',
254 'boolean',
255 'boucle',
256 'bstap',
257 'buttmag',
258 'bvode',
259 'c_link',
260 'cainv',
261 'calerf',
262 'calfrq',
263 'call',
264 'canon',
265 'casc',
266 'ccontrg',
267 'cdfbet',
268 'cdfbin',
269 'cdfchi',
270 'cdfchn',
271 'cdff',
272 'cdffnc',
273 'cdfgam',
274 'cdfnbn',
275 'cdfnor',
276 'cdfpoi',
277 'cdft',
278 'ceil',
279 'cepstrum',
280 'chain_struct',
281 'chaintest',
282 'champ',
283 'champ1',
284 'chart',
285 'chdir',
286 'cheb1mag',
287 'cheb2mag',
288 'check_graph',
289 'chepol',
290 'chfact',
291 'chol',
292 'chsolve',
293 'circuit',
294 'classmarkov',
295 'clean',
296 'clear',
297 'clearfun',
298 'clearglobal',
299 'close',
300 'cls2dls',
301 'cmb_lin',
302 'cmndred',
303 'code2str',
304 'coeff',
305 'coff',
306 'coffg',
307 'colcomp',
308 'colcompr',
309 'colinout',
310 'colnew',
311 'colon',
312 'colormap',
313 'colregul',
314 'comp',
315 'companion',
316 'con_nodes',
317 'cond',
318 'conj',
319 'connex',
320 'cont_frm',
321 'cont_mat',
322 'contour',
323 'contour2d',
324 'contour2di',
325 'contourf',
326 'contr',
327 'contract_edge',
328 'contrss',
329 'convex_hull',
330 'convol',
331 'convstr',
332 'copfac',
333 'corr',
334 'cos',
335 'cosh',
336 'coshm',
337 'cosm',
338 'cotg',
339 'coth',
340 'cothm',
341 'csim',
342 'cspect',
343 'ctr_gram',
344 'cumprod',
345 'cumsum',
346 'curblock',
347 'cycle_basis',
348 'czt',
349 'dasrt',
350 'dassl',
351 'datafit',
352 'date',
353 'dbphi',
354 'dcf',
355 'ddp',
356 'debug',
357 'dec2hex',
358 'deff',
359 'degree',
360 'delbpt',
361 'delete_arcs',
362 'delete_nodes',
363 'delip',
364 'delmenu',
365 'demos',
366 'denom',
367 'derivat',
368 'derivative-',
369 'des2ss',
370 'des2tf',
371 'det',
372 'determ',
373 'detr',
374 'dft',
375 'dhnorm',
376 'diag',
377 'diary',
378 'diophant',
379 'disp',
380 'dispbpt',
381 'dispfile',
382 'dlgamma',
383 'dot',
384 'double',
385 'dragrect',
386 'drawaxis',
387 'driver',
388 'dscr',
389 'dsimul',
390 'dt_ility',
391 'dtsi',
392 'edge_number',
393 'edit',
394 'edit_curv',
395 'eigenmarkov',
396 'ell1mag',
397 'empty',
398 'emptystr',
399 'eqfir',
400 'eqiir',
401 'equal',
402 'equil',
403 'equil1',
404 'ereduc',
405 'erf',
406 'erfc',
407 'erfcx',
408 'errbar',
409 'errcatch',
410 'errclear',
411 'error',
412 'eval',
413 'eval3d',
414 'eval3dp',
415 'evans',
416 'evstr',
417 'excel2sci',
418 'exec',
419 'execstr',
420 'exists',
421 'exit',
422 'exp',
423 'expm',
424 'external',
425 'extraction',
426 'eye',
427 'fac3d',
428 'factors',
429 'faurre',
430 'fchamp',
431 'fcontour',
432 'fcontour2d',
433 'fec',
434 'feedback',
435 'feval',
436 'ffilt',
437 'fft',
438 'fgrayplot',
439 'figure',
440 'file',
441 'fileinfo',
442 'filter',
443 'find',
444 'find_freq',
445 'find_path',
446 'findm',
447 'findobj',
448 'fit_dat',
449 'fix',
450 'floor',
451 'flts',
452 'format',
453 'formatman',
454 'fort',
455 'fourplan',
456 'fplot2d',
457 'fplot3d',
458 'fplot3d1',
459 'fprintf',
460 'fprintfMat',
461 'frep2tf',
462 'freq',
463 'freson',
464 'frexp',
465 'frfit',
466 'frmag',
467 'fscanf',
468 'fscanfMat',
469 'fsfirlin',
470 'fsolve',
471 'fspecg',
472 'fstabst',
473 'fstair',
474 'full',
475 'fullrf',
476 'fullrfk',
477 'fun2string',
478 'funcprot',
479 'funptr',
480 'fusee',
481 'g_margin',
482 'gainplot',
483 'gamitg',
484 'gamma',
485 'gammaln',
486 'gcare',
487 'gcd',
488 'gcf',
489 'gen_net',
490 'genfac3d',
491 'genlib',
492 'genmarkov',
493 'geom3d',
494 'get',
495 'get_function_path',
496 'getblocklabel',
497 'getcolor',
498 'getcwd',
499 'getd',
500 'getdate',
501 'getenv',
502 'getf',
503 'getfield',
504 'getfont',
505 'getio',
506 'getlinestyle',
507 'getmark',
508 'getpid',
509 'getscicosvars',
510 'getsymbol',
511 'getvalue',
512 'getversion',
513 'gfare',
514 'gfrancis',
515 'girth',
516 'givens',
517 'glever',
518 'glist',
519 'global',
520 'gpeche',
521 'gr_menu',
522 'graduate',
523 'grand',
524 'graph-list',
525 'graph_2_mat',
526 'graph_center',
527 'graph_complement',
528 'graph_diameter',
529 'graph_power',
530 'graph_simp',
531 'graph_sum',
532 'graph_union',
533 'graycolormap',
534 'grayplot',
535 'graypolarplot',
536 'grep',
537 'group',
538 'gschur',
539 'gsort',
540 'gspec',
541 'gstacksize',
542 'gtild',
543 'h2norm',
544 'h_cl',
545 'h_inf',
546 'h_inf_st',
547 'h_norm',
548 'halt',
549 'hamilton',
550 'hank',
551 'hankelsv',
552 'hat',
553 'havewindow',
554 'help',
555 'hermit',
556 'hess',
557 'hex2dec',
558 'hilb',
559 'hist3d',
560 'histplot',
561 'horner',
562 'host',
563 'hotcolormap',
564 'householder',
565 'hrmt',
566 'htrianr',
567 'hypermat',
568 'hypermatrices',
569 'iconvert',
570 'ieee',
571 'iir',
572 'iirgroup',
573 'iirlp',
574 'ilib_build',
575 'ilib_compile',
576 'ilib_for_link',
577 'ilib_gen_Make',
578 'ilib_gen_gateway',
579 'ilib_gen_loader',
580 'im_inv',
581 'imag',
582 'impl',
583 'imrep2ss',
584 'input',
585 'insertion',
586 'int',
587 'int16',
588 'int2d',
589 'int32',
590 'int3d',
591 'int8',
592 'intc',
593 'intdec',
594 'integrate',
595 'interp',
596 'interpln',
597 'intersci',
598 'intersect',
599 'intg',
600 'intl',
601 'intppty',
602 'intsplin',
603 'inttrap',
604 'inttype',
605 'inv',
606 'inv_coeff',
607 'invr',
608 'invsyslin',
609 'is_connex',
610 'isdef',
611 'iserror',
612 'isglobal',
613 'isinf',
614 'isnan',
615 'isoview',
616 'isreal',
617 'jmat',
618 'kalm',
619 'karmarkar',
620 'kernel',
621 'keyboard',
622 'knapsack',
623 'kpure',
624 'krac2',
625 'kron',
626 'kroneck',
627 'lasterror',
628 'lattn',
629 'lattp',
630 'lcf',
631 'lcm',
632 'lcmdiag',
633 'ldiv',
634 'ldivf',
635 'leastsq',
636 'left',
637 'legends',
638 'length',
639 'leqr',
640 'less',
641 'lev',
642 'levin',
643 'lex_sort',
644 'lft',
645 'lgfft',
646 'lib',
647 'lin',
648 'lin2mu',
649 'lindquist',
650 'line_graph',
651 'lines',
652 'linf',
653 'linfn',
654 'link',
655 'linpro',
656 'linsolve',
657 'linspace',
658 'list',
659 'lmisolver',
660 'lmitool',
661 'load',
662 'load_graph',
663 'loadwave',
664 'locate',
665 'log',
666 'log10',
667 'log2',
668 'logm',
669 'logspace',
670 'lotest',
671 'lqe',
672 'lqg',
673 'lqg2stan',
674 'lqg_ltr',
675 'lqr',
676 'lsslist',
677 'lstcat',
678 'ltitr',
679 'lu',
680 'ludel',
681 'lufact',
682 'luget',
683 'lusolve',
684 'lyap',
685 'm_circle',
686 'macglov',
687 'macr2lst',
688 'macro',
689 'macrovar',
690 'make_graph',
691 'man',
692 'manedit',
693 'mapsound',
694 'markp2ss',
695 'mat_2_graph',
696 'matrices',
697 'matrix',
698 'max',
699 'max_cap_path',
700 'max_clique',
701 'max_flow',
702 'maxi',
703 'mclearerr',
704 'mclose',
705 'mean',
706 'median',
707 'meof',
708 'mese',
709 'mesh2d',
710 'metanet',
711 'metanet_sync',
712 'mfft',
713 'mfile2sci',
714 'mfprintf',
715 'mfscanf',
716 'mget',
717 'mgeti',
718 'mgetl',
719 'mgetstr',
720 'milk_drop',
721 'min',
722 'min_lcost_cflow',
723 'min_lcost_flow1',
724 'min_lcost_flow2',
725 'min_qcost_flow',
726 'min_weight_tree',
727 'mine',
728 'mini',
729 'minreal',
730 'minss',
731 'minus',
732 'mlist',
733 'mode',
734 'modulo',
735 'mopen',
736 'mprintf',
737 'mps2linpro',
738 'mput',
739 'mputl',
740 'mputstr',
741 'mrfit',
742 'mscanf',
743 'mseek',
744 'msprintf',
745 'msscanf',
746 'mtell',
747 'mtlb_load',
748 'mtlb_mode',
749 'mtlb_save',
750 'mtlb_sparse',
751 'mu2lin',
752 'mulf',
753 'names',
754 'narsimul',
755 'nehari',
756 'neighbors',
757 'netclose',
758 'netwindow',
759 'netwindows',
760 'newest',
761 'newfun',
762 'nf3d',
763 'nlev',
764 'nnz',
765 'node_number',
766 'nodes_2_path',
767 'nodes_degrees',
768 'noisegen',
769 'norm',
770 'not',
771 'null',
772 'numer',
773 'nyquist',
774 'obs_gram',
775 'obscont',
776 'obscont1',
777 'observer',
778 'obsv_mat',
779 'obsvss',
780 'ode',
781 'ode_discrete',
782 'ode_root',
783 'odedc',
784 'odedi',
785 'odeoptions',
786 'oldload',
787 'oldsave',
788 'ones',
789 'optim',
790 'or',
791 'orth',
792 'overloading',
793 'p_margin',
794 'param3d',
795 'param3d1',
796 'paramfplot2d',
797 'parents',
798 'parrot',
799 'part',
800 'path_2_nodes',
801 'pbig',
802 'pdiv',
803 'pen2ea',
804 'pencan',
805 'penlaur',
806 'percent',
807 'perfect_match',
808 'pertrans',
809 'pfss',
810 'phasemag',
811 'phc',
812 'pinv',
813 'pipe_network',
814 'playsnd',
815 'plot',
816 'plot2d',
817 'plot2d1',
818 'plot2d2',
819 'plot2d3',
820 'plot2d4',
821 'plot3d',
822 'plot3d1',
823 'plot3d2',
824 'plot3d3',
825 'plot_graph',
826 'plotframe',
827 'plotprofile',
828 'plus',
829 'plzr',
830 'pmodulo',
831 'pol2des',
832 'pol2str',
833 'pol2tex',
834 'polar',
835 'polarplot',
836 'polfact',
837 'poly',
838 'portr3d',
839 'portrait',
840 'power',
841 'ppol',
842 'prbs_a',
843 'predecessors',
844 'predef',
845 'print',
846 'printf',
847 'printf_conversion',
848 'printing',
849 'prod',
850 'profile',
851 'proj',
852 'projsl',
853 'projspec',
854 'psmall',
855 'pspect',
856 'pvm',
857 'pvm_addhosts',
858 'pvm_bcast',
859 'pvm_bufinfo',
860 'pvm_config',
861 'pvm_delhosts',
862 'pvm_error',
863 'pvm_exit',
864 'pvm_get_timer',
865 'pvm_getinst',
866 'pvm_gsize',
867 'pvm_halt',
868 'pvm_joingroup',
869 'pvm_kill',
870 'pvm_lvgroup',
871 'pvm_mytid',
872 'pvm_probe',
873 'pvm_recv',
874 'pvm_reduce',
875 'pvm_sci2f77',
876 'pvm_send',
877 'pvm_set_timer',
878 'pvm_spawn',
879 'pvm_spawn_independent',
880 'pvm_start',
881 'pvm_tidtohost',
882 'pvmd3',
883 'pwd',
884 'qassign',
885 'qr',
886 'quapro',
887 'quaskro',
888 'quit',
889 'quote',
890 'rand',
891 'randpencil',
892 'range',
893 'rank',
894 'rat',
895 'rational',
896 'rcond',
897 'rdivf',
898 'read',
899 'read4b',
900 'readb',
901 'readc_',
902 'readmps',
903 'real',
904 'recur',
905 'reglin',
906 'remez',
907 'remezb',
908 'repfreq',
909 'replot',
910 'residu',
911 'ric_desc',
912 'ricc',
913 'riccati',
914 'rlist',
915 'roots',
916 'rotate',
917 'round',
918 'routh_t',
919 'rowcomp',
920 'rowcompr',
921 'rowinout',
922 'rowregul',
923 'rowshuff',
924 'rpem',
925 'rref',
926 'rtitr',
927 'salesman',
928 'save',
929 'save_graph',
930 'savewave',
931 'scaling',
932 'scanf',
933 'scanf_conversion',
934 'schur',
935 'sci2exp',
936 'sci2for',
937 'sci2map',
938 'sciargs',
939 'scicos',
940 'scicos_block',
941 'scicos_cpr',
942 'scicos_graphics',
943 'scicos_link',
944 'scicos_main',
945 'scicos_menus',
946 'scicos_model',
947 'scicosim',
948 'scifunc_block',
949 'scilab',
950 'scilink',
951 'sd2sci',
952 'secto3d',
953 'semi',
954 'semicolumn',
955 'semidef',
956 'sensi',
957 'set',
958 'setbpt',
959 'setfield',
960 'setmenu',
961 'setscicosvars',
962 'sfact',
963 'sgrid',
964 'shortest_path',
965 'show_arcs',
966 'show_graph',
967 'show_nodes',
968 'showprofile',
969 'sign',
970 'signm',
971 'simp',
972 'simp_mode',
973 'sin',
974 'sinc',
975 'sincd',
976 'sinh',
977 'sinhm',
978 'sinm',
979 'size',
980 'slash',
981 'sm2des',
982 'sm2ss',
983 'smooth',
984 'solve',
985 'sort',
986 'sound',
987 'sp2adj',
988 'spaninter',
989 'spanplus',
990 'spantwo',
991 'sparse',
992 'spchol',
993 'spcompack',
994 'spec',
995 'specfact',
996 'speye',
997 'spget',
998 'splin',
999 'split_edge',
1000 'spones',
1001 'sprand',
1002 'sprintf',
1003 'spzeros',
1004 'sqroot',
1005 'sqrt',
1006 'sqrtm',
1007 'square',
1008 'squarewave',
1009 'srfaur',
1010 'srkf',
1011 'ss2des',
1012 'ss2ss',
1013 'ss2tf',
1014 'sscanf',
1015 'sskf',
1016 'ssprint',
1017 'ssrand',
1018 'st_deviation',
1019 'st_ility',
1020 'stabil',
1021 'stacksize',
1022 'standard_define',
1023 'standard_draw',
1024 'standard_input',
1025 'standard_origin',
1026 'standard_output',
1027 'star',
1028 'startup',
1029 'str2code',
1030 'strcat',
1031 'strindex',
1032 'string',
1033 'strings',
1034 'stripblanks',
1035 'strong_con_nodes',
1036 'strong_connex',
1037 'strsubst',
1038 'subf',
1039 'subgraph',
1040 'subplot',
1041 'successors',
1042 'sum',
1043 'supernode',
1044 'sva',
1045 'svd',
1046 'svplot',
1047 'sylm',
1048 'sylv',
1049 'symbols',
1050 'sysconv',
1051 'sysdiag',
1052 'sysfact-',
1053 'syslin',
1054 'syssize',
1055 'system',
1056 'systems',
1057 'systmat',
1058 'tan',
1059 'tangent',
1060 'tanh',
1061 'tanhm',
1062 'tanm',
1063 'tdinit',
1064 'testmatrix',
1065 'texprint',
1066 'tf2des',
1067 'tf2ss',
1068 'tilda',
1069 'time_id',
1070 'timer',
1071 'titlepage',
1072 'tlist',
1073 'toeplitz',
1074 'trace',
1075 'trans',
1076 'trans_closure',
1077 'translatepaths',
1078 'trfmod',
1079 'trianfml',
1080 'tril',
1081 'trisolve',
1082 'triu',
1083 'trzeros',
1084 'type',
1085 'typename',
1086 'typeof',
1087 'ui_observer',
1088 'uicontrol',
1089 'uimenu',
1090 'uint16',
1091 'uint32',
1092 'uint8',
1093 'ulink',
1094 'union',
1095 'unique',
1096 'unix',
1097 'unix_g',
1098 'unix_s',
1099 'unix_w',
1100 'unix_x',
1101 'unobs',
1102 'unsetmenu',
1103 'user',
1104 'varargin',
1105 'varargout',
1106 'varn',
1107 'warning',
1108 'wavread',
1109 'wavwrite',
1110 'wfir',
1111 'what',
1112 'where',
1113 'whereami',
1114 'whereis',
1115 'who',
1116 'whos',
1117 'wiener',
1118 'wigner',
1119 'window',
1120 'winsid',
1121 'writb',
1122 'write',
1123 'write4b',
1124 'x_choices',
1125 'x_choose',
1126 'x_dialog',
1127 'x_matrix',
1128 'x_mdialog',
1129 'x_message',
1130 'x_message_modeless',
1131 'xarc',
1132 'xarcs',
1133 'xarrows',
1134 'xaxis',
1135 'xbasc',
1136 'xbasimp',
1137 'xbasr',
1138 'xchange',
1139 'xclea',
1140 'xclear',
1141 'xclick',
1142 'xclip',
1143 'xdel',
1144 'xend',
1145 'xfarc',
1146 'xfarcs',
1147 'xfpoly',
1148 'xfpolys',
1149 'xfrect',
1150 'xget',
1151 'xgetech',
1152 'xgetfile',
1153 'xgetmouse',
1154 'xgraduate',
1155 'xgrid',
1156 'xinfo',
1157 'xinit',
1158 'xlfont',
1159 'xload',
1160 'xname',
1161 'xnumb',
1162 'xpause',
1163 'xpoly',
1164 'xpolys',
1165 'xrect',
1166 'xrects',
1167 'xrpoly',
1168 'xs2fig',
1169 'xsave',
1170 'xsegs',
1171 'xselect',
1172 'xset',
1173 'xsetech',
1174 'xsetm',
1175 'xstring',
1176 'xstringb',
1177 'xstringl',
1178 'xtape',
1179 'xtitle',
1180 'yulewalk',
1181 'zeropen',
1182 'zeros',
1183 'zgrid',
1184 'zpbutt',
1185 'zpch1',
1186 'zpch2',
1187 'zpell',
1188 );
1189 1 $self->contextdata({
1190 'main' => {
1191 callback => \&parsemain,
1192 attribute => 'Normal Text',
1193 },
1194 });
1195 1 $self->deliminators('\\s||\\.|\\(|\\)|:|\\!|\\+|,|-|<|=|>|\\&|\\*|\\/|;|\\?|\\[|\\]|\\^|\\{|\\||\\}|\\~|\\\\|\\%|\\$');
1196 1 $self->basecontext('main');
1197 1 $self->keywordscase(0);
1198 1 $self->initialize;
1199 1 bless ($self, $class);
1200 1 return $self;
1201 }
1202  
1203 0 ▶sub language {
Subroutine language: not called CC=1 SCAR=6.9
Pod undocumented
1204 0 return 'scilab';
1205 }
1206  
1207 0 ▶sub parsemain {
Subroutine parsemain: not called CC=11 SCAR=48.8
Pod undocumented
1208 0 my ($self, $text) = @_;
1209 # String => 'Structure-keywords'
1210 # attribute => 'Structure-keywords'
1211 # context => '#stay'
1212 # type => 'keyword'
1213 0 ▶ if ($self->testKeyword($text, 'Structure-keywords', 0, undef, 0, '#stay', 'Structure-keywords')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "Structure-keywords", 0, undef, 0, "#stay", "Structure-keywords")) 0 0 0
1214 0 return 1
1215 }
1216 # String => 'Control-keywords'
1217 # attribute => 'Control-keywords'
1218 # context => '#stay'
1219 # type => 'keyword'
1220 0 ▶ if ($self->testKeyword($text, 'Control-keywords', 0, undef, 0, '#stay', 'Control-keywords')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "Control-keywords", 0, undef, 0, "#stay", "Control-keywords")) 0 0 0
1221 0 return 1
1222 }
1223 # String => 'Function-keywords'
1224 # attribute => 'Function-keywords'
1225 # context => '#stay'
1226 # type => 'keyword'
1227 0 ▶ if ($self->testKeyword($text, 'Function-keywords', 0, undef, 0, '#stay', 'Function-keywords')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "Function-keywords", 0, undef, 0, "#stay", "Function-keywords")) 0 0 0
1228 0 return 1
1229 }
1230 # String => 'Warning-keywords'
1231 # attribute => 'Warning-keywords'
1232 # context => '#stay'
1233 # type => 'keyword'
1234 0 ▶ if ($self->testKeyword($text, 'Warning-keywords', 0, undef, 0, '#stay', 'Warning-keywords')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "Warning-keywords", 0, undef, 0, "#stay", "Warning-keywords")) 0 0 0
1235 0 return 1
1236 }
1237 # String => 'Constants-keyword'
1238 # attribute => 'Constants-keyword'
1239 # context => '#stay'
1240 # type => 'keyword'
1241 0 ▶ if ($self->testKeyword($text, 'Constants-keyword', 0, undef, 0, '#stay', 'Constants-keyword')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "Constants-keyword", 0, undef, 0, "#stay", "Constants-keyword")) 0 0 0
1242 0 return 1
1243 }
1244 # String => 'functions'
1245 # attribute => 'functions'
1246 # context => '#stay'
1247 # type => 'keyword'
1248 0 ▶ if ($self->testKeyword($text, 'functions', 0, undef, 0, '#stay', 'functions')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testKeyword($text, "functions", 0, undef, 0, "#stay", "functions")) 0 0 0
1249 0 return 1
1250 }
1251 # attribute => 'Float'
1252 # context => '#stay'
1253 # type => 'Float'
1254 0 ▶ if ($self->testFloat($text, 0, undef, 0, '#stay', 'Float')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testFloat($text, 0, undef, 0, "#stay", "Float")) 0 0 0
1255 0 return 1
1256 }
1257 # attribute => 'Decimal'
1258 # context => '#stay'
1259 # type => 'Int'
1260 0 ▶ if ($self->testInt($text, 0, undef, 0, '#stay', 'Decimal')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testInt($text, 0, undef, 0, "#stay", "Decimal")) 0 0 0
1261 0 return 1
1262 }
1263 # String => '//.*$'
1264 # attribute => 'Comment'
1265 # context => '#stay'
1266 # type => 'RegExpr'
1267 0 ▶ if ($self->testRegExpr($text, '//.*$', 0, 0, 0, undef, 0, '#stay', 'Comment')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRegExpr($text, "//.*\$", 0, 0, 0, undef, 0, "#stay", "Comment")) 0 0 0
1268 0 return 1
1269 }
1270 # attribute => 'String'
1271 # char => '"'
1272 # char1 => '"'
1273 # context => '#stay'
1274 # type => 'RangeDetect'
1275 0 ▶ if ($self->testRangeDetect($text, '"', '"', 0, 0, undef, 0, '#stay', 'String')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->testRangeDetect($text, "\"", "\"", 0, 0, undef, 0, "#stay", "String")) 0 0 0
1276 0 return 1
1277 }
1278 0 return 0;
1279 };
1280  
1281  
1282 1 1;
1283  
1284 __END__
« Kate/Nl.pm ↑ Summary Kate/REXX.pm »