{ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "name": "dax", "patterns": [ { "include": "#comments" }, { "include": "#keywords" }, { "include": "#labels" }, { "include": "#parameters" }, { "include": "#strings" }, { "include": "#numbers" } ], "repository": { "parameters": { "patterns": [ { "name": "meta.function.definition.parameters.dax", "comment": "build out variable assignment", "begin": "\\b(? | < | >= | <= | =(?!==)\n" }, { "name": "keyword.operator.logical.dax", "match": "(?x)\n && | IN | NOT | \\|\\|" }, { "name": "keyword.arithmetic.operator.dax", "match": "(?x)\n \\+ | \\- | \\* | \\/ \n" }, { "begin": "\\[", "end": "\\]", "name": "support.function.dax" }, { "begin": "\"", "end": "\"", "name": "string.quoted.double.dax" }, { "begin": "\\'", "end": "\\'", "name": "support.class.dax" } ] }, "strings": { "name": "string.quoted.double.dax", "begin": "\"", "end": "\"", "patterns": [ { "name": "constant.character.escape.dax", "match": "\\\\." } ] }, "metas": { "patterns": [ { "begin": "\\(", "beginCaptures": { "0": { "name": "meta.brace.round.dax" } }, "end": "\\)", "endCaptures": { "0": { "name": "meta.brace.round.dax" } } } ] } }, "scopeName": "source.dax" }