@codingame/monaco-editor-wrapper 1.6.0 → 1.7.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/dist/COBOL Copybook2.js +2017 -0
- package/dist/COBOL2.js +2017 -0
- package/dist/JavaScript.tmLanguage.js +0 -49
- package/dist/JavaScriptReact.tmLanguage.js +0 -49
- package/dist/SQL.plist.js +482 -0
- package/dist/TypeScript.tmLanguage.js +0 -49
- package/dist/TypeScriptReact.tmLanguage.js +0 -49
- package/dist/bsv2.js +49 -0
- package/dist/c2.js +18 -0
- package/dist/cobol-snippets.js +2017 -0
- package/dist/codeblock3.js +18 -18
- package/dist/coffeescript-coffeescript.code-snippets.js +18 -0
- package/dist/coffeescript2.js +18 -0
- package/dist/configuration/hack.d.ts +2 -0
- package/dist/cpp-c.code-snippets.js +18 -0
- package/dist/cpp-cpp.code-snippets.js +18 -0
- package/dist/cpp2.js +18 -0
- package/dist/cpptools.js +2 -2
- package/dist/csharp2.js +508 -0
- package/dist/cssContribution.js +10 -0
- package/dist/diet3.js +92 -0
- package/dist/elixir-snippets.js +184 -0
- package/dist/extensionConfigurations.js +9475 -0
- package/dist/features/extensionConfigurations.js +3 -3
- package/dist/fsharp-fsharp.code-snippets.js +18 -0
- package/dist/fsharp2.js +18 -0
- package/dist/groovy-groovy.code-snippets.js +229 -0
- package/dist/groovy2.js +229 -0
- package/dist/html (eex).js +31 -0
- package/dist/htmlContribution.js +10 -0
- package/dist/java.js +11 -0
- package/dist/java2.js +1 -1
- package/dist/javascript-javascript.code-snippets.js +196 -0
- package/dist/javascript2.js +196 -0
- package/dist/javascriptreact2.js +196 -0
- package/dist/jsonContribution.js +78 -0
- package/dist/kotlin2.js +117 -0
- package/dist/kotlinscript2.js +117 -0
- package/dist/languages/extensions/configurationLoader.d.ts +2 -20
- package/dist/languages/monarch/list.d.ts +7 -0
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
- package/dist/main.js +42 -124
- package/dist/markdown-basics-markdown.code-snippets.js +121 -0
- package/dist/markdown-basics-markdown.js +0 -18
- package/dist/markdown-basics.js +103 -0
- package/dist/markdown2.js +103 -0
- package/dist/pgsql-sql.js +21 -0
- package/dist/pgsql.js +21 -0
- package/dist/php-php.code-snippets.js +265 -0
- package/dist/php2.js +265 -0
- package/dist/powershell-powershell.code-snippets.js +18 -0
- package/dist/powershell2.js +18 -0
- package/dist/r.tmLanguage.js +572 -0
- package/dist/r2.js +1 -1
- package/dist/reason2.js +100 -0
- package/dist/scalameta.js +6 -1
- package/dist/services/functional.d.ts +1 -0
- package/dist/services/lyfecycle.d.ts +13 -0
- package/dist/sql2.js +21 -0
- package/dist/svlangserver-systemverilog.js +395 -0
- package/dist/svlangserver.js +85 -0
- package/dist/swift-swift.code-snippets.js +183 -0
- package/dist/swift2.js +183 -0
- package/dist/systemverilog.js +41 -7
- package/dist/systemverilog.tmLanguage.js +676 -496
- package/dist/systemverilog2.js +208 -0
- package/dist/tcl2.js +151 -0
- package/dist/typescript-basics-typescript.code-snippets.js +312 -0
- package/dist/typescript-basics.js +312 -0
- package/dist/typescript2.js +312 -0
- package/dist/typescriptContribution.js +36 -0
- package/dist/typescriptreact2.js +312 -0
- package/dist/vb-vb.code-snippets.js +88 -0
- package/dist/vb2.js +88 -0
- package/dist/verilog-systemverilog.js +327 -140
- package/dist/verilog.js +85 -3
- package/dist/verilog2.js +56 -65
- package/dist/vscode-R-r-snippets.js +534 -0
- package/dist/vscode-R-rmarkdown.js +91 -0
- package/dist/vscode-R-rmd.js +2 -2
- package/dist/vscode-python.js +9 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/Groovy2.js +0 -28
- package/dist/features/mutualizedExtensionConfigurations.d.ts +0 -1
- package/dist/features/mutualizedExtensionConfigurations.js +0 -4857
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +0 -4
|
@@ -3565,59 +3565,10 @@ var repository = {
|
|
|
3565
3565
|
name: "variable.language.arguments.js",
|
|
3566
3566
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(arguments)\\b(?!\\$)"
|
|
3567
3567
|
},
|
|
3568
|
-
{
|
|
3569
|
-
name: "support.class.builtin.js",
|
|
3570
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Array|ArrayBuffer|Atomics|BigInt|BigInt64Array|BigUint64Array|Boolean|DataView|Date|Float32Array\n |Float64Array|Function|Generator|GeneratorFunction|Int8Array|Int16Array|Int32Array|Intl|Map|Number|Object|Proxy\n |Reflect|RegExp|Set|SharedArrayBuffer|SIMD|String|Symbol|TypedArray\n |Uint8Array|Uint16Array|Uint32Array|Uint8ClampedArray|WeakMap|WeakSet)\\b(?!\\$)"
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
name: "support.class.error.js",
|
|
3574
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))((Eval|Internal|Range|Reference|Syntax|Type|URI)?Error)\\b(?!\\$)"
|
|
3575
|
-
},
|
|
3576
3568
|
{
|
|
3577
3569
|
name: "support.class.promise.js",
|
|
3578
3570
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Promise)\\b(?!\\$)"
|
|
3579
3571
|
},
|
|
3580
|
-
{
|
|
3581
|
-
name: "support.function.js",
|
|
3582
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(clear(Interval|Timeout)|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|\n isFinite|isNaN|parseFloat|parseInt|require|set(Interval|Timeout)|super|unescape|uneval)(?=\\s*\\()"
|
|
3583
|
-
},
|
|
3584
|
-
{
|
|
3585
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Math)(?:\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(?:\n (abs|acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|clz32|cos|cosh|exp|\n expm1|floor|fround|hypot|imul|log|log10|log1p|log2|max|min|pow|random|\n round|sign|sin|sinh|sqrt|tan|tanh|trunc)\n |\n (E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2)))?\\b(?!\\$)",
|
|
3586
|
-
captures: {
|
|
3587
|
-
"1": {
|
|
3588
|
-
name: "support.constant.math.js"
|
|
3589
|
-
},
|
|
3590
|
-
"2": {
|
|
3591
|
-
name: "punctuation.accessor.js"
|
|
3592
|
-
},
|
|
3593
|
-
"3": {
|
|
3594
|
-
name: "punctuation.accessor.optional.js"
|
|
3595
|
-
},
|
|
3596
|
-
"4": {
|
|
3597
|
-
name: "support.function.math.js"
|
|
3598
|
-
},
|
|
3599
|
-
"5": {
|
|
3600
|
-
name: "support.constant.property.math.js"
|
|
3601
|
-
}
|
|
3602
|
-
}
|
|
3603
|
-
},
|
|
3604
|
-
{
|
|
3605
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(JSON)(?:\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(parse|stringify))?\\b(?!\\$)",
|
|
3606
|
-
captures: {
|
|
3607
|
-
"1": {
|
|
3608
|
-
name: "support.constant.json.js"
|
|
3609
|
-
},
|
|
3610
|
-
"2": {
|
|
3611
|
-
name: "punctuation.accessor.js"
|
|
3612
|
-
},
|
|
3613
|
-
"3": {
|
|
3614
|
-
name: "punctuation.accessor.optional.js"
|
|
3615
|
-
},
|
|
3616
|
-
"4": {
|
|
3617
|
-
name: "support.function.json.js"
|
|
3618
|
-
}
|
|
3619
|
-
}
|
|
3620
|
-
},
|
|
3621
3572
|
{
|
|
3622
3573
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(import)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(meta)\\b(?!\\$)",
|
|
3623
3574
|
captures: {
|
|
@@ -3565,59 +3565,10 @@ var repository = {
|
|
|
3565
3565
|
name: "variable.language.arguments.js.jsx",
|
|
3566
3566
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(arguments)\\b(?!\\$)"
|
|
3567
3567
|
},
|
|
3568
|
-
{
|
|
3569
|
-
name: "support.class.builtin.js.jsx",
|
|
3570
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Array|ArrayBuffer|Atomics|BigInt|BigInt64Array|BigUint64Array|Boolean|DataView|Date|Float32Array\n |Float64Array|Function|Generator|GeneratorFunction|Int8Array|Int16Array|Int32Array|Intl|Map|Number|Object|Proxy\n |Reflect|RegExp|Set|SharedArrayBuffer|SIMD|String|Symbol|TypedArray\n |Uint8Array|Uint16Array|Uint32Array|Uint8ClampedArray|WeakMap|WeakSet)\\b(?!\\$)"
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
name: "support.class.error.js.jsx",
|
|
3574
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))((Eval|Internal|Range|Reference|Syntax|Type|URI)?Error)\\b(?!\\$)"
|
|
3575
|
-
},
|
|
3576
3568
|
{
|
|
3577
3569
|
name: "support.class.promise.js.jsx",
|
|
3578
3570
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Promise)\\b(?!\\$)"
|
|
3579
3571
|
},
|
|
3580
|
-
{
|
|
3581
|
-
name: "support.function.js.jsx",
|
|
3582
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(clear(Interval|Timeout)|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|\n isFinite|isNaN|parseFloat|parseInt|require|set(Interval|Timeout)|super|unescape|uneval)(?=\\s*\\()"
|
|
3583
|
-
},
|
|
3584
|
-
{
|
|
3585
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Math)(?:\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(?:\n (abs|acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|clz32|cos|cosh|exp|\n expm1|floor|fround|hypot|imul|log|log10|log1p|log2|max|min|pow|random|\n round|sign|sin|sinh|sqrt|tan|tanh|trunc)\n |\n (E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2)))?\\b(?!\\$)",
|
|
3586
|
-
captures: {
|
|
3587
|
-
"1": {
|
|
3588
|
-
name: "support.constant.math.js.jsx"
|
|
3589
|
-
},
|
|
3590
|
-
"2": {
|
|
3591
|
-
name: "punctuation.accessor.js.jsx"
|
|
3592
|
-
},
|
|
3593
|
-
"3": {
|
|
3594
|
-
name: "punctuation.accessor.optional.js.jsx"
|
|
3595
|
-
},
|
|
3596
|
-
"4": {
|
|
3597
|
-
name: "support.function.math.js.jsx"
|
|
3598
|
-
},
|
|
3599
|
-
"5": {
|
|
3600
|
-
name: "support.constant.property.math.js.jsx"
|
|
3601
|
-
}
|
|
3602
|
-
}
|
|
3603
|
-
},
|
|
3604
|
-
{
|
|
3605
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(JSON)(?:\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(parse|stringify))?\\b(?!\\$)",
|
|
3606
|
-
captures: {
|
|
3607
|
-
"1": {
|
|
3608
|
-
name: "support.constant.json.js.jsx"
|
|
3609
|
-
},
|
|
3610
|
-
"2": {
|
|
3611
|
-
name: "punctuation.accessor.js.jsx"
|
|
3612
|
-
},
|
|
3613
|
-
"3": {
|
|
3614
|
-
name: "punctuation.accessor.optional.js.jsx"
|
|
3615
|
-
},
|
|
3616
|
-
"4": {
|
|
3617
|
-
name: "support.function.json.js.jsx"
|
|
3618
|
-
}
|
|
3619
|
-
}
|
|
3620
|
-
},
|
|
3621
3572
|
{
|
|
3622
3573
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(import)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(meta)\\b(?!\\$)",
|
|
3623
3574
|
captures: {
|
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
var fileTypes = [
|
|
2
|
+
"sql",
|
|
3
|
+
"ddl",
|
|
4
|
+
"dml"
|
|
5
|
+
];
|
|
6
|
+
var keyEquivalent = "^~S";
|
|
7
|
+
var name = "SQL";
|
|
8
|
+
var patterns = [
|
|
9
|
+
{
|
|
10
|
+
match: "\\b(?i)(abort|abort_after_wait|absent|absolute|accent_sensitivity|acceptable_cursopt|acp|action|activation|address|admin|aes_128|aes_192|aes_256|affinity|after|aggregate|algorithm|all_constraints|all_errormsgs|all_indexes|all_levels|all_results|allow_connections|allow_dup_row|allow_encrypted_value_modifications|allow_page_locks|allow_row_locks|allow_snapshot_isolation|altercolumn|always|anonymous|ansi_defaults|ansi_null_default|ansi_null_dflt_off|ansi_null_dflt_on|ansi_nulls|ansi_padding|ansi_warnings|appdomain|append|application|apply|arithabort|arithignore|assembly|asymmetric|asynchronous_commit|at|atan2|atomic|attach|attach_force_rebuild_log|attach_rebuild_log|audit|auth_realm|authentication|auto|auto_cleanup|auto_close|auto_create_statistics|auto_shrink|auto_update_statistics|auto_update_statistics_async|automated_backup_preference |automatic|autopilot|availability|availability_mode|backup_priority|base64|basic|batches|batchsize|before|bigint|binary|binding|bit|block|blocksize|bmk|broker|broker_instance|bucket_count|buffer|buffercount|bulk_logged|by|call|caller|card|case|cast|catalog|catch|cert|certificate|change_retention|change_tracking|change_tracking_context|changes|char|character|character_set|check_expiration|check_policy|checkconstraints|checkindex|checkpoint|cleanup_policy|clear|clear_port|codepage|collection|column_encryption_key|column_master_key|columnstore|columnstore_archive|colv_80_to_100|colv_100_to_80|commit_differential_base|committed|compatibility_level|compress_all_row_groups|compression|compression_delay|concat_null_yields_null|concatenate|configuration|connect|continue_after_error|contract|contract_name|control|conversation|conversation_group_id|conversation_handle|copy|copy_only|count_rows|counter|create|credential|cross|cryptographic|cryptographic_provider|cube|cursor_close_on_commit|cursor_default|data|data_compression|data_flush_interval_seconds|data_mirroring|data_purity|data_source|database|database_name|database_snapshot|datafiletype|date_correlation_optimization|date|datefirst|dateformat|date_format|datetime|datetime2|datetimeoffset|days|db_chaining|dbid|dbidexec|dbo_only|deadlock_priority|dec|decimal|declare|decrypt|decrypt_a|decryption|default_database|default_language|default_logon_domain|default_schema|definition|delay|delayed_durability|delimitedtext|density_vector|dependent|des|description|desired_state|desx|differential|digest|disable|disable_broker|disable_def_cnst_chk|disabled|disk|distribution|drop|drop_existing|dts_buffers|dump|durability|dynamic|edition|elements|emergency|empty|enable|enable_broker|enabled|encoding|encrypted|encrypted_value|encryption|encryption_type|end|endpoint|endpoint_url|enhancedintegrity|entry|error_broker_conversations|errorfile|estimateonly|event|exec|executable|exists|expand|expiredate|expiry_date|explicit|external_access|failover|failover_mode|failure_condition_level|fast|fast_forward|fastfirstrow|federated_service_account|field_terminator|fieldterminator|file|filelistonly|filegroup|filename|filestream|filestream_log|filestream_on|filetable|file_format|filter|fips_flagger|fire_triggers|first|firstrow|float|flush_interval_seconds|fmtonly|following|force|force_failover_allow_data_loss|force_service_allow_data_loss|forced|forceplan|formatfile|format_options|format_type|formsof|forward_only|free_cursors|free_exec_context|fullscan|fulltext|fulltextall|fulltextkey|function|generated|get|geography|geometry|global|go|governor|guid|hadoop|hardening|hash|hashed|header_limit|headeronly|health_check_timeout|hidden|hierarchyid|histogram|histogram_steps|hits_cursors|hits_exec_context|hours|http|identity_value|if|ifnull|ignore_constraints|ignore_dup_key|ignore_dup_row|ignore_triggers|image|immediate|implicit_transactions|include|include_null_values|inflectional|init|initiator|insensitive|insert|instead|int|integer|integrated|intermediate|interval_length_minutes|into|inuse_cursors|inuse_exec_context|io|is|isabout|iso_week|isolation|job_tracker_location|json|keep|keep_nulls|keep_replication|keepdefaults|keepfixed|keepidentity|keepnulls|kerberos|key|key_path|key_source|key_store_provider_name|keyset|kilobytes_per_batch|labelonly|langid|language|last|lastrow|legacy_cardinality_estimation|length|level|lifetime|lineage_80_to_100|lineage_100_to_80|listener_ip|listener_port|load|loadhistory|lob_compaction|local|local_service_name|locate|location|lock_escalation|lock_timeout|lockres|login|login_type|loop|manual|mark_in_use_for_removal|masked|master|max_queue_readers|max_duration|max_outstanding_io_per_volume|maxdop|maxerrors|maxlength|maxtransfersize|max_plans_per_query|max_storage_size_mb|mediadescription|medianame|mediapassword|memogroup|memory_optimized|merge|message|message_forward_size|message_forwarding|microsecond|millisecond|minutes|mirror_address|misses_cursors|misses_exec_context|mixed|modify|money|move|multi_user|must_change|name|namespace|nanosecond|native|native_compilation|nchar|ncharacter|never|new_account|new_broker|newname|next|no|no_browsetable|no_checksum|no_compression|no_infomsgs|no_triggers|no_truncate|nocount|noexec|noexpand|noformat|noinit|nolock|nonatomic|nondurable|none|norecompute|norecovery|noreset|norewind|noskip|not|notification|nounload|now|nowait|ntext|ntlm|numeric|numeric_roundabort|nvarchar|object|objid|oem|offline|old_account|online|operation_mode|openjson|optimistic|option|orc|out|outer|output|over|override|owner|ownership|pad_index|page|page_checksum|page_verify|pagecount|paglock|param|parameter_sniffing|parameter_type_expansion|parameterization|parquet|parseonly|partial|partition|partner|password|path|pause|percentage|permission_set|persisted|period|physical_only|plan_forcing_mode|policy|pool|population|ports|preceding|precision|predicate|presume_abort|primary|primary_role|print|prior|priority |priority_level|private|procedure_name|profile|provider|query_capture_mode|query_governor_cost_limit|query_optimizer_hotfixes|query_store|queue|quoted_identifier|range|raw|rcfile|rc2|rc4|rc4_128|rdbms|read_committed_snapshot|read|read_only|read_write|readcommitted|readcommittedlock|readonly|readpast|readuncommitted|readwrite|real|rebuild|receive|recmodel_70backcomp|recompile|recovery|recursive|recursive_triggers|redo_queue|reject_sample_value|reject_type|reject_value|relative|remote|remote_data_archive|remote_proc_transactions|remote_service_name|remove|removed_cursors|removed_exec_context|reorganize|repeat|repeatable|repeatableread|replica|replicated|replnick_100_to_80|replnickarray_80_to_100|replnickarray_100_to_80|required|required_cursopt|resample|reset|resource|resource_manager_location|restart|restore|restricted_user|resume|retaindays|retention|return|rewind|rewindonly|returns|robust|role|rollup|root|round_robin|route|row|rowdump|rowlock|row_terminator|rows|rows_per_batch|rowsets_only|rowterminator|rowversion|rsa_1024|rsa_2048|rsa_3072|rsa_4096|rsa_512|safe|safety|sample|schemabinding|scoped|scroll|scroll_locks|sddl|secexpr|secondary|secondary_only|secondary_role|secret|security|securityaudit|selective|self|send|sent|sequence|serde_method|serializable|server|service|service_broker|service_name|service_objective|session_timeout|session|sessions|seterror|setopts|sets|shard_map_manager|shard_map_name|sharded|shared_memory|show_statistics|showplan_all|showplan_text|showplan_xml|showplan_xml_with_recompile|shrinkdb|sid|signature|simple|single_blob|single_clob|single_nclob|single_user|singleton|site|size_based_cleanup_mode|skip|smalldatetime|smallint|smallmoney|snapshot|snapshot_import|snapshotrestorephase|soap|softnuma|sort_in_tempdb|sorted_data|sorted_data_reorg|spatial|sql|sql_bigint|sql_binary|sql_bit|sql_char|sql_date|sql_decimal|sql_double|sql_float|sql_guid|sql_handle|sql_longvarbinary|sql_longvarchar|sql_numeric|sql_real|sql_smallint|sql_time|sql_timestamp|sql_tinyint|sql_tsi_day|sql_tsi_frac_second|sql_tsi_hour|sql_tsi_minute|sql_tsi_month|sql_tsi_quarter|sql_tsi_second|sql_tsi_week|sql_tsi_year|sql_type_date|sql_type_time|sql_type_timestamp|sql_varbinary|sql_varchar|sql_variant|sql_wchar|sql_wlongvarchar|ssl|ssl_port|standard|standby|start|start_date|started|stat_header|state|statement|static|statistics|statistics_incremental|statistics_norecompute|statistics_only|statman|stats_stream|status|stop|stop_on_error|stopat|stopatmark|stopbeforemark|stoplist|stopped|string_delimiter|subject|supplemental_logging|supported|suspend|symmetric|synchronous_commit|synonym|sysname|system|system_time|system_versioning|table|tableresults|tablock|tablockx|take|tape|target|target_index|target_partition|tcp|temporal_history_retention|text|textimage_on|then|thesaurus|throw|time|timeout|timestamp|tinyint|to|top|torn_page_detection|track_columns_updated|tran|transaction|transfer|triple_des|triple_des_3key|trustworthy|try|tsql|type|type_desc|type_warning|tzoffset|uid|unbounded|uncommitted|uniqueidentifier|unlimited|unload|unlock|unsafe|updlock|url|use|useplan|useroptions|use_type_default|using|utcdatetime|valid_xml|validation|value|values|varbinary|varchar|verbose|verifyonly|version|view_metadata|virtual_device|visiblity|webmethod|weekday|weight|well_formed_xml|when|widechar|widechar_ansi|widenative|windows|with|within|witness|without|without_array_wrapper|workload|wsdl|xact_abort|xlock|xml|xmlschema|xquery|xsinil|zone)\\b",
|
|
11
|
+
name: "keyword.other.sql"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
include: "#comments"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
captures: {
|
|
18
|
+
"1": {
|
|
19
|
+
name: "keyword.other.create.sql"
|
|
20
|
+
},
|
|
21
|
+
"2": {
|
|
22
|
+
name: "keyword.other.sql"
|
|
23
|
+
},
|
|
24
|
+
"5": {
|
|
25
|
+
name: "entity.name.function.sql"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
match: "(?i:^\\s*(create(?:\\s+or\\s+replace)?)\\s+(aggregate|conversion|database|domain|function|group|(unique\\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)(['\"`]?)(\\w+)\\4",
|
|
29
|
+
name: "meta.create.sql"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
captures: {
|
|
33
|
+
"1": {
|
|
34
|
+
name: "keyword.other.create.sql"
|
|
35
|
+
},
|
|
36
|
+
"2": {
|
|
37
|
+
name: "keyword.other.sql"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
match: "(?i:^\\s*(drop)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))",
|
|
41
|
+
name: "meta.drop.sql"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
captures: {
|
|
45
|
+
"1": {
|
|
46
|
+
name: "keyword.other.create.sql"
|
|
47
|
+
},
|
|
48
|
+
"2": {
|
|
49
|
+
name: "keyword.other.table.sql"
|
|
50
|
+
},
|
|
51
|
+
"3": {
|
|
52
|
+
name: "entity.name.function.sql"
|
|
53
|
+
},
|
|
54
|
+
"4": {
|
|
55
|
+
name: "keyword.other.cascade.sql"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
match: "(?i:\\s*(drop)\\s+(table)\\s+(\\w+)(\\s+cascade)?\\b)",
|
|
59
|
+
name: "meta.drop.sql"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
captures: {
|
|
63
|
+
"1": {
|
|
64
|
+
name: "keyword.other.create.sql"
|
|
65
|
+
},
|
|
66
|
+
"2": {
|
|
67
|
+
name: "keyword.other.table.sql"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
match: "(?i:^\\s*(alter)\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\s+)",
|
|
71
|
+
name: "meta.alter.sql"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
captures: {
|
|
75
|
+
"1": {
|
|
76
|
+
name: "storage.type.sql"
|
|
77
|
+
},
|
|
78
|
+
"2": {
|
|
79
|
+
name: "storage.type.sql"
|
|
80
|
+
},
|
|
81
|
+
"3": {
|
|
82
|
+
name: "constant.numeric.sql"
|
|
83
|
+
},
|
|
84
|
+
"4": {
|
|
85
|
+
name: "storage.type.sql"
|
|
86
|
+
},
|
|
87
|
+
"5": {
|
|
88
|
+
name: "constant.numeric.sql"
|
|
89
|
+
},
|
|
90
|
+
"6": {
|
|
91
|
+
name: "storage.type.sql"
|
|
92
|
+
},
|
|
93
|
+
"7": {
|
|
94
|
+
name: "constant.numeric.sql"
|
|
95
|
+
},
|
|
96
|
+
"8": {
|
|
97
|
+
name: "constant.numeric.sql"
|
|
98
|
+
},
|
|
99
|
+
"9": {
|
|
100
|
+
name: "storage.type.sql"
|
|
101
|
+
},
|
|
102
|
+
"10": {
|
|
103
|
+
name: "constant.numeric.sql"
|
|
104
|
+
},
|
|
105
|
+
"11": {
|
|
106
|
+
name: "storage.type.sql"
|
|
107
|
+
},
|
|
108
|
+
"12": {
|
|
109
|
+
name: "storage.type.sql"
|
|
110
|
+
},
|
|
111
|
+
"13": {
|
|
112
|
+
name: "storage.type.sql"
|
|
113
|
+
},
|
|
114
|
+
"14": {
|
|
115
|
+
name: "constant.numeric.sql"
|
|
116
|
+
},
|
|
117
|
+
"15": {
|
|
118
|
+
name: "storage.type.sql"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
match: "(?xi)\n\n\t\t\t\t# normal stuff, capture 1\n\t\t\t\t \\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\b\n\n\t\t\t\t# numeric suffix, capture 2 + 3i\n\t\t\t\t|\\b(bit\\svarying|character\\s(?:varying)?|tinyint|var\\schar|float|interval)\\((\\d+)\\)\n\n\t\t\t\t# optional numeric suffix, capture 4 + 5i\n\t\t\t\t|\\b(char|number|varchar\\d?)\\b(?:\\((\\d+)\\))?\n\n\t\t\t\t# special case, capture 6 + 7i + 8i\n\t\t\t\t|\\b(numeric|decimal)\\b(?:\\((\\d+),(\\d+)\\))?\n\n\t\t\t\t# special case, captures 9, 10i, 11\n\t\t\t\t|\\b(times?)\\b(?:\\((\\d+)\\))?(\\swith(?:out)?\\stime\\szone\\b)?\n\n\t\t\t\t# special case, captures 12, 13, 14i, 15\n\t\t\t\t|\\b(timestamp)(?:(s|tz))?\\b(?:\\((\\d+)\\))?(\\s(with|without)\\stime\\szone\\b)?\n\n\t\t\t"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
match: "(?i:\\b((?:primary|foreign)\\s+key|references|on\\sdelete(\\s+cascade)?|check|constraint)\\b)",
|
|
125
|
+
name: "storage.modifier.sql"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
match: "\\b\\d+\\b",
|
|
129
|
+
name: "constant.numeric.sql"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
match: "(?i:\\b(select(\\s+distinct)?|insert\\s+(ignore\\s+)?into|update|delete|from|set|where|group\\sby|or|like|and|union(\\s+all)?|having|order\\sby|limit|(inner|cross)\\s+join|join|straight_join|(left|right)(\\s+outer)?\\s+join|natural(\\s+(left|right)(\\s+outer)?)?\\s+join)\\b)",
|
|
133
|
+
name: "keyword.other.DML.sql"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
match: "(?i:\\b(on|off|((is\\s+)?not\\s+)?null)\\b)",
|
|
137
|
+
name: "keyword.other.DDL.create.II.sql"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
match: "(?i:\\bvalues\\b)",
|
|
141
|
+
name: "keyword.other.DML.II.sql"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
match: "(?i:\\b(begin(\\s+work)?|start\\s+transaction|commit(\\s+work)?|rollback(\\s+work)?)\\b)",
|
|
145
|
+
name: "keyword.other.LUW.sql"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
match: "(?i:\\b(grant(\\swith\\sgrant\\soption)?|revoke)\\b)",
|
|
149
|
+
name: "keyword.other.authorization.sql"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
match: "(?i:\\bin\\b)",
|
|
153
|
+
name: "keyword.other.data-integrity.sql"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
match: "(?i:^\\s*(comment\\s+on\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\s+.*?\\s+(is)\\s+)",
|
|
157
|
+
name: "keyword.other.object-comments.sql"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
match: "(?i)\\bAS\\b",
|
|
161
|
+
name: "keyword.other.alias.sql"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
match: "(?i)\\b(DESC|ASC)\\b",
|
|
165
|
+
name: "keyword.other.order.sql"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
match: "\\*",
|
|
169
|
+
name: "keyword.operator.star.sql"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
match: "[!<>]?=|<>|<|>",
|
|
173
|
+
name: "keyword.operator.comparison.sql"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
match: "-|\\+|/",
|
|
177
|
+
name: "keyword.operator.math.sql"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
match: "\\|\\|",
|
|
181
|
+
name: "keyword.operator.concatenator.sql"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
comment: "List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html",
|
|
185
|
+
match: "(?i)\\b(CURRENT_(DATE|TIME(STAMP)?|USER)|(SESSION|SYSTEM)_USER)\\b",
|
|
186
|
+
name: "support.function.scalar.sql"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
comment: "List of SQL99 built-in functions from http://www.oreilly.com/catalog/sqlnut/chapter/ch04.html",
|
|
190
|
+
match: "(?i)\\b(AVG|COUNT|MIN|MAX|SUM)(?=\\s*\\()",
|
|
191
|
+
name: "support.function.aggregate.sql"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
match: "(?i)\\b(CONCATENATE|CONVERT|LOWER|SUBSTRING|TRANSLATE|TRIM|UPPER)\\b",
|
|
195
|
+
name: "support.function.string.sql"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
captures: {
|
|
199
|
+
"1": {
|
|
200
|
+
name: "constant.other.database-name.sql"
|
|
201
|
+
},
|
|
202
|
+
"2": {
|
|
203
|
+
name: "constant.other.table-name.sql"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
match: "(\\w+?)\\.(\\w+)"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
include: "#strings"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
include: "#regexps"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
captures: {
|
|
216
|
+
"1": {
|
|
217
|
+
name: "punctuation.section.scope.begin.sql"
|
|
218
|
+
},
|
|
219
|
+
"2": {
|
|
220
|
+
name: "punctuation.section.scope.end.sql"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
comment: "Allow for special ↩ behavior",
|
|
224
|
+
match: "(\\()(\\))",
|
|
225
|
+
name: "meta.block.sql"
|
|
226
|
+
}
|
|
227
|
+
];
|
|
228
|
+
var repository = {
|
|
229
|
+
comments: {
|
|
230
|
+
patterns: [
|
|
231
|
+
{
|
|
232
|
+
begin: "(^[ \\t]+)?(?=--)",
|
|
233
|
+
beginCaptures: {
|
|
234
|
+
"1": {
|
|
235
|
+
name: "punctuation.whitespace.comment.leading.sql"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
end: "(?!\\G)",
|
|
239
|
+
patterns: [
|
|
240
|
+
{
|
|
241
|
+
begin: "--",
|
|
242
|
+
beginCaptures: {
|
|
243
|
+
"0": {
|
|
244
|
+
name: "punctuation.definition.comment.sql"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
end: "\\n",
|
|
248
|
+
name: "comment.line.double-dash.sql"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
begin: "(^[ \\t]+)?(?=#)",
|
|
254
|
+
beginCaptures: {
|
|
255
|
+
"1": {
|
|
256
|
+
name: "punctuation.whitespace.comment.leading.sql"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
end: "(?!\\G)",
|
|
260
|
+
patterns: [
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
begin: "/\\*",
|
|
265
|
+
captures: {
|
|
266
|
+
"0": {
|
|
267
|
+
name: "punctuation.definition.comment.sql"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
end: "\\*/",
|
|
271
|
+
name: "comment.block.c"
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
regexps: {
|
|
276
|
+
patterns: [
|
|
277
|
+
{
|
|
278
|
+
begin: "/(?=\\S.*/)",
|
|
279
|
+
beginCaptures: {
|
|
280
|
+
"0": {
|
|
281
|
+
name: "punctuation.definition.string.begin.sql"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
end: "/",
|
|
285
|
+
endCaptures: {
|
|
286
|
+
"0": {
|
|
287
|
+
name: "punctuation.definition.string.end.sql"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
name: "string.regexp.sql",
|
|
291
|
+
patterns: [
|
|
292
|
+
{
|
|
293
|
+
include: "#string_interpolation"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
match: "\\\\/",
|
|
297
|
+
name: "constant.character.escape.slash.sql"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
begin: "%r\\{",
|
|
303
|
+
beginCaptures: {
|
|
304
|
+
"0": {
|
|
305
|
+
name: "punctuation.definition.string.begin.sql"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
comment: "We should probably handle nested bracket pairs!?! -- Allan",
|
|
309
|
+
end: "\\}",
|
|
310
|
+
endCaptures: {
|
|
311
|
+
"0": {
|
|
312
|
+
name: "punctuation.definition.string.end.sql"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
name: "string.regexp.modr.sql",
|
|
316
|
+
patterns: [
|
|
317
|
+
{
|
|
318
|
+
include: "#string_interpolation"
|
|
319
|
+
}
|
|
320
|
+
]
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
string_escape: {
|
|
325
|
+
match: "\\\\.",
|
|
326
|
+
name: "constant.character.escape.sql"
|
|
327
|
+
},
|
|
328
|
+
string_interpolation: {
|
|
329
|
+
captures: {
|
|
330
|
+
"1": {
|
|
331
|
+
name: "punctuation.definition.string.begin.sql"
|
|
332
|
+
},
|
|
333
|
+
"3": {
|
|
334
|
+
name: "punctuation.definition.string.end.sql"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
match: "(#\\{)([^\\}]*)(\\})",
|
|
338
|
+
name: "string.interpolated.sql"
|
|
339
|
+
},
|
|
340
|
+
strings: {
|
|
341
|
+
patterns: [
|
|
342
|
+
{
|
|
343
|
+
captures: {
|
|
344
|
+
"1": {
|
|
345
|
+
name: "punctuation.definition.string.begin.sql"
|
|
346
|
+
},
|
|
347
|
+
"2": {
|
|
348
|
+
name: "punctuation.definition.string.end.sql"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
comment: "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
|
352
|
+
match: "(')[^']*(')",
|
|
353
|
+
name: "string.quoted.single.sql"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
begin: "'",
|
|
357
|
+
beginCaptures: {
|
|
358
|
+
"0": {
|
|
359
|
+
name: "punctuation.definition.string.begin.sql"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
end: "'",
|
|
363
|
+
endCaptures: {
|
|
364
|
+
"0": {
|
|
365
|
+
name: "punctuation.definition.string.end.sql"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
name: "string.quoted.single.sql",
|
|
369
|
+
patterns: [
|
|
370
|
+
{
|
|
371
|
+
include: "#string_escape"
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
captures: {
|
|
377
|
+
"1": {
|
|
378
|
+
name: "punctuation.definition.string.begin.sql"
|
|
379
|
+
},
|
|
380
|
+
"2": {
|
|
381
|
+
name: "punctuation.definition.string.end.sql"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
comment: "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
|
385
|
+
match: "(`)[^`\\\\]*(`)",
|
|
386
|
+
name: "string.quoted.other.backtick.sql"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
begin: "`",
|
|
390
|
+
beginCaptures: {
|
|
391
|
+
"0": {
|
|
392
|
+
name: "punctuation.definition.string.begin.sql"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
end: "`",
|
|
396
|
+
endCaptures: {
|
|
397
|
+
"0": {
|
|
398
|
+
name: "punctuation.definition.string.end.sql"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
name: "string.quoted.other.backtick.sql",
|
|
402
|
+
patterns: [
|
|
403
|
+
{
|
|
404
|
+
include: "#string_escape"
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
captures: {
|
|
410
|
+
"1": {
|
|
411
|
+
name: "punctuation.definition.string.begin.sql"
|
|
412
|
+
},
|
|
413
|
+
"2": {
|
|
414
|
+
name: "punctuation.definition.string.end.sql"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
comment: "this is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
|
|
418
|
+
match: "(\")[^\"#]*(\")",
|
|
419
|
+
name: "string.quoted.double.sql"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
begin: "\"",
|
|
423
|
+
beginCaptures: {
|
|
424
|
+
"0": {
|
|
425
|
+
name: "punctuation.definition.string.begin.sql"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
end: "\"",
|
|
429
|
+
endCaptures: {
|
|
430
|
+
"0": {
|
|
431
|
+
name: "punctuation.definition.string.end.sql"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
name: "string.quoted.double.sql",
|
|
435
|
+
patterns: [
|
|
436
|
+
{
|
|
437
|
+
include: "#string_interpolation"
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
begin: "%\\{",
|
|
443
|
+
beginCaptures: {
|
|
444
|
+
"0": {
|
|
445
|
+
name: "punctuation.definition.string.begin.sql"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
end: "\\}",
|
|
449
|
+
endCaptures: {
|
|
450
|
+
"0": {
|
|
451
|
+
name: "punctuation.definition.string.end.sql"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
name: "string.other.quoted.brackets.sql",
|
|
455
|
+
patterns: [
|
|
456
|
+
{
|
|
457
|
+
include: "#string_interpolation"
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
var scopeName = "source.sql";
|
|
465
|
+
var uuid = "C49120AC-6ECC-11D9-ACC8-000D93589AF6";
|
|
466
|
+
var information_for_contributors = [
|
|
467
|
+
"This file has been converted from https://github.com/microsoft/vscode-postgresql/blob/master/",
|
|
468
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
469
|
+
"Once accepted there, we are happy to receive an update request."
|
|
470
|
+
];
|
|
471
|
+
var SQL_plist = {
|
|
472
|
+
fileTypes: fileTypes,
|
|
473
|
+
keyEquivalent: keyEquivalent,
|
|
474
|
+
name: name,
|
|
475
|
+
patterns: patterns,
|
|
476
|
+
repository: repository,
|
|
477
|
+
scopeName: scopeName,
|
|
478
|
+
uuid: uuid,
|
|
479
|
+
information_for_contributors: information_for_contributors
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
export { SQL_plist as default, fileTypes, information_for_contributors, keyEquivalent, name, patterns, repository, scopeName, uuid };
|
|
@@ -3614,59 +3614,10 @@ var repository = {
|
|
|
3614
3614
|
name: "variable.language.arguments.ts",
|
|
3615
3615
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(arguments)\\b(?!\\$)"
|
|
3616
3616
|
},
|
|
3617
|
-
{
|
|
3618
|
-
name: "support.class.builtin.ts",
|
|
3619
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Array|ArrayBuffer|Atomics|BigInt|BigInt64Array|BigUint64Array|Boolean|DataView|Date|Float32Array\n |Float64Array|Function|Generator|GeneratorFunction|Int8Array|Int16Array|Int32Array|Intl|Map|Number|Object|Proxy\n |Reflect|RegExp|Set|SharedArrayBuffer|SIMD|String|Symbol|TypedArray\n |Uint8Array|Uint16Array|Uint32Array|Uint8ClampedArray|WeakMap|WeakSet)\\b(?!\\$)"
|
|
3620
|
-
},
|
|
3621
|
-
{
|
|
3622
|
-
name: "support.class.error.ts",
|
|
3623
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))((Eval|Internal|Range|Reference|Syntax|Type|URI)?Error)\\b(?!\\$)"
|
|
3624
|
-
},
|
|
3625
3617
|
{
|
|
3626
3618
|
name: "support.class.promise.ts",
|
|
3627
3619
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Promise)\\b(?!\\$)"
|
|
3628
3620
|
},
|
|
3629
|
-
{
|
|
3630
|
-
name: "support.function.ts",
|
|
3631
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(clear(Interval|Timeout)|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|\n isFinite|isNaN|parseFloat|parseInt|require|set(Interval|Timeout)|super|unescape|uneval)(?=\\s*\\()"
|
|
3632
|
-
},
|
|
3633
|
-
{
|
|
3634
|
-
match: "(?x)(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(Math)(?:\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(?:\n (abs|acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|clz32|cos|cosh|exp|\n expm1|floor|fround|hypot|imul|log|log10|log1p|log2|max|min|pow|random|\n round|sign|sin|sinh|sqrt|tan|tanh|trunc)\n |\n (E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2)))?\\b(?!\\$)",
|
|
3635
|
-
captures: {
|
|
3636
|
-
"1": {
|
|
3637
|
-
name: "support.constant.math.ts"
|
|
3638
|
-
},
|
|
3639
|
-
"2": {
|
|
3640
|
-
name: "punctuation.accessor.ts"
|
|
3641
|
-
},
|
|
3642
|
-
"3": {
|
|
3643
|
-
name: "punctuation.accessor.optional.ts"
|
|
3644
|
-
},
|
|
3645
|
-
"4": {
|
|
3646
|
-
name: "support.function.math.ts"
|
|
3647
|
-
},
|
|
3648
|
-
"5": {
|
|
3649
|
-
name: "support.constant.property.math.ts"
|
|
3650
|
-
}
|
|
3651
|
-
}
|
|
3652
|
-
},
|
|
3653
|
-
{
|
|
3654
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(JSON)(?:\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(parse|stringify))?\\b(?!\\$)",
|
|
3655
|
-
captures: {
|
|
3656
|
-
"1": {
|
|
3657
|
-
name: "support.constant.json.ts"
|
|
3658
|
-
},
|
|
3659
|
-
"2": {
|
|
3660
|
-
name: "punctuation.accessor.ts"
|
|
3661
|
-
},
|
|
3662
|
-
"3": {
|
|
3663
|
-
name: "punctuation.accessor.optional.ts"
|
|
3664
|
-
},
|
|
3665
|
-
"4": {
|
|
3666
|
-
name: "support.function.json.ts"
|
|
3667
|
-
}
|
|
3668
|
-
}
|
|
3669
|
-
},
|
|
3670
3621
|
{
|
|
3671
3622
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(import)\\s*(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*(meta)\\b(?!\\$)",
|
|
3672
3623
|
captures: {
|