{ "fileTypes": ["dpir"], "name": "dpscript_ir", "patterns": [ { "include": "#main" } ], "scopeName": "source.dpscript_ir", "uuid": "ae8328da-80d6-42c8-b2a2-03468f3b0819", "repository": { "main": { "patterns": [ { "match": "(//.*)", "name": "comment.dpscript_ir" }, { "match": "\\b(func|define|command|argument|call|tag|entry|goto|condition|if|else|join)", "name": "keyword.dpscript_ir" }, { "match": "(^(\\s+)?data)", "name": "keyword.dpscript_ir" }, { "match": "\\b(copy|append|set|get|variable_alias)\\b", "name": "entity.name.tag.dpscript_ir" }, { "match": "(\\$\\b([A-Za-z_\\x{0024}][\\w\\x{0024}]*))", "name": "entity.name.other.dpscript_ir" }, { "match": "\\b([A-Za-z_\\x{0024}][\\w\\x{0024}]*)", "name": "entity.name.dpscript_ir" }, { "include": "#numeric" }, { "begin": "(\\{)", "beginCaptures": { "1": { "name": "punctuation.dpscript_ir" } }, "patterns": [ { "include": "#main__1" } ], "end": "(\\};)", "endCaptures": { "1": { "name": "punctuation.dpscript_ir" } } }, { "match": "(&|=|;|,|@|\\+|\\!|:|%)", "name": "punctuation.dpscript_ir" }, { "begin": "(')", "beginCaptures": { "1": { "name": "string.dpscript_ir" } }, "contentName": "string.dpscript_ir", "end": "([^\\x{005c}]')", "endCaptures": { "1": { "name": "string.dpscript_ir" } } }, { "begin": "(\\\")", "beginCaptures": { "1": { "name": "string.dpscript_ir" } }, "contentName": "string.dpscript_ir", "end": "([^\\x{005c}]\\\")", "endCaptures": { "1": { "name": "string.dpscript_ir" } } }, { "match": "(\\(|\\)|\\{|\\}|\\[|\\])", "name": "punctuation.dpscript_ir" }, { "match": "([^\\s])", "name": "invalid.dpscript_ir" } ] }, "main__1": { "patterns": [ { "include": "#main" } ] }, "main__2": { "patterns": [] }, "main__3": { "patterns": [] }, "numeric": { "patterns": [ { "match": "(\\b\\d+)", "name": "constant.numeric.dpscript_ir" } ] } } }