This commit is contained in:
oneao committed 2026-10-09 17:32:14 +08:00
1 parent e99a9fb274
commit 0be0b0767a
788 files changed
+112023 -14941

No files matched your search

@@ -0,0 +1,11 @@
import "./chunk-DWU6NC2D.js";
// ../node_modules/.pnpm/@shikijs+langs@2.1.0/node_modules/@shikijs/langs/dist/kusto.mjs
var lang = Object.freeze(JSON.parse('{"displayName":"Kusto","fileTypes":["csl","kusto","kql"],"name":"kusto","patterns":[{"comment":"Tabular operators: common helper operators","match":"\\\\b(by|from|of|to|step|with)\\\\b","name":"keyword.other.operator.kusto"},{"comment":"Query statements: https://docs.microsoft.com/en-us/azure/kusto/query/statements","match":"\\\\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\\\\b","name":"keyword.control.kusto"},{"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators","match":"\\\\b(and|or|has_all|has_any|matches|regex)\\\\b","name":"keyword.other.operator.kusto"},{"captures":{"1":{"name":"support.function.kusto"},"2":{"patterns":[{"include":"#Strings"}]}},"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/clusterfunction","match":"\\\\b(cluster|database)(?:\\\\s*\\\\(\\\\s*(.+?)\\\\s*\\\\))?(?!\\\\w)","name":"meta.special.database.kusto"},{"comment":"Special functions: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tablefunction","match":"\\\\b(external_table|materialized_view|materialize|table|toscalar)\\\\b","name":"support.function.kusto"},{"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/betweenoperator","match":"(?<!\\\\w)(!?between)\\\\b","name":"keyword.other.operator.kusto"},{"captures":{"1":{"name":"support.function.kusto"},"2":{"patterns":[{"include":"#Numeric"}]},"3":{"patterns":[{"include":"#Numeric"}]}},"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binoperators","match":"\\\\b(binary_and|binary_or|binary_shift_left|binary_shift_right|binary_xor)(?:\\\\s*\\\\(\\\\s*(\\\\w+)\\\\s*,\\\\s*(\\\\w+)\\\\s*\\\\))?(?!\\\\w)","name":"meta.scalar.bitwise.kusto"},{"captures":{"1":{"name":"support.function.kusto"},"2":{"patterns":[{"include":"#Numeric"}]}},"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binary-notfunction","match":"\\\\b(binary_not|bitset_count_ones)(?:\\\\s*\\\\(\\\\s*(\\\\w+)\\\\s*\\\\))?(?!\\\\w)","name":"meta.scalar.bitwise.kusto"},{"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/in-cs-operator","match":"(?<!\\\\w)(!?in~?)(?!\\\\w)","name":"keyword.other.operator.kusto"},{"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators","match":"(?<!\\\\w)(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?!\\\\w)","name":"keyword.other.operator.kusto"},{"captures":{"1":{"name":"support.function.kusto"},"2":{"patterns":[{"include":"#DateTimeTimeSpanDataTypes"},{"include":"#TimeSpanLiterals"},{"include":"#DateTimeTimeSpanFunctions"},{"include":"#Numeric"}]},"3":{"patterns":[{"include":"#DateTimeTimeSpanDataTypes"},{"include":"#TimeSpanLiterals"},{"include":"#DateTimeTimeSpanFunctions"},{"include":"#Numeric"}]},"4":{"patterns":[{"include":"#DateTimeTimeSpanDataTypes"},{"include":"#TimeSpanLiterals"},{"include":"#DateTimeTimeSpanFunctions"},{"include":"#Numeric"}]}},"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/rangefunction","match":"\\\\b(range)\\\\s*\\\\((?:\\\\s*(\\\\w+(?:\\\\(.*?\\\\))?)\\\\s*,\\\\s*(\\\\w+(?:\\\\(.*?\\\\))?)\\\\s*,?(?:\\\\s*)?(\\\\w+(?:\\\\(.*?\\\\))?)?\\\\s*\\\\))?(?!\\\\w)","name":"meta.scalar.function.range.kusto"},{"comment":"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/scalarfunctions","match":"\\\\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2|atan|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2|exp|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2Line truncated
var kusto_default = [
lang
];
export {
kusto_default as default
};
//# sourceMappingURL=kusto-CE5GHEAB.js.map