monacozen 0.5.1 → 0.6.0
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 +4 -0
- package/assets/_omit-monaco-features_css-qxObuaCQ.js +1 -0
- package/assets/_omit-monaco-features_html-VygYHg7B.js +1 -0
- package/assets/_omit-monaco-features_typescript-D_BnRRMx.js +1 -0
- package/assets/antimono-400-b0f584bd.woff2 +0 -0
- package/assets/antimono-400-italic-09f4c1ae.woff2 +0 -0
- package/assets/antimono-700-2072e038.woff2 +0 -0
- package/assets/antimono-700-italic-78952312.woff2 +0 -0
- package/assets/antimono-XFdMCgZb.js +2 -0
- package/assets/antimono-zBXMptjq.css +1 -1
- package/assets/bat-DkMb6tS9.js +1 -0
- package/assets/bicep-gz7oXw8V.js +2 -0
- package/assets/clojure-BeArCv4U.js +1 -0
- package/assets/codicon-77f90255.ttf +0 -0
- package/assets/coffee-hLOn_V5A.js +1 -0
- package/assets/cpp-DxRo2s7O.js +1 -0
- package/assets/csharp-C1LINnKt.js +1 -0
- package/assets/css-1Eg8GPA8.js +3 -0
- package/assets/cypher-Ca1JvSwk.js +1 -0
- package/assets/dart-Bje7CIuI.js +1 -0
- package/assets/dist-DiJdi6br.js +11 -0
- package/assets/dockerfile-DZFCIeNp.js +1 -0
- package/assets/editor.api-ClTSSybg.js +912 -0
- package/assets/editorWebWorkerMain-9q7AG3J9.js +1 -0
- package/assets/editorWebWorkerMain-BeKU-a3I.js +33 -0
- package/assets/elixir-6RTg0lbw.js +1 -0
- package/assets/fsharp-p7RecL-a.js +1 -0
- package/assets/go-B21Jr2Lc.js +1 -0
- package/assets/graphql-fmXr3nnJ.js +1 -0
- package/assets/handlebars-CyuWwLhs.js +1 -0
- package/assets/hcl-CpzslTdj.js +1 -0
- package/assets/html-D-6ViuBT.js +1 -0
- package/assets/ini-sBoK_t0W.js +1 -0
- package/assets/java-ByyLeZXC.js +1 -0
- package/assets/javascript-Cs-KDyqn.js +1 -0
- package/assets/{json.worker-CAiVr-gV.js → json.worker-BO5JkV3c.js} +6 -6
- package/assets/json.worker-D4KZT3k0.js +1 -0
- package/assets/jsonMode-CgXNHhiW.js +12 -0
- package/assets/julia-BNQOXozl.js +1 -0
- package/assets/kotlin-fjNqnENY.js +1 -0
- package/assets/less-B9-X_OHM.js +2 -0
- package/assets/liquid-Co_Rw9yK.js +1 -0
- package/assets/lua-CsQS60Ue.js +1 -0
- package/assets/main-DhJSBJDT.js +1 -0
- package/assets/main-HAVFq1WZ.js +1 -0
- package/assets/main-e2I2uRcQ.js +1 -0
- package/assets/markdown-D9M8UCDQ.js +1 -0
- package/assets/mdx-QikHivq4.js +1 -0
- package/assets/mips-DwkTBQD5.js +1 -0
- package/assets/monaco-9bd99409.css +3 -0
- package/assets/monaco-BPDUy015.js +59 -0
- package/assets/mysql-B9tHR_c9.js +1 -0
- package/assets/objective-c-Csug38Zp.js +1 -0
- package/assets/pascal-BruRBdsr.js +1 -0
- package/assets/perl-Dql_Egn0.js +1 -0
- package/assets/pgsql-DI4tfWYt.js +1 -0
- package/assets/php-DjHJy6xV.js +1 -0
- package/assets/powershell-DOR_yACD.js +1 -0
- package/assets/protobuf-B6qBET1H.js +2 -0
- package/assets/pug-BC7GTg9W.js +1 -0
- package/assets/python-ywrvpsv-.js +1 -0
- package/assets/r-B-J1yMT1.js +1 -0
- package/assets/redis-DZRGuxk2.js +1 -0
- package/assets/ruby-aklVn8qB.js +1 -0
- package/assets/rust-nh76nEti.js +1 -0
- package/assets/scala-BvnaqAb1.js +1 -0
- package/assets/scss-9xZSuRET.js +3 -0
- package/assets/shell-BOwo4WfX.js +1 -0
- package/assets/solidity-hGP85dDs.js +1 -0
- package/assets/sql-CIrXk7iQ.js +1 -0
- package/assets/swift-B0ETVgO9.js +1 -0
- package/assets/systemverilog-C0rJIDsQ.js +1 -0
- package/assets/twig-B_taSrVf.js +1 -0
- package/assets/typescript-pjjiBLxk.js +1 -0
- package/assets/typespec-uhVOI7Qs.js +1 -0
- package/assets/vb-4iFT4G4y.js +1 -0
- package/assets/wgsl-DpFanUEy.js +298 -0
- package/assets/xml-CuyY6WsM.js +1 -0
- package/assets/yaml-BDf1vVDq.js +1 -0
- package/assets/yaml.worker-D0QDX0Zj.js +1 -0
- package/assets/yaml.worker-DD5NU0Ed.js +431 -0
- package/package.json +1 -1
- package/src/main.js +19 -19
- package/assets/antimono-ClsI0fxy.js +0 -5
- package/assets/bat-CAz1OfAu.js +0 -125
- package/assets/bicep-B6UDBWZN.js +0 -220
- package/assets/clojure-BmcSQAck.js +0 -148
- package/assets/coffee-BjQKeqpj.js +0 -262
- package/assets/cpp-SbfDT5PL.js +0 -232
- package/assets/csharp-DIgVBsD4.js +0 -262
- package/assets/css-CyL9hcFb.js +0 -286
- package/assets/css.worker-BIsSvM_Q.js +0 -96
- package/assets/css.worker-ZGAWMrD5.js +0 -6
- package/assets/cssMode-CJXOwqou.js +0 -65
- package/assets/cypher-CFQunzEa.js +0 -214
- package/assets/dart-DeIsDVRt.js +0 -238
- package/assets/dist-Bx9hOuoB.js +0 -624
- package/assets/dockerfile-Yk3LuDQk.js +0 -193
- package/assets/editor.api-BzOtwRIu.js +0 -85776
- package/assets/editorWebWorkerMain-5pwK50BL.js +0 -6
- package/assets/editorWebWorkerMain-BioN9fGU.js +0 -33
- package/assets/elixir-y_NY5k67.js +0 -525
- package/assets/fsharp-DdRbc-sH.js +0 -149
- package/assets/go-D7w79i6g.js +0 -167
- package/assets/graphql-BsDuKp-c.js +0 -176
- package/assets/handlebars-CBxzRnT2.js +0 -412
- package/assets/hcl-CXnaLDBx.js +0 -221
- package/assets/html-2O_gNlhN.js +0 -333
- package/assets/html.worker-CEvqvEpu.js +0 -509
- package/assets/html.worker-CjDeE2MB.js +0 -6
- package/assets/htmlMode-DXEYjoJO.js +0 -74
- package/assets/ini-DAoNsTkV.js +0 -96
- package/assets/java-Cp0vrvO9.js +0 -175
- package/assets/javascript-b4MphFng.js +0 -20
- package/assets/json.worker-C4u3dDHp.js +0 -6
- package/assets/jsonMode-CJ6m-6ix.js +0 -450
- package/assets/julia-CVutXSdh.js +0 -416
- package/assets/kotlin-DYeWZuUb.js +0 -184
- package/assets/less-INmgXeDn.js +0 -244
- package/assets/liquid-vTiq1Xyj.js +0 -199
- package/assets/lspLanguageFeatures-bOiKIJ8R.js +0 -1455
- package/assets/lua-COF3XwLj.js +0 -202
- package/assets/main-16cPxgwS.js +0 -107
- package/assets/main-CB71Lf5W.js +0 -129
- package/assets/main-HEYSEiwe.js +0 -66
- package/assets/markdown-CCGC2kAW.js +0 -264
- package/assets/mdx-CDmJWd6e.js +0 -329
- package/assets/mips-ll8pdQLQ.js +0 -130
- package/assets/monaco-d37b1a8f.css +0 -3
- package/assets/monaco-eCLjoH9K.js +0 -40922
- package/assets/mysql-CnCmYLcK.js +0 -170
- package/assets/objective-c-D-xZGaTr.js +0 -146
- package/assets/pascal-CKVRL3bp.js +0 -178
- package/assets/perl-DqL2sfnN.js +0 -318
- package/assets/pgsql-BpvbArh-.js +0 -160
- package/assets/php-BbqlrNqC.js +0 -473
- package/assets/powershell-0oEoSDwW.js +0 -213
- package/assets/protobuf-DlOMtU4U.js +0 -661
- package/assets/pug-CTxaaQKP.js +0 -302
- package/assets/python-H0euVUAi.js +0 -254
- package/assets/r-DF_g8_2l.js +0 -191
- package/assets/redis-B09Z6nB5.js +0 -125
- package/assets/ruby-CWBObvDC.js +0 -529
- package/assets/rust-DdLDSWVK.js +0 -180
- package/assets/scala-Bg3GaqPc.js +0 -553
- package/assets/scss-D-qk8UVY.js +0 -419
- package/assets/shell-CpVOERQd.js +0 -225
- package/assets/solidity-CVmhJ22u.js +0 -149
- package/assets/sql-DHvzW7ba.js +0 -173
- package/assets/swift-DIkzszb_.js +0 -215
- package/assets/systemverilog-T3rz_k7V.js +0 -300
- package/assets/ts.worker-BydNuElr.js +0 -6
- package/assets/ts.worker-DZhhT1EO.js +0 -67741
- package/assets/tsMode-x1GCvxZU.js +0 -566
- package/assets/twig-CWOr6DII.js +0 -390
- package/assets/typescript-DGfbroT9.js +0 -257
- package/assets/typespec-4ubJw-FV.js +0 -236
- package/assets/vb-SSAHHOVh.js +0 -262
- package/assets/wgsl-hf5cqFtC.js +0 -147
- package/assets/xml-Bz6VGB5E.js +0 -130
- package/assets/yaml-D00PSO5v.js +0 -223
- package/assets/yaml.worker-DzOKX3TP.js +0 -474
- package/assets/yaml.worker-Y0uWi-gi.js +0 -6
|
@@ -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:/* @__PURE__ */ `ACCESSIBLE.ADD.ALL.ALTER.ANALYZE.AND.AS.ASC.ASENSITIVE.BEFORE.BETWEEN.BIGINT.BINARY.BLOB.BOTH.BY.CALL.CASCADE.CASE.CHANGE.CHAR.CHARACTER.CHECK.COLLATE.COLUMN.CONDITION.CONSTRAINT.CONTINUE.CONVERT.CREATE.CROSS.CUBE.CUME_DIST.CURRENT_DATE.CURRENT_TIME.CURRENT_TIMESTAMP.CURRENT_USER.CURSOR.DATABASE.DATABASES.DAY_HOUR.DAY_MICROSECOND.DAY_MINUTE.DAY_SECOND.DEC.DECIMAL.DECLARE.DEFAULT.DELAYED.DELETE.DENSE_RANK.DESC.DESCRIBE.DETERMINISTIC.DISTINCT.DISTINCTROW.DIV.DOUBLE.DROP.DUAL.EACH.ELSE.ELSEIF.EMPTY.ENCLOSED.ESCAPED.EXCEPT.EXISTS.EXIT.EXPLAIN.FALSE.FETCH.FIRST_VALUE.FLOAT.FLOAT4.FLOAT8.FOR.FORCE.FOREIGN.FROM.FULLTEXT.FUNCTION.GENERATED.GET.GRANT.GROUP.GROUPING.GROUPS.HAVING.HIGH_PRIORITY.HOUR_MICROSECOND.HOUR_MINUTE.HOUR_SECOND.IF.IGNORE.IN.INDEX.INFILE.INNER.INOUT.INSENSITIVE.INSERT.INT.INT1.INT2.INT3.INT4.INT8.INTEGER.INTERVAL.INTO.IO_AFTER_GTIDS.IO_BEFORE_GTIDS.IS.ITERATE.JOIN.JSON_TABLE.KEY.KEYS.KILL.LAG.LAST_VALUE.LATERAL.LEAD.LEADING.LEAVE.LEFT.LIKE.LIMIT.LINEAR.LINES.LOAD.LOCALTIME.LOCALTIMESTAMP.LOCK.LONG.LONGBLOB.LONGTEXT.LOOP.LOW_PRIORITY.MASTER_BIND.MASTER_SSL_VERIFY_SERVER_CERT.MATCH.MAXVALUE.MEDIUMBLOB.MEDIUMINT.MEDIUMTEXT.MIDDLEINT.MINUTE_MICROSECOND.MINUTE_SECOND.MOD.MODIFIES.NATURAL.NOT.NO_WRITE_TO_BINLOG.NTH_VALUE.NTILE.NULL.NUMERIC.OF.ON.OPTIMIZE.OPTIMIZER_COSTS.OPTION.OPTIONALLY.OR.ORDER.OUT.OUTER.OUTFILE.OVER.PARTITION.PERCENT_RANK.PRECISION.PRIMARY.PROCEDURE.PURGE.RANGE.RANK.READ.READS.READ_WRITE.REAL.RECURSIVE.REFERENCES.REGEXP.RELEASE.RENAME.REPEAT.REPLACE.REQUIRE.RESIGNAL.RESTRICT.RETURN.REVOKE.RIGHT.RLIKE.ROW.ROWS.ROW_NUMBER.SCHEMA.SCHEMAS.SECOND_MICROSECOND.SELECT.SENSITIVE.SEPARATOR.SET.SHOW.SIGNAL.SMALLINT.SPATIAL.SPECIFIC.SQL.SQLEXCEPTION.SQLSTATE.SQLWARNING.SQL_BIG_RESULT.SQL_CALC_FOUND_ROWS.SQL_SMALL_RESULT.SSL.STARTING.STORED.STRAIGHT_JOIN.SYSTEM.TABLE.TERMINATED.THEN.TINYBLOB.TINYINT.TINYTEXT.TO.TRAILING.TRIGGER.TRUE.UNDO.UNION.UNIQUE.UNLOCK.UNSIGNED.UPDATE.USAGE.USE.USING.UTC_DATE.UTC_TIME.UTC_TIMESTAMP.VALUES.VARBINARY.VARCHAR.VARCHARACTER.VARYING.VIRTUAL.WHEN.WHERE.WHILE.WINDOW.WITH.WRITE.XOR.YEAR_MONTH.ZEROFILL`.split(`.`),operators:[`AND`,`BETWEEN`,`IN`,`LIKE`,`NOT`,`OR`,`IS`,`NULL`,`INTERSECT`,`UNION`,`INNER`,`JOIN`,`LEFT`,`OUTER`,`RIGHT`],builtinFunctions:/* @__PURE__ */ `ABS.ACOS.ADDDATE.ADDTIME.AES_DECRYPT.AES_ENCRYPT.ANY_VALUE.Area.AsBinary.AsWKB.ASCII.ASIN.AsText.AsWKT.ASYMMETRIC_DECRYPT.ASYMMETRIC_DERIVE.ASYMMETRIC_ENCRYPT.ASYMMETRIC_SIGN.ASYMMETRIC_VERIFY.ATAN.ATAN2.ATAN.AVG.BENCHMARK.BIN.BIT_AND.BIT_COUNT.BIT_LENGTH.BIT_OR.BIT_XOR.Buffer.CAST.CEIL.CEILING.Centroid.CHAR.CHAR_LENGTH.CHARACTER_LENGTH.CHARSET.COALESCE.COERCIBILITY.COLLATION.COMPRESS.CONCAT.CONCAT_WS.CONNECTION_ID.Contains.CONV.CONVERT.CONVERT_TZ.ConvexHull.COS.COT.COUNT.CRC32.CREATE_ASYMMETRIC_PRIV_KEY.CREATE_ASYMMETRIC_PUB_KEY.CREATE_DH_PARAMETERS.CREATE_DIGEST.Crosses.CUME_DIST.CURDATE.CURRENT_DATE.CURRENT_ROLE.CURRENT_TIME.CURRENT_TIMESTAMP.CURRENT_USER.CURTIME.DATABASE.DATE.DATE_ADD.DATE_FORMAT.DATE_SUB.DATEDIFF.DAY.DAYNAME.DAYOFMONTH.DAYOFWEEK.DAYOFYEAR.DECODE.DEFAULT.DEGREES.DES_DECRYPT.DES_ENCRYPT.DENSE_RANK.Dimension.Disjoint.Distance.ELT.ENCODE.ENCRYPT.EndPoint.Envelope.Equals.EXP.EXPORT_SET.ExteriorRing.EXTRACT.ExtractValue.FIELD.FIND_IN_SET.FIRST_VALUE.FLOOR.FORMAT.FORMAT_BYTES.FORMAT_PICO_TIME.FOUND_ROWS.FROM_BASE64.FROM_DAYS.FROM_UNIXTIME.GEN_RANGE.GEN_RND_EMAIL.GEN_RND_PAN.GEN_RND_SSN.GEN_RND_US_PHONE.GeomCollection.GeomCollFromText.GeometryCollectionFromText.GeomCollFromWKB.GeometryCollectionFromWKB.GeometryCollection.GeometryN.GeometryType.GeomFromText.GeometryFromText.GeomFromWKB.GeometryFromWKB.GET_FORMAT.GET_LOCK.GLength.GREATEST.GROUP_CONCAT.GROUPING.GTID_SUBSET.GTID_SUBTRACT.HEX.HOUR.ICU_VERSION.IF.IFNULL.INET_ATON.INET_NTOA.INET6_ATON.INET6_NTOA.INSERT.INSTR.InteriorRingN.Intersects.INTERVAL.IS_FREE_LOCK.IS_IPV4.IS_IPV4_COMPAT.IS_IPV4_MAPPED.IS_IPV6.IS_USED_LOCK.IS_UUID.IsClosed.IsEmpty.ISNULL.IsSimple.JSON_APPEND.JSON_ARRAY.JSON_ARRAY_APPEND.JSON_ARRAY_INSERT.JSON_ARRAYAGG.JSON_CONTAINS.JSON_CONTAINS_PATH.JSON_DEPTH.JSON_EXTRACT.JSON_INSERT.JSON_KEYS.JSON_LENGTH.JSON_MERGE.JSON_MERGE_PATCH.JSON_MERGE_PRESERVE.JSON_OBJECT.JSON_OBJECTAGG.JSON_OVERLAPS.JSON_PRETTY.JSON_QUOTE.JSON_REMOVE.JSON_REPLACE.JSON_SCHEMA_VALID.JSON_SCHEMA_VALIDATION_REPORT.JSON_SEARCH.JSON_SET.JSON_STORAGE_FREE.JSON_STORAGE_SIZE.JSON_TABLE.JSON_TYPE.JSON_UNQUOTE.JSON_VALID.LAG.LAST_DAY.LAST_INSERT_ID.LAST_VALUE.LCASE.LEAD.LEAST.LEFT.LENGTH.LineFromText.LineStringFromText.LineFromWKB.LineStringFromWKB.LineString.LN.LOAD_FILE.LOCALTIME.LOCALTIMESTAMP.LOCATE.LOG.LOG10.LOG2.LOWER.LPAD.LTRIM.MAKE_SET.MAKEDATE.MAKETIME.MASK_INNER.MASK_OUTER.MASK_PAN.MASK_PAN_RELAXED.MASK_SSN.MASTER_POS_WAIT.MAX.MBRContains.MBRCoveredBy.MBRCovers.MBRDisjoint.MBREqual.MBREquals.MBRIntersects.MBROverlaps.MBRTouches.MBRWithin.MD5.MEMBER OF.MICROSECOND.MID.MIN.MINUTE.MLineFromText.MultiLineStringFromText.MLineFromWKB.MultiLineStringFromWKB.MOD.MONTH.MONTHNAME.MPointFromText.MultiPointFromText.MPointFromWKB.MultiPointFromWKB.MPolyFromText.MultiPolygonFromText.MPolyFromWKB.MultiPolygonFromWKB.MultiLineString.MultiPoint.MultiPolygon.NAME_CONST.NOT IN.NOW.NTH_VALUE.NTILE.NULLIF.NumGeometries.NumInteriorRings.NumPoints.OCT.OCTET_LENGTH.OLD_PASSWORD.ORD.Overlaps.PASSWORD.PERCENT_RANK.PERIOD_ADD.PERIOD_DIFF.PI.Point.PointFromText.PointFromWKB.PointN.PolyFromText.PolygonFromText.PolyFromWKB.PolygonFromWKB.Polygon.POSITION.POW.POWER.PS_CURRENT_THREAD_ID.PS_THREAD_ID.PROCEDURE ANALYSE.QUARTER.QUOTE.RADIANS.RAND.RANDOM_BYTES.RANK.REGEXP_INSTR.REGEXP_LIKE.REGEXP_REPLACE.REGEXP_REPLACE.RELEASE_ALL_LOCKS.RELEASE_LOCK.REPEAT.REPLACE.REVERSE.RIGHT.ROLES_GRAPHML.ROUND.ROW_COUNT.ROW_NUMBER.RPAD.RTRIM.SCHEMA.SEC_TO_TIME.SECOND.SESSION_USER.SHA1.SHA.SHA2.SIGN.SIN.SLEEP.SOUNDEX.SOURCE_POS_WAIT.SPACE.SQRT.SRID.ST_Area.ST_AsBinary.ST_AsWKB.ST_AsGeoJSON.ST_AsText.ST_AsWKT.ST_Buffer.ST_Buffer_Strategy.ST_Centroid.ST_Collect.ST_Contains.ST_ConvexHull.ST_Crosses.ST_Difference.ST_Dimension.ST_Disjoint.ST_Distance.ST_Distance_Sphere.ST_EndPoint.ST_Envelope.ST_Equals.ST_ExteriorRing.ST_FrechetDistance.ST_GeoHash.ST_GeomCollFromText.ST_GeometryCollectionFromText.ST_GeomCollFromTxt.ST_GeomCollFromWKB.ST_GeometryCollectionFromWKB.ST_GeometryN.ST_GeometryType.ST_GeomFromGeoJSON.ST_GeomFromText.ST_GeometryFromText.ST_GeomFromWKB.ST_GeometryFromWKB.ST_HausdorffDistance.ST_InteriorRingN.ST_Intersection.ST_Intersects.ST_IsClosed.ST_IsEmpty.ST_IsSimple.ST_IsValid.ST_LatFromGeoHash.ST_Length.ST_LineFromText.ST_LineStringFromText.ST_LineFromWKB.ST_LineStringFromWKB.ST_LineInterpolatePoint.ST_LineInterpolatePoints.ST_LongFromGeoHash.ST_Longitude.ST_MakeEnvelope.ST_MLineFromText.ST_MultiLineStringFromText.ST_MLineFromWKB.ST_MultiLineStringFromWKB.ST_MPointFromText.ST_MultiPointFromText.ST_MPointFromWKB.ST_MultiPointFromWKB.ST_MPolyFromText.ST_MultiPolygonFromText.ST_MPolyFromWKB.ST_MultiPolygonFromWKB.ST_NumGeometries.ST_NumInteriorRing.ST_NumInteriorRings.ST_NumPoints.ST_Overlaps.ST_PointAtDistance.ST_PointFromGeoHash.ST_PointFromText.ST_PointFromWKB.ST_PointN.ST_PolyFromText.ST_PolygonFromText.ST_PolyFromWKB.ST_PolygonFromWKB.ST_Simplify.ST_SRID.ST_StartPoint.ST_SwapXY.ST_SymDifference.ST_Touches.ST_Transform.ST_Union.ST_Validate.ST_Within.ST_X.ST_Y.StartPoint.STATEMENT_DIGEST.STATEMENT_DIGEST_TEXT.STD.STDDEV.STDDEV_POP.STDDEV_SAMP.STR_TO_DATE.STRCMP.SUBDATE.SUBSTR.SUBSTRING.SUBSTRING_INDEX.SUBTIME.SUM.SYSDATE.SYSTEM_USER.TAN.TIME.TIME_FORMAT.TIME_TO_SEC.TIMEDIFF.TIMESTAMP.TIMESTAMPADD.TIMESTAMPDIFF.TO_BASE64.TO_DAYS.TO_SECONDS.Touches.TRIM.TRUNCATE.UCASE.UNCOMPRESS.UNCOMPRESSED_LENGTH.UNHEX.UNIX_TIMESTAMP.UpdateXML.UPPER.USER.UTC_DATE.UTC_TIME.UTC_TIMESTAMP.UUID.UUID_SHORT.UUID_TO_BIN.VALIDATE_PASSWORD_STRENGTH.VALUES.VAR_POP.VAR_SAMP.VARIANCE.VERSION.WAIT_FOR_EXECUTED_GTID_SET.WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS.WEEK.WEEKDAY.WEEKOFYEAR.WEIGHT_STRING.Within.X.Y.YEAR.YEARWEEK`.split(`.`),builtinVariables:[],tokenizer:{root:[{include:`@comments`},{include:`@whitespace`},{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`],[/#+.*/,`comment`],[/\/\*/,{token:`comment.quote`,next:`@comment`}]],comment:[[/[^*/]+/,`comment`],[/\*\//,{token:`comment.quote`,next:`@pop`}],[/./,`comment`]],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`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],stringDouble:[[/[^"]+/,`string.double`],[/""/,`string.double`],[/"/,{token:`string.double`,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={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:`.objective-c`,keywords:/* @__PURE__ */ `#import.#include.#define.#else.#endif.#if.#ifdef.#ifndef.#ident.#undef.@class.@defs.@dynamic.@encode.@end.@implementation.@interface.@package.@private.@protected.@property.@protocol.@public.@selector.@synthesize.__declspec.assign.auto.BOOL.break.bycopy.byref.case.char.Class.const.copy.continue.default.do.double.else.enum.extern.FALSE.false.float.for.goto.if.in.int.id.inout.IMP.long.nil.nonatomic.NULL.oneway.out.private.public.protected.readwrite.readonly.register.return.SEL.self.short.signed.sizeof.static.struct.super.switch.typedef.TRUE.true.union.unsigned.volatile.void.while`.split(`.`),decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:`@comments`},{include:`@whitespace`},{include:`@numbers`},{include:`@strings`},[/[,:;]/,`delimiter`],[/[{}\[\]()<>]/,`@brackets`],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":`keyword`,"@default":`identifier`}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,`operator`]],whitespace:[[/\s+/,`white`]],comments:[[`\\/\\*`,`comment`,`@comment`],[`\\/\\/+.*`,`comment`]],comment:[[`\\*\\/`,`comment`,`@pop`],[`.`,`comment`]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,`number.hex`],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":`number`,$0:`number.float`}}]],strings:[[/'$/,`string.escape`,`@popall`],[/'/,`string.escape`,`@stringBody`],[/"$/,`string.escape`,`@popall`],[/"/,`string.escape`,`@dblStringBody`]],stringBody:[[/[^\\']+$/,`string`,`@popall`],[/[^\\']+/,`string`],[/\\./,`string`],[/'/,`string.escape`,`@popall`],[/\\$/,`string`]],dblStringBody:[[/[^\\"]+$/,`string`,`@popall`],[/[^\\"]+/,`string`],[/\\./,`string`],[/"/,`string.escape`,`@popall`],[/\\$/,`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:`>`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`},{open:`'`,close:`'`}],folding:{markers:{start:/* @__PURE__ */ RegExp(`^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}`),end:/* @__PURE__ */ RegExp(`^\\s*\\{\\$ENDREGION\\}`)}}},t={defaultToken:``,tokenPostfix:`.pascal`,ignoreCase:!0,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],keywords:/* @__PURE__ */ `absolute.abstract.all.and_then.array.as.asm.attribute.begin.bindable.case.class.const.contains.default.div.else.end.except.exports.external.far.file.finalization.finally.forward.generic.goto.if.implements.import.in.index.inherited.initialization.interrupt.is.label.library.mod.module.name.near.not.object.of.on.only.operator.or_else.otherwise.override.package.packed.pow.private.program.protected.public.published.interface.implementation.qualified.read.record.resident.requires.resourcestring.restricted.segment.set.shl.shr.specialize.stored.strict.then.threadvar.to.try.type.unit.uses.var.view.virtual.dynamic.overload.reintroduce.with.write.xor.true.false.procedure.function.constructor.destructor.property.break.continue.exit.abort.while.do.for.raise.repeat.until`.split(`.`),typeKeywords:[`boolean`,`double`,`byte`,`integer`,`shortint`,`char`,`longint`,`float`,`string`],operators:[`=`,`>`,`<`,`<=`,`>=`,`<>`,`:`,`:=`,`and`,`or`,`+`,`-`,`*`,`/`,`@`,`&`,`^`,`%`],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}],{include:`@whitespace`},[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/\$[0-9a-fA-F]{1,16}/,`number.hex`],[/\d+/,`number`],[/[;,.]/,`delimiter`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'/,`string`,`@string`],[/'[^\\']'/,`string`],[/'/,`string.invalid`],[/\#\d+/,`string`]],comment:[[/[^\*\}]+/,`comment`],[/\}/,`comment`,`@pop`],[/[\{]/,`comment`]],string:[[/[^\\']+/,`string`],[/\\./,`string.escape.invalid`],[/'/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,`white`],[/\{/,`comment`,`@comment`],[/\/\/.*$/,`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:`"`},{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:/* @__PURE__ */ `__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:/* @__PURE__ */ `-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:/* @__PURE__ */ `$! $^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:/* @__PURE__ */ `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:/* @__PURE__ */ `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:/* @__PURE__ */ RegExp(`^\\s*(#|//)region\\b`),end:/* @__PURE__ */ 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:/* @__PURE__ */ `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={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:/* @__PURE__ */ RegExp(`^\\s*#region\\b`),end:/* @__PURE__ */ 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:/* @__PURE__ */ `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:/* @__PURE__ */ RegExp(`^((?!\\/\\/).)*(\\{[^}"'\`]*|\\([^)"'\`]*|\\[[^\\]"'\`]*)$`),decreaseIndentPattern:/* @__PURE__ */ 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:/* @__PURE__ */ `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{m as e}from"./editor.api-ClTSSybg.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:/* @__PURE__ */ 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:/* @__PURE__ */ RegExp(`^\\s*#region\\b`),end:/* @__PURE__ */ RegExp(`^\\s*#endregion\\b`)}}},n={defaultToken:``,tokenPostfix:`.python`,keywords:/* @__PURE__ */ `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:`"`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}]},t={defaultToken:``,tokenPostfix:`.r`,roxygen:/* @__PURE__ */ `@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:/* @__PURE__ */ `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
|
+
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:/* @__PURE__ */ `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:[`=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:/* @__PURE__ */ 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:/* @__PURE__ */ RegExp(`^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)`)}},t={tokenPostfix:`.ruby`,keywords:/* @__PURE__ */ `__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:/* @__PURE__ */ "^.&.|.<=>.==.===.!~.=~.>.>=.<.<=.<<.>>.+.-.*./.%.**.~.+@.-@.[].[]=.`.+=.-=.*=.**=./=.^=.%=.<<=.>>=.&=.&&=.||=.|=".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:/* @__PURE__ */ RegExp(`^\\s*#pragma\\s+region\\b`),end:/* @__PURE__ */ RegExp(`^\\s*#pragma\\s+endregion\\b`)}}},t={tokenPostfix:`.rust`,defaultToken:`invalid`,keywords:/* @__PURE__ */ `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:/* @__PURE__ */ `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:/* @__PURE__ */ `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:/* @__PURE__ */ `!,!=,%,%=,&,&=,&&,*,*=,+,+=,-,-=,->,.,..,...,/,/=,:,;,<<,<<=,<,<=,=,==,=>,>,>=,>>,>>=,@,^,^=,|,|=,||,_,?,#`.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={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:/* @__PURE__ */ RegExp(`^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))`),end:/* @__PURE__ */ RegExp(`^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))`)}}},t={tokenPostfix:`.scala`,keywords:/* @__PURE__ */ `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,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:/* @__PURE__ */ RegExp(`^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/`),end:/* @__PURE__ */ 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:/* @__PURE__ */ `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:/* @__PURE__ */ `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:/* @__PURE__ */ `=.>.<.!.~.?.:.==.<=.>=.!=.&&.||.++.--.+.-.*./.&.|.^.%.<<.>>.>>>.+=.-=.*=./=.&=.|=.^=.%=.<<=.>>=.>>>=`.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:`}`},{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:/* @__PURE__ */ `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:/* @__PURE__ */ `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:/* @__PURE__ */ `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:/* @__PURE__ */ `@@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:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],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:/* @__PURE__ */ `@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:/* @__PURE__ */ `#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:/* @__PURE__ */ 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:/* @__PURE__ */ 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:/* @__PURE__ */ `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:/* @__PURE__ */ `=.+=.-=.*=./=.%=.&=.|=.^=.<<=.>>+.<<<=.>>>=.?.:.+.-.!.~.&.~&.|.~|.^.~^.^~.+.-.*./.%.==.!=.===.!==.==?.!=?.&&.||.**.<.<=.>.>=.&.|.^.>>.<<.>>>.<<<.++.--.->.<->.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={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[`{#`,`#}`]},brackets:[[`{#`,`#}`],[`{%`,`%}`],[`{{`,`}}`],[`(`,`)`],[`[`,`]`],[`<!--`,`-->`],[`<`,`>`]],autoClosingPairs:[{open:`{# `,close:` #}`},{open:`{% `,close:` %}`},{open:`{{ `,close:` }}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`<`,close:`>`}]},t={defaultToken:``,tokenPostfix:``,ignoreCase:!0,keywords:/* @__PURE__ */ `apply.autoescape.block.deprecated.do.embed.extends.flush.for.from.if.import.include.macro.sandbox.set.use.verbatim.with.endapply.endautoescape.endblock.endembed.endfor.endif.endmacro.endsandbox.endset.endwith.true.false`.split(`.`),tokenizer:{root:[[/\s+/],[/{#/,`comment.twig`,`@commentState`],[/{%[-~]?/,`delimiter.twig`,`@blockState`],[/{{[-~]?/,`delimiter.twig`,`@variableState`],[/<!DOCTYPE/,`metatag.html`,`@doctype`],[/<!--/,`comment.html`,`@comment`],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,[`delimiter.html`,`tag.html`,``,`delimiter.html`]],[/(<)(script)/,[`delimiter.html`,{token:`tag.html`,next:`@script`}]],[/(<)(style)/,[`delimiter.html`,{token:`tag.html`,next:`@style`}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,[`delimiter.html`,{token:`tag.html`,next:`@otherTag`}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,[`delimiter.html`,{token:`tag.html`,next:`@otherTag`}]],[/</,`delimiter.html`],[/[^<{]+/]],commentState:[[/#}/,`comment.twig`,`@pop`],[/./,`comment.twig`]],blockState:[[/[-~]?%}/,`delimiter.twig`,`@pop`],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,[`keyword.twig`,``,{token:`delimiter.twig`,next:`@rawDataState`}]],{include:`expression`}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,[`delimiter.twig`,``,`keyword.twig`,``,{token:`delimiter.twig`,next:`@popall`}]],[/./,`string.twig`]],variableState:[[/[-~]?}}/,`delimiter.twig`,`@pop`],{include:`expression`}],stringState:[[/"/,`string.twig`,`@pop`],[/#{\s*/,`string.twig`,`@interpolationState`],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,`string.twig`]],interpolationState:[[/}/,`string.twig`,`@pop`],{include:`expression`}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,`operators.twig`],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,[`operators.twig`,``]],[/==|!=|<|>|>=|<=/,`operators.twig`],[/(starts with|ends with|matches)(\s+)/,[`operators.twig`,``]],[/(in)(\s+)/,[`operators.twig`,``]],[/(is)(\s+)/,[`operators.twig`,``]],[/\||~|:|\.{1,2}|\?{1,2}/,`operators.twig`],[/[^\W\d][\w]*/,{cases:{"@keywords":`keyword.twig`,"@default":`variable.twig`}}],[/\d+(\.\d+)?/,`number.twig`],[/\(|\)|\[|\]|{|}|,/,`delimiter.twig`],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,`string.twig`],[/"/,`string.twig`,`@stringState`],[/=>/,`operators.twig`],[/=/,`operators.twig`]],doctype:[[/[^>]+/,`metatag.content.html`],[/>/,`metatag.html`,`@pop`]],comment:[[/-->/,`comment.html`,`@pop`],[/[^-]+/,`comment.content.html`],[/./,`comment.content.html`]],otherTag:[[/\/?>/,`delimiter.html`,`@pop`],[/"([^"]*)"/,`attribute.value.html`],[/'([^']*)'/,`attribute.value.html`],[/[\w\-]+/,`attribute.name.html`],[/=/,`delimiter.html`],[/[ \t\r\n]+/]],script:[[/type/,`attribute.name.html`,`@scriptAfterType`],[/"([^"]*)"/,`attribute.value.html`],[/'([^']*)'/,`attribute.value.html`],[/[\w\-]+/,`attribute.name.html`],[/=/,`delimiter.html`],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,[`delimiter.html`,`tag.html`,{token:`delimiter.html`,next:`@pop`}]]],scriptAfterType:[[/=/,`delimiter.html`,`@scriptAfterTypeEquals`],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:`attribute.value.html`,switchTo:`@scriptWithCustomType.$1`}],[/'([^']*)'/,{token:`attribute.value.html`,switchTo:`@scriptWithCustomType.$1`}],[/>/,{token:`delimiter.html`,next:`@scriptEmbedded`,nextEmbedded:`text/javascript`}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptWithCustomType:[[/>/,{token:`delimiter.html`,next:`@scriptEmbedded.$S2`,nextEmbedded:`$S2`}],[/"([^"]*)"/,`attribute.value.html`],[/'([^']*)'/,`attribute.value.html`],[/[\w\-]+/,`attribute.name.html`],[/=/,`delimiter.html`],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:`@rematch`,next:`@pop`}]],scriptEmbedded:[[/<\/script/,{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}],[/[^<]+/,``]],style:[[/type/,`attribute.name.html`,`@styleAfterType`],[/"([^"]*)"/,`attribute.value.html`],[/'([^']*)'/,`attribute.value.html`],[/[\w\-]+/,`attribute.name.html`],[/=/,`delimiter.html`],[/>/,{token:`delimiter.html`,next:`@styleEmbedded`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,[`delimiter.html`,`tag.html`,{token:`delimiter.html`,next:`@pop`}]]],styleAfterType:[[/=/,`delimiter.html`,`@styleAfterTypeEquals`],[/>/,{token:`delimiter.html`,next:`@styleEmbedded`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:`attribute.value.html`,switchTo:`@styleWithCustomType.$1`}],[/'([^']*)'/,{token:`attribute.value.html`,switchTo:`@styleWithCustomType.$1`}],[/>/,{token:`delimiter.html`,next:`@styleEmbedded`,nextEmbedded:`text/css`}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleWithCustomType:[[/>/,{token:`delimiter.html`,next:`@styleEmbedded.$S2`,nextEmbedded:`$S2`}],[/"([^"]*)"/,`attribute.value.html`],[/'([^']*)'/,`attribute.value.html`],[/[\w\-]+/,`attribute.name.html`],[/=/,`delimiter.html`],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:`@rematch`,next:`@pop`}]],styleEmbedded:[[/<\/style/,{token:`@rematch`,next:`@pop`,nextEmbedded:`@pop`}],[/[^<]+/,``]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as e}from"./editor.api-ClTSSybg.js";var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:e.IndentAction.IndentOutdent,appendText:` * `}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:e.IndentAction.None,appendText:` * `}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:e.IndentAction.None,appendText:`* `}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:e.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]},{open:"`",close:"`",notIn:[`string`,`comment`]},{open:`/**`,close:` */`,notIn:[`string`]}],folding:{markers:{start:/* @__PURE__ */ RegExp(`^\\s*//\\s*#?region\\b`),end:/* @__PURE__ */ RegExp(`^\\s*//\\s*#?endregion\\b`)}}},n={defaultToken:`invalid`,tokenPostfix:`.ts`,keywords:/* @__PURE__ */ `abstract.any.as.asserts.bigint.boolean.break.case.catch.class.continue.const.constructor.debugger.declare.default.delete.do.else.enum.export.extends.false.finally.for.from.function.get.if.implements.import.in.infer.instanceof.interface.is.keyof.let.module.namespace.never.new.null.number.object.out.package.private.protected.public.override.readonly.require.global.return.satisfies.set.static.string.super.switch.symbol.this.throw.true.try.type.typeof.undefined.unique.unknown.var.void.while.with.yield.async.await.of`.split(`.`),operators:/* @__PURE__ */ `<=.>=.==.!=.===.!==.=>.+.-.**.*./.%.++.--.<<.</.>>.>>>.&.|.^.!.~.&&.||.??.?.:.=.+=.-=.*=.**=./=.%=.<<=.>>=.>>>=.&=.|=.^=.@`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,`delimiter.bracket`],{include:`common`}],common:[[/#?[a-z_$][\w$]*/,{cases:{"@keywords":`keyword`,"@default":`identifier`}}],[/[A-Z][\w\$]*/,`type.identifier`],{include:`@whitespace`},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:`regexp`,bracket:`@open`,next:`@regexp`}],[/[()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/!(?=([^=]|$))/,`delimiter`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/(@digits)[eE]([\-+]?(@digits))?/,`number.float`],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,`number.float`],[/0[xX](@hexdigits)n?/,`number.hex`],[/0[oO]?(@octaldigits)n?/,`number.octal`],[/0[bB](@binarydigits)n?/,`number.binary`],[/(@digits)n?/,`number`],[/[;,.]/,`delimiter`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string_double`],[/'/,`string`,`@string_single`],[/`/,`string`,`@string_backtick`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*\*(?!\/)/,`comment.doc`,`@jsdoc`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],jsdoc:[[/[^\/*]+/,`comment.doc`],[/\*\//,`comment.doc`,`@pop`],[/[\/*]/,`comment.doc`]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,[`regexp.escape.control`,`regexp.escape.control`,`regexp.escape.control`]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,[`regexp.escape.control`,{token:`regexp.escape.control`,next:`@regexrange`}]],[/(\()(\?:|\?=|\?!)/,[`regexp.escape.control`,`regexp.escape.control`]],[/[()]/,`regexp.escape.control`],[/@regexpctl/,`regexp.escape.control`],[/[^\\\/]/,`regexp`],[/@regexpesc/,`regexp.escape`],[/\\\./,`regexp.invalid`],[/(\/)([dgimsuy]*)/,[{token:`regexp`,bracket:`@close`,next:`@pop`},`keyword.other`]]],regexrange:[[/-/,`regexp.escape.control`],[/\^/,`regexp.invalid`],[/@regexpesc/,`regexp.escape`],[/[^\]]/,`regexp`],[/\]/,{token:`regexp.escape.control`,next:`@pop`,bracket:`@close`}]],string_double:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],string_single:[[/[^\\']+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/'/,`string`,`@pop`]],string_backtick:[[/\$\{/,{token:`delimiter.bracket`,next:`@bracketCounting`}],[/[^\\`$]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/`/,`string`,`@pop`]],bracketCounting:[[/\{/,`delimiter.bracket`,`@bracketCounting`],[/\}/,`delimiter.bracket`,`@pop`],{include:`common`}]}};export{t as conf,n as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=e=>`\\b${e}\\b`,t=e=>`(?!${e})`,n=e(`[_a-zA-Z][_a-zA-Z0-9]*`),r=e(`[_a-zA-Z-0-9]+`),i=[`import`,`model`,`scalar`,`namespace`,`op`,`interface`,`union`,`using`,`is`,`extends`,`enum`,`alias`,`return`,`void`,`if`,`else`,`projection`,`dec`,`extern`,`fn`],a=[`true`,`false`,`null`,`unknown`,`never`],o=`[ \\t\\r\\n]`,s=`[0-9]+`,c={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`/**`,close:` */`,notIn:[`string`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}],indentationRules:{decreaseIndentPattern:/* @__PURE__ */ RegExp(`^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$`),increaseIndentPattern:/* @__PURE__ */ RegExp(`^((?!//).)*(\\{([^}"'\`/]*|(\\t|[ ])*//.*)|\\([^)"'\`/]*|\\[[^\\]"'\`/]*)$`),unIndentedLinePattern:/* @__PURE__ */ RegExp(`^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$`)}},l={defaultToken:``,tokenPostfix:`.tsp`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],symbols:/[=:;<>]+/,keywords:i,namedLiterals:a,escapes:'\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|"|\\${)',tokenizer:{root:[{include:`@expression`},{include:`@whitespace`}],stringVerbatim:[{regex:`(|"|"")[^"]`,action:{token:`string`}},{regex:`"""${t(`"`)}`,action:{token:`string`,next:`@pop`}}],stringLiteral:[{regex:"\\${",action:{token:`delimiter.bracket`,next:`@bracketCounting`}},{regex:`[^\\\\"$]+`,action:{token:`string`}},{regex:`@escapes`,action:{token:`string.escape`}},{regex:`\\\\.`,action:{token:`string.escape.invalid`}},{regex:`"`,action:{token:`string`,next:`@pop`}}],bracketCounting:[{regex:`{`,action:{token:`delimiter.bracket`,next:`@bracketCounting`}},{regex:`}`,action:{token:`delimiter.bracket`,next:`@pop`}},{include:`@expression`}],comment:[{regex:`[^\\*]+`,action:{token:`comment`}},{regex:`\\*\\/`,action:{token:`comment`,next:`@pop`}},{regex:`[\\/*]`,action:{token:`comment`}}],whitespace:[{regex:o},{regex:`\\/\\*`,action:{token:`comment`,next:`@comment`}},{regex:`\\/\\/.*$`,action:{token:`comment`}}],expression:[{regex:`"""`,action:{token:`string`,next:`@stringVerbatim`}},{regex:`"${t(`""`)}`,action:{token:`string`,next:`@stringLiteral`}},{regex:s,action:{token:`number`}},{regex:n,action:{cases:{"@keywords":{token:`keyword`},"@namedLiterals":{token:`keyword`},"@default":{token:`identifier`}}}},{regex:`@${n}`,action:{token:`tag`}},{regex:`#${r}`,action:{token:`directive`}}]}};export{c as conf,l as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`'`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`],[`addhandler`,`end addhandler`],[`class`,`end class`],[`enum`,`end enum`],[`event`,`end event`],[`function`,`end function`],[`get`,`end get`],[`if`,`end if`],[`interface`,`end interface`],[`module`,`end module`],[`namespace`,`end namespace`],[`operator`,`end operator`],[`property`,`end property`],[`raiseevent`,`end raiseevent`],[`removehandler`,`end removehandler`],[`select`,`end select`],[`set`,`end set`],[`structure`,`end structure`],[`sub`,`end sub`],[`synclock`,`end synclock`],[`try`,`end try`],[`while`,`end while`],[`with`,`end with`],[`using`,`end using`],[`do`,`loop`],[`for`,`next`]],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:{markers:{start:/* @__PURE__ */ RegExp(`^\\s*#Region\\b`),end:/* @__PURE__ */ RegExp(`^\\s*#End Region\\b`)}}},t={defaultToken:``,tokenPostfix:`.vb`,ignoreCase:!0,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.array`,open:`[`,close:`]`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.angle`,open:`<`,close:`>`},{token:`keyword.tag-addhandler`,open:`addhandler`,close:`end addhandler`},{token:`keyword.tag-class`,open:`class`,close:`end class`},{token:`keyword.tag-enum`,open:`enum`,close:`end enum`},{token:`keyword.tag-event`,open:`event`,close:`end event`},{token:`keyword.tag-function`,open:`function`,close:`end function`},{token:`keyword.tag-get`,open:`get`,close:`end get`},{token:`keyword.tag-if`,open:`if`,close:`end if`},{token:`keyword.tag-interface`,open:`interface`,close:`end interface`},{token:`keyword.tag-module`,open:`module`,close:`end module`},{token:`keyword.tag-namespace`,open:`namespace`,close:`end namespace`},{token:`keyword.tag-operator`,open:`operator`,close:`end operator`},{token:`keyword.tag-property`,open:`property`,close:`end property`},{token:`keyword.tag-raiseevent`,open:`raiseevent`,close:`end raiseevent`},{token:`keyword.tag-removehandler`,open:`removehandler`,close:`end removehandler`},{token:`keyword.tag-select`,open:`select`,close:`end select`},{token:`keyword.tag-set`,open:`set`,close:`end set`},{token:`keyword.tag-structure`,open:`structure`,close:`end structure`},{token:`keyword.tag-sub`,open:`sub`,close:`end sub`},{token:`keyword.tag-synclock`,open:`synclock`,close:`end synclock`},{token:`keyword.tag-try`,open:`try`,close:`end try`},{token:`keyword.tag-while`,open:`while`,close:`end while`},{token:`keyword.tag-with`,open:`with`,close:`end with`},{token:`keyword.tag-using`,open:`using`,close:`end using`},{token:`keyword.tag-do`,open:`do`,close:`loop`},{token:`keyword.tag-for`,open:`for`,close:`next`}],keywords:/* @__PURE__ */ `AddHandler.AddressOf.Alias.And.AndAlso.As.Async.Boolean.ByRef.Byte.ByVal.Call.Case.Catch.CBool.CByte.CChar.CDate.CDbl.CDec.Char.CInt.Class.CLng.CObj.Const.Continue.CSByte.CShort.CSng.CStr.CType.CUInt.CULng.CUShort.Date.Decimal.Declare.Default.Delegate.Dim.DirectCast.Do.Double.Each.Else.ElseIf.End.EndIf.Enum.Erase.Error.Event.Exit.False.Finally.For.Friend.Function.Get.GetType.GetXMLNamespace.Global.GoSub.GoTo.Handles.If.Implements.Imports.In.Inherits.Integer.Interface.Is.IsNot.Let.Lib.Like.Long.Loop.Me.Mod.Module.MustInherit.MustOverride.MyBase.MyClass.NameOf.Namespace.Narrowing.New.Next.Not.Nothing.NotInheritable.NotOverridable.Object.Of.On.Operator.Option.Optional.Or.OrElse.Out.Overloads.Overridable.Overrides.ParamArray.Partial.Private.Property.Protected.Public.RaiseEvent.ReadOnly.ReDim.RemoveHandler.Resume.Return.SByte.Select.Set.Shadows.Shared.Short.Single.Static.Step.Stop.String.Structure.Sub.SyncLock.Then.Throw.To.True.Try.TryCast.TypeOf.UInteger.ULong.UShort.Using.Variant.Wend.When.While.Widening.With.WithEvents.WriteOnly.Xor`.split(`.`),tagwords:/* @__PURE__ */ `If.Sub.Select.Try.Class.Enum.Function.Get.Interface.Module.Namespace.Operator.Set.Structure.Using.While.With.Do.Loop.For.Next.Property.Continue.AddHandler.RemoveHandler.Event.RaiseEvent.SyncLock`.split(`.`),symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:`@whitespace`},[/next(?!\w)/,{token:`keyword.tag-for`}],[/loop(?!\w)/,{token:`keyword.tag-do`}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:`keyword.tag-$1`}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:`keyword.tag-$0`},"@keywords":{token:`keyword.$0`},"@default":`identifier`}}],[/^\s*#\w+/,`keyword`],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,`number.float`],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,`number.float`],[/&H[0-9a-f]+(@integersuffix)/,`number.hex`],[/&0[0-7]+(@integersuffix)/,`number.octal`],[/\d+(@integersuffix)/,`number`],[/#.*#/,`number`],[/[{}()\[\]]/,`@brackets`],[/@symbols/,`delimiter`],[/["\u201c\u201d]/,{token:`string.quote`,next:`@string`}]],whitespace:[[/[ \t\r\n]+/,``],[/(\'|REM(?!\w)).*$/,`comment`]],string:[[/[^"\u201c\u201d]+/,`string`],[/["\u201c\u201d]{2}/,`string.escape`],[/["\u201c\u201d]C?/,{token:`string.quote`,next:`@pop`}]]}};export{e as conf,t as language};
|