@distrohelena/canton-explorer 0.1.5 → 0.1.6
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 +32 -0
- package/dist/public/assets/DebuggerView-Mk6TEUJB.js +5 -0
- package/dist/public/assets/abap-08VXUWAP.js +1 -0
- package/dist/public/assets/apex-BWPQTe0t.js +1 -0
- package/dist/public/assets/azcli-Bc_sGQ0U.js +1 -0
- package/dist/public/assets/bat-i0X4ZdIN.js +1 -0
- package/dist/public/assets/bicep-B5-_aFwp.js +2 -0
- package/dist/public/assets/cameligo-DMUM7wLl.js +1 -0
- package/dist/public/assets/clojure-Cm7r79vr.js +1 -0
- package/dist/public/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist/public/assets/coffee-Ba7i2nA0.js +1 -0
- package/dist/public/assets/cpp-C7h46wYY.js +1 -0
- package/dist/public/assets/csharp-BKxtCVv1.js +1 -0
- package/dist/public/assets/csp-bTuwJoIa.js +1 -0
- package/dist/public/assets/css-DIMkf-bt.js +3 -0
- package/dist/public/assets/cssMode-Ce-rlOrP.js +1 -0
- package/dist/public/assets/cypher-CVaqCwHa.js +1 -0
- package/dist/public/assets/dart-onAF5SnQ.js +1 -0
- package/dist/public/assets/dockerfile-DZFCIeNp.js +1 -0
- package/dist/public/assets/ecl-D05T4iGw.js +1 -0
- package/dist/public/assets/editor-Br_kD0ds.css +1 -0
- package/dist/public/assets/editor.api2-7H_iQTr0.js +872 -0
- package/dist/public/assets/elixir-6RTg0lbw.js +1 -0
- package/dist/public/assets/flow9-C5_-GSwl.js +1 -0
- package/dist/public/assets/freemarker2-B-DvnnHs.js +3 -0
- package/dist/public/assets/fsharp-C8Ef5oNN.js +1 -0
- package/dist/public/assets/go-C-y9NEjX.js +1 -0
- package/dist/public/assets/graphql-fmXr3nnJ.js +1 -0
- package/dist/public/assets/handlebars-CME0Fldi.js +1 -0
- package/dist/public/assets/hcl-CpzslTdj.js +1 -0
- package/dist/public/assets/html-Beb3lxWO.js +1 -0
- package/dist/public/assets/htmlMode-CAgp27Dj.js +1 -0
- package/dist/public/assets/index-CucRixYI.css +1 -0
- package/dist/public/assets/{index-BmT5Hrud.js → index-Dn15ZYDU.js} +1 -1
- package/dist/public/assets/ini-sBoK_t0W.js +1 -0
- package/dist/public/assets/java-BEtHBSE6.js +1 -0
- package/dist/public/assets/javascript-DdcWrUzt.js +1 -0
- package/dist/public/assets/jsonMode-BCddWWWg.js +7 -0
- package/dist/public/assets/julia-Bri6UV-V.js +1 -0
- package/dist/public/assets/kotlin-BOotOW0E.js +1 -0
- package/dist/public/assets/less-B9JPFI3C.js +2 -0
- package/dist/public/assets/lexon-CfSJPG6W.js +1 -0
- package/dist/public/assets/liquid-DmF9SgC3.js +1 -0
- package/dist/public/assets/lspLanguageFeatures-D7zEWtOG.js +4 -0
- package/dist/public/assets/lua-CsQS60Ue.js +1 -0
- package/dist/public/assets/m3-D-oSqn_W.js +1 -0
- package/dist/public/assets/markdown-Cimd5fb3.js +1 -0
- package/dist/public/assets/mdx-PwCfoB0S.js +1 -0
- package/dist/public/assets/mips-CIPQ_RoX.js +1 -0
- package/dist/public/assets/monaco-runtime-Bkgn_wG8.js +6 -0
- package/dist/public/assets/monaco.contribution-B2Ohh6Li.js +2 -0
- package/dist/public/assets/msdax-DauUninz.js +1 -0
- package/dist/public/assets/mysql-SOo6toE5.js +1 -0
- package/dist/public/assets/objective-c-FvmIjYaQ.js +1 -0
- package/dist/public/assets/pascal-DrH0SRf2.js +1 -0
- package/dist/public/assets/pascaligo-D-ptJ9y-.js +1 -0
- package/dist/public/assets/perl-oz_6vUea.js +1 -0
- package/dist/public/assets/pgsql-DTj74zXo.js +1 -0
- package/dist/public/assets/php-nr791fC2.js +1 -0
- package/dist/public/assets/pla-CopQ2nXW.js +1 -0
- package/dist/public/assets/postiats-43DmfD33.js +1 -0
- package/dist/public/assets/powerquery-D3hlyOfw.js +1 -0
- package/dist/public/assets/powershell-DmHpPYUd.js +1 -0
- package/dist/public/assets/protobuf-C531GsRP.js +2 -0
- package/dist/public/assets/pug-Z5eAx3Zn.js +1 -0
- package/dist/public/assets/python-pS1EqvyQ.js +1 -0
- package/dist/public/assets/qsharp-DkqhCAOL.js +1 -0
- package/dist/public/assets/r-BwWrilGY.js +1 -0
- package/dist/public/assets/razor-CZ2fK_eC.js +1 -0
- package/dist/public/assets/redis-ClamHrr6.js +1 -0
- package/dist/public/assets/redshift-DT7zqm-g.js +1 -0
- package/dist/public/assets/restructuredtext-BYgofb2h.js +1 -0
- package/dist/public/assets/ruby-DezsRK8O.js +1 -0
- package/dist/public/assets/rust-DdL9SqIa.js +1 -0
- package/dist/public/assets/sb-CcwsVR0C.js +1 -0
- package/dist/public/assets/scala-DHpiXF5c.js +1 -0
- package/dist/public/assets/scheme-BeGwcela.js +1 -0
- package/dist/public/assets/scss-gp-XZpBa.js +3 -0
- package/dist/public/assets/shell-CC2rA5mh.js +1 -0
- package/dist/public/assets/solidity-BEEn4gHE.js +1 -0
- package/dist/public/assets/sophia-CRfGWb83.js +1 -0
- package/dist/public/assets/sparql-D_Lu-MrJ.js +1 -0
- package/dist/public/assets/sql-NEE52Syq.js +1 -0
- package/dist/public/assets/st-DbInun42.js +1 -0
- package/dist/public/assets/swift-Bxkupp3x.js +1 -0
- package/dist/public/assets/systemverilog-Bz4Y3fRF.js +1 -0
- package/dist/public/assets/tcl-DISqw1ZD.js +1 -0
- package/dist/public/assets/tsMode-06H9OqyC.js +11 -0
- package/dist/public/assets/twig-De2hgUGE.js +1 -0
- package/dist/public/assets/typescript-DS7X1pib.js +1 -0
- package/dist/public/assets/typespec-B8J7ngcE.js +1 -0
- package/dist/public/assets/vb-DV3o63ZY.js +1 -0
- package/dist/public/assets/wgsl-DpFanUEy.js +298 -0
- package/dist/public/assets/workers-D4g7l69J.js +1 -0
- package/dist/public/assets/xml-Br0rHxWi.js +1 -0
- package/dist/public/assets/yaml-qASkMRyN.js +1 -0
- package/dist/public/index.html +2 -2
- package/dist/src/debugger/debugger.service.d.ts +2 -0
- package/dist/src/debugger/debugger.service.js +2 -0
- package/dist/src/debugger/debugger.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +9 -6
- package/scripts/build-debug-dar.mjs +277 -0
- package/scripts/generate-daml-source-map.mjs +1512 -0
- package/scripts/prepare-debug-dars-from-workspace.mjs +181 -0
- package/dist/public/assets/DebuggerView-VieEr0b3.js +0 -2
- package/dist/public/assets/index-DnEheBxd.css +0 -1
- package/dist/public/assets/monaco-runtime-C5uazxST.css +0 -1
- package/dist/public/assets/monaco-runtime-DiIHw4v2.js +0 -820
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}]},t={defaultToken:``,tokenPostfix:`.perl`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:`__DATA__.else.lock.__END__.elsif.lt.__FILE__.eq.__LINE__.exp.ne.sub.__PACKAGE__.for.no.and.foreach.or.unless.cmp.ge.package.until.continue.gt.while.CORE.if.xor.do.le.__DIE__.__WARN__`.split(`.`),builtinFunctions:`-A.END.length.setpgrp.-B.endgrent.link.setpriority.-b.endhostent.listen.setprotoent.-C.endnetent.local.setpwent.-c.endprotoent.localtime.setservent.-d.endpwent.log.setsockopt.-e.endservent.lstat.shift.-f.eof.map.shmctl.-g.eval.mkdir.shmget.-k.exec.msgctl.shmread.-l.exists.msgget.shmwrite.-M.exit.msgrcv.shutdown.-O.fcntl.msgsnd.sin.-o.fileno.my.sleep.-p.flock.next.socket.-r.fork.not.socketpair.-R.format.oct.sort.-S.formline.open.splice.-s.getc.opendir.split.-T.getgrent.ord.sprintf.-t.getgrgid.our.sqrt.-u.getgrnam.pack.srand.-w.gethostbyaddr.pipe.stat.-W.gethostbyname.pop.state.-X.gethostent.pos.study.-x.getlogin.print.substr.-z.getnetbyaddr.printf.symlink.abs.getnetbyname.prototype.syscall.accept.getnetent.push.sysopen.alarm.getpeername.quotemeta.sysread.atan2.getpgrp.rand.sysseek.AUTOLOAD.getppid.read.system.BEGIN.getpriority.readdir.syswrite.bind.getprotobyname.readline.tell.binmode.getprotobynumber.readlink.telldir.bless.getprotoent.readpipe.tie.break.getpwent.recv.tied.caller.getpwnam.redo.time.chdir.getpwuid.ref.times.CHECK.getservbyname.rename.truncate.chmod.getservbyport.require.uc.chomp.getservent.reset.ucfirst.chop.getsockname.return.umask.chown.getsockopt.reverse.undef.chr.glob.rewinddir.UNITCHECK.chroot.gmtime.rindex.unlink.close.goto.rmdir.unpack.closedir.grep.say.unshift.connect.hex.scalar.untie.cos.index.seek.use.crypt.INIT.seekdir.utime.dbmclose.int.select.values.dbmopen.ioctl.semctl.vec.defined.join.semget.wait.delete.keys.semop.waitpid.DESTROY.kill.send.wantarray.die.last.setgrent.warn.dump.lc.sethostent.write.each.lcfirst.setnetent`.split(`.`),builtinFileHandlers:[`ARGV`,`STDERR`,`STDOUT`,`ARGVOUT`,`STDIN`,`ENV`],builtinVariables:`$! $^RE_TRIE_MAXBUF $LAST_REGEXP_CODE_RESULT $" $^S $LIST_SEPARATOR $# $^T $MATCH $$ $^TAINT $MULTILINE_MATCHING $% $^UNICODE $NR $& $^UTF8LOCALE $OFMT $' $^V $OFS $( $^W $ORS $) $^WARNING_BITS $OS_ERROR $* $^WIDE_SYSTEM_CALLS $OSNAME $+ $^X $OUTPUT_AUTO_FLUSH $, $_ $OUTPUT_FIELD_SEPARATOR $- $\` $OUTPUT_RECORD_SEPARATOR $. $a $PERL_VERSION $/ $ACCUMULATOR $PERLDB $0 $ARG $PID $: $ARGV $POSTMATCH $; $b $PREMATCH $< $BASETIME $PROCESS_ID $= $CHILD_ERROR $PROGRAM_NAME $> $COMPILING $REAL_GROUP_ID $? $DEBUGGING $REAL_USER_ID $@ $EFFECTIVE_GROUP_ID $RS $[ $EFFECTIVE_USER_ID $SUBSCRIPT_SEPARATOR $\\ $EGID $SUBSEP $] $ERRNO $SYSTEM_FD_MAX $^ $EUID $UID $^A $EVAL_ERROR $WARNING $^C $EXCEPTIONS_BEING_CAUGHT $| $^CHILD_ERROR_NATIVE $EXECUTABLE_NAME $~ $^D $EXTENDED_OS_ERROR %! $^E $FORMAT_FORMFEED %^H $^ENCODING $FORMAT_LINE_BREAK_CHARACTERS %ENV $^F $FORMAT_LINES_LEFT %INC $^H $FORMAT_LINES_PER_PAGE %OVERLOAD $^I $FORMAT_NAME %SIG $^L $FORMAT_PAGE_NUMBER @+ $^M $FORMAT_TOP_NAME @- $^N $GID @_ $^O $INPLACE_EDIT @ARGV $^OPEN $INPUT_LINE_NUMBER @INC $^P $INPUT_RECORD_SEPARATOR @LAST_MATCH_START $^R $LAST_MATCH_END $^RE_DEBUG_FLAGS $LAST_PAREN_MATCH`.split(` `),symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:[`qr`,`m`,`s`,`q`,`qq`,`qx`,`qw`,`tr`,`y`],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:`@whitespace`},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":`keyword`,"@builtinFunctions":`type.identifier`,"@builtinFileHandlers":`variable.predefined`,"@quoteLikeOps":{token:`@rematch`,next:`quotedConstructs`},"@default":``}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":`variable.predefined`,"@default":`variable`}}],{include:`@strings`},{include:`@dblStrings`},{include:`@perldoc`},{include:`@heredoc`},[/[{}\[\]()]/,`@brackets`],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,`regexp`],[/@symbols/,`operators`],{include:`@numbers`},[/[,;]/,`delimiter`]],whitespace:[[/\s+/,`white`],[/(^#!.*$)/,`metatag`],[/(^#.*$)/,`comment`]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,`number.hex`],[/\d+/,`number`]],strings:[[/'/,`string`,`@stringBody`]],stringBody:[[/'/,`string`,`@popall`],[/\\'/,`string.escape`],[/./,`string`]],dblStrings:[[/"/,`string`,`@dblStringBody`]],dblStringBody:[[/"/,`string`,`@popall`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],{include:`@variables`},[/./,`string`]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:`string.delim`,switchTo:`@qstring.(.)`}],[/(q|qw|tr|y)\s*\[/,{token:`string.delim`,switchTo:`@qstring.[.]`}],[/(q|qw|tr|y)\s*\{/,{token:`string.delim`,switchTo:`@qstring.{.}`}],[/(q|qw|tr|y)\s*</,{token:`string.delim`,switchTo:`@qstring.<.>`}],[/(q|qw|tr|y)#/,{token:`string.delim`,switchTo:`@qstring.#.#`}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:`string.delim`,switchTo:`@qstring.$2.$2`}],[/(q|qw|tr|y)\s+(\w)/,{token:`string.delim`,switchTo:`@qstring.$2.$2`}],[/(qr|m|s)\s*\(/,{token:`regexp.delim`,switchTo:`@qregexp.(.)`}],[/(qr|m|s)\s*\[/,{token:`regexp.delim`,switchTo:`@qregexp.[.]`}],[/(qr|m|s)\s*\{/,{token:`regexp.delim`,switchTo:`@qregexp.{.}`}],[/(qr|m|s)\s*</,{token:`regexp.delim`,switchTo:`@qregexp.<.>`}],[/(qr|m|s)#/,{token:`regexp.delim`,switchTo:`@qregexp.#.#`}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:`regexp.delim`,switchTo:`@qregexp.$2.$2`}],[/(qr|m|s)\s+(\w)/,{token:`regexp.delim`,switchTo:`@qregexp.$2.$2`}],[/(qq|qx)\s*\(/,{token:`string.delim`,switchTo:`@qqstring.(.)`}],[/(qq|qx)\s*\[/,{token:`string.delim`,switchTo:`@qqstring.[.]`}],[/(qq|qx)\s*\{/,{token:`string.delim`,switchTo:`@qqstring.{.}`}],[/(qq|qx)\s*</,{token:`string.delim`,switchTo:`@qqstring.<.>`}],[/(qq|qx)#/,{token:`string.delim`,switchTo:`@qqstring.#.#`}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:`string.delim`,switchTo:`@qqstring.$2.$2`}],[/(qq|qx)\s+(\w)/,{token:`string.delim`,switchTo:`@qqstring.$2.$2`}]],qstring:[[/\\./,`string.escape`],[/./,{cases:{"$#==$S3":{token:`string.delim`,next:`@pop`},"$#==$S2":{token:`string.delim`,next:`@push`},"@default":`string`}}]],qregexp:[{include:`@variables`},[/\\./,`regexp.escape`],[/./,{cases:{"$#==$S3":{token:`regexp.delim`,next:`@regexpModifiers`},"$#==$S2":{token:`regexp.delim`,next:`@push`},"@default":`regexp`}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:`regexp.modifier`,next:`@popall`}]],qqstring:[{include:`@variables`},{include:`@qstring`}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:`string.heredoc.delimiter`,next:`@heredocBody.$1`}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:`string.heredoc.delimiter`,next:`@popall`}],"@default":`string.heredoc`}}],[/./,`string.heredoc`]],perldoc:[[/^=\w/,`comment.doc`,`@perldocBody`]],perldocBody:[[/^=cut\b/,`type.identifier`,`@popall`],[/./,`comment.doc`]],variables:[[/\$\w+/,`variable`],[/@\w+/,`variable`],[/%\w+/,`variable`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`--`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={defaultToken:``,tokenPostfix:`.sql`,ignoreCase:!0,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:`ALL.ANALYSE.ANALYZE.AND.ANY.ARRAY.AS.ASC.ASYMMETRIC.AUTHORIZATION.BINARY.BOTH.CASE.CAST.CHECK.COLLATE.COLLATION.COLUMN.CONCURRENTLY.CONSTRAINT.CREATE.CROSS.CURRENT_CATALOG.CURRENT_DATE.CURRENT_ROLE.CURRENT_SCHEMA.CURRENT_TIME.CURRENT_TIMESTAMP.CURRENT_USER.DEFAULT.DEFERRABLE.DESC.DISTINCT.DO.ELSE.END.EXCEPT.FALSE.FETCH.FOR.FOREIGN.FREEZE.FROM.FULL.GRANT.GROUP.HAVING.ILIKE.IN.INITIALLY.INNER.INTERSECT.INTO.IS.ISNULL.JOIN.LATERAL.LEADING.LEFT.LIKE.LIMIT.LOCALTIME.LOCALTIMESTAMP.NATURAL.NOT.NOTNULL.NULL.OFFSET.ON.ONLY.OR.ORDER.OUTER.OVERLAPS.PLACING.PRIMARY.REFERENCES.RETURNING.RIGHT.SELECT.SESSION_USER.SIMILAR.SOME.SYMMETRIC.TABLE.TABLESAMPLE.THEN.TO.TRAILING.TRUE.UNION.UNIQUE.USER.USING.VARIADIC.VERBOSE.WHEN.WHERE.WINDOW.WITH`.split(`.`),operators:[`AND`,`BETWEEN`,`IN`,`LIKE`,`NOT`,`OR`,`IS`,`NULL`,`INTERSECT`,`UNION`,`INNER`,`JOIN`,`LEFT`,`OUTER`,`RIGHT`],builtinFunctions:`abbrev.abs.acldefault.aclexplode.acos.acosd.acosh.age.any.area.array_agg.array_append.array_cat.array_dims.array_fill.array_length.array_lower.array_ndims.array_position.array_positions.array_prepend.array_remove.array_replace.array_to_json.array_to_string.array_to_tsvector.array_upper.ascii.asin.asind.asinh.atan.atan2.atan2d.atand.atanh.avg.bit.bit_and.bit_count.bit_length.bit_or.bit_xor.bool_and.bool_or.bound_box.box.brin_desummarize_range.brin_summarize_new_values.brin_summarize_range.broadcast.btrim.cardinality.cbrt.ceil.ceiling.center.char_length.character_length.chr.circle.clock_timestamp.coalesce.col_description.concat.concat_ws.convert.convert_from.convert_to.corr.cos.cosd.cosh.cot.cotd.count.covar_pop.covar_samp.cume_dist.current_catalog.current_database.current_date.current_query.current_role.current_schema.current_schemas.current_setting.current_time.current_timestamp.current_user.currval.cursor_to_xml.cursor_to_xmlschema.date_bin.date_part.date_trunc.database_to_xml.database_to_xml_and_xmlschema.database_to_xmlschema.decode.degrees.dense_rank.diagonal.diameter.div.encode.enum_first.enum_last.enum_range.every.exp.extract.factorial.family.first_value.floor.format.format_type.gcd.gen_random_uuid.generate_series.generate_subscripts.get_bit.get_byte.get_current_ts_config.gin_clean_pending_list.greatest.grouping.has_any_column_privilege.has_column_privilege.has_database_privilege.has_foreign_data_wrapper_privilege.has_function_privilege.has_language_privilege.has_schema_privilege.has_sequence_privilege.has_server_privilege.has_table_privilege.has_tablespace_privilege.has_type_privilege.height.host.hostmask.inet_client_addr.inet_client_port.inet_merge.inet_same_family.inet_server_addr.inet_server_port.initcap.isclosed.isempty.isfinite.isopen.json_agg.json_array_elements.json_array_elements_text.json_array_length.json_build_array.json_build_object.json_each.json_each_text.json_extract_path.json_extract_path_text.json_object.json_object_agg.json_object_keys.json_populate_record.json_populate_recordset.json_strip_nulls.json_to_record.json_to_recordset.json_to_tsvector.json_typeof.jsonb_agg.jsonb_array_elements.jsonb_array_elements_text.jsonb_array_length.jsonb_build_array.jsonb_build_object.jsonb_each.jsonb_each_text.jsonb_extract_path.jsonb_extract_path_text.jsonb_insert.jsonb_object.jsonb_object_agg.jsonb_object_keys.jsonb_path_exists.jsonb_path_match.jsonb_path_query.jsonb_path_query_array.jsonb_path_exists_tz.jsonb_path_query_first.jsonb_path_query_array_tz.jsonb_path_query_first_tz.jsonb_path_query_tz.jsonb_path_match_tz.jsonb_populate_record.jsonb_populate_recordset.jsonb_pretty.jsonb_set.jsonb_set_lax.jsonb_strip_nulls.jsonb_to_record.jsonb_to_recordset.jsonb_to_tsvector.jsonb_typeof.justify_days.justify_hours.justify_interval.lag.last_value.lastval.lcm.lead.least.left.length.line.ln.localtime.localtimestamp.log.log10.lower.lower_inc.lower_inf.lpad.lseg.ltrim.macaddr8_set7bit.make_date.make_interval.make_time.make_timestamp.make_timestamptz.makeaclitem.masklen.max.md5.min.min_scale.mod.mode.multirange.netmask.network.nextval.normalize.now.npoints.nth_value.ntile.nullif.num_nonnulls.num_nulls.numnode.obj_description.octet_length.overlay.parse_ident.path.pclose.percent_rank.percentile_cont.percentile_disc.pg_advisory_lock.pg_advisory_lock_shared.pg_advisory_unlock.pg_advisory_unlock_all.pg_advisory_unlock_shared.pg_advisory_xact_lock.pg_advisory_xact_lock_shared.pg_backend_pid.pg_backup_start_time.pg_blocking_pids.pg_cancel_backend.pg_client_encoding.pg_collation_actual_version.pg_collation_is_visible.pg_column_compression.pg_column_size.pg_conf_load_time.pg_control_checkpoint.pg_control_init.pg_control_recovery.pg_control_system.pg_conversion_is_visible.pg_copy_logical_replication_slot.pg_copy_physical_replication_slot.pg_create_logical_replication_slot.pg_create_physical_replication_slot.pg_create_restore_point.pg_current_logfile.pg_current_snapshot.pg_current_wal_flush_lsn.pg_current_wal_insert_lsn.pg_current_wal_lsn.pg_current_xact_id.pg_current_xact_id_if_assigned.pg_current_xlog_flush_location.pg_current_xlog_insert_location.pg_current_xlog_location.pg_database_size.pg_describe_object.pg_drop_replication_slot.pg_event_trigger_ddl_commands.pg_event_trigger_dropped_objects.pg_event_trigger_table_rewrite_oid.pg_event_trigger_table_rewrite_reason.pg_export_snapshot.pg_filenode_relation.pg_function_is_visible.pg_get_catalog_foreign_keys.pg_get_constraintdef.pg_get_expr.pg_get_function_arguments.pg_get_function_identity_arguments.pg_get_function_result.pg_get_functiondef.pg_get_indexdef.pg_get_keywords.pg_get_object_address.pg_get_owned_sequence.pg_get_ruledef.pg_get_serial_sequence.pg_get_statisticsobjdef.pg_get_triggerdef.pg_get_userbyid.pg_get_viewdef.pg_get_wal_replay_pause_state.pg_has_role.pg_identify_object.pg_identify_object_as_address.pg_import_system_collations.pg_index_column_has_property.pg_index_has_property.pg_indexam_has_property.pg_indexes_size.pg_is_in_backup.pg_is_in_recovery.pg_is_other_temp_schema.pg_is_wal_replay_paused.pg_is_xlog_replay_paused.pg_jit_available.pg_last_committed_xact.pg_last_wal_receive_lsn.pg_last_wal_replay_lsn.pg_last_xact_replay_timestamp.pg_last_xlog_receive_location.pg_last_xlog_replay_location.pg_listening_channels.pg_log_backend_memory_contexts.pg_logical_emit_message.pg_logical_slot_get_binary_changes.pg_logical_slot_get_changes.pg_logical_slot_peek_binary_changes.pg_logical_slot_peek_changes.pg_ls_archive_statusdir.pg_ls_dir.pg_ls_logdir.pg_ls_tmpdir.pg_ls_waldir.pg_mcv_list_items.pg_my_temp_schema.pg_notification_queue_usage.pg_opclass_is_visible.pg_operator_is_visible.pg_opfamily_is_visible.pg_options_to_table.pg_partition_ancestors.pg_partition_root.pg_partition_tree.pg_postmaster_start_time.pg_promote.pg_read_binary_file.pg_read_file.pg_relation_filenode.pg_relation_filepath.pg_relation_size.pg_reload_conf.pg_replication_origin_advance.pg_replication_origin_create.pg_replication_origin_drop.pg_replication_origin_oid.pg_replication_origin_progress.pg_replication_origin_session_is_setup.pg_replication_origin_session_progress.pg_replication_origin_session_reset.pg_replication_origin_session_setup.pg_replication_origin_xact_reset.pg_replication_origin_xact_setup.pg_replication_slot_advance.pg_rotate_logfile.pg_safe_snapshot_blocking_pids.pg_size_bytes.pg_size_pretty.pg_sleep.pg_sleep_for.pg_sleep_until.pg_snapshot_xip.pg_snapshot_xmax.pg_snapshot_xmin.pg_start_backup.pg_stat_file.pg_statistics_obj_is_visible.pg_stop_backup.pg_switch_wal.pg_switch_xlog.pg_table_is_visible.pg_table_size.pg_tablespace_databases.pg_tablespace_location.pg_tablespace_size.pg_terminate_backend.pg_total_relation_size.pg_trigger_depth.pg_try_advisory_lock.pg_try_advisory_lock_shared.pg_try_advisory_xact_lock.pg_try_advisory_xact_lock_shared.pg_ts_config_is_visible.pg_ts_dict_is_visible.pg_ts_parser_is_visible.pg_ts_template_is_visible.pg_type_is_visible.pg_typeof.pg_visible_in_snapshot.pg_wal_lsn_diff.pg_wal_replay_pause.pg_wal_replay_resume.pg_walfile_name.pg_walfile_name_offset.pg_xact_commit_timestamp.pg_xact_commit_timestamp_origin.pg_xact_status.pg_xlog_location_diff.pg_xlog_replay_pause.pg_xlog_replay_resume.pg_xlogfile_name.pg_xlogfile_name_offset.phraseto_tsquery.pi.plainto_tsquery.point.polygon.popen.position.power.pqserverversion.query_to_xml.query_to_xml_and_xmlschema.query_to_xmlschema.querytree.quote_ident.quote_literal.quote_nullable.radians.radius.random.range_agg.range_intersect_agg.range_merge.rank.regexp_count.regexp_instr.regexp_like.regexp_match.regexp_matches.regexp_replace.regexp_split_to_array.regexp_split_to_table.regexp_substr.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.repeat.replace.reverse.right.round.row_number.row_security_active.row_to_json.rpad.rtrim.scale.schema_to_xml.schema_to_xml_and_xmlschema.schema_to_xmlschema.session_user.set_bit.set_byte.set_config.set_masklen.setseed.setval.setweight.sha224.sha256.sha384.sha512.shobj_description.sign.sin.sind.sinh.slope.split_part.sprintf.sqrt.starts_with.statement_timestamp.stddev.stddev_pop.stddev_samp.string_agg.string_to_array.string_to_table.strip.strpos.substr.substring.sum.suppress_redundant_updates_trigger.table_to_xml.table_to_xml_and_xmlschema.table_to_xmlschema.tan.tand.tanh.text.timeofday.timezone.to_ascii.to_char.to_date.to_hex.to_json.to_number.to_regclass.to_regcollation.to_regnamespace.to_regoper.to_regoperator.to_regproc.to_regprocedure.to_regrole.to_regtype.to_timestamp.to_tsquery.to_tsvector.transaction_timestamp.translate.trim.trim_array.trim_scale.trunc.ts_debug.ts_delete.ts_filter.ts_headline.ts_lexize.ts_parse.ts_rank.ts_rank_cd.ts_rewrite.ts_stat.ts_token_type.tsquery_phrase.tsvector_to_array.tsvector_update_trigger.tsvector_update_trigger_column.txid_current.txid_current_if_assigned.txid_current_snapshot.txid_snapshot_xip.txid_snapshot_xmax.txid_snapshot_xmin.txid_status.txid_visible_in_snapshot.unistr.unnest.upper.upper_inc.upper_inf.user.var_pop.var_samp.variance.version.websearch_to_tsquery.width.width_bucket.xml_is_well_formed.xml_is_well_formed_content.xml_is_well_formed_document.xmlagg.xmlcomment.xmlconcat.xmlelement.xmlexists.xmlforest.xmlparse.xmlpi.xmlroot.xmlserialize.xpath.xpath_exists`.split(`.`),builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:`@comments`},{include:`@whitespace`},{include:`@pseudoColumns`},{include:`@numbers`},{include:`@strings`},{include:`@complexIdentifiers`},{include:`@scopes`},[/[;,.]/,`delimiter`],[/[()]/,`@brackets`],[/[\w@#$]+/,{cases:{"@operators":`operator`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@keywords":`keyword`,"@default":`identifier`}}],[/[<>=!%&+\-*/|~^]/,`operator`]],whitespace:[[/\s+/,`white`]],comments:[[/--+.*/,`comment`],[/\/\*/,{token:`comment.quote`,next:`@comment`}]],comment:[[/[^*/]+/,`comment`],[/\*\//,{token:`comment.quote`,next:`@pop`}],[/./,`comment`]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":`predefined`,"@default":`identifier`}}]],numbers:[[/0[xX][0-9a-fA-F]*/,`number`],[/[$][+-]*\d*(\.\d*)?/,`number`],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,`number`]],strings:[[/'/,{token:`string`,next:`@string`}]],string:[[/[^']+/,`string`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],complexIdentifiers:[[/"/,{token:`identifier.quote`,next:`@quotedIdentifier`}]],quotedIdentifier:[[/[^"]+/,`identifier`],[/""/,`identifier`],[/"/,{token:`identifier.quote`,next:`@pop`}]],scopes:[]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`,notIn:[`string`]},{open:`[`,close:`]`,notIn:[`string`]},{open:`(`,close:`)`,notIn:[`string`]},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]}],folding:{markers:{start:RegExp(`^\\s*(#|//)region\\b`),end:RegExp(`^\\s*(#|//)endregion\\b`)}}},t={defaultToken:``,tokenPostfix:``,tokenizer:{root:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.root`}],[/<!DOCTYPE/,`metatag.html`,`@doctype`],[/<!--/,`comment.html`,`@comment`],[/(<)(\w+)(\/>)/,[`delimiter.html`,`tag.html`,`delimiter.html`]],[/(<)(script)/,[`delimiter.html`,{token:`tag.html`,next:`@script`}]],[/(<)(style)/,[`delimiter.html`,{token:`tag.html`,next:`@style`}]],[/(<)([:\w]+)/,[`delimiter.html`,{token:`tag.html`,next:`@otherTag`}]],[/(<\/)(\w+)/,[`delimiter.html`,{token:`tag.html`,next:`@otherTag`}]],[/</,`delimiter.html`],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.comment`}],[/[^>]+/,`metatag.content.html`],[/>/,`metatag.html`,`@pop`]],comment:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.comment`}],[/-->/,`comment.html`,`@pop`],[/[^-]+/,`comment.content.html`],[/./,`comment.content.html`]],otherTag:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.otherTag`}],[/\/?>/,`delimiter.html`,`@pop`],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.script`}],[/type/,`attribute.name`,`@scriptAfterType`],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.text/javascript`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,[`delimiter.html`,`tag.html`,{token:`delimiter.html`,next:`@pop`}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.scriptAfterType`}],[/=/,`delimiter`,`@scriptAfterTypeEquals`],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.text/javascript`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.scriptAfterTypeEquals`}],[/"([^"]*)"/,{token:`attribute.value`,switchTo:`@scriptWithCustomType.$1`}],[/'([^']*)'/,{token:`attribute.value`,switchTo:`@scriptWithCustomType.$1`}],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.text/javascript`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.scriptWithCustomType.$S2`}],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.$S2`,nextEmbedded:`$S2`}],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInEmbeddedState.scriptEmbedded.$S2`,nextEmbedded:`@pop`}],[/<\/script/,{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}]],style:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.style`}],[/type/,`attribute.name`,`@styleAfterType`],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.text/css`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,[`delimiter.html`,`tag.html`,{token:`delimiter.html`,next:`@pop`}]]],styleAfterType:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.styleAfterType`}],[/=/,`delimiter`,`@styleAfterTypeEquals`],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.text/css`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.styleAfterTypeEquals`}],[/"([^"]*)"/,{token:`attribute.value`,switchTo:`@styleWithCustomType.$1`}],[/'([^']*)'/,{token:`attribute.value`,switchTo:`@styleWithCustomType.$1`}],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.text/css`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInSimpleState.styleWithCustomType.$S2`}],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.$S2`,nextEmbedded:`$S2`}],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleEmbedded:[[/<\?((php)|=)?/,{token:`@rematch`,switchTo:`@phpInEmbeddedState.styleEmbedded.$S2`,nextEmbedded:`@pop`}],[/<\/style/,{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}]],phpInSimpleState:[[/<\?((php)|=)?/,`metatag.php`],[/\?>/,{token:`metatag.php`,switchTo:`@$S2.$S3`}],{include:`phpRoot`}],phpInEmbeddedState:[[/<\?((php)|=)?/,`metatag.php`],[/\?>/,{token:`metatag.php`,switchTo:`@$S2.$S3`,nextEmbedded:`$S3`}],{include:`phpRoot`}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:`keyword.php`},"@phpCompileTimeConstants":{token:`constant.php`},"@default":`identifier.php`}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:`variable.predefined.php`},"@default":`variable.php`}}],[/[{}]/,`delimiter.bracket.php`],[/[\[\]]/,`delimiter.array.php`],[/[()]/,`delimiter.parenthesis.php`],[/[ \t\r\n]+/],[/(#|\/\/)$/,`comment.php`],[/(#|\/\/)/,`comment.php`,`@phpLineComment`],[/\/\*/,`comment.php`,`@phpComment`],[/"/,`string.php`,`@phpDoubleQuoteString`],[/'/,`string.php`,`@phpSingleQuoteString`],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,`delimiter.php`],[/\d*\d+[eE]([\-+]?\d+)?/,`number.float.php`],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float.php`],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,`number.hex.php`],[/0[0-7']*[0-7]/,`number.octal.php`],[/0[bB][0-1']*[0-1]/,`number.binary.php`],[/\d[\d']*/,`number.php`],[/\d/,`number.php`]],phpComment:[[/\*\//,`comment.php`,`@pop`],[/[^*]+/,`comment.php`],[/./,`comment.php`]],phpLineComment:[[/\?>/,{token:`@rematch`,next:`@pop`}],[/.$/,`comment.php`,`@pop`],[/[^?]+$/,`comment.php`,`@pop`],[/[^?]+/,`comment.php`],[/./,`comment.php`]],phpDoubleQuoteString:[[/[^\\"]+/,`string.php`],[/@escapes/,`string.escape.php`],[/\\./,`string.escape.invalid.php`],[/"/,`string.php`,`@pop`]],phpSingleQuoteString:[[/[^\\']+/,`string.php`],[/@escapes/,`string.escape.php`],[/\\./,`string.escape.invalid.php`],[/'/,`string.php`,`@pop`]]},phpKeywords:`abstract.and.array.as.break.callable.case.catch.cfunction.class.clone.const.continue.declare.default.do.else.elseif.enddeclare.endfor.endforeach.endif.endswitch.endwhile.extends.false.final.for.foreach.function.global.goto.if.implements.interface.instanceof.insteadof.namespace.new.null.object.old_function.or.private.protected.public.resource.static.switch.throw.trait.try.true.use.var.while.xor.die.echo.empty.exit.eval.include.include_once.isset.list.require.require_once.return.print.unset.yield.__construct`.split(`.`),phpCompileTimeConstants:[`__CLASS__`,`__DIR__`,`__FILE__`,`__LINE__`,`__NAMESPACE__`,`__METHOD__`,`__FUNCTION__`,`__TRAIT__`],phpPreDefinedVariables:[`$GLOBALS`,`$_SERVER`,`$_GET`,`$_POST`,`$_FILES`,`$_REQUEST`,`$_SESSION`,`$_ENV`,`$_COOKIE`,`$php_errormsg`,`$HTTP_RAW_POST_DATA`,`$http_response_header`,`$argc`,`$argv`],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`},brackets:[[`[`,`]`],[`<`,`>`],[`(`,`)`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`<`,close:`>`},{open:`(`,close:`)`}],surroundingPairs:[{open:`[`,close:`]`},{open:`<`,close:`>`},{open:`(`,close:`)`}]},t={defaultToken:``,tokenPostfix:`.pla`,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`<`,close:`>`,token:`delimiter.angle`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:[`.i`,`.o`,`.mv`,`.ilb`,`.ob`,`.label`,`.type`,`.phase`,`.pair`,`.symbolic`,`.symbolic-output`,`.kiss`,`.p`,`.e`,`.end`],comment:/#.*$/,identifier:/[a-zA-Z]+[a-zA-Z0-9_\-]*/,plaContent:/[01\-~\|]+/,tokenizer:{root:[{include:`@whitespace`},[/@comment/,`comment`],[/\.([a-zA-Z_\-]+)/,{cases:{"@eos":{token:`keyword.$1`},"@keywords":{cases:{".type":{token:`keyword.$1`,next:`@type`},"@default":{token:`keyword.$1`,next:`@keywordArg`}}},"@default":{token:`keyword.$1`}}}],[/@identifier/,`identifier`],[/@plaContent/,`string`]],whitespace:[[/[ \t\r\n]+/,``]],type:[{include:`@whitespace`},[/\w+/,{token:`type`,next:`@pop`}]],keywordArg:[[/[ \t\r\n]+/,{cases:{"@eos":{token:``,next:`@pop`},"@default":``}}],[/@comment/,`comment`,`@pop`],[/[<>()\[\]]/,{cases:{"@eos":{token:`@brackets`,next:`@pop`},"@default":`@brackets`}}],[/\-?\d+/,{cases:{"@eos":{token:`number`,next:`@pop`},"@default":`number`}}],[/@identifier/,{cases:{"@eos":{token:`identifier`,next:`@pop`},"@default":`identifier`}}],[/[;=]/,{cases:{"@eos":{token:`delimiter`,next:`@pop`},"@default":`delimiter`}}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`(*`,`*)`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]}]},t={tokenPostfix:`.pats`,defaultToken:`invalid`,keywords:`abstype.abst0ype.absprop.absview.absvtype.absviewtype.absvt0ype.absviewt0ype.as.and.assume.begin.classdec.datasort.datatype.dataprop.dataview.datavtype.dataviewtype.do.end.extern.extype.extvar.exception.fn.fnx.fun.prfn.prfun.praxi.castfn.if.then.else.ifcase.in.infix.infixl.infixr.prefix.postfix.implmnt.implement.primplmnt.primplement.import.let.local.macdef.macrodef.nonfix.symelim.symintr.overload.of.op.rec.sif.scase.sortdef.sta.stacst.stadef.static.staload.dynload.try.tkindef.typedef.propdef.viewdef.vtypedef.viewtypedef.prval.var.prvar.when.where.with.withtype.withprop.withview.withvtype.withviewtype`.split(`.`),keywords_dlr:`$delay.$ldelay.$arrpsz.$arrptrsize.$d2ctype.$effmask.$effmask_ntm.$effmask_exn.$effmask_ref.$effmask_wrt.$effmask_all.$extern.$extkind.$extype.$extype_struct.$extval.$extfcall.$extmcall.$literal.$myfilename.$mylocation.$myfunction.$lst.$lst_t.$lst_vt.$list.$list_t.$list_vt.$rec.$rec_t.$rec_vt.$record.$record_t.$record_vt.$tup.$tup_t.$tup_vt.$tuple.$tuple_t.$tuple_vt.$break.$continue.$raise.$showtype.$vcopyenv_v.$vcopyenv_vt.$tempenver.$solver_assert.$solver_verify`.split(`.`),keywords_srp:[`#if`,`#ifdef`,`#ifndef`,`#then`,`#elif`,`#elifdef`,`#elifndef`,`#else`,`#endif`,`#error`,`#prerr`,`#print`,`#assert`,`#undef`,`#define`,`#include`,`#require`,`#pragma`,`#codegen2`,`#codegen3`],irregular_keyword_list:`val+.val-.val.case+.case-.case.addr@.addr.fold@.free@.fix@.fix.lam@.lam.llam@.llam.viewt@ype+.viewt@ype-.viewt@ype.viewtype+.viewtype-.viewtype.view+.view-.view@.view.type+.type-.type.vtype+.vtype-.vtype.vt@ype+.vt@ype-.vt@ype.viewt@ype+.viewt@ype-.viewt@ype.viewtype+.viewtype-.viewtype.prop+.prop-.prop.type+.type-.type.t@ype.t@ype+.t@ype-.abst@ype.abstype.absviewt@ype.absvt@ype.for*.for.while*.while`.split(`.`),keywords_types:[`bool`,`double`,`byte`,`int`,`short`,`char`,`void`,`unit`,`long`,`float`,`string`,`strptr`],keywords_effects:[`0`,`fun`,`clo`,`prf`,`funclo`,`cloptr`,`cloref`,`ref`,`ntm`,`1`],operators:[`@`,`!`,`|`,"`",`:`,`$`,`.`,`=`,`#`,`~`,`..`,`...`,`=>`,`=<>`,`=/=>`,`=>>`,`=/=>>`,`<`,`>`,`><`,`.<`,`>.`,`.<>.`,`->`,`-<>`],brackets:[{open:`,(`,close:`)`,token:`delimiter.parenthesis`},{open:"`(",close:`)`,token:`delimiter.parenthesis`},{open:`%(`,close:`)`,token:`delimiter.parenthesis`},{open:`'(`,close:`)`,token:`delimiter.parenthesis`},{open:`'{`,close:`}`,token:`delimiter.parenthesis`},{open:`@(`,close:`)`,token:`delimiter.parenthesis`},{open:`@{`,close:`}`,token:`delimiter.brace`},{open:`@[`,close:`]`,token:`delimiter.square`},{open:`#[`,close:`]`,token:`delimiter.square`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],symbols:/[=><!~?:&|+\-*\/\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-./:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:`root`,tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:``}},{regex:/\(\*\)/,action:{token:`invalid`}},{regex:/\(\*/,action:{token:`comment`,next:`lexing_COMMENT_block_ml`}},{regex:/\(/,action:`@brackets`},{regex:/\)/,action:`@brackets`},{regex:/\[/,action:`@brackets`},{regex:/\]/,action:`@brackets`},{regex:/\{/,action:`@brackets`},{regex:/\}/,action:`@brackets`},{regex:/,\(/,action:`@brackets`},{regex:/,/,action:{token:`delimiter.comma`}},{regex:/;/,action:{token:`delimiter.semicolon`}},{regex:/@\(/,action:`@brackets`},{regex:/@\[/,action:`@brackets`},{regex:/@\{/,action:`@brackets`},{regex:/:</,action:{token:`keyword`,next:`@lexing_EFFECT_commaseq0`}},{regex:/\.@symbolic+/,action:{token:`identifier.sym`}},{regex:/\.@digit*@fexponent@FLOATSP*/,action:{token:`number.float`}},{regex:/\.@digit+/,action:{token:`number.float`}},{regex:/\$@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_dlr":{token:`keyword.dlr`},"@default":{token:`namespace`}}}},{regex:/\#@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_srp":{token:`keyword.srp`},"@default":{token:`identifier`}}}},{regex:/%\(/,action:{token:`delimiter.parenthesis`}},{regex:/^%{(#|\^|\$)?/,action:{token:`keyword`,next:`@lexing_EXTCODE`,nextEmbedded:`text/javascript`}},{regex:/^%}/,action:{token:`keyword`}},{regex:/'\(/,action:{token:`delimiter.parenthesis`}},{regex:/'\[/,action:{token:`delimiter.bracket`}},{regex:/'\{/,action:{token:`delimiter.brace`}},[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/,[`string`,`string.escape`,`string`]],[/'[^\\']'/,`string`],[/"/,`string.quote`,`@lexing_DQUOTE`],{regex:/`\(/,action:`@brackets`},{regex:/\\/,action:{token:`punctuation`}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:`keyword`}},{regex:/@IDENTFST@IDENTRST*[<!\[]?/,action:{cases:{"@keywords":{token:`keyword`},"@keywords_types":{token:`type`},"@default":{token:`identifier`}}}},{regex:/\/\/\/\//,action:{token:`comment`,next:`@lexing_COMMENT_rest`}},{regex:/\/\/.*$/,action:{token:`comment`}},{regex:/\/\*/,action:{token:`comment`,next:`@lexing_COMMENT_block_c`}},{regex:/-<|=</,action:{token:`keyword`,next:`@lexing_EFFECT_commaseq0`}},{regex:/@symbolic+/,action:{cases:{"@operators":`keyword`,"@default":`operator`}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:`number.float`}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:`number.hex`}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:`number.octal`}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:`number.float`}},{regex:/@digit@digitseq0@INTSP*/,action:{token:`number.decimal`}},{regex:/@digit+@INTSP*/,action:{token:`number`}}],lexing_COMMENT_block_ml:[[/[^\(\*]+/,`comment`],[/\(\*/,`comment`,`@push`],[/\(\*/,`comment.invalid`],[/\*\)/,`comment`,`@pop`],[/\*/,`comment`]],lexing_COMMENT_block_c:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],lexing_COMMENT_rest:[[/$/,`comment`,`@pop`],[/.*/,`comment`]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{"@keywords_effects":{token:`type.effect`},"@default":{token:`identifier`}}}},{regex:/,/,action:{token:`punctuation`}},{regex:/>/,action:{token:`@rematch`,next:`@pop`}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}},{regex:/[^%]+/,action:``}],lexing_DQUOTE:[{regex:/"/,action:{token:`string.quote`,next:`@pop`}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:`string.escape`},{token:`identifier`},{token:`string.escape`}]},{regex:/\\$/,action:{token:`string.escape`}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:`string.escape`}},{regex:/[^\\"]+/,action:{token:`string`}}]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`[`,`]`],[`(`,`)`],[`{`,`}`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`,`identifier`]},{open:`[`,close:`]`,notIn:[`string`,`comment`,`identifier`]},{open:`(`,close:`)`,notIn:[`string`,`comment`,`identifier`]},{open:`{`,close:`}`,notIn:[`string`,`comment`,`identifier`]}]},t={defaultToken:``,tokenPostfix:`.pq`,ignoreCase:!1,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`{`,close:`}`,token:`delimiter.brackets`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],operatorKeywords:[`and`,`not`,`or`],keywords:[`as`,`each`,`else`,`error`,`false`,`if`,`in`,`is`,`let`,`meta`,`otherwise`,`section`,`shared`,`then`,`true`,`try`,`type`],constructors:[`#binary`,`#date`,`#datetime`,`#datetimezone`,`#duration`,`#table`,`#time`],constants:[`#infinity`,`#nan`,`#sections`,`#shared`],typeKeywords:[`action`,`any`,`anynonnull`,`none`,`null`,`logical`,`number`,`time`,`date`,`datetime`,`datetimezone`,`duration`,`text`,`binary`,`list`,`record`,`table`,`function`],builtinFunctions:`Access.Database,Action.Return,Action.Sequence,Action.Try,ActiveDirectory.Domains,AdoDotNet.DataSource,AdoDotNet.Query,AdobeAnalytics.Cubes,AnalysisServices.Database,AnalysisServices.Databases,AzureStorage.BlobContents,AzureStorage.Blobs,AzureStorage.Tables,Binary.Buffer,Binary.Combine,Binary.Compress,Binary.Decompress,Binary.End,Binary.From,Binary.FromList,Binary.FromText,Binary.InferContentType,Binary.Length,Binary.ToList,Binary.ToText,BinaryFormat.7BitEncodedSignedInteger,BinaryFormat.7BitEncodedUnsignedInteger,BinaryFormat.Binary,BinaryFormat.Byte,BinaryFormat.ByteOrder,BinaryFormat.Choice,BinaryFormat.Decimal,BinaryFormat.Double,BinaryFormat.Group,BinaryFormat.Length,BinaryFormat.List,BinaryFormat.Null,BinaryFormat.Record,BinaryFormat.SignedInteger16,BinaryFormat.SignedInteger32,BinaryFormat.SignedInteger64,BinaryFormat.Single,BinaryFormat.Text,BinaryFormat.Transform,BinaryFormat.UnsignedInteger16,BinaryFormat.UnsignedInteger32,BinaryFormat.UnsignedInteger64,Byte.From,Character.FromNumber,Character.ToNumber,Combiner.CombineTextByDelimiter,Combiner.CombineTextByEachDelimiter,Combiner.CombineTextByLengths,Combiner.CombineTextByPositions,Combiner.CombineTextByRanges,Comparer.Equals,Comparer.FromCulture,Comparer.Ordinal,Comparer.OrdinalIgnoreCase,Csv.Document,Cube.AddAndExpandDimensionColumn,Cube.AddMeasureColumn,Cube.ApplyParameter,Cube.AttributeMemberId,Cube.AttributeMemberProperty,Cube.CollapseAndRemoveColumns,Cube.Dimensions,Cube.DisplayFolders,Cube.Measures,Cube.Parameters,Cube.Properties,Cube.PropertyKey,Cube.ReplaceDimensions,Cube.Transform,Currency.From,DB2.Database,Date.AddDays,Date.AddMonths,Date.AddQuarters,Date.AddWeeks,Date.AddYears,Date.Day,Date.DayOfWeek,Date.DayOfWeekName,Date.DayOfYear,Date.DaysInMonth,Date.EndOfDay,Date.EndOfMonth,Date.EndOfQuarter,Date.EndOfWeek,Date.EndOfYear,Date.From,Date.FromText,Date.IsInCurrentDay,Date.IsInCurrentMonth,Date.IsInCurrentQuarter,Date.IsInCurrentWeek,Date.IsInCurrentYear,Date.IsInNextDay,Date.IsInNextMonth,Date.IsInNextNDays,Date.IsInNextNMonths,Date.IsInNextNQuarters,Date.IsInNextNWeeks,Date.IsInNextNYears,Date.IsInNextQuarter,Date.IsInNextWeek,Date.IsInNextYear,Date.IsInPreviousDay,Date.IsInPreviousMonth,Date.IsInPreviousNDays,Date.IsInPreviousNMonths,Date.IsInPreviousNQuarters,Date.IsInPreviousNWeeks,Date.IsInPreviousNYears,Date.IsInPreviousQuarter,Date.IsInPreviousWeek,Date.IsInPreviousYear,Date.IsInYearToDate,Date.IsLeapYear,Date.Month,Date.MonthName,Date.QuarterOfYear,Date.StartOfDay,Date.StartOfMonth,Date.StartOfQuarter,Date.StartOfWeek,Date.StartOfYear,Date.ToRecord,Date.ToText,Date.WeekOfMonth,Date.WeekOfYear,Date.Year,DateTime.AddZone,DateTime.Date,DateTime.FixedLocalNow,DateTime.From,DateTime.FromFileTime,DateTime.FromText,DateTime.IsInCurrentHour,DateTime.IsInCurrentMinute,DateTime.IsInCurrentSecond,DateTime.IsInNextHour,DateTime.IsInNextMinute,DateTime.IsInNextNHours,DateTime.IsInNextNMinutes,DateTime.IsInNextNSeconds,DateTime.IsInNextSecond,DateTime.IsInPreviousHour,DateTime.IsInPreviousMinute,DateTime.IsInPreviousNHours,DateTime.IsInPreviousNMinutes,DateTime.IsInPreviousNSeconds,DateTime.IsInPreviousSecond,DateTime.LocalNow,DateTime.Time,DateTime.ToRecord,DateTime.ToText,DateTimeZone.FixedLocalNow,DateTimeZone.FixedUtcNow,DateTimeZone.From,DateTimeZone.FromFileTime,DateTimeZone.FromText,DateTimeZone.LocalNow,DateTimeZone.RemoveZone,DateTimeZone.SwitchZone,DateTimeZone.ToLocal,DateTimeZone.ToRecord,DateTimeZone.ToText,DateTimeZone.ToUtc,DateTimeZone.UtcNow,DateTimeZone.ZoneHours,DateTimeZone.ZoneMinutes,Decimal.From,Diagnostics.ActivityId,Diagnostics.Trace,DirectQueryCapabilities.From,Double.From,Duration.Days,Duration.From,Duration.FromText,Duration.Hours,Duration.Minutes,Duration.Seconds,Duration.ToRecord,Duration.ToText,Duration.TotalDays,Duration.TotalHours,Duration.TotalMinutes,Duration.TotalSeconds,Embedded.Value,Error.Record,Excel.CurrentWorkbook,Excel.Workbook,Exchange.Contents,Expression.Constant,Expression.Evaluate,Expression.Identifier,Facebook.Graph,File.Contents,Folder.Contents,Folder.Files,Function.From,Function.Invoke,Function.InvokeAfter,Function.IsDataSource,GoogleAnalytics.Accounts,Guid.From,HdInsight.Containers,HdInsight.Contents,HdInsight.Files,Hdfs.Contents,Hdfs.Files,Informix.Database,Int16.From,Int32.From,Int64.From,Int8.From,ItemExpression.From,Json.Document,Json.FromValue,Lines.FromBinary,Lines.FromText,Lines.ToBinary,Lines.ToText,List.Accumulate,List.AllTrue,List.Alternate,List.AnyTrue,List.Average,List.Buffer,List.Combine,List.Contains,List.ContainsAll,List.ContainsAny,List.Count,List.Covariance,List.DateTimeZones,List.DateTimes,List.Dates,List.Difference,List.Distinct,List.Durations,List.FindText,List.First,List.FirstN,List.Generate,List.InsertRange,List.Intersect,List.IsDistinct,List.IsEmpty,List.Last,List.LastN,List.MatchesAll,List.MatchesAny,List.Max,List.MaxN,List.Median,List.Min,List.MinN,List.Mode,List.Modes,List.NonNullCount,List.Numbers,List.PositionOf,List.PositionOfAny,List.Positions,List.Product,List.Random,List.Range,List.RemoveFirstN,List.RemoveItems,List.RemoveLastN,List.RemoveMatchingItems,List.RemoveNulls,List.RemoveRange,List.Repeat,List.ReplaceMatchingItems,List.ReplaceRange,List.ReplaceValue,List.Reverse,List.Select,List.Single,List.SingleOrDefault,List.Skip,List.Sort,List.StandardDeviation,List.Sum,List.Times,List.Transform,List.TransformMany,List.Union,List.Zip,Logical.From,Logical.FromText,Logical.ToText,MQ.Queue,MySQL.Database,Number.Abs,Number.Acos,Number.Asin,Number.Atan,Number.Atan2,Number.BitwiseAnd,Number.BitwiseNot,Number.BitwiseOr,Number.BitwiseShiftLeft,Number.BitwiseShiftRight,Number.BitwiseXor,Number.Combinations,Number.Cos,Number.Cosh,Number.Exp,Number.Factorial,Number.From,Number.FromText,Number.IntegerDivide,Number.IsEven,Number.IsNaN,Number.IsOdd,Number.Ln,Number.Log,Number.Log10,Number.Mod,Number.Permutations,Number.Power,Number.Random,Number.RandomBetween,Number.Round,Number.RoundAwayFromZero,Number.RoundDown,Number.RoundTowardZero,Number.RoundUp,Number.Sign,Number.Sin,Number.Sinh,Number.Sqrt,Number.Tan,Number.Tanh,Number.ToText,OData.Feed,Odbc.DataSource,Odbc.Query,OleDb.DataSource,OleDb.Query,Oracle.Database,Percentage.From,PostgreSQL.Database,RData.FromBinary,Record.AddField,Record.Combine,Record.Field,Record.FieldCount,Record.FieldNames,Record.FieldOrDefault,Record.FieldValues,Record.FromList,Record.FromTable,Record.HasFields,Record.RemoveFields,Record.RenameFields,Record.ReorderFields,Record.SelectFields,Record.ToList,Record.ToTable,Record.TransformFields,Replacer.ReplaceText,Replacer.ReplaceValue,RowExpression.Column,RowExpression.From,Salesforce.Data,Salesforce.Reports,SapBusinessWarehouse.Cubes,SapHana.Database,SharePoint.Contents,SharePoint.Files,SharePoint.Tables,Single.From,Soda.Feed,Splitter.SplitByNothing,Splitter.SplitTextByAnyDelimiter,Splitter.SplitTextByDelimiter,Splitter.SplitTextByEachDelimiter,Splitter.SplitTextByLengths,Splitter.SplitTextByPositions,Splitter.SplitTextByRanges,Splitter.SplitTextByRepeatedLengths,Splitter.SplitTextByWhitespace,Sql.Database,Sql.Databases,SqlExpression.SchemaFrom,SqlExpression.ToExpression,Sybase.Database,Table.AddColumn,Table.AddIndexColumn,Table.AddJoinColumn,Table.AddKey,Table.AggregateTableColumn,Table.AlternateRows,Table.Buffer,Table.Column,Table.ColumnCount,Table.ColumnNames,Table.ColumnsOfType,Table.Combine,Table.CombineColumns,Table.Contains,Table.ContainsAll,Table.ContainsAny,Table.DemoteHeaders,Table.Distinct,Table.DuplicateColumn,Table.ExpandListColumn,Table.ExpandRecordColumn,Table.ExpandTableColumn,Table.FillDown,Table.FillUp,Table.FilterWithDataTable,Table.FindText,Table.First,Table.FirstN,Table.FirstValue,Table.FromColumns,Table.FromList,Table.FromPartitions,Table.FromRecords,Table.FromRows,Table.FromValue,Table.Group,Table.HasColumns,Table.InsertRows,Table.IsDistinct,Table.IsEmpty,Table.Join,Table.Keys,Table.Last,Table.LastN,Table.MatchesAllRows,Table.MatchesAnyRows,Table.Max,Table.MaxN,Table.Min,Table.MinN,Table.NestedJoin,Table.Partition,Table.PartitionValues,Table.Pivot,Table.PositionOf,Table.PositionOfAny,Table.PrefixColumns,Table.Profile,Table.PromoteHeaders,Table.Range,Table.RemoveColumns,Table.RemoveFirstN,Table.RemoveLastN,Table.RemoveMatchingRows,Table.RemoveRows,Table.RemoveRowsWithErrors,Table.RenameColumns,Table.ReorderColumns,Table.Repeat,Table.ReplaceErrorValues,Table.ReplaceKeys,Table.ReplaceMatchingRows,Table.ReplaceRelationshipIdentity,Table.ReplaceRows,Table.ReplaceValue,Table.ReverseRows,Table.RowCount,Table.Schema,Table.SelectColumns,Table.SelectRows,Table.SelectRowsWithErrors,Table.SingleRow,Table.Skip,Table.Sort,Table.SplitColumn,Table.ToColumns,Table.ToList,Table.ToRecords,Table.ToRows,Table.TransformColumnNames,Table.TransformColumnTypes,Table.TransformColumns,Table.TransformRows,Table.Transpose,Table.Unpivot,Table.UnpivotOtherColumns,Table.View,Table.ViewFunction,TableAction.DeleteRows,TableAction.InsertRows,TableAction.UpdateRows,Tables.GetRelationships,Teradata.Database,Text.AfterDelimiter,Text.At,Text.BeforeDelimiter,Text.BetweenDelimiters,Text.Clean,Text.Combine,Text.Contains,Text.End,Text.EndsWith,Text.Format,Text.From,Text.FromBinary,Text.Insert,Text.Length,Text.Lower,Text.Middle,Text.NewGuid,Text.PadEnd,Text.PadStart,Text.PositionOf,Text.PositionOfAny,Text.Proper,Text.Range,Text.Remove,Text.RemoveRange,Text.Repeat,Text.Replace,Text.ReplaceRange,Text.Select,Text.Split,Text.SplitAny,Text.Start,Text.StartsWith,Text.ToBinary,Text.ToList,Text.Trim,Text.TrimEnd,Text.TrimStart,Text.Upper,Time.EndOfHour,Time.From,Time.FromText,Time.Hour,Time.Minute,Time.Second,Time.StartOfHour,Time.ToRecord,Time.ToText,Type.AddTableKey,Type.ClosedRecord,Type.Facets,Type.ForFunction,Type.ForRecord,Type.FunctionParameters,Type.FunctionRequiredParameters,Type.FunctionReturn,Type.Is,Type.IsNullable,Type.IsOpenRecord,Type.ListItem,Type.NonNullable,Type.OpenRecord,Type.RecordFields,Type.ReplaceFacets,Type.ReplaceTableKeys,Type.TableColumn,Type.TableKeys,Type.TableRow,Type.TableSchema,Type.Union,Uri.BuildQueryString,Uri.Combine,Uri.EscapeDataString,Uri.Parts,Value.Add,Value.As,Value.Compare,Value.Divide,Value.Equals,Value.Firewall,Value.FromText,Value.Is,Value.Metadata,Value.Multiply,Value.NativeQuery,Value.NullableEquals,Value.RemoveMetadata,Value.ReplaceMetadata,Value.ReplaceType,Value.Subtract,Value.Type,ValueAction.NativeStatement,ValueAction.Replace,Variable.Value,Web.Contents,Web.Page,WebAction.Request,Xml.Document,Xml.Tables`.split(`,`),builtinConstants:`BinaryEncoding.Base64,BinaryEncoding.Hex,BinaryOccurrence.Optional,BinaryOccurrence.Repeating,BinaryOccurrence.Required,ByteOrder.BigEndian,ByteOrder.LittleEndian,Compression.Deflate,Compression.GZip,CsvStyle.QuoteAfterDelimiter,CsvStyle.QuoteAlways,Culture.Current,Day.Friday,Day.Monday,Day.Saturday,Day.Sunday,Day.Thursday,Day.Tuesday,Day.Wednesday,ExtraValues.Error,ExtraValues.Ignore,ExtraValues.List,GroupKind.Global,GroupKind.Local,JoinAlgorithm.Dynamic,JoinAlgorithm.LeftHash,JoinAlgorithm.LeftIndex,JoinAlgorithm.PairwiseHash,JoinAlgorithm.RightHash,JoinAlgorithm.RightIndex,JoinAlgorithm.SortMerge,JoinKind.FullOuter,JoinKind.Inner,JoinKind.LeftAnti,JoinKind.LeftOuter,JoinKind.RightAnti,JoinKind.RightOuter,JoinSide.Left,JoinSide.Right,MissingField.Error,MissingField.Ignore,MissingField.UseNull,Number.E,Number.Epsilon,Number.NaN,Number.NegativeInfinity,Number.PI,Number.PositiveInfinity,Occurrence.All,Occurrence.First,Occurrence.Last,Occurrence.Optional,Occurrence.Repeating,Occurrence.Required,Order.Ascending,Order.Descending,Precision.Decimal,Precision.Double,QuoteStyle.Csv,QuoteStyle.None,RelativePosition.FromEnd,RelativePosition.FromStart,RoundingMode.AwayFromZero,RoundingMode.Down,RoundingMode.ToEven,RoundingMode.TowardZero,RoundingMode.Up,SapHanaDistribution.All,SapHanaDistribution.Connection,SapHanaDistribution.Off,SapHanaDistribution.Statement,SapHanaRangeOperator.Equals,SapHanaRangeOperator.GreaterThan,SapHanaRangeOperator.GreaterThanOrEquals,SapHanaRangeOperator.LessThan,SapHanaRangeOperator.LessThanOrEquals,SapHanaRangeOperator.NotEquals,TextEncoding.Ascii,TextEncoding.BigEndianUnicode,TextEncoding.Unicode,TextEncoding.Utf16,TextEncoding.Utf8,TextEncoding.Windows,TraceLevel.Critical,TraceLevel.Error,TraceLevel.Information,TraceLevel.Verbose,TraceLevel.Warning,WebMethod.Delete,WebMethod.Get,WebMethod.Head,WebMethod.Patch,WebMethod.Post,WebMethod.Put`.split(`,`),builtinTypes:`Action.Type,Any.Type,Binary.Type,BinaryEncoding.Type,BinaryOccurrence.Type,Byte.Type,ByteOrder.Type,Character.Type,Compression.Type,CsvStyle.Type,Currency.Type,Date.Type,DateTime.Type,DateTimeZone.Type,Day.Type,Decimal.Type,Double.Type,Duration.Type,ExtraValues.Type,Function.Type,GroupKind.Type,Guid.Type,Int16.Type,Int32.Type,Int64.Type,Int8.Type,JoinAlgorithm.Type,JoinKind.Type,JoinSide.Type,List.Type,Logical.Type,MissingField.Type,None.Type,Null.Type,Number.Type,Occurrence.Type,Order.Type,Password.Type,Percentage.Type,Precision.Type,QuoteStyle.Type,Record.Type,RelativePosition.Type,RoundingMode.Type,SapHanaDistribution.Type,SapHanaRangeOperator.Type,Single.Type,Table.Type,Text.Type,TextEncoding.Type,Time.Type,TraceLevel.Type,Type.Type,Uri.Type,WebMethod.Type`.split(`,`),tokenizer:{root:[[/#"[\w \.]+"/,`identifier.quote`],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/0[xX][0-9a-fA-F]+/,`number.hex`],[/\d+([eE][\-+]?\d+)?/,`number`],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":`type`,"@keywords":`keyword`,"@constants":`constant`,"@constructors":`constructor`,"@operatorKeywords":`operators`,"@default":`identifier`}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":`type`,"@default":`identifier`}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":`keyword.function`,"@builtinConstants":`constant`,"@default":`identifier`}}],[/\b([a-zA-Z_][\w\.]*)\b/,`identifier`],{include:`@whitespace`},{include:`@comments`},{include:`@strings`},[/[{}()\[\]]/,`@brackets`],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,`operators`],[/[,;]/,`delimiter`]],whitespace:[[/\s+/,`white`]],comments:[[`\\/\\*`,`comment`,`@comment`],[`\\/\\/+.*`,`comment`]],comment:[[`\\*\\/`,`comment`,`@pop`],[`.`,`comment`]],strings:[[`"`,`string`,`@string`]],string:[[`""`,`string.escape`],[`"`,`string`,`@pop`],[`.`,`string`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:`#`,blockComment:[`<#`,`#>`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*#region\\b`),end:RegExp(`^\\s*#endregion\\b`)}}},t={defaultToken:``,ignoreCase:!0,tokenPostfix:`.ps1`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.parenthesis`,open:`(`,close:`)`}],keywords:`begin.break.catch.class.continue.data.define.do.dynamicparam.else.elseif.end.exit.filter.finally.for.foreach.from.function.if.in.param.process.return.switch.throw.trap.try.until.using.var.while.workflow.parallel.sequence.inlinescript.configuration`.split(`.`),helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,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-]*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":``}}],[/[ \t\r\n]+/,``],[/^:\w*/,`metatag`],[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/,`variable`],[/<#/,`comment`,`@comment`],[/#.*$/,`comment`],[/[{}()\[\]]/,`@brackets`],[/@symbols/,`delimiter`],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,`number.hex`],[/\d+?/,`number`],[/[;,.]/,`delimiter`],[/\@"/,`string`,`@herestring."`],[/\@'/,`string`,`@herestring.'`],[/"/,{cases:{"@eos":`string`,"@default":{token:`string`,next:`@string."`}}}],[/'/,{cases:{"@eos":`string`,"@default":{token:`string`,next:`@string.'`}}}]],string:[[/[^"'\$`]+/,{cases:{"@eos":{token:`string`,next:`@popall`},"@default":`string`}}],[/@escapes/,{cases:{"@eos":{token:`string.escape`,next:`@popall`},"@default":`string.escape`}}],[/`./,{cases:{"@eos":{token:`string.escape.invalid`,next:`@popall`},"@default":`string.escape.invalid`}}],[/\$[\w]+$/,{cases:{'$S2=="':{token:`variable`,next:`@popall`},"@default":{token:`string`,next:`@popall`}}}],[/\$[\w]+/,{cases:{'$S2=="':`variable`,"@default":`string`}}],[/["']/,{cases:{"$#==$S2":{token:`string`,next:`@pop`},"@default":{cases:{"@eos":{token:`string`,next:`@popall`},"@default":`string`}}}}]],herestring:[[/^\s*(["'])@/,{cases:{"$1==$S2":{token:`string`,next:`@pop`},"@default":`string`}}],[/[^\$`]+/,`string`],[/@escapes/,`string.escape`],[/`./,`string.escape.invalid`],[/\$[\w]+/,{cases:{'$S2=="':`variable`,"@default":`string`}}]],comment:[[/[^#\.]+/,`comment`],[/#>/,`comment`,`@pop`],[/(\.)(@helpKeywords)(?!\w)/,{token:`comment.keyword.$2`}],[/[\.#]/,`comment`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=[`true`,`false`],t={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`},{open:`"`,close:`"`},{open:`'`,close:`'`}],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`]}],autoCloseBefore:`.,=}])>'
|
|
2
|
+
`,indentationRules:{increaseIndentPattern:RegExp(`^((?!\\/\\/).)*(\\{[^}"'\`]*|\\([^)"'\`]*|\\[[^\\]"'\`]*)$`),decreaseIndentPattern:RegExp(`^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$`)}},n={defaultToken:``,tokenPostfix:`.proto`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:[`syntax`,`import`,`weak`,`public`,`package`,`option`,`repeated`,`oneof`,`map`,`reserved`,`to`,`max`,`enum`,`message`,`service`,`rpc`,`stream`,`returns`,`package`,`optional`,`true`,`false`],builtinTypes:[`double`,`float`,`int32`,`int64`,`uint32`,`uint64`,`sint32`,`sint64`,`fixed32`,`fixed64`,`sfixed32`,`sfixed64`,`bool`,`string`,`bytes`],operators:[`=`,`+`,`-`],namedLiterals:e,escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",identifier:/[a-zA-Z]\w*/,fullIdentifier:/@identifier(?:\s*\.\s*@identifier)*/,optionName:/(?:@identifier|\(\s*@fullIdentifier\s*\))(?:\s*\.\s*@identifier)*/,messageName:/@identifier/,enumName:/@identifier/,messageType:/\.?\s*(?:@identifier\s*\.\s*)*@messageName/,enumType:/\.?\s*(?:@identifier\s*\.\s*)*@enumName/,floatLit:/[0-9]+\s*\.\s*[0-9]*(?:@exponent)?|[0-9]+@exponent|\.[0-9]+(?:@exponent)?/,exponent:/[eE]\s*[+-]?\s*[0-9]+/,boolLit:/true\b|false\b/,decimalLit:/[1-9][0-9]*/,octalLit:/0[0-7]*/,hexLit:/0[xX][0-9a-fA-F]+/,type:/double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes|@messageType|@enumType/,keyType:/int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string/,tokenizer:{root:[{include:`@whitespace`},[/syntax/,`keyword`],[/=/,`operators`],[/;/,`delimiter`],[/(")(proto3)(")/,[`string.quote`,`string`,{token:`string.quote`,switchTo:`@topLevel.proto3`}]],[/(")(proto2)(")/,[`string.quote`,`string`,{token:`string.quote`,switchTo:`@topLevel.proto2`}]],[/.*?/,{token:``,switchTo:`@topLevel.proto2`}]],topLevel:[{include:`@whitespace`},{include:`@constant`},[/=/,`operators`],[/[;.]/,`delimiter`],[/@fullIdentifier/,{cases:{option:{token:`keyword`,next:`@option.$S2`},enum:{token:`keyword`,next:`@enumDecl.$S2`},message:{token:`keyword`,next:`@messageDecl.$S2`},service:{token:`keyword`,next:`@serviceDecl.$S2`},extend:{cases:{"$S2==proto2":{token:`keyword`,next:`@extendDecl.$S2`}}},"@keywords":`keyword`,"@default":`identifier`}}]],enumDecl:[{include:`@whitespace`},[/@identifier/,`type.identifier`],[/{/,{token:`@brackets`,bracket:`@open`,switchTo:`@enumBody.$S2`}]],enumBody:[{include:`@whitespace`},{include:`@constant`},[/=/,`operators`],[/;/,`delimiter`],[/option\b/,`keyword`,`@option.$S2`],[/@identifier/,`identifier`],[/\[/,{token:`@brackets`,bracket:`@open`,next:`@options.$S2`}],[/}/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]],messageDecl:[{include:`@whitespace`},[/@identifier/,`type.identifier`],[/{/,{token:`@brackets`,bracket:`@open`,switchTo:`@messageBody.$S2`}]],messageBody:[{include:`@whitespace`},{include:`@constant`},[/=/,`operators`],[/;/,`delimiter`],[`(map)(s*)(<)`,[`keyword`,`white`,{token:`@brackets`,bracket:`@open`,next:`@map.$S2`}]],[/@identifier/,{cases:{option:{token:`keyword`,next:`@option.$S2`},enum:{token:`keyword`,next:`@enumDecl.$S2`},message:{token:`keyword`,next:`@messageDecl.$S2`},oneof:{token:`keyword`,next:`@oneofDecl.$S2`},extensions:{cases:{"$S2==proto2":{token:`keyword`,next:`@reserved.$S2`}}},reserved:{token:`keyword`,next:`@reserved.$S2`},"(?:repeated|optional)":{token:`keyword`,next:`@field.$S2`},required:{cases:{"$S2==proto2":{token:`keyword`,next:`@field.$S2`}}},"$S2==proto3":{token:`@rematch`,next:`@field.$S2`}}}],[/\[/,{token:`@brackets`,bracket:`@open`,next:`@options.$S2`}],[/}/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]],extendDecl:[{include:`@whitespace`},[/@identifier/,`type.identifier`],[/{/,{token:`@brackets`,bracket:`@open`,switchTo:`@extendBody.$S2`}]],extendBody:[{include:`@whitespace`},{include:`@constant`},[/;/,`delimiter`],[/(?:repeated|optional|required)/,`keyword`,`@field.$S2`],[/\[/,{token:`@brackets`,bracket:`@open`,next:`@options.$S2`}],[/}/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]],options:[{include:`@whitespace`},{include:`@constant`},[/;/,`delimiter`],[/@optionName/,`annotation`],[/[()]/,`annotation.brackets`],[/=/,`operator`],[/\]/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]],option:[{include:`@whitespace`},[/@optionName/,`annotation`],[/[()]/,`annotation.brackets`],[/=/,`operator`,`@pop`]],oneofDecl:[{include:`@whitespace`},[/@identifier/,`identifier`],[/{/,{token:`@brackets`,bracket:`@open`,switchTo:`@oneofBody.$S2`}]],oneofBody:[{include:`@whitespace`},{include:`@constant`},[/;/,`delimiter`],[/(@identifier)(\s*)(=)/,[`identifier`,`white`,`delimiter`]],[/@fullIdentifier|\./,{cases:{"@builtinTypes":`keyword`,"@default":`type.identifier`}}],[/\[/,{token:`@brackets`,bracket:`@open`,next:`@options.$S2`}],[/}/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]],reserved:[{include:`@whitespace`},[/,/,`delimiter`],[/;/,`delimiter`,`@pop`],{include:`@constant`},[/to\b|max\b/,`keyword`]],map:[{include:`@whitespace`},[/@fullIdentifier|\./,{cases:{"@builtinTypes":`keyword`,"@default":`type.identifier`}}],[/,/,`delimiter`],[/>/,{token:`@brackets`,bracket:`@close`,switchTo:`identifier`}]],field:[{include:`@whitespace`},[`group`,{cases:{"$S2==proto2":{token:`keyword`,switchTo:`@groupDecl.$S2`}}}],[/(@identifier)(\s*)(=)/,[`identifier`,`white`,{token:`delimiter`,next:`@pop`}]],[/@fullIdentifier|\./,{cases:{"@builtinTypes":`keyword`,"@default":`type.identifier`}}]],groupDecl:[{include:`@whitespace`},[/@identifier/,`identifier`],[`=`,`operator`],[/{/,{token:`@brackets`,bracket:`@open`,switchTo:`@messageBody.$S2`}],{include:`@constant`}],type:[{include:`@whitespace`},[/@identifier/,`type.identifier`,`@pop`],[/./,`delimiter`]],identifier:[{include:`@whitespace`},[/@identifier/,`identifier`,`@pop`]],serviceDecl:[{include:`@whitespace`},[/@identifier/,`identifier`],[/{/,{token:`@brackets`,bracket:`@open`,switchTo:`@serviceBody.$S2`}]],serviceBody:[{include:`@whitespace`},{include:`@constant`},[/;/,`delimiter`],[/option\b/,`keyword`,`@option.$S2`],[/rpc\b/,`keyword`,`@rpc.$S2`],[/\[/,{token:`@brackets`,bracket:`@open`,next:`@options.$S2`}],[/}/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]],rpc:[{include:`@whitespace`},[/@identifier/,`identifier`],[/\(/,{token:`@brackets`,bracket:`@open`,switchTo:`@request.$S2`}],[/{/,{token:`@brackets`,bracket:`@open`,next:`@methodOptions.$S2`}],[/;/,`delimiter`,`@pop`]],request:[{include:`@whitespace`},[/@messageType/,{cases:{stream:{token:`keyword`,next:`@type.$S2`},"@default":`type.identifier`}}],[/\)/,{token:`@brackets`,bracket:`@close`,switchTo:`@returns.$S2`}]],returns:[{include:`@whitespace`},[/returns\b/,`keyword`],[/\(/,{token:`@brackets`,bracket:`@open`,switchTo:`@response.$S2`}]],response:[{include:`@whitespace`},[/@messageType/,{cases:{stream:{token:`keyword`,next:`@type.$S2`},"@default":`type.identifier`}}],[/\)/,{token:`@brackets`,bracket:`@close`,switchTo:`@rpc.$S2`}]],methodOptions:[{include:`@whitespace`},{include:`@constant`},[/;/,`delimiter`],[`option`,`keyword`],[/@optionName/,`annotation`],[/[()]/,`annotation.brackets`],[/=/,`operator`],[/}/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[`\\*/`,`comment`,`@pop`],[/[\/*]/,`comment`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],stringSingle:[[/[^\\']+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/'/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],constant:[[`@boolLit`,`keyword.constant`],[`@hexLit`,`number.hex`],[`@octalLit`,`number.octal`],[`@decimalLit`,`number`],[`@floatLit`,`number.float`],[/("([^"\\]|\\.)*|'([^'\\]|\\.)*)$/,`string.invalid`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string`}],[/'/,{token:`string.quote`,bracket:`@open`,next:`@stringSingle`}],[/{/,{token:`@brackets`,bracket:`@open`,next:`@prototext`}],[/identifier/,`identifier`]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],prototext:[{include:`@whitespace`},{include:`@constant`},[/@identifier/,`identifier`],[/[:;]/,`delimiter`],[/}/,{token:`@brackets`,bracket:`@close`,next:`@pop`}]]}};export{t as conf,n as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]},{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]}],folding:{offSide:!0}},t={defaultToken:``,tokenPostfix:`.pug`,ignoreCase:!0,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.array`,open:`[`,close:`]`},{token:`delimiter.parenthesis`,open:`(`,close:`)`}],keywords:[`append`,`block`,`case`,`default`,`doctype`,`each`,`else`,`extends`,`for`,`if`,`in`,`include`,`mixin`,`typeof`,`unless`,`var`,`when`],tags:`a.abbr.acronym.address.area.article.aside.audio.b.base.basefont.bdi.bdo.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.command.datalist.dd.del.details.dfn.div.dl.dt.em.embed.fieldset.figcaption.figure.font.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.keygen.kbd.label.li.link.map.mark.menu.meta.meter.nav.noframes.noscript.object.ol.optgroup.option.output.p.param.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strike.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.tracks.tt.u.ul.video.wbr`.split(`.`),symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":[``,`tag`],"@default":[``,{token:`tag`,next:`@tag.$1`}]}},"$2@keywords":[``,{token:`keyword.$2`}],"@default":[``,``]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":[``,`tag.id`],"@default":[``,{token:`tag.id`,next:`@tag.$1`}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":[``,`tag.class`],"@default":[``,{token:`tag.class`,next:`@tag.$1`}]}}],[/^(\s*)(\|.*)$/,``],{include:`@whitespace`},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":``}}],[/[{}()\[\]]/,`@brackets`],[/@symbols/,`delimiter`],[/\d+\.\d+([eE][\-+]?\d+)?/,`number.float`],[/\d+/,`number`],[/"/,`string`,`@string."`],[/'/,`string`,`@string.'`]],tag:[[/(\.)(\s*$)/,[{token:`delimiter`,next:`@blockText.$S2.`},``]],[/\s+/,{token:``,next:`@simpleText`}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:`tag.id`,next:`@pop`},"@default":`tag.id`}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:`tag.class`,next:`@pop`},"@default":`tag.class`}}],[/\(/,{token:`delimiter.parenthesis`,next:`@attributeList`}]],simpleText:[[/[^#]+$/,{token:``,next:`@popall`}],[/[^#]+/,{token:``}],[/(#{)([^}]*)(})/,{cases:{"@eos":[`interpolation.delimiter`,`interpolation`,{token:`interpolation.delimiter`,next:`@popall`}],"@default":[`interpolation.delimiter`,`interpolation`,`interpolation.delimiter`]}}],[/#$/,{token:``,next:`@popall`}],[/#/,``]],attributeList:[[/\s+/,``],[/(\w+)(\s*=\s*)("|')/,[`attribute.name`,`delimiter`,{token:`attribute.value`,next:`@value.$3`}]],[/\w+/,`attribute.name`],[/,/,{cases:{"@eos":{token:`attribute.delimiter`,next:`@popall`},"@default":`attribute.delimiter`}}],[/\)$/,{token:`delimiter.parenthesis`,next:`@popall`}],[/\)/,{token:`delimiter.parenthesis`,next:`@pop`}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:`comment`,next:`@blockText.$1.comment`}],[/[ \t\r\n]+/,``],[/<!--/,{token:`comment`,next:`@comment`}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:`$S3`},"@default":{token:`@rematch`,next:`@popall`}}}],[/./,{token:`@rematch`,next:`@popall`}]],comment:[[/[^<\-]+/,`comment.content`],[/-->/,{token:`comment`,next:`@pop`}],[/<!--/,`comment.content.invalid`],[/[<\-]/,`comment.content`]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:`string`,next:`@popall`},"@default":`string`}}],[/@escapes/,{cases:{"@eos":{token:`string.escape`,next:`@popall`},"@default":`string.escape`}}],[/\\./,{cases:{"@eos":{token:`string.escape.invalid`,next:`@popall`},"@default":`string.escape.invalid`}}],[/(#{)([^}]*)(})/,[`interpolation.delimiter`,`interpolation`,`interpolation.delimiter`]],[/#/,`string`],[/["']/,{cases:{"$#==$S2":{token:`string`,next:`@pop`},"@default":{token:`string`}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:`attribute.value`,next:`@popall`},"@default":`attribute.value`}}],[/\\./,{cases:{"@eos":{token:`attribute.value`,next:`@popall`},"@default":`attribute.value`}}],[/["']/,{cases:{"$#==$S2":{token:`attribute.value`,next:`@pop`},"@default":{token:`attribute.value`}}}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./editor.api2-7H_iQTr0.js";var t={comments:{lineComment:`#`,blockComment:[`'''`,`'''`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],onEnterRules:[{beforeText:RegExp(`^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$`),action:{indentAction:e.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:RegExp(`^\\s*#region\\b`),end:RegExp(`^\\s*#endregion\\b`)}}},n={defaultToken:``,tokenPostfix:`.python`,keywords:`False.None.True._.and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.exec.finally.for.from.global.if.import.in.is.lambda.match.nonlocal.not.or.pass.print.raise.return.try.type.while.with.yield.int.float.long.complex.hex.abs.all.any.apply.basestring.bin.bool.buffer.bytearray.callable.chr.classmethod.cmp.coerce.compile.complex.delattr.dict.dir.divmod.enumerate.eval.execfile.file.filter.format.frozenset.getattr.globals.hasattr.hash.help.id.input.intern.isinstance.issubclass.iter.len.locals.list.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.reversed.range.raw_input.reduce.reload.repr.reversed.round.self.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.unichr.unicode.vars.xrange.zip.__dict__.__methods__.__members__.__class__.__bases__.__name__.__mro__.__subclasses__.__init__.__import__`.split(`.`),brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.bracket`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],tokenizer:{root:[{include:`@whitespace`},{include:`@numbers`},{include:`@strings`},[/[,:;]/,`delimiter`],[/[{}\[\]()]/,`@brackets`],[/@[a-zA-Z_]\w*/,`tag`],[/[a-zA-Z_]\w*/,{cases:{"@keywords":`keyword`,"@default":`identifier`}}]],whitespace:[[/\s+/,`white`],[/(^#.*$)/,`comment`],[/'''/,`string`,`@endDocString`],[/"""/,`string`,`@endDblDocString`]],endDocString:[[/[^']+/,`string`],[/\\'/,`string`],[/'''/,`string`,`@popall`],[/'/,`string`]],endDblDocString:[[/[^"]+/,`string`],[/\\"/,`string`],[/"""/,`string`,`@popall`],[/"/,`string`]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,`number.hex`],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,`number`]],strings:[[/'$/,`string.escape`,`@popall`],[/f'{1,3}/,`string.escape`,`@fStringBody`],[/'/,`string.escape`,`@stringBody`],[/"$/,`string.escape`,`@popall`],[/f"{1,3}/,`string.escape`,`@fDblStringBody`],[/"/,`string.escape`,`@dblStringBody`]],fStringBody:[[/[^\\'\{\}]+$/,`string`,`@popall`],[/[^\\'\{\}]+/,`string`],[/\{[^\}':!=]+/,`identifier`,`@fStringDetail`],[/\\./,`string`],[/'/,`string.escape`,`@popall`],[/\\$/,`string`]],stringBody:[[/[^\\']+$/,`string`,`@popall`],[/[^\\']+/,`string`],[/\\./,`string`],[/'/,`string.escape`,`@popall`],[/\\$/,`string`]],fDblStringBody:[[/[^\\"\{\}]+$/,`string`,`@popall`],[/[^\\"\{\}]+/,`string`],[/\{[^\}':!=]+/,`identifier`,`@fStringDetail`],[/\\./,`string`],[/"/,`string.escape`,`@popall`],[/\\$/,`string`]],dblStringBody:[[/[^\\"]+$/,`string`,`@popall`],[/[^\\"]+/,`string`],[/\\./,`string`],[/"/,`string.escape`,`@popall`],[/\\$/,`string`]],fStringDetail:[[/[:][^}]+/,`string`],[/[!][ars]/,`string`],[/=/,`string`],[/\}/,`identifier`,`@pop`]]}};export{t as conf,n as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`,`comment`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}]},t={keywords:`namespace.open.import.export.as.operation.function.body.adjoint.newtype.struct.controlled.if.elif.else.repeat.until.fixup.for.in.while.return.fail.within.apply.Adjoint.Controlled.Adj.Ctl.is.self.auto.distribute.invert.intrinsic.let.set.w/.new.not.and.or.use.borrow.using.borrowing.mutable.internal`.split(`.`),typeKeywords:[`Unit`,`Int`,`BigInt`,`Double`,`Bool`,`String`,`Qubit`,`Result`,`Pauli`,`Range`],invalidKeywords:`abstract.base.bool.break.byte.case.catch.char.checked.class.const.continue.decimal.default.delegate.do.double.enum.event.explicit.extern.finally.fixed.float.foreach.goto.implicit.int.interface.lock.long.null.object.operator.out.override.params.private.protected.public.readonly.ref.sbyte.sealed.short.sizeof.stackalloc.static.string.switch.this.throw.try.typeof.unit.ulong.unchecked.unsafe.ushort.virtual.void.volatile`.split(`.`),constants:[`true`,`false`,`PauliI`,`PauliX`,`PauliY`,`PauliZ`,`One`,`Zero`],builtin:`X.Y.Z.H.HY.S.T.SWAP.CNOT.CCNOT.MultiX.R.RFrac.Rx.Ry.Rz.R1.R1Frac.Exp.ExpFrac.Measure.M.MultiM.Message.Length.Assert.AssertProb.AssertEqual`.split(`.`),operators:`and=,<-,->,*,*=,@,!,^,^=,:,::,.,..,==,...,=,=>,>,>=,<,<=,-,-=,!=,or=,%,%=,|,+,+=,?,/,/=,&&&,&&&=,^^^,^^^=,>>>,>>>=,<<<,<<<=,|||,|||=,~~~,_,w/,w/=`.split(`,`),namespaceFollows:[`namespace`,`open`],importsFollows:[`import`],symbols:/[=><!~?:&|+\-*\/\^%@._]+/,escapes:/\\[\s\S]/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@namespaceFollows":{token:`keyword.$0`,next:`@namespace`},"@importsFollows":{token:`keyword.$0`,next:`@imports`},"@typeKeywords":`type`,"@keywords":`keyword`,"@constants":`constant`,"@builtin":`keyword`,"@invalidKeywords":`invalid`,"@default":`identifier`}}],{include:`@whitespace`},[/[{}()\[\]]/,`@brackets`],[/@symbols/,{cases:{"@operators":`operator`,"@default":``}}],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/\d+/,`number`],[/[;,.]/,`delimiter`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string`}]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],namespace:[{include:`@whitespace`},[/[A-Za-z]\w*/,`namespace`],[/[\.]/,`delimiter`],[``,``,`@pop`]],imports:[{include:`@whitespace`},[/[A-Za-z]\w*(?=\.)/,`namespace`],[/[A-Za-z]\w*/,`identifier`],[/\*/,`wildcard`],[/[\.,]/,`delimiter`],[``,``,`@pop`]],whitespace:[[/[ \t\r\n]+/,`white`],[/(\/\/).*/,`comment`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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:``,tokenPostfix:`.r`,roxygen:`@alias.@aliases.@assignee.@author.@backref.@callGraph.@callGraphDepth.@callGraphPrimitives.@concept.@describeIn.@description.@details.@docType.@encoding.@evalNamespace.@evalRd.@example.@examples.@export.@exportClass.@exportMethod.@exportPattern.@family.@field.@formals.@format.@import.@importClassesFrom.@importFrom.@importMethodsFrom.@include.@inherit.@inheritDotParams.@inheritParams.@inheritSection.@keywords.@md.@method.@name.@noMd.@noRd.@note.@param.@rawNamespace.@rawRd.@rdname.@references.@return.@S3method.@section.@seealso.@setClass.@slot.@source.@template.@templateVar.@title.@TODO.@usage.@useDynLib`.split(`.`),constants:[`NULL`,`FALSE`,`TRUE`,`NA`,`Inf`,`NaN`,`NA_integer_`,`NA_real_`,`NA_complex_`,`NA_character_`,`T`,`F`,`LETTERS`,`letters`,`month.abb`,`month.name`,`pi`,`R.version.string`],keywords:`break,next,return,if,else,for,in,repeat,while,array,category,character,complex,double,function,integer,list,logical,matrix,numeric,vector,data.frame,factor,library,require,attach,detach,source`.split(`,`),special:[`\\n`,`\\r`,`\\t`,`\\b`,`\\a`,`\\f`,`\\v`,`\\'`,`\\"`,`\\\\`],brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.bracket`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],tokenizer:{root:[{include:`@numbers`},{include:`@strings`},[/[{}\[\]()]/,`@brackets`],{include:`@operators`},[/#'$/,`comment.doc`],[/#'/,`comment.doc`,`@roxygen`],[/(^#.*$)/,`comment`],[/\s+/,`white`],[/[,:;]/,`delimiter`],[/@[a-zA-Z]\w*/,`tag`],[/[a-zA-Z]\w*/,{cases:{"@keywords":`keyword`,"@constants":`constant`,"@default":`identifier`}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":`tag`,"@eos":{token:`comment.doc`,next:`@pop`},"@default":`comment.doc`}}],[/\s+/,{cases:{"@eos":{token:`comment.doc`,next:`@pop`},"@default":`comment.doc`}}],[/.*/,{token:`comment.doc`,next:`@pop`}]],numbers:[[/0[xX][0-9a-fA-F]+/,`number.hex`],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,`number`]],operators:[[/<{1,2}-/,`operator`],[/->{1,2}/,`operator`],[/%[^%\s]+%/,`operator`],[/\*\*/,`operator`],[/%%/,`operator`],[/&&/,`operator`],[/\|\|/,`operator`],[/<</,`operator`],[/>>/,`operator`],[/[-+=&|!<>^~*/:$]/,`operator`]],strings:[[/'/,`string.escape`,`@stringBody`],[/"/,`string.escape`,`@dblStringBody`]],stringBody:[[/\\./,{cases:{"@special":`string`,"@default":`error-token`}}],[/'/,`string.escape`,`@popall`],[/./,`string`]],dblStringBody:[[/\\./,{cases:{"@special":`string`,"@default":`error-token`}}],[/"/,`string.escape`,`@popall`],[/./,`string`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./editor.api2-7H_iQTr0.js";var t=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`menuitem`,`meta`,`param`,`source`,`track`,`wbr`],n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<!--`,`-->`],[`<`,`>`],[`{`,`}`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`<`,close:`>`}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${t.join(`|`)}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${t.join(`|`)}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:e.IndentAction.Indent}}]},r={defaultToken:``,tokenPostfix:``,tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.root`}],[/<!DOCTYPE/,`metatag.html`,`@doctype`],[/<!--/,`comment.html`,`@comment`],[/(<)([\w\-]+)(\/>)/,[`delimiter.html`,`tag.html`,`delimiter.html`]],[/(<)(script)/,[`delimiter.html`,{token:`tag.html`,next:`@script`}]],[/(<)(style)/,[`delimiter.html`,{token:`tag.html`,next:`@style`}]],[/(<)([:\w\-]+)/,[`delimiter.html`,{token:`tag.html`,next:`@otherTag`}]],[/(<\/)([\w\-]+)/,[`delimiter.html`,{token:`tag.html`,next:`@otherTag`}]],[/</,`delimiter.html`],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.comment`}],[/[^>]+/,`metatag.content.html`],[/>/,`metatag.html`,`@pop`]],comment:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.comment`}],[/-->/,`comment.html`,`@pop`],[/[^-]+/,`comment.content.html`],[/./,`comment.content.html`]],otherTag:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.otherTag`}],[/\/?>/,`delimiter.html`,`@pop`],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.script`}],[/type/,`attribute.name`,`@scriptAfterType`],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.text/javascript`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,[`delimiter.html`,`tag.html`,{token:`delimiter.html`,next:`@pop`}]]],scriptAfterType:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.scriptAfterType`}],[/=/,`delimiter`,`@scriptAfterTypeEquals`],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.text/javascript`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptAfterTypeEquals:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.scriptAfterTypeEquals`}],[/"([^"]*)"/,{token:`attribute.value`,switchTo:`@scriptWithCustomType.$1`}],[/'([^']*)'/,{token:`attribute.value`,switchTo:`@scriptWithCustomType.$1`}],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.text/javascript`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptWithCustomType:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.scriptWithCustomType.$S2`}],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.$S2`,nextEmbedded:`$S2`}],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptEmbedded:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInEmbeddedState.scriptEmbedded.$S2`,nextEmbedded:`@pop`}],[/<\/script/,{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}]],style:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.style`}],[/type/,`attribute.name`,`@styleAfterType`],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.text/css`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,[`delimiter.html`,`tag.html`,{token:`delimiter.html`,next:`@pop`}]]],styleAfterType:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.styleAfterType`}],[/=/,`delimiter`,`@styleAfterTypeEquals`],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.text/css`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleAfterTypeEquals:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.styleAfterTypeEquals`}],[/"([^"]*)"/,{token:`attribute.value`,switchTo:`@styleWithCustomType.$1`}],[/'([^']*)'/,{token:`attribute.value`,switchTo:`@styleWithCustomType.$1`}],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.text/css`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleWithCustomType:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInSimpleState.styleWithCustomType.$S2`}],[/>/,{token:`delimiter.html`,next:`@styleEmbedded.$S2`,nextEmbedded:`$S2`}],[/"([^"]*)"/,`attribute.value`],[/'([^']*)'/,`attribute.value`],[/[\w\-]+/,`attribute.name`],[/=/,`delimiter`],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleEmbedded:[[/@[^@]/,{token:`@rematch`,switchTo:`@razorInEmbeddedState.styleEmbedded.$S2`,nextEmbedded:`@pop`}],[/<\/style/,{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}]],razorInSimpleState:[[/@\*/,`comment.cs`,`@razorBlockCommentTopLevel`],[/@[{(]/,`metatag.cs`,`@razorRootTopLevel`],[/(@)(\s*[\w]+)/,[`metatag.cs`,{token:`identifier.cs`,switchTo:`@$S2.$S3`}]],[/[})]/,{token:`metatag.cs`,switchTo:`@$S2.$S3`}],[/\*@/,{token:`comment.cs`,switchTo:`@$S2.$S3`}]],razorInEmbeddedState:[[/@\*/,`comment.cs`,`@razorBlockCommentTopLevel`],[/@[{(]/,`metatag.cs`,`@razorRootTopLevel`],[/(@)(\s*[\w]+)/,[`metatag.cs`,{token:`identifier.cs`,switchTo:`@$S2.$S3`,nextEmbedded:`$S3`}]],[/[})]/,{token:`metatag.cs`,switchTo:`@$S2.$S3`,nextEmbedded:`$S3`}],[/\*@/,{token:`comment.cs`,switchTo:`@$S2.$S3`,nextEmbedded:`$S3`}]],razorBlockCommentTopLevel:[[/\*@/,`@rematch`,`@pop`],[/[^*]+/,`comment.cs`],[/./,`comment.cs`]],razorBlockComment:[[/\*@/,`comment.cs`,`@pop`],[/[^*]+/,`comment.cs`],[/./,`comment.cs`]],razorRootTopLevel:[[/\{/,`delimiter.bracket.cs`,`@razorRoot`],[/\(/,`delimiter.parenthesis.cs`,`@razorRoot`],[/[})]/,`@rematch`,`@pop`],{include:`razorCommon`}],razorRoot:[[/\{/,`delimiter.bracket.cs`,`@razorRoot`],[/\(/,`delimiter.parenthesis.cs`,`@razorRoot`],[/\}/,`delimiter.bracket.cs`,`@pop`],[/\)/,`delimiter.parenthesis.cs`,`@pop`],{include:`razorCommon`}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:`keyword.cs`},"@default":`identifier.cs`}}],[/[\[\]]/,`delimiter.array.cs`],[/[ \t\r\n]+/],[/\/\/.*$/,`comment.cs`],[/@\*/,`comment.cs`,`@razorBlockComment`],[/"([^"]*)"/,`string.cs`],[/'([^']*)'/,`string.cs`],[/(<)([\w\-]+)(\/>)/,[`delimiter.html`,`tag.html`,`delimiter.html`]],[/(<)([\w\-]+)(>)/,[`delimiter.html`,`tag.html`,`delimiter.html`]],[/(<\/)([\w\-]+)(>)/,[`delimiter.html`,`tag.html`,`delimiter.html`]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,`delimiter.cs`],[/\d*\d+[eE]([\-+]?\d+)?/,`number.float.cs`],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float.cs`],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,`number.hex.cs`],[/0[0-7']*[0-7]/,`number.octal.cs`],[/0[bB][0-1']*[0-1]/,`number.binary.cs`],[/\d[\d']*/,`number.cs`],[/\d/,`number.cs`]]},razorKeywords:`abstract.as.async.await.base.bool.break.by.byte.case.catch.char.checked.class.const.continue.decimal.default.delegate.do.double.descending.explicit.event.extern.else.enum.false.finally.fixed.float.for.foreach.from.goto.group.if.implicit.in.int.interface.internal.into.is.lock.long.nameof.new.null.namespace.object.operator.out.override.orderby.params.private.protected.public.readonly.ref.return.switch.struct.sbyte.sealed.short.sizeof.stackalloc.static.string.select.this.throw.true.try.typeof.uint.ulong.unchecked.unsafe.ushort.using.var.virtual.volatile.void.when.while.where.yield.model.inject`.split(`.`),escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{n as conf,r as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={defaultToken:``,tokenPostfix:`.redis`,ignoreCase:!0,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:`APPEND.AUTH.BGREWRITEAOF.BGSAVE.BITCOUNT.BITFIELD.BITOP.BITPOS.BLPOP.BRPOP.BRPOPLPUSH.CLIENT.KILL.LIST.GETNAME.PAUSE.REPLY.SETNAME.CLUSTER.ADDSLOTS.COUNT-FAILURE-REPORTS.COUNTKEYSINSLOT.DELSLOTS.FAILOVER.FORGET.GETKEYSINSLOT.INFO.KEYSLOT.MEET.NODES.REPLICATE.RESET.SAVECONFIG.SET-CONFIG-EPOCH.SETSLOT.SLAVES.SLOTS.COMMAND.COUNT.GETKEYS.CONFIG.GET.REWRITE.SET.RESETSTAT.DBSIZE.DEBUG.OBJECT.SEGFAULT.DECR.DECRBY.DEL.DISCARD.DUMP.ECHO.EVAL.EVALSHA.EXEC.EXISTS.EXPIRE.EXPIREAT.FLUSHALL.FLUSHDB.GEOADD.GEOHASH.GEOPOS.GEODIST.GEORADIUS.GEORADIUSBYMEMBER.GETBIT.GETRANGE.GETSET.HDEL.HEXISTS.HGET.HGETALL.HINCRBY.HINCRBYFLOAT.HKEYS.HLEN.HMGET.HMSET.HSET.HSETNX.HSTRLEN.HVALS.INCR.INCRBY.INCRBYFLOAT.KEYS.LASTSAVE.LINDEX.LINSERT.LLEN.LPOP.LPUSH.LPUSHX.LRANGE.LREM.LSET.LTRIM.MGET.MIGRATE.MONITOR.MOVE.MSET.MSETNX.MULTI.PERSIST.PEXPIRE.PEXPIREAT.PFADD.PFCOUNT.PFMERGE.PING.PSETEX.PSUBSCRIBE.PUBSUB.PTTL.PUBLISH.PUNSUBSCRIBE.QUIT.RANDOMKEY.READONLY.READWRITE.RENAME.RENAMENX.RESTORE.ROLE.RPOP.RPOPLPUSH.RPUSH.RPUSHX.SADD.SAVE.SCARD.SCRIPT.FLUSH.LOAD.SDIFF.SDIFFSTORE.SELECT.SETBIT.SETEX.SETNX.SETRANGE.SHUTDOWN.SINTER.SINTERSTORE.SISMEMBER.SLAVEOF.SLOWLOG.SMEMBERS.SMOVE.SORT.SPOP.SRANDMEMBER.SREM.STRLEN.SUBSCRIBE.SUNION.SUNIONSTORE.SWAPDB.SYNC.TIME.TOUCH.TTL.TYPE.UNSUBSCRIBE.UNLINK.UNWATCH.WAIT.WATCH.ZADD.ZCARD.ZCOUNT.ZINCRBY.ZINTERSTORE.ZLEXCOUNT.ZRANGE.ZRANGEBYLEX.ZREVRANGEBYLEX.ZRANGEBYSCORE.ZRANK.ZREM.ZREMRANGEBYLEX.ZREMRANGEBYRANK.ZREMRANGEBYSCORE.ZREVRANGE.ZREVRANGEBYSCORE.ZREVRANK.ZSCORE.ZUNIONSTORE.SCAN.SSCAN.HSCAN.ZSCAN`.split(`.`),operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:`@whitespace`},{include:`@pseudoColumns`},{include:`@numbers`},{include:`@strings`},{include:`@scopes`},[/[;,.]/,`delimiter`],[/[()]/,`@brackets`],[/[\w@#$]+/,{cases:{"@keywords":`keyword`,"@operators":`operator`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@default":`identifier`}}],[/[<>=!%&+\-*/|~^]/,`operator`]],whitespace:[[/\s+/,`white`]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":`predefined`,"@default":`identifier`}}]],numbers:[[/0[xX][0-9a-fA-F]*/,`number`],[/[$][+-]*\d*(\.\d*)?/,`number`],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,`number`]],strings:[[/'/,{token:`string`,next:`@string`}],[/"/,{token:`string.double`,next:`@stringDouble`}]],string:[[/[^']+/,`string`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],stringDouble:[[/[^"]+/,`string.double`],[/""/,`string.double`],[/"/,{token:`string.double`,next:`@pop`}]],scopes:[]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`--`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={defaultToken:``,tokenPostfix:`.sql`,ignoreCase:!0,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:`AES128.AES256.ALL.ALLOWOVERWRITE.ANALYSE.ANALYZE.AND.ANY.ARRAY.AS.ASC.AUTHORIZATION.AZ64.BACKUP.BETWEEN.BINARY.BLANKSASNULL.BOTH.BYTEDICT.BZIP2.CASE.CAST.CHECK.COLLATE.COLUMN.CONSTRAINT.CREATE.CREDENTIALS.CROSS.CURRENT_DATE.CURRENT_TIME.CURRENT_TIMESTAMP.CURRENT_USER.CURRENT_USER_ID.DEFAULT.DEFERRABLE.DEFLATE.DEFRAG.DELTA.DELTA32K.DESC.DISABLE.DISTINCT.DO.ELSE.EMPTYASNULL.ENABLE.ENCODE.ENCRYPT.ENCRYPTION.END.EXCEPT.EXPLICIT.FALSE.FOR.FOREIGN.FREEZE.FROM.FULL.GLOBALDICT256.GLOBALDICT64K.GRANT.GROUP.GZIP.HAVING.IDENTITY.IGNORE.ILIKE.IN.INITIALLY.INNER.INTERSECT.INTO.IS.ISNULL.JOIN.LANGUAGE.LEADING.LEFT.LIKE.LIMIT.LOCALTIME.LOCALTIMESTAMP.LUN.LUNS.LZO.LZOP.MINUS.MOSTLY16.MOSTLY32.MOSTLY8.NATURAL.NEW.NOT.NOTNULL.NULL.NULLS.OFF.OFFLINE.OFFSET.OID.OLD.ON.ONLY.OPEN.OR.ORDER.OUTER.OVERLAPS.PARALLEL.PARTITION.PERCENT.PERMISSIONS.PLACING.PRIMARY.RAW.READRATIO.RECOVER.REFERENCES.RESPECT.REJECTLOG.RESORT.RESTORE.RIGHT.SELECT.SESSION_USER.SIMILAR.SNAPSHOT.SOME.SYSDATE.SYSTEM.TABLE.TAG.TDES.TEXT255.TEXT32K.THEN.TIMESTAMP.TO.TOP.TRAILING.TRUE.TRUNCATECOLUMNS.UNION.UNIQUE.USER.USING.VERBOSE.WALLET.WHEN.WHERE.WITH.WITHOUT`.split(`.`),operators:[`AND`,`BETWEEN`,`IN`,`LIKE`,`NOT`,`OR`,`IS`,`NULL`,`INTERSECT`,`UNION`,`INNER`,`JOIN`,`LEFT`,`OUTER`,`RIGHT`],builtinFunctions:`current_schema.current_schemas.has_database_privilege.has_schema_privilege.has_table_privilege.age.current_time.current_timestamp.localtime.isfinite.now.ascii.get_bit.get_byte.set_bit.set_byte.to_ascii.approximate percentile_disc.avg.count.listagg.max.median.min.percentile_cont.stddev_samp.stddev_pop.sum.var_samp.var_pop.bit_and.bit_or.bool_and.bool_or.cume_dist.first_value.lag.last_value.lead.nth_value.ratio_to_report.dense_rank.ntile.percent_rank.rank.row_number.case.coalesce.decode.greatest.least.nvl.nvl2.nullif.add_months.at time zone.convert_timezone.current_date.date_cmp.date_cmp_timestamp.date_cmp_timestamptz.date_part_year.dateadd.datediff.date_part.date_trunc.extract.getdate.interval_cmp.last_day.months_between.next_day.sysdate.timeofday.timestamp_cmp.timestamp_cmp_date.timestamp_cmp_timestamptz.timestamptz_cmp.timestamptz_cmp_date.timestamptz_cmp_timestamp.timezone.to_timestamp.trunc.abs.acos.asin.atan.atan2.cbrt.ceil.ceiling.checksum.cos.cot.degrees.dexp.dlog1.dlog10.exp.floor.ln.log.mod.pi.power.radians.random.round.sin.sign.sqrt.tan.to_hex.bpcharcmp.btrim.bttext_pattern_cmp.char_length.character_length.charindex.chr.concat.crc32.func_sha1.initcap.left and rights.len.length.lower.lpad and rpads.ltrim.md5.octet_length.position.quote_ident.quote_literal.regexp_count.regexp_instr.regexp_replace.regexp_substr.repeat.replace.replicate.reverse.rtrim.split_part.strpos.strtol.substring.textlen.translate.trim.upper.cast.convert.to_char.to_date.to_number.json_array_length.json_extract_array_element_text.json_extract_path_text.current_setting.pg_cancel_backend.pg_terminate_backend.set_config.current_database.current_user.current_user_id.pg_backend_pid.pg_last_copy_count.pg_last_copy_id.pg_last_query_id.pg_last_unload_count.session_user.slice_num.user.version.abbrev.acosd.any.area.array_agg.array_append.array_cat.array_dims.array_fill.array_length.array_lower.array_ndims.array_position.array_positions.array_prepend.array_remove.array_replace.array_to_json.array_to_string.array_to_tsvector.array_upper.asind.atan2d.atand.bit.bit_length.bound_box.box.brin_summarize_new_values.broadcast.cardinality.center.circle.clock_timestamp.col_description.concat_ws.convert_from.convert_to.corr.cosd.cotd.covar_pop.covar_samp.current_catalog.current_query.current_role.currval.cursor_to_xml.diameter.div.encode.enum_first.enum_last.enum_range.every.family.format.format_type.generate_series.generate_subscripts.get_current_ts_config.gin_clean_pending_list.grouping.has_any_column_privilege.has_column_privilege.has_foreign_data_wrapper_privilege.has_function_privilege.has_language_privilege.has_sequence_privilege.has_server_privilege.has_tablespace_privilege.has_type_privilege.height.host.hostmask.inet_client_addr.inet_client_port.inet_merge.inet_same_family.inet_server_addr.inet_server_port.isclosed.isempty.isopen.json_agg.json_object.json_object_agg.json_populate_record.json_populate_recordset.json_to_record.json_to_recordset.jsonb_agg.jsonb_object_agg.justify_days.justify_hours.justify_interval.lastval.left.line.localtimestamp.lower_inc.lower_inf.lpad.lseg.make_date.make_interval.make_time.make_timestamp.make_timestamptz.masklen.mode.netmask.network.nextval.npoints.num_nonnulls.num_nulls.numnode.obj_description.overlay.parse_ident.path.pclose.percentile_disc.pg_advisory_lock.pg_advisory_lock_shared.pg_advisory_unlock.pg_advisory_unlock_all.pg_advisory_unlock_shared.pg_advisory_xact_lock.pg_advisory_xact_lock_shared.pg_backup_start_time.pg_blocking_pids.pg_client_encoding.pg_collation_is_visible.pg_column_size.pg_conf_load_time.pg_control_checkpoint.pg_control_init.pg_control_recovery.pg_control_system.pg_conversion_is_visible.pg_create_logical_replication_slot.pg_create_physical_replication_slot.pg_create_restore_point.pg_current_xlog_flush_location.pg_current_xlog_insert_location.pg_current_xlog_location.pg_database_size.pg_describe_object.pg_drop_replication_slot.pg_export_snapshot.pg_filenode_relation.pg_function_is_visible.pg_get_constraintdef.pg_get_expr.pg_get_function_arguments.pg_get_function_identity_arguments.pg_get_function_result.pg_get_functiondef.pg_get_indexdef.pg_get_keywords.pg_get_object_address.pg_get_owned_sequence.pg_get_ruledef.pg_get_serial_sequence.pg_get_triggerdef.pg_get_userbyid.pg_get_viewdef.pg_has_role.pg_identify_object.pg_identify_object_as_address.pg_index_column_has_property.pg_index_has_property.pg_indexam_has_property.pg_indexes_size.pg_is_in_backup.pg_is_in_recovery.pg_is_other_temp_schema.pg_is_xlog_replay_paused.pg_last_committed_xact.pg_last_xact_replay_timestamp.pg_last_xlog_receive_location.pg_last_xlog_replay_location.pg_listening_channels.pg_logical_emit_message.pg_logical_slot_get_binary_changes.pg_logical_slot_get_changes.pg_logical_slot_peek_binary_changes.pg_logical_slot_peek_changes.pg_ls_dir.pg_my_temp_schema.pg_notification_queue_usage.pg_opclass_is_visible.pg_operator_is_visible.pg_opfamily_is_visible.pg_options_to_table.pg_postmaster_start_time.pg_read_binary_file.pg_read_file.pg_relation_filenode.pg_relation_filepath.pg_relation_size.pg_reload_conf.pg_replication_origin_create.pg_replication_origin_drop.pg_replication_origin_oid.pg_replication_origin_progress.pg_replication_origin_session_is_setup.pg_replication_origin_session_progress.pg_replication_origin_session_reset.pg_replication_origin_session_setup.pg_replication_origin_xact_reset.pg_replication_origin_xact_setup.pg_rotate_logfile.pg_size_bytes.pg_size_pretty.pg_sleep.pg_sleep_for.pg_sleep_until.pg_start_backup.pg_stat_file.pg_stop_backup.pg_switch_xlog.pg_table_is_visible.pg_table_size.pg_tablespace_databases.pg_tablespace_location.pg_tablespace_size.pg_total_relation_size.pg_trigger_depth.pg_try_advisory_lock.pg_try_advisory_lock_shared.pg_try_advisory_xact_lock.pg_try_advisory_xact_lock_shared.pg_ts_config_is_visible.pg_ts_dict_is_visible.pg_ts_parser_is_visible.pg_ts_template_is_visible.pg_type_is_visible.pg_typeof.pg_xact_commit_timestamp.pg_xlog_location_diff.pg_xlog_replay_pause.pg_xlog_replay_resume.pg_xlogfile_name.pg_xlogfile_name_offset.phraseto_tsquery.plainto_tsquery.point.polygon.popen.pqserverversion.query_to_xml.querytree.quote_nullable.radius.range_merge.regexp_matches.regexp_split_to_array.regexp_split_to_table.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.right.row_security_active.row_to_json.rpad.scale.set_masklen.setseed.setval.setweight.shobj_description.sind.sprintf.statement_timestamp.stddev.string_agg.string_to_array.strip.substr.table_to_xml.table_to_xml_and_xmlschema.tand.text.to_json.to_regclass.to_regnamespace.to_regoper.to_regoperator.to_regproc.to_regprocedure.to_regrole.to_regtype.to_tsquery.to_tsvector.transaction_timestamp.ts_debug.ts_delete.ts_filter.ts_headline.ts_lexize.ts_parse.ts_rank.ts_rank_cd.ts_rewrite.ts_stat.ts_token_type.tsquery_phrase.tsvector_to_array.tsvector_update_trigger.tsvector_update_trigger_column.txid_current.txid_current_snapshot.txid_snapshot_xip.txid_snapshot_xmax.txid_snapshot_xmin.txid_visible_in_snapshot.unnest.upper_inc.upper_inf.variance.width.width_bucket.xml_is_well_formed.xml_is_well_formed_content.xml_is_well_formed_document.xmlagg.xmlcomment.xmlconcat.xmlelement.xmlexists.xmlforest.xmlparse.xmlpi.xmlroot.xmlserialize.xpath.xpath_exists`.split(`.`),builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:`@comments`},{include:`@whitespace`},{include:`@pseudoColumns`},{include:`@numbers`},{include:`@strings`},{include:`@complexIdentifiers`},{include:`@scopes`},[/[;,.]/,`delimiter`],[/[()]/,`@brackets`],[/[\w@#$]+/,{cases:{"@keywords":`keyword`,"@operators":`operator`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@default":`identifier`}}],[/[<>=!%&+\-*/|~^]/,`operator`]],whitespace:[[/\s+/,`white`]],comments:[[/--+.*/,`comment`],[/\/\*/,{token:`comment.quote`,next:`@comment`}]],comment:[[/[^*/]+/,`comment`],[/\*\//,{token:`comment.quote`,next:`@pop`}],[/./,`comment`]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":`predefined`,"@default":`identifier`}}]],numbers:[[/0[xX][0-9a-fA-F]*/,`number`],[/[$][+-]*\d*(\.\d*)?/,`number`],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,`number`]],strings:[[/'/,{token:`string`,next:`@string`}]],string:[[/[^']+/,`string`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],complexIdentifiers:[[/"/,{token:`identifier.quote`,next:`@quotedIdentifier`}]],quotedIdentifier:[[/[^"]+/,`identifier`],[/""/,`identifier`],[/"/,{token:`identifier.quote`,next:`@pop`}]],scopes:[]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`,notIn:[`string`]}],surroundingPairs:[{open:`(`,close:`)`},{open:`[`,close:`]`},{open:"`",close:"`"}],folding:{markers:{start:RegExp(`^\\s*<!--\\s*#?region\\b.*-->`),end:RegExp(`^\\s*<!--\\s*#?endregion\\b.*-->`)}}},t={defaultToken:``,tokenPostfix:`.rst`,control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:[`area`,`base`,`basefont`,`br`,`col`,`frame`,`hr`,`img`,`input`,`isindex`,`link`,`meta`,`param`],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,`keyword`],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,`keyword`],[/([ ]::)\s*$/,`keyword`,`@blankLineOfLiteralBlocks`],[/(::)\s*$/,`keyword`,`@blankLineOfLiteralBlocks`],{include:`@tables`},{include:`@explicitMarkupBlocks`},{include:`@inlineMarkup`}],explicitMarkupBlocks:[{include:`@citations`},{include:`@footnotes`},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:``,next:`subsequentLines`},`keyword`,``,``]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:``,next:`hyperlinks`},``,``,`string.link`,``,``,`string.link`]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:``,next:`subsequentLines`},``,``,``,`string.link`]],[/^(__\s+)(.+)/,[``,`string.link`]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:``,next:`subsequentLines`},``,`string.link`,``,`keyword`,``],`@rawBlocks`],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,[``,`string.link`,``]],[/^(\.\.)([ ].*)$/,[{token:``,next:`@comments`},`comment`]]],inlineMarkup:[{include:`@citationsReference`},{include:`@footnotesReference`},[/(@simpleRefName)(_{1,2})/,[`string.link`,``]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,[``,`string.link`,``,`string.link`,``,``,``]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,`strong`],[/\*[^*]+\*/,`emphasis`],[/(``)((?:[^`]|\`(?!`))+)(``)/,[``,`keyword`,``]],[/(__\s+)(.+)/,[``,`keyword`]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,[``,`keyword`,``,``,``]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,[``,``,``,`keyword`,``]],[/(`)([^`]+)(`)/,``],[/(_`)(@phrase)(`)/,[``,`string.link`,``]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``,``]]],citationsReference:[[/(\[)(@citationName)(\]_)/,[``,`string.link`,``]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``,``]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``,``]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,[``,`string.link`,``,``]],[/(\[)(#@simpleRefName?)(\])(_)/,[``,`string.link`,``,``]],[/(\[)(\*)(\])(_)/,[``,`string.link`,``,``]]],blankLineOfLiteralBlocks:[[/^$/,``,`@subsequentLinesOfLiteralBlocks`],[/^.*$/,``,`@pop`]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,[`keyword`,``]],[/^(?!blockLiteralStart)/,``,`@popall`]],subsequentLines:[[/^[\s]+.*/,``],[/^(?!\s)/,``,`@pop`]],hyperlinks:[[/^[\s]+.*/,`string.link`],[/^(?!\s)/,``,`@pop`]],comments:[[/^[\s]+.*/,`comment`],[/^(?!\s)/,``,`@pop`]],tables:[[/\+-[+-]+/,`keyword`],[/\+=[+=]+/,`keyword`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`,blockComment:[`=begin`,`=end`]},brackets:[[`(`,`)`],[`{`,`}`],[`[`,`]`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],indentationRules:{increaseIndentPattern:RegExp(`^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|("|'|/).*\\4)*(#.*)?$`),decreaseIndentPattern:RegExp(`^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)`)}},t={tokenPostfix:`.ruby`,keywords:`__LINE__.__ENCODING__.__FILE__.BEGIN.END.alias.and.begin.break.case.class.def.defined?.do.else.elsif.end.ensure.for.false.if.in.module.next.nil.not.or.redo.rescue.retry.return.self.super.then.true.undef.unless.until.when.while.yield`.split(`.`),keywordops:[`::`,`..`,`...`,`?`,`:`,`=>`],builtins:[`require`,`public`,`private`,`include`,`extend`,`attr_reader`,`protected`,`private_class_method`,`protected_class_method`,`new`],declarations:[`module`,`class`,`def`,`case`,`do`,`begin`,`for`,`if`,`while`,`until`,`unless`],linedecls:[`def`,`case`,`do`,`begin`,`for`,`if`,`while`,`until`,`unless`],operators:"^.&.|.<=>.==.===.!~.=~.>.>=.<.<=.<<.>>.+.-.*./.%.**.~.+@.-@.[].[]=.`.+=.-=.*=.**=./=.^=.%=.<<=.>>=.&=.&&=.||=.|=".split(`.`),brackets:[{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,[`white`,{cases:{"for|until|while":{token:`keyword.$2`,next:`@dodecl.$2`},"@declarations":{token:`keyword.$2`,next:`@root.$2`},end:{token:`keyword.$S2`,next:`@pop`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:`keyword.$0x`,next:`@modifier.$0x`},for:{token:`keyword.$2`,next:`@dodecl.$2`},"@linedecls":{token:`keyword.$0`,next:`@root.$0`},end:{token:`keyword.$S2`,next:`@pop`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}],[/[A-Z][\w]*[!?=]?/,`constructor.identifier`],[/\$[\w]*/,`global.constant`],[/@[\w]*/,`namespace.instance.identifier`],[/@@@[\w]*/,`namespace.class.identifier`],[/<<[-~](@heredelim).*/,{token:`string.heredoc.delimiter`,next:`@heredoc.$1`}],[/[ \t\r\n]+<<(@heredelim).*/,{token:`string.heredoc.delimiter`,next:`@heredoc.$1`}],[/^<<(@heredelim).*/,{token:`string.heredoc.delimiter`,next:`@heredoc.$1`}],{include:`@whitespace`},[/"/,{token:`string.d.delim`,next:`@dstring.d."`}],[/'/,{token:`string.sq.delim`,next:`@sstring.sq`}],[/%([rsqxwW]|Q?)/,{token:`@rematch`,next:`pstring`}],[/`/,{token:`string.x.delim`,next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,`string.s`],[/:"/,{token:`string.s.delim`,next:`@dstring.s."`}],[/:'/,{token:`string.s.delim`,next:`@sstring.s`}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:`regexp.delim`,next:`@regexp`}],[/[{}()\[\]]/,`@brackets`],[/@symbols/,{cases:{"@keywordops":`keyword`,"@operators":`operator`,"@default":``}}],[/[;,]/,`delimiter`],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,`number.hex`],[/0[_oO][0-7](_?[0-7])*/,`number.octal`],[/0[bB][01](_?[01])*/,`number.binary`],[/0[dD]@decpart/,`number`],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:`number.float`,"@default":`number`}}]],dodecl:[[/^/,{token:``,switchTo:`@root.$S2`}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:`keyword.$S2`,next:`@pop`},do:{token:`keyword`,switchTo:`@root.$S2`},"@linedecls":{token:`@rematch`,switchTo:`@root.$S2`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}],{include:`@root`}],modifier:[[/^/,``,`@pop`],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:`keyword.$S2`,next:`@pop`},"then|else|elsif|do":{token:`keyword`,switchTo:`@root.$S2`},"@linedecls":{token:`@rematch`,switchTo:`@root.$S2`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}],{include:`@root`}],sstring:[[/[^\\']+/,`string.$S2`],[/\\\\|\\'|\\$/,`string.$S2.escape`],[/\\./,`string.$S2.invalid`],[/'/,{token:`string.$S2.delim`,next:`@pop`}]],dstring:[[/[^\\`"#]+/,`string.$S2`],[/#/,`string.$S2.escape`,`@interpolated`],[/\\$/,`string.$S2.escape`],[/@escapes/,`string.$S2.escape`],[/\\./,`string.$S2.escape.invalid`],[/[`"]/,{cases:{"$#==$S3":{token:`string.$S2.delim`,next:`@pop`},"@default":`string.$S2`}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":[`string.heredoc`,{token:`string.heredoc.delimiter`,next:`@pop`}],"@default":[`string.heredoc`,`string.heredoc`]}}],[/.*/,`string.heredoc`]],interpolated:[[/\$\w*/,`global.constant`,`@pop`],[/@\w*/,`namespace.class.identifier`,`@pop`],[/@@@\w*/,`namespace.instance.identifier`,`@pop`],[/[{]/,{token:`string.escape.curly`,switchTo:`@interpolated_compound`}],[``,``,`@pop`]],interpolated_compound:[[/[}]/,{token:`string.escape.curly`,next:`@pop`}],{include:`@root`}],pregexp:[{include:`@whitespace`},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:`regexp.delim`,next:`@pop`},"$#==$S2":{token:`regexp.delim`,next:`@push`},"~[)}\\]]":`@brackets.regexp.escape.control`,"~@regexpctl":`regexp.escape.control`,"@default":`regexp`}}],{include:`@regexcontrol`}],regexp:[{include:`@regexcontrol`},[/[^\\\/]/,`regexp`],[`/[ixmp]*`,{token:`regexp.delim`},`@pop`]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,[`@brackets.regexp.escape.control`,`regexp.escape.control`,`@brackets.regexp.escape.control`]],[/(\[)(\^?)/,[`@brackets.regexp.escape.control`,{token:`regexp.escape.control`,next:`@regexrange`}]],[/(\()(\?[:=!])/,[`@brackets.regexp.escape.control`,`regexp.escape.control`]],[/\(\?#/,{token:`regexp.escape.control`,next:`@regexpcomment`}],[/[()]/,`@brackets.regexp.escape.control`],[/@regexpctl/,`regexp.escape.control`],[/\\$/,`regexp.escape`],[/@regexpesc/,`regexp.escape`],[/\\\./,`regexp.invalid`],[/#/,`regexp.escape`,`@interpolated`]],regexrange:[[/-/,`regexp.escape.control`],[/\^/,`regexp.invalid`],[/\\$/,`regexp.escape`],[/@regexpesc/,`regexp.escape`],[/[^\]]/,`regexp`],[/\]/,`@brackets.regexp.escape.control`,`@pop`]],regexpcomment:[[/[^)]+/,`comment`],[/\)/,{token:`regexp.escape.control`,next:`@pop`}]],pstring:[[/%([qws])\(/,{token:`string.$1.delim`,switchTo:`@qstring.$1.(.)`}],[/%([qws])\[/,{token:`string.$1.delim`,switchTo:`@qstring.$1.[.]`}],[/%([qws])\{/,{token:`string.$1.delim`,switchTo:`@qstring.$1.{.}`}],[/%([qws])</,{token:`string.$1.delim`,switchTo:`@qstring.$1.<.>`}],[/%([qws])(@delim)/,{token:`string.$1.delim`,switchTo:`@qstring.$1.$2.$2`}],[/%r\(/,{token:`regexp.delim`,switchTo:`@pregexp.(.)`}],[/%r\[/,{token:`regexp.delim`,switchTo:`@pregexp.[.]`}],[/%r\{/,{token:`regexp.delim`,switchTo:`@pregexp.{.}`}],[/%r</,{token:`regexp.delim`,switchTo:`@pregexp.<.>`}],[/%r(@delim)/,{token:`regexp.delim`,switchTo:`@pregexp.$1.$1`}],[/%(x|W|Q?)\(/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.(.)`}],[/%(x|W|Q?)\[/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.[.]`}],[/%(x|W|Q?)\{/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.{.}`}],[/%(x|W|Q?)</,{token:`string.$1.delim`,switchTo:`@qqstring.$1.<.>`}],[/%(x|W|Q?)(@delim)/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.$2.$2`}],[/%([rqwsxW]|Q?)./,{token:`invalid`,next:`@pop`}],[/./,{token:`invalid`,next:`@pop`}]],qstring:[[/\\$/,`string.$S2.escape`],[/\\./,`string.$S2.escape`],[/./,{cases:{"$#==$S4":{token:`string.$S2.delim`,next:`@pop`},"$#==$S3":{token:`string.$S2.delim`,next:`@push`},"@default":`string.$S2`}}]],qqstring:[[/#/,`string.$S2.escape`,`@interpolated`],{include:`@qstring`}],whitespace:[[/[ \t\r\n]+/,``],[/^\s*=begin\b/,`comment`,`@comment`],[/#.*$/,`comment`]],comment:[[/[^=]+/,`comment`],[/^\s*=begin\b/,`comment.invalid`],[/^\s*=end\b.*/,`comment`,`@pop`],[/[=]/,`comment`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*#pragma\\s+region\\b`),end:RegExp(`^\\s*#pragma\\s+endregion\\b`)}}},t={tokenPostfix:`.rust`,defaultToken:`invalid`,keywords:`as.async.await.box.break.const.continue.crate.dyn.else.enum.extern.false.fn.for.if.impl.in.let.loop.match.mod.move.mut.pub.ref.return.self.static.struct.super.trait.true.try.type.unsafe.use.where.while.catch.default.union.static.abstract.alignof.become.do.final.macro.offsetof.override.priv.proc.pure.sizeof.typeof.unsized.virtual.yield`.split(`.`),typeKeywords:`Self.m32.m64.m128.f80.f16.f128.int.uint.float.char.bool.u8.u16.u32.u64.f32.f64.i8.i16.i32.i64.str.Option.Either.c_float.c_double.c_void.FILE.fpos_t.DIR.dirent.c_char.c_schar.c_uchar.c_short.c_ushort.c_int.c_uint.c_long.c_ulong.size_t.ptrdiff_t.clock_t.time_t.c_longlong.c_ulonglong.intptr_t.uintptr_t.off_t.dev_t.ino_t.pid_t.mode_t.ssize_t`.split(`.`),constants:[`true`,`false`,`Some`,`None`,`Left`,`Right`,`Ok`,`Err`],supportConstants:`EXIT_FAILURE.EXIT_SUCCESS.RAND_MAX.EOF.SEEK_SET.SEEK_CUR.SEEK_END._IOFBF._IONBF._IOLBF.BUFSIZ.FOPEN_MAX.FILENAME_MAX.L_tmpnam.TMP_MAX.O_RDONLY.O_WRONLY.O_RDWR.O_APPEND.O_CREAT.O_EXCL.O_TRUNC.S_IFIFO.S_IFCHR.S_IFBLK.S_IFDIR.S_IFREG.S_IFMT.S_IEXEC.S_IWRITE.S_IREAD.S_IRWXU.S_IXUSR.S_IWUSR.S_IRUSR.F_OK.R_OK.W_OK.X_OK.STDIN_FILENO.STDOUT_FILENO.STDERR_FILENO`.split(`.`),supportMacros:[`format!`,`print!`,`println!`,`panic!`,`format_args!`,`unreachable!`,`write!`,`writeln!`],operators:`!,!=,%,%=,&,&=,&&,*,*=,+,+=,-,-=,->,.,..,...,/,/=,:,;,<<,<<=,<,<=,=,==,=>,>,>=,>>,>>=,@,^,^=,|,|=,||,_,?,#`.split(`,`),escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:`string.quote`,bracket:`@open`,next:`@stringraw.$1`}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":`keyword.type`,"@keywords":`keyword`,"@supportConstants":`keyword`,"@supportMacros":`keyword`,"@constants":`keyword`,"@default":`identifier`}}],[/\$/,`identifier`],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,`identifier`],[/'(\S|@escapes)'/,`string.byteliteral`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string`}],{include:`@numbers`},{include:`@whitespace`},[/@delimiters/,{cases:{"@keywords":`keyword`,"@default":`delimiter`}}],[/[{}()\[\]<>]/,`@brackets`],[/@symbols/,{cases:{"@operators":`operator`,"@default":``}}]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[`\\*/`,`comment`,`@pop`],[/[\/*]/,`comment`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],stringraw:[[/[^"#]+/,{token:`string`}],[/"(#*)/,{cases:{"$1==$S2":{token:`string.quote`,bracket:`@close`,next:`@pop`},"@default":{token:`string`}}}],[/["#]/,{token:`string`}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:`number`}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:`number`}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:`number`}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:`number`}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:`number`}],[/[\d][\d_]*(@intSuffixes?)?/,{token:`number`}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`'`},brackets:[[`(`,`)`],[`[`,`]`],[`If`,`EndIf`],[`While`,`EndWhile`],[`For`,`EndFor`],[`Sub`,`EndSub`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]}]},t={defaultToken:``,tokenPostfix:`.sb`,ignoreCase:!0,brackets:[{token:`delimiter.array`,open:`[`,close:`]`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`keyword.tag-if`,open:`If`,close:`EndIf`},{token:`keyword.tag-while`,open:`While`,close:`EndWhile`},{token:`keyword.tag-for`,open:`For`,close:`EndFor`},{token:`keyword.tag-sub`,open:`Sub`,close:`EndSub`}],keywords:[`Else`,`ElseIf`,`EndFor`,`EndIf`,`EndSub`,`EndWhile`,`For`,`Goto`,`If`,`Step`,`Sub`,`Then`,`To`,`While`],tagwords:[`If`,`Sub`,`While`,`For`],operators:[`>`,`<`,`<>`,`<=`,`>=`,`And`,`Or`,`+`,`-`,`*`,`/`,`=`],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:`@whitespace`},[/(@identifier)(?=[.])/,`type`],[/@identifier/,{cases:{"@keywords":{token:`keyword.$0`},"@operators":`operator`,"@default":`variable.name`}}],[/([.])(@identifier)/,{cases:{$2:[`delimiter`,`type.member`],"@default":``}}],[/\d*\.\d+/,`number.float`],[/\d+/,`number`],[/[()\[\]]/,`@brackets`],[/@symbols/,{cases:{"@operators":`operator`,"@default":`delimiter`}}],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`]],whitespace:[[/[ \t\r\n]+/,``],[/(\').*$/,`comment`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"C?/,`string`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},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:RegExp(`^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))`),end:RegExp(`^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))`)}}},t={tokenPostfix:`.scala`,keywords:`asInstanceOf.catch.class.classOf.def.do.else.extends.finally.for.foreach.forSome.if.import.isInstanceOf.macro.match.new.object.package.return.throw.trait.try.type.until.val.var.while.with.yield.given.enum.then`.split(`.`),softKeywords:[`as`,`export`,`extension`,`end`,`derives`,`on`],constants:[`true`,`false`,`null`,`this`,`super`],modifiers:[`abstract`,`final`,`implicit`,`lazy`,`override`,`private`,`protected`,`sealed`],softModifiers:[`inline`,`opaque`,`open`,`transparent`,`using`],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:`string.quote`,bracket:`@open`,next:`@rawstringt`}],[/\braw"/,{token:`string.quote`,bracket:`@open`,next:`@rawstring`}],[/\bs"""/,{token:`string.quote`,bracket:`@open`,next:`@sstringt`}],[/\bs"/,{token:`string.quote`,bracket:`@open`,next:`@sstring`}],[/\bf""""/,{token:`string.quote`,bracket:`@open`,next:`@fstringt`}],[/\bf"/,{token:`string.quote`,bracket:`@open`,next:`@fstring`}],[/"""/,{token:`string.quote`,bracket:`@open`,next:`@stringt`}],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string`}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,`number.float`,`@allowMethod`],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,`number.float`,`@allowMethod`],[/0[xX](@hexdigits)[Ll]?/,`number.hex`,`@allowMethod`],[/(@digits)[fFdD]/,`number.float`,`@allowMethod`],[/(@digits)[lL]?/,`number`,`@allowMethod`],[/\b_\*/,`key`],[/\b(_)\b/,`keyword`,`@allowMethod`],[/\bimport\b/,`keyword`,`@import`],[/\b(case)([ \t]+)(class)\b/,[`keyword.modifier`,`white`,`keyword`]],[/\bcase\b/,`keyword`,`@case`],[/\bva[lr]\b/,`keyword`,`@vardef`],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,[`keyword`,`white`,`identifier`]],[/@name(?=[ \t]*:(?!:))/,`variable`],[/(\.)(@name|@symbols)/,[`operator`,{token:`@rematch`,next:`@allowMethod`}]],[/([{(])(\s*)(@name(?=\s*=>))/,[`@brackets`,`white`,`variable`]],[/@name/,{cases:{"@keywords":`keyword`,"@softKeywords":`keyword`,"@modifiers":`keyword.modifier`,"@softModifiers":`keyword.modifier`,"@constants":{token:`constant`,next:`@allowMethod`},"@default":{token:`identifier`,next:`@allowMethod`}}}],[/@type/,`type`,`@allowMethod`],{include:`@whitespace`},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,`annotation`],[/[{(]/,`@brackets`],[/[})]/,`@brackets`,`@allowMethod`],[/\[/,`operator.square`],[/](?!\s*(?:va[rl]|def|type)\b)/,`operator.square`,`@allowMethod`],[/]/,`operator.square`],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,`keyword`],[/@symbols/,`operator`],[/[;,\.]/,`delimiter`],[/'[a-zA-Z$][\w$]*(?!')/,`attribute.name`],[/'[^\\']'/,`string`,`@allowMethod`],[/(')(@escapes)(')/,[`string`,`string.escape`,{token:`string`,next:`@allowMethod`}]],[/'/,`string.invalid`]],import:[[/;/,`delimiter`,`@pop`],[/^|$/,``,`@pop`],[/[ \t]+/,`white`],[/[\n\r]+/,`white`,`@pop`],[/\/\*/,`comment`,`@comment`],[/@name|@type/,`type`],[/[(){}]/,`@brackets`],[/[[\]]/,`operator.square`],[/[\.,]/,`delimiter`]],allowMethod:[[/^|$/,``,`@pop`],[/[ \t]+/,`white`],[/[\n\r]+/,`white`,`@pop`],[/\/\*/,`comment`,`@comment`],[/(?==>[\s\w([{])/,`keyword`,`@pop`],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:`keyword`,next:`@pop`},"->|<-|>:|<:|<%":{token:`keyword`,next:`@pop`},"@default":{token:`@rematch`,next:`@pop`}}}],[``,``,`@pop`]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],case:[[/\b_\*/,`key`],[/\b(_|true|false|null|this|super)\b/,`keyword`,`@allowMethod`],[/\bif\b|=>/,`keyword`,`@pop`],[/`[^`]+`/,`identifier`,`@allowMethod`],[/@name/,`variable`,`@allowMethod`],[/:::?|\||@(?![a-z_$])/,`keyword`],{include:`@root`}],vardef:[[/\b_\*/,`key`],[/\b(_|true|false|null|this|super)\b/,`keyword`],[/@name/,`variable`],[/:::?|\||@(?![a-z_$])/,`keyword`],[/=|:(?!:)/,`operator`,`@pop`],[/$/,`white`,`@pop`],{include:`@root`}],string:[[/[^\\"\n\r]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}]],stringt:[[/[^\\"\n\r]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/"/,`string`]],fstring:[[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/%%/,`string`],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`keyword.modifier`,`number`,`metatag`]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`number`,`metatag`]],[/(%)([\-#+ 0,(])(@fstring_conv)/,[`metatag`,`keyword.modifier`,`metatag`]],[/(%)(@fstring_conv)/,[`metatag`,`metatag`]],[/./,`string`]],fstringt:[[/@escapes/,`string.escape`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/%%/,`string`],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`keyword.modifier`,`number`,`metatag`]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`number`,`metatag`]],[/(%)([\-#+ 0,(])(@fstring_conv)/,[`metatag`,`keyword.modifier`,`metatag`]],[/(%)(@fstring_conv)/,[`metatag`,`metatag`]],[/./,`string`]],sstring:[[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/./,`string`]],sstringt:[[/@escapes/,`string.escape`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/./,`string`]],interp:[[/{/,`operator`,`@push`],[/}/,`operator`,`@pop`],{include:`@root`}],rawstring:[[/[^"]/,`string`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}]],rawstringt:[[/[^"]/,`string`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/"/,`string`]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`;`,blockComment:[`#|`,`|#`]},brackets:[[`(`,`)`],[`{`,`}`],[`[`,`]`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}]},t={defaultToken:``,ignoreCase:!0,tokenPostfix:`.scheme`,brackets:[{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`}],keywords:[`case`,`do`,`let`,`loop`,`if`,`else`,`when`,`cons`,`car`,`cdr`,`cond`,`lambda`,`lambda*`,`syntax-rules`,`format`,`set!`,`quote`,`eval`,`append`,`list`,`list?`,`member?`,`load`],constants:[`#t`,`#f`],operators:[`eq?`,`eqv?`,`equal?`,`and`,`or`,`not`,`null?`],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,`number.hex`],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,`number.float`],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,[`keyword`,`white`,`variable`]],{include:`@whitespace`},{include:`@strings`},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":`keyword`,"@constants":`constant`,"@operators":`operators`,"@default":`identifier`}}]],comment:[[/[^\|#]+/,`comment`],[/#\|/,`comment`,`@push`],[/\|#/,`comment`,`@pop`],[/[\|#]/,`comment`]],whitespace:[[/[ \t\r\n]+/,`white`],[/#\|/,`comment`,`@comment`],[/;.*$/,`comment`]],strings:[[/"$/,`string`,`@popall`],[/"(?=.)/,`string`,`@multiLineString`]],multiLineString:[[/[^\\"]+$/,`string`,`@popall`],[/[^\\"]+/,`string`],[/\\./,`string.escape`],[/"/,`string`,`@popall`],[/\\$/,`string`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var e={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:[`/*`,`*/`],lineComment:`//`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]},{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/`),end:RegExp(`^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/`)}}},t={defaultToken:``,tokenPostfix:`.scss`,ws:`[
|
|
2
|
+
\r\f]*`,identifier:`-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.bracket`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],tokenizer:{root:[{include:`@selector`}],selector:[{include:`@comments`},{include:`@import`},{include:`@variabledeclaration`},{include:`@warndebug`},[`[@](include)`,{token:`keyword`,next:`@includedeclaration`}],[`[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)`,{token:`keyword`,next:`@keyframedeclaration`}],[`[@](page|content|font-face|-moz-document)`,{token:`keyword`}],[`[@](charset|namespace)`,{token:`keyword`,next:`@declarationbody`}],[`[@](function)`,{token:`keyword`,next:`@functiondeclaration`}],[`[@](mixin)`,{token:`keyword`,next:`@mixindeclaration`}],[`url(\\-prefix)?\\(`,{token:`meta`,next:`@urldeclaration`}],{include:`@controlstatement`},{include:`@selectorname`},[`[&\\*]`,`tag`],[`[>\\+,]`,`delimiter`],[`\\[`,{token:`delimiter.bracket`,next:`@selectorattribute`}],[`{`,{token:`delimiter.curly`,next:`@selectorbody`}]],selectorbody:[[`[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))`,`attribute.name`,`@rulevalue`],{include:`@selector`},[`[@](extend)`,{token:`keyword`,next:`@extendbody`}],[`[@](return)`,{token:`keyword`,next:`@declarationbody`}],[`}`,{token:`delimiter.curly`,next:`@pop`}]],selectorname:[[`#{`,{token:`meta`,next:`@variableinterpolation`}],[`(\\.|#(?=[^{])|%|(@identifier)|:)+`,`tag`]],selectorattribute:[{include:`@term`},[`]`,{token:`delimiter.bracket`,next:`@pop`}]],term:[{include:`@comments`},[`url(\\-prefix)?\\(`,{token:`meta`,next:`@urldeclaration`}],{include:`@functioninvocation`},{include:`@numbers`},{include:`@strings`},{include:`@variablereference`},[`(and\\b|or\\b|not\\b)`,`operator`],{include:`@name`},[`([<>=\\+\\-\\*\\/\\^\\|\\~,])`,`operator`],[`,`,`delimiter`],[`!default`,`literal`],[`\\(`,{token:`delimiter.parenthesis`,next:`@parenthizedterm`}]],rulevalue:[{include:`@term`},[`!important`,`literal`],[`;`,`delimiter`,`@pop`],[`{`,{token:`delimiter.curly`,switchTo:`@nestedproperty`}],[`(?=})`,{token:``,next:`@pop`}]],nestedproperty:[[`[*_]?@identifier@ws:`,`attribute.name`,`@rulevalue`],{include:`@comments`},[`}`,{token:`delimiter.curly`,next:`@pop`}]],warndebug:[[`[@](warn|debug)`,{token:`keyword`,next:`@declarationbody`}]],import:[[`[@](import)`,{token:`keyword`,next:`@declarationbody`}]],variabledeclaration:[[`\\$@identifier@ws:`,`variable.decl`,`@declarationbody`]],urldeclaration:[{include:`@strings`},[`[^)\r
|
|
3
|
+
]+`,`string`],[`\\)`,{token:`meta`,next:`@pop`}]],parenthizedterm:[{include:`@term`},[`\\)`,{token:`delimiter.parenthesis`,next:`@pop`}]],declarationbody:[{include:`@term`},[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}]],extendbody:[{include:`@selectorname`},[`!optional`,`literal`],[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}]],variablereference:[[`\\$@identifier`,`variable.ref`],[`\\.\\.\\.`,`operator`],[`#{`,{token:`meta`,next:`@variableinterpolation`}]],variableinterpolation:[{include:`@variablereference`},[`}`,{token:`meta`,next:`@pop`}]],comments:[[`\\/\\*`,`comment`,`@comment`],[`\\/\\/+.*`,`comment`]],comment:[[`\\*\\/`,`comment`,`@pop`],[`.`,`comment`]],name:[[`@identifier`,`attribute.value`]],numbers:[[`(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?`,{token:`number`,next:`@units`}],[`#[0-9a-fA-F_]+(?!\\w)`,`number.hex`]],units:[[`(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?`,`number`,`@pop`]],functiondeclaration:[[`@identifier@ws\\(`,{token:`meta`,next:`@parameterdeclaration`}],[`{`,{token:`delimiter.curly`,switchTo:`@functionbody`}]],mixindeclaration:[[`@identifier@ws\\(`,{token:`meta`,next:`@parameterdeclaration`}],[`@identifier`,`meta`],[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],parameterdeclaration:[[`\\$@identifier@ws:`,`variable.decl`],[`\\.\\.\\.`,`operator`],[`,`,`delimiter`],{include:`@term`},[`\\)`,{token:`meta`,next:`@pop`}]],includedeclaration:[{include:`@functioninvocation`},[`@identifier`,`meta`],[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}],[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],keyframedeclaration:[[`@identifier`,`meta`],[`{`,{token:`delimiter.curly`,switchTo:`@keyframebody`}]],keyframebody:[{include:`@term`},[`{`,{token:`delimiter.curly`,next:`@selectorbody`}],[`}`,{token:`delimiter.curly`,next:`@pop`}]],controlstatement:[[`[@](if|else|for|while|each|media)`,{token:`keyword.flow`,next:`@controlstatementdeclaration`}]],controlstatementdeclaration:[[`(in|from|through|if|to)\\b`,{token:`keyword.flow`}],{include:`@term`},[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],functionbody:[[`[@](return)`,{token:`keyword`}],{include:`@variabledeclaration`},{include:`@term`},{include:`@controlstatement`},[`;`,`delimiter`],[`}`,{token:`delimiter.curly`,next:`@pop`}]],functioninvocation:[[`@identifier\\(`,{token:`meta`,next:`@functionarguments`}]],functionarguments:[[`\\$@identifier@ws:`,`attribute.name`],[`[,]`,`delimiter`],{include:`@term`},[`\\)`,{token:`meta`,next:`@pop`}]],strings:[[`~?"`,{token:`string.delimiter`,next:`@stringenddoublequote`}],[`~?'`,{token:`string.delimiter`,next:`@stringendquote`}]],stringenddoublequote:[[`\\\\.`,`string`],[`"`,{token:`string.delimiter`,next:`@pop`}],[`.`,`string`]],stringendquote:[[`\\\\.`,`string`],[`'`,{token:`string.delimiter`,next:`@pop`}],[`.`,`string`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}]},t={defaultToken:``,ignoreCase:!0,tokenPostfix:`.shell`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`if`,`then`,`do`,`else`,`elif`,`while`,`until`,`for`,`in`,`esac`,`fi`,`fin`,`fil`,`done`,`exit`,`set`,`unset`,`export`,`function`],builtins:`ab.awk.bash.beep.cat.cc.cd.chown.chmod.chroot.clear.cp.curl.cut.diff.echo.find.gawk.gcc.get.git.grep.hg.kill.killall.ln.ls.make.mkdir.openssl.mv.nc.node.npm.ping.ps.restart.rm.rmdir.sed.service.sh.shopt.shred.source.sort.sleep.ssh.start.stop.su.sudo.svn.tee.telnet.top.touch.vi.vim.wall.wc.wget.who.write.yes.zsh`.split(`.`),startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[[/@identifiersWithDashes/,``],[/(\s)((?:@startingWithDash)+)/,[`white`,`attribute.name`]],[/[a-zA-Z]\w*/,{cases:{"@keywords":`keyword`,"@builtins":`type.identifier`,"@default":``}}],{include:`@whitespace`},{include:`@strings`},{include:`@parameters`},{include:`@heredoc`},[/[{}\[\]()]/,`@brackets`],[/@symbols/,`delimiter`],{include:`@numbers`},[/[,;]/,`delimiter`]],whitespace:[[/\s+/,`white`],[/(^#!.*$)/,`metatag`],[/(^#.*$)/,`comment`]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,`number.hex`],[/\d+/,`number`]],strings:[[/'/,`string`,`@stringBody`],[/"/,`string`,`@dblStringBody`]],stringBody:[[/'/,`string`,`@popall`],[/./,`string`]],dblStringBody:[[/"/,`string`,`@popall`],[/./,`string`]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,[`constants`,`white`,`string.heredoc.delimiter`,`string.heredoc`,`string.heredoc.delimiter`]]],parameters:[[/\$\d+/,`variable.predefined`],[/\$\w+/,`variable`],[/\$[*@#?\-$!0_]/,`variable`],[/\$'/,`variable`,`@parameterBodyQuote`],[/\$"/,`variable`,`@parameterBodyDoubleQuote`],[/\$\(/,`variable`,`@parameterBodyParen`],[/\$\{/,`variable`,`@parameterBodyCurlyBrace`]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/[']/,`variable`,`@pop`]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/["]/,`variable`,`@pop`]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/[)]/,`variable`,`@pop`]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/[}]/,`variable`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]}]},t={defaultToken:``,tokenPostfix:`.sol`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`pragma.solidity.contract.library.using.struct.function.modifier.constructor.address.string.bool.Int.Uint.Byte.Fixed.Ufixed.int.int8.int16.int24.int32.int40.int48.int56.int64.int72.int80.int88.int96.int104.int112.int120.int128.int136.int144.int152.int160.int168.int176.int184.int192.int200.int208.int216.int224.int232.int240.int248.int256.uint.uint8.uint16.uint24.uint32.uint40.uint48.uint56.uint64.uint72.uint80.uint88.uint96.uint104.uint112.uint120.uint128.uint136.uint144.uint152.uint160.uint168.uint176.uint184.uint192.uint200.uint208.uint216.uint224.uint232.uint240.uint248.uint256.byte.bytes.bytes1.bytes2.bytes3.bytes4.bytes5.bytes6.bytes7.bytes8.bytes9.bytes10.bytes11.bytes12.bytes13.bytes14.bytes15.bytes16.bytes17.bytes18.bytes19.bytes20.bytes21.bytes22.bytes23.bytes24.bytes25.bytes26.bytes27.bytes28.bytes29.bytes30.bytes31.bytes32.fixed.fixed0x8.fixed0x16.fixed0x24.fixed0x32.fixed0x40.fixed0x48.fixed0x56.fixed0x64.fixed0x72.fixed0x80.fixed0x88.fixed0x96.fixed0x104.fixed0x112.fixed0x120.fixed0x128.fixed0x136.fixed0x144.fixed0x152.fixed0x160.fixed0x168.fixed0x176.fixed0x184.fixed0x192.fixed0x200.fixed0x208.fixed0x216.fixed0x224.fixed0x232.fixed0x240.fixed0x248.fixed0x256.fixed8x8.fixed8x16.fixed8x24.fixed8x32.fixed8x40.fixed8x48.fixed8x56.fixed8x64.fixed8x72.fixed8x80.fixed8x88.fixed8x96.fixed8x104.fixed8x112.fixed8x120.fixed8x128.fixed8x136.fixed8x144.fixed8x152.fixed8x160.fixed8x168.fixed8x176.fixed8x184.fixed8x192.fixed8x200.fixed8x208.fixed8x216.fixed8x224.fixed8x232.fixed8x240.fixed8x248.fixed16x8.fixed16x16.fixed16x24.fixed16x32.fixed16x40.fixed16x48.fixed16x56.fixed16x64.fixed16x72.fixed16x80.fixed16x88.fixed16x96.fixed16x104.fixed16x112.fixed16x120.fixed16x128.fixed16x136.fixed16x144.fixed16x152.fixed16x160.fixed16x168.fixed16x176.fixed16x184.fixed16x192.fixed16x200.fixed16x208.fixed16x216.fixed16x224.fixed16x232.fixed16x240.fixed24x8.fixed24x16.fixed24x24.fixed24x32.fixed24x40.fixed24x48.fixed24x56.fixed24x64.fixed24x72.fixed24x80.fixed24x88.fixed24x96.fixed24x104.fixed24x112.fixed24x120.fixed24x128.fixed24x136.fixed24x144.fixed24x152.fixed24x160.fixed24x168.fixed24x176.fixed24x184.fixed24x192.fixed24x200.fixed24x208.fixed24x216.fixed24x224.fixed24x232.fixed32x8.fixed32x16.fixed32x24.fixed32x32.fixed32x40.fixed32x48.fixed32x56.fixed32x64.fixed32x72.fixed32x80.fixed32x88.fixed32x96.fixed32x104.fixed32x112.fixed32x120.fixed32x128.fixed32x136.fixed32x144.fixed32x152.fixed32x160.fixed32x168.fixed32x176.fixed32x184.fixed32x192.fixed32x200.fixed32x208.fixed32x216.fixed32x224.fixed40x8.fixed40x16.fixed40x24.fixed40x32.fixed40x40.fixed40x48.fixed40x56.fixed40x64.fixed40x72.fixed40x80.fixed40x88.fixed40x96.fixed40x104.fixed40x112.fixed40x120.fixed40x128.fixed40x136.fixed40x144.fixed40x152.fixed40x160.fixed40x168.fixed40x176.fixed40x184.fixed40x192.fixed40x200.fixed40x208.fixed40x216.fixed48x8.fixed48x16.fixed48x24.fixed48x32.fixed48x40.fixed48x48.fixed48x56.fixed48x64.fixed48x72.fixed48x80.fixed48x88.fixed48x96.fixed48x104.fixed48x112.fixed48x120.fixed48x128.fixed48x136.fixed48x144.fixed48x152.fixed48x160.fixed48x168.fixed48x176.fixed48x184.fixed48x192.fixed48x200.fixed48x208.fixed56x8.fixed56x16.fixed56x24.fixed56x32.fixed56x40.fixed56x48.fixed56x56.fixed56x64.fixed56x72.fixed56x80.fixed56x88.fixed56x96.fixed56x104.fixed56x112.fixed56x120.fixed56x128.fixed56x136.fixed56x144.fixed56x152.fixed56x160.fixed56x168.fixed56x176.fixed56x184.fixed56x192.fixed56x200.fixed64x8.fixed64x16.fixed64x24.fixed64x32.fixed64x40.fixed64x48.fixed64x56.fixed64x64.fixed64x72.fixed64x80.fixed64x88.fixed64x96.fixed64x104.fixed64x112.fixed64x120.fixed64x128.fixed64x136.fixed64x144.fixed64x152.fixed64x160.fixed64x168.fixed64x176.fixed64x184.fixed64x192.fixed72x8.fixed72x16.fixed72x24.fixed72x32.fixed72x40.fixed72x48.fixed72x56.fixed72x64.fixed72x72.fixed72x80.fixed72x88.fixed72x96.fixed72x104.fixed72x112.fixed72x120.fixed72x128.fixed72x136.fixed72x144.fixed72x152.fixed72x160.fixed72x168.fixed72x176.fixed72x184.fixed80x8.fixed80x16.fixed80x24.fixed80x32.fixed80x40.fixed80x48.fixed80x56.fixed80x64.fixed80x72.fixed80x80.fixed80x88.fixed80x96.fixed80x104.fixed80x112.fixed80x120.fixed80x128.fixed80x136.fixed80x144.fixed80x152.fixed80x160.fixed80x168.fixed80x176.fixed88x8.fixed88x16.fixed88x24.fixed88x32.fixed88x40.fixed88x48.fixed88x56.fixed88x64.fixed88x72.fixed88x80.fixed88x88.fixed88x96.fixed88x104.fixed88x112.fixed88x120.fixed88x128.fixed88x136.fixed88x144.fixed88x152.fixed88x160.fixed88x168.fixed96x8.fixed96x16.fixed96x24.fixed96x32.fixed96x40.fixed96x48.fixed96x56.fixed96x64.fixed96x72.fixed96x80.fixed96x88.fixed96x96.fixed96x104.fixed96x112.fixed96x120.fixed96x128.fixed96x136.fixed96x144.fixed96x152.fixed96x160.fixed104x8.fixed104x16.fixed104x24.fixed104x32.fixed104x40.fixed104x48.fixed104x56.fixed104x64.fixed104x72.fixed104x80.fixed104x88.fixed104x96.fixed104x104.fixed104x112.fixed104x120.fixed104x128.fixed104x136.fixed104x144.fixed104x152.fixed112x8.fixed112x16.fixed112x24.fixed112x32.fixed112x40.fixed112x48.fixed112x56.fixed112x64.fixed112x72.fixed112x80.fixed112x88.fixed112x96.fixed112x104.fixed112x112.fixed112x120.fixed112x128.fixed112x136.fixed112x144.fixed120x8.fixed120x16.fixed120x24.fixed120x32.fixed120x40.fixed120x48.fixed120x56.fixed120x64.fixed120x72.fixed120x80.fixed120x88.fixed120x96.fixed120x104.fixed120x112.fixed120x120.fixed120x128.fixed120x136.fixed128x8.fixed128x16.fixed128x24.fixed128x32.fixed128x40.fixed128x48.fixed128x56.fixed128x64.fixed128x72.fixed128x80.fixed128x88.fixed128x96.fixed128x104.fixed128x112.fixed128x120.fixed128x128.fixed136x8.fixed136x16.fixed136x24.fixed136x32.fixed136x40.fixed136x48.fixed136x56.fixed136x64.fixed136x72.fixed136x80.fixed136x88.fixed136x96.fixed136x104.fixed136x112.fixed136x120.fixed144x8.fixed144x16.fixed144x24.fixed144x32.fixed144x40.fixed144x48.fixed144x56.fixed144x64.fixed144x72.fixed144x80.fixed144x88.fixed144x96.fixed144x104.fixed144x112.fixed152x8.fixed152x16.fixed152x24.fixed152x32.fixed152x40.fixed152x48.fixed152x56.fixed152x64.fixed152x72.fixed152x80.fixed152x88.fixed152x96.fixed152x104.fixed160x8.fixed160x16.fixed160x24.fixed160x32.fixed160x40.fixed160x48.fixed160x56.fixed160x64.fixed160x72.fixed160x80.fixed160x88.fixed160x96.fixed168x8.fixed168x16.fixed168x24.fixed168x32.fixed168x40.fixed168x48.fixed168x56.fixed168x64.fixed168x72.fixed168x80.fixed168x88.fixed176x8.fixed176x16.fixed176x24.fixed176x32.fixed176x40.fixed176x48.fixed176x56.fixed176x64.fixed176x72.fixed176x80.fixed184x8.fixed184x16.fixed184x24.fixed184x32.fixed184x40.fixed184x48.fixed184x56.fixed184x64.fixed184x72.fixed192x8.fixed192x16.fixed192x24.fixed192x32.fixed192x40.fixed192x48.fixed192x56.fixed192x64.fixed200x8.fixed200x16.fixed200x24.fixed200x32.fixed200x40.fixed200x48.fixed200x56.fixed208x8.fixed208x16.fixed208x24.fixed208x32.fixed208x40.fixed208x48.fixed216x8.fixed216x16.fixed216x24.fixed216x32.fixed216x40.fixed224x8.fixed224x16.fixed224x24.fixed224x32.fixed232x8.fixed232x16.fixed232x24.fixed240x8.fixed240x16.fixed248x8.ufixed.ufixed0x8.ufixed0x16.ufixed0x24.ufixed0x32.ufixed0x40.ufixed0x48.ufixed0x56.ufixed0x64.ufixed0x72.ufixed0x80.ufixed0x88.ufixed0x96.ufixed0x104.ufixed0x112.ufixed0x120.ufixed0x128.ufixed0x136.ufixed0x144.ufixed0x152.ufixed0x160.ufixed0x168.ufixed0x176.ufixed0x184.ufixed0x192.ufixed0x200.ufixed0x208.ufixed0x216.ufixed0x224.ufixed0x232.ufixed0x240.ufixed0x248.ufixed0x256.ufixed8x8.ufixed8x16.ufixed8x24.ufixed8x32.ufixed8x40.ufixed8x48.ufixed8x56.ufixed8x64.ufixed8x72.ufixed8x80.ufixed8x88.ufixed8x96.ufixed8x104.ufixed8x112.ufixed8x120.ufixed8x128.ufixed8x136.ufixed8x144.ufixed8x152.ufixed8x160.ufixed8x168.ufixed8x176.ufixed8x184.ufixed8x192.ufixed8x200.ufixed8x208.ufixed8x216.ufixed8x224.ufixed8x232.ufixed8x240.ufixed8x248.ufixed16x8.ufixed16x16.ufixed16x24.ufixed16x32.ufixed16x40.ufixed16x48.ufixed16x56.ufixed16x64.ufixed16x72.ufixed16x80.ufixed16x88.ufixed16x96.ufixed16x104.ufixed16x112.ufixed16x120.ufixed16x128.ufixed16x136.ufixed16x144.ufixed16x152.ufixed16x160.ufixed16x168.ufixed16x176.ufixed16x184.ufixed16x192.ufixed16x200.ufixed16x208.ufixed16x216.ufixed16x224.ufixed16x232.ufixed16x240.ufixed24x8.ufixed24x16.ufixed24x24.ufixed24x32.ufixed24x40.ufixed24x48.ufixed24x56.ufixed24x64.ufixed24x72.ufixed24x80.ufixed24x88.ufixed24x96.ufixed24x104.ufixed24x112.ufixed24x120.ufixed24x128.ufixed24x136.ufixed24x144.ufixed24x152.ufixed24x160.ufixed24x168.ufixed24x176.ufixed24x184.ufixed24x192.ufixed24x200.ufixed24x208.ufixed24x216.ufixed24x224.ufixed24x232.ufixed32x8.ufixed32x16.ufixed32x24.ufixed32x32.ufixed32x40.ufixed32x48.ufixed32x56.ufixed32x64.ufixed32x72.ufixed32x80.ufixed32x88.ufixed32x96.ufixed32x104.ufixed32x112.ufixed32x120.ufixed32x128.ufixed32x136.ufixed32x144.ufixed32x152.ufixed32x160.ufixed32x168.ufixed32x176.ufixed32x184.ufixed32x192.ufixed32x200.ufixed32x208.ufixed32x216.ufixed32x224.ufixed40x8.ufixed40x16.ufixed40x24.ufixed40x32.ufixed40x40.ufixed40x48.ufixed40x56.ufixed40x64.ufixed40x72.ufixed40x80.ufixed40x88.ufixed40x96.ufixed40x104.ufixed40x112.ufixed40x120.ufixed40x128.ufixed40x136.ufixed40x144.ufixed40x152.ufixed40x160.ufixed40x168.ufixed40x176.ufixed40x184.ufixed40x192.ufixed40x200.ufixed40x208.ufixed40x216.ufixed48x8.ufixed48x16.ufixed48x24.ufixed48x32.ufixed48x40.ufixed48x48.ufixed48x56.ufixed48x64.ufixed48x72.ufixed48x80.ufixed48x88.ufixed48x96.ufixed48x104.ufixed48x112.ufixed48x120.ufixed48x128.ufixed48x136.ufixed48x144.ufixed48x152.ufixed48x160.ufixed48x168.ufixed48x176.ufixed48x184.ufixed48x192.ufixed48x200.ufixed48x208.ufixed56x8.ufixed56x16.ufixed56x24.ufixed56x32.ufixed56x40.ufixed56x48.ufixed56x56.ufixed56x64.ufixed56x72.ufixed56x80.ufixed56x88.ufixed56x96.ufixed56x104.ufixed56x112.ufixed56x120.ufixed56x128.ufixed56x136.ufixed56x144.ufixed56x152.ufixed56x160.ufixed56x168.ufixed56x176.ufixed56x184.ufixed56x192.ufixed56x200.ufixed64x8.ufixed64x16.ufixed64x24.ufixed64x32.ufixed64x40.ufixed64x48.ufixed64x56.ufixed64x64.ufixed64x72.ufixed64x80.ufixed64x88.ufixed64x96.ufixed64x104.ufixed64x112.ufixed64x120.ufixed64x128.ufixed64x136.ufixed64x144.ufixed64x152.ufixed64x160.ufixed64x168.ufixed64x176.ufixed64x184.ufixed64x192.ufixed72x8.ufixed72x16.ufixed72x24.ufixed72x32.ufixed72x40.ufixed72x48.ufixed72x56.ufixed72x64.ufixed72x72.ufixed72x80.ufixed72x88.ufixed72x96.ufixed72x104.ufixed72x112.ufixed72x120.ufixed72x128.ufixed72x136.ufixed72x144.ufixed72x152.ufixed72x160.ufixed72x168.ufixed72x176.ufixed72x184.ufixed80x8.ufixed80x16.ufixed80x24.ufixed80x32.ufixed80x40.ufixed80x48.ufixed80x56.ufixed80x64.ufixed80x72.ufixed80x80.ufixed80x88.ufixed80x96.ufixed80x104.ufixed80x112.ufixed80x120.ufixed80x128.ufixed80x136.ufixed80x144.ufixed80x152.ufixed80x160.ufixed80x168.ufixed80x176.ufixed88x8.ufixed88x16.ufixed88x24.ufixed88x32.ufixed88x40.ufixed88x48.ufixed88x56.ufixed88x64.ufixed88x72.ufixed88x80.ufixed88x88.ufixed88x96.ufixed88x104.ufixed88x112.ufixed88x120.ufixed88x128.ufixed88x136.ufixed88x144.ufixed88x152.ufixed88x160.ufixed88x168.ufixed96x8.ufixed96x16.ufixed96x24.ufixed96x32.ufixed96x40.ufixed96x48.ufixed96x56.ufixed96x64.ufixed96x72.ufixed96x80.ufixed96x88.ufixed96x96.ufixed96x104.ufixed96x112.ufixed96x120.ufixed96x128.ufixed96x136.ufixed96x144.ufixed96x152.ufixed96x160.ufixed104x8.ufixed104x16.ufixed104x24.ufixed104x32.ufixed104x40.ufixed104x48.ufixed104x56.ufixed104x64.ufixed104x72.ufixed104x80.ufixed104x88.ufixed104x96.ufixed104x104.ufixed104x112.ufixed104x120.ufixed104x128.ufixed104x136.ufixed104x144.ufixed104x152.ufixed112x8.ufixed112x16.ufixed112x24.ufixed112x32.ufixed112x40.ufixed112x48.ufixed112x56.ufixed112x64.ufixed112x72.ufixed112x80.ufixed112x88.ufixed112x96.ufixed112x104.ufixed112x112.ufixed112x120.ufixed112x128.ufixed112x136.ufixed112x144.ufixed120x8.ufixed120x16.ufixed120x24.ufixed120x32.ufixed120x40.ufixed120x48.ufixed120x56.ufixed120x64.ufixed120x72.ufixed120x80.ufixed120x88.ufixed120x96.ufixed120x104.ufixed120x112.ufixed120x120.ufixed120x128.ufixed120x136.ufixed128x8.ufixed128x16.ufixed128x24.ufixed128x32.ufixed128x40.ufixed128x48.ufixed128x56.ufixed128x64.ufixed128x72.ufixed128x80.ufixed128x88.ufixed128x96.ufixed128x104.ufixed128x112.ufixed128x120.ufixed128x128.ufixed136x8.ufixed136x16.ufixed136x24.ufixed136x32.ufixed136x40.ufixed136x48.ufixed136x56.ufixed136x64.ufixed136x72.ufixed136x80.ufixed136x88.ufixed136x96.ufixed136x104.ufixed136x112.ufixed136x120.ufixed144x8.ufixed144x16.ufixed144x24.ufixed144x32.ufixed144x40.ufixed144x48.ufixed144x56.ufixed144x64.ufixed144x72.ufixed144x80.ufixed144x88.ufixed144x96.ufixed144x104.ufixed144x112.ufixed152x8.ufixed152x16.ufixed152x24.ufixed152x32.ufixed152x40.ufixed152x48.ufixed152x56.ufixed152x64.ufixed152x72.ufixed152x80.ufixed152x88.ufixed152x96.ufixed152x104.ufixed160x8.ufixed160x16.ufixed160x24.ufixed160x32.ufixed160x40.ufixed160x48.ufixed160x56.ufixed160x64.ufixed160x72.ufixed160x80.ufixed160x88.ufixed160x96.ufixed168x8.ufixed168x16.ufixed168x24.ufixed168x32.ufixed168x40.ufixed168x48.ufixed168x56.ufixed168x64.ufixed168x72.ufixed168x80.ufixed168x88.ufixed176x8.ufixed176x16.ufixed176x24.ufixed176x32.ufixed176x40.ufixed176x48.ufixed176x56.ufixed176x64.ufixed176x72.ufixed176x80.ufixed184x8.ufixed184x16.ufixed184x24.ufixed184x32.ufixed184x40.ufixed184x48.ufixed184x56.ufixed184x64.ufixed184x72.ufixed192x8.ufixed192x16.ufixed192x24.ufixed192x32.ufixed192x40.ufixed192x48.ufixed192x56.ufixed192x64.ufixed200x8.ufixed200x16.ufixed200x24.ufixed200x32.ufixed200x40.ufixed200x48.ufixed200x56.ufixed208x8.ufixed208x16.ufixed208x24.ufixed208x32.ufixed208x40.ufixed208x48.ufixed216x8.ufixed216x16.ufixed216x24.ufixed216x32.ufixed216x40.ufixed224x8.ufixed224x16.ufixed224x24.ufixed224x32.ufixed232x8.ufixed232x16.ufixed232x24.ufixed240x8.ufixed240x16.ufixed248x8.event.enum.let.mapping.private.public.external.inherited.payable.true.false.var.import.constant.if.else.for.else.for.while.do.break.continue.throw.returns.return.suicide.new.is.this.super`.split(`.`),operators:`=.>.<.!.~.?.:.==.<=.>=.!=.&&.||.++.--.+.-.*./.&.|.^.%.<<.>>.>>>.+=.-=.*=./=.&=.|=.^=.%=.<<=.>>=.>>>=`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}],{include:`@whitespace`},[/\[\[.*\]\]/,`annotation`],[/^\s*#\w+/,`keyword`],[/int\d*/,`keyword`],[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,`number.float`],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,`number.float`],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,`number.hex`],[/0[0-7']*[0-7](@integersuffix)/,`number.octal`],[/0[bB][0-1']*[0-1](@integersuffix)/,`number.binary`],[/\d[\d']*\d(@integersuffix)/,`number`],[/\d(@integersuffix)/,`number`],[/[;,.]/,`delimiter`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`],[/'[^\\']'/,`string`],[/(')(@escapes)(')/,[`string`,`string.escape`,`string`]],[/'/,`string.invalid`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*\*(?!\/)/,`comment.doc`,`@doccomment`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],doccomment:[[/[^\/*]+/,`comment.doc`],[/\*\//,`comment.doc`,`@pop`],[/[\/*]/,`comment.doc`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]}]},t={defaultToken:``,tokenPostfix:`.aes`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`contract.library.entrypoint.function.stateful.state.hash.signature.tuple.list.address.string.bool.int.record.datatype.type.option.oracle.oracle_query.Call.Bits.Bytes.Oracle.String.Crypto.Address.Auth.Chain.None.Some.bits.bytes.event.let.map.private.public.true.false.var.if.else.throw`.split(`.`),operators:`=.>.<.!.~.?.::.:.==.<=.>=.!=.&&.||.++.--.+.-.*./.&.|.^.%.<<.>>.>>>.+=.-=.*=./=.&=.|=.^=.%=.<<=.>>=.>>>=`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}],{include:`@whitespace`},[/\[\[.*\]\]/,`annotation`],[/^\s*#\w+/,`keyword`],[/int\d*/,`keyword`],[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,`number.float`],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,`number.float`],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,`number.hex`],[/0[0-7']*[0-7](@integersuffix)/,`number.octal`],[/0[bB][0-1']*[0-1](@integersuffix)/,`number.binary`],[/\d[\d']*\d(@integersuffix)/,`number`],[/\d(@integersuffix)/,`number`],[/[;,.]/,`delimiter`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`],[/'[^\\']'/,`string`],[/(')(@escapes)(')/,[`string`,`string.escape`,`string`]],[/'/,`string.invalid`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*\*(?!\/)/,`comment.doc`,`@doccomment`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],doccomment:[[/[^\/*]+/,`comment.doc`],[/\*\//,`comment.doc`,`@pop`],[/[\/*]/,`comment.doc`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`'`,close:`'`,notIn:[`string`]},{open:`"`,close:`"`,notIn:[`string`]},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`}]},t={defaultToken:``,tokenPostfix:`.rq`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`add.as.asc.ask.base.by.clear.construct.copy.create.data.delete.desc.describe.distinct.drop.false.filter.from.graph.group.having.in.insert.limit.load.minus.move.named.not.offset.optional.order.prefix.reduced.select.service.silent.to.true.undef.union.using.values.where.with`.split(`.`),builtinFunctions:`a.abs.avg.bind.bnode.bound.ceil.coalesce.concat.contains.count.datatype.day.encode_for_uri.exists.floor.group_concat.hours.if.iri.isblank.isiri.isliteral.isnumeric.isuri.lang.langmatches.lcase.max.md5.min.minutes.month.now.rand.regex.replace.round.sameterm.sample.seconds.sha1.sha256.sha384.sha512.str.strafter.strbefore.strdt.strends.strlang.strlen.strstarts.struuid.substr.sum.timezone.tz.ucase.uri.uuid.year`.split(`.`),ignoreCase:!0,tokenizer:{root:[[/<[^\s\u00a0>]*>?/,`tag`],{include:`@strings`},[/#.*/,`comment`],[/[{}()\[\]]/,`@brackets`],[/[;,.]/,`delimiter`],[/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/,`tag`],[/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/,`tag`],[/[$?]?[_\w\d]+/,{cases:{"@keywords":{token:`keyword`},"@builtinFunctions":{token:`predefined.sql`},"@default":`identifier`}}],[/\^\^/,`operator.sql`],[/\^[*+\-<>=&|^\/!?]*/,`operator.sql`],[/[*+\-<>=&|\/!?]/,`operator.sql`],[/@[a-z\d\-]*/,`metatag.html`],[/\s+/,`white`]],strings:[[/'([^'\\]|\\.)*$/,`string.invalid`],[/'$/,`string.sql`,`@pop`],[/'/,`string.sql`,`@stringBody`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"$/,`string.sql`,`@pop`],[/"/,`string.sql`,`@dblStringBody`]],stringBody:[[/[^\\']+/,`string.sql`],[/\\./,`string.escape`],[/'/,`string.sql`,`@pop`]],dblStringBody:[[/[^\\"]+/,`string.sql`],[/\\./,`string.escape`],[/"/,`string.sql`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`--`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={defaultToken:``,tokenPostfix:`.sql`,ignoreCase:!0,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:`ABORT.ABSOLUTE.ACTION.ADA.ADD.AFTER.ALL.ALLOCATE.ALTER.ALWAYS.ANALYZE.AND.ANY.ARE.AS.ASC.ASSERTION.AT.ATTACH.AUTHORIZATION.AUTOINCREMENT.AVG.BACKUP.BEFORE.BEGIN.BETWEEN.BIT.BIT_LENGTH.BOTH.BREAK.BROWSE.BULK.BY.CASCADE.CASCADED.CASE.CAST.CATALOG.CHAR.CHARACTER.CHARACTER_LENGTH.CHAR_LENGTH.CHECK.CHECKPOINT.CLOSE.CLUSTERED.COALESCE.COLLATE.COLLATION.COLUMN.COMMIT.COMPUTE.CONFLICT.CONNECT.CONNECTION.CONSTRAINT.CONSTRAINTS.CONTAINS.CONTAINSTABLE.CONTINUE.CONVERT.CORRESPONDING.COUNT.CREATE.CROSS.CURRENT.CURRENT_DATE.CURRENT_TIME.CURRENT_TIMESTAMP.CURRENT_USER.CURSOR.DATABASE.DATE.DAY.DBCC.DEALLOCATE.DEC.DECIMAL.DECLARE.DEFAULT.DEFERRABLE.DEFERRED.DELETE.DENY.DESC.DESCRIBE.DESCRIPTOR.DETACH.DIAGNOSTICS.DISCONNECT.DISK.DISTINCT.DISTRIBUTED.DO.DOMAIN.DOUBLE.DROP.DUMP.EACH.ELSE.END.END-EXEC.ERRLVL.ESCAPE.EXCEPT.EXCEPTION.EXCLUDE.EXCLUSIVE.EXEC.EXECUTE.EXISTS.EXIT.EXPLAIN.EXTERNAL.EXTRACT.FAIL.FALSE.FETCH.FILE.FILLFACTOR.FILTER.FIRST.FLOAT.FOLLOWING.FOR.FOREIGN.FORTRAN.FOUND.FREETEXT.FREETEXTTABLE.FROM.FULL.FUNCTION.GENERATED.GET.GLOB.GLOBAL.GO.GOTO.GRANT.GROUP.GROUPS.HAVING.HOLDLOCK.HOUR.IDENTITY.IDENTITYCOL.IDENTITY_INSERT.IF.IGNORE.IMMEDIATE.IN.INCLUDE.INDEX.INDEXED.INDICATOR.INITIALLY.INNER.INPUT.INSENSITIVE.INSERT.INSTEAD.INT.INTEGER.INTERSECT.INTERVAL.INTO.IS.ISNULL.ISOLATION.JOIN.KEY.KILL.LANGUAGE.LAST.LEADING.LEFT.LEVEL.LIKE.LIMIT.LINENO.LOAD.LOCAL.LOWER.MATCH.MATERIALIZED.MAX.MERGE.MIN.MINUTE.MODULE.MONTH.NAMES.NATIONAL.NATURAL.NCHAR.NEXT.NO.NOCHECK.NONCLUSTERED.NONE.NOT.NOTHING.NOTNULL.NULL.NULLIF.NULLS.NUMERIC.OCTET_LENGTH.OF.OFF.OFFSET.OFFSETS.ON.ONLY.OPEN.OPENDATASOURCE.OPENQUERY.OPENROWSET.OPENXML.OPTION.OR.ORDER.OTHERS.OUTER.OUTPUT.OVER.OVERLAPS.PAD.PARTIAL.PARTITION.PASCAL.PERCENT.PIVOT.PLAN.POSITION.PRAGMA.PRECEDING.PRECISION.PREPARE.PRESERVE.PRIMARY.PRINT.PRIOR.PRIVILEGES.PROC.PROCEDURE.PUBLIC.QUERY.RAISE.RAISERROR.RANGE.READ.READTEXT.REAL.RECONFIGURE.RECURSIVE.REFERENCES.REGEXP.REINDEX.RELATIVE.RELEASE.RENAME.REPLACE.REPLICATION.RESTORE.RESTRICT.RETURN.RETURNING.REVERT.REVOKE.RIGHT.ROLLBACK.ROW.ROWCOUNT.ROWGUIDCOL.ROWS.RULE.SAVE.SAVEPOINT.SCHEMA.SCROLL.SECOND.SECTION.SECURITYAUDIT.SELECT.SEMANTICKEYPHRASETABLE.SEMANTICSIMILARITYDETAILSTABLE.SEMANTICSIMILARITYTABLE.SESSION.SESSION_USER.SET.SETUSER.SHUTDOWN.SIZE.SMALLINT.SOME.SPACE.SQL.SQLCA.SQLCODE.SQLERROR.SQLSTATE.SQLWARNING.STATISTICS.SUBSTRING.SUM.SYSTEM_USER.TABLE.TABLESAMPLE.TEMP.TEMPORARY.TEXTSIZE.THEN.TIES.TIME.TIMESTAMP.TIMEZONE_HOUR.TIMEZONE_MINUTE.TO.TOP.TRAILING.TRAN.TRANSACTION.TRANSLATE.TRANSLATION.TRIGGER.TRIM.TRUE.TRUNCATE.TRY_CONVERT.TSEQUAL.UNBOUNDED.UNION.UNIQUE.UNKNOWN.UNPIVOT.UPDATE.UPDATETEXT.UPPER.USAGE.USE.USER.USING.VACUUM.VALUE.VALUES.VARCHAR.VARYING.VIEW.VIRTUAL.WAITFOR.WHEN.WHENEVER.WHERE.WHILE.WINDOW.WITH.WITHIN GROUP.WITHOUT.WORK.WRITE.WRITETEXT.YEAR.ZONE`.split(`.`),operators:`ALL.AND.ANY.BETWEEN.EXISTS.IN.LIKE.NOT.OR.SOME.EXCEPT.INTERSECT.UNION.APPLY.CROSS.FULL.INNER.JOIN.LEFT.OUTER.RIGHT.CONTAINS.FREETEXT.IS.NULL.PIVOT.UNPIVOT.MATCHED`.split(`.`),builtinFunctions:`AVG.CHECKSUM_AGG.COUNT.COUNT_BIG.GROUPING.GROUPING_ID.MAX.MIN.SUM.STDEV.STDEVP.VAR.VARP.CUME_DIST.FIRST_VALUE.LAG.LAST_VALUE.LEAD.PERCENTILE_CONT.PERCENTILE_DISC.PERCENT_RANK.COLLATE.COLLATIONPROPERTY.TERTIARY_WEIGHTS.FEDERATION_FILTERING_VALUE.CAST.CONVERT.PARSE.TRY_CAST.TRY_CONVERT.TRY_PARSE.ASYMKEY_ID.ASYMKEYPROPERTY.CERTPROPERTY.CERT_ID.CRYPT_GEN_RANDOM.DECRYPTBYASYMKEY.DECRYPTBYCERT.DECRYPTBYKEY.DECRYPTBYKEYAUTOASYMKEY.DECRYPTBYKEYAUTOCERT.DECRYPTBYPASSPHRASE.ENCRYPTBYASYMKEY.ENCRYPTBYCERT.ENCRYPTBYKEY.ENCRYPTBYPASSPHRASE.HASHBYTES.IS_OBJECTSIGNED.KEY_GUID.KEY_ID.KEY_NAME.SIGNBYASYMKEY.SIGNBYCERT.SYMKEYPROPERTY.VERIFYSIGNEDBYCERT.VERIFYSIGNEDBYASYMKEY.CURSOR_STATUS.DATALENGTH.IDENT_CURRENT.IDENT_INCR.IDENT_SEED.IDENTITY.SQL_VARIANT_PROPERTY.CURRENT_TIMESTAMP.DATEADD.DATEDIFF.DATEFROMPARTS.DATENAME.DATEPART.DATETIME2FROMPARTS.DATETIMEFROMPARTS.DATETIMEOFFSETFROMPARTS.DAY.EOMONTH.GETDATE.GETUTCDATE.ISDATE.MONTH.SMALLDATETIMEFROMPARTS.SWITCHOFFSET.SYSDATETIME.SYSDATETIMEOFFSET.SYSUTCDATETIME.TIMEFROMPARTS.TODATETIMEOFFSET.YEAR.CHOOSE.COALESCE.IIF.NULLIF.ABS.ACOS.ASIN.ATAN.ATN2.CEILING.COS.COT.DEGREES.EXP.FLOOR.LOG.LOG10.PI.POWER.RADIANS.RAND.ROUND.SIGN.SIN.SQRT.SQUARE.TAN.APP_NAME.APPLOCK_MODE.APPLOCK_TEST.ASSEMBLYPROPERTY.COL_LENGTH.COL_NAME.COLUMNPROPERTY.DATABASE_PRINCIPAL_ID.DATABASEPROPERTYEX.DB_ID.DB_NAME.FILE_ID.FILE_IDEX.FILE_NAME.FILEGROUP_ID.FILEGROUP_NAME.FILEGROUPPROPERTY.FILEPROPERTY.FULLTEXTCATALOGPROPERTY.FULLTEXTSERVICEPROPERTY.INDEX_COL.INDEXKEY_PROPERTY.INDEXPROPERTY.OBJECT_DEFINITION.OBJECT_ID.OBJECT_NAME.OBJECT_SCHEMA_NAME.OBJECTPROPERTY.OBJECTPROPERTYEX.ORIGINAL_DB_NAME.PARSENAME.SCHEMA_ID.SCHEMA_NAME.SCOPE_IDENTITY.SERVERPROPERTY.STATS_DATE.TYPE_ID.TYPE_NAME.TYPEPROPERTY.DENSE_RANK.NTILE.RANK.ROW_NUMBER.PUBLISHINGSERVERNAME.OPENDATASOURCE.OPENQUERY.OPENROWSET.OPENXML.CERTENCODED.CERTPRIVATEKEY.CURRENT_USER.HAS_DBACCESS.HAS_PERMS_BY_NAME.IS_MEMBER.IS_ROLEMEMBER.IS_SRVROLEMEMBER.LOGINPROPERTY.ORIGINAL_LOGIN.PERMISSIONS.PWDENCRYPT.PWDCOMPARE.SESSION_USER.SESSIONPROPERTY.SUSER_ID.SUSER_NAME.SUSER_SID.SUSER_SNAME.SYSTEM_USER.USER.USER_ID.USER_NAME.ASCII.CHAR.CHARINDEX.CONCAT.DIFFERENCE.FORMAT.LEFT.LEN.LOWER.LTRIM.NCHAR.PATINDEX.QUOTENAME.REPLACE.REPLICATE.REVERSE.RIGHT.RTRIM.SOUNDEX.SPACE.STR.STUFF.SUBSTRING.UNICODE.UPPER.BINARY_CHECKSUM.CHECKSUM.CONNECTIONPROPERTY.CONTEXT_INFO.CURRENT_REQUEST_ID.ERROR_LINE.ERROR_NUMBER.ERROR_MESSAGE.ERROR_PROCEDURE.ERROR_SEVERITY.ERROR_STATE.FORMATMESSAGE.GETANSINULL.GET_FILESTREAM_TRANSACTION_CONTEXT.HOST_ID.HOST_NAME.ISNULL.ISNUMERIC.MIN_ACTIVE_ROWVERSION.NEWID.NEWSEQUENTIALID.ROWCOUNT_BIG.XACT_STATE.TEXTPTR.TEXTVALID.COLUMNS_UPDATED.EVENTDATA.TRIGGER_NESTLEVEL.UPDATE.CHANGETABLE.CHANGE_TRACKING_CONTEXT.CHANGE_TRACKING_CURRENT_VERSION.CHANGE_TRACKING_IS_COLUMN_IN_MASK.CHANGE_TRACKING_MIN_VALID_VERSION.CONTAINSTABLE.FREETEXTTABLE.SEMANTICKEYPHRASETABLE.SEMANTICSIMILARITYDETAILSTABLE.SEMANTICSIMILARITYTABLE.FILETABLEROOTPATH.GETFILENAMESPACEPATH.GETPATHLOCATOR.PATHNAME.GET_TRANSMISSION_STATUS`.split(`.`),builtinVariables:`@@DATEFIRST.@@DBTS.@@LANGID.@@LANGUAGE.@@LOCK_TIMEOUT.@@MAX_CONNECTIONS.@@MAX_PRECISION.@@NESTLEVEL.@@OPTIONS.@@REMSERVER.@@SERVERNAME.@@SERVICENAME.@@SPID.@@TEXTSIZE.@@VERSION.@@CURSOR_ROWS.@@FETCH_STATUS.@@DATEFIRST.@@PROCID.@@ERROR.@@IDENTITY.@@ROWCOUNT.@@TRANCOUNT.@@CONNECTIONS.@@CPU_BUSY.@@IDLE.@@IO_BUSY.@@PACKET_ERRORS.@@PACK_RECEIVED.@@PACK_SENT.@@TIMETICKS.@@TOTAL_ERRORS.@@TOTAL_READ.@@TOTAL_WRITE`.split(`.`),pseudoColumns:[`$ACTION`,`$IDENTITY`,`$ROWGUID`,`$PARTITION`],tokenizer:{root:[{include:`@comments`},{include:`@whitespace`},{include:`@pseudoColumns`},{include:`@numbers`},{include:`@strings`},{include:`@complexIdentifiers`},{include:`@scopes`},[/[;,.]/,`delimiter`],[/[()]/,`@brackets`],[/[\w@#$]+/,{cases:{"@operators":`operator`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@keywords":`keyword`,"@default":`identifier`}}],[/[<>=!%&+\-*/|~^]/,`operator`]],whitespace:[[/\s+/,`white`]],comments:[[/--+.*/,`comment`],[/\/\*/,{token:`comment.quote`,next:`@comment`}]],comment:[[/[^*/]+/,`comment`],[/\*\//,{token:`comment.quote`,next:`@pop`}],[/./,`comment`]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":`predefined`,"@default":`identifier`}}]],numbers:[[/0[xX][0-9a-fA-F]*/,`number`],[/[$][+-]*\d*(\.\d*)?/,`number`],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,`number`]],strings:[[/N'/,{token:`string`,next:`@string`}],[/'/,{token:`string`,next:`@string`}]],string:[[/[^']+/,`string`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],complexIdentifiers:[[/\[/,{token:`identifier.quote`,next:`@bracketedIdentifier`}],[/"/,{token:`identifier.quote`,next:`@quotedIdentifier`}]],bracketedIdentifier:[[/[^\]]+/,`identifier`],[/]]/,`identifier`],[/]/,{token:`identifier.quote`,next:`@pop`}]],quotedIdentifier:[[/[^"]+/,`identifier`],[/""/,`identifier`],[/"/,{token:`identifier.quote`,next:`@pop`}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,`keyword`],[/BEGIN\s+TRY\b/i,{token:`keyword.try`}],[/END\s+TRY\b/i,{token:`keyword.try`}],[/BEGIN\s+CATCH\b/i,{token:`keyword.catch`}],[/END\s+CATCH\b/i,{token:`keyword.catch`}],[/(BEGIN|CASE)\b/i,{token:`keyword.block`}],[/END\b/i,{token:`keyword.block`}],[/WHEN\b/i,{token:`keyword.choice`}],[/THEN\b/i,{token:`keyword.choice`}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`(*`,`*)`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`var`,`end_var`],[`var_input`,`end_var`],[`var_output`,`end_var`],[`var_in_out`,`end_var`],[`var_temp`,`end_var`],[`var_global`,`end_var`],[`var_access`,`end_var`],[`var_external`,`end_var`],[`type`,`end_type`],[`struct`,`end_struct`],[`program`,`end_program`],[`function`,`end_function`],[`function_block`,`end_function_block`],[`action`,`end_action`],[`step`,`end_step`],[`initial_step`,`end_step`],[`transaction`,`end_transaction`],[`configuration`,`end_configuration`],[`tcp`,`end_tcp`],[`recource`,`end_recource`],[`channel`,`end_channel`],[`library`,`end_library`],[`folder`,`end_folder`],[`binaries`,`end_binaries`],[`includes`,`end_includes`],[`sources`,`end_sources`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`/*`,close:`*/`},{open:`'`,close:`'`,notIn:[`string_sq`]},{open:`"`,close:`"`,notIn:[`string_dq`]},{open:`var_input`,close:`end_var`},{open:`var_output`,close:`end_var`},{open:`var_in_out`,close:`end_var`},{open:`var_temp`,close:`end_var`},{open:`var_global`,close:`end_var`},{open:`var_access`,close:`end_var`},{open:`var_external`,close:`end_var`},{open:`type`,close:`end_type`},{open:`struct`,close:`end_struct`},{open:`program`,close:`end_program`},{open:`function`,close:`end_function`},{open:`function_block`,close:`end_function_block`},{open:`action`,close:`end_action`},{open:`step`,close:`end_step`},{open:`initial_step`,close:`end_step`},{open:`transaction`,close:`end_transaction`},{open:`configuration`,close:`end_configuration`},{open:`tcp`,close:`end_tcp`},{open:`recource`,close:`end_recource`},{open:`channel`,close:`end_channel`},{open:`library`,close:`end_library`},{open:`folder`,close:`end_folder`},{open:`binaries`,close:`end_binaries`},{open:`includes`,close:`end_includes`},{open:`sources`,close:`end_sources`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`var`,close:`end_var`},{open:`var_input`,close:`end_var`},{open:`var_output`,close:`end_var`},{open:`var_in_out`,close:`end_var`},{open:`var_temp`,close:`end_var`},{open:`var_global`,close:`end_var`},{open:`var_access`,close:`end_var`},{open:`var_external`,close:`end_var`},{open:`type`,close:`end_type`},{open:`struct`,close:`end_struct`},{open:`program`,close:`end_program`},{open:`function`,close:`end_function`},{open:`function_block`,close:`end_function_block`},{open:`action`,close:`end_action`},{open:`step`,close:`end_step`},{open:`initial_step`,close:`end_step`},{open:`transaction`,close:`end_transaction`},{open:`configuration`,close:`end_configuration`},{open:`tcp`,close:`end_tcp`},{open:`recource`,close:`end_recource`},{open:`channel`,close:`end_channel`},{open:`library`,close:`end_library`},{open:`folder`,close:`end_folder`},{open:`binaries`,close:`end_binaries`},{open:`includes`,close:`end_includes`},{open:`sources`,close:`end_sources`}],folding:{markers:{start:RegExp(`^\\s*#pragma\\s+region\\b`),end:RegExp(`^\\s*#pragma\\s+endregion\\b`)}}},t={defaultToken:``,tokenPostfix:`.st`,ignoreCase:!0,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:`if.end_if.elsif.else.case.of.to.__try.__catch.__finally.do.with.by.while.repeat.end_while.end_repeat.end_case.for.end_for.task.retain.non_retain.constant.with.at.exit.return.interval.priority.address.port.on_channel.then.iec.file.uses.version.packagetype.displayname.copyright.summary.vendor.common_source.from.extends.implements`.split(`.`),constant:[`false`,`true`,`null`],defineKeywords:`var.var_input.var_output.var_in_out.var_temp.var_global.var_access.var_external.end_var.type.end_type.struct.end_struct.program.end_program.function.end_function.function_block.end_function_block.interface.end_interface.method.end_method.property.end_property.namespace.end_namespace.configuration.end_configuration.tcp.end_tcp.resource.end_resource.channel.end_channel.library.end_library.folder.end_folder.binaries.end_binaries.includes.end_includes.sources.end_sources.action.end_action.step.initial_step.end_step.transaction.end_transaction`.split(`.`),typeKeywords:[`int`,`sint`,`dint`,`lint`,`usint`,`uint`,`udint`,`ulint`,`real`,`lreal`,`time`,`date`,`time_of_day`,`date_and_time`,`string`,`bool`,`byte`,`word`,`dword`,`array`,`pointer`,`lword`],operators:`=.>.<.:.:=.<=.>=.<>.&.+.-.*.**.MOD.^.or.and.not.xor.abs.acos.asin.atan.cos.exp.expt.ln.log.sin.sqrt.tan.sel.max.min.limit.mux.shl.shr.rol.ror.indexof.sizeof.adr.adrinst.bitadr.is_valid.ref.ref_to`.split(`.`),builtinVariables:[],builtinFunctions:`sr.rs.tp.ton.tof.eq.ge.le.lt.ne.round.trunc.ctd.сtu.ctud.r_trig.f_trig.move.concat.delete.find.insert.left.len.replace.right.rtc`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,`delimiter`],[/\b(16#[0-9A-Fa-f\_]*)+\b/,`number.hex`],[/\b(2#[01\_]+)+\b/,`number.binary`],[/\b(8#[0-9\_]*)+\b/,`number.octal`],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,`number.float`],[/\b(L?REAL)#[0-9\_\.e]+\b/,`number.float`],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,`number`],[/\d+/,`number`],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,`tag`],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,`tag`],[/\%(I|Q|M)[0-9\.]*/,`tag`],[/\b[A-Za-z]{1,6}#[0-9]+\b/,`tag`],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,`predefined`],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,`predefined`],[/[;]/,`delimiter`],[/[.]/,{token:`delimiter`,next:`@params`}],[/[a-zA-Z_]\w*/,{cases:{"@operators":`operators`,"@keywords":`keyword`,"@typeKeywords":`type`,"@defineKeywords":`variable`,"@constant":`constant`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@default":`identifier`}}],{include:`@whitespace`},[/[{}()\[\]]/,`@brackets`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string_dq`}],[/'/,{token:`string.quote`,bracket:`@open`,next:`@string_sq`}],[/'[^\\']'/,`string`],[/(')(@escapes)(')/,[`string`,`string.escape`,`string`]],[/'/,`string.invalid`]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:`identifier`,next:`@pop`}],[/\b[A-Za-z0-9_]+\b/,`variable.name`,`@pop`]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[`\\*/`,`comment`,`@pop`],[/[\/*]/,`comment`]],comment2:[[/[^\(*]+/,`comment`],[/\(\*/,`comment`,`@push`],[`\\*\\)`,`comment`,`@pop`],[/[\(*]/,`comment`]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\/.*$/,`comment`],[/\/\*/,`comment`,`@comment`],[/\(\*/,`comment`,`@comment2`]],string_dq:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],string_sq:[[/[^\\']+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/'/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}]},t={defaultToken:``,tokenPostfix:`.swift`,identifier:/[a-zA-Z_][\w$]*/,attributes:`@GKInspectable.@IBAction.@IBDesignable.@IBInspectable.@IBOutlet.@IBSegueAction.@NSApplicationMain.@NSCopying.@NSManaged.@Sendable.@UIApplicationMain.@autoclosure.@actorIndependent.@asyncHandler.@available.@convention.@derivative.@differentiable.@discardableResult.@dynamicCallable.@dynamicMemberLookup.@escaping.@frozen.@globalActor.@inlinable.@inline.@main.@noDerivative.@nonobjc.@noreturn.@objc.@objcMembers.@preconcurrency.@propertyWrapper.@requires_stored_property_inits.@resultBuilder.@testable.@unchecked.@unknown.@usableFromInline.@warn_unqualified_access`.split(`.`),accessmodifiers:[`open`,`public`,`internal`,`fileprivate`,`private`],keywords:`#available.#colorLiteral.#column.#dsohandle.#else.#elseif.#endif.#error.#file.#fileID.#fileLiteral.#filePath.#function.#if.#imageLiteral.#keyPath.#line.#selector.#sourceLocation.#warning.Any.Protocol.Self.Type.actor.as.assignment.associatedtype.associativity.async.await.break.case.catch.class.continue.convenience.default.defer.deinit.didSet.do.dynamic.dynamicType.else.enum.extension.fallthrough.false.fileprivate.final.for.func.get.guard.higherThan.if.import.in.indirect.infix.init.inout.internal.is.isolated.lazy.left.let.lowerThan.mutating.nil.none.nonisolated.nonmutating.open.operator.optional.override.postfix.precedence.precedencegroup.prefix.private.protocol.public.repeat.required.rethrows.return.right.safe.self.set.some.static.struct.subscript.super.switch.throw.throws.true.try.typealias.unowned.unsafe.var.weak.where.while.willSet.__consuming.__owned`.split(`.`),symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},{include:`@attribute`},{include:`@literal`},{include:`@keyword`},{include:`@invokedmethod`},{include:`@symbol`}],whitespace:[[/\s+/,`white`],[/"""/,`string.quote`,`@endDblDocString`]],endDblDocString:[[/[^"]+/,`string`],[/\\"/,`string`],[/"""/,`string.quote`,`@popall`],[/"/,`string`]],symbol:[[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/[.]/,`delimiter`],[/@operators/,`operator`],[/@symbols/,`operator`]],comment:[[/\/\/\/.*$/,`comment.doc`],[/\/\*\*/,`comment.doc`,`@commentdocbody`],[/\/\/.*$/,`comment`],[/\/\*/,`comment`,`@commentbody`]],commentdocbody:[[/\/\*/,`comment`,`@commentbody`],[/\*\//,`comment.doc`,`@pop`],[/\:[a-zA-Z]+\:/,`comment.doc.param`],[/./,`comment.doc`]],commentbody:[[/\/\*/,`comment`,`@commentbody`],[/\*\//,`comment`,`@pop`],[/./,`comment`]],attribute:[[/@@@identifier/,{cases:{"@attributes":`keyword.control`,"@default":``}}]],literal:[[/"/,{token:`string.quote`,next:`@stringlit`}],[/0[b]([01]_?)+/,`number.binary`],[/0[o]([0-7]_?)+/,`number.octal`],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,`number.hex`],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,`number.float`],[/(\d_?)+/,`number`]],stringlit:[[/\\\(/,{token:`operator`,next:`@interpolatedexpression`}],[/@escapes/,`string`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,next:`@pop`}],[/./,`string`]],interpolatedexpression:[[/\(/,{token:`operator`,next:`@interpolatedexpression`}],[/\)/,{token:`operator`,next:`@pop`}],{include:`@literal`},{include:`@keyword`},{include:`@symbol`}],keyword:[[/`/,{token:`operator`,next:`@escapedkeyword`}],[/@identifier/,{cases:{"@keywords":`keyword`,"[A-Z][a-zA-Z0-9$]*":`type.identifier`,"@default":`identifier`}}]],escapedkeyword:[[/`/,{token:`operator`,next:`@pop`}],[/./,`identifier`]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:[`delimeter`,`type.identifier`],"@default":``}}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`begin`,`end`],[`case`,`endcase`],[`casex`,`endcase`],[`casez`,`endcase`],[`checker`,`endchecker`],[`class`,`endclass`],[`clocking`,`endclocking`],[`config`,`endconfig`],[`function`,`endfunction`],[`generate`,`endgenerate`],[`group`,`endgroup`],[`interface`,`endinterface`],[`module`,`endmodule`],[`package`,`endpackage`],[`primitive`,`endprimitive`],[`program`,`endprogram`],[`property`,`endproperty`],[`specify`,`endspecify`],[`sequence`,`endsequence`],[`table`,`endtable`],[`task`,`endtask`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`'`,close:`'`,notIn:[`string`,`comment`]},{open:`"`,close:`"`,notIn:[`string`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!1,markers:{start:RegExp(`^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b`),end:RegExp(`^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b`)}}},t={defaultToken:``,tokenPostfix:`.sv`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`accept_on.alias.always.always_comb.always_ff.always_latch.and.assert.assign.assume.automatic.before.begin.bind.bins.binsof.bit.break.buf.bufif0.bufif1.byte.case.casex.casez.cell.chandle.checker.class.clocking.cmos.config.const.constraint.context.continue.cover.covergroup.coverpoint.cross.deassign.default.defparam.design.disable.dist.do.edge.else.end.endcase.endchecker.endclass.endclocking.endconfig.endfunction.endgenerate.endgroup.endinterface.endmodule.endpackage.endprimitive.endprogram.endproperty.endspecify.endsequence.endtable.endtask.enum.event.eventually.expect.export.extends.extern.final.first_match.for.force.foreach.forever.fork.forkjoin.function.generate.genvar.global.highz0.highz1.if.iff.ifnone.ignore_bins.illegal_bins.implements.implies.import.incdir.include.initial.inout.input.inside.instance.int.integer.interconnect.interface.intersect.join.join_any.join_none.large.let.liblist.library.local.localparam.logic.longint.macromodule.matches.medium.modport.module.nand.negedge.nettype.new.nexttime.nmos.nor.noshowcancelled.not.notif0.notif1.null.or.output.package.packed.parameter.pmos.posedge.primitive.priority.program.property.protected.pull0.pull1.pulldown.pullup.pulsestyle_ondetect.pulsestyle_onevent.pure.rand.randc.randcase.randsequence.rcmos.real.realtime.ref.reg.reject_on.release.repeat.restrict.return.rnmos.rpmos.rtran.rtranif0.rtranif1.s_always.s_eventually.s_nexttime.s_until.s_until_with.scalared.sequence.shortint.shortreal.showcancelled.signed.small.soft.solve.specify.specparam.static.string.strong.strong0.strong1.struct.super.supply0.supply1.sync_accept_on.sync_reject_on.table.tagged.task.this.throughout.time.timeprecision.timeunit.tran.tranif0.tranif1.tri.tri0.tri1.triand.trior.trireg.type.typedef.union.unique.unique0.unsigned.until.until_with.untyped.use.uwire.var.vectored.virtual.void.wait.wait_order.wand.weak.weak0.weak1.while.wildcard.wire.with.within.wor.xnor.xor`.split(`.`),builtin_gates:[`and`,`nand`,`nor`,`or`,`xor`,`xnor`,`buf`,`not`,`bufif0`,`bufif1`,`notif1`,`notif0`,`cmos`,`nmos`,`pmos`,`rcmos`,`rnmos`,`rpmos`,`tran`,`tranif1`,`tranif0`,`rtran`,`rtranif1`,`rtranif0`],operators:`=.+=.-=.*=./=.%=.&=.|=.^=.<<=.>>+.<<<=.>>>=.?.:.+.-.!.~.&.~&.|.~|.^.~^.^~.+.-.*./.%.==.!=.===.!==.==?.!=?.&&.||.**.<.<=.>.>=.&.|.^.>>.<<.>>>.<<<.++.--.->.<->.inside.dist.::.+:.-:.*>.&&&.|->.|=>.#=#`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,[``,{cases:{"@builtin_gates":{token:`keyword.$2`,next:`@module_instance`},table:{token:`keyword.$2`,next:`@table`},"@keywords":{token:`keyword.$2`},"@default":{token:`identifier`,next:`@module_instance`}}}]],[/^\s*`include/,{token:`keyword.directive.include`,next:`@include`}],[/^\s*`\s*\w+/,`keyword`],{include:`@identifier_or_keyword`},{include:`@whitespace`},[/\(\*.*\*\)/,`annotation`],[/@systemcall/,`variable.predefined`],[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],{include:`@numbers`},[/[;,.]/,`delimiter`],{include:`@strings`}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,`number.float`],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,`number.float`],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,`number`],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,`number.binary`],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,`number.octal`],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,`number.hex`],[/1step/,`number`],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,`number`],[/'[01xXzZ]+/,`number`]],module_instance:[{include:`@whitespace`},[/(#?)(\()/,[``,{token:`@brackets`,next:`@port_connection`}]],[/@identifier\s*[;={}\[\],]/,{token:`@rematch`,next:`@pop`}],[/@symbols|[;={}\[\],]/,{token:`@rematch`,next:`@pop`}],[/@identifier/,`type`],[/;/,`delimiter`,`@pop`]],port_connection:[{include:`@identifier_or_keyword`},{include:`@whitespace`},[/@systemcall/,`variable.predefined`],{include:`@numbers`},{include:`@strings`},[/[,]/,`delimiter`],[/\(/,`@brackets`,`@port_connection`],[/\)/,`@brackets`,`@pop`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],strings:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,[``,`string.include.identifier`,`string.include.identifier`,`string.include.identifier`,{token:`string.include.identifier`,next:`@pop`}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,[``,`string.include.identifier`,`string.include.identifier`,`string.include.identifier`,{token:`string.include.identifier`,next:`@pop`}]]],table:[{include:`@whitespace`},[/[()]/,`@brackets`],[/[:;]/,`delimiter`],[/[01\-*?xXbBrRfFpPnN]/,`variable.predefined`],[`endtable`,`keyword.endtable`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={tokenPostfix:`.tcl`,specialFunctions:[`set`,`unset`,`rename`,`variable`,`proc`,`coroutine`,`foreach`,`incr`,`append`,`lappend`,`linsert`,`lreplace`],mainFunctions:[`if`,`then`,`elseif`,`else`,`case`,`switch`,`while`,`for`,`break`,`continue`,`return`,`package`,`namespace`,`catch`,`exit`,`eval`,`expr`,`uplevel`,`upvar`],builtinFunctions:`file.info.concat.join.lindex.list.llength.lrange.lsearch.lsort.split.array.parray.binary.format.regexp.regsub.scan.string.subst.dict.cd.clock.exec.glob.pid.pwd.close.eof.fblocked.fconfigure.fcopy.fileevent.flush.gets.open.puts.read.seek.socket.tell.interp.after.auto_execok.auto_load.auto_mkindex.auto_reset.bgerror.error.global.history.load.source.time.trace.unknown.unset.update.vwait.winfo.wm.bind.event.pack.place.grid.font.bell.clipboard.destroy.focus.grab.lower.option.raise.selection.send.tk.tkwait.tk_bisque.tk_focusNext.tk_focusPrev.tk_focusFollowsMouse.tk_popup.tk_setPalette`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:`keyword.flow`,next:`@specialFunc`},"@mainFunctions":`keyword`,"@builtinFunctions":`variable`,"@default":`operator.scss`}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,`metatag`],{include:`@whitespace`},[/[{}()\[\]]/,`@brackets`],[/@symbols/,`operator`],[/\$+(?:\:\:)?\{/,{token:`identifier`,next:`@nestedVariable`}],[/@variables/,`type.identifier`],[/\.(?!\d|\.)[\w\-]*/,`operator.sql`],[/\d+(\.\d+)?/,`number`],[/\d+/,`number`],[/;/,`delimiter`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@dstring`}],[/'/,{token:`string.quote`,bracket:`@open`,next:`@sstring`}]],dstring:[[/\[/,{token:`@brackets`,next:`@nestedCall`}],[/\$+(?:\:\:)?\{/,{token:`identifier`,next:`@nestedVariable`}],[/@variables/,`type.identifier`],[/[^\\$\[\]"]+/,`string`],[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],sstring:[[/\[/,{token:`@brackets`,next:`@nestedCall`}],[/\$+(?:\:\:)?\{/,{token:`identifier`,next:`@nestedVariable`}],[/@variables/,`type.identifier`],[/[^\\$\[\]']+/,`string`],[/@escapes/,`string.escape`],[/'/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,`white`],[/#.*\\$/,{token:`comment`,next:`@newlineComment`}],[/#.*(?!\\)$/,`comment`]],newlineComment:[[/.*\\$/,`comment`],[/.*(?!\\)$/,{token:`comment`,next:`@pop`}]],nestedVariable:[[/[^\{\}\$]+/,`type.identifier`],[/\}/,{token:`identifier`,next:`@pop`}]],nestedCall:[[/\[/,{token:`@brackets`,next:`@nestedCall`}],[/\]/,{token:`@brackets`,next:`@pop`}],{include:`root`}],specialFunc:[[/"/,{token:`string`,next:`@dstring`}],[/'/,{token:`string`,next:`@sstring`}],[/\S+/,{token:`type`,next:`@pop`}]]}};export{e as conf,t as language};
|