yks-element 1.4.5 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/lib/00155bd406dacc6f2d79b8de025719ac.js +48 -0
- package/lib/014f8e91bc4baf39175490216b0e3ae3.js +341 -0
- package/lib/01fd21b5525a03456f881515f1002134.js +18 -0
- package/lib/0242eebc51caa2b134602e86ed3be3cf.js +18 -0
- package/lib/027e36a1f41877209eca741a54467a40.js +16 -0
- package/lib/028a3e5cd150f029676e21c0ba88f7e6.js +18 -0
- package/lib/036680d9c1d332cf478c5823cd2a47db.js +9 -0
- package/lib/039a0e6e22fee41c6f074e9745f20ff4.js +9 -0
- package/lib/039af9192b9bb277966ceb4e4ce29c41.js +16 -0
- package/lib/0410ca02b96655ac3c08452105cdad32.js +168 -0
- package/lib/0510e05d595927fa703cb56d8f13065d.js +2577 -0
- package/lib/057c0c1a0dff072cbb9819e95cb739cf.js +170 -0
- package/lib/06b29b48315cd443a04a6b3fac315dcf.js +2518 -0
- package/lib/07312a5fd7bf0e4c902ae8a92d42a69a.js +18 -0
- package/lib/086d94781c70156042f95d5fa61d995a.js +427 -0
- package/lib/0871aac6c551218cdd4a5690ace7b38c.js +45 -0
- package/lib/08ead5ce2617fb6ce642b5ba343bd62c.js +9 -0
- package/lib/08f2ebda31cf24e86831115fde674fad.js +16 -0
- package/lib/0955faac884af83a837117d815a9cc04.js +2522 -0
- package/lib/0ab8bd2c1e69b03bc24b70523a70e30a.js +293 -0
- package/lib/0b3587e0f3fd518d1ec22d14ba147660.js +626 -0
- package/lib/0c2b3b3b66a73e289e2ca47cf22ef150.js +9 -0
- package/lib/0cdc14741de08dc4af237c4e1124d661.js +642 -0
- package/lib/0dd0f45c3dde9af3fcf9706e6a2a1edd.js +9 -0
- package/lib/0e13b643b6e88e8fd6328d50acabfda8.js +56 -0
- package/lib/0e6175d2306c7bd33ad73acb96313103.js +330 -0
- package/lib/0ebb7559af3a19776ac2272fbbc77a11.js +82 -0
- package/lib/0ee3d8835fa32648b51c9a73bff3324e.js +18 -0
- package/lib/0f1ed761f7bd80b36c267d65764b87ca.js +344 -0
- package/lib/0faaa4d3cf56de624fb5dd12e7fa18c9.js +18 -0
- package/lib/11115bde71f6d8245d7cb05b89dbfbc1.js +18 -0
- package/lib/1136d59010460a6c7277688011fc86dc.js +145 -0
- package/lib/119d8ff08e82b0f391f59f1fe657130f.js +9 -0
- package/lib/12738aa8461e4775d7f380a5d1953893.js +279 -0
- package/lib/13b157cfddcb9a76ae0800b47a8f0122.js +9 -0
- package/lib/142d258626093a8c3187029538e32bbc.js +9 -0
- package/lib/155500be4d3113e94dca99f997defb7a.js +9 -0
- package/lib/15bd2f4de9aefea698aea59ecd36327f.js +16 -0
- package/lib/173ea2d9126a53f1d6cb61ef26219598.js +16 -0
- package/lib/17c85759d562794da4d2ff11f1b9b3bd.js +9 -0
- package/lib/182aa449781ff6997bc12b8eb3611ccb.js +3122 -0
- package/lib/182fa653555b8340835b3bf4f7192ae2.js +9 -0
- package/lib/1840080076c4078d157a5b05d0d95551.js +9 -0
- package/lib/1865ebc428856723187c96ea096a68e7.js +3294 -0
- package/lib/188744ad64e26326b70337714cc840c8.js +151 -0
- package/lib/18a893070398343ab529fdb7b62f1b6d.js +9 -0
- package/lib/18b69bf761ab7d8645f68794096dcb46.js +16 -0
- package/lib/1a68c4ad5a712aab108814672bf0e7b7.js +15404 -0
- package/lib/1ac4b99c62f756d61d25417728b2e5f8.js +104 -0
- package/lib/1afe87852eca4b28294075c659ff8c45.js +9 -0
- package/lib/1b6f35b7d53ed37d0823a2081ab95fac.js +402 -0
- package/lib/1b8199f34db41b72375a9947d4ef84a4.js +348 -0
- package/lib/1c71dfe2ae40884baae78d14e2568eb1.js +9 -0
- package/lib/1c9874850164cfdaa7e1d212d09124a7.js +9 -0
- package/lib/1cac3566cdfb6be0f51c3f2ade7c1603.js +16 -0
- package/lib/1cb8df3a3416707163473b1ee9268faf.js +9 -0
- package/lib/1cbff31b1abe2c3f9eb1113b4cfa5cb6.js +18 -0
- package/lib/1d051fbb1bd28c0b89641f417930f078.js +192 -0
- package/lib/1dda5460bcee9fb6faa67d22b6448454.js +9 -0
- package/lib/1e16076242211185847c3208ffb79bad.js +2750 -0
- package/lib/1e46a85215aeb52a8ed19cf62d1b3362.js +9 -0
- package/lib/1ea9cb4eff3a4f4c27ff63263151eba2.js +16 -0
- package/lib/1f1abd5e247cf6b2e9a3db6303277572.js +9 -0
- package/lib/1fd353d022bf5027ba193d0b0b9995ed.js +9 -0
- package/lib/2031467f3d02be43b638c5e3ccba3996.js +9 -0
- package/lib/207fa26d9d4b4c2d5af507fa6db04339.js +185 -0
- package/lib/20b085f014791c3916e38d818e76ef3c.js +318 -0
- package/lib/20f8061729d26f9786679bbf7af0b87a.js +9 -0
- package/lib/214a729dcea91ee8a56f8ef43e17243a.js +9 -0
- package/lib/21888fda037b96f7d9c9261cbef5bbbc.js +338 -0
- package/lib/21dca974f7343f200597e43a55766c6e.js +9 -0
- package/lib/2251070349dc9ecad4cb9f2be8a15c13.js +3834 -0
- package/lib/22ddca0f2cac653ae8eebd716e965aa7.js +9 -0
- package/lib/22e2ec10d48dca8a66c53f9a41271023.js +459 -0
- package/lib/238b48c537406ead43a4005567d5a013.js +268 -0
- package/lib/23ad6224fd6059c31c199b6d6d420628.js +16 -0
- package/lib/23da774e43bdbc0fee7d11009ee014b2.js +18 -0
- package/lib/242fb5a92733d151e9ca303fcd3ae7ff.js +9 -0
- package/lib/251c1b0aa30bc78444e22999d6a2e6f1.js +19 -0
- package/lib/2681042a598b029b51d51f7669b81c4d.js +9 -0
- package/lib/26916d87ee46ad72f432b9a59e6fd198.js +16 -0
- package/lib/269bb81eeebec9d70536fede3f17dac5.js +9 -0
- package/lib/272c72bab8da763aef48ecb7934c9586.js +18 -0
- package/lib/279a2126957722bd396f011c41d616f2.js +2017 -0
- package/lib/2818bca0cd2a7e31aa1a7d0698a1312b.js +342 -0
- package/lib/2836e58974a8e2730a9b6bec1921dd3d.js +199 -0
- package/lib/2863331c75e78da46cd0d6c9a0399846.js +567 -0
- package/lib/28b3223a7121c1e1392918647cfd3ea4.js +2785 -0
- package/lib/28f7c5b28bbad7b0bac0cc3cc5b89bad.js +9 -0
- package/lib/2984fab606909e16083d98c4581fd484.js +1626 -0
- package/lib/2a4c96bd91c25806d68325751fb0c958.js +16 -0
- package/lib/2ac58492ad5a1b5244deb0fef1e5a773.js +9 -0
- package/lib/2bba99eb717e1aa22e45284a964ca73f.js +9 -0
- package/lib/2bf178d3af8ceb86a2c5588fa5b0434a.js +18 -0
- package/lib/2c41df6060672e75b4ab09e4a5d43049.js +74 -0
- package/lib/2c48ebc44a87762b127d573fd4ed4d49.js +18 -0
- package/lib/2c6ae8805adc9206e70eb29818e71a4f.js +9 -0
- package/lib/2d0362619c6807297b4b207bad2940cd.js +18 -0
- package/lib/2d53cfacb6a695f378ca997fcee7efb3.js +16 -0
- package/lib/2dcf359bda4d96fcd06e8b0b7bc039bf.js +305 -0
- package/lib/2df83568e34903d7d3e0051e3a95c459.js +450 -0
- package/lib/2ecf7f87e692b92a347ff145a2e6212e.js +768 -0
- package/lib/2f6dcc38e5ad378438bea99c47e20e28.js +16 -0
- package/lib/2fd1880f79d0f2ffb10daaf928266181.js +317 -0
- package/lib/30335c579bfc2de8dcf574523ef13020.js +325 -0
- package/lib/309668174423f4bc9dbe529041f8e48c.js +1276 -0
- package/lib/30e3bb6a531e1c812558474a78d50e51.js +18 -0
- package/lib/313a120714418a06223767f908e52a06.js +393 -0
- package/lib/31459a657ac30dcaa54765c6d76d8c81.js +9 -0
- package/lib/318f90759f2ff0d2a437350e87578172.js +9 -0
- package/lib/31bcb02e59d84ce2e38b85616a0b44db.js +9 -0
- package/lib/31f3f1c32b27587832d28b634351325c.js +9 -0
- package/lib/32cea5ceeb0f16ead13364fac0c3214d.js +197 -0
- package/lib/330543be2120b9dcc9bec41ba5e05805.js +9 -0
- package/lib/33443ec129774bb1add5795cc8895137.js +9 -0
- package/lib/33b2bdaf684e9e4ad47970682aa5b00d.js +154 -0
- package/lib/33df99ab21a0e281c0626e261c1638bc.js +9 -0
- package/lib/34166ea54cd1328fee335538a4fb7d5c.js +2580 -0
- package/lib/34f05dc84111ffe37a1d5b5aacff7488.js +9 -0
- package/lib/34f52a56877a14fbb7e9d37469ebbf15.js +254 -0
- package/lib/35858a47038a7be957df49854e8e5eea.js +9 -0
- package/lib/35b519c2ce83bbe55e6ba35bd379db4e.js +445 -0
- package/lib/35dc4119f9e28cb9baba1475537460bb.js +9 -0
- package/lib/3734f5f0d471b4551566c56c7149b602.js +9 -0
- package/lib/3792c6a2af140883f2b4a70d783d442f.js +16 -0
- package/lib/38528de2a5c097da375fd0a076667441.js +9 -0
- package/lib/38b9892d0c5fa60cb6c0496fcbae4c05.js +477 -0
- package/lib/3a820eb0c0fb52f9b75e34214b5f8c9c.js +226 -0
- package/lib/3baeab62d681338ba3287f0a50e5dad1.js +9 -0
- package/lib/3bbeadbf33a4c2c131ec271b9b103a59.js +1255 -0
- package/lib/3c126add795585b0bcdab07451b9c398.js +57579 -0
- package/lib/3c2688e4b9137acb04affdd5e0c154fa.js +391 -0
- package/lib/3c58f68d787710c79906a2cd6d248295.js +9 -0
- package/lib/3cab7110c6a090f72c540dcc1cfbe3b5.js +9 -0
- package/lib/3cce0c7e1a8e1148f97de59a4b1ee73f.js +9 -0
- package/lib/3cf64ec91a700bfa1dece0957c49c7dc.js +9 -0
- package/lib/3cfffbb4555d5856b82186750e7b2b65.js +253 -0
- package/lib/3ddb5ebdc00b5a39bd4aedae80e1e1fb.js +1757 -0
- package/lib/3dfe9a3e745ca1e3755291ac5c5a4a24.js +16 -0
- package/lib/3e6808cd6eefd1be1040403985581374.js +9 -0
- package/lib/3e6a7169aea2691d9a23761b355fddc1.js +580 -0
- package/lib/3f043d654fe1e1895f0f2d65861e21aa.js +18 -0
- package/lib/3fb7fc8a302c8083706f70dff565dcbe.js +1254 -0
- package/lib/3fba2de8f5fff55907837780285f7481.js +3066 -0
- package/lib/40505d6c2f34fc08502d3e596573c7f8.js +9 -0
- package/lib/41251dac588b04bea51a664d331ff40a.js +412 -0
- package/lib/41c9592c46bdb2ee5d35a45a28cdd46c.js +18 -0
- package/lib/41f85ea0c545f0539b6ae2753eb1f79c.js +9 -0
- package/lib/43a9bcfc200d80676bc68fe9a3c8ab6d.js +9 -0
- package/lib/443b217c1337c10d168828ffd8f93528.js +250 -0
- package/lib/45de113a9f4cd75a8a71a2e6f4f91c95.js +129 -0
- package/lib/48ef2bea2256bfb13400738d7be7025f.js +18 -0
- package/lib/49152f07a653743e724f599386af2d7c.js +16 -0
- package/lib/49456231db02d9338914cee404f1b864.js +2577 -0
- package/lib/494f806d0f1ce92dfbbc4f80f34086a8.js +2741 -0
- package/lib/49852db8b337fb8e781a58d82c81ead5.js +3788 -0
- package/lib/4a02cfb7dd2f107d184dc23fce76eebb.js +387 -0
- package/lib/4ab40446885d7f476b5c21fd390b0e23.js +18 -0
- package/lib/4cbd6f8a4f52821c1d3476139078797d.js +9 -0
- package/lib/4d694d41a0c1b3eaad752a8352c5661c.js +9 -0
- package/lib/4e347d330ecc5e8dcff367c024911892.js +67 -0
- package/lib/4e79f5ab805c7bfe58091ad27689b35e.js +350 -0
- package/lib/4ec4239f7011262fb987ab393a945110.js +2416 -0
- package/lib/4ee8da21e528c64675b310845a654de5.js +18 -0
- package/lib/503f9ce3546623bbbbb78ee6363d7a79.js +16 -0
- package/lib/5094b30d2471cc7312746173d8a4bb25.js +9 -0
- package/lib/50990da99a99a307711c6890db7397bd.js +18 -0
- package/lib/51e6ccd3ea9d7443949b155b113eebd5.js +9 -0
- package/lib/530deeb11db43fceba9bdf6054d0205e.js +18 -0
- package/lib/5343fc74a2893a130daa6ff1bff15621.js +388 -0
- package/lib/53ba4b759877a16fe3dbf842b4804538.js +1393 -0
- package/lib/540bba54b49ea7a6ec513270449132db.js +9 -0
- package/lib/540ec89580e27e662f5b0b323d70fd95.js +18 -0
- package/lib/544cdec50f7d5ee773f1023634bc8c59.js +311 -0
- package/lib/553aa6bb3b625428f4df57f5885d50f3.js +9 -0
- package/lib/557dc611a621064762e5796567cbec28.js +18 -0
- package/lib/5589658498306bc6e9b1eaead4b2c222.js +231 -0
- package/lib/573b79a51fa9a0e40000dd478d13f4d7.js +184 -0
- package/lib/57c2d2eb6a844a8c9ecd932c6d4067b0.js +9 -0
- package/lib/59120b5217fb17fd60c30c7f393921f6.js +49 -0
- package/lib/59543cab15a42dfc13060f00cf904cb2.js +1860 -0
- package/lib/59621f6df1f47f3cdbe959a670025c7b.js +349 -0
- package/lib/5b672566d0c18327a0da6515bd9035ab.js +135 -0
- package/lib/5bd58f2ebad7e63ff72a891fb43e2b38.js +9 -0
- package/lib/5d1543d89f404122d87ebbfb99b51a7a.js +125 -0
- package/lib/5df037f2a5d3b5c66d894dcbd21d0816.js +1209 -0
- package/lib/5eeee1acc01b04328cf42db0715bb7f5.js +9 -0
- package/lib/5f6f5026d13b2a9b884a8144a119cf9e.js +9 -0
- package/lib/5fbd38e4ab27403be200a3eb30384030.js +286 -0
- package/lib/60da7742294eac1092684664b706b11e.js +632 -0
- package/lib/60fc15a66fa7ba74ccd248f85b50fbe5.js +9 -0
- package/lib/615baa5f68e26f620f7e032683bd4b50.js +14071 -0
- package/lib/61c62ea9a6f8f097fef7bbf63bad8923.js +2339 -0
- package/lib/6220ec418ec41a0ea2d8800c24bca639.js +213 -0
- package/lib/626617463b05d66ef839305eb1ace8e3.js +78 -0
- package/lib/62f1660714df9d262535c413ec4535ef.js +16 -0
- package/lib/63b236091dce5c38c8150dcf792457ba.js +16 -0
- package/lib/643ef4de6914010141d57fcfbb21823f.js +417 -0
- package/lib/64f5157a095478101beea396e6f539c2.js +335 -0
- package/lib/64f93b6b093bba4147485023263cf65f.js +9 -0
- package/lib/65e9e719bfb286e3d617eccd6604bb5f.js +16 -0
- package/lib/66de9caaffb9ac6b2762a83eec7b9587.js +9 -0
- package/lib/671016bacf5ec687a2b9fe8e1d9e4218.js +18 -0
- package/lib/6813d64f169561dbff03e9a9c462ba83.js +16 -0
- package/lib/682658f2844cd4eee41af0221bcf8dd6.js +120 -0
- package/lib/68cf9a0e1eaff7cc991e970a855108f8.js +9 -0
- package/lib/697c2df91bf7c729d317c620a3cd77bd.js +9 -0
- package/lib/69e9e34a4d2799561f7d50987beb9387.js +1191 -0
- package/lib/6ac188cc35ae0d38d3647a2eef17b2fc.js +409 -0
- package/lib/6bd258d83c216261a3311d59ba8ee34d.js +18 -0
- package/lib/6e88d3943f4c3a068493aad131cd4898.js +9 -0
- package/lib/6e9ca56e0fa3e784eab3da45f8d0d8ac.js +9 -0
- package/lib/6f0543453c605ea6d673a3bd31dd1090.js +9 -0
- package/lib/6ff41783e24317d71bac349acf29459f.js +18 -0
- package/lib/70f9578a3a4e83be56a998aacc7fac80.js +449 -0
- package/lib/716afffe05a2fc1a2a8f5c34221fba3f.js +278 -0
- package/lib/71bbf2d4b6293b54d672c2812fa8323e.js +138 -0
- package/lib/727184c92f9da8d8b0c013fd79cf32fe.js +9 -0
- package/lib/729151a662f8055d864efe142b48ba27.js +120 -0
- package/lib/72ea341d3b973200daae3cdf95fc40f9.js +2691 -0
- package/lib/730a06424debf3bfdaf03370df2177bd.js +9 -0
- package/lib/731a5afa4ad31a0a038e5742b5e98dd7.js +59 -0
- package/lib/73ca62c494dfdfee1f16213f88d5b3bc.js +16 -0
- package/lib/73e4df62b3639bb0465a1b59163d2eac.js +361 -0
- package/lib/7580bcf90c3e2026e05b37255bf61c1f.js +1293 -0
- package/lib/769ae488953faab19b33deee8331b789.js +409 -0
- package/lib/7745f3e776488705a38e62f85adad54d.js +16 -0
- package/lib/777bbf0a7ab200cd0c25bb83731450a5.js +234 -0
- package/lib/77cec85a8ab17451a509ed9d3b30df18.js +308 -0
- package/lib/781fca4f412ab92c4ebd788467ae2e97.js +378 -0
- package/lib/783bd9a28d2a45d4c721a6a89b11699f.js +1067 -0
- package/lib/78a7313929094809f734ad2e59e197e3.js +618 -0
- package/lib/79e0b3ad503310cab7a365134b0c9cf3.js +2923 -0
- package/lib/7a6833382e61e00bee32f0bfa809d003.js +768 -0
- package/lib/7b28e997ea39fe6dc3e83c44eca5c587.js +18 -0
- package/lib/7cef38946c33fa981d6d2c86c62428e0.js +9 -0
- package/lib/7d007aac1c748641b522339e2ac0fbaf.js +2845 -0
- package/lib/7d46cd8e5efaac33d5bf823ed4268841.js +9 -0
- package/lib/7e98c4d98664d6f7bcc52a07f21a1f9f.js +9 -0
- package/lib/7f10fe526aec57bd522af77ea6ac2b62.js +9 -0
- package/lib/80c81bb26b21258a1b765122345ec38b.js +221 -0
- package/lib/80eb1b0b5703e92094de41a810d24007.js +443 -0
- package/lib/8105009e77ebb88abf8665ac5ae28c91.js +227 -0
- package/lib/814057700de193461611e3e87fe31b9c.js +1610 -0
- package/lib/81508a4a9fff65810b6f8e17ce3996a7.js +456 -0
- package/lib/817d52a47a4657b8a4dab79e057f5fb0.js +9 -0
- package/lib/822a4447c3ed956ee2e4620cb476d60e.js +392 -0
- package/lib/833b242747fd7b098d46011e4289bc3f.js +9 -0
- package/lib/83ea78d42f1a8e5f7346f3a30140ebfb.js +9 -0
- package/lib/8556209505fb59065be2b2447cfdb25d.js +750 -0
- package/lib/857bad1d4069806ce36bacbedb429722.js +14259 -0
- package/lib/86080d8c5fe43520ce7a6e70a2eb4732.js +516 -0
- package/lib/867fb2b26eef123915aff8634c0bbf4a.js +9 -0
- package/lib/87b758062566250308e676d10074337b.js +136 -0
- package/lib/8833a126ef9d8892bfb372d227f7f088.js +9 -0
- package/lib/8870430db332faf22d90e12f1620ee84.js +9 -0
- package/lib/892f2033266a9827d3bf6bd4315677bc.js +18 -0
- package/lib/89859a411a50c90f1e669deaf8a6775f.js +9 -0
- package/lib/89a47a0051ac0b3885ef8af2476526f0.js +9 -0
- package/lib/89b4957483c0fda92fa78a9fa2af1645.js +92 -0
- package/lib/8a8a1644af027b4abdb3d6083c9955d8.js +288 -0
- package/lib/8abeef6a68ee08e5bf12281dec186e2c.js +108 -0
- package/lib/8b06720820b9c72663405e0b3a3d2001.js +1395 -0
- package/lib/8b403118d591f67d12f9885715ee4ad5.js +502 -0
- package/lib/8b6c6eddf77150952b8fbf4e5efe2700.js +16 -0
- package/lib/8bdee0874b771c1eb1f31ff621294dc4.js +212 -0
- package/lib/8c530519258e4b3b00a0692332d85bbf.js +4770 -0
- package/lib/8c5f030ed5d170844b1b3583cecf54c4.js +321 -0
- package/lib/8c66a2b37b2c38fa00a15c2a7450947e.js +1906 -0
- package/lib/8d5f887ab72833490ccc03f5855f4d4f.js +413 -0
- package/lib/8ed43cdfdd838056af84f9840f79af2d.js +129 -0
- package/lib/8f2a42fe0e894777b68908b3a78b82f5.js +346 -0
- package/lib/90643b9da87302fef490f3f48af806e2.js +9 -0
- package/lib/909037dfc8091283e4134bc6e5448e2b.js +9 -0
- package/lib/9142b3f5bf59ae79b69c505c6964f395.js +16 -0
- package/lib/91c7448bc6eb27a1d06db8e292e1a8cf.js +555 -0
- package/lib/92c379ded8761c0541b8e1d165ba781d.js +232 -0
- package/lib/92cf63e9a949f08d97a74d9ed17392ed.js +9 -0
- package/lib/9405408bc4c1c18469c1eefd766f06b9.js +274 -0
- package/lib/94a0179602c94d55621a35e41c97ed5c.js +9 -0
- package/lib/96801bb73ed08f0f25218527e5bdaaa7.js +18 -0
- package/lib/96e3c47a608b9a6e9362ff9d05bbc860.js +18 -0
- package/lib/9737a936e499f40b0c36f497031321b1.js +208 -0
- package/lib/97d15c029119bb1a0a1640736097aa31.js +16 -0
- package/lib/97fdcd4009ecde2477e3c1a605932517.js +272 -0
- package/lib/985b400088bf5e23fb83e70d9948eccb.js +9 -0
- package/lib/9874181c924bc65b0e3b8f51b3ae93df.js +16 -0
- package/lib/9955feb95d88844fc661cfa178ea4694.js +3277 -0
- package/lib/998c5f13555e18b42e9bf826578b2e16.js +9 -0
- package/lib/99fc1d5bce3320a8fbf9ce9a8d6b9e2f.js +16 -0
- package/lib/9aafe4a55ece5a23a8c7658cc25325fc.js +16 -0
- package/lib/9accd7b58ca45adc71ff333cb4c52eee.js +18 -0
- package/lib/9b24c141c4ab1fb899b2b0f1b8ee33ac.js +16 -0
- package/lib/9c202aefac35a5ff49d3d3795e9932bc.js +9 -0
- package/lib/9d0f4f65be2f50ad54488089f126feda.js +9 -0
- package/lib/9d8bbe9529a9f66ee4d6c4f6f376fa2c.js +1381 -0
- package/lib/9e357a97da26127713394684a51946b8.js +9 -0
- package/lib/9e4e95d996934ef66be6d1a85e3664c2.js +18 -0
- package/lib/9e69cb39701c3578226b39536edd4dd7.js +9 -0
- package/lib/9e83fd7a5db2121eb7faae412c537d5c.js +477 -0
- package/lib/9eea27d77b60c76da9cc3893debdeda7.js +74 -0
- package/lib/a07b6e4197eca283e090784508b6d540.js +2381 -0
- package/lib/a0e8234e951b18226479ae8e42b1c93d.js +357 -0
- package/lib/a1126819c6d0a10f20464c174f78fcfb.js +16 -0
- package/lib/a1561f47e5391d4d132a0ec704474d90.js +18 -0
- package/lib/a19137421c9f3cc98071541e5e963bde.js +98 -0
- package/lib/a19af7abc527c42ce54ba987a9415f60.js +279 -0
- package/lib/a26463d029a2515171748a1ebcca53c3.js +9 -0
- package/lib/a311e02008e0f00a37305a12d479159a.js +9 -0
- package/lib/a3c1e3c29abb7292332b270897165234.js +586 -0
- package/lib/a4e757143b7d39ef56b848ed1d29c6da.js +2409 -0
- package/lib/a53f122656a01ecdca71c42673652f34.js +4072 -0
- package/lib/a57084011e3d6966b4b6efca1f38ae67.js +18 -0
- package/lib/a622989f636724d14d53e8d14109fde1.js +346 -0
- package/lib/a62714eeb3aaae12f4a27774e869ee6f.js +255 -0
- package/lib/a81cd084ae545af4318d919f40a91fa2.js +318 -0
- package/lib/a861e5537ad18a87bd993445c930764c.js +309 -0
- package/lib/a8f124f2e0e0523eb45659ef81ec2a8b.js +186 -0
- package/lib/aaf660b90ac538fc99a895fa3834507c.js +322 -0
- package/lib/ab16c1237e6e04bbf0024ee2bae42130.js +9 -0
- package/lib/ab629526f508af92330c5df96676044d.js +18 -0
- package/lib/ab97e619322ba5f39d521ef73502cf48.js +204 -0
- package/lib/acc30207efba7ab5b7b509b599f37e6f.js +9 -0
- package/lib/acc7448b80728a73c9a4046b3ec4407f.js +9 -0
- package/lib/ad806674b28b94be3406af2d34899870.js +16 -0
- package/lib/adbb57fa182dce548204311d3be6dffa.js +9 -0
- package/lib/add52c11fde0c2170a733fb50e8115db.js +2454 -0
- package/lib/ae3310b649786304c4aac9ab5d423e94.js +475 -0
- package/lib/aecb26a2eb6c7e44cf7b73ef096dc6a5.js +164 -0
- package/lib/afb72b77b4edf3430441b8280c9fb6a9.js +9 -0
- package/lib/b02513e1d0cc664936e1ba9cb5a923af.js +9 -0
- package/lib/b131314d1ea62fa7bba91a4da8360298.js +9 -0
- package/lib/b26ac1601176c0fde051d667e573863f.js +2436 -0
- package/lib/b2ea05f3f240a06db30a5de0fa5012b2.js +1459 -0
- package/lib/b435aebcb57d65080cfd510e0a9d5d9d.js +9 -0
- package/lib/b830d88aa22a866a208be27af90526a7.js +9 -0
- package/lib/b8c600a9527c786c1cc59d21f60193ed.js +742 -0
- package/lib/bae95bdb1bbcc0969e0e40fb72539df3.js +9 -0
- package/lib/bb7afd142656785e03deb43ec5d49526.js +323 -0
- package/lib/bbd62124f6d03e01eb4332f55ead999d.js +9 -0
- package/lib/bbfbf8a18d2c6b577f613f7684e13d4b.js +380 -0
- package/lib/bc26ab0797e975ba01e701683935864b.js +9 -0
- package/lib/beebd365e9d52fb45e4e2e0e8f3f25f3.js +78 -0
- package/lib/c051c769f84d00d933e12224dfaebd7b.js +7090 -0
- package/lib/c088ea7c1fc0c66a644a908ecad590e6.js +1401 -0
- package/lib/c23b1f80ab9746b425f3848bdaacc144.js +9 -0
- package/lib/c2b4975093d5885f2e8ff09c4fabe8f7.js +27 -0
- package/lib/c2ded7fafb683b89f9fb51f37400cfb5.js +602 -0
- package/lib/c38a3226f3858a47ba9fb788dc7b44fc.js +9 -0
- package/lib/c3b0cd15adcc12a549e7ac5d165ac1f4.js +9 -0
- package/lib/c3ee66447735372b0459983d11153db5.js +16 -0
- package/lib/c448dbcc87b3a8382bc29284f8ccd11f.js +318 -0
- package/lib/c57721ccc0d5a41063560477b0bc7d02.js +457 -0
- package/lib/c6c186b45f36f18d9ce1fb2bc07fa5e3.js +272 -0
- package/lib/c6d4a590e14107a8a5ad505d66241032.js +9 -0
- package/lib/c6f608398c43e25821557ee65cda5e58.js +9 -0
- package/lib/c7ce5b5383c7658be6582f9712b20241.js +790 -0
- package/lib/c7d3b0afe7600a632fbf44ee8d84996e.js +9 -0
- package/lib/c839f8e61d644bd6930589eff240ff48.js +5841 -0
- package/lib/c8fa7b978e3d1a3d8871518e9cb83968.js +293 -0
- package/lib/c99de01dd8fcf7af2080074f8a3e8ef6.js +18 -0
- package/lib/c9b9a1dd6c2e609511c3361642370120.js +16 -0
- package/lib/ca1483809659f6c87cc6f588891d2bd4.js +9 -0
- package/lib/ca5623b927b1e84f612a0d33b758dc07.js +476 -0
- package/lib/ca66e3089e6c4a01fceaa4c4675d4da1.js +245 -0
- package/lib/cad6fbe6e921174297d7734303ba247a.js +387 -0
- package/lib/cbc9092524363d014f77a62f36ff1540.js +174 -0
- package/lib/cbd92a6b4e6e2fc9ea2464d82df1305d.js +374 -0
- package/lib/cf0a04afa21ac9ba23a1de0416a03105.js +9 -0
- package/lib/cf6b4e5dec4a192e62b1dcb7878bc5bb.js +19 -0
- package/lib/cf90a0e6a2989274c84edd1dc44db5e1.js +318 -0
- package/lib/cfbb8ac8b034c4ecdb1d74d5a0aa997e.js +210 -0
- package/lib/d005c2353bc934b0d4fc4238808f1259.js +19 -0
- package/lib/d112fccc383541781adddd56d2d29a7d.js +1329 -0
- package/lib/d2bee538ff0c2eb104ee3a32dc6545de.js +16 -0
- package/lib/d359506111994701cea5613b7666f1c0.js +18 -0
- package/lib/d37f0f78c06e883be0e04a3be861fb68.js +277 -0
- package/lib/d424588d01445a9c14ec1f5681eca0e6.js +69 -0
- package/lib/d465c0a35c6ef244bf587b0e6bdb4019.js +9 -0
- package/lib/d4b6ff63e9caf8e009194725fdb28294.js +2589 -0
- package/lib/d58a44852ccf290e290f798d594ceaf1.js +116 -0
- package/lib/d59d13db0f151770597f301a137ee206.js +554 -0
- package/lib/d66813bade53d7a1eeb0fb22223c9120.js +9 -0
- package/lib/d6ea3dc0dc78e3b4768d60556ec71aae.js +921 -0
- package/lib/d750a8dbf9dd09c0a33b9986e79e3c8c.js +9 -0
- package/lib/d754905fe54aac6f3c350df34f51a0b6.js +9 -0
- package/lib/d7889907dbb51f58ceadb3e1eec03a5d.js +9 -0
- package/lib/d8d4867d7fff5b67bbbdd47e637b3a6c.js +17 -0
- package/lib/da0827f4d8af0fc29eb75e28166177d3.js +16 -0
- package/lib/dab7702d658b1b41983f79f5bcac4fd7.js +2502 -0
- package/lib/dabc32896dd99d88e7b0f27f99d9f3d1.js +199 -0
- package/lib/db6c0056cef31f6654438a92a8aca336.js +16 -0
- package/lib/dbfe76a5b35e105c53ee5e24e7aecea9.js +16 -0
- package/lib/dd0c5a4ed6f5fb11d7cf1f1eff6d60e0.js +243 -0
- package/lib/dd40dfc7840568927fdef65087a233ed.js +9 -0
- package/lib/dda326057180e4a9865574a97d14bcc5.js +498 -0
- package/lib/de020738b0103e8faeb314d46d9c2c01.js +239 -0
- package/lib/de055fa0609f610ae1992b080f00c59e.js +19 -0
- package/lib/df45474c1375a8a5476097ade35f708c.js +130 -0
- package/lib/dfcf55f148a1c3a275c32ba307579b9b.js +262 -0
- package/lib/e03035341d2106650617dd1fcc8f9449.js +16 -0
- package/lib/e0a28b17e30569d83ad05f7d1a29fc11.js +18 -0
- package/lib/e0e2b1267a5d4acb4dda3a4a598cd8a5.js +9 -0
- package/lib/e100a40535c8ae342c0ad33bcd5d64a9.js +585 -0
- package/lib/e110e3db3be6ddf70601eb2702f22acf.js +313 -0
- package/lib/e12b5d4b9067b678942c6e49b6e982ac.js +480 -0
- package/lib/e19330270e6bc1ee8999d324a435aadf.js +200 -0
- package/lib/e2792218bae78a6aef6764de4e61fd82.js +9 -0
- package/lib/e28135172e9bc8cda916c86776d44203.js +9 -0
- package/lib/e2d132960212ec2beddd241dd7593d2b.js +1332 -0
- package/lib/e354197c37ec292280f982aba242ae46.js +110 -0
- package/lib/e365a7884e56d015bf238dff35e12cd0.js +10843 -0
- package/lib/e3d11b16ffc27b99f8fa8dc16d1474a5.js +16 -0
- package/lib/e479a0392cfe75cd566a510cf0a9cbf1.js +316 -0
- package/lib/e4d51c8b4202d444cb39db4e7642d7d9.js +9 -0
- package/lib/e6555a04d885d35af1b77d1ea7f71374.js +265 -0
- package/lib/e6a1d1f679385aaa06472b3ba6a31104.js +16 -0
- package/lib/e6b156303e195d37bbaf6bc12cecbbb5.js +2935 -0
- package/lib/e6debe4d13e93851fa0535e27f258266.js +2474 -0
- package/lib/e728712368c13c8aab76ad59e143b345.js +9 -0
- package/lib/e745f8fb4f054a3f5b66ccad100a1217.js +9 -0
- package/lib/e85c03bb74a03136c066c6e2093c5014.js +18 -0
- package/lib/e85d326b81c95df9bb7325c6468b61ba.js +201 -0
- package/lib/e86b459e406840ac8eaf63fcfcf817e5.js +264 -0
- package/lib/e8b30aff1e922139ce1feffb337fdf58.js +150 -0
- package/lib/e96618f2248a28f9239a2c652eff0b1e.js +287 -0
- package/lib/e970a8b8e51d2b1fe9d44e1b2c741ff1.js +16 -0
- package/lib/ea89161d379a9e55da8a3ecf89b2431b.js +183 -0
- package/lib/ec0bbb0ae01a2eac8dd4f36da4eb1e73.js +74 -0
- package/lib/ed4e3116f7d95675f9f2ccd0ede27490.js +252 -0
- package/lib/ed72112dc346ee7976809d4693f0dcba.js +16 -0
- package/lib/edd8457765d7fc38c3fc00b71e3dcce0.js +18 -0
- package/lib/efc508c36f4e417ec6bd5ec72989443b.js +9 -0
- package/lib/f017fb07fd7b0b8db9c5341bec72eb34.js +395 -0
- package/lib/f13fe511a9069c65f44deab412b47724.js +836 -0
- package/lib/f1e5afe8cfefc6ab380dd2510f4e331d.js +2611 -0
- package/lib/f2195d2eae3dbef7e3798e115209dcd7.js +9 -0
- package/lib/f233af729cc30f9b3af99d3e9a0a2409.js +256 -0
- package/lib/f2494721164a79754987fc480a293ddc.js +557 -0
- package/lib/f2cd6e7579511c57435b54b760147916.js +443 -0
- package/lib/f2cfc0e604350e23bfcd7c78165b1411.js +9 -0
- package/lib/f2e306454ac91234ddb8a5c6a838635b.js +94 -0
- package/lib/f34c660c7a713eb0664cc9e6a48e85ce.js +18 -0
- package/lib/f36f4038005be804fc28f2cf96e89ca4.js +3519 -0
- package/lib/f3a0f6e7e442de2ae51eddbf4eb98d97.js +9 -0
- package/lib/f3de8b166131cd8116c58b72e74de979.js +56 -0
- package/lib/f50d7c4ce743ce495230d19bd33fefab.js +9 -0
- package/lib/f5292be525fc36a337ce7bfb792070de.js +9 -0
- package/lib/f56d1624f84c7ea412383f5dc2535fe5.js +3380 -0
- package/lib/f58ee8ca364e28090c10b602eef235b1.js +16 -0
- package/lib/f61f1aaed3f32a7dabd977a6f47ecd5f.js +9 -0
- package/lib/f6d0fea0854403a43f86a04e3db40850.js +16 -0
- package/lib/f6e49568b937ae1f55e5fd35391456e6.js +9 -0
- package/lib/f7443e8232a7e4289b9f2ed4a512750c.js +9 -0
- package/lib/f80c6eb0f52a68464b21211240e3d6e6.js +9 -0
- package/lib/f81ee1c4aaf66bb5c9c3b56816fcf9ec.js +18 -0
- package/lib/f88127ad8950e3c94c3af6c65a7120fa.js +9 -0
- package/lib/f9395802478bac162b30e96f9124ab98.js +275 -0
- package/lib/f98a70bc7ea9c1711963a8879739b6ec.js +210 -0
- package/lib/fa100e0900a8c3255a4388d06ee51ed0.js +513 -0
- package/lib/fa1618cda4da7d5362c381ea2d5f7321.js +9 -0
- package/lib/faf460076b3383fdc3ecc224068964cf.js +9 -0
- package/lib/fafa44ae58fa8a874e008aa32408cb02.js +2438 -0
- package/lib/fb9eb8450ed17fce1ab64c6f239c0ed5.js +270 -0
- package/lib/fc2291e5687166730bc9040250deb4dc.js +192 -0
- package/lib/fc6ba43496896432983dff35a140ed34.js +324 -0
- package/lib/fd5c5250dc8b0ef84eec8e5e54d6588f.js +1557 -0
- package/lib/fe4607153f9dc163f7fcfd9e5112d082.js +18 -0
- package/lib/fea21d07929a3bfd1791e338b3643845.js +8913 -0
- package/lib/ffa203dcaae3e64846fe72a12c66f52a.js +16 -0
- package/lib/ffa6632dc8b1f24b217b89a5976d340c.js +1487 -0
- package/lib/fffbc895129cdb3efeafa5b234743aa0.js +9 -0
- package/lib/theme-chalk/common.css +1 -1
- package/lib/theme-chalk/elements.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/program.css +1 -0
- package/lib/yks.js +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,4072 @@
|
|
|
1
|
+
ace.define("ace/mode/csound_preprocessor_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
2
|
+
var oop = require("../lib/oop");
|
|
3
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
4
|
+
var CsoundPreprocessorHighlightRules = function (embeddedRulePrefix) {
|
|
5
|
+
this.embeddedRulePrefix = embeddedRulePrefix === undefined ? "" : embeddedRulePrefix;
|
|
6
|
+
this.semicolonComments = {
|
|
7
|
+
token: "comment.line.semicolon.csound",
|
|
8
|
+
regex: ";.*$"
|
|
9
|
+
};
|
|
10
|
+
this.comments = [
|
|
11
|
+
{
|
|
12
|
+
token: "punctuation.definition.comment.begin.csound",
|
|
13
|
+
regex: "/\\*",
|
|
14
|
+
push: [
|
|
15
|
+
{
|
|
16
|
+
token: "punctuation.definition.comment.end.csound",
|
|
17
|
+
regex: "\\*/",
|
|
18
|
+
next: "pop"
|
|
19
|
+
}, {
|
|
20
|
+
defaultToken: "comment.block.csound"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}, {
|
|
24
|
+
token: "comment.line.double-slash.csound",
|
|
25
|
+
regex: "//.*$"
|
|
26
|
+
},
|
|
27
|
+
this.semicolonComments
|
|
28
|
+
];
|
|
29
|
+
this.macroUses = [
|
|
30
|
+
{
|
|
31
|
+
token: ["entity.name.function.preprocessor.csound", "punctuation.definition.macro-parameter-value-list.begin.csound"],
|
|
32
|
+
regex: /(\$[A-Z_a-z]\w*\.?)(\()/,
|
|
33
|
+
next: "macro parameter value list"
|
|
34
|
+
}, {
|
|
35
|
+
token: "entity.name.function.preprocessor.csound",
|
|
36
|
+
regex: /\$[A-Z_a-z]\w*(?:\.|\b)/
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
this.numbers = [
|
|
40
|
+
{
|
|
41
|
+
token: "constant.numeric.float.csound",
|
|
42
|
+
regex: /(?:\d+[Ee][+-]?\d+)|(?:\d+\.\d*|\d*\.\d+)(?:[Ee][+-]?\d+)?/
|
|
43
|
+
}, {
|
|
44
|
+
token: ["storage.type.number.csound", "constant.numeric.integer.hexadecimal.csound"],
|
|
45
|
+
regex: /(0[Xx])([0-9A-Fa-f]+)/
|
|
46
|
+
}, {
|
|
47
|
+
token: "constant.numeric.integer.decimal.csound",
|
|
48
|
+
regex: /\d+/
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
this.bracedStringContents = [
|
|
52
|
+
{
|
|
53
|
+
token: "constant.character.escape.csound",
|
|
54
|
+
regex: /\\(?:[\\abnrt"]|[0-7]{1,3})/
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
token: "constant.character.placeholder.csound",
|
|
58
|
+
regex: /%[#0\- +]*\d*(?:\.\d+)?[diuoxXfFeEgGaAcs]/
|
|
59
|
+
}, {
|
|
60
|
+
token: "constant.character.escape.csound",
|
|
61
|
+
regex: /%%/
|
|
62
|
+
}
|
|
63
|
+
];
|
|
64
|
+
this.quotedStringContents = [
|
|
65
|
+
this.macroUses,
|
|
66
|
+
this.bracedStringContents
|
|
67
|
+
];
|
|
68
|
+
var start = [
|
|
69
|
+
this.comments,
|
|
70
|
+
{
|
|
71
|
+
token: "keyword.preprocessor.csound",
|
|
72
|
+
regex: /#(?:e(?:nd(?:if)?|lse)\b|##)|@@?[ \t]*\d+/
|
|
73
|
+
}, {
|
|
74
|
+
token: "keyword.preprocessor.csound",
|
|
75
|
+
regex: /#include/,
|
|
76
|
+
push: [
|
|
77
|
+
this.comments,
|
|
78
|
+
{
|
|
79
|
+
token: "string.csound",
|
|
80
|
+
regex: /([^ \t])(?:.*?\1)/,
|
|
81
|
+
next: "pop"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}, {
|
|
85
|
+
token: "keyword.preprocessor.csound",
|
|
86
|
+
regex: /#includestr/,
|
|
87
|
+
push: [
|
|
88
|
+
this.comments,
|
|
89
|
+
{
|
|
90
|
+
token: "string.csound",
|
|
91
|
+
regex: /([^ \t])(?:.*?\1)/,
|
|
92
|
+
next: "pop"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}, {
|
|
96
|
+
token: "keyword.preprocessor.csound",
|
|
97
|
+
regex: /#[ \t]*define/,
|
|
98
|
+
next: "define directive"
|
|
99
|
+
}, {
|
|
100
|
+
token: "keyword.preprocessor.csound",
|
|
101
|
+
regex: /#(?:ifn?def|undef)\b/,
|
|
102
|
+
next: "macro directive"
|
|
103
|
+
},
|
|
104
|
+
this.macroUses
|
|
105
|
+
];
|
|
106
|
+
this.$rules = {
|
|
107
|
+
"start": start,
|
|
108
|
+
"define directive": [
|
|
109
|
+
this.comments,
|
|
110
|
+
{
|
|
111
|
+
token: "entity.name.function.preprocessor.csound",
|
|
112
|
+
regex: /[A-Z_a-z]\w*/
|
|
113
|
+
}, {
|
|
114
|
+
token: "punctuation.definition.macro-parameter-name-list.begin.csound",
|
|
115
|
+
regex: /\(/,
|
|
116
|
+
next: "macro parameter name list"
|
|
117
|
+
}, {
|
|
118
|
+
token: "punctuation.definition.macro.begin.csound",
|
|
119
|
+
regex: /#/,
|
|
120
|
+
next: "macro body"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"macro parameter name list": [
|
|
124
|
+
{
|
|
125
|
+
token: "variable.parameter.preprocessor.csound",
|
|
126
|
+
regex: /[A-Z_a-z]\w*/
|
|
127
|
+
}, {
|
|
128
|
+
token: "punctuation.definition.macro-parameter-name-list.end.csound",
|
|
129
|
+
regex: /\)/,
|
|
130
|
+
next: "define directive"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"macro body": [
|
|
134
|
+
{
|
|
135
|
+
token: "constant.character.escape.csound",
|
|
136
|
+
regex: /\\#/
|
|
137
|
+
}, {
|
|
138
|
+
token: "punctuation.definition.macro.end.csound",
|
|
139
|
+
regex: /#/,
|
|
140
|
+
next: "start"
|
|
141
|
+
},
|
|
142
|
+
start
|
|
143
|
+
],
|
|
144
|
+
"macro directive": [
|
|
145
|
+
this.comments,
|
|
146
|
+
{
|
|
147
|
+
token: "entity.name.function.preprocessor.csound",
|
|
148
|
+
regex: /[A-Z_a-z]\w*/,
|
|
149
|
+
next: "start"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"macro parameter value list": [
|
|
153
|
+
{
|
|
154
|
+
token: "punctuation.definition.macro-parameter-value-list.end.csound",
|
|
155
|
+
regex: /\)/,
|
|
156
|
+
next: "start"
|
|
157
|
+
}, {
|
|
158
|
+
token: "punctuation.definition.string.begin.csound",
|
|
159
|
+
regex: /"/,
|
|
160
|
+
next: "macro parameter value quoted string"
|
|
161
|
+
}, this.pushRule({
|
|
162
|
+
token: "punctuation.macro-parameter-value-parenthetical.begin.csound",
|
|
163
|
+
regex: /\(/,
|
|
164
|
+
next: "macro parameter value parenthetical"
|
|
165
|
+
}), {
|
|
166
|
+
token: "punctuation.macro-parameter-value-separator.csound",
|
|
167
|
+
regex: "[#']"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"macro parameter value quoted string": [
|
|
171
|
+
{
|
|
172
|
+
token: "constant.character.escape.csound",
|
|
173
|
+
regex: /\\[#'()]/
|
|
174
|
+
}, {
|
|
175
|
+
token: "invalid.illegal.csound",
|
|
176
|
+
regex: /[#'()]/
|
|
177
|
+
}, {
|
|
178
|
+
token: "punctuation.definition.string.end.csound",
|
|
179
|
+
regex: /"/,
|
|
180
|
+
next: "macro parameter value list"
|
|
181
|
+
},
|
|
182
|
+
this.quotedStringContents,
|
|
183
|
+
{
|
|
184
|
+
defaultToken: "string.quoted.csound"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"macro parameter value parenthetical": [
|
|
188
|
+
{
|
|
189
|
+
token: "constant.character.escape.csound",
|
|
190
|
+
regex: /\\\)/
|
|
191
|
+
}, this.popRule({
|
|
192
|
+
token: "punctuation.macro-parameter-value-parenthetical.end.csound",
|
|
193
|
+
regex: /\)/
|
|
194
|
+
}), this.pushRule({
|
|
195
|
+
token: "punctuation.macro-parameter-value-parenthetical.begin.csound",
|
|
196
|
+
regex: /\(/,
|
|
197
|
+
next: "macro parameter value parenthetical"
|
|
198
|
+
}),
|
|
199
|
+
start
|
|
200
|
+
]
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
oop.inherits(CsoundPreprocessorHighlightRules, TextHighlightRules);
|
|
204
|
+
(function () {
|
|
205
|
+
this.pushRule = function (params) {
|
|
206
|
+
if (Array.isArray(params.next)) {
|
|
207
|
+
for (var i = 0; i < params.next.length; i++) {
|
|
208
|
+
params.next[i] = this.embeddedRulePrefix + params.next[i];
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return {
|
|
212
|
+
regex: params.regex, onMatch: function (value, currentState, stack, line) {
|
|
213
|
+
if (stack.length === 0)
|
|
214
|
+
stack.push(currentState);
|
|
215
|
+
if (Array.isArray(params.next)) {
|
|
216
|
+
for (var i = 0; i < params.next.length; i++) {
|
|
217
|
+
stack.push(params.next[i]);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
stack.push(params.next);
|
|
222
|
+
}
|
|
223
|
+
this.next = stack[stack.length - 1];
|
|
224
|
+
return params.token;
|
|
225
|
+
},
|
|
226
|
+
get next() { return Array.isArray(params.next) ? params.next[params.next.length - 1] : params.next; },
|
|
227
|
+
set next(next) {
|
|
228
|
+
if (!Array.isArray(params.next)) {
|
|
229
|
+
params.next = next;
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
get token() { return params.token; }
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
this.popRule = function (params) {
|
|
236
|
+
if (params.next) {
|
|
237
|
+
params.next = this.embeddedRulePrefix + params.next;
|
|
238
|
+
}
|
|
239
|
+
return {
|
|
240
|
+
regex: params.regex, onMatch: function (value, currentState, stack, line) {
|
|
241
|
+
stack.pop();
|
|
242
|
+
if (params.next) {
|
|
243
|
+
stack.push(params.next);
|
|
244
|
+
this.next = stack[stack.length - 1];
|
|
245
|
+
}
|
|
246
|
+
else {
|
|
247
|
+
this.next = stack.length > 1 ? stack[stack.length - 1] : stack.pop();
|
|
248
|
+
}
|
|
249
|
+
return params.token;
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
}).call(CsoundPreprocessorHighlightRules.prototype);
|
|
254
|
+
exports.CsoundPreprocessorHighlightRules = CsoundPreprocessorHighlightRules;
|
|
255
|
+
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
ace.define("ace/mode/csound_score_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/csound_preprocessor_highlight_rules"], function(require, exports, module){"use strict";
|
|
259
|
+
var oop = require("../lib/oop");
|
|
260
|
+
var CsoundPreprocessorHighlightRules = require("./csound_preprocessor_highlight_rules").CsoundPreprocessorHighlightRules;
|
|
261
|
+
var CsoundScoreHighlightRules = function (embeddedRulePrefix) {
|
|
262
|
+
CsoundPreprocessorHighlightRules.call(this, embeddedRulePrefix);
|
|
263
|
+
this.quotedStringContents.push({
|
|
264
|
+
token: "invalid.illegal.csound-score",
|
|
265
|
+
regex: /[^"]*$/
|
|
266
|
+
});
|
|
267
|
+
var start = this.$rules.start;
|
|
268
|
+
start.push({
|
|
269
|
+
token: "keyword.control.csound-score",
|
|
270
|
+
regex: /[aBbCdefiqstvxy]/
|
|
271
|
+
}, {
|
|
272
|
+
token: "invalid.illegal.csound-score",
|
|
273
|
+
regex: /w/
|
|
274
|
+
}, {
|
|
275
|
+
token: "constant.numeric.language.csound-score",
|
|
276
|
+
regex: /z/
|
|
277
|
+
}, {
|
|
278
|
+
token: ["keyword.control.csound-score", "constant.numeric.integer.decimal.csound-score"],
|
|
279
|
+
regex: /([nNpP][pP])(\d+)/
|
|
280
|
+
}, {
|
|
281
|
+
token: "keyword.other.csound-score",
|
|
282
|
+
regex: /[mn]/,
|
|
283
|
+
push: [
|
|
284
|
+
{
|
|
285
|
+
token: "empty",
|
|
286
|
+
regex: /$/,
|
|
287
|
+
next: "pop"
|
|
288
|
+
},
|
|
289
|
+
this.comments,
|
|
290
|
+
{
|
|
291
|
+
token: "entity.name.label.csound-score",
|
|
292
|
+
regex: /[A-Z_a-z]\w*/
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
}, {
|
|
296
|
+
token: "keyword.preprocessor.csound-score",
|
|
297
|
+
regex: /r\b/,
|
|
298
|
+
next: "repeat section"
|
|
299
|
+
}, this.numbers, {
|
|
300
|
+
token: "keyword.operator.csound-score",
|
|
301
|
+
regex: "[!+\\-*/^%&|<>#~.]"
|
|
302
|
+
}, this.pushRule({
|
|
303
|
+
token: "punctuation.definition.string.begin.csound-score",
|
|
304
|
+
regex: /"/,
|
|
305
|
+
next: "quoted string"
|
|
306
|
+
}), this.pushRule({
|
|
307
|
+
token: "punctuation.braced-loop.begin.csound-score",
|
|
308
|
+
regex: /{/,
|
|
309
|
+
next: "loop after left brace"
|
|
310
|
+
}));
|
|
311
|
+
this.addRules({
|
|
312
|
+
"repeat section": [
|
|
313
|
+
{
|
|
314
|
+
token: "empty",
|
|
315
|
+
regex: /$/,
|
|
316
|
+
next: "start"
|
|
317
|
+
},
|
|
318
|
+
this.comments,
|
|
319
|
+
{
|
|
320
|
+
token: "constant.numeric.integer.decimal.csound-score",
|
|
321
|
+
regex: /\d+/,
|
|
322
|
+
next: "repeat section before label"
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"repeat section before label": [
|
|
326
|
+
{
|
|
327
|
+
token: "empty",
|
|
328
|
+
regex: /$/,
|
|
329
|
+
next: "start"
|
|
330
|
+
},
|
|
331
|
+
this.comments,
|
|
332
|
+
{
|
|
333
|
+
token: "entity.name.label.csound-score",
|
|
334
|
+
regex: /[A-Z_a-z]\w*/,
|
|
335
|
+
next: "start"
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"quoted string": [
|
|
339
|
+
this.popRule({
|
|
340
|
+
token: "punctuation.definition.string.end.csound-score",
|
|
341
|
+
regex: /"/
|
|
342
|
+
}),
|
|
343
|
+
this.quotedStringContents,
|
|
344
|
+
{
|
|
345
|
+
defaultToken: "string.quoted.csound-score"
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"loop after left brace": [
|
|
349
|
+
this.popRule({
|
|
350
|
+
token: "constant.numeric.integer.decimal.csound-score",
|
|
351
|
+
regex: /\d+/,
|
|
352
|
+
next: "loop after repeat count"
|
|
353
|
+
}),
|
|
354
|
+
this.comments,
|
|
355
|
+
{
|
|
356
|
+
token: "invalid.illegal.csound",
|
|
357
|
+
regex: /\S.*/
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"loop after repeat count": [
|
|
361
|
+
this.popRule({
|
|
362
|
+
token: "entity.name.function.preprocessor.csound-score",
|
|
363
|
+
regex: /[A-Z_a-z]\w*\b/,
|
|
364
|
+
next: "loop after macro name"
|
|
365
|
+
}),
|
|
366
|
+
this.comments,
|
|
367
|
+
{
|
|
368
|
+
token: "invalid.illegal.csound",
|
|
369
|
+
regex: /\S.*/
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"loop after macro name": [
|
|
373
|
+
start,
|
|
374
|
+
this.popRule({
|
|
375
|
+
token: "punctuation.braced-loop.end.csound-score",
|
|
376
|
+
regex: /}/
|
|
377
|
+
})
|
|
378
|
+
]
|
|
379
|
+
});
|
|
380
|
+
this.normalizeRules();
|
|
381
|
+
};
|
|
382
|
+
oop.inherits(CsoundScoreHighlightRules, CsoundPreprocessorHighlightRules);
|
|
383
|
+
exports.CsoundScoreHighlightRules = CsoundScoreHighlightRules;
|
|
384
|
+
|
|
385
|
+
});
|
|
386
|
+
|
|
387
|
+
ace.define("ace/mode/lua_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
388
|
+
var oop = require("../lib/oop");
|
|
389
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
390
|
+
var LuaHighlightRules = function () {
|
|
391
|
+
var keywords = ("break|do|else|elseif|end|for|function|if|in|local|repeat|" +
|
|
392
|
+
"return|then|until|while|or|and|not");
|
|
393
|
+
var builtinConstants = ("true|false|nil|_G|_VERSION");
|
|
394
|
+
var functions = (
|
|
395
|
+
"string|xpcall|package|tostring|print|os|unpack|require|" +
|
|
396
|
+
"getfenv|setmetatable|next|assert|tonumber|io|rawequal|" +
|
|
397
|
+
"collectgarbage|getmetatable|module|rawset|math|debug|" +
|
|
398
|
+
"pcall|table|newproxy|type|coroutine|_G|select|gcinfo|" +
|
|
399
|
+
"pairs|rawget|loadstring|ipairs|_VERSION|dofile|setfenv|" +
|
|
400
|
+
"load|error|loadfile|" +
|
|
401
|
+
"sub|upper|len|gfind|rep|find|match|char|dump|gmatch|" +
|
|
402
|
+
"reverse|byte|format|gsub|lower|preload|loadlib|loaded|" +
|
|
403
|
+
"loaders|cpath|config|path|seeall|exit|setlocale|date|" +
|
|
404
|
+
"getenv|difftime|remove|time|clock|tmpname|rename|execute|" +
|
|
405
|
+
"lines|write|close|flush|open|output|type|read|stderr|" +
|
|
406
|
+
"stdin|input|stdout|popen|tmpfile|log|max|acos|huge|" +
|
|
407
|
+
"ldexp|pi|cos|tanh|pow|deg|tan|cosh|sinh|random|randomseed|" +
|
|
408
|
+
"frexp|ceil|floor|rad|abs|sqrt|modf|asin|min|mod|fmod|log10|" +
|
|
409
|
+
"atan2|exp|sin|atan|getupvalue|debug|sethook|getmetatable|" +
|
|
410
|
+
"gethook|setmetatable|setlocal|traceback|setfenv|getinfo|" +
|
|
411
|
+
"setupvalue|getlocal|getregistry|getfenv|setn|insert|getn|" +
|
|
412
|
+
"foreachi|maxn|foreach|concat|sort|remove|resume|yield|" +
|
|
413
|
+
"status|wrap|create|running|" +
|
|
414
|
+
"__add|__sub|__mod|__unm|__concat|__lt|__index|__call|__gc|__metatable|" +
|
|
415
|
+
"__mul|__div|__pow|__len|__eq|__le|__newindex|__tostring|__mode|__tonumber");
|
|
416
|
+
var stdLibaries = ("string|package|os|io|math|debug|table|coroutine");
|
|
417
|
+
var deprecatedIn5152 = ("setn|foreach|foreachi|gcinfo|log10|maxn");
|
|
418
|
+
var keywordMapper = this.createKeywordMapper({
|
|
419
|
+
"keyword": keywords,
|
|
420
|
+
"support.function": functions,
|
|
421
|
+
"keyword.deprecated": deprecatedIn5152,
|
|
422
|
+
"constant.library": stdLibaries,
|
|
423
|
+
"constant.language": builtinConstants,
|
|
424
|
+
"variable.language": "self"
|
|
425
|
+
}, "identifier");
|
|
426
|
+
var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
|
|
427
|
+
var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
|
|
428
|
+
var integer = "(?:" + decimalInteger + "|" + hexInteger + ")";
|
|
429
|
+
var fraction = "(?:\\.\\d+)";
|
|
430
|
+
var intPart = "(?:\\d+)";
|
|
431
|
+
var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
|
|
432
|
+
var floatNumber = "(?:" + pointFloat + ")";
|
|
433
|
+
this.$rules = {
|
|
434
|
+
"start": [{
|
|
435
|
+
stateName: "bracketedComment",
|
|
436
|
+
onMatch: function (value, currentState, stack) {
|
|
437
|
+
stack.unshift(this.next, value.length - 2, currentState);
|
|
438
|
+
return "comment";
|
|
439
|
+
},
|
|
440
|
+
regex: /\-\-\[=*\[/,
|
|
441
|
+
next: [
|
|
442
|
+
{
|
|
443
|
+
onMatch: function (value, currentState, stack) {
|
|
444
|
+
if (value.length == stack[1]) {
|
|
445
|
+
stack.shift();
|
|
446
|
+
stack.shift();
|
|
447
|
+
this.next = stack.shift();
|
|
448
|
+
}
|
|
449
|
+
else {
|
|
450
|
+
this.next = "";
|
|
451
|
+
}
|
|
452
|
+
return "comment";
|
|
453
|
+
},
|
|
454
|
+
regex: /\]=*\]/,
|
|
455
|
+
next: "start"
|
|
456
|
+
}, {
|
|
457
|
+
defaultToken: "comment.body"
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
token: "comment",
|
|
463
|
+
regex: "\\-\\-.*$"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
stateName: "bracketedString",
|
|
467
|
+
onMatch: function (value, currentState, stack) {
|
|
468
|
+
stack.unshift(this.next, value.length, currentState);
|
|
469
|
+
return "string.start";
|
|
470
|
+
},
|
|
471
|
+
regex: /\[=*\[/,
|
|
472
|
+
next: [
|
|
473
|
+
{
|
|
474
|
+
onMatch: function (value, currentState, stack) {
|
|
475
|
+
if (value.length == stack[1]) {
|
|
476
|
+
stack.shift();
|
|
477
|
+
stack.shift();
|
|
478
|
+
this.next = stack.shift();
|
|
479
|
+
}
|
|
480
|
+
else {
|
|
481
|
+
this.next = "";
|
|
482
|
+
}
|
|
483
|
+
return "string.end";
|
|
484
|
+
},
|
|
485
|
+
regex: /\]=*\]/,
|
|
486
|
+
next: "start"
|
|
487
|
+
}, {
|
|
488
|
+
defaultToken: "string"
|
|
489
|
+
}
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
token: "string", // " string
|
|
494
|
+
regex: '"(?:[^\\\\]|\\\\.)*?"'
|
|
495
|
+
}, {
|
|
496
|
+
token: "string", // ' string
|
|
497
|
+
regex: "'(?:[^\\\\]|\\\\.)*?'"
|
|
498
|
+
}, {
|
|
499
|
+
token: "constant.numeric", // float
|
|
500
|
+
regex: floatNumber
|
|
501
|
+
}, {
|
|
502
|
+
token: "constant.numeric", // integer
|
|
503
|
+
regex: integer + "\\b"
|
|
504
|
+
}, {
|
|
505
|
+
token: keywordMapper,
|
|
506
|
+
regex: "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
|
507
|
+
}, {
|
|
508
|
+
token: "keyword.operator",
|
|
509
|
+
regex: "\\+|\\-|\\*|\\/|%|\\#|\\^|~|<|>|<=|=>|==|~=|=|\\:|\\.\\.\\.|\\.\\."
|
|
510
|
+
}, {
|
|
511
|
+
token: "paren.lparen",
|
|
512
|
+
regex: "[\\[\\(\\{]"
|
|
513
|
+
}, {
|
|
514
|
+
token: "paren.rparen",
|
|
515
|
+
regex: "[\\]\\)\\}]"
|
|
516
|
+
}, {
|
|
517
|
+
token: "text",
|
|
518
|
+
regex: "\\s+|\\w+"
|
|
519
|
+
}]
|
|
520
|
+
};
|
|
521
|
+
this.normalizeRules();
|
|
522
|
+
};
|
|
523
|
+
oop.inherits(LuaHighlightRules, TextHighlightRules);
|
|
524
|
+
exports.LuaHighlightRules = LuaHighlightRules;
|
|
525
|
+
|
|
526
|
+
});
|
|
527
|
+
|
|
528
|
+
ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){/*
|
|
529
|
+
* TODO: python delimiters
|
|
530
|
+
*/
|
|
531
|
+
"use strict";
|
|
532
|
+
var oop = require("../lib/oop");
|
|
533
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
534
|
+
var PythonHighlightRules = function () {
|
|
535
|
+
var keywords = ("and|as|assert|break|class|continue|def|del|elif|else|except|exec|" +
|
|
536
|
+
"finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|" +
|
|
537
|
+
"raise|return|try|while|with|yield|async|await|nonlocal");
|
|
538
|
+
var builtinConstants = ("True|False|None|NotImplemented|Ellipsis|__debug__");
|
|
539
|
+
var builtinFunctions = ("abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|" +
|
|
540
|
+
"eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|" +
|
|
541
|
+
"binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|" +
|
|
542
|
+
"float|list|raw_input|unichr|callable|format|locals|reduce|unicode|" +
|
|
543
|
+
"chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|" +
|
|
544
|
+
"cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|" +
|
|
545
|
+
"__import__|complex|hash|min|apply|delattr|help|next|setattr|set|" +
|
|
546
|
+
"buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|" +
|
|
547
|
+
"ascii|breakpoint|bytes");
|
|
548
|
+
var keywordMapper = this.createKeywordMapper({
|
|
549
|
+
"invalid.deprecated": "debugger",
|
|
550
|
+
"support.function": builtinFunctions,
|
|
551
|
+
"variable.language": "self|cls",
|
|
552
|
+
"constant.language": builtinConstants,
|
|
553
|
+
"keyword": keywords
|
|
554
|
+
}, "identifier");
|
|
555
|
+
var strPre = "[uU]?";
|
|
556
|
+
var strRawPre = "[rR]";
|
|
557
|
+
var strFormatPre = "[fF]";
|
|
558
|
+
var strRawFormatPre = "(?:[rR][fF]|[fF][rR])";
|
|
559
|
+
var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
|
|
560
|
+
var octInteger = "(?:0[oO]?[0-7]+)";
|
|
561
|
+
var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
|
|
562
|
+
var binInteger = "(?:0[bB][01]+)";
|
|
563
|
+
var integer = "(?:" + decimalInteger + "|" + octInteger + "|" + hexInteger + "|" + binInteger + ")";
|
|
564
|
+
var exponent = "(?:[eE][+-]?\\d+)";
|
|
565
|
+
var fraction = "(?:\\.\\d+)";
|
|
566
|
+
var intPart = "(?:\\d+)";
|
|
567
|
+
var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
|
|
568
|
+
var exponentFloat = "(?:(?:" + pointFloat + "|" + intPart + ")" + exponent + ")";
|
|
569
|
+
var floatNumber = "(?:" + exponentFloat + "|" + pointFloat + ")";
|
|
570
|
+
var stringEscape = "\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})";
|
|
571
|
+
this.$rules = {
|
|
572
|
+
"start": [{
|
|
573
|
+
token: "comment",
|
|
574
|
+
regex: "#.*$"
|
|
575
|
+
}, {
|
|
576
|
+
token: "string", // multi line """ string start
|
|
577
|
+
regex: strPre + '"{3}',
|
|
578
|
+
next: "qqstring3"
|
|
579
|
+
}, {
|
|
580
|
+
token: "string", // " string
|
|
581
|
+
regex: strPre + '"(?=.)',
|
|
582
|
+
next: "qqstring"
|
|
583
|
+
}, {
|
|
584
|
+
token: "string", // multi line ''' string start
|
|
585
|
+
regex: strPre + "'{3}",
|
|
586
|
+
next: "qstring3"
|
|
587
|
+
}, {
|
|
588
|
+
token: "string", // ' string
|
|
589
|
+
regex: strPre + "'(?=.)",
|
|
590
|
+
next: "qstring"
|
|
591
|
+
}, {
|
|
592
|
+
token: "string",
|
|
593
|
+
regex: strRawPre + '"{3}',
|
|
594
|
+
next: "rawqqstring3"
|
|
595
|
+
}, {
|
|
596
|
+
token: "string",
|
|
597
|
+
regex: strRawPre + '"(?=.)',
|
|
598
|
+
next: "rawqqstring"
|
|
599
|
+
}, {
|
|
600
|
+
token: "string",
|
|
601
|
+
regex: strRawPre + "'{3}",
|
|
602
|
+
next: "rawqstring3"
|
|
603
|
+
}, {
|
|
604
|
+
token: "string",
|
|
605
|
+
regex: strRawPre + "'(?=.)",
|
|
606
|
+
next: "rawqstring"
|
|
607
|
+
}, {
|
|
608
|
+
token: "string",
|
|
609
|
+
regex: strFormatPre + '"{3}',
|
|
610
|
+
next: "fqqstring3"
|
|
611
|
+
}, {
|
|
612
|
+
token: "string",
|
|
613
|
+
regex: strFormatPre + '"(?=.)',
|
|
614
|
+
next: "fqqstring"
|
|
615
|
+
}, {
|
|
616
|
+
token: "string",
|
|
617
|
+
regex: strFormatPre + "'{3}",
|
|
618
|
+
next: "fqstring3"
|
|
619
|
+
}, {
|
|
620
|
+
token: "string",
|
|
621
|
+
regex: strFormatPre + "'(?=.)",
|
|
622
|
+
next: "fqstring"
|
|
623
|
+
}, {
|
|
624
|
+
token: "string",
|
|
625
|
+
regex: strRawFormatPre + '"{3}',
|
|
626
|
+
next: "rfqqstring3"
|
|
627
|
+
}, {
|
|
628
|
+
token: "string",
|
|
629
|
+
regex: strRawFormatPre + '"(?=.)',
|
|
630
|
+
next: "rfqqstring"
|
|
631
|
+
}, {
|
|
632
|
+
token: "string",
|
|
633
|
+
regex: strRawFormatPre + "'{3}",
|
|
634
|
+
next: "rfqstring3"
|
|
635
|
+
}, {
|
|
636
|
+
token: "string",
|
|
637
|
+
regex: strRawFormatPre + "'(?=.)",
|
|
638
|
+
next: "rfqstring"
|
|
639
|
+
}, {
|
|
640
|
+
token: "keyword.operator",
|
|
641
|
+
regex: "\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="
|
|
642
|
+
}, {
|
|
643
|
+
token: "punctuation",
|
|
644
|
+
regex: ",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="
|
|
645
|
+
}, {
|
|
646
|
+
token: "paren.lparen",
|
|
647
|
+
regex: "[\\[\\(\\{]"
|
|
648
|
+
}, {
|
|
649
|
+
token: "paren.rparen",
|
|
650
|
+
regex: "[\\]\\)\\}]"
|
|
651
|
+
}, {
|
|
652
|
+
token: ["keyword", "text", "entity.name.function"],
|
|
653
|
+
regex: "(def|class)(\\s+)([\\u00BF-\\u1FFF\\u2C00-\\uD7FF\\w]+)"
|
|
654
|
+
}, {
|
|
655
|
+
token: "text",
|
|
656
|
+
regex: "\\s+"
|
|
657
|
+
}, {
|
|
658
|
+
include: "constants"
|
|
659
|
+
}],
|
|
660
|
+
"qqstring3": [{
|
|
661
|
+
token: "constant.language.escape",
|
|
662
|
+
regex: stringEscape
|
|
663
|
+
}, {
|
|
664
|
+
token: "string", // multi line """ string end
|
|
665
|
+
regex: '"{3}',
|
|
666
|
+
next: "start"
|
|
667
|
+
}, {
|
|
668
|
+
defaultToken: "string"
|
|
669
|
+
}],
|
|
670
|
+
"qstring3": [{
|
|
671
|
+
token: "constant.language.escape",
|
|
672
|
+
regex: stringEscape
|
|
673
|
+
}, {
|
|
674
|
+
token: "string", // multi line ''' string end
|
|
675
|
+
regex: "'{3}",
|
|
676
|
+
next: "start"
|
|
677
|
+
}, {
|
|
678
|
+
defaultToken: "string"
|
|
679
|
+
}],
|
|
680
|
+
"qqstring": [{
|
|
681
|
+
token: "constant.language.escape",
|
|
682
|
+
regex: stringEscape
|
|
683
|
+
}, {
|
|
684
|
+
token: "string",
|
|
685
|
+
regex: "\\\\$",
|
|
686
|
+
next: "qqstring"
|
|
687
|
+
}, {
|
|
688
|
+
token: "string",
|
|
689
|
+
regex: '"|$',
|
|
690
|
+
next: "start"
|
|
691
|
+
}, {
|
|
692
|
+
defaultToken: "string"
|
|
693
|
+
}],
|
|
694
|
+
"qstring": [{
|
|
695
|
+
token: "constant.language.escape",
|
|
696
|
+
regex: stringEscape
|
|
697
|
+
}, {
|
|
698
|
+
token: "string",
|
|
699
|
+
regex: "\\\\$",
|
|
700
|
+
next: "qstring"
|
|
701
|
+
}, {
|
|
702
|
+
token: "string",
|
|
703
|
+
regex: "'|$",
|
|
704
|
+
next: "start"
|
|
705
|
+
}, {
|
|
706
|
+
defaultToken: "string"
|
|
707
|
+
}],
|
|
708
|
+
"rawqqstring3": [{
|
|
709
|
+
token: "string", // multi line """ string end
|
|
710
|
+
regex: '"{3}',
|
|
711
|
+
next: "start"
|
|
712
|
+
}, {
|
|
713
|
+
defaultToken: "string"
|
|
714
|
+
}],
|
|
715
|
+
"rawqstring3": [{
|
|
716
|
+
token: "string", // multi line ''' string end
|
|
717
|
+
regex: "'{3}",
|
|
718
|
+
next: "start"
|
|
719
|
+
}, {
|
|
720
|
+
defaultToken: "string"
|
|
721
|
+
}],
|
|
722
|
+
"rawqqstring": [{
|
|
723
|
+
token: "string",
|
|
724
|
+
regex: "\\\\$",
|
|
725
|
+
next: "rawqqstring"
|
|
726
|
+
}, {
|
|
727
|
+
token: "string",
|
|
728
|
+
regex: '"|$',
|
|
729
|
+
next: "start"
|
|
730
|
+
}, {
|
|
731
|
+
defaultToken: "string"
|
|
732
|
+
}],
|
|
733
|
+
"rawqstring": [{
|
|
734
|
+
token: "string",
|
|
735
|
+
regex: "\\\\$",
|
|
736
|
+
next: "rawqstring"
|
|
737
|
+
}, {
|
|
738
|
+
token: "string",
|
|
739
|
+
regex: "'|$",
|
|
740
|
+
next: "start"
|
|
741
|
+
}, {
|
|
742
|
+
defaultToken: "string"
|
|
743
|
+
}],
|
|
744
|
+
"fqqstring3": [{
|
|
745
|
+
token: "constant.language.escape",
|
|
746
|
+
regex: stringEscape
|
|
747
|
+
}, {
|
|
748
|
+
token: "string", // multi line """ string end
|
|
749
|
+
regex: '"{3}',
|
|
750
|
+
next: "start"
|
|
751
|
+
}, {
|
|
752
|
+
token: "paren.lparen",
|
|
753
|
+
regex: "{",
|
|
754
|
+
push: "fqstringParRules"
|
|
755
|
+
}, {
|
|
756
|
+
defaultToken: "string"
|
|
757
|
+
}],
|
|
758
|
+
"fqstring3": [{
|
|
759
|
+
token: "constant.language.escape",
|
|
760
|
+
regex: stringEscape
|
|
761
|
+
}, {
|
|
762
|
+
token: "string", // multi line ''' string end
|
|
763
|
+
regex: "'{3}",
|
|
764
|
+
next: "start"
|
|
765
|
+
}, {
|
|
766
|
+
token: "paren.lparen",
|
|
767
|
+
regex: "{",
|
|
768
|
+
push: "fqstringParRules"
|
|
769
|
+
}, {
|
|
770
|
+
defaultToken: "string"
|
|
771
|
+
}],
|
|
772
|
+
"fqqstring": [{
|
|
773
|
+
token: "constant.language.escape",
|
|
774
|
+
regex: stringEscape
|
|
775
|
+
}, {
|
|
776
|
+
token: "string",
|
|
777
|
+
regex: "\\\\$",
|
|
778
|
+
next: "fqqstring"
|
|
779
|
+
}, {
|
|
780
|
+
token: "string",
|
|
781
|
+
regex: '"|$',
|
|
782
|
+
next: "start"
|
|
783
|
+
}, {
|
|
784
|
+
token: "paren.lparen",
|
|
785
|
+
regex: "{",
|
|
786
|
+
push: "fqstringParRules"
|
|
787
|
+
}, {
|
|
788
|
+
defaultToken: "string"
|
|
789
|
+
}],
|
|
790
|
+
"fqstring": [{
|
|
791
|
+
token: "constant.language.escape",
|
|
792
|
+
regex: stringEscape
|
|
793
|
+
}, {
|
|
794
|
+
token: "string",
|
|
795
|
+
regex: "'|$",
|
|
796
|
+
next: "start"
|
|
797
|
+
}, {
|
|
798
|
+
token: "paren.lparen",
|
|
799
|
+
regex: "{",
|
|
800
|
+
push: "fqstringParRules"
|
|
801
|
+
}, {
|
|
802
|
+
defaultToken: "string"
|
|
803
|
+
}],
|
|
804
|
+
"rfqqstring3": [{
|
|
805
|
+
token: "string", // multi line """ string end
|
|
806
|
+
regex: '"{3}',
|
|
807
|
+
next: "start"
|
|
808
|
+
}, {
|
|
809
|
+
token: "paren.lparen",
|
|
810
|
+
regex: "{",
|
|
811
|
+
push: "fqstringParRules"
|
|
812
|
+
}, {
|
|
813
|
+
defaultToken: "string"
|
|
814
|
+
}],
|
|
815
|
+
"rfqstring3": [{
|
|
816
|
+
token: "string", // multi line ''' string end
|
|
817
|
+
regex: "'{3}",
|
|
818
|
+
next: "start"
|
|
819
|
+
}, {
|
|
820
|
+
token: "paren.lparen",
|
|
821
|
+
regex: "{",
|
|
822
|
+
push: "fqstringParRules"
|
|
823
|
+
}, {
|
|
824
|
+
defaultToken: "string"
|
|
825
|
+
}],
|
|
826
|
+
"rfqqstring": [{
|
|
827
|
+
token: "string",
|
|
828
|
+
regex: "\\\\$",
|
|
829
|
+
next: "rfqqstring"
|
|
830
|
+
}, {
|
|
831
|
+
token: "string",
|
|
832
|
+
regex: '"|$',
|
|
833
|
+
next: "start"
|
|
834
|
+
}, {
|
|
835
|
+
token: "paren.lparen",
|
|
836
|
+
regex: "{",
|
|
837
|
+
push: "fqstringParRules"
|
|
838
|
+
}, {
|
|
839
|
+
defaultToken: "string"
|
|
840
|
+
}],
|
|
841
|
+
"rfqstring": [{
|
|
842
|
+
token: "string",
|
|
843
|
+
regex: "'|$",
|
|
844
|
+
next: "start"
|
|
845
|
+
}, {
|
|
846
|
+
token: "paren.lparen",
|
|
847
|
+
regex: "{",
|
|
848
|
+
push: "fqstringParRules"
|
|
849
|
+
}, {
|
|
850
|
+
defaultToken: "string"
|
|
851
|
+
}],
|
|
852
|
+
"fqstringParRules": [{
|
|
853
|
+
token: "paren.lparen",
|
|
854
|
+
regex: "[\\[\\(]"
|
|
855
|
+
}, {
|
|
856
|
+
token: "paren.rparen",
|
|
857
|
+
regex: "[\\]\\)]"
|
|
858
|
+
}, {
|
|
859
|
+
token: "string",
|
|
860
|
+
regex: "\\s+"
|
|
861
|
+
}, {
|
|
862
|
+
token: "string",
|
|
863
|
+
regex: "'[^']*'"
|
|
864
|
+
}, {
|
|
865
|
+
token: "string",
|
|
866
|
+
regex: '"[^"]*"'
|
|
867
|
+
}, {
|
|
868
|
+
token: "function.support",
|
|
869
|
+
regex: "(!s|!r|!a)"
|
|
870
|
+
}, {
|
|
871
|
+
include: "constants"
|
|
872
|
+
}, {
|
|
873
|
+
token: 'paren.rparen',
|
|
874
|
+
regex: "}",
|
|
875
|
+
next: 'pop'
|
|
876
|
+
}, {
|
|
877
|
+
token: 'paren.lparen',
|
|
878
|
+
regex: "{",
|
|
879
|
+
push: "fqstringParRules"
|
|
880
|
+
}],
|
|
881
|
+
"constants": [{
|
|
882
|
+
token: "constant.numeric", // imaginary
|
|
883
|
+
regex: "(?:" + floatNumber + "|\\d+)[jJ]\\b"
|
|
884
|
+
}, {
|
|
885
|
+
token: "constant.numeric", // float
|
|
886
|
+
regex: floatNumber
|
|
887
|
+
}, {
|
|
888
|
+
token: "constant.numeric", // long integer
|
|
889
|
+
regex: integer + "[lL]\\b"
|
|
890
|
+
}, {
|
|
891
|
+
token: "constant.numeric", // integer
|
|
892
|
+
regex: integer + "\\b"
|
|
893
|
+
}, {
|
|
894
|
+
token: ["punctuation", "function.support"], // method
|
|
895
|
+
regex: "(\\.)([a-zA-Z_]+)\\b"
|
|
896
|
+
}, {
|
|
897
|
+
token: keywordMapper,
|
|
898
|
+
regex: "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
|
899
|
+
}]
|
|
900
|
+
};
|
|
901
|
+
this.normalizeRules();
|
|
902
|
+
};
|
|
903
|
+
oop.inherits(PythonHighlightRules, TextHighlightRules);
|
|
904
|
+
exports.PythonHighlightRules = PythonHighlightRules;
|
|
905
|
+
|
|
906
|
+
});
|
|
907
|
+
|
|
908
|
+
ace.define("ace/mode/csound_orchestra_highlight_rules",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/mode/csound_preprocessor_highlight_rules","ace/mode/csound_score_highlight_rules","ace/mode/lua_highlight_rules","ace/mode/python_highlight_rules"], function(require, exports, module){"use strict";
|
|
909
|
+
var lang = require("../lib/lang");
|
|
910
|
+
var oop = require("../lib/oop");
|
|
911
|
+
var CsoundPreprocessorHighlightRules = require("./csound_preprocessor_highlight_rules").CsoundPreprocessorHighlightRules;
|
|
912
|
+
var CsoundScoreHighlightRules = require("./csound_score_highlight_rules").CsoundScoreHighlightRules;
|
|
913
|
+
var LuaHighlightRules = require("./lua_highlight_rules").LuaHighlightRules;
|
|
914
|
+
var PythonHighlightRules = require("./python_highlight_rules").PythonHighlightRules;
|
|
915
|
+
var CsoundOrchestraHighlightRules = function (embeddedRulePrefix) {
|
|
916
|
+
CsoundPreprocessorHighlightRules.call(this, embeddedRulePrefix);
|
|
917
|
+
var opcodes = [
|
|
918
|
+
"ATSadd",
|
|
919
|
+
"ATSaddnz",
|
|
920
|
+
"ATSbufread",
|
|
921
|
+
"ATScross",
|
|
922
|
+
"ATSinfo",
|
|
923
|
+
"ATSinterpread",
|
|
924
|
+
"ATSpartialtap",
|
|
925
|
+
"ATSread",
|
|
926
|
+
"ATSreadnz",
|
|
927
|
+
"ATSsinnoi",
|
|
928
|
+
"FLbox",
|
|
929
|
+
"FLbutBank",
|
|
930
|
+
"FLbutton",
|
|
931
|
+
"FLcloseButton",
|
|
932
|
+
"FLcolor",
|
|
933
|
+
"FLcolor2",
|
|
934
|
+
"FLcount",
|
|
935
|
+
"FLexecButton",
|
|
936
|
+
"FLgetsnap",
|
|
937
|
+
"FLgroup",
|
|
938
|
+
"FLgroupEnd",
|
|
939
|
+
"FLgroup_end",
|
|
940
|
+
"FLhide",
|
|
941
|
+
"FLhvsBox",
|
|
942
|
+
"FLhvsBoxSetValue",
|
|
943
|
+
"FLjoy",
|
|
944
|
+
"FLkeyIn",
|
|
945
|
+
"FLknob",
|
|
946
|
+
"FLlabel",
|
|
947
|
+
"FLloadsnap",
|
|
948
|
+
"FLmouse",
|
|
949
|
+
"FLpack",
|
|
950
|
+
"FLpackEnd",
|
|
951
|
+
"FLpack_end",
|
|
952
|
+
"FLpanel",
|
|
953
|
+
"FLpanelEnd",
|
|
954
|
+
"FLpanel_end",
|
|
955
|
+
"FLprintk",
|
|
956
|
+
"FLprintk2",
|
|
957
|
+
"FLroller",
|
|
958
|
+
"FLrun",
|
|
959
|
+
"FLsavesnap",
|
|
960
|
+
"FLscroll",
|
|
961
|
+
"FLscrollEnd",
|
|
962
|
+
"FLscroll_end",
|
|
963
|
+
"FLsetAlign",
|
|
964
|
+
"FLsetBox",
|
|
965
|
+
"FLsetColor",
|
|
966
|
+
"FLsetColor2",
|
|
967
|
+
"FLsetFont",
|
|
968
|
+
"FLsetPosition",
|
|
969
|
+
"FLsetSize",
|
|
970
|
+
"FLsetSnapGroup",
|
|
971
|
+
"FLsetText",
|
|
972
|
+
"FLsetTextColor",
|
|
973
|
+
"FLsetTextSize",
|
|
974
|
+
"FLsetTextType",
|
|
975
|
+
"FLsetVal",
|
|
976
|
+
"FLsetVal_i",
|
|
977
|
+
"FLsetVali",
|
|
978
|
+
"FLsetsnap",
|
|
979
|
+
"FLshow",
|
|
980
|
+
"FLslidBnk",
|
|
981
|
+
"FLslidBnk2",
|
|
982
|
+
"FLslidBnk2Set",
|
|
983
|
+
"FLslidBnk2Setk",
|
|
984
|
+
"FLslidBnkGetHandle",
|
|
985
|
+
"FLslidBnkSet",
|
|
986
|
+
"FLslidBnkSetk",
|
|
987
|
+
"FLslider",
|
|
988
|
+
"FLtabs",
|
|
989
|
+
"FLtabsEnd",
|
|
990
|
+
"FLtabs_end",
|
|
991
|
+
"FLtext",
|
|
992
|
+
"FLupdate",
|
|
993
|
+
"FLvalue",
|
|
994
|
+
"FLvkeybd",
|
|
995
|
+
"FLvslidBnk",
|
|
996
|
+
"FLvslidBnk2",
|
|
997
|
+
"FLxyin",
|
|
998
|
+
"JackoAudioIn",
|
|
999
|
+
"JackoAudioInConnect",
|
|
1000
|
+
"JackoAudioOut",
|
|
1001
|
+
"JackoAudioOutConnect",
|
|
1002
|
+
"JackoFreewheel",
|
|
1003
|
+
"JackoInfo",
|
|
1004
|
+
"JackoInit",
|
|
1005
|
+
"JackoMidiInConnect",
|
|
1006
|
+
"JackoMidiOut",
|
|
1007
|
+
"JackoMidiOutConnect",
|
|
1008
|
+
"JackoNoteOut",
|
|
1009
|
+
"JackoOn",
|
|
1010
|
+
"JackoTransport",
|
|
1011
|
+
"K35_hpf",
|
|
1012
|
+
"K35_lpf",
|
|
1013
|
+
"MixerClear",
|
|
1014
|
+
"MixerGetLevel",
|
|
1015
|
+
"MixerReceive",
|
|
1016
|
+
"MixerSend",
|
|
1017
|
+
"MixerSetLevel",
|
|
1018
|
+
"MixerSetLevel_i",
|
|
1019
|
+
"OSCbundle",
|
|
1020
|
+
"OSCcount",
|
|
1021
|
+
"OSCinit",
|
|
1022
|
+
"OSCinitM",
|
|
1023
|
+
"OSClisten",
|
|
1024
|
+
"OSCraw",
|
|
1025
|
+
"OSCsend",
|
|
1026
|
+
"OSCsend_lo",
|
|
1027
|
+
"S",
|
|
1028
|
+
"STKBandedWG",
|
|
1029
|
+
"STKBeeThree",
|
|
1030
|
+
"STKBlowBotl",
|
|
1031
|
+
"STKBlowHole",
|
|
1032
|
+
"STKBowed",
|
|
1033
|
+
"STKBrass",
|
|
1034
|
+
"STKClarinet",
|
|
1035
|
+
"STKDrummer",
|
|
1036
|
+
"STKFMVoices",
|
|
1037
|
+
"STKFlute",
|
|
1038
|
+
"STKHevyMetl",
|
|
1039
|
+
"STKMandolin",
|
|
1040
|
+
"STKModalBar",
|
|
1041
|
+
"STKMoog",
|
|
1042
|
+
"STKPercFlut",
|
|
1043
|
+
"STKPlucked",
|
|
1044
|
+
"STKResonate",
|
|
1045
|
+
"STKRhodey",
|
|
1046
|
+
"STKSaxofony",
|
|
1047
|
+
"STKShakers",
|
|
1048
|
+
"STKSimple",
|
|
1049
|
+
"STKSitar",
|
|
1050
|
+
"STKStifKarp",
|
|
1051
|
+
"STKTubeBell",
|
|
1052
|
+
"STKVoicForm",
|
|
1053
|
+
"STKWhistle",
|
|
1054
|
+
"STKWurley",
|
|
1055
|
+
"a",
|
|
1056
|
+
"abs",
|
|
1057
|
+
"active",
|
|
1058
|
+
"adsr",
|
|
1059
|
+
"adsyn",
|
|
1060
|
+
"adsynt",
|
|
1061
|
+
"adsynt2",
|
|
1062
|
+
"aftouch",
|
|
1063
|
+
"allpole",
|
|
1064
|
+
"alpass",
|
|
1065
|
+
"alwayson",
|
|
1066
|
+
"ampdb",
|
|
1067
|
+
"ampdbfs",
|
|
1068
|
+
"ampmidi",
|
|
1069
|
+
"ampmidicurve",
|
|
1070
|
+
"ampmidid",
|
|
1071
|
+
"apoleparams",
|
|
1072
|
+
"arduinoRead",
|
|
1073
|
+
"arduinoReadF",
|
|
1074
|
+
"arduinoStart",
|
|
1075
|
+
"arduinoStop",
|
|
1076
|
+
"areson",
|
|
1077
|
+
"aresonk",
|
|
1078
|
+
"atone",
|
|
1079
|
+
"atonek",
|
|
1080
|
+
"atonex",
|
|
1081
|
+
"autocorr",
|
|
1082
|
+
"babo",
|
|
1083
|
+
"balance",
|
|
1084
|
+
"balance2",
|
|
1085
|
+
"bamboo",
|
|
1086
|
+
"barmodel",
|
|
1087
|
+
"bbcutm",
|
|
1088
|
+
"bbcuts",
|
|
1089
|
+
"betarand",
|
|
1090
|
+
"bexprnd",
|
|
1091
|
+
"bformdec1",
|
|
1092
|
+
"bformdec2",
|
|
1093
|
+
"bformenc1",
|
|
1094
|
+
"binit",
|
|
1095
|
+
"biquad",
|
|
1096
|
+
"biquada",
|
|
1097
|
+
"birnd",
|
|
1098
|
+
"bob",
|
|
1099
|
+
"bpf",
|
|
1100
|
+
"bpfcos",
|
|
1101
|
+
"bqrez",
|
|
1102
|
+
"butbp",
|
|
1103
|
+
"butbr",
|
|
1104
|
+
"buthp",
|
|
1105
|
+
"butlp",
|
|
1106
|
+
"butterbp",
|
|
1107
|
+
"butterbr",
|
|
1108
|
+
"butterhp",
|
|
1109
|
+
"butterlp",
|
|
1110
|
+
"button",
|
|
1111
|
+
"buzz",
|
|
1112
|
+
"c2r",
|
|
1113
|
+
"cabasa",
|
|
1114
|
+
"cauchy",
|
|
1115
|
+
"cauchyi",
|
|
1116
|
+
"cbrt",
|
|
1117
|
+
"ceil",
|
|
1118
|
+
"cell",
|
|
1119
|
+
"cent",
|
|
1120
|
+
"centroid",
|
|
1121
|
+
"ceps",
|
|
1122
|
+
"cepsinv",
|
|
1123
|
+
"chanctrl",
|
|
1124
|
+
"changed",
|
|
1125
|
+
"changed2",
|
|
1126
|
+
"chani",
|
|
1127
|
+
"chano",
|
|
1128
|
+
"chebyshevpoly",
|
|
1129
|
+
"checkbox",
|
|
1130
|
+
"chn_S",
|
|
1131
|
+
"chn_a",
|
|
1132
|
+
"chn_k",
|
|
1133
|
+
"chnclear",
|
|
1134
|
+
"chnexport",
|
|
1135
|
+
"chnget",
|
|
1136
|
+
"chngeta",
|
|
1137
|
+
"chngeti",
|
|
1138
|
+
"chngetk",
|
|
1139
|
+
"chngetks",
|
|
1140
|
+
"chngets",
|
|
1141
|
+
"chnmix",
|
|
1142
|
+
"chnparams",
|
|
1143
|
+
"chnset",
|
|
1144
|
+
"chnseta",
|
|
1145
|
+
"chnseti",
|
|
1146
|
+
"chnsetk",
|
|
1147
|
+
"chnsetks",
|
|
1148
|
+
"chnsets",
|
|
1149
|
+
"chuap",
|
|
1150
|
+
"clear",
|
|
1151
|
+
"clfilt",
|
|
1152
|
+
"clip",
|
|
1153
|
+
"clockoff",
|
|
1154
|
+
"clockon",
|
|
1155
|
+
"cmp",
|
|
1156
|
+
"cmplxprod",
|
|
1157
|
+
"cntCreate",
|
|
1158
|
+
"cntCycles",
|
|
1159
|
+
"cntDelete",
|
|
1160
|
+
"cntDelete_i",
|
|
1161
|
+
"cntRead",
|
|
1162
|
+
"cntReset",
|
|
1163
|
+
"cntState",
|
|
1164
|
+
"comb",
|
|
1165
|
+
"combinv",
|
|
1166
|
+
"compilecsd",
|
|
1167
|
+
"compileorc",
|
|
1168
|
+
"compilestr",
|
|
1169
|
+
"compress",
|
|
1170
|
+
"compress2",
|
|
1171
|
+
"connect",
|
|
1172
|
+
"control",
|
|
1173
|
+
"convle",
|
|
1174
|
+
"convolve",
|
|
1175
|
+
"copya2ftab",
|
|
1176
|
+
"copyf2array",
|
|
1177
|
+
"cos",
|
|
1178
|
+
"cosh",
|
|
1179
|
+
"cosinv",
|
|
1180
|
+
"cosseg",
|
|
1181
|
+
"cossegb",
|
|
1182
|
+
"cossegr",
|
|
1183
|
+
"count",
|
|
1184
|
+
"count_i",
|
|
1185
|
+
"cps2pch",
|
|
1186
|
+
"cpsmidi",
|
|
1187
|
+
"cpsmidib",
|
|
1188
|
+
"cpsmidinn",
|
|
1189
|
+
"cpsoct",
|
|
1190
|
+
"cpspch",
|
|
1191
|
+
"cpstmid",
|
|
1192
|
+
"cpstun",
|
|
1193
|
+
"cpstuni",
|
|
1194
|
+
"cpsxpch",
|
|
1195
|
+
"cpumeter",
|
|
1196
|
+
"cpuprc",
|
|
1197
|
+
"cross2",
|
|
1198
|
+
"crossfm",
|
|
1199
|
+
"crossfmi",
|
|
1200
|
+
"crossfmpm",
|
|
1201
|
+
"crossfmpmi",
|
|
1202
|
+
"crosspm",
|
|
1203
|
+
"crosspmi",
|
|
1204
|
+
"crunch",
|
|
1205
|
+
"ctlchn",
|
|
1206
|
+
"ctrl14",
|
|
1207
|
+
"ctrl21",
|
|
1208
|
+
"ctrl7",
|
|
1209
|
+
"ctrlinit",
|
|
1210
|
+
"ctrlpreset",
|
|
1211
|
+
"ctrlprint",
|
|
1212
|
+
"ctrlprintpresets",
|
|
1213
|
+
"ctrlsave",
|
|
1214
|
+
"ctrlselect",
|
|
1215
|
+
"cuserrnd",
|
|
1216
|
+
"dam",
|
|
1217
|
+
"date",
|
|
1218
|
+
"dates",
|
|
1219
|
+
"db",
|
|
1220
|
+
"dbamp",
|
|
1221
|
+
"dbfsamp",
|
|
1222
|
+
"dcblock",
|
|
1223
|
+
"dcblock2",
|
|
1224
|
+
"dconv",
|
|
1225
|
+
"dct",
|
|
1226
|
+
"dctinv",
|
|
1227
|
+
"deinterleave",
|
|
1228
|
+
"delay",
|
|
1229
|
+
"delay1",
|
|
1230
|
+
"delayk",
|
|
1231
|
+
"delayr",
|
|
1232
|
+
"delayw",
|
|
1233
|
+
"deltap",
|
|
1234
|
+
"deltap3",
|
|
1235
|
+
"deltapi",
|
|
1236
|
+
"deltapn",
|
|
1237
|
+
"deltapx",
|
|
1238
|
+
"deltapxw",
|
|
1239
|
+
"denorm",
|
|
1240
|
+
"diff",
|
|
1241
|
+
"diode_ladder",
|
|
1242
|
+
"directory",
|
|
1243
|
+
"diskgrain",
|
|
1244
|
+
"diskin",
|
|
1245
|
+
"diskin2",
|
|
1246
|
+
"dispfft",
|
|
1247
|
+
"display",
|
|
1248
|
+
"distort",
|
|
1249
|
+
"distort1",
|
|
1250
|
+
"divz",
|
|
1251
|
+
"doppler",
|
|
1252
|
+
"dot",
|
|
1253
|
+
"downsamp",
|
|
1254
|
+
"dripwater",
|
|
1255
|
+
"dssiactivate",
|
|
1256
|
+
"dssiaudio",
|
|
1257
|
+
"dssictls",
|
|
1258
|
+
"dssiinit",
|
|
1259
|
+
"dssilist",
|
|
1260
|
+
"dumpk",
|
|
1261
|
+
"dumpk2",
|
|
1262
|
+
"dumpk3",
|
|
1263
|
+
"dumpk4",
|
|
1264
|
+
"duserrnd",
|
|
1265
|
+
"dust",
|
|
1266
|
+
"dust2",
|
|
1267
|
+
"elapsedcycles",
|
|
1268
|
+
"elapsedtime",
|
|
1269
|
+
"envlpx",
|
|
1270
|
+
"envlpxr",
|
|
1271
|
+
"ephasor",
|
|
1272
|
+
"eqfil",
|
|
1273
|
+
"evalstr",
|
|
1274
|
+
"event",
|
|
1275
|
+
"event_i",
|
|
1276
|
+
"eventcycles",
|
|
1277
|
+
"eventtime",
|
|
1278
|
+
"exciter",
|
|
1279
|
+
"exitnow",
|
|
1280
|
+
"exp",
|
|
1281
|
+
"expcurve",
|
|
1282
|
+
"expon",
|
|
1283
|
+
"exprand",
|
|
1284
|
+
"exprandi",
|
|
1285
|
+
"expseg",
|
|
1286
|
+
"expsega",
|
|
1287
|
+
"expsegb",
|
|
1288
|
+
"expsegba",
|
|
1289
|
+
"expsegr",
|
|
1290
|
+
"fareylen",
|
|
1291
|
+
"fareyleni",
|
|
1292
|
+
"faustaudio",
|
|
1293
|
+
"faustcompile",
|
|
1294
|
+
"faustctl",
|
|
1295
|
+
"faustdsp",
|
|
1296
|
+
"faustgen",
|
|
1297
|
+
"faustplay",
|
|
1298
|
+
"fft",
|
|
1299
|
+
"fftinv",
|
|
1300
|
+
"ficlose",
|
|
1301
|
+
"filebit",
|
|
1302
|
+
"filelen",
|
|
1303
|
+
"filenchnls",
|
|
1304
|
+
"filepeak",
|
|
1305
|
+
"filescal",
|
|
1306
|
+
"filesr",
|
|
1307
|
+
"filevalid",
|
|
1308
|
+
"fillarray",
|
|
1309
|
+
"filter2",
|
|
1310
|
+
"fin",
|
|
1311
|
+
"fini",
|
|
1312
|
+
"fink",
|
|
1313
|
+
"fiopen",
|
|
1314
|
+
"flanger",
|
|
1315
|
+
"flashtxt",
|
|
1316
|
+
"flooper",
|
|
1317
|
+
"flooper2",
|
|
1318
|
+
"floor",
|
|
1319
|
+
"fluidAllOut",
|
|
1320
|
+
"fluidCCi",
|
|
1321
|
+
"fluidCCk",
|
|
1322
|
+
"fluidControl",
|
|
1323
|
+
"fluidEngine",
|
|
1324
|
+
"fluidInfo",
|
|
1325
|
+
"fluidLoad",
|
|
1326
|
+
"fluidNote",
|
|
1327
|
+
"fluidOut",
|
|
1328
|
+
"fluidProgramSelect",
|
|
1329
|
+
"fluidSetInterpMethod",
|
|
1330
|
+
"fmanal",
|
|
1331
|
+
"fmax",
|
|
1332
|
+
"fmb3",
|
|
1333
|
+
"fmbell",
|
|
1334
|
+
"fmin",
|
|
1335
|
+
"fmmetal",
|
|
1336
|
+
"fmod",
|
|
1337
|
+
"fmpercfl",
|
|
1338
|
+
"fmrhode",
|
|
1339
|
+
"fmvoice",
|
|
1340
|
+
"fmwurlie",
|
|
1341
|
+
"fof",
|
|
1342
|
+
"fof2",
|
|
1343
|
+
"fofilter",
|
|
1344
|
+
"fog",
|
|
1345
|
+
"fold",
|
|
1346
|
+
"follow",
|
|
1347
|
+
"follow2",
|
|
1348
|
+
"foscil",
|
|
1349
|
+
"foscili",
|
|
1350
|
+
"fout",
|
|
1351
|
+
"fouti",
|
|
1352
|
+
"foutir",
|
|
1353
|
+
"foutk",
|
|
1354
|
+
"fprintks",
|
|
1355
|
+
"fprints",
|
|
1356
|
+
"frac",
|
|
1357
|
+
"fractalnoise",
|
|
1358
|
+
"framebuffer",
|
|
1359
|
+
"freeverb",
|
|
1360
|
+
"ftaudio",
|
|
1361
|
+
"ftchnls",
|
|
1362
|
+
"ftconv",
|
|
1363
|
+
"ftcps",
|
|
1364
|
+
"ftexists",
|
|
1365
|
+
"ftfree",
|
|
1366
|
+
"ftgen",
|
|
1367
|
+
"ftgenonce",
|
|
1368
|
+
"ftgentmp",
|
|
1369
|
+
"ftlen",
|
|
1370
|
+
"ftload",
|
|
1371
|
+
"ftloadk",
|
|
1372
|
+
"ftlptim",
|
|
1373
|
+
"ftmorf",
|
|
1374
|
+
"ftom",
|
|
1375
|
+
"ftprint",
|
|
1376
|
+
"ftresize",
|
|
1377
|
+
"ftresizei",
|
|
1378
|
+
"ftsamplebank",
|
|
1379
|
+
"ftsave",
|
|
1380
|
+
"ftsavek",
|
|
1381
|
+
"ftset",
|
|
1382
|
+
"ftslice",
|
|
1383
|
+
"ftslicei",
|
|
1384
|
+
"ftsr",
|
|
1385
|
+
"gain",
|
|
1386
|
+
"gainslider",
|
|
1387
|
+
"gauss",
|
|
1388
|
+
"gaussi",
|
|
1389
|
+
"gausstrig",
|
|
1390
|
+
"gbuzz",
|
|
1391
|
+
"genarray",
|
|
1392
|
+
"genarray_i",
|
|
1393
|
+
"gendy",
|
|
1394
|
+
"gendyc",
|
|
1395
|
+
"gendyx",
|
|
1396
|
+
"getcfg",
|
|
1397
|
+
"getcol",
|
|
1398
|
+
"getftargs",
|
|
1399
|
+
"getrow",
|
|
1400
|
+
"getseed",
|
|
1401
|
+
"gogobel",
|
|
1402
|
+
"grain",
|
|
1403
|
+
"grain2",
|
|
1404
|
+
"grain3",
|
|
1405
|
+
"granule",
|
|
1406
|
+
"gtadsr",
|
|
1407
|
+
"gtf",
|
|
1408
|
+
"guiro",
|
|
1409
|
+
"harmon",
|
|
1410
|
+
"harmon2",
|
|
1411
|
+
"harmon3",
|
|
1412
|
+
"harmon4",
|
|
1413
|
+
"hdf5read",
|
|
1414
|
+
"hdf5write",
|
|
1415
|
+
"hilbert",
|
|
1416
|
+
"hilbert2",
|
|
1417
|
+
"hrtfearly",
|
|
1418
|
+
"hrtfmove",
|
|
1419
|
+
"hrtfmove2",
|
|
1420
|
+
"hrtfreverb",
|
|
1421
|
+
"hrtfstat",
|
|
1422
|
+
"hsboscil",
|
|
1423
|
+
"hvs1",
|
|
1424
|
+
"hvs2",
|
|
1425
|
+
"hvs3",
|
|
1426
|
+
"hypot",
|
|
1427
|
+
"i",
|
|
1428
|
+
"ihold",
|
|
1429
|
+
"imagecreate",
|
|
1430
|
+
"imagefree",
|
|
1431
|
+
"imagegetpixel",
|
|
1432
|
+
"imageload",
|
|
1433
|
+
"imagesave",
|
|
1434
|
+
"imagesetpixel",
|
|
1435
|
+
"imagesize",
|
|
1436
|
+
"in",
|
|
1437
|
+
"in32",
|
|
1438
|
+
"inch",
|
|
1439
|
+
"inh",
|
|
1440
|
+
"init",
|
|
1441
|
+
"initc14",
|
|
1442
|
+
"initc21",
|
|
1443
|
+
"initc7",
|
|
1444
|
+
"inleta",
|
|
1445
|
+
"inletf",
|
|
1446
|
+
"inletk",
|
|
1447
|
+
"inletkid",
|
|
1448
|
+
"inletv",
|
|
1449
|
+
"ino",
|
|
1450
|
+
"inq",
|
|
1451
|
+
"inrg",
|
|
1452
|
+
"ins",
|
|
1453
|
+
"insglobal",
|
|
1454
|
+
"insremot",
|
|
1455
|
+
"int",
|
|
1456
|
+
"integ",
|
|
1457
|
+
"interleave",
|
|
1458
|
+
"interp",
|
|
1459
|
+
"invalue",
|
|
1460
|
+
"inx",
|
|
1461
|
+
"inz",
|
|
1462
|
+
"jacktransport",
|
|
1463
|
+
"jitter",
|
|
1464
|
+
"jitter2",
|
|
1465
|
+
"joystick",
|
|
1466
|
+
"jspline",
|
|
1467
|
+
"k",
|
|
1468
|
+
"la_i_add_mc",
|
|
1469
|
+
"la_i_add_mr",
|
|
1470
|
+
"la_i_add_vc",
|
|
1471
|
+
"la_i_add_vr",
|
|
1472
|
+
"la_i_assign_mc",
|
|
1473
|
+
"la_i_assign_mr",
|
|
1474
|
+
"la_i_assign_t",
|
|
1475
|
+
"la_i_assign_vc",
|
|
1476
|
+
"la_i_assign_vr",
|
|
1477
|
+
"la_i_conjugate_mc",
|
|
1478
|
+
"la_i_conjugate_mr",
|
|
1479
|
+
"la_i_conjugate_vc",
|
|
1480
|
+
"la_i_conjugate_vr",
|
|
1481
|
+
"la_i_distance_vc",
|
|
1482
|
+
"la_i_distance_vr",
|
|
1483
|
+
"la_i_divide_mc",
|
|
1484
|
+
"la_i_divide_mr",
|
|
1485
|
+
"la_i_divide_vc",
|
|
1486
|
+
"la_i_divide_vr",
|
|
1487
|
+
"la_i_dot_mc",
|
|
1488
|
+
"la_i_dot_mc_vc",
|
|
1489
|
+
"la_i_dot_mr",
|
|
1490
|
+
"la_i_dot_mr_vr",
|
|
1491
|
+
"la_i_dot_vc",
|
|
1492
|
+
"la_i_dot_vr",
|
|
1493
|
+
"la_i_get_mc",
|
|
1494
|
+
"la_i_get_mr",
|
|
1495
|
+
"la_i_get_vc",
|
|
1496
|
+
"la_i_get_vr",
|
|
1497
|
+
"la_i_invert_mc",
|
|
1498
|
+
"la_i_invert_mr",
|
|
1499
|
+
"la_i_lower_solve_mc",
|
|
1500
|
+
"la_i_lower_solve_mr",
|
|
1501
|
+
"la_i_lu_det_mc",
|
|
1502
|
+
"la_i_lu_det_mr",
|
|
1503
|
+
"la_i_lu_factor_mc",
|
|
1504
|
+
"la_i_lu_factor_mr",
|
|
1505
|
+
"la_i_lu_solve_mc",
|
|
1506
|
+
"la_i_lu_solve_mr",
|
|
1507
|
+
"la_i_mc_create",
|
|
1508
|
+
"la_i_mc_set",
|
|
1509
|
+
"la_i_mr_create",
|
|
1510
|
+
"la_i_mr_set",
|
|
1511
|
+
"la_i_multiply_mc",
|
|
1512
|
+
"la_i_multiply_mr",
|
|
1513
|
+
"la_i_multiply_vc",
|
|
1514
|
+
"la_i_multiply_vr",
|
|
1515
|
+
"la_i_norm1_mc",
|
|
1516
|
+
"la_i_norm1_mr",
|
|
1517
|
+
"la_i_norm1_vc",
|
|
1518
|
+
"la_i_norm1_vr",
|
|
1519
|
+
"la_i_norm_euclid_mc",
|
|
1520
|
+
"la_i_norm_euclid_mr",
|
|
1521
|
+
"la_i_norm_euclid_vc",
|
|
1522
|
+
"la_i_norm_euclid_vr",
|
|
1523
|
+
"la_i_norm_inf_mc",
|
|
1524
|
+
"la_i_norm_inf_mr",
|
|
1525
|
+
"la_i_norm_inf_vc",
|
|
1526
|
+
"la_i_norm_inf_vr",
|
|
1527
|
+
"la_i_norm_max_mc",
|
|
1528
|
+
"la_i_norm_max_mr",
|
|
1529
|
+
"la_i_print_mc",
|
|
1530
|
+
"la_i_print_mr",
|
|
1531
|
+
"la_i_print_vc",
|
|
1532
|
+
"la_i_print_vr",
|
|
1533
|
+
"la_i_qr_eigen_mc",
|
|
1534
|
+
"la_i_qr_eigen_mr",
|
|
1535
|
+
"la_i_qr_factor_mc",
|
|
1536
|
+
"la_i_qr_factor_mr",
|
|
1537
|
+
"la_i_qr_sym_eigen_mc",
|
|
1538
|
+
"la_i_qr_sym_eigen_mr",
|
|
1539
|
+
"la_i_random_mc",
|
|
1540
|
+
"la_i_random_mr",
|
|
1541
|
+
"la_i_random_vc",
|
|
1542
|
+
"la_i_random_vr",
|
|
1543
|
+
"la_i_size_mc",
|
|
1544
|
+
"la_i_size_mr",
|
|
1545
|
+
"la_i_size_vc",
|
|
1546
|
+
"la_i_size_vr",
|
|
1547
|
+
"la_i_subtract_mc",
|
|
1548
|
+
"la_i_subtract_mr",
|
|
1549
|
+
"la_i_subtract_vc",
|
|
1550
|
+
"la_i_subtract_vr",
|
|
1551
|
+
"la_i_t_assign",
|
|
1552
|
+
"la_i_trace_mc",
|
|
1553
|
+
"la_i_trace_mr",
|
|
1554
|
+
"la_i_transpose_mc",
|
|
1555
|
+
"la_i_transpose_mr",
|
|
1556
|
+
"la_i_upper_solve_mc",
|
|
1557
|
+
"la_i_upper_solve_mr",
|
|
1558
|
+
"la_i_vc_create",
|
|
1559
|
+
"la_i_vc_set",
|
|
1560
|
+
"la_i_vr_create",
|
|
1561
|
+
"la_i_vr_set",
|
|
1562
|
+
"la_k_a_assign",
|
|
1563
|
+
"la_k_add_mc",
|
|
1564
|
+
"la_k_add_mr",
|
|
1565
|
+
"la_k_add_vc",
|
|
1566
|
+
"la_k_add_vr",
|
|
1567
|
+
"la_k_assign_a",
|
|
1568
|
+
"la_k_assign_f",
|
|
1569
|
+
"la_k_assign_mc",
|
|
1570
|
+
"la_k_assign_mr",
|
|
1571
|
+
"la_k_assign_t",
|
|
1572
|
+
"la_k_assign_vc",
|
|
1573
|
+
"la_k_assign_vr",
|
|
1574
|
+
"la_k_conjugate_mc",
|
|
1575
|
+
"la_k_conjugate_mr",
|
|
1576
|
+
"la_k_conjugate_vc",
|
|
1577
|
+
"la_k_conjugate_vr",
|
|
1578
|
+
"la_k_current_f",
|
|
1579
|
+
"la_k_current_vr",
|
|
1580
|
+
"la_k_distance_vc",
|
|
1581
|
+
"la_k_distance_vr",
|
|
1582
|
+
"la_k_divide_mc",
|
|
1583
|
+
"la_k_divide_mr",
|
|
1584
|
+
"la_k_divide_vc",
|
|
1585
|
+
"la_k_divide_vr",
|
|
1586
|
+
"la_k_dot_mc",
|
|
1587
|
+
"la_k_dot_mc_vc",
|
|
1588
|
+
"la_k_dot_mr",
|
|
1589
|
+
"la_k_dot_mr_vr",
|
|
1590
|
+
"la_k_dot_vc",
|
|
1591
|
+
"la_k_dot_vr",
|
|
1592
|
+
"la_k_f_assign",
|
|
1593
|
+
"la_k_get_mc",
|
|
1594
|
+
"la_k_get_mr",
|
|
1595
|
+
"la_k_get_vc",
|
|
1596
|
+
"la_k_get_vr",
|
|
1597
|
+
"la_k_invert_mc",
|
|
1598
|
+
"la_k_invert_mr",
|
|
1599
|
+
"la_k_lower_solve_mc",
|
|
1600
|
+
"la_k_lower_solve_mr",
|
|
1601
|
+
"la_k_lu_det_mc",
|
|
1602
|
+
"la_k_lu_det_mr",
|
|
1603
|
+
"la_k_lu_factor_mc",
|
|
1604
|
+
"la_k_lu_factor_mr",
|
|
1605
|
+
"la_k_lu_solve_mc",
|
|
1606
|
+
"la_k_lu_solve_mr",
|
|
1607
|
+
"la_k_mc_set",
|
|
1608
|
+
"la_k_mr_set",
|
|
1609
|
+
"la_k_multiply_mc",
|
|
1610
|
+
"la_k_multiply_mr",
|
|
1611
|
+
"la_k_multiply_vc",
|
|
1612
|
+
"la_k_multiply_vr",
|
|
1613
|
+
"la_k_norm1_mc",
|
|
1614
|
+
"la_k_norm1_mr",
|
|
1615
|
+
"la_k_norm1_vc",
|
|
1616
|
+
"la_k_norm1_vr",
|
|
1617
|
+
"la_k_norm_euclid_mc",
|
|
1618
|
+
"la_k_norm_euclid_mr",
|
|
1619
|
+
"la_k_norm_euclid_vc",
|
|
1620
|
+
"la_k_norm_euclid_vr",
|
|
1621
|
+
"la_k_norm_inf_mc",
|
|
1622
|
+
"la_k_norm_inf_mr",
|
|
1623
|
+
"la_k_norm_inf_vc",
|
|
1624
|
+
"la_k_norm_inf_vr",
|
|
1625
|
+
"la_k_norm_max_mc",
|
|
1626
|
+
"la_k_norm_max_mr",
|
|
1627
|
+
"la_k_qr_eigen_mc",
|
|
1628
|
+
"la_k_qr_eigen_mr",
|
|
1629
|
+
"la_k_qr_factor_mc",
|
|
1630
|
+
"la_k_qr_factor_mr",
|
|
1631
|
+
"la_k_qr_sym_eigen_mc",
|
|
1632
|
+
"la_k_qr_sym_eigen_mr",
|
|
1633
|
+
"la_k_random_mc",
|
|
1634
|
+
"la_k_random_mr",
|
|
1635
|
+
"la_k_random_vc",
|
|
1636
|
+
"la_k_random_vr",
|
|
1637
|
+
"la_k_subtract_mc",
|
|
1638
|
+
"la_k_subtract_mr",
|
|
1639
|
+
"la_k_subtract_vc",
|
|
1640
|
+
"la_k_subtract_vr",
|
|
1641
|
+
"la_k_t_assign",
|
|
1642
|
+
"la_k_trace_mc",
|
|
1643
|
+
"la_k_trace_mr",
|
|
1644
|
+
"la_k_upper_solve_mc",
|
|
1645
|
+
"la_k_upper_solve_mr",
|
|
1646
|
+
"la_k_vc_set",
|
|
1647
|
+
"la_k_vr_set",
|
|
1648
|
+
"lag",
|
|
1649
|
+
"lagud",
|
|
1650
|
+
"lastcycle",
|
|
1651
|
+
"lenarray",
|
|
1652
|
+
"lfo",
|
|
1653
|
+
"lfsr",
|
|
1654
|
+
"limit",
|
|
1655
|
+
"limit1",
|
|
1656
|
+
"lincos",
|
|
1657
|
+
"line",
|
|
1658
|
+
"linen",
|
|
1659
|
+
"linenr",
|
|
1660
|
+
"lineto",
|
|
1661
|
+
"link_beat_force",
|
|
1662
|
+
"link_beat_get",
|
|
1663
|
+
"link_beat_request",
|
|
1664
|
+
"link_create",
|
|
1665
|
+
"link_enable",
|
|
1666
|
+
"link_is_enabled",
|
|
1667
|
+
"link_metro",
|
|
1668
|
+
"link_peers",
|
|
1669
|
+
"link_tempo_get",
|
|
1670
|
+
"link_tempo_set",
|
|
1671
|
+
"linlin",
|
|
1672
|
+
"linrand",
|
|
1673
|
+
"linseg",
|
|
1674
|
+
"linsegb",
|
|
1675
|
+
"linsegr",
|
|
1676
|
+
"liveconv",
|
|
1677
|
+
"locsend",
|
|
1678
|
+
"locsig",
|
|
1679
|
+
"log",
|
|
1680
|
+
"log10",
|
|
1681
|
+
"log2",
|
|
1682
|
+
"logbtwo",
|
|
1683
|
+
"logcurve",
|
|
1684
|
+
"loopseg",
|
|
1685
|
+
"loopsegp",
|
|
1686
|
+
"looptseg",
|
|
1687
|
+
"loopxseg",
|
|
1688
|
+
"lorenz",
|
|
1689
|
+
"loscil",
|
|
1690
|
+
"loscil3",
|
|
1691
|
+
"loscil3phs",
|
|
1692
|
+
"loscilphs",
|
|
1693
|
+
"loscilx",
|
|
1694
|
+
"lowpass2",
|
|
1695
|
+
"lowres",
|
|
1696
|
+
"lowresx",
|
|
1697
|
+
"lpcanal",
|
|
1698
|
+
"lpcfilter",
|
|
1699
|
+
"lpf18",
|
|
1700
|
+
"lpform",
|
|
1701
|
+
"lpfreson",
|
|
1702
|
+
"lphasor",
|
|
1703
|
+
"lpinterp",
|
|
1704
|
+
"lposcil",
|
|
1705
|
+
"lposcil3",
|
|
1706
|
+
"lposcila",
|
|
1707
|
+
"lposcilsa",
|
|
1708
|
+
"lposcilsa2",
|
|
1709
|
+
"lpread",
|
|
1710
|
+
"lpreson",
|
|
1711
|
+
"lpshold",
|
|
1712
|
+
"lpsholdp",
|
|
1713
|
+
"lpslot",
|
|
1714
|
+
"lufs",
|
|
1715
|
+
"mac",
|
|
1716
|
+
"maca",
|
|
1717
|
+
"madsr",
|
|
1718
|
+
"mags",
|
|
1719
|
+
"mandel",
|
|
1720
|
+
"mandol",
|
|
1721
|
+
"maparray",
|
|
1722
|
+
"maparray_i",
|
|
1723
|
+
"marimba",
|
|
1724
|
+
"massign",
|
|
1725
|
+
"max",
|
|
1726
|
+
"max_k",
|
|
1727
|
+
"maxabs",
|
|
1728
|
+
"maxabsaccum",
|
|
1729
|
+
"maxaccum",
|
|
1730
|
+
"maxalloc",
|
|
1731
|
+
"maxarray",
|
|
1732
|
+
"mclock",
|
|
1733
|
+
"mdelay",
|
|
1734
|
+
"median",
|
|
1735
|
+
"mediank",
|
|
1736
|
+
"metro",
|
|
1737
|
+
"metro2",
|
|
1738
|
+
"metrobpm",
|
|
1739
|
+
"mfb",
|
|
1740
|
+
"midglobal",
|
|
1741
|
+
"midiarp",
|
|
1742
|
+
"midic14",
|
|
1743
|
+
"midic21",
|
|
1744
|
+
"midic7",
|
|
1745
|
+
"midichannelaftertouch",
|
|
1746
|
+
"midichn",
|
|
1747
|
+
"midicontrolchange",
|
|
1748
|
+
"midictrl",
|
|
1749
|
+
"mididefault",
|
|
1750
|
+
"midifilestatus",
|
|
1751
|
+
"midiin",
|
|
1752
|
+
"midinoteoff",
|
|
1753
|
+
"midinoteoncps",
|
|
1754
|
+
"midinoteonkey",
|
|
1755
|
+
"midinoteonoct",
|
|
1756
|
+
"midinoteonpch",
|
|
1757
|
+
"midion",
|
|
1758
|
+
"midion2",
|
|
1759
|
+
"midiout",
|
|
1760
|
+
"midiout_i",
|
|
1761
|
+
"midipgm",
|
|
1762
|
+
"midipitchbend",
|
|
1763
|
+
"midipolyaftertouch",
|
|
1764
|
+
"midiprogramchange",
|
|
1765
|
+
"miditempo",
|
|
1766
|
+
"midremot",
|
|
1767
|
+
"min",
|
|
1768
|
+
"minabs",
|
|
1769
|
+
"minabsaccum",
|
|
1770
|
+
"minaccum",
|
|
1771
|
+
"minarray",
|
|
1772
|
+
"mincer",
|
|
1773
|
+
"mirror",
|
|
1774
|
+
"mode",
|
|
1775
|
+
"modmatrix",
|
|
1776
|
+
"monitor",
|
|
1777
|
+
"moog",
|
|
1778
|
+
"moogladder",
|
|
1779
|
+
"moogladder2",
|
|
1780
|
+
"moogvcf",
|
|
1781
|
+
"moogvcf2",
|
|
1782
|
+
"moscil",
|
|
1783
|
+
"mp3bitrate",
|
|
1784
|
+
"mp3in",
|
|
1785
|
+
"mp3len",
|
|
1786
|
+
"mp3nchnls",
|
|
1787
|
+
"mp3out",
|
|
1788
|
+
"mp3scal",
|
|
1789
|
+
"mp3sr",
|
|
1790
|
+
"mpulse",
|
|
1791
|
+
"mrtmsg",
|
|
1792
|
+
"ms2st",
|
|
1793
|
+
"mtof",
|
|
1794
|
+
"mton",
|
|
1795
|
+
"multitap",
|
|
1796
|
+
"mute",
|
|
1797
|
+
"mvchpf",
|
|
1798
|
+
"mvclpf1",
|
|
1799
|
+
"mvclpf2",
|
|
1800
|
+
"mvclpf3",
|
|
1801
|
+
"mvclpf4",
|
|
1802
|
+
"mvmfilter",
|
|
1803
|
+
"mxadsr",
|
|
1804
|
+
"nchnls_hw",
|
|
1805
|
+
"nestedap",
|
|
1806
|
+
"nlalp",
|
|
1807
|
+
"nlfilt",
|
|
1808
|
+
"nlfilt2",
|
|
1809
|
+
"noise",
|
|
1810
|
+
"noteoff",
|
|
1811
|
+
"noteon",
|
|
1812
|
+
"noteondur",
|
|
1813
|
+
"noteondur2",
|
|
1814
|
+
"notnum",
|
|
1815
|
+
"nreverb",
|
|
1816
|
+
"nrpn",
|
|
1817
|
+
"nsamp",
|
|
1818
|
+
"nstance",
|
|
1819
|
+
"nstrnum",
|
|
1820
|
+
"nstrstr",
|
|
1821
|
+
"ntof",
|
|
1822
|
+
"ntom",
|
|
1823
|
+
"ntrpol",
|
|
1824
|
+
"nxtpow2",
|
|
1825
|
+
"octave",
|
|
1826
|
+
"octcps",
|
|
1827
|
+
"octmidi",
|
|
1828
|
+
"octmidib",
|
|
1829
|
+
"octmidinn",
|
|
1830
|
+
"octpch",
|
|
1831
|
+
"olabuffer",
|
|
1832
|
+
"oscbnk",
|
|
1833
|
+
"oscil",
|
|
1834
|
+
"oscil1",
|
|
1835
|
+
"oscil1i",
|
|
1836
|
+
"oscil3",
|
|
1837
|
+
"oscili",
|
|
1838
|
+
"oscilikt",
|
|
1839
|
+
"osciliktp",
|
|
1840
|
+
"oscilikts",
|
|
1841
|
+
"osciln",
|
|
1842
|
+
"oscils",
|
|
1843
|
+
"oscilx",
|
|
1844
|
+
"out",
|
|
1845
|
+
"out32",
|
|
1846
|
+
"outall",
|
|
1847
|
+
"outc",
|
|
1848
|
+
"outch",
|
|
1849
|
+
"outh",
|
|
1850
|
+
"outiat",
|
|
1851
|
+
"outic",
|
|
1852
|
+
"outic14",
|
|
1853
|
+
"outipat",
|
|
1854
|
+
"outipb",
|
|
1855
|
+
"outipc",
|
|
1856
|
+
"outkat",
|
|
1857
|
+
"outkc",
|
|
1858
|
+
"outkc14",
|
|
1859
|
+
"outkpat",
|
|
1860
|
+
"outkpb",
|
|
1861
|
+
"outkpc",
|
|
1862
|
+
"outleta",
|
|
1863
|
+
"outletf",
|
|
1864
|
+
"outletk",
|
|
1865
|
+
"outletkid",
|
|
1866
|
+
"outletv",
|
|
1867
|
+
"outo",
|
|
1868
|
+
"outq",
|
|
1869
|
+
"outq1",
|
|
1870
|
+
"outq2",
|
|
1871
|
+
"outq3",
|
|
1872
|
+
"outq4",
|
|
1873
|
+
"outrg",
|
|
1874
|
+
"outs",
|
|
1875
|
+
"outs1",
|
|
1876
|
+
"outs2",
|
|
1877
|
+
"outvalue",
|
|
1878
|
+
"outx",
|
|
1879
|
+
"outz",
|
|
1880
|
+
"p",
|
|
1881
|
+
"p5gconnect",
|
|
1882
|
+
"p5gdata",
|
|
1883
|
+
"pan",
|
|
1884
|
+
"pan2",
|
|
1885
|
+
"pareq",
|
|
1886
|
+
"part2txt",
|
|
1887
|
+
"partials",
|
|
1888
|
+
"partikkel",
|
|
1889
|
+
"partikkelget",
|
|
1890
|
+
"partikkelset",
|
|
1891
|
+
"partikkelsync",
|
|
1892
|
+
"passign",
|
|
1893
|
+
"paulstretch",
|
|
1894
|
+
"pcauchy",
|
|
1895
|
+
"pchbend",
|
|
1896
|
+
"pchmidi",
|
|
1897
|
+
"pchmidib",
|
|
1898
|
+
"pchmidinn",
|
|
1899
|
+
"pchoct",
|
|
1900
|
+
"pchtom",
|
|
1901
|
+
"pconvolve",
|
|
1902
|
+
"pcount",
|
|
1903
|
+
"pdclip",
|
|
1904
|
+
"pdhalf",
|
|
1905
|
+
"pdhalfy",
|
|
1906
|
+
"peak",
|
|
1907
|
+
"pgmassign",
|
|
1908
|
+
"pgmchn",
|
|
1909
|
+
"phaser1",
|
|
1910
|
+
"phaser2",
|
|
1911
|
+
"phasor",
|
|
1912
|
+
"phasorbnk",
|
|
1913
|
+
"phs",
|
|
1914
|
+
"pindex",
|
|
1915
|
+
"pinker",
|
|
1916
|
+
"pinkish",
|
|
1917
|
+
"pitch",
|
|
1918
|
+
"pitchac",
|
|
1919
|
+
"pitchamdf",
|
|
1920
|
+
"planet",
|
|
1921
|
+
"platerev",
|
|
1922
|
+
"plltrack",
|
|
1923
|
+
"pluck",
|
|
1924
|
+
"poisson",
|
|
1925
|
+
"pol2rect",
|
|
1926
|
+
"polyaft",
|
|
1927
|
+
"polynomial",
|
|
1928
|
+
"port",
|
|
1929
|
+
"portk",
|
|
1930
|
+
"poscil",
|
|
1931
|
+
"poscil3",
|
|
1932
|
+
"pow",
|
|
1933
|
+
"powershape",
|
|
1934
|
+
"powoftwo",
|
|
1935
|
+
"pows",
|
|
1936
|
+
"prealloc",
|
|
1937
|
+
"prepiano",
|
|
1938
|
+
"print",
|
|
1939
|
+
"print_type",
|
|
1940
|
+
"printarray",
|
|
1941
|
+
"printf",
|
|
1942
|
+
"printf_i",
|
|
1943
|
+
"printk",
|
|
1944
|
+
"printk2",
|
|
1945
|
+
"printks",
|
|
1946
|
+
"printks2",
|
|
1947
|
+
"println",
|
|
1948
|
+
"prints",
|
|
1949
|
+
"printsk",
|
|
1950
|
+
"product",
|
|
1951
|
+
"pset",
|
|
1952
|
+
"ptablew",
|
|
1953
|
+
"ptrack",
|
|
1954
|
+
"puts",
|
|
1955
|
+
"pvadd",
|
|
1956
|
+
"pvbufread",
|
|
1957
|
+
"pvcross",
|
|
1958
|
+
"pvinterp",
|
|
1959
|
+
"pvoc",
|
|
1960
|
+
"pvread",
|
|
1961
|
+
"pvs2array",
|
|
1962
|
+
"pvs2tab",
|
|
1963
|
+
"pvsadsyn",
|
|
1964
|
+
"pvsanal",
|
|
1965
|
+
"pvsarp",
|
|
1966
|
+
"pvsbandp",
|
|
1967
|
+
"pvsbandr",
|
|
1968
|
+
"pvsbandwidth",
|
|
1969
|
+
"pvsbin",
|
|
1970
|
+
"pvsblur",
|
|
1971
|
+
"pvsbuffer",
|
|
1972
|
+
"pvsbufread",
|
|
1973
|
+
"pvsbufread2",
|
|
1974
|
+
"pvscale",
|
|
1975
|
+
"pvscent",
|
|
1976
|
+
"pvsceps",
|
|
1977
|
+
"pvscfs",
|
|
1978
|
+
"pvscross",
|
|
1979
|
+
"pvsdemix",
|
|
1980
|
+
"pvsdiskin",
|
|
1981
|
+
"pvsdisp",
|
|
1982
|
+
"pvsenvftw",
|
|
1983
|
+
"pvsfilter",
|
|
1984
|
+
"pvsfread",
|
|
1985
|
+
"pvsfreeze",
|
|
1986
|
+
"pvsfromarray",
|
|
1987
|
+
"pvsftr",
|
|
1988
|
+
"pvsftw",
|
|
1989
|
+
"pvsfwrite",
|
|
1990
|
+
"pvsgain",
|
|
1991
|
+
"pvsgendy",
|
|
1992
|
+
"pvshift",
|
|
1993
|
+
"pvsifd",
|
|
1994
|
+
"pvsin",
|
|
1995
|
+
"pvsinfo",
|
|
1996
|
+
"pvsinit",
|
|
1997
|
+
"pvslock",
|
|
1998
|
+
"pvslpc",
|
|
1999
|
+
"pvsmaska",
|
|
2000
|
+
"pvsmix",
|
|
2001
|
+
"pvsmooth",
|
|
2002
|
+
"pvsmorph",
|
|
2003
|
+
"pvsosc",
|
|
2004
|
+
"pvsout",
|
|
2005
|
+
"pvspitch",
|
|
2006
|
+
"pvstanal",
|
|
2007
|
+
"pvstencil",
|
|
2008
|
+
"pvstrace",
|
|
2009
|
+
"pvsvoc",
|
|
2010
|
+
"pvswarp",
|
|
2011
|
+
"pvsynth",
|
|
2012
|
+
"pwd",
|
|
2013
|
+
"pyassign",
|
|
2014
|
+
"pyassigni",
|
|
2015
|
+
"pyassignt",
|
|
2016
|
+
"pycall",
|
|
2017
|
+
"pycall1",
|
|
2018
|
+
"pycall1i",
|
|
2019
|
+
"pycall1t",
|
|
2020
|
+
"pycall2",
|
|
2021
|
+
"pycall2i",
|
|
2022
|
+
"pycall2t",
|
|
2023
|
+
"pycall3",
|
|
2024
|
+
"pycall3i",
|
|
2025
|
+
"pycall3t",
|
|
2026
|
+
"pycall4",
|
|
2027
|
+
"pycall4i",
|
|
2028
|
+
"pycall4t",
|
|
2029
|
+
"pycall5",
|
|
2030
|
+
"pycall5i",
|
|
2031
|
+
"pycall5t",
|
|
2032
|
+
"pycall6",
|
|
2033
|
+
"pycall6i",
|
|
2034
|
+
"pycall6t",
|
|
2035
|
+
"pycall7",
|
|
2036
|
+
"pycall7i",
|
|
2037
|
+
"pycall7t",
|
|
2038
|
+
"pycall8",
|
|
2039
|
+
"pycall8i",
|
|
2040
|
+
"pycall8t",
|
|
2041
|
+
"pycalli",
|
|
2042
|
+
"pycalln",
|
|
2043
|
+
"pycallni",
|
|
2044
|
+
"pycallt",
|
|
2045
|
+
"pyeval",
|
|
2046
|
+
"pyevali",
|
|
2047
|
+
"pyevalt",
|
|
2048
|
+
"pyexec",
|
|
2049
|
+
"pyexeci",
|
|
2050
|
+
"pyexect",
|
|
2051
|
+
"pyinit",
|
|
2052
|
+
"pylassign",
|
|
2053
|
+
"pylassigni",
|
|
2054
|
+
"pylassignt",
|
|
2055
|
+
"pylcall",
|
|
2056
|
+
"pylcall1",
|
|
2057
|
+
"pylcall1i",
|
|
2058
|
+
"pylcall1t",
|
|
2059
|
+
"pylcall2",
|
|
2060
|
+
"pylcall2i",
|
|
2061
|
+
"pylcall2t",
|
|
2062
|
+
"pylcall3",
|
|
2063
|
+
"pylcall3i",
|
|
2064
|
+
"pylcall3t",
|
|
2065
|
+
"pylcall4",
|
|
2066
|
+
"pylcall4i",
|
|
2067
|
+
"pylcall4t",
|
|
2068
|
+
"pylcall5",
|
|
2069
|
+
"pylcall5i",
|
|
2070
|
+
"pylcall5t",
|
|
2071
|
+
"pylcall6",
|
|
2072
|
+
"pylcall6i",
|
|
2073
|
+
"pylcall6t",
|
|
2074
|
+
"pylcall7",
|
|
2075
|
+
"pylcall7i",
|
|
2076
|
+
"pylcall7t",
|
|
2077
|
+
"pylcall8",
|
|
2078
|
+
"pylcall8i",
|
|
2079
|
+
"pylcall8t",
|
|
2080
|
+
"pylcalli",
|
|
2081
|
+
"pylcalln",
|
|
2082
|
+
"pylcallni",
|
|
2083
|
+
"pylcallt",
|
|
2084
|
+
"pyleval",
|
|
2085
|
+
"pylevali",
|
|
2086
|
+
"pylevalt",
|
|
2087
|
+
"pylexec",
|
|
2088
|
+
"pylexeci",
|
|
2089
|
+
"pylexect",
|
|
2090
|
+
"pylrun",
|
|
2091
|
+
"pylruni",
|
|
2092
|
+
"pylrunt",
|
|
2093
|
+
"pyrun",
|
|
2094
|
+
"pyruni",
|
|
2095
|
+
"pyrunt",
|
|
2096
|
+
"qinf",
|
|
2097
|
+
"qnan",
|
|
2098
|
+
"r2c",
|
|
2099
|
+
"rand",
|
|
2100
|
+
"randc",
|
|
2101
|
+
"randh",
|
|
2102
|
+
"randi",
|
|
2103
|
+
"random",
|
|
2104
|
+
"randomh",
|
|
2105
|
+
"randomi",
|
|
2106
|
+
"rbjeq",
|
|
2107
|
+
"readclock",
|
|
2108
|
+
"readf",
|
|
2109
|
+
"readfi",
|
|
2110
|
+
"readk",
|
|
2111
|
+
"readk2",
|
|
2112
|
+
"readk3",
|
|
2113
|
+
"readk4",
|
|
2114
|
+
"readks",
|
|
2115
|
+
"readscore",
|
|
2116
|
+
"readscratch",
|
|
2117
|
+
"rect2pol",
|
|
2118
|
+
"release",
|
|
2119
|
+
"remoteport",
|
|
2120
|
+
"remove",
|
|
2121
|
+
"repluck",
|
|
2122
|
+
"reshapearray",
|
|
2123
|
+
"reson",
|
|
2124
|
+
"resonbnk",
|
|
2125
|
+
"resonk",
|
|
2126
|
+
"resonr",
|
|
2127
|
+
"resonx",
|
|
2128
|
+
"resonxk",
|
|
2129
|
+
"resony",
|
|
2130
|
+
"resonz",
|
|
2131
|
+
"resyn",
|
|
2132
|
+
"reverb",
|
|
2133
|
+
"reverb2",
|
|
2134
|
+
"reverbsc",
|
|
2135
|
+
"rewindscore",
|
|
2136
|
+
"rezzy",
|
|
2137
|
+
"rfft",
|
|
2138
|
+
"rifft",
|
|
2139
|
+
"rms",
|
|
2140
|
+
"rnd",
|
|
2141
|
+
"rnd31",
|
|
2142
|
+
"rndseed",
|
|
2143
|
+
"round",
|
|
2144
|
+
"rspline",
|
|
2145
|
+
"rtclock",
|
|
2146
|
+
"s16b14",
|
|
2147
|
+
"s32b14",
|
|
2148
|
+
"samphold",
|
|
2149
|
+
"sandpaper",
|
|
2150
|
+
"sc_lag",
|
|
2151
|
+
"sc_lagud",
|
|
2152
|
+
"sc_phasor",
|
|
2153
|
+
"sc_trig",
|
|
2154
|
+
"scale",
|
|
2155
|
+
"scale2",
|
|
2156
|
+
"scalearray",
|
|
2157
|
+
"scanhammer",
|
|
2158
|
+
"scanmap",
|
|
2159
|
+
"scans",
|
|
2160
|
+
"scansmap",
|
|
2161
|
+
"scantable",
|
|
2162
|
+
"scanu",
|
|
2163
|
+
"scanu2",
|
|
2164
|
+
"schedkwhen",
|
|
2165
|
+
"schedkwhennamed",
|
|
2166
|
+
"schedule",
|
|
2167
|
+
"schedulek",
|
|
2168
|
+
"schedwhen",
|
|
2169
|
+
"scoreline",
|
|
2170
|
+
"scoreline_i",
|
|
2171
|
+
"seed",
|
|
2172
|
+
"sekere",
|
|
2173
|
+
"select",
|
|
2174
|
+
"semitone",
|
|
2175
|
+
"sense",
|
|
2176
|
+
"sensekey",
|
|
2177
|
+
"seqtime",
|
|
2178
|
+
"seqtime2",
|
|
2179
|
+
"sequ",
|
|
2180
|
+
"sequstate",
|
|
2181
|
+
"serialBegin",
|
|
2182
|
+
"serialEnd",
|
|
2183
|
+
"serialFlush",
|
|
2184
|
+
"serialPrint",
|
|
2185
|
+
"serialRead",
|
|
2186
|
+
"serialWrite",
|
|
2187
|
+
"serialWrite_i",
|
|
2188
|
+
"setcol",
|
|
2189
|
+
"setctrl",
|
|
2190
|
+
"setksmps",
|
|
2191
|
+
"setrow",
|
|
2192
|
+
"setscorepos",
|
|
2193
|
+
"sfilist",
|
|
2194
|
+
"sfinstr",
|
|
2195
|
+
"sfinstr3",
|
|
2196
|
+
"sfinstr3m",
|
|
2197
|
+
"sfinstrm",
|
|
2198
|
+
"sfload",
|
|
2199
|
+
"sflooper",
|
|
2200
|
+
"sfpassign",
|
|
2201
|
+
"sfplay",
|
|
2202
|
+
"sfplay3",
|
|
2203
|
+
"sfplay3m",
|
|
2204
|
+
"sfplaym",
|
|
2205
|
+
"sfplist",
|
|
2206
|
+
"sfpreset",
|
|
2207
|
+
"shaker",
|
|
2208
|
+
"shiftin",
|
|
2209
|
+
"shiftout",
|
|
2210
|
+
"signum",
|
|
2211
|
+
"sin",
|
|
2212
|
+
"sinh",
|
|
2213
|
+
"sininv",
|
|
2214
|
+
"sinsyn",
|
|
2215
|
+
"skf",
|
|
2216
|
+
"sleighbells",
|
|
2217
|
+
"slicearray",
|
|
2218
|
+
"slicearray_i",
|
|
2219
|
+
"slider16",
|
|
2220
|
+
"slider16f",
|
|
2221
|
+
"slider16table",
|
|
2222
|
+
"slider16tablef",
|
|
2223
|
+
"slider32",
|
|
2224
|
+
"slider32f",
|
|
2225
|
+
"slider32table",
|
|
2226
|
+
"slider32tablef",
|
|
2227
|
+
"slider64",
|
|
2228
|
+
"slider64f",
|
|
2229
|
+
"slider64table",
|
|
2230
|
+
"slider64tablef",
|
|
2231
|
+
"slider8",
|
|
2232
|
+
"slider8f",
|
|
2233
|
+
"slider8table",
|
|
2234
|
+
"slider8tablef",
|
|
2235
|
+
"sliderKawai",
|
|
2236
|
+
"sndloop",
|
|
2237
|
+
"sndwarp",
|
|
2238
|
+
"sndwarpst",
|
|
2239
|
+
"sockrecv",
|
|
2240
|
+
"sockrecvs",
|
|
2241
|
+
"socksend",
|
|
2242
|
+
"socksends",
|
|
2243
|
+
"sorta",
|
|
2244
|
+
"sortd",
|
|
2245
|
+
"soundin",
|
|
2246
|
+
"space",
|
|
2247
|
+
"spat3d",
|
|
2248
|
+
"spat3di",
|
|
2249
|
+
"spat3dt",
|
|
2250
|
+
"spdist",
|
|
2251
|
+
"spf",
|
|
2252
|
+
"splitrig",
|
|
2253
|
+
"sprintf",
|
|
2254
|
+
"sprintfk",
|
|
2255
|
+
"spsend",
|
|
2256
|
+
"sqrt",
|
|
2257
|
+
"squinewave",
|
|
2258
|
+
"st2ms",
|
|
2259
|
+
"statevar",
|
|
2260
|
+
"sterrain",
|
|
2261
|
+
"stix",
|
|
2262
|
+
"strcat",
|
|
2263
|
+
"strcatk",
|
|
2264
|
+
"strchar",
|
|
2265
|
+
"strchark",
|
|
2266
|
+
"strcmp",
|
|
2267
|
+
"strcmpk",
|
|
2268
|
+
"strcpy",
|
|
2269
|
+
"strcpyk",
|
|
2270
|
+
"strecv",
|
|
2271
|
+
"streson",
|
|
2272
|
+
"strfromurl",
|
|
2273
|
+
"strget",
|
|
2274
|
+
"strindex",
|
|
2275
|
+
"strindexk",
|
|
2276
|
+
"string2array",
|
|
2277
|
+
"strlen",
|
|
2278
|
+
"strlenk",
|
|
2279
|
+
"strlower",
|
|
2280
|
+
"strlowerk",
|
|
2281
|
+
"strrindex",
|
|
2282
|
+
"strrindexk",
|
|
2283
|
+
"strset",
|
|
2284
|
+
"strstrip",
|
|
2285
|
+
"strsub",
|
|
2286
|
+
"strsubk",
|
|
2287
|
+
"strtod",
|
|
2288
|
+
"strtodk",
|
|
2289
|
+
"strtol",
|
|
2290
|
+
"strtolk",
|
|
2291
|
+
"strupper",
|
|
2292
|
+
"strupperk",
|
|
2293
|
+
"stsend",
|
|
2294
|
+
"subinstr",
|
|
2295
|
+
"subinstrinit",
|
|
2296
|
+
"sum",
|
|
2297
|
+
"sumarray",
|
|
2298
|
+
"svfilter",
|
|
2299
|
+
"svn",
|
|
2300
|
+
"syncgrain",
|
|
2301
|
+
"syncloop",
|
|
2302
|
+
"syncphasor",
|
|
2303
|
+
"system",
|
|
2304
|
+
"system_i",
|
|
2305
|
+
"tab",
|
|
2306
|
+
"tab2array",
|
|
2307
|
+
"tab2pvs",
|
|
2308
|
+
"tab_i",
|
|
2309
|
+
"tabifd",
|
|
2310
|
+
"table",
|
|
2311
|
+
"table3",
|
|
2312
|
+
"table3kt",
|
|
2313
|
+
"tablecopy",
|
|
2314
|
+
"tablefilter",
|
|
2315
|
+
"tablefilteri",
|
|
2316
|
+
"tablegpw",
|
|
2317
|
+
"tablei",
|
|
2318
|
+
"tableicopy",
|
|
2319
|
+
"tableigpw",
|
|
2320
|
+
"tableikt",
|
|
2321
|
+
"tableimix",
|
|
2322
|
+
"tablekt",
|
|
2323
|
+
"tablemix",
|
|
2324
|
+
"tableng",
|
|
2325
|
+
"tablera",
|
|
2326
|
+
"tableseg",
|
|
2327
|
+
"tableshuffle",
|
|
2328
|
+
"tableshufflei",
|
|
2329
|
+
"tablew",
|
|
2330
|
+
"tablewa",
|
|
2331
|
+
"tablewkt",
|
|
2332
|
+
"tablexkt",
|
|
2333
|
+
"tablexseg",
|
|
2334
|
+
"tabmorph",
|
|
2335
|
+
"tabmorpha",
|
|
2336
|
+
"tabmorphak",
|
|
2337
|
+
"tabmorphi",
|
|
2338
|
+
"tabplay",
|
|
2339
|
+
"tabrec",
|
|
2340
|
+
"tabsum",
|
|
2341
|
+
"tabw",
|
|
2342
|
+
"tabw_i",
|
|
2343
|
+
"tambourine",
|
|
2344
|
+
"tan",
|
|
2345
|
+
"tanh",
|
|
2346
|
+
"taninv",
|
|
2347
|
+
"taninv2",
|
|
2348
|
+
"tbvcf",
|
|
2349
|
+
"tempest",
|
|
2350
|
+
"tempo",
|
|
2351
|
+
"temposcal",
|
|
2352
|
+
"tempoval",
|
|
2353
|
+
"timedseq",
|
|
2354
|
+
"timeinstk",
|
|
2355
|
+
"timeinsts",
|
|
2356
|
+
"timek",
|
|
2357
|
+
"times",
|
|
2358
|
+
"tival",
|
|
2359
|
+
"tlineto",
|
|
2360
|
+
"tone",
|
|
2361
|
+
"tonek",
|
|
2362
|
+
"tonex",
|
|
2363
|
+
"tradsyn",
|
|
2364
|
+
"trandom",
|
|
2365
|
+
"transeg",
|
|
2366
|
+
"transegb",
|
|
2367
|
+
"transegr",
|
|
2368
|
+
"trcross",
|
|
2369
|
+
"trfilter",
|
|
2370
|
+
"trhighest",
|
|
2371
|
+
"trigExpseg",
|
|
2372
|
+
"trigLinseg",
|
|
2373
|
+
"trigexpseg",
|
|
2374
|
+
"trigger",
|
|
2375
|
+
"trighold",
|
|
2376
|
+
"triglinseg",
|
|
2377
|
+
"trigphasor",
|
|
2378
|
+
"trigseq",
|
|
2379
|
+
"trim",
|
|
2380
|
+
"trim_i",
|
|
2381
|
+
"trirand",
|
|
2382
|
+
"trlowest",
|
|
2383
|
+
"trmix",
|
|
2384
|
+
"trscale",
|
|
2385
|
+
"trshift",
|
|
2386
|
+
"trsplit",
|
|
2387
|
+
"turnoff",
|
|
2388
|
+
"turnoff2",
|
|
2389
|
+
"turnoff2_i",
|
|
2390
|
+
"turnoff3",
|
|
2391
|
+
"turnon",
|
|
2392
|
+
"tvconv",
|
|
2393
|
+
"unirand",
|
|
2394
|
+
"unwrap",
|
|
2395
|
+
"upsamp",
|
|
2396
|
+
"urandom",
|
|
2397
|
+
"urd",
|
|
2398
|
+
"vactrol",
|
|
2399
|
+
"vadd",
|
|
2400
|
+
"vadd_i",
|
|
2401
|
+
"vaddv",
|
|
2402
|
+
"vaddv_i",
|
|
2403
|
+
"vaget",
|
|
2404
|
+
"valpass",
|
|
2405
|
+
"vaset",
|
|
2406
|
+
"vbap",
|
|
2407
|
+
"vbapg",
|
|
2408
|
+
"vbapgmove",
|
|
2409
|
+
"vbaplsinit",
|
|
2410
|
+
"vbapmove",
|
|
2411
|
+
"vbapz",
|
|
2412
|
+
"vbapzmove",
|
|
2413
|
+
"vcella",
|
|
2414
|
+
"vclpf",
|
|
2415
|
+
"vco",
|
|
2416
|
+
"vco2",
|
|
2417
|
+
"vco2ft",
|
|
2418
|
+
"vco2ift",
|
|
2419
|
+
"vco2init",
|
|
2420
|
+
"vcomb",
|
|
2421
|
+
"vcopy",
|
|
2422
|
+
"vcopy_i",
|
|
2423
|
+
"vdel_k",
|
|
2424
|
+
"vdelay",
|
|
2425
|
+
"vdelay3",
|
|
2426
|
+
"vdelayk",
|
|
2427
|
+
"vdelayx",
|
|
2428
|
+
"vdelayxq",
|
|
2429
|
+
"vdelayxs",
|
|
2430
|
+
"vdelayxw",
|
|
2431
|
+
"vdelayxwq",
|
|
2432
|
+
"vdelayxws",
|
|
2433
|
+
"vdivv",
|
|
2434
|
+
"vdivv_i",
|
|
2435
|
+
"vecdelay",
|
|
2436
|
+
"veloc",
|
|
2437
|
+
"vexp",
|
|
2438
|
+
"vexp_i",
|
|
2439
|
+
"vexpseg",
|
|
2440
|
+
"vexpv",
|
|
2441
|
+
"vexpv_i",
|
|
2442
|
+
"vibes",
|
|
2443
|
+
"vibr",
|
|
2444
|
+
"vibrato",
|
|
2445
|
+
"vincr",
|
|
2446
|
+
"vlimit",
|
|
2447
|
+
"vlinseg",
|
|
2448
|
+
"vlowres",
|
|
2449
|
+
"vmap",
|
|
2450
|
+
"vmirror",
|
|
2451
|
+
"vmult",
|
|
2452
|
+
"vmult_i",
|
|
2453
|
+
"vmultv",
|
|
2454
|
+
"vmultv_i",
|
|
2455
|
+
"voice",
|
|
2456
|
+
"vosim",
|
|
2457
|
+
"vphaseseg",
|
|
2458
|
+
"vport",
|
|
2459
|
+
"vpow",
|
|
2460
|
+
"vpow_i",
|
|
2461
|
+
"vpowv",
|
|
2462
|
+
"vpowv_i",
|
|
2463
|
+
"vps",
|
|
2464
|
+
"vpvoc",
|
|
2465
|
+
"vrandh",
|
|
2466
|
+
"vrandi",
|
|
2467
|
+
"vsubv",
|
|
2468
|
+
"vsubv_i",
|
|
2469
|
+
"vtaba",
|
|
2470
|
+
"vtabi",
|
|
2471
|
+
"vtabk",
|
|
2472
|
+
"vtable1k",
|
|
2473
|
+
"vtablea",
|
|
2474
|
+
"vtablei",
|
|
2475
|
+
"vtablek",
|
|
2476
|
+
"vtablewa",
|
|
2477
|
+
"vtablewi",
|
|
2478
|
+
"vtablewk",
|
|
2479
|
+
"vtabwa",
|
|
2480
|
+
"vtabwi",
|
|
2481
|
+
"vtabwk",
|
|
2482
|
+
"vwrap",
|
|
2483
|
+
"waveset",
|
|
2484
|
+
"websocket",
|
|
2485
|
+
"weibull",
|
|
2486
|
+
"wgbow",
|
|
2487
|
+
"wgbowedbar",
|
|
2488
|
+
"wgbrass",
|
|
2489
|
+
"wgclar",
|
|
2490
|
+
"wgflute",
|
|
2491
|
+
"wgpluck",
|
|
2492
|
+
"wgpluck2",
|
|
2493
|
+
"wguide1",
|
|
2494
|
+
"wguide2",
|
|
2495
|
+
"wiiconnect",
|
|
2496
|
+
"wiidata",
|
|
2497
|
+
"wiirange",
|
|
2498
|
+
"wiisend",
|
|
2499
|
+
"window",
|
|
2500
|
+
"wrap",
|
|
2501
|
+
"writescratch",
|
|
2502
|
+
"wterrain",
|
|
2503
|
+
"wterrain2",
|
|
2504
|
+
"xadsr",
|
|
2505
|
+
"xin",
|
|
2506
|
+
"xout",
|
|
2507
|
+
"xtratim",
|
|
2508
|
+
"xyscale",
|
|
2509
|
+
"zacl",
|
|
2510
|
+
"zakinit",
|
|
2511
|
+
"zamod",
|
|
2512
|
+
"zar",
|
|
2513
|
+
"zarg",
|
|
2514
|
+
"zaw",
|
|
2515
|
+
"zawm",
|
|
2516
|
+
"zdf_1pole",
|
|
2517
|
+
"zdf_1pole_mode",
|
|
2518
|
+
"zdf_2pole",
|
|
2519
|
+
"zdf_2pole_mode",
|
|
2520
|
+
"zdf_ladder",
|
|
2521
|
+
"zfilter2",
|
|
2522
|
+
"zir",
|
|
2523
|
+
"ziw",
|
|
2524
|
+
"ziwm",
|
|
2525
|
+
"zkcl",
|
|
2526
|
+
"zkmod",
|
|
2527
|
+
"zkr",
|
|
2528
|
+
"zkw",
|
|
2529
|
+
"zkwm"
|
|
2530
|
+
];
|
|
2531
|
+
var deprecatedOpcodes = [
|
|
2532
|
+
"OSCsendA",
|
|
2533
|
+
"array",
|
|
2534
|
+
"beadsynt",
|
|
2535
|
+
"beosc",
|
|
2536
|
+
"bformdec",
|
|
2537
|
+
"bformenc",
|
|
2538
|
+
"buchla",
|
|
2539
|
+
"copy2ftab",
|
|
2540
|
+
"copy2ttab",
|
|
2541
|
+
"getrowlin",
|
|
2542
|
+
"hrtfer",
|
|
2543
|
+
"ktableseg",
|
|
2544
|
+
"lentab",
|
|
2545
|
+
"lua_exec",
|
|
2546
|
+
"lua_iaopcall",
|
|
2547
|
+
"lua_iaopcall_off",
|
|
2548
|
+
"lua_ikopcall",
|
|
2549
|
+
"lua_ikopcall_off",
|
|
2550
|
+
"lua_iopcall",
|
|
2551
|
+
"lua_iopcall_off",
|
|
2552
|
+
"lua_opdef",
|
|
2553
|
+
"maxtab",
|
|
2554
|
+
"mintab",
|
|
2555
|
+
"mp3scal_check",
|
|
2556
|
+
"mp3scal_load",
|
|
2557
|
+
"mp3scal_load2",
|
|
2558
|
+
"mp3scal_play",
|
|
2559
|
+
"mp3scal_play2",
|
|
2560
|
+
"pop",
|
|
2561
|
+
"pop_f",
|
|
2562
|
+
"ptable",
|
|
2563
|
+
"ptable3",
|
|
2564
|
+
"ptablei",
|
|
2565
|
+
"ptableiw",
|
|
2566
|
+
"push",
|
|
2567
|
+
"push_f",
|
|
2568
|
+
"pvsgendy",
|
|
2569
|
+
"scalet",
|
|
2570
|
+
"signalflowgraph",
|
|
2571
|
+
"sndload",
|
|
2572
|
+
"socksend_k",
|
|
2573
|
+
"soundout",
|
|
2574
|
+
"soundouts",
|
|
2575
|
+
"specaddm",
|
|
2576
|
+
"specdiff",
|
|
2577
|
+
"specdisp",
|
|
2578
|
+
"specfilt",
|
|
2579
|
+
"spechist",
|
|
2580
|
+
"specptrk",
|
|
2581
|
+
"specscal",
|
|
2582
|
+
"specsum",
|
|
2583
|
+
"spectrum",
|
|
2584
|
+
"stack",
|
|
2585
|
+
"sumTableFilter",
|
|
2586
|
+
"sumtab",
|
|
2587
|
+
"systime",
|
|
2588
|
+
"tabgen",
|
|
2589
|
+
"tableiw",
|
|
2590
|
+
"tabmap",
|
|
2591
|
+
"tabmap_i",
|
|
2592
|
+
"tabrowlin",
|
|
2593
|
+
"tabslice",
|
|
2594
|
+
"tb0",
|
|
2595
|
+
"tb0_init",
|
|
2596
|
+
"tb1",
|
|
2597
|
+
"tb10",
|
|
2598
|
+
"tb10_init",
|
|
2599
|
+
"tb11",
|
|
2600
|
+
"tb11_init",
|
|
2601
|
+
"tb12",
|
|
2602
|
+
"tb12_init",
|
|
2603
|
+
"tb13",
|
|
2604
|
+
"tb13_init",
|
|
2605
|
+
"tb14",
|
|
2606
|
+
"tb14_init",
|
|
2607
|
+
"tb15",
|
|
2608
|
+
"tb15_init",
|
|
2609
|
+
"tb1_init",
|
|
2610
|
+
"tb2",
|
|
2611
|
+
"tb2_init",
|
|
2612
|
+
"tb3",
|
|
2613
|
+
"tb3_init",
|
|
2614
|
+
"tb4",
|
|
2615
|
+
"tb4_init",
|
|
2616
|
+
"tb5",
|
|
2617
|
+
"tb5_init",
|
|
2618
|
+
"tb6",
|
|
2619
|
+
"tb6_init",
|
|
2620
|
+
"tb7",
|
|
2621
|
+
"tb7_init",
|
|
2622
|
+
"tb8",
|
|
2623
|
+
"tb8_init",
|
|
2624
|
+
"tb9",
|
|
2625
|
+
"tb9_init",
|
|
2626
|
+
"vbap16",
|
|
2627
|
+
"vbap1move",
|
|
2628
|
+
"vbap4",
|
|
2629
|
+
"vbap4move",
|
|
2630
|
+
"vbap8",
|
|
2631
|
+
"vbap8move",
|
|
2632
|
+
"xscanmap",
|
|
2633
|
+
"xscans",
|
|
2634
|
+
"xscansmap",
|
|
2635
|
+
"xscanu",
|
|
2636
|
+
"xyin"
|
|
2637
|
+
];
|
|
2638
|
+
opcodes = lang.arrayToMap(opcodes);
|
|
2639
|
+
deprecatedOpcodes = lang.arrayToMap(deprecatedOpcodes);
|
|
2640
|
+
this.lineContinuations = [
|
|
2641
|
+
{
|
|
2642
|
+
token: "constant.character.escape.line-continuation.csound",
|
|
2643
|
+
regex: /\\$/
|
|
2644
|
+
}, this.pushRule({
|
|
2645
|
+
token: "constant.character.escape.line-continuation.csound",
|
|
2646
|
+
regex: /\\/,
|
|
2647
|
+
next: "line continuation"
|
|
2648
|
+
})
|
|
2649
|
+
];
|
|
2650
|
+
this.comments.push(this.lineContinuations);
|
|
2651
|
+
this.quotedStringContents.push(this.lineContinuations, {
|
|
2652
|
+
token: "invalid.illegal",
|
|
2653
|
+
regex: /[^"\\]*$/
|
|
2654
|
+
});
|
|
2655
|
+
var start = this.$rules.start;
|
|
2656
|
+
start.splice(1, 0, {
|
|
2657
|
+
token: ["text.csound", "entity.name.label.csound", "entity.punctuation.label.csound", "text.csound"],
|
|
2658
|
+
regex: /^([ \t]*)(\w+)(:)([ \t]+|$)/
|
|
2659
|
+
});
|
|
2660
|
+
start.push(this.pushRule({
|
|
2661
|
+
token: "keyword.function.csound",
|
|
2662
|
+
regex: /\binstr\b/,
|
|
2663
|
+
next: "instrument numbers and identifiers"
|
|
2664
|
+
}), this.pushRule({
|
|
2665
|
+
token: "keyword.function.csound",
|
|
2666
|
+
regex: /\bopcode\b/,
|
|
2667
|
+
next: "after opcode keyword"
|
|
2668
|
+
}), {
|
|
2669
|
+
token: "keyword.other.csound",
|
|
2670
|
+
regex: /\bend(?:in|op)\b/
|
|
2671
|
+
}, {
|
|
2672
|
+
token: "variable.language.csound",
|
|
2673
|
+
regex: /\b(?:0dbfs|A4|k(?:r|smps)|nchnls(?:_i)?|sr)\b/
|
|
2674
|
+
}, this.numbers, {
|
|
2675
|
+
token: "keyword.operator.csound",
|
|
2676
|
+
regex: "\\+=|-=|\\*=|/=|<<|>>|<=|>=|==|!=|&&|\\|\\||[~¬]|[=!+\\-*/^%&|<>#?:]"
|
|
2677
|
+
}, this.pushRule({
|
|
2678
|
+
token: "punctuation.definition.string.begin.csound",
|
|
2679
|
+
regex: /"/,
|
|
2680
|
+
next: "quoted string"
|
|
2681
|
+
}), this.pushRule({
|
|
2682
|
+
token: "punctuation.definition.string.begin.csound",
|
|
2683
|
+
regex: /{{/,
|
|
2684
|
+
next: "braced string"
|
|
2685
|
+
}), {
|
|
2686
|
+
token: "keyword.control.csound",
|
|
2687
|
+
regex: /\b(?:do|else(?:if)?|end(?:if|until)|fi|i(?:f|then)|kthen|od|r(?:ir)?eturn|then|until|while)\b/
|
|
2688
|
+
}, this.pushRule({
|
|
2689
|
+
token: "keyword.control.csound",
|
|
2690
|
+
regex: /\b[ik]?goto\b/,
|
|
2691
|
+
next: "goto before label"
|
|
2692
|
+
}), this.pushRule({
|
|
2693
|
+
token: "keyword.control.csound",
|
|
2694
|
+
regex: /\b(?:r(?:einit|igoto)|tigoto)\b/,
|
|
2695
|
+
next: "goto before label"
|
|
2696
|
+
}), this.pushRule({
|
|
2697
|
+
token: "keyword.control.csound",
|
|
2698
|
+
regex: /\bc(?:g|in?|k|nk?)goto\b/,
|
|
2699
|
+
next: ["goto before label", "goto before argument"]
|
|
2700
|
+
}), this.pushRule({
|
|
2701
|
+
token: "keyword.control.csound",
|
|
2702
|
+
regex: /\btimout\b/,
|
|
2703
|
+
next: ["goto before label", "goto before argument", "goto before argument"]
|
|
2704
|
+
}), this.pushRule({
|
|
2705
|
+
token: "keyword.control.csound",
|
|
2706
|
+
regex: /\bloop_[gl][et]\b/,
|
|
2707
|
+
next: ["goto before label", "goto before argument", "goto before argument", "goto before argument"]
|
|
2708
|
+
}), this.pushRule({
|
|
2709
|
+
token: "support.function.csound",
|
|
2710
|
+
regex: /\b(?:readscore|scoreline(?:_i)?)\b/,
|
|
2711
|
+
next: "Csound score opcode"
|
|
2712
|
+
}), this.pushRule({
|
|
2713
|
+
token: "support.function.csound",
|
|
2714
|
+
regex: /\bpyl?run[it]?\b(?!$)/,
|
|
2715
|
+
next: "Python opcode"
|
|
2716
|
+
}), this.pushRule({
|
|
2717
|
+
token: "support.function.csound",
|
|
2718
|
+
regex: /\blua_(?:exec|opdef)\b(?!$)/,
|
|
2719
|
+
next: "Lua opcode"
|
|
2720
|
+
}), {
|
|
2721
|
+
token: "support.variable.csound",
|
|
2722
|
+
regex: /\bp\d+\b/
|
|
2723
|
+
}, {
|
|
2724
|
+
regex: /\b([A-Z_a-z]\w*)(?:(:)([A-Za-z]))?\b/, onMatch: function (value, currentState, stack, line) {
|
|
2725
|
+
var tokens = value.split(this.splitRegex);
|
|
2726
|
+
var name = tokens[1];
|
|
2727
|
+
var type;
|
|
2728
|
+
if (opcodes.hasOwnProperty(name))
|
|
2729
|
+
type = "support.function.csound";
|
|
2730
|
+
else if (deprecatedOpcodes.hasOwnProperty(name))
|
|
2731
|
+
type = "invalid.deprecated.csound";
|
|
2732
|
+
if (type) {
|
|
2733
|
+
if (tokens[2]) {
|
|
2734
|
+
return [
|
|
2735
|
+
{ type: type, value: name },
|
|
2736
|
+
{ type: "punctuation.type-annotation.csound", value: tokens[2] },
|
|
2737
|
+
{ type: "type-annotation.storage.type.csound", value: tokens[3] }
|
|
2738
|
+
];
|
|
2739
|
+
}
|
|
2740
|
+
return type;
|
|
2741
|
+
}
|
|
2742
|
+
return "text.csound";
|
|
2743
|
+
}
|
|
2744
|
+
});
|
|
2745
|
+
this.$rules["macro parameter value list"].splice(2, 0, {
|
|
2746
|
+
token: "punctuation.definition.string.begin.csound",
|
|
2747
|
+
regex: /{{/,
|
|
2748
|
+
next: "macro parameter value braced string"
|
|
2749
|
+
});
|
|
2750
|
+
var scoreHighlightRules = new CsoundScoreHighlightRules("csound-score-");
|
|
2751
|
+
this.addRules({
|
|
2752
|
+
"macro parameter value braced string": [
|
|
2753
|
+
{
|
|
2754
|
+
token: "constant.character.escape.csound",
|
|
2755
|
+
regex: /\\[#'()]/
|
|
2756
|
+
}, {
|
|
2757
|
+
token: "invalid.illegal.csound.csound",
|
|
2758
|
+
regex: /[#'()]/
|
|
2759
|
+
}, {
|
|
2760
|
+
token: "punctuation.definition.string.end.csound",
|
|
2761
|
+
regex: /}}/,
|
|
2762
|
+
next: "macro parameter value list"
|
|
2763
|
+
}, {
|
|
2764
|
+
defaultToken: "string.braced.csound"
|
|
2765
|
+
}
|
|
2766
|
+
],
|
|
2767
|
+
"instrument numbers and identifiers": [
|
|
2768
|
+
this.comments,
|
|
2769
|
+
{
|
|
2770
|
+
token: "entity.name.function.csound",
|
|
2771
|
+
regex: /\d+|[A-Z_a-z]\w*/
|
|
2772
|
+
}, this.popRule({
|
|
2773
|
+
token: "empty",
|
|
2774
|
+
regex: /$/
|
|
2775
|
+
})
|
|
2776
|
+
],
|
|
2777
|
+
"after opcode keyword": [
|
|
2778
|
+
this.comments,
|
|
2779
|
+
this.popRule({
|
|
2780
|
+
token: "empty",
|
|
2781
|
+
regex: /$/
|
|
2782
|
+
}), this.popRule({
|
|
2783
|
+
token: "entity.name.function.opcode.csound",
|
|
2784
|
+
regex: /[A-Z_a-z]\w*/,
|
|
2785
|
+
next: "opcode type signatures"
|
|
2786
|
+
})
|
|
2787
|
+
],
|
|
2788
|
+
"opcode type signatures": [
|
|
2789
|
+
this.comments,
|
|
2790
|
+
this.popRule({
|
|
2791
|
+
token: "empty",
|
|
2792
|
+
regex: /$/
|
|
2793
|
+
}), {
|
|
2794
|
+
token: "storage.type.csound",
|
|
2795
|
+
regex: /\b(?:0|[afijkKoOpPStV\[\]]+)/
|
|
2796
|
+
}
|
|
2797
|
+
],
|
|
2798
|
+
"quoted string": [
|
|
2799
|
+
this.popRule({
|
|
2800
|
+
token: "punctuation.definition.string.end.csound",
|
|
2801
|
+
regex: /"/
|
|
2802
|
+
}),
|
|
2803
|
+
this.quotedStringContents,
|
|
2804
|
+
{
|
|
2805
|
+
defaultToken: "string.quoted.csound"
|
|
2806
|
+
}
|
|
2807
|
+
],
|
|
2808
|
+
"braced string": [
|
|
2809
|
+
this.popRule({
|
|
2810
|
+
token: "punctuation.definition.string.end.csound",
|
|
2811
|
+
regex: /}}/
|
|
2812
|
+
}),
|
|
2813
|
+
this.bracedStringContents,
|
|
2814
|
+
{
|
|
2815
|
+
defaultToken: "string.braced.csound"
|
|
2816
|
+
}
|
|
2817
|
+
],
|
|
2818
|
+
"goto before argument": [
|
|
2819
|
+
this.popRule({
|
|
2820
|
+
token: "text.csound",
|
|
2821
|
+
regex: /,/
|
|
2822
|
+
}),
|
|
2823
|
+
start
|
|
2824
|
+
],
|
|
2825
|
+
"goto before label": [
|
|
2826
|
+
{
|
|
2827
|
+
token: "text.csound",
|
|
2828
|
+
regex: /\s+/
|
|
2829
|
+
},
|
|
2830
|
+
this.comments,
|
|
2831
|
+
this.popRule({
|
|
2832
|
+
token: "entity.name.label.csound",
|
|
2833
|
+
regex: /\w+/
|
|
2834
|
+
}), this.popRule({
|
|
2835
|
+
token: "empty",
|
|
2836
|
+
regex: /(?!\w)/
|
|
2837
|
+
})
|
|
2838
|
+
],
|
|
2839
|
+
"Csound score opcode": [
|
|
2840
|
+
this.comments,
|
|
2841
|
+
{
|
|
2842
|
+
token: "punctuation.definition.string.begin.csound",
|
|
2843
|
+
regex: /{{/,
|
|
2844
|
+
next: scoreHighlightRules.embeddedRulePrefix + "start"
|
|
2845
|
+
}, this.popRule({
|
|
2846
|
+
token: "empty",
|
|
2847
|
+
regex: /$/
|
|
2848
|
+
})
|
|
2849
|
+
],
|
|
2850
|
+
"Python opcode": [
|
|
2851
|
+
this.comments,
|
|
2852
|
+
{
|
|
2853
|
+
token: "punctuation.definition.string.begin.csound",
|
|
2854
|
+
regex: /{{/,
|
|
2855
|
+
next: "python-start"
|
|
2856
|
+
}, this.popRule({
|
|
2857
|
+
token: "empty",
|
|
2858
|
+
regex: /$/
|
|
2859
|
+
})
|
|
2860
|
+
],
|
|
2861
|
+
"Lua opcode": [
|
|
2862
|
+
this.comments,
|
|
2863
|
+
{
|
|
2864
|
+
token: "punctuation.definition.string.begin.csound",
|
|
2865
|
+
regex: /{{/,
|
|
2866
|
+
next: "lua-start"
|
|
2867
|
+
}, this.popRule({
|
|
2868
|
+
token: "empty",
|
|
2869
|
+
regex: /$/
|
|
2870
|
+
})
|
|
2871
|
+
],
|
|
2872
|
+
"line continuation": [
|
|
2873
|
+
this.popRule({
|
|
2874
|
+
token: "empty",
|
|
2875
|
+
regex: /$/
|
|
2876
|
+
}),
|
|
2877
|
+
this.semicolonComments,
|
|
2878
|
+
{
|
|
2879
|
+
token: "invalid.illegal.csound",
|
|
2880
|
+
regex: /\S.*/
|
|
2881
|
+
}
|
|
2882
|
+
]
|
|
2883
|
+
});
|
|
2884
|
+
var rules = [
|
|
2885
|
+
this.popRule({
|
|
2886
|
+
token: "punctuation.definition.string.end.csound",
|
|
2887
|
+
regex: /}}/
|
|
2888
|
+
})
|
|
2889
|
+
];
|
|
2890
|
+
this.embedRules(scoreHighlightRules.getRules(), scoreHighlightRules.embeddedRulePrefix, rules);
|
|
2891
|
+
this.embedRules(PythonHighlightRules, "python-", rules);
|
|
2892
|
+
this.embedRules(LuaHighlightRules, "lua-", rules);
|
|
2893
|
+
this.normalizeRules();
|
|
2894
|
+
};
|
|
2895
|
+
oop.inherits(CsoundOrchestraHighlightRules, CsoundPreprocessorHighlightRules);
|
|
2896
|
+
exports.CsoundOrchestraHighlightRules = CsoundOrchestraHighlightRules;
|
|
2897
|
+
|
|
2898
|
+
});
|
|
2899
|
+
|
|
2900
|
+
ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
2901
|
+
var oop = require("../lib/oop");
|
|
2902
|
+
var lang = require("../lib/lang");
|
|
2903
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
2904
|
+
var supportType = exports.supportType = "align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index";
|
|
2905
|
+
var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
|
|
2906
|
+
var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-end|flex-start|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom";
|
|
2907
|
+
var supportConstantColor = exports.supportConstantColor = "aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen";
|
|
2908
|
+
var supportConstantFonts = exports.supportConstantFonts = "arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";
|
|
2909
|
+
var numRe = exports.numRe = "\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))";
|
|
2910
|
+
var pseudoElements = exports.pseudoElements = "(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";
|
|
2911
|
+
var pseudoClasses = exports.pseudoClasses = "(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b";
|
|
2912
|
+
var CssHighlightRules = function () {
|
|
2913
|
+
var keywordMapper = this.createKeywordMapper({
|
|
2914
|
+
"support.function": supportFunction,
|
|
2915
|
+
"support.constant": supportConstant,
|
|
2916
|
+
"support.type": supportType,
|
|
2917
|
+
"support.constant.color": supportConstantColor,
|
|
2918
|
+
"support.constant.fonts": supportConstantFonts
|
|
2919
|
+
}, "text", true);
|
|
2920
|
+
this.$rules = {
|
|
2921
|
+
"start": [{
|
|
2922
|
+
include: ["strings", "url", "comments"]
|
|
2923
|
+
}, {
|
|
2924
|
+
token: "paren.lparen",
|
|
2925
|
+
regex: "\\{",
|
|
2926
|
+
next: "ruleset"
|
|
2927
|
+
}, {
|
|
2928
|
+
token: "paren.rparen",
|
|
2929
|
+
regex: "\\}"
|
|
2930
|
+
}, {
|
|
2931
|
+
token: "string",
|
|
2932
|
+
regex: "@(?!viewport)",
|
|
2933
|
+
next: "media"
|
|
2934
|
+
}, {
|
|
2935
|
+
token: "keyword",
|
|
2936
|
+
regex: "#[a-z0-9-_]+"
|
|
2937
|
+
}, {
|
|
2938
|
+
token: "keyword",
|
|
2939
|
+
regex: "%"
|
|
2940
|
+
}, {
|
|
2941
|
+
token: "variable",
|
|
2942
|
+
regex: "\\.[a-z0-9-_]+"
|
|
2943
|
+
}, {
|
|
2944
|
+
token: "string",
|
|
2945
|
+
regex: ":[a-z0-9-_]+"
|
|
2946
|
+
}, {
|
|
2947
|
+
token: "constant.numeric",
|
|
2948
|
+
regex: numRe
|
|
2949
|
+
}, {
|
|
2950
|
+
token: "constant",
|
|
2951
|
+
regex: "[a-z0-9-_]+"
|
|
2952
|
+
}, {
|
|
2953
|
+
caseInsensitive: true
|
|
2954
|
+
}],
|
|
2955
|
+
"media": [{
|
|
2956
|
+
include: ["strings", "url", "comments"]
|
|
2957
|
+
}, {
|
|
2958
|
+
token: "paren.lparen",
|
|
2959
|
+
regex: "\\{",
|
|
2960
|
+
next: "start"
|
|
2961
|
+
}, {
|
|
2962
|
+
token: "paren.rparen",
|
|
2963
|
+
regex: "\\}",
|
|
2964
|
+
next: "start"
|
|
2965
|
+
}, {
|
|
2966
|
+
token: "string",
|
|
2967
|
+
regex: ";",
|
|
2968
|
+
next: "start"
|
|
2969
|
+
}, {
|
|
2970
|
+
token: "keyword",
|
|
2971
|
+
regex: "(?:media|supports|document|charset|import|namespace|media|supports|document"
|
|
2972
|
+
+ "|page|font|keyframes|viewport|counter-style|font-feature-values"
|
|
2973
|
+
+ "|swash|ornaments|annotation|stylistic|styleset|character-variant)"
|
|
2974
|
+
}],
|
|
2975
|
+
"comments": [{
|
|
2976
|
+
token: "comment", // multi line comment
|
|
2977
|
+
regex: "\\/\\*",
|
|
2978
|
+
push: [{
|
|
2979
|
+
token: "comment",
|
|
2980
|
+
regex: "\\*\\/",
|
|
2981
|
+
next: "pop"
|
|
2982
|
+
}, {
|
|
2983
|
+
defaultToken: "comment"
|
|
2984
|
+
}]
|
|
2985
|
+
}],
|
|
2986
|
+
"ruleset": [{
|
|
2987
|
+
regex: "-(webkit|ms|moz|o)-",
|
|
2988
|
+
token: "text"
|
|
2989
|
+
}, {
|
|
2990
|
+
token: "punctuation.operator",
|
|
2991
|
+
regex: "[:;]"
|
|
2992
|
+
}, {
|
|
2993
|
+
token: "paren.rparen",
|
|
2994
|
+
regex: "\\}",
|
|
2995
|
+
next: "start"
|
|
2996
|
+
}, {
|
|
2997
|
+
include: ["strings", "url", "comments"]
|
|
2998
|
+
}, {
|
|
2999
|
+
token: ["constant.numeric", "keyword"],
|
|
3000
|
+
regex: "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"
|
|
3001
|
+
}, {
|
|
3002
|
+
token: "constant.numeric",
|
|
3003
|
+
regex: numRe
|
|
3004
|
+
}, {
|
|
3005
|
+
token: "constant.numeric", // hex6 color
|
|
3006
|
+
regex: "#[a-f0-9]{6}"
|
|
3007
|
+
}, {
|
|
3008
|
+
token: "constant.numeric", // hex3 color
|
|
3009
|
+
regex: "#[a-f0-9]{3}"
|
|
3010
|
+
}, {
|
|
3011
|
+
token: ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
|
|
3012
|
+
regex: pseudoElements
|
|
3013
|
+
}, {
|
|
3014
|
+
token: ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
|
|
3015
|
+
regex: pseudoClasses
|
|
3016
|
+
}, {
|
|
3017
|
+
include: "url"
|
|
3018
|
+
}, {
|
|
3019
|
+
token: keywordMapper,
|
|
3020
|
+
regex: "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
|
|
3021
|
+
}, {
|
|
3022
|
+
token: "paren.lparen",
|
|
3023
|
+
regex: "\\{"
|
|
3024
|
+
}, {
|
|
3025
|
+
caseInsensitive: true
|
|
3026
|
+
}],
|
|
3027
|
+
url: [{
|
|
3028
|
+
token: "support.function",
|
|
3029
|
+
regex: "(?:url(:?-prefix)?|domain|regexp)\\(",
|
|
3030
|
+
push: [{
|
|
3031
|
+
token: "support.function",
|
|
3032
|
+
regex: "\\)",
|
|
3033
|
+
next: "pop"
|
|
3034
|
+
}, {
|
|
3035
|
+
defaultToken: "string"
|
|
3036
|
+
}]
|
|
3037
|
+
}],
|
|
3038
|
+
strings: [{
|
|
3039
|
+
token: "string.start",
|
|
3040
|
+
regex: "'",
|
|
3041
|
+
push: [{
|
|
3042
|
+
token: "string.end",
|
|
3043
|
+
regex: "'|$",
|
|
3044
|
+
next: "pop"
|
|
3045
|
+
}, {
|
|
3046
|
+
include: "escapes"
|
|
3047
|
+
}, {
|
|
3048
|
+
token: "constant.language.escape",
|
|
3049
|
+
regex: /\\$/,
|
|
3050
|
+
consumeLineEnd: true
|
|
3051
|
+
}, {
|
|
3052
|
+
defaultToken: "string"
|
|
3053
|
+
}]
|
|
3054
|
+
}, {
|
|
3055
|
+
token: "string.start",
|
|
3056
|
+
regex: '"',
|
|
3057
|
+
push: [{
|
|
3058
|
+
token: "string.end",
|
|
3059
|
+
regex: '"|$',
|
|
3060
|
+
next: "pop"
|
|
3061
|
+
}, {
|
|
3062
|
+
include: "escapes"
|
|
3063
|
+
}, {
|
|
3064
|
+
token: "constant.language.escape",
|
|
3065
|
+
regex: /\\$/,
|
|
3066
|
+
consumeLineEnd: true
|
|
3067
|
+
}, {
|
|
3068
|
+
defaultToken: "string"
|
|
3069
|
+
}]
|
|
3070
|
+
}],
|
|
3071
|
+
escapes: [{
|
|
3072
|
+
token: "constant.language.escape",
|
|
3073
|
+
regex: /\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/
|
|
3074
|
+
}]
|
|
3075
|
+
};
|
|
3076
|
+
this.normalizeRules();
|
|
3077
|
+
};
|
|
3078
|
+
oop.inherits(CssHighlightRules, TextHighlightRules);
|
|
3079
|
+
exports.CssHighlightRules = CssHighlightRules;
|
|
3080
|
+
|
|
3081
|
+
});
|
|
3082
|
+
|
|
3083
|
+
ace.define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
3084
|
+
var oop = require("../lib/oop");
|
|
3085
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
3086
|
+
var JsDocCommentHighlightRules = function () {
|
|
3087
|
+
this.$rules = {
|
|
3088
|
+
"start": [
|
|
3089
|
+
{
|
|
3090
|
+
token: ["comment.doc.tag", "comment.doc.text", "lparen.doc"],
|
|
3091
|
+
regex: "(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)",
|
|
3092
|
+
push: [
|
|
3093
|
+
{
|
|
3094
|
+
token: "lparen.doc",
|
|
3095
|
+
regex: "{",
|
|
3096
|
+
push: [
|
|
3097
|
+
{
|
|
3098
|
+
include: "doc-syntax"
|
|
3099
|
+
}, {
|
|
3100
|
+
token: "rparen.doc",
|
|
3101
|
+
regex: "}|(?=$)",
|
|
3102
|
+
next: "pop"
|
|
3103
|
+
}
|
|
3104
|
+
]
|
|
3105
|
+
}, {
|
|
3106
|
+
token: ["rparen.doc", "text.doc", "variable.parameter.doc", "lparen.doc", "variable.parameter.doc", "rparen.doc"],
|
|
3107
|
+
regex: /(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.\-\'\" ]+)(\])))/,
|
|
3108
|
+
next: "pop"
|
|
3109
|
+
}, {
|
|
3110
|
+
token: "rparen.doc",
|
|
3111
|
+
regex: "}|(?=$)",
|
|
3112
|
+
next: "pop"
|
|
3113
|
+
}, {
|
|
3114
|
+
include: "doc-syntax"
|
|
3115
|
+
}, {
|
|
3116
|
+
defaultToken: "text.doc"
|
|
3117
|
+
}
|
|
3118
|
+
]
|
|
3119
|
+
}, {
|
|
3120
|
+
token: ["comment.doc.tag", "text.doc", "lparen.doc"],
|
|
3121
|
+
regex: "(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|"
|
|
3122
|
+
+ "implements|external|exception|throws|enum|define|extends))(\\s*)({)",
|
|
3123
|
+
push: [
|
|
3124
|
+
{
|
|
3125
|
+
token: "lparen.doc",
|
|
3126
|
+
regex: "{",
|
|
3127
|
+
push: [
|
|
3128
|
+
{
|
|
3129
|
+
include: "doc-syntax"
|
|
3130
|
+
}, {
|
|
3131
|
+
token: "rparen.doc",
|
|
3132
|
+
regex: "}|(?=$)",
|
|
3133
|
+
next: "pop"
|
|
3134
|
+
}
|
|
3135
|
+
]
|
|
3136
|
+
}, {
|
|
3137
|
+
token: "rparen.doc",
|
|
3138
|
+
regex: "}|(?=$)",
|
|
3139
|
+
next: "pop"
|
|
3140
|
+
}, {
|
|
3141
|
+
include: "doc-syntax"
|
|
3142
|
+
}, {
|
|
3143
|
+
defaultToken: "text.doc"
|
|
3144
|
+
}
|
|
3145
|
+
]
|
|
3146
|
+
}, {
|
|
3147
|
+
token: ["comment.doc.tag", "text.doc", "variable.parameter.doc"],
|
|
3148
|
+
regex: "(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|"
|
|
3149
|
+
+ "requires|param|implements|function|extends|typedef|mixes|constructor|var|"
|
|
3150
|
+
+ "memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|"
|
|
3151
|
+
+ "throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#\.:\/~\"\\-]*)?"
|
|
3152
|
+
}, {
|
|
3153
|
+
token: ["comment.doc.tag", "text.doc", "variable.parameter.doc"],
|
|
3154
|
+
regex: "(@method)(\\s+)(\\w[\\w\.\\(\\)]*)"
|
|
3155
|
+
}, {
|
|
3156
|
+
token: "comment.doc.tag",
|
|
3157
|
+
regex: "@access\\s+(?:private|public|protected)"
|
|
3158
|
+
}, {
|
|
3159
|
+
token: "comment.doc.tag",
|
|
3160
|
+
regex: "@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)"
|
|
3161
|
+
}, {
|
|
3162
|
+
token: "comment.doc.tag",
|
|
3163
|
+
regex: "@\\w+(?=\\s|$)"
|
|
3164
|
+
},
|
|
3165
|
+
JsDocCommentHighlightRules.getTagRule(),
|
|
3166
|
+
{
|
|
3167
|
+
defaultToken: "comment.doc.body",
|
|
3168
|
+
caseInsensitive: true
|
|
3169
|
+
}
|
|
3170
|
+
],
|
|
3171
|
+
"doc-syntax": [{
|
|
3172
|
+
token: "operator.doc",
|
|
3173
|
+
regex: /[|:]/
|
|
3174
|
+
}, {
|
|
3175
|
+
token: "paren.doc",
|
|
3176
|
+
regex: /[\[\]]/
|
|
3177
|
+
}]
|
|
3178
|
+
};
|
|
3179
|
+
this.normalizeRules();
|
|
3180
|
+
};
|
|
3181
|
+
oop.inherits(JsDocCommentHighlightRules, TextHighlightRules);
|
|
3182
|
+
JsDocCommentHighlightRules.getTagRule = function (start) {
|
|
3183
|
+
return {
|
|
3184
|
+
token: "comment.doc.tag.storage.type",
|
|
3185
|
+
regex: "\\b(?:TODO|FIXME|XXX|HACK)\\b"
|
|
3186
|
+
};
|
|
3187
|
+
};
|
|
3188
|
+
JsDocCommentHighlightRules.getStartRule = function (start) {
|
|
3189
|
+
return {
|
|
3190
|
+
token: "comment.doc", // doc comment
|
|
3191
|
+
regex: /\/\*\*(?!\/)/,
|
|
3192
|
+
next: start
|
|
3193
|
+
};
|
|
3194
|
+
};
|
|
3195
|
+
JsDocCommentHighlightRules.getEndRule = function (start) {
|
|
3196
|
+
return {
|
|
3197
|
+
token: "comment.doc", // closing comment
|
|
3198
|
+
regex: "\\*\\/",
|
|
3199
|
+
next: start
|
|
3200
|
+
};
|
|
3201
|
+
};
|
|
3202
|
+
exports.JsDocCommentHighlightRules = JsDocCommentHighlightRules;
|
|
3203
|
+
|
|
3204
|
+
});
|
|
3205
|
+
|
|
3206
|
+
ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
3207
|
+
var oop = require("../lib/oop");
|
|
3208
|
+
var DocCommentHighlightRules = require("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules;
|
|
3209
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
3210
|
+
var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*";
|
|
3211
|
+
var JavaScriptHighlightRules = function (options) {
|
|
3212
|
+
var keywords = {
|
|
3213
|
+
"variable.language": "Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|" + // Constructors
|
|
3214
|
+
"Namespace|QName|XML|XMLList|" + // E4X
|
|
3215
|
+
"ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
|
|
3216
|
+
"Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" +
|
|
3217
|
+
"Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" + // Errors
|
|
3218
|
+
"SyntaxError|TypeError|URIError|" +
|
|
3219
|
+
"decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions
|
|
3220
|
+
"isNaN|parseFloat|parseInt|" +
|
|
3221
|
+
"JSON|Math|" + // Other
|
|
3222
|
+
"this|arguments|prototype|window|document", // Pseudo
|
|
3223
|
+
"keyword": "const|yield|import|get|set|async|await|" +
|
|
3224
|
+
"break|case|catch|continue|default|delete|do|else|finally|for|" +
|
|
3225
|
+
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
|
3226
|
+
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
|
3227
|
+
"class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor",
|
|
3228
|
+
"storage.type": "const|let|var|function",
|
|
3229
|
+
"constant.language": "null|Infinity|NaN|undefined",
|
|
3230
|
+
"support.function": "alert",
|
|
3231
|
+
"constant.language.boolean": "true|false"
|
|
3232
|
+
};
|
|
3233
|
+
var keywordMapper = this.createKeywordMapper(keywords, "identifier");
|
|
3234
|
+
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";
|
|
3235
|
+
var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
|
|
3236
|
+
"u[0-9a-fA-F]{4}|" + // unicode
|
|
3237
|
+
"u{[0-9a-fA-F]{1,6}}|" + // es6 unicode
|
|
3238
|
+
"[0-2][0-7]{0,2}|" + // oct
|
|
3239
|
+
"3[0-7][0-7]?|" + // oct
|
|
3240
|
+
"[4-7][0-7]?|" + //oct
|
|
3241
|
+
".)";
|
|
3242
|
+
var anonymousFunctionRe = "(function)(\\s*)(\\*?)";
|
|
3243
|
+
var functionCallStartRule = {
|
|
3244
|
+
token: ["identifier", "text", "paren.lparen"],
|
|
3245
|
+
regex: "(\\b(?!" + Object.values(keywords).join("|") + "\\b)" + identifierRe + ")(\\s*)(\\()"
|
|
3246
|
+
};
|
|
3247
|
+
this.$rules = {
|
|
3248
|
+
"no_regex": [
|
|
3249
|
+
DocCommentHighlightRules.getStartRule("doc-start"),
|
|
3250
|
+
comments("no_regex"),
|
|
3251
|
+
functionCallStartRule,
|
|
3252
|
+
{
|
|
3253
|
+
token: "string",
|
|
3254
|
+
regex: "'(?=.)",
|
|
3255
|
+
next: "qstring"
|
|
3256
|
+
}, {
|
|
3257
|
+
token: "string",
|
|
3258
|
+
regex: '"(?=.)',
|
|
3259
|
+
next: "qqstring"
|
|
3260
|
+
}, {
|
|
3261
|
+
token: "constant.numeric", // hexadecimal, octal and binary
|
|
3262
|
+
regex: /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/
|
|
3263
|
+
}, {
|
|
3264
|
+
token: "constant.numeric", // decimal integers and floats
|
|
3265
|
+
regex: /(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/
|
|
3266
|
+
}, {
|
|
3267
|
+
token: [
|
|
3268
|
+
"entity.name.function", "text", "keyword.operator", "text", "storage.type",
|
|
3269
|
+
"text", "storage.type", "text", "paren.lparen"
|
|
3270
|
+
],
|
|
3271
|
+
regex: "(" + identifierRe + ")(\\s*)(=)(\\s*)" + anonymousFunctionRe + "(\\s*)(\\()",
|
|
3272
|
+
next: "function_arguments"
|
|
3273
|
+
}, {
|
|
3274
|
+
token: [
|
|
3275
|
+
"storage.type", "text", "storage.type", "text", "text", "entity.name.function", "text", "paren.lparen"
|
|
3276
|
+
],
|
|
3277
|
+
regex: "(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))(" + identifierRe + ")(\\s*)(\\()",
|
|
3278
|
+
next: "function_arguments"
|
|
3279
|
+
}, {
|
|
3280
|
+
token: [
|
|
3281
|
+
"entity.name.function", "text", "punctuation.operator",
|
|
3282
|
+
"text", "storage.type", "text", "storage.type", "text", "paren.lparen"
|
|
3283
|
+
],
|
|
3284
|
+
regex: "(" + identifierRe + ")(\\s*)(:)(\\s*)" + anonymousFunctionRe + "(\\s*)(\\()",
|
|
3285
|
+
next: "function_arguments"
|
|
3286
|
+
}, {
|
|
3287
|
+
token: [
|
|
3288
|
+
"text", "text", "storage.type", "text", "storage.type", "text", "paren.lparen"
|
|
3289
|
+
],
|
|
3290
|
+
regex: "(:)(\\s*)" + anonymousFunctionRe + "(\\s*)(\\()",
|
|
3291
|
+
next: "function_arguments"
|
|
3292
|
+
}, {
|
|
3293
|
+
token: "keyword",
|
|
3294
|
+
regex: "from(?=\\s*('|\"))"
|
|
3295
|
+
}, {
|
|
3296
|
+
token: "keyword",
|
|
3297
|
+
regex: "(?:" + kwBeforeRe + ")\\b",
|
|
3298
|
+
next: "start"
|
|
3299
|
+
}, {
|
|
3300
|
+
token: "support.constant",
|
|
3301
|
+
regex: /that\b/
|
|
3302
|
+
}, {
|
|
3303
|
+
token: ["storage.type", "punctuation.operator", "support.function.firebug"],
|
|
3304
|
+
regex: /(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/
|
|
3305
|
+
}, {
|
|
3306
|
+
token: keywordMapper,
|
|
3307
|
+
regex: identifierRe
|
|
3308
|
+
}, {
|
|
3309
|
+
token: "punctuation.operator",
|
|
3310
|
+
regex: /[.](?![.])/,
|
|
3311
|
+
next: "property"
|
|
3312
|
+
}, {
|
|
3313
|
+
token: "storage.type",
|
|
3314
|
+
regex: /=>/,
|
|
3315
|
+
next: "start"
|
|
3316
|
+
}, {
|
|
3317
|
+
token: "keyword.operator",
|
|
3318
|
+
regex: /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
|
|
3319
|
+
next: "start"
|
|
3320
|
+
}, {
|
|
3321
|
+
token: "punctuation.operator",
|
|
3322
|
+
regex: /[?:,;.]/,
|
|
3323
|
+
next: "start"
|
|
3324
|
+
}, {
|
|
3325
|
+
token: "paren.lparen",
|
|
3326
|
+
regex: /[\[({]/,
|
|
3327
|
+
next: "start"
|
|
3328
|
+
}, {
|
|
3329
|
+
token: "paren.rparen",
|
|
3330
|
+
regex: /[\])}]/
|
|
3331
|
+
}, {
|
|
3332
|
+
token: "comment",
|
|
3333
|
+
regex: /^#!.*$/
|
|
3334
|
+
}
|
|
3335
|
+
],
|
|
3336
|
+
property: [{
|
|
3337
|
+
token: "text",
|
|
3338
|
+
regex: "\\s+"
|
|
3339
|
+
}, {
|
|
3340
|
+
token: "keyword.operator",
|
|
3341
|
+
regex: /=/
|
|
3342
|
+
}, {
|
|
3343
|
+
token: [
|
|
3344
|
+
"storage.type", "text", "storage.type", "text", "paren.lparen"
|
|
3345
|
+
],
|
|
3346
|
+
regex: anonymousFunctionRe + "(\\s*)(\\()",
|
|
3347
|
+
next: "function_arguments"
|
|
3348
|
+
}, {
|
|
3349
|
+
token: [
|
|
3350
|
+
"storage.type", "text", "storage.type", "text", "text", "entity.name.function", "text", "paren.lparen"
|
|
3351
|
+
],
|
|
3352
|
+
regex: "(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))(\\w+)(\\s*)(\\()",
|
|
3353
|
+
next: "function_arguments"
|
|
3354
|
+
}, {
|
|
3355
|
+
token: "punctuation.operator",
|
|
3356
|
+
regex: /[.](?![.])/
|
|
3357
|
+
}, {
|
|
3358
|
+
token: "support.function",
|
|
3359
|
+
regex: "prototype"
|
|
3360
|
+
}, {
|
|
3361
|
+
token: "support.function",
|
|
3362
|
+
regex: /(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/
|
|
3363
|
+
}, {
|
|
3364
|
+
token: "support.function.dom",
|
|
3365
|
+
regex: /(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/
|
|
3366
|
+
}, {
|
|
3367
|
+
token: "support.constant",
|
|
3368
|
+
regex: /(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/
|
|
3369
|
+
}, {
|
|
3370
|
+
token: "identifier",
|
|
3371
|
+
regex: identifierRe
|
|
3372
|
+
}, {
|
|
3373
|
+
regex: "",
|
|
3374
|
+
token: "empty",
|
|
3375
|
+
next: "no_regex"
|
|
3376
|
+
}
|
|
3377
|
+
],
|
|
3378
|
+
"start": [
|
|
3379
|
+
DocCommentHighlightRules.getStartRule("doc-start"),
|
|
3380
|
+
comments("start"),
|
|
3381
|
+
{
|
|
3382
|
+
token: "string.regexp",
|
|
3383
|
+
regex: "\\/",
|
|
3384
|
+
next: "regex"
|
|
3385
|
+
}, {
|
|
3386
|
+
token: "text",
|
|
3387
|
+
regex: "\\s+|^$",
|
|
3388
|
+
next: "start"
|
|
3389
|
+
}, {
|
|
3390
|
+
token: "empty",
|
|
3391
|
+
regex: "",
|
|
3392
|
+
next: "no_regex"
|
|
3393
|
+
}
|
|
3394
|
+
],
|
|
3395
|
+
"regex": [
|
|
3396
|
+
{
|
|
3397
|
+
token: "regexp.keyword.operator",
|
|
3398
|
+
regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
|
|
3399
|
+
}, {
|
|
3400
|
+
token: "string.regexp",
|
|
3401
|
+
regex: "/[sxngimy]*",
|
|
3402
|
+
next: "no_regex"
|
|
3403
|
+
}, {
|
|
3404
|
+
token: "invalid",
|
|
3405
|
+
regex: /\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/
|
|
3406
|
+
}, {
|
|
3407
|
+
token: "constant.language.escape",
|
|
3408
|
+
regex: /\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/
|
|
3409
|
+
}, {
|
|
3410
|
+
token: "constant.language.delimiter",
|
|
3411
|
+
regex: /\|/
|
|
3412
|
+
}, {
|
|
3413
|
+
token: "constant.language.escape",
|
|
3414
|
+
regex: /\[\^?/,
|
|
3415
|
+
next: "regex_character_class"
|
|
3416
|
+
}, {
|
|
3417
|
+
token: "empty",
|
|
3418
|
+
regex: "$",
|
|
3419
|
+
next: "no_regex"
|
|
3420
|
+
}, {
|
|
3421
|
+
defaultToken: "string.regexp"
|
|
3422
|
+
}
|
|
3423
|
+
],
|
|
3424
|
+
"regex_character_class": [
|
|
3425
|
+
{
|
|
3426
|
+
token: "regexp.charclass.keyword.operator",
|
|
3427
|
+
regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
|
|
3428
|
+
}, {
|
|
3429
|
+
token: "constant.language.escape",
|
|
3430
|
+
regex: "]",
|
|
3431
|
+
next: "regex"
|
|
3432
|
+
}, {
|
|
3433
|
+
token: "constant.language.escape",
|
|
3434
|
+
regex: "-"
|
|
3435
|
+
}, {
|
|
3436
|
+
token: "empty",
|
|
3437
|
+
regex: "$",
|
|
3438
|
+
next: "no_regex"
|
|
3439
|
+
}, {
|
|
3440
|
+
defaultToken: "string.regexp.charachterclass"
|
|
3441
|
+
}
|
|
3442
|
+
],
|
|
3443
|
+
"default_parameter": [
|
|
3444
|
+
{
|
|
3445
|
+
token: "string",
|
|
3446
|
+
regex: "'(?=.)",
|
|
3447
|
+
push: [
|
|
3448
|
+
{
|
|
3449
|
+
token: "string",
|
|
3450
|
+
regex: "'|$",
|
|
3451
|
+
next: "pop"
|
|
3452
|
+
}, {
|
|
3453
|
+
include: "qstring"
|
|
3454
|
+
}
|
|
3455
|
+
]
|
|
3456
|
+
}, {
|
|
3457
|
+
token: "string",
|
|
3458
|
+
regex: '"(?=.)',
|
|
3459
|
+
push: [
|
|
3460
|
+
{
|
|
3461
|
+
token: "string",
|
|
3462
|
+
regex: '"|$',
|
|
3463
|
+
next: "pop"
|
|
3464
|
+
}, {
|
|
3465
|
+
include: "qqstring"
|
|
3466
|
+
}
|
|
3467
|
+
]
|
|
3468
|
+
}, {
|
|
3469
|
+
token: "constant.language",
|
|
3470
|
+
regex: "null|Infinity|NaN|undefined"
|
|
3471
|
+
}, {
|
|
3472
|
+
token: "constant.numeric", // hexadecimal, octal and binary
|
|
3473
|
+
regex: /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/
|
|
3474
|
+
}, {
|
|
3475
|
+
token: "constant.numeric", // decimal integers and floats
|
|
3476
|
+
regex: /(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/
|
|
3477
|
+
}, {
|
|
3478
|
+
token: "punctuation.operator",
|
|
3479
|
+
regex: ",",
|
|
3480
|
+
next: "function_arguments"
|
|
3481
|
+
}, {
|
|
3482
|
+
token: "text",
|
|
3483
|
+
regex: "\\s+"
|
|
3484
|
+
}, {
|
|
3485
|
+
token: "punctuation.operator",
|
|
3486
|
+
regex: "$"
|
|
3487
|
+
}, {
|
|
3488
|
+
token: "empty",
|
|
3489
|
+
regex: "",
|
|
3490
|
+
next: "no_regex"
|
|
3491
|
+
}
|
|
3492
|
+
],
|
|
3493
|
+
"function_arguments": [
|
|
3494
|
+
comments("function_arguments"),
|
|
3495
|
+
{
|
|
3496
|
+
token: "variable.parameter",
|
|
3497
|
+
regex: identifierRe
|
|
3498
|
+
}, {
|
|
3499
|
+
token: "punctuation.operator",
|
|
3500
|
+
regex: ","
|
|
3501
|
+
}, {
|
|
3502
|
+
token: "text",
|
|
3503
|
+
regex: "\\s+"
|
|
3504
|
+
}, {
|
|
3505
|
+
token: "punctuation.operator",
|
|
3506
|
+
regex: "$"
|
|
3507
|
+
}, {
|
|
3508
|
+
token: "empty",
|
|
3509
|
+
regex: "",
|
|
3510
|
+
next: "no_regex"
|
|
3511
|
+
}
|
|
3512
|
+
],
|
|
3513
|
+
"qqstring": [
|
|
3514
|
+
{
|
|
3515
|
+
token: "constant.language.escape",
|
|
3516
|
+
regex: escapedRe
|
|
3517
|
+
}, {
|
|
3518
|
+
token: "string",
|
|
3519
|
+
regex: "\\\\$",
|
|
3520
|
+
consumeLineEnd: true
|
|
3521
|
+
}, {
|
|
3522
|
+
token: "string",
|
|
3523
|
+
regex: '"|$',
|
|
3524
|
+
next: "no_regex"
|
|
3525
|
+
}, {
|
|
3526
|
+
defaultToken: "string"
|
|
3527
|
+
}
|
|
3528
|
+
],
|
|
3529
|
+
"qstring": [
|
|
3530
|
+
{
|
|
3531
|
+
token: "constant.language.escape",
|
|
3532
|
+
regex: escapedRe
|
|
3533
|
+
}, {
|
|
3534
|
+
token: "string",
|
|
3535
|
+
regex: "\\\\$",
|
|
3536
|
+
consumeLineEnd: true
|
|
3537
|
+
}, {
|
|
3538
|
+
token: "string",
|
|
3539
|
+
regex: "'|$",
|
|
3540
|
+
next: "no_regex"
|
|
3541
|
+
}, {
|
|
3542
|
+
defaultToken: "string"
|
|
3543
|
+
}
|
|
3544
|
+
]
|
|
3545
|
+
};
|
|
3546
|
+
if (!options || !options.noES6) {
|
|
3547
|
+
this.$rules.no_regex.unshift({
|
|
3548
|
+
regex: "[{}]", onMatch: function (val, state, stack) {
|
|
3549
|
+
this.next = val == "{" ? this.nextState : "";
|
|
3550
|
+
if (val == "{" && stack.length) {
|
|
3551
|
+
stack.unshift("start", state);
|
|
3552
|
+
}
|
|
3553
|
+
else if (val == "}" && stack.length) {
|
|
3554
|
+
stack.shift();
|
|
3555
|
+
this.next = stack.shift();
|
|
3556
|
+
if (this.next.indexOf("string") != -1 || this.next.indexOf("jsx") != -1)
|
|
3557
|
+
return "paren.quasi.end";
|
|
3558
|
+
}
|
|
3559
|
+
return val == "{" ? "paren.lparen" : "paren.rparen";
|
|
3560
|
+
},
|
|
3561
|
+
nextState: "start"
|
|
3562
|
+
}, {
|
|
3563
|
+
token: "string.quasi.start",
|
|
3564
|
+
regex: /`/,
|
|
3565
|
+
push: [{
|
|
3566
|
+
token: "constant.language.escape",
|
|
3567
|
+
regex: escapedRe
|
|
3568
|
+
}, {
|
|
3569
|
+
token: "paren.quasi.start",
|
|
3570
|
+
regex: /\${/,
|
|
3571
|
+
push: "start"
|
|
3572
|
+
}, {
|
|
3573
|
+
token: "string.quasi.end",
|
|
3574
|
+
regex: /`/,
|
|
3575
|
+
next: "pop"
|
|
3576
|
+
}, {
|
|
3577
|
+
defaultToken: "string.quasi"
|
|
3578
|
+
}]
|
|
3579
|
+
}, {
|
|
3580
|
+
token: ["variable.parameter", "text"],
|
|
3581
|
+
regex: "(" + identifierRe + ")(\\s*)(?=\\=>)"
|
|
3582
|
+
}, {
|
|
3583
|
+
token: "paren.lparen",
|
|
3584
|
+
regex: "(\\()(?=[^\\(]+\\s*=>)",
|
|
3585
|
+
next: "function_arguments"
|
|
3586
|
+
}, {
|
|
3587
|
+
token: "variable.language",
|
|
3588
|
+
regex: "(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"
|
|
3589
|
+
});
|
|
3590
|
+
this.$rules["function_arguments"].unshift({
|
|
3591
|
+
token: "keyword.operator",
|
|
3592
|
+
regex: "=",
|
|
3593
|
+
next: "default_parameter"
|
|
3594
|
+
}, {
|
|
3595
|
+
token: "keyword.operator",
|
|
3596
|
+
regex: "\\.{3}"
|
|
3597
|
+
});
|
|
3598
|
+
this.$rules["property"].unshift({
|
|
3599
|
+
token: "support.function",
|
|
3600
|
+
regex: "(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|"
|
|
3601
|
+
+ "finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"
|
|
3602
|
+
}, {
|
|
3603
|
+
token: "constant.language",
|
|
3604
|
+
regex: "(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"
|
|
3605
|
+
});
|
|
3606
|
+
if (!options || options.jsx != false)
|
|
3607
|
+
JSX.call(this);
|
|
3608
|
+
}
|
|
3609
|
+
this.embedRules(DocCommentHighlightRules, "doc-", [DocCommentHighlightRules.getEndRule("no_regex")]);
|
|
3610
|
+
this.normalizeRules();
|
|
3611
|
+
};
|
|
3612
|
+
oop.inherits(JavaScriptHighlightRules, TextHighlightRules);
|
|
3613
|
+
function JSX() {
|
|
3614
|
+
var tagRegex = identifierRe.replace("\\d", "\\d\\-");
|
|
3615
|
+
var jsxTag = {
|
|
3616
|
+
onMatch: function (val, state, stack) {
|
|
3617
|
+
var offset = val.charAt(1) == "/" ? 2 : 1;
|
|
3618
|
+
if (offset == 1) {
|
|
3619
|
+
if (state != this.nextState)
|
|
3620
|
+
stack.unshift(this.next, this.nextState, 0);
|
|
3621
|
+
else
|
|
3622
|
+
stack.unshift(this.next);
|
|
3623
|
+
stack[2]++;
|
|
3624
|
+
}
|
|
3625
|
+
else if (offset == 2) {
|
|
3626
|
+
if (state == this.nextState) {
|
|
3627
|
+
stack[1]--;
|
|
3628
|
+
if (!stack[1] || stack[1] < 0) {
|
|
3629
|
+
stack.shift();
|
|
3630
|
+
stack.shift();
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3634
|
+
return [{
|
|
3635
|
+
type: "meta.tag.punctuation." + (offset == 1 ? "" : "end-") + "tag-open.xml",
|
|
3636
|
+
value: val.slice(0, offset)
|
|
3637
|
+
}, {
|
|
3638
|
+
type: "meta.tag.tag-name.xml",
|
|
3639
|
+
value: val.substr(offset)
|
|
3640
|
+
}];
|
|
3641
|
+
},
|
|
3642
|
+
regex: "</?(?:" + tagRegex + "|(?=>))",
|
|
3643
|
+
next: "jsxAttributes",
|
|
3644
|
+
nextState: "jsx"
|
|
3645
|
+
};
|
|
3646
|
+
this.$rules.start.unshift(jsxTag);
|
|
3647
|
+
var jsxJsRule = {
|
|
3648
|
+
regex: "{",
|
|
3649
|
+
token: "paren.quasi.start",
|
|
3650
|
+
push: "start"
|
|
3651
|
+
};
|
|
3652
|
+
this.$rules.jsx = [
|
|
3653
|
+
jsxJsRule,
|
|
3654
|
+
jsxTag,
|
|
3655
|
+
{ include: "reference" }, { defaultToken: "string.xml" }
|
|
3656
|
+
];
|
|
3657
|
+
this.$rules.jsxAttributes = [{
|
|
3658
|
+
token: "meta.tag.punctuation.tag-close.xml",
|
|
3659
|
+
regex: "/?>",
|
|
3660
|
+
onMatch: function (value, currentState, stack) {
|
|
3661
|
+
if (currentState == stack[0])
|
|
3662
|
+
stack.shift();
|
|
3663
|
+
if (value.length == 2) {
|
|
3664
|
+
if (stack[0] == this.nextState)
|
|
3665
|
+
stack[1]--;
|
|
3666
|
+
if (!stack[1] || stack[1] < 0) {
|
|
3667
|
+
stack.splice(0, 2);
|
|
3668
|
+
}
|
|
3669
|
+
}
|
|
3670
|
+
this.next = stack[0] || "start";
|
|
3671
|
+
return [{ type: this.token, value: value }];
|
|
3672
|
+
},
|
|
3673
|
+
nextState: "jsx"
|
|
3674
|
+
},
|
|
3675
|
+
jsxJsRule,
|
|
3676
|
+
comments("jsxAttributes"),
|
|
3677
|
+
{
|
|
3678
|
+
token: "entity.other.attribute-name.xml",
|
|
3679
|
+
regex: tagRegex
|
|
3680
|
+
}, {
|
|
3681
|
+
token: "keyword.operator.attribute-equals.xml",
|
|
3682
|
+
regex: "="
|
|
3683
|
+
}, {
|
|
3684
|
+
token: "text.tag-whitespace.xml",
|
|
3685
|
+
regex: "\\s+"
|
|
3686
|
+
}, {
|
|
3687
|
+
token: "string.attribute-value.xml",
|
|
3688
|
+
regex: "'",
|
|
3689
|
+
stateName: "jsx_attr_q",
|
|
3690
|
+
push: [
|
|
3691
|
+
{ token: "string.attribute-value.xml", regex: "'", next: "pop" },
|
|
3692
|
+
{ include: "reference" },
|
|
3693
|
+
{ defaultToken: "string.attribute-value.xml" }
|
|
3694
|
+
]
|
|
3695
|
+
}, {
|
|
3696
|
+
token: "string.attribute-value.xml",
|
|
3697
|
+
regex: '"',
|
|
3698
|
+
stateName: "jsx_attr_qq",
|
|
3699
|
+
push: [
|
|
3700
|
+
{ token: "string.attribute-value.xml", regex: '"', next: "pop" },
|
|
3701
|
+
{ include: "reference" },
|
|
3702
|
+
{ defaultToken: "string.attribute-value.xml" }
|
|
3703
|
+
]
|
|
3704
|
+
},
|
|
3705
|
+
jsxTag
|
|
3706
|
+
];
|
|
3707
|
+
this.$rules.reference = [{
|
|
3708
|
+
token: "constant.language.escape.reference.xml",
|
|
3709
|
+
regex: "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
|
|
3710
|
+
}];
|
|
3711
|
+
}
|
|
3712
|
+
function comments(next) {
|
|
3713
|
+
return [
|
|
3714
|
+
{
|
|
3715
|
+
token: "comment", // multi line comment
|
|
3716
|
+
regex: /\/\*/,
|
|
3717
|
+
next: [
|
|
3718
|
+
DocCommentHighlightRules.getTagRule(),
|
|
3719
|
+
{ token: "comment", regex: "\\*\\/", next: next || "pop" },
|
|
3720
|
+
{ defaultToken: "comment", caseInsensitive: true }
|
|
3721
|
+
]
|
|
3722
|
+
}, {
|
|
3723
|
+
token: "comment",
|
|
3724
|
+
regex: "\\/\\/",
|
|
3725
|
+
next: [
|
|
3726
|
+
DocCommentHighlightRules.getTagRule(),
|
|
3727
|
+
{ token: "comment", regex: "$|^", next: next || "pop" },
|
|
3728
|
+
{ defaultToken: "comment", caseInsensitive: true }
|
|
3729
|
+
]
|
|
3730
|
+
}
|
|
3731
|
+
];
|
|
3732
|
+
}
|
|
3733
|
+
exports.JavaScriptHighlightRules = JavaScriptHighlightRules;
|
|
3734
|
+
|
|
3735
|
+
});
|
|
3736
|
+
|
|
3737
|
+
ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
3738
|
+
var oop = require("../lib/oop");
|
|
3739
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
3740
|
+
var XmlHighlightRules = function (normalize) {
|
|
3741
|
+
var tagRegex = "[_:a-zA-Z\xc0-\uffff][-_:.a-zA-Z0-9\xc0-\uffff]*";
|
|
3742
|
+
this.$rules = {
|
|
3743
|
+
start: [
|
|
3744
|
+
{ token: "string.cdata.xml", regex: "<\\!\\[CDATA\\[", next: "cdata" },
|
|
3745
|
+
{
|
|
3746
|
+
token: ["punctuation.instruction.xml", "keyword.instruction.xml"],
|
|
3747
|
+
regex: "(<\\?)(" + tagRegex + ")", next: "processing_instruction"
|
|
3748
|
+
},
|
|
3749
|
+
{ token: "comment.start.xml", regex: "<\\!--", next: "comment" },
|
|
3750
|
+
{
|
|
3751
|
+
token: ["xml-pe.doctype.xml", "xml-pe.doctype.xml"],
|
|
3752
|
+
regex: "(<\\!)(DOCTYPE)(?=[\\s])", next: "doctype", caseInsensitive: true
|
|
3753
|
+
},
|
|
3754
|
+
{ include: "tag" },
|
|
3755
|
+
{ token: "text.end-tag-open.xml", regex: "</" },
|
|
3756
|
+
{ token: "text.tag-open.xml", regex: "<" },
|
|
3757
|
+
{ include: "reference" },
|
|
3758
|
+
{ defaultToken: "text.xml" }
|
|
3759
|
+
],
|
|
3760
|
+
processing_instruction: [{
|
|
3761
|
+
token: "entity.other.attribute-name.decl-attribute-name.xml",
|
|
3762
|
+
regex: tagRegex
|
|
3763
|
+
}, {
|
|
3764
|
+
token: "keyword.operator.decl-attribute-equals.xml",
|
|
3765
|
+
regex: "="
|
|
3766
|
+
}, {
|
|
3767
|
+
include: "whitespace"
|
|
3768
|
+
}, {
|
|
3769
|
+
include: "string"
|
|
3770
|
+
}, {
|
|
3771
|
+
token: "punctuation.xml-decl.xml",
|
|
3772
|
+
regex: "\\?>",
|
|
3773
|
+
next: "start"
|
|
3774
|
+
}],
|
|
3775
|
+
doctype: [
|
|
3776
|
+
{ include: "whitespace" },
|
|
3777
|
+
{ include: "string" },
|
|
3778
|
+
{ token: "xml-pe.doctype.xml", regex: ">", next: "start" },
|
|
3779
|
+
{ token: "xml-pe.xml", regex: "[-_a-zA-Z0-9:]+" },
|
|
3780
|
+
{ token: "punctuation.int-subset", regex: "\\[", push: "int_subset" }
|
|
3781
|
+
],
|
|
3782
|
+
int_subset: [{
|
|
3783
|
+
token: "text.xml",
|
|
3784
|
+
regex: "\\s+"
|
|
3785
|
+
}, {
|
|
3786
|
+
token: "punctuation.int-subset.xml",
|
|
3787
|
+
regex: "]",
|
|
3788
|
+
next: "pop"
|
|
3789
|
+
}, {
|
|
3790
|
+
token: ["punctuation.markup-decl.xml", "keyword.markup-decl.xml"],
|
|
3791
|
+
regex: "(<\\!)(" + tagRegex + ")",
|
|
3792
|
+
push: [{
|
|
3793
|
+
token: "text",
|
|
3794
|
+
regex: "\\s+"
|
|
3795
|
+
},
|
|
3796
|
+
{
|
|
3797
|
+
token: "punctuation.markup-decl.xml",
|
|
3798
|
+
regex: ">",
|
|
3799
|
+
next: "pop"
|
|
3800
|
+
},
|
|
3801
|
+
{ include: "string" }]
|
|
3802
|
+
}],
|
|
3803
|
+
cdata: [
|
|
3804
|
+
{ token: "string.cdata.xml", regex: "\\]\\]>", next: "start" },
|
|
3805
|
+
{ token: "text.xml", regex: "\\s+" },
|
|
3806
|
+
{ token: "text.xml", regex: "(?:[^\\]]|\\](?!\\]>))+" }
|
|
3807
|
+
],
|
|
3808
|
+
comment: [
|
|
3809
|
+
{ token: "comment.end.xml", regex: "-->", next: "start" },
|
|
3810
|
+
{ defaultToken: "comment.xml" }
|
|
3811
|
+
],
|
|
3812
|
+
reference: [{
|
|
3813
|
+
token: "constant.language.escape.reference.xml",
|
|
3814
|
+
regex: "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
|
|
3815
|
+
}],
|
|
3816
|
+
attr_reference: [{
|
|
3817
|
+
token: "constant.language.escape.reference.attribute-value.xml",
|
|
3818
|
+
regex: "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
|
|
3819
|
+
}],
|
|
3820
|
+
tag: [{
|
|
3821
|
+
token: ["meta.tag.punctuation.tag-open.xml", "meta.tag.punctuation.end-tag-open.xml", "meta.tag.tag-name.xml"],
|
|
3822
|
+
regex: "(?:(<)|(</))((?:" + tagRegex + ":)?" + tagRegex + ")",
|
|
3823
|
+
next: [
|
|
3824
|
+
{ include: "attributes" },
|
|
3825
|
+
{ token: "meta.tag.punctuation.tag-close.xml", regex: "/?>", next: "start" }
|
|
3826
|
+
]
|
|
3827
|
+
}],
|
|
3828
|
+
tag_whitespace: [
|
|
3829
|
+
{ token: "text.tag-whitespace.xml", regex: "\\s+" }
|
|
3830
|
+
],
|
|
3831
|
+
whitespace: [
|
|
3832
|
+
{ token: "text.whitespace.xml", regex: "\\s+" }
|
|
3833
|
+
],
|
|
3834
|
+
string: [{
|
|
3835
|
+
token: "string.xml",
|
|
3836
|
+
regex: "'",
|
|
3837
|
+
push: [
|
|
3838
|
+
{ token: "string.xml", regex: "'", next: "pop" },
|
|
3839
|
+
{ defaultToken: "string.xml" }
|
|
3840
|
+
]
|
|
3841
|
+
}, {
|
|
3842
|
+
token: "string.xml",
|
|
3843
|
+
regex: '"',
|
|
3844
|
+
push: [
|
|
3845
|
+
{ token: "string.xml", regex: '"', next: "pop" },
|
|
3846
|
+
{ defaultToken: "string.xml" }
|
|
3847
|
+
]
|
|
3848
|
+
}],
|
|
3849
|
+
attributes: [{
|
|
3850
|
+
token: "entity.other.attribute-name.xml",
|
|
3851
|
+
regex: tagRegex
|
|
3852
|
+
}, {
|
|
3853
|
+
token: "keyword.operator.attribute-equals.xml",
|
|
3854
|
+
regex: "="
|
|
3855
|
+
}, {
|
|
3856
|
+
include: "tag_whitespace"
|
|
3857
|
+
}, {
|
|
3858
|
+
include: "attribute_value"
|
|
3859
|
+
}],
|
|
3860
|
+
attribute_value: [{
|
|
3861
|
+
token: "string.attribute-value.xml",
|
|
3862
|
+
regex: "'",
|
|
3863
|
+
push: [
|
|
3864
|
+
{ token: "string.attribute-value.xml", regex: "'", next: "pop" },
|
|
3865
|
+
{ include: "attr_reference" },
|
|
3866
|
+
{ defaultToken: "string.attribute-value.xml" }
|
|
3867
|
+
]
|
|
3868
|
+
}, {
|
|
3869
|
+
token: "string.attribute-value.xml",
|
|
3870
|
+
regex: '"',
|
|
3871
|
+
push: [
|
|
3872
|
+
{ token: "string.attribute-value.xml", regex: '"', next: "pop" },
|
|
3873
|
+
{ include: "attr_reference" },
|
|
3874
|
+
{ defaultToken: "string.attribute-value.xml" }
|
|
3875
|
+
]
|
|
3876
|
+
}]
|
|
3877
|
+
};
|
|
3878
|
+
if (this.constructor === XmlHighlightRules)
|
|
3879
|
+
this.normalizeRules();
|
|
3880
|
+
};
|
|
3881
|
+
(function () {
|
|
3882
|
+
this.embedTagRules = function (HighlightRules, prefix, tag) {
|
|
3883
|
+
this.$rules.tag.unshift({
|
|
3884
|
+
token: ["meta.tag.punctuation.tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
|
|
3885
|
+
regex: "(<)(" + tag + "(?=\\s|>|$))",
|
|
3886
|
+
next: [
|
|
3887
|
+
{ include: "attributes" },
|
|
3888
|
+
{ token: "meta.tag.punctuation.tag-close.xml", regex: "/?>", next: prefix + "start" }
|
|
3889
|
+
]
|
|
3890
|
+
});
|
|
3891
|
+
this.$rules[tag + "-end"] = [
|
|
3892
|
+
{ include: "attributes" },
|
|
3893
|
+
{ token: "meta.tag.punctuation.tag-close.xml", regex: "/?>", next: "start",
|
|
3894
|
+
onMatch: function (value, currentState, stack) {
|
|
3895
|
+
stack.splice(0);
|
|
3896
|
+
return this.token;
|
|
3897
|
+
} }
|
|
3898
|
+
];
|
|
3899
|
+
this.embedRules(HighlightRules, prefix, [{
|
|
3900
|
+
token: ["meta.tag.punctuation.end-tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
|
|
3901
|
+
regex: "(</)(" + tag + "(?=\\s|>|$))",
|
|
3902
|
+
next: tag + "-end"
|
|
3903
|
+
}, {
|
|
3904
|
+
token: "string.cdata.xml",
|
|
3905
|
+
regex: "<\\!\\[CDATA\\["
|
|
3906
|
+
}, {
|
|
3907
|
+
token: "string.cdata.xml",
|
|
3908
|
+
regex: "\\]\\]>"
|
|
3909
|
+
}]);
|
|
3910
|
+
};
|
|
3911
|
+
}).call(TextHighlightRules.prototype);
|
|
3912
|
+
oop.inherits(XmlHighlightRules, TextHighlightRules);
|
|
3913
|
+
exports.XmlHighlightRules = XmlHighlightRules;
|
|
3914
|
+
|
|
3915
|
+
});
|
|
3916
|
+
|
|
3917
|
+
ace.define("ace/mode/html_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/css_highlight_rules","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"], function(require, exports, module){"use strict";
|
|
3918
|
+
var oop = require("../lib/oop");
|
|
3919
|
+
var lang = require("../lib/lang");
|
|
3920
|
+
var CssHighlightRules = require("./css_highlight_rules").CssHighlightRules;
|
|
3921
|
+
var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
|
|
3922
|
+
var XmlHighlightRules = require("./xml_highlight_rules").XmlHighlightRules;
|
|
3923
|
+
var tagMap = lang.createMap({
|
|
3924
|
+
a: 'anchor',
|
|
3925
|
+
button: 'form',
|
|
3926
|
+
form: 'form',
|
|
3927
|
+
img: 'image',
|
|
3928
|
+
input: 'form',
|
|
3929
|
+
label: 'form',
|
|
3930
|
+
option: 'form',
|
|
3931
|
+
script: 'script',
|
|
3932
|
+
select: 'form',
|
|
3933
|
+
textarea: 'form',
|
|
3934
|
+
style: 'style',
|
|
3935
|
+
table: 'table',
|
|
3936
|
+
tbody: 'table',
|
|
3937
|
+
td: 'table',
|
|
3938
|
+
tfoot: 'table',
|
|
3939
|
+
th: 'table',
|
|
3940
|
+
tr: 'table'
|
|
3941
|
+
});
|
|
3942
|
+
var HtmlHighlightRules = function () {
|
|
3943
|
+
XmlHighlightRules.call(this);
|
|
3944
|
+
this.addRules({
|
|
3945
|
+
attributes: [{
|
|
3946
|
+
include: "tag_whitespace"
|
|
3947
|
+
}, {
|
|
3948
|
+
token: "entity.other.attribute-name.xml",
|
|
3949
|
+
regex: "[-_a-zA-Z0-9:.]+"
|
|
3950
|
+
}, {
|
|
3951
|
+
token: "keyword.operator.attribute-equals.xml",
|
|
3952
|
+
regex: "=",
|
|
3953
|
+
push: [{
|
|
3954
|
+
include: "tag_whitespace"
|
|
3955
|
+
}, {
|
|
3956
|
+
token: "string.unquoted.attribute-value.html",
|
|
3957
|
+
regex: "[^<>='\"`\\s]+",
|
|
3958
|
+
next: "pop"
|
|
3959
|
+
}, {
|
|
3960
|
+
token: "empty",
|
|
3961
|
+
regex: "",
|
|
3962
|
+
next: "pop"
|
|
3963
|
+
}]
|
|
3964
|
+
}, {
|
|
3965
|
+
include: "attribute_value"
|
|
3966
|
+
}],
|
|
3967
|
+
tag: [{
|
|
3968
|
+
token: function (start, tag) {
|
|
3969
|
+
var group = tagMap[tag];
|
|
3970
|
+
return ["meta.tag.punctuation." + (start == "<" ? "" : "end-") + "tag-open.xml",
|
|
3971
|
+
"meta.tag" + (group ? "." + group : "") + ".tag-name.xml"];
|
|
3972
|
+
},
|
|
3973
|
+
regex: "(</?)([-_a-zA-Z0-9:.]+)",
|
|
3974
|
+
next: "tag_stuff"
|
|
3975
|
+
}],
|
|
3976
|
+
tag_stuff: [
|
|
3977
|
+
{ include: "attributes" },
|
|
3978
|
+
{ token: "meta.tag.punctuation.tag-close.xml", regex: "/?>", next: "start" }
|
|
3979
|
+
]
|
|
3980
|
+
});
|
|
3981
|
+
this.embedTagRules(CssHighlightRules, "css-", "style");
|
|
3982
|
+
this.embedTagRules(new JavaScriptHighlightRules({ jsx: false }).getRules(), "js-", "script");
|
|
3983
|
+
if (this.constructor === HtmlHighlightRules)
|
|
3984
|
+
this.normalizeRules();
|
|
3985
|
+
};
|
|
3986
|
+
oop.inherits(HtmlHighlightRules, XmlHighlightRules);
|
|
3987
|
+
exports.HtmlHighlightRules = HtmlHighlightRules;
|
|
3988
|
+
|
|
3989
|
+
});
|
|
3990
|
+
|
|
3991
|
+
ace.define("ace/mode/csound_document_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/csound_orchestra_highlight_rules","ace/mode/csound_score_highlight_rules","ace/mode/html_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict";
|
|
3992
|
+
var oop = require("../lib/oop");
|
|
3993
|
+
var CsoundOrchestraHighlightRules = require("./csound_orchestra_highlight_rules").CsoundOrchestraHighlightRules;
|
|
3994
|
+
var CsoundScoreHighlightRules = require("./csound_score_highlight_rules").CsoundScoreHighlightRules;
|
|
3995
|
+
var HtmlHighlightRules = require("./html_highlight_rules").HtmlHighlightRules;
|
|
3996
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
3997
|
+
var CsoundDocumentHighlightRules = function () {
|
|
3998
|
+
var orchestraHighlightRules = new CsoundOrchestraHighlightRules("csound-");
|
|
3999
|
+
var scoreHighlightRules = new CsoundScoreHighlightRules("csound-score-");
|
|
4000
|
+
this.$rules = {
|
|
4001
|
+
"start": [
|
|
4002
|
+
{
|
|
4003
|
+
token: ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4004
|
+
regex: /(<)(CsoundSynthesi[sz]er)(>)/,
|
|
4005
|
+
next: "synthesizer"
|
|
4006
|
+
},
|
|
4007
|
+
{ defaultToken: "text.csound-document" }
|
|
4008
|
+
],
|
|
4009
|
+
"synthesizer": [
|
|
4010
|
+
{
|
|
4011
|
+
token: ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4012
|
+
regex: "(</)(CsoundSynthesi[sz]er)(>)",
|
|
4013
|
+
next: "start"
|
|
4014
|
+
}, {
|
|
4015
|
+
token: ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4016
|
+
regex: "(<)(CsInstruments)(>)",
|
|
4017
|
+
next: orchestraHighlightRules.embeddedRulePrefix + "start"
|
|
4018
|
+
}, {
|
|
4019
|
+
token: ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4020
|
+
regex: "(<)(CsScore)(>)",
|
|
4021
|
+
next: scoreHighlightRules.embeddedRulePrefix + "start"
|
|
4022
|
+
}, {
|
|
4023
|
+
token: ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4024
|
+
regex: "(<)([Hh][Tt][Mm][Ll])(>)",
|
|
4025
|
+
next: "html-start"
|
|
4026
|
+
}
|
|
4027
|
+
]
|
|
4028
|
+
};
|
|
4029
|
+
this.embedRules(orchestraHighlightRules.getRules(), orchestraHighlightRules.embeddedRulePrefix, [{
|
|
4030
|
+
token: ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4031
|
+
regex: "(</)(CsInstruments)(>)",
|
|
4032
|
+
next: "synthesizer"
|
|
4033
|
+
}]);
|
|
4034
|
+
this.embedRules(scoreHighlightRules.getRules(), scoreHighlightRules.embeddedRulePrefix, [{
|
|
4035
|
+
token: ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4036
|
+
regex: "(</)(CsScore)(>)",
|
|
4037
|
+
next: "synthesizer"
|
|
4038
|
+
}]);
|
|
4039
|
+
this.embedRules(HtmlHighlightRules, "html-", [{
|
|
4040
|
+
token: ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
|
|
4041
|
+
regex: "(</)([Hh][Tt][Mm][Ll])(>)",
|
|
4042
|
+
next: "synthesizer"
|
|
4043
|
+
}]);
|
|
4044
|
+
this.normalizeRules();
|
|
4045
|
+
};
|
|
4046
|
+
oop.inherits(CsoundDocumentHighlightRules, TextHighlightRules);
|
|
4047
|
+
exports.CsoundDocumentHighlightRules = CsoundDocumentHighlightRules;
|
|
4048
|
+
|
|
4049
|
+
});
|
|
4050
|
+
|
|
4051
|
+
ace.define("ace/mode/csound_document",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/csound_document_highlight_rules"], function(require, exports, module){"use strict";
|
|
4052
|
+
var oop = require("../lib/oop");
|
|
4053
|
+
var TextMode = require("./text").Mode;
|
|
4054
|
+
var CsoundDocumentHighlightRules = require("./csound_document_highlight_rules").CsoundDocumentHighlightRules;
|
|
4055
|
+
var Mode = function () {
|
|
4056
|
+
this.HighlightRules = CsoundDocumentHighlightRules;
|
|
4057
|
+
};
|
|
4058
|
+
oop.inherits(Mode, TextMode);
|
|
4059
|
+
(function () {
|
|
4060
|
+
this.$id = "ace/mode/csound_document";
|
|
4061
|
+
this.snippetFileId = "ace/snippets/csound_document";
|
|
4062
|
+
}).call(Mode.prototype);
|
|
4063
|
+
exports.Mode = Mode;
|
|
4064
|
+
|
|
4065
|
+
}); (function() {
|
|
4066
|
+
ace.require(["ace/mode/csound_document"], function(m) {
|
|
4067
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
4068
|
+
module.exports = m;
|
|
4069
|
+
}
|
|
4070
|
+
});
|
|
4071
|
+
})();
|
|
4072
|
+
|