{"name":"jq","scopeName":"source.jq","patterns":[{"include":"#main"}],"repository":{"array":{"name":"meta.array.jq","begin":"\\[","end":"\\]","patterns":[{"include":"#comment"},{"include":"#string"},{"begin":"\\(","end":"\\)","patterns":[{"include":"#self_in_round_brackets"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.round.begin.jq"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.round.end.jq"}}},{"include":"#main"},{"name":"punctuation.separator.jq","match":","},{"name":"invalid.illegal.identifier.jq","match":"\\S+"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.square.begin.jq"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.square.end.jq"}}},"comment":{"name":"comment.line.number-sign.jq","begin":"#","end":"$"},"constant":{"name":"constant.language.jq","match":"(?\u003c!\\.)\\b(true|false|null)(?!\\s*:)\\b"},"field":{"name":"entity.other.attribute-name.jq","match":"\\.[a-zA-Z_]\\w*"},"filter":{"name":"support.function.jq","match":"([a-zA-Z_]\\w*::)*[a-zA-Z_]\\w*"},"format":{"name":"constant.other.symbol.jq","match":"@\\w+"},"function":{"name":"meta.function.jq","begin":"(?\u003c!\\.)\\bdef(?!\\s*:)\\b","end":"([a-zA-Z_]\\w*::)*[a-zA-Z_]\\w*","patterns":[{"include":"#comment"},{"name":"invalid.illegal.identifier.jq","match":"\\S+"}],"beginCaptures":{"0":{"name":"storage.type.function.jq"}},"endCaptures":{"0":{"name":"entity.name.function.jq"}}},"keyword":{"name":"keyword.control.jq","match":"(?x)\n(?\u003c!\\.) \\b\n( and\n| as\n| break\n| catch\n| elif\n| else\n| empty\n| end\n| foreach\n| if\n| import\n| include\n| label\n| module\n| or\n| reduce\n| then\n| try\n) (?!\\s*:) \\b"},"main":{"patterns":[{"include":"#comment"},{"include":"#array"},{"include":"#object"},{"include":"#function"},{"include":"#string"},{"include":"#field"},{"include":"#variable"},{"include":"#format"},{"include":"#constant"},{"include":"#keyword"},{"include":"#filter"},{"include":"#number"},{"include":"#operator"},{"include":"#punctuation"}]},"number":{"name":"constant.numeric.jq","match":"([0-9.]{2,}|[0-9]+)([eE][+-]?[0-9]+)?"},"object":{"name":"meta.object.jq","begin":"{","end":"}","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#variable"},{"name":"entity.other.attribute-name.id.jq","match":"([a-zA-Z_]\\w*::)*[a-zA-Z_]\\w*"},{"begin":"\\(","end":"\\)","patterns":[{"include":"#self_in_round_brackets"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.round.begin.jq"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.round.end.jq"}}},{"begin":":","end":",|(?=})","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.separator.begin.jq"}},"endCaptures":{"0":{"name":"punctuation.separator.end.jq"}}},{"name":"punctuation.separator.jq","match":","},{"name":"invalid.illegal.identifier.jq","match":"\\S+"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.curly.begin.jq"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.curly.end.jq"}}},"operator":{"name":"keyword.operator.jq","match":"(?x) ( \\.\\.? | \\?// | \\? | ==? | //=? | \\|=? | \\+=? | -=? | \\*=? | /=? | %=? | != | \u003c=? | \u003e=? )"},"punctuation":{"patterns":[{"name":"punctuation.bracket.round.jq","match":"\\(|\\)"},{"name":"punctuation.bracket.square.jq","match":"\\[|\\]"},{"name":"punctuation.separator.jq","match":",|;|:"}]},"self_in_round_brackets":{"patterns":[{"begin":"\\(","end":"\\)","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.round.begin.jq"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.round.end.jq"}}},{"include":"#main"}]},"string":{"name":"string.quoted.double.jq","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.jq","match":"\\\\([\"\\\\/bfnrt]|u[0-9a-fA-F]{4})"},{"include":"#string_interpolation"},{"name":"invalid.illegal.unrecognized-string-escape.jq","match":"\\\\."}]},"string_interpolation":{"name":"source.jq.embedded.source","begin":"\\\\\\(","end":"\\)","patterns":[{"include":"#self_in_round_brackets"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.jq.begin.jq"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.jq.end.jq"}}},"variable":{"name":"variable.other.jq","match":"\\$([a-zA-Z_]\\w*::)*[a-zA-Z_]\\w*"}}}