package tm-grammars
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
TextMate grammars as OCaml strings
Install
dune-project
Dependency
Authors
Maintainers
Sources
tm-grammars-1.1.0.tbz
sha256=d06cd72e17331a9601c0b3a90a78b8f1be8f09b253a174aa5e52a624584af6bc
sha512=0fa76518e9018a9475ac84cfad140a6fcd42862669a3bb80d4b262f667b828285b967e09e35a14eaf7713cc099d5b0f30638b815c611a1bb41b94b35e33858e7
doc/src/tm-grammars.splunk/tm_grammar_splunk.ml.html
Source file tm_grammar_splunk.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81let lang_id = "splunk" let json = {json|{ "displayName": "Splunk Query Language", "fileTypes": [ "splunk", "spl" ], "name": "splunk", "patterns": [ { "match": "(?<=([\\[|]))(\\s*)\\b(abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|append|appendcols|appendpipe|arules|associate|audit|autoregress|bucket|bucketdir|chart|cluster|collect|concurrency|contingency|convert|correlate|crawl|datamodel|dbinspect|dbxquery|dbxlookup|dedup|delete|delta|diff|dispatch|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|file|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geostats|head|highlight|history|input|inputcsv|inputlookup|iplocation|join|kmeans|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|metadata|metasearch|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\\b(?=\\s)", "name": "support.class.splunk_search" }, { "match": "\\b(abs|acosh??|asinh??|atan2??|atanh|case|cidrmatch|ceiling|coalesce|commands|cosh??|exact|exp|floor|hypot|if|in|isbool|isint|isnotnull|isnull|isnum|isstr|len|like|ln|log|lower|ltrim|match|max|md5|min|mvappend|mvcount|mvdedup|mvfilter|mvfind|mvindex|mvjoin|mvrange|mvsort|mvzip|now|null|nullif|pi|pow|printf|random|relative_time|replace|round|rtrim|searchmatch|sha1|sha256|sha512|sigfig|sinh??|spath|split|sqrt|strftime|strptime|substr|tanh??|time|tonumber|tostring|trim|typeof|upper|urldecode|validate)(?=\\()\\b", "name": "support.function.splunk_search" }, { "match": "\\b(avg|count|distinct_count|estdc|estdc_error|eval|max|mean|median|min|mode|percentile|range|stdevp??|sum|sumsq|varp??|first|last|list|values|earliest|earliest_time|latest|latest_time|per_day|per_hour|per_minute|per_second|rate)\\b", "name": "support.function.splunk_search" }, { "match": "(?<=`)\\w+(?=[(`])", "name": "entity.name.function.splunk_search" }, { "match": "\\b(\\d+)\\b", "name": "constant.numeric.splunk_search" }, { "match": "(\\\\[*=\\\\|])", "name": "contant.character.escape.splunk_search" }, { "match": "(\\|,)", "name": "keyword.operator.splunk_search" }, { "match": "(?:(?i)\\b(as|by|or|and|over|where|output|outputnew)|(?-i)\\b(NOT|true|false))\\b", "name": "constant.language.splunk_search" }, { "match": "(?<=[(,]|[^=]\\s{300})([^\"(),=]+)(?=[),])", "name": "variable.parameter.splunk_search" }, { "match": "([.\\w]+)(\\[]|\\{})?(\\s*)(?==)", "name": "variable.splunk_search" }, { "match": "=", "name": "keyword.operator.splunk_search" }, { "begin": "(?<!\\\\)\"", "end": "(?<!\\\\)\"", "name": "string.quoted.double.splunk_search" }, { "begin": "(?<!\\\\)'", "end": "(?<!\\\\)'", "name": "string.quoted.single.splunk_search" }, { "begin": "query=\"", "end": "(?<!\\\\)\"", "name": "meta.embedded.block.sql" }, { "begin": "(?<!\\\\)```", "end": "(?<!\\\\)```", "name": "comment.block.splunk_search" }, { "begin": "`comment\\(", "end": "\\)`", "name": "comment.block.splunk_search" } ], "scopeName": "source.splunk_search" }|json}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>