Something went wrong. Try again.
The format that's super! duper.dev.br
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376{ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "name": "Duper", "scopeName": "source.duper", "aliases": ["duper"], "patterns": [ { "include": "#values" }, { "include": "#identifiers" } ], "repository": { "keywords": { "patterns": [ { "name": "keyword.keyword.duper", "match": "\\b(true|false|null)\\b" } ] }, "strings": { "patterns": [ { "name": "string.quoted.double.raw.duper", "begin": "b?r(#*)\"", "beginCaptures": { "1": { "name": "punctuation.definition.string.raw.duper" } }, "end": "\"(\\1)", "endCaptures": { "1": { "name": "punctuation.definition.string.raw.duper" } } }, { "name": "string.quoted.base64.duper", "begin": "b64\"", "end": "\"", "patterns": [ { "name": "string.quoted.base64content.duper", "match": "\\s*[A-Za-z0-9+/=]+\\s*" } ] }, { "name": "string.quoted.double.duper", "begin": "b?\"", "end": "\"", "patterns": [ { "include": "#stringescapes" }, { "match": ".", "name": "string.quoted.content.duper" } ] }, { "name": "constant.other.temporal.duper", "begin": "'", "end": "'", "patterns": [ { "match": "." } ] } ] }, "stringescapes": { "patterns": [ { "name": "constant.character.escape.duper", "match": "\\\\([\\\\\"\\/bfnrt0]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})" }, { "name": "invalid.illegal.unrecognized-string-escape.duper", "match": "\\\\." } ] }, "identifiers": { "patterns": [ { "begin": "([A-Z](?:[_-]?[A-Za-z0-9])*)(\\()", "beginCaptures": { "1": { "name": "entity.name.type.duper" }, "2": { "name": "punctuation.definition.identifiers.duper" } }, "end": "(\\))", "endCaptures": { "1": { "name": "punctuation.definition.identifiers.duper" } }, "patterns": [ { "begin": "([A-Z](?:[_-]?[A-Za-z0-9])*)(\\()", "beginCaptures": { "1": { "name": "invalid.illegal.nested-identifier.duper" }, "2": { "name": "invalid.illegal.nested-identifier.duper" } }, "end": "(\\))", "endCaptures": { "1": { "name": "invalid.illegal.nested-identifier.duper" } }, "patterns": [ { "include": "#values" } ] }, { "include": "#values" } ] } ] }, "numbers": { "patterns": [ { "name": "constant.numeric.duper", "match": "0x[0-9a-fA-F](_?[0-9a-fA-F])*|0o[0-7](_?[0-7])*|0b[0-7](_?[0-1])*|[+-]?(0|[1-9](_?[0-9])*)(\\.[0-9](_?[0-9])*)?(([eE][+-]?[0-9](_?[0-9])*)?)?" } ] }, "comments": { "patterns": [ { "name": "comment.line.duper", "match": "(//).*$\\n?" } ] }, "multilinecomments": { "patterns": [ { "name": "comment.block.duper", "begin": "(/\\*)(?:\\s*((@)internal)(?=\\s|(\\*/)))?", "end": "\\*/", "patterns": [ { "include": "#multilinecomments" } ] } ] }, "arrays": { "begin": "\\[", "beginCaptures": { "0": { "name": "punctuation.definition.arrays.duper" } }, "end": "\\]", "endCaptures": { "0": { "name": "punctuation.definition.arrays.duper" } }, "patterns": [ { "include": "#values" }, { "include": "#comments" }, { "include": "#multilinecomments" }, { "match": ",", "name": "punctuation.separator.arrays.duper" }, { "match": "[^\\s\\]]", "name": "invalid.illegal.expected-arrays-separator.duper" } ] }, "tuples": { "begin": "\\(", "beginCaptures": { "0": { "name": "punctuation.definition.tuple.duper" } }, "end": "\\)", "endCaptures": { "0": { "name": "punctuation.definition.tuple.duper" } }, "name": "meta.structure.tuple.duper", "patterns": [ { "include": "#values" }, { "include": "#comments" }, { "include": "#multilinecomments" }, { "match": ",", "name": "punctuation.separator.tuple.duper" }, { "match": "[^\\s\\)]", "name": "invalid.illegal.expected-tuple-separator.duper" } ] }, "objects": { "begin": "\\{", "beginCaptures": { "0": { "name": "punctuation.definition.dictionary.duper" } }, "end": "\\}", "endCaptures": { "0": { "name": "punctuation.definition.dictionary.duper" } }, "patterns": [ { "include": "#objectkeys" }, { "include": "#comments" }, { "include": "#multilinecomments" }, { "begin": ":", "beginCaptures": { "0": { "name": "punctuation.separator.dictionary.key.duper" } }, "end": "(,)|(?=\\})", "endCaptures": { "1": { "name": "punctuation.separator.dictionary.pair.duper" } }, "name": "meta.structure.dictionary.value.duper", "patterns": [ { "include": "#values" }, { "match": "[^\\s,]", "name": "invalid.illegal.expected-dictionary-separator.duper" } ] }, { "match": "[^\\s\\}]", "name": "invalid.illegal.expected-dictionary-separator.duper" } ] }, "objectkeys": { "patterns": [ { "name": "variable.name.rawkeys.duper", "begin": "r(#*)\"", "beginCaptures": { "1": { "name": "punctuation.definition.objectkeys.raw.duper" } }, "end": "\"(\\1)", "endCaptures": { "1": { "name": "punctuation.definition.objectkeys.raw.duper" } } }, { "name": "variable.name.quotedkeys.duper", "begin": "\"", "end": "\"", "patterns": [ { "include": "#keyescapes" }, { "include": "#keycontent" } ] }, { "name": "variable.name.plainkeys.duper", "match": "(_[A-Za-z0-9]|[A-Za-z])([_-]?[A-Za-z0-9])*" } ] }, "keycontent": { "patterns": [ { "match": ".", "name": "variable.name.keycontent.duper" } ] }, "keyescapes": { "patterns": [ { "name": "variable.name.key-escape.duper", "match": "\\\\([\\\\\"\\/bfnrt0]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})" }, { "name": "invalid.illegal.unrecognized-key-escape.duper", "match": "\\\\." } ] }, "values": { "patterns": [ { "include": "#keywords" }, { "include": "#numbers" }, { "include": "#identifiers" }, { "include": "#strings" }, { "include": "#objects" }, { "include": "#arrays" }, { "include": "#tuples" }, { "include": "#comments" }, { "include": "#multilinecomments" } ] } }}