@dronico/droni-kit 1.7.2 → 1.7.3
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/CHANGELOG.md +7 -0
- package/dist/abap-CrVaG5QI.cjs +6 -0
- package/dist/abap-D0Neqhq6.js +1404 -0
- package/dist/apex-B5LhxkeG.js +332 -0
- package/dist/apex-CGiaaokt.cjs +6 -0
- package/dist/assets/css.worker-DNgQEC96.js +84 -0
- package/dist/assets/editor.worker-BKD3YLiN.js +12 -0
- package/dist/assets/html.worker-B7xpmB-M.js +461 -0
- package/dist/assets/json.worker-td2JV8fN.js +49 -0
- package/dist/assets/ts.worker-CqZGdM85.js +51334 -0
- package/dist/azcli-BrBH0QTU.js +74 -0
- package/dist/azcli-CCWOS89X.cjs +6 -0
- package/dist/bat-BfzAov64.js +106 -0
- package/dist/bat-dplVPQ-_.cjs +6 -0
- package/dist/bicep-C3bCSWel.js +108 -0
- package/dist/bicep-Q9zrsOvk.cjs +7 -0
- package/dist/cameligo-Dr5j7v0u.cjs +6 -0
- package/dist/cameligo-sFL5plcd.js +180 -0
- package/dist/clojure-CfeExRz0.js +767 -0
- package/dist/clojure-DPJGbZtj.cjs +6 -0
- package/dist/coffee-CUV2cHk6.cjs +6 -0
- package/dist/coffee-Xws5K0WL.js +238 -0
- package/dist/cpp-CqOUEpxN.js +395 -0
- package/dist/cpp-DyuKq4fH.cjs +6 -0
- package/dist/csharp-DVLiBOZb.js +332 -0
- package/dist/csharp-d4dFAWKM.cjs +6 -0
- package/dist/csp-DVFp9bw5.js +59 -0
- package/dist/csp-Lc8LbON9.cjs +6 -0
- package/dist/css-D8IzNaWL.cjs +8 -0
- package/dist/css-DwARn2R6.js +193 -0
- package/dist/cssMode--MfDhlXW.js +1577 -0
- package/dist/cssMode-B8S_b__C.cjs +9 -0
- package/dist/cypher-BuSmvVBI.cjs +6 -0
- package/dist/cypher-uY0Mffat.js +269 -0
- package/dist/dart-D27H-mX_.js +287 -0
- package/dist/dart-d-sZXKUo.cjs +6 -0
- package/dist/dockerfile-CmV85WZK.js +136 -0
- package/dist/dockerfile-OepqCuVM.cjs +6 -0
- package/dist/droni-kit.cjs.js +1 -1009
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +7 -76246
- package/dist/ecl--fKn7yzB.js +462 -0
- package/dist/ecl-GFERKf5i.cjs +6 -0
- package/dist/elixir-9a1efda4.cjs +6 -0
- package/dist/elixir-DUhH17ON.js +575 -0
- package/dist/flow9-B3Dx2LLe.js +148 -0
- package/dist/flow9-DsqME3Wt.cjs +6 -0
- package/dist/freemarker2-ApUh3Ubc.cjs +8 -0
- package/dist/freemarker2-B6ampScX.js +995 -0
- package/dist/fsharp-DtZL2hil.cjs +6 -0
- package/dist/fsharp-SyqBfUAR.js +223 -0
- package/dist/go-B11TqKJA.cjs +6 -0
- package/dist/go-BbMR2tdT.js +224 -0
- package/dist/graphql-DDJE6tIl.js +157 -0
- package/dist/graphql-DrfV554J.cjs +6 -0
- package/dist/handlebars-Cbhqp1NE.js +425 -0
- package/dist/handlebars-Ce21uehy.cjs +6 -0
- package/dist/hcl-B0mc1H5M.cjs +6 -0
- package/dist/hcl-YBvpaUqf.js +189 -0
- package/dist/html-BDmPyCbL.js +314 -0
- package/dist/html-BTFiH6Sw.cjs +6 -0
- package/dist/htmlMode-B18NiCAi.cjs +9 -0
- package/dist/htmlMode-BUHFgZKE.js +1587 -0
- package/dist/index-B5gLucco.js +113180 -0
- package/dist/index-BYLdWIQo.cjs +1504 -0
- package/dist/ini-Ct73dBtM.js +77 -0
- package/dist/ini-ymhBH5HG.cjs +6 -0
- package/dist/java-C_jlkwoG.js +238 -0
- package/dist/java-D4zTn_HA.cjs +6 -0
- package/dist/javascript-BR0mMjV4.js +76 -0
- package/dist/javascript-DrLpnVkz.cjs +6 -0
- package/dist/jsonMode-DHhRjk7d.cjs +15 -0
- package/dist/jsonMode-DvjeLIcS.js +2002 -0
- package/dist/julia-D8WE5U1e.js +517 -0
- package/dist/julia-Dp7_oxTx.cjs +6 -0
- package/dist/kotlin-DN07yPPp.cjs +6 -0
- package/dist/kotlin-Zy9aq5yB.js +259 -0
- package/dist/less-CtJmsSxx.cjs +7 -0
- package/dist/less-sZ0iHtE8.js +168 -0
- package/dist/lexon-BH122-aN.cjs +6 -0
- package/dist/lexon-CsdNL29A.js +163 -0
- package/dist/liquid-DBEv3cQo.cjs +6 -0
- package/dist/liquid-c8EQsxJL.js +246 -0
- package/dist/lua-C2YJo0zw.js +168 -0
- package/dist/lua-DF1giqni.cjs +6 -0
- package/dist/m3-BSVLgJdx.cjs +6 -0
- package/dist/m3-CPLP40SG.js +216 -0
- package/dist/markdown-B1mf5e0R.js +235 -0
- package/dist/markdown-DqkJT7wW.cjs +6 -0
- package/dist/mdx-1XKmgriI.js +171 -0
- package/dist/mdx-BLFumXRM.cjs +6 -0
- package/dist/mips-DA33BZX1.js +204 -0
- package/dist/mips-HcsFOvwE.cjs +6 -0
- package/dist/msdax-CCYFIQsP.js +381 -0
- package/dist/msdax-D8wkgf9t.cjs +6 -0
- package/dist/mysql-D1qSUjcB.cjs +6 -0
- package/dist/mysql-hjmIjL-D.js +884 -0
- package/dist/objective-c-BcY1nQEp.cjs +6 -0
- package/dist/objective-c-RRCpEmqC.js +189 -0
- package/dist/pascal-C6VID8iC.cjs +6 -0
- package/dist/pascal-CeV8XfxB.js +257 -0
- package/dist/pascaligo-CtEkUcZy.cjs +6 -0
- package/dist/pascaligo-IEEGVJAJ.js +170 -0
- package/dist/perl-B5-QbHq_.js +632 -0
- package/dist/perl-BS5MoSit.cjs +6 -0
- package/dist/pgsql-DSQqzbUN.cjs +6 -0
- package/dist/pgsql-s6kqEJmi.js +857 -0
- package/dist/php-CWWqzOo8.js +506 -0
- package/dist/php-Dcbv8it3.cjs +6 -0
- package/dist/pla-BKGu3P8x.cjs +6 -0
- package/dist/pla-FSvb_YP_.js +143 -0
- package/dist/postiats-DQdscQXO.js +913 -0
- package/dist/postiats-lASv8P6N.cjs +6 -0
- package/dist/powerquery-BuqmBiPU.cjs +6 -0
- package/dist/powerquery-CtA5JA1I.js +896 -0
- package/dist/powershell-CtRTGCOm.cjs +6 -0
- package/dist/powershell-DglEq96N.js +245 -0
- package/dist/protobuf-BSepub3e.js +426 -0
- package/dist/protobuf-Dk87ns3u.cjs +7 -0
- package/dist/pug-B1847F4G.js +408 -0
- package/dist/pug-CVbk24PQ.cjs +6 -0
- package/dist/python-CFCwn4yH.cjs +6 -0
- package/dist/python-kCX2MsY7.js +307 -0
- package/dist/qsharp-BSix4Z0w.cjs +6 -0
- package/dist/qsharp-D4i0Nqg9.js +307 -0
- package/dist/r-CSIGVqGj.cjs +6 -0
- package/dist/r-cdRigKxa.js +249 -0
- package/dist/razor-BwatS76l.cjs +6 -0
- package/dist/razor-CJ2-OlVm.js +556 -0
- package/dist/redis-1SUKo9jD.cjs +6 -0
- package/dist/redis-D9MFxvE8.js +308 -0
- package/dist/redshift-BS1FVf13.cjs +6 -0
- package/dist/redshift-CmCnsvL-.js +815 -0
- package/dist/restructuredtext-CWy8J51t.js +180 -0
- package/dist/restructuredtext-DU-k0-PC.cjs +6 -0
- package/dist/ruby-WP-c36m5.js +517 -0
- package/dist/ruby-aigiByO4.cjs +6 -0
- package/dist/rust-Q9FLdYpu.js +349 -0
- package/dist/rust-adCJoS28.cjs +6 -0
- package/dist/sb-C54-JBGT.js +121 -0
- package/dist/sb-CiUR99st.cjs +6 -0
- package/dist/scala-CzbFImc5.js +376 -0
- package/dist/scala-Tb5I4vBh.cjs +6 -0
- package/dist/scheme-BMUadJWp.cjs +6 -0
- package/dist/scheme-BhfDmYN3.js +114 -0
- package/dist/scss-BICI8Lvl.cjs +8 -0
- package/dist/scss-CEmiBXpS.js +268 -0
- package/dist/shell-BUjduzW4.cjs +6 -0
- package/dist/shell-Bmc1VhG0.js +227 -0
- package/dist/solidity-C9Q2I8Hh.js +1373 -0
- package/dist/solidity-DFZoFjgL.cjs +6 -0
- package/dist/sophia-B_a5zu_Y.cjs +6 -0
- package/dist/sophia-jWa1UyKz.js +205 -0
- package/dist/sparql-C-N2tZtn.cjs +6 -0
- package/dist/sparql-CM7jctbc.js +207 -0
- package/dist/sql-CVdEafkq.cjs +6 -0
- package/dist/sql-WzihTkbg.js +859 -0
- package/dist/st-2HB7Hiwr.cjs +6 -0
- package/dist/st-6y7_3aup.js +422 -0
- package/dist/swift-k-0zxG_D.js +318 -0
- package/dist/swift-xGTYXUAm.cjs +8 -0
- package/dist/systemverilog-BaPbkNTu.cjs +6 -0
- package/dist/systemverilog-Pnr5_rIP.js +582 -0
- package/dist/tcl-SSKta9Un.cjs +6 -0
- package/dist/tcl-fNPXval8.js +238 -0
- package/dist/tsMode-RB_vd_eb.cjs +16 -0
- package/dist/tsMode-Rf8OU01s.js +895 -0
- package/dist/twig-ByEpcNlL.cjs +6 -0
- package/dist/twig-L2MkztkV.js +398 -0
- package/dist/typescript-CV2SvKu1.cjs +6 -0
- package/dist/typescript-CaxFA8LZ.js +349 -0
- package/dist/typespec-Bxe2hBLx.cjs +6 -0
- package/dist/typespec-Cqqo-3Pt.js +123 -0
- package/dist/vb-B5YC2xN9.js +378 -0
- package/dist/vb-m8wPqU1B.cjs +6 -0
- package/dist/wgsl-B-_uRex7.js +445 -0
- package/dist/wgsl-CPwT7Vox.cjs +303 -0
- package/dist/xml-BSn2vC2Q.cjs +6 -0
- package/dist/xml-BYNZTm-o.js +101 -0
- package/dist/yaml-C7dSJq0N.cjs +6 -0
- package/dist/yaml-Czj6pQn5.js +212 -0
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},t={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}};exports.conf=e;exports.language=t;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}};exports.conf=e;exports.language=r;
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
7
|
+
var e = {
|
|
8
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
9
|
+
comments: {
|
|
10
|
+
blockComment: ["###", "###"],
|
|
11
|
+
lineComment: "#"
|
|
12
|
+
},
|
|
13
|
+
brackets: [
|
|
14
|
+
["{", "}"],
|
|
15
|
+
["[", "]"],
|
|
16
|
+
["(", ")"]
|
|
17
|
+
],
|
|
18
|
+
autoClosingPairs: [
|
|
19
|
+
{ open: "{", close: "}" },
|
|
20
|
+
{ open: "[", close: "]" },
|
|
21
|
+
{ open: "(", close: ")" },
|
|
22
|
+
{ open: '"', close: '"' },
|
|
23
|
+
{ open: "'", close: "'" }
|
|
24
|
+
],
|
|
25
|
+
surroundingPairs: [
|
|
26
|
+
{ open: "{", close: "}" },
|
|
27
|
+
{ open: "[", close: "]" },
|
|
28
|
+
{ open: "(", close: ")" },
|
|
29
|
+
{ open: '"', close: '"' },
|
|
30
|
+
{ open: "'", close: "'" }
|
|
31
|
+
],
|
|
32
|
+
folding: {
|
|
33
|
+
markers: {
|
|
34
|
+
start: new RegExp("^\\s*#region\\b"),
|
|
35
|
+
end: new RegExp("^\\s*#endregion\\b")
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}, r = {
|
|
39
|
+
defaultToken: "",
|
|
40
|
+
ignoreCase: !0,
|
|
41
|
+
tokenPostfix: ".coffee",
|
|
42
|
+
brackets: [
|
|
43
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
44
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
|
45
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
46
|
+
],
|
|
47
|
+
regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
|
|
48
|
+
keywords: [
|
|
49
|
+
"and",
|
|
50
|
+
"or",
|
|
51
|
+
"is",
|
|
52
|
+
"isnt",
|
|
53
|
+
"not",
|
|
54
|
+
"on",
|
|
55
|
+
"yes",
|
|
56
|
+
"@",
|
|
57
|
+
"no",
|
|
58
|
+
"off",
|
|
59
|
+
"true",
|
|
60
|
+
"false",
|
|
61
|
+
"null",
|
|
62
|
+
"this",
|
|
63
|
+
"new",
|
|
64
|
+
"delete",
|
|
65
|
+
"typeof",
|
|
66
|
+
"in",
|
|
67
|
+
"instanceof",
|
|
68
|
+
"return",
|
|
69
|
+
"throw",
|
|
70
|
+
"break",
|
|
71
|
+
"continue",
|
|
72
|
+
"debugger",
|
|
73
|
+
"if",
|
|
74
|
+
"else",
|
|
75
|
+
"switch",
|
|
76
|
+
"for",
|
|
77
|
+
"while",
|
|
78
|
+
"do",
|
|
79
|
+
"try",
|
|
80
|
+
"catch",
|
|
81
|
+
"finally",
|
|
82
|
+
"class",
|
|
83
|
+
"extends",
|
|
84
|
+
"super",
|
|
85
|
+
"undefined",
|
|
86
|
+
"then",
|
|
87
|
+
"unless",
|
|
88
|
+
"until",
|
|
89
|
+
"loop",
|
|
90
|
+
"of",
|
|
91
|
+
"by",
|
|
92
|
+
"when"
|
|
93
|
+
],
|
|
94
|
+
// we include these common regular expressions
|
|
95
|
+
symbols: /[=><!~?&%|+\-*\/\^\.,\:]+/,
|
|
96
|
+
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
97
|
+
// The main tokenizer for our languages
|
|
98
|
+
tokenizer: {
|
|
99
|
+
root: [
|
|
100
|
+
// identifiers and keywords
|
|
101
|
+
[/\@[a-zA-Z_]\w*/, "variable.predefined"],
|
|
102
|
+
[
|
|
103
|
+
/[a-zA-Z_]\w*/,
|
|
104
|
+
{
|
|
105
|
+
cases: {
|
|
106
|
+
this: "variable.predefined",
|
|
107
|
+
"@keywords": { token: "keyword.$0" },
|
|
108
|
+
"@default": ""
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
// whitespace
|
|
113
|
+
[/[ \t\r\n]+/, ""],
|
|
114
|
+
// Comments
|
|
115
|
+
[/###/, "comment", "@comment"],
|
|
116
|
+
[/#.*$/, "comment"],
|
|
117
|
+
// regular expressions
|
|
118
|
+
["///", { token: "regexp", next: "@hereregexp" }],
|
|
119
|
+
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
|
120
|
+
[/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
121
|
+
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
122
|
+
[/(\=)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
123
|
+
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
124
|
+
[/(\[)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
125
|
+
[/(\!)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
126
|
+
[/(\&)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
127
|
+
[/(\|)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
128
|
+
[/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
129
|
+
[/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
130
|
+
[/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
|
|
131
|
+
// delimiters
|
|
132
|
+
[
|
|
133
|
+
/}/,
|
|
134
|
+
{
|
|
135
|
+
cases: {
|
|
136
|
+
"$S2==interpolatedstring": {
|
|
137
|
+
token: "string",
|
|
138
|
+
next: "@pop"
|
|
139
|
+
},
|
|
140
|
+
"@default": "@brackets"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
145
|
+
[/@symbols/, "delimiter"],
|
|
146
|
+
// numbers
|
|
147
|
+
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
|
148
|
+
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
149
|
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
150
|
+
[/0[0-7]+(?!\d)/, "number.octal"],
|
|
151
|
+
[/\d+/, "number"],
|
|
152
|
+
// delimiter: after number because of .\d floats
|
|
153
|
+
[/[,.]/, "delimiter"],
|
|
154
|
+
// strings:
|
|
155
|
+
[/"""/, "string", '@herestring."""'],
|
|
156
|
+
[/'''/, "string", "@herestring.'''"],
|
|
157
|
+
[
|
|
158
|
+
/"/,
|
|
159
|
+
{
|
|
160
|
+
cases: {
|
|
161
|
+
"@eos": "string",
|
|
162
|
+
"@default": { token: "string", next: '@string."' }
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
[
|
|
167
|
+
/'/,
|
|
168
|
+
{
|
|
169
|
+
cases: {
|
|
170
|
+
"@eos": "string",
|
|
171
|
+
"@default": { token: "string", next: "@string.'" }
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
],
|
|
176
|
+
string: [
|
|
177
|
+
[/[^"'\#\\]+/, "string"],
|
|
178
|
+
[/@escapes/, "string.escape"],
|
|
179
|
+
[/\./, "string.escape.invalid"],
|
|
180
|
+
[/\./, "string.escape.invalid"],
|
|
181
|
+
[
|
|
182
|
+
/#{/,
|
|
183
|
+
{
|
|
184
|
+
cases: {
|
|
185
|
+
'$S2=="': {
|
|
186
|
+
token: "string",
|
|
187
|
+
next: "root.interpolatedstring"
|
|
188
|
+
},
|
|
189
|
+
"@default": "string"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
[
|
|
194
|
+
/["']/,
|
|
195
|
+
{
|
|
196
|
+
cases: {
|
|
197
|
+
"$#==$S2": { token: "string", next: "@pop" },
|
|
198
|
+
"@default": "string"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
[/#/, "string"]
|
|
203
|
+
],
|
|
204
|
+
herestring: [
|
|
205
|
+
[
|
|
206
|
+
/("""|''')/,
|
|
207
|
+
{
|
|
208
|
+
cases: {
|
|
209
|
+
"$1==$S2": { token: "string", next: "@pop" },
|
|
210
|
+
"@default": "string"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
[/[^#\\'"]+/, "string"],
|
|
215
|
+
[/['"]+/, "string"],
|
|
216
|
+
[/@escapes/, "string.escape"],
|
|
217
|
+
[/\./, "string.escape.invalid"],
|
|
218
|
+
[/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
|
219
|
+
[/#/, "string"]
|
|
220
|
+
],
|
|
221
|
+
comment: [
|
|
222
|
+
[/[^#]+/, "comment"],
|
|
223
|
+
[/###/, "comment", "@pop"],
|
|
224
|
+
[/#/, "comment"]
|
|
225
|
+
],
|
|
226
|
+
hereregexp: [
|
|
227
|
+
[/[^\\\/#]+/, "regexp"],
|
|
228
|
+
[/\\./, "regexp"],
|
|
229
|
+
[/#.*$/, "comment"],
|
|
230
|
+
["///[igm]*", { token: "regexp", next: "@pop" }],
|
|
231
|
+
[/\//, "regexp"]
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
export {
|
|
236
|
+
e as conf,
|
|
237
|
+
r as language
|
|
238
|
+
};
|
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
7
|
+
var e = {
|
|
8
|
+
comments: {
|
|
9
|
+
lineComment: "//",
|
|
10
|
+
blockComment: ["/*", "*/"]
|
|
11
|
+
},
|
|
12
|
+
brackets: [
|
|
13
|
+
["{", "}"],
|
|
14
|
+
["[", "]"],
|
|
15
|
+
["(", ")"]
|
|
16
|
+
],
|
|
17
|
+
autoClosingPairs: [
|
|
18
|
+
{ open: "[", close: "]" },
|
|
19
|
+
{ open: "{", close: "}" },
|
|
20
|
+
{ open: "(", close: ")" },
|
|
21
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
|
22
|
+
{ open: '"', close: '"', notIn: ["string"] }
|
|
23
|
+
],
|
|
24
|
+
surroundingPairs: [
|
|
25
|
+
{ open: "{", close: "}" },
|
|
26
|
+
{ open: "[", close: "]" },
|
|
27
|
+
{ open: "(", close: ")" },
|
|
28
|
+
{ open: '"', close: '"' },
|
|
29
|
+
{ open: "'", close: "'" }
|
|
30
|
+
],
|
|
31
|
+
folding: {
|
|
32
|
+
markers: {
|
|
33
|
+
start: new RegExp("^\\s*#pragma\\s+region\\b"),
|
|
34
|
+
end: new RegExp("^\\s*#pragma\\s+endregion\\b")
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}, n = {
|
|
38
|
+
defaultToken: "",
|
|
39
|
+
tokenPostfix: ".cpp",
|
|
40
|
+
brackets: [
|
|
41
|
+
{ token: "delimiter.curly", open: "{", close: "}" },
|
|
42
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
43
|
+
{ token: "delimiter.square", open: "[", close: "]" },
|
|
44
|
+
{ token: "delimiter.angle", open: "<", close: ">" }
|
|
45
|
+
],
|
|
46
|
+
keywords: [
|
|
47
|
+
"abstract",
|
|
48
|
+
"amp",
|
|
49
|
+
"array",
|
|
50
|
+
"auto",
|
|
51
|
+
"bool",
|
|
52
|
+
"break",
|
|
53
|
+
"case",
|
|
54
|
+
"catch",
|
|
55
|
+
"char",
|
|
56
|
+
"class",
|
|
57
|
+
"const",
|
|
58
|
+
"constexpr",
|
|
59
|
+
"const_cast",
|
|
60
|
+
"continue",
|
|
61
|
+
"cpu",
|
|
62
|
+
"decltype",
|
|
63
|
+
"default",
|
|
64
|
+
"delegate",
|
|
65
|
+
"delete",
|
|
66
|
+
"do",
|
|
67
|
+
"double",
|
|
68
|
+
"dynamic_cast",
|
|
69
|
+
"each",
|
|
70
|
+
"else",
|
|
71
|
+
"enum",
|
|
72
|
+
"event",
|
|
73
|
+
"explicit",
|
|
74
|
+
"export",
|
|
75
|
+
"extern",
|
|
76
|
+
"false",
|
|
77
|
+
"final",
|
|
78
|
+
"finally",
|
|
79
|
+
"float",
|
|
80
|
+
"for",
|
|
81
|
+
"friend",
|
|
82
|
+
"gcnew",
|
|
83
|
+
"generic",
|
|
84
|
+
"goto",
|
|
85
|
+
"if",
|
|
86
|
+
"in",
|
|
87
|
+
"initonly",
|
|
88
|
+
"inline",
|
|
89
|
+
"int",
|
|
90
|
+
"interface",
|
|
91
|
+
"interior_ptr",
|
|
92
|
+
"internal",
|
|
93
|
+
"literal",
|
|
94
|
+
"long",
|
|
95
|
+
"mutable",
|
|
96
|
+
"namespace",
|
|
97
|
+
"new",
|
|
98
|
+
"noexcept",
|
|
99
|
+
"nullptr",
|
|
100
|
+
"__nullptr",
|
|
101
|
+
"operator",
|
|
102
|
+
"override",
|
|
103
|
+
"partial",
|
|
104
|
+
"pascal",
|
|
105
|
+
"pin_ptr",
|
|
106
|
+
"private",
|
|
107
|
+
"property",
|
|
108
|
+
"protected",
|
|
109
|
+
"public",
|
|
110
|
+
"ref",
|
|
111
|
+
"register",
|
|
112
|
+
"reinterpret_cast",
|
|
113
|
+
"restrict",
|
|
114
|
+
"return",
|
|
115
|
+
"safe_cast",
|
|
116
|
+
"sealed",
|
|
117
|
+
"short",
|
|
118
|
+
"signed",
|
|
119
|
+
"sizeof",
|
|
120
|
+
"static",
|
|
121
|
+
"static_assert",
|
|
122
|
+
"static_cast",
|
|
123
|
+
"struct",
|
|
124
|
+
"switch",
|
|
125
|
+
"template",
|
|
126
|
+
"this",
|
|
127
|
+
"thread_local",
|
|
128
|
+
"throw",
|
|
129
|
+
"tile_static",
|
|
130
|
+
"true",
|
|
131
|
+
"try",
|
|
132
|
+
"typedef",
|
|
133
|
+
"typeid",
|
|
134
|
+
"typename",
|
|
135
|
+
"union",
|
|
136
|
+
"unsigned",
|
|
137
|
+
"using",
|
|
138
|
+
"virtual",
|
|
139
|
+
"void",
|
|
140
|
+
"volatile",
|
|
141
|
+
"wchar_t",
|
|
142
|
+
"where",
|
|
143
|
+
"while",
|
|
144
|
+
"_asm",
|
|
145
|
+
// reserved word with one underscores
|
|
146
|
+
"_based",
|
|
147
|
+
"_cdecl",
|
|
148
|
+
"_declspec",
|
|
149
|
+
"_fastcall",
|
|
150
|
+
"_if_exists",
|
|
151
|
+
"_if_not_exists",
|
|
152
|
+
"_inline",
|
|
153
|
+
"_multiple_inheritance",
|
|
154
|
+
"_pascal",
|
|
155
|
+
"_single_inheritance",
|
|
156
|
+
"_stdcall",
|
|
157
|
+
"_virtual_inheritance",
|
|
158
|
+
"_w64",
|
|
159
|
+
"__abstract",
|
|
160
|
+
// reserved word with two underscores
|
|
161
|
+
"__alignof",
|
|
162
|
+
"__asm",
|
|
163
|
+
"__assume",
|
|
164
|
+
"__based",
|
|
165
|
+
"__box",
|
|
166
|
+
"__builtin_alignof",
|
|
167
|
+
"__cdecl",
|
|
168
|
+
"__clrcall",
|
|
169
|
+
"__declspec",
|
|
170
|
+
"__delegate",
|
|
171
|
+
"__event",
|
|
172
|
+
"__except",
|
|
173
|
+
"__fastcall",
|
|
174
|
+
"__finally",
|
|
175
|
+
"__forceinline",
|
|
176
|
+
"__gc",
|
|
177
|
+
"__hook",
|
|
178
|
+
"__identifier",
|
|
179
|
+
"__if_exists",
|
|
180
|
+
"__if_not_exists",
|
|
181
|
+
"__inline",
|
|
182
|
+
"__int128",
|
|
183
|
+
"__int16",
|
|
184
|
+
"__int32",
|
|
185
|
+
"__int64",
|
|
186
|
+
"__int8",
|
|
187
|
+
"__interface",
|
|
188
|
+
"__leave",
|
|
189
|
+
"__m128",
|
|
190
|
+
"__m128d",
|
|
191
|
+
"__m128i",
|
|
192
|
+
"__m256",
|
|
193
|
+
"__m256d",
|
|
194
|
+
"__m256i",
|
|
195
|
+
"__m512",
|
|
196
|
+
"__m512d",
|
|
197
|
+
"__m512i",
|
|
198
|
+
"__m64",
|
|
199
|
+
"__multiple_inheritance",
|
|
200
|
+
"__newslot",
|
|
201
|
+
"__nogc",
|
|
202
|
+
"__noop",
|
|
203
|
+
"__nounwind",
|
|
204
|
+
"__novtordisp",
|
|
205
|
+
"__pascal",
|
|
206
|
+
"__pin",
|
|
207
|
+
"__pragma",
|
|
208
|
+
"__property",
|
|
209
|
+
"__ptr32",
|
|
210
|
+
"__ptr64",
|
|
211
|
+
"__raise",
|
|
212
|
+
"__restrict",
|
|
213
|
+
"__resume",
|
|
214
|
+
"__sealed",
|
|
215
|
+
"__single_inheritance",
|
|
216
|
+
"__stdcall",
|
|
217
|
+
"__super",
|
|
218
|
+
"__thiscall",
|
|
219
|
+
"__try",
|
|
220
|
+
"__try_cast",
|
|
221
|
+
"__typeof",
|
|
222
|
+
"__unaligned",
|
|
223
|
+
"__unhook",
|
|
224
|
+
"__uuidof",
|
|
225
|
+
"__value",
|
|
226
|
+
"__virtual_inheritance",
|
|
227
|
+
"__w64",
|
|
228
|
+
"__wchar_t"
|
|
229
|
+
],
|
|
230
|
+
operators: [
|
|
231
|
+
"=",
|
|
232
|
+
">",
|
|
233
|
+
"<",
|
|
234
|
+
"!",
|
|
235
|
+
"~",
|
|
236
|
+
"?",
|
|
237
|
+
":",
|
|
238
|
+
"==",
|
|
239
|
+
"<=",
|
|
240
|
+
">=",
|
|
241
|
+
"!=",
|
|
242
|
+
"&&",
|
|
243
|
+
"||",
|
|
244
|
+
"++",
|
|
245
|
+
"--",
|
|
246
|
+
"+",
|
|
247
|
+
"-",
|
|
248
|
+
"*",
|
|
249
|
+
"/",
|
|
250
|
+
"&",
|
|
251
|
+
"|",
|
|
252
|
+
"^",
|
|
253
|
+
"%",
|
|
254
|
+
"<<",
|
|
255
|
+
">>",
|
|
256
|
+
"+=",
|
|
257
|
+
"-=",
|
|
258
|
+
"*=",
|
|
259
|
+
"/=",
|
|
260
|
+
"&=",
|
|
261
|
+
"|=",
|
|
262
|
+
"^=",
|
|
263
|
+
"%=",
|
|
264
|
+
"<<=",
|
|
265
|
+
">>="
|
|
266
|
+
],
|
|
267
|
+
// we include these common regular expressions
|
|
268
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
269
|
+
escapes: /\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
270
|
+
integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,
|
|
271
|
+
floatsuffix: /[fFlL]?/,
|
|
272
|
+
encoding: /u|u8|U|L/,
|
|
273
|
+
// The main tokenizer for our languages
|
|
274
|
+
tokenizer: {
|
|
275
|
+
root: [
|
|
276
|
+
// C++ 11 Raw String
|
|
277
|
+
[/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: "string.raw.begin", next: "@raw.$1" }],
|
|
278
|
+
// identifiers and keywords
|
|
279
|
+
[
|
|
280
|
+
/[a-zA-Z_]\w*/,
|
|
281
|
+
{
|
|
282
|
+
cases: {
|
|
283
|
+
"@keywords": { token: "keyword.$0" },
|
|
284
|
+
"@default": "identifier"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
// The preprocessor checks must be before whitespace as they check /^\s*#/ which
|
|
289
|
+
// otherwise fails to match later after other whitespace has been removed.
|
|
290
|
+
// Inclusion
|
|
291
|
+
[/^\s*#\s*include/, { token: "keyword.directive.include", next: "@include" }],
|
|
292
|
+
// Preprocessor directive
|
|
293
|
+
[/^\s*#\s*\w+/, "keyword.directive"],
|
|
294
|
+
// whitespace
|
|
295
|
+
{ include: "@whitespace" },
|
|
296
|
+
// [[ attributes ]].
|
|
297
|
+
[/\[\s*\[/, { token: "annotation", next: "@annotation" }],
|
|
298
|
+
// delimiters and operators
|
|
299
|
+
[/[{}()<>\[\]]/, "@brackets"],
|
|
300
|
+
[
|
|
301
|
+
/@symbols/,
|
|
302
|
+
{
|
|
303
|
+
cases: {
|
|
304
|
+
"@operators": "delimiter",
|
|
305
|
+
"@default": ""
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
// numbers
|
|
310
|
+
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
311
|
+
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
312
|
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
|
|
313
|
+
[/0[0-7']*[0-7](@integersuffix)/, "number.octal"],
|
|
314
|
+
[/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
|
|
315
|
+
[/\d[\d']*\d(@integersuffix)/, "number"],
|
|
316
|
+
[/\d(@integersuffix)/, "number"],
|
|
317
|
+
// delimiter: after number because of .\d floats
|
|
318
|
+
[/[;,.]/, "delimiter"],
|
|
319
|
+
// strings
|
|
320
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
321
|
+
// non-teminated string
|
|
322
|
+
[/"/, "string", "@string"],
|
|
323
|
+
// characters
|
|
324
|
+
[/'[^\\']'/, "string"],
|
|
325
|
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
326
|
+
[/'/, "string.invalid"]
|
|
327
|
+
],
|
|
328
|
+
whitespace: [
|
|
329
|
+
[/[ \t\r\n]+/, ""],
|
|
330
|
+
[/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
|
|
331
|
+
[/\/\*/, "comment", "@comment"],
|
|
332
|
+
[/\/\/.*\\$/, "comment", "@linecomment"],
|
|
333
|
+
[/\/\/.*$/, "comment"]
|
|
334
|
+
],
|
|
335
|
+
comment: [
|
|
336
|
+
[/[^\/*]+/, "comment"],
|
|
337
|
+
[/\*\//, "comment", "@pop"],
|
|
338
|
+
[/[\/*]/, "comment"]
|
|
339
|
+
],
|
|
340
|
+
//For use with continuous line comments
|
|
341
|
+
linecomment: [
|
|
342
|
+
[/.*[^\\]$/, "comment", "@pop"],
|
|
343
|
+
[/[^]+/, "comment"]
|
|
344
|
+
],
|
|
345
|
+
//Identical copy of comment above, except for the addition of .doc
|
|
346
|
+
doccomment: [
|
|
347
|
+
[/[^\/*]+/, "comment.doc"],
|
|
348
|
+
[/\*\//, "comment.doc", "@pop"],
|
|
349
|
+
[/[\/*]/, "comment.doc"]
|
|
350
|
+
],
|
|
351
|
+
string: [
|
|
352
|
+
[/[^\\"]+/, "string"],
|
|
353
|
+
[/@escapes/, "string.escape"],
|
|
354
|
+
[/\\./, "string.escape.invalid"],
|
|
355
|
+
[/"/, "string", "@pop"]
|
|
356
|
+
],
|
|
357
|
+
raw: [
|
|
358
|
+
[/[^)]+/, "string.raw"],
|
|
359
|
+
[/\)$S2\"/, { token: "string.raw.end", next: "@pop" }],
|
|
360
|
+
[/\)/, "string.raw"]
|
|
361
|
+
],
|
|
362
|
+
annotation: [
|
|
363
|
+
{ include: "@whitespace" },
|
|
364
|
+
[/using|alignas/, "keyword"],
|
|
365
|
+
[/[a-zA-Z0-9_]+/, "annotation"],
|
|
366
|
+
[/[,:]/, "delimiter"],
|
|
367
|
+
[/[()]/, "@brackets"],
|
|
368
|
+
[/\]\s*\]/, { token: "annotation", next: "@pop" }]
|
|
369
|
+
],
|
|
370
|
+
include: [
|
|
371
|
+
[
|
|
372
|
+
/(\s*)(<)([^<>]*)(>)/,
|
|
373
|
+
[
|
|
374
|
+
"",
|
|
375
|
+
"keyword.directive.include.begin",
|
|
376
|
+
"string.include.identifier",
|
|
377
|
+
{ token: "keyword.directive.include.end", next: "@pop" }
|
|
378
|
+
]
|
|
379
|
+
],
|
|
380
|
+
[
|
|
381
|
+
/(\s*)(")([^"]*)(")/,
|
|
382
|
+
[
|
|
383
|
+
"",
|
|
384
|
+
"keyword.directive.include.begin",
|
|
385
|
+
"string.include.identifier",
|
|
386
|
+
{ token: "keyword.directive.include.end", next: "@pop" }
|
|
387
|
+
]
|
|
388
|
+
]
|
|
389
|
+
]
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
export {
|
|
393
|
+
e as conf,
|
|
394
|
+
n as language
|
|
395
|
+
};
|