diff --git a/.eslintrc.json b/.eslintrc.json index 4f0f7dc565eec..879d547f9b5a9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -953,6 +953,7 @@ "vs/workbench/contrib/*/~", "vs/workbench/contrib/terminal/terminalContribExports*", "vscode-notebook-renderer", // Type only import + "@vscode/tree-sitter-wasm", // type import { "when": "hasBrowser", "pattern": "@xterm/xterm" diff --git a/extensions/vscode-colorize-tests/package.json b/extensions/vscode-colorize-tests/package.json index 159bd29573b0a..51503c2fd634e 100644 --- a/extensions/vscode-colorize-tests/package.json +++ b/extensions/vscode-colorize-tests/package.json @@ -14,7 +14,9 @@ }, "icon": "media/icon.png", "scripts": { - "vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-colorize-tests ./tsconfig.json" + "vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-colorize-tests ./tsconfig.json", + "watch": "gulp watch-extension:vscode-colorize-tests", + "compile": "gulp compile-extension:vscode-colorize-tests" }, "dependencies": { "jsonc-parser": "^3.2.0" @@ -51,7 +53,17 @@ "path": "./producticons/test-product-icon-theme.json", "_watch": true } - ] + ], + "configuration": { + "title": "Color Tests", + "properties": { + "editor.experimental.preferTreeSitter": { + "type": "array", + "default": ["typescript"], + "description": "Enable the experimental tree-sitter parser." + } + } + } }, "repository": { "type": "git", diff --git a/extensions/vscode-colorize-tests/src/colorizer.test.ts b/extensions/vscode-colorize-tests/src/colorizer.test.ts index 0ba416b5f8701..da5cbd2e770c1 100644 --- a/extensions/vscode-colorize-tests/src/colorizer.test.ts +++ b/extensions/vscode-colorize-tests/src/colorizer.test.ts @@ -7,17 +7,20 @@ import * as assert from 'assert'; import * as fs from 'fs'; import 'mocha'; import { join, normalize } from 'path'; -import { commands, Uri } from 'vscode'; +import { commands, Uri, workspace, ConfigurationTarget } from 'vscode'; -function assertUnchangedTokens(fixturesPath: string, resultsPath: string, fixture: string, done: any) { +async function assertUnchangedTokens(fixturesPath: string, resultsPath: string, treeSitterResultsPath: string, fixture: string, done: any) { const testFixurePath = join(fixturesPath, fixture); + const tokenizers = [{ command: '_workbench.captureSyntaxTokens', resultsPath }, { command: '_workbench.captureTreeSitterSyntaxTokens', resultsPath: treeSitterResultsPath }]; - return commands.executeCommand('_workbench.captureSyntaxTokens', Uri.file(testFixurePath)).then(data => { - try { - if (!fs.existsSync(resultsPath)) { - fs.mkdirSync(resultsPath); + try { + await Promise.all(tokenizers.map(async (tokenizer) => { + const data = await commands.executeCommand(tokenizer.command, Uri.file(testFixurePath)); + + if (!fs.existsSync(tokenizer.resultsPath)) { + fs.mkdirSync(tokenizer.resultsPath); } - const resultPath = join(resultsPath, fixture.replace('.', '_') + '.json'); + const resultPath = join(tokenizer.resultsPath, fixture.replace('.', '_') + '.json'); if (fs.existsSync(resultPath)) { const previousData = JSON.parse(fs.readFileSync(resultPath).toString()); try { @@ -40,11 +43,11 @@ function assertUnchangedTokens(fixturesPath: string, resultsPath: string, fixtur } else { fs.writeFileSync(resultPath, JSON.stringify(data, null, '\t')); } - done(); - } catch (e) { - done(e); - } - }, done); + })); + done(); + } catch (e) { + done(e); + } } function hasThemeChange(d: any, p: any): boolean { @@ -61,11 +64,19 @@ suite('colorization', () => { const testPath = normalize(join(__dirname, '../test')); const fixturesPath = join(testPath, 'colorize-fixtures'); const resultsPath = join(testPath, 'colorize-results'); + const treeSitterResultsPath = join(testPath, 'colorize-tree-sitter-results'); + + suiteSetup(async function () { + await workspace.getConfiguration('editor').update('experimental.preferTreeSitter', ["typescript"], ConfigurationTarget.Global); + }); + suiteTeardown(async function () { + await workspace.getConfiguration('editor').update('experimental.preferTreeSitter', [], ConfigurationTarget.Global); + }); for (const fixture of fs.readdirSync(fixturesPath)) { test(`colorize: ${fixture}`, function (done) { commands.executeCommand('workbench.action.closeAllEditors').then(() => { - assertUnchangedTokens(fixturesPath, resultsPath, fixture, done); + assertUnchangedTokens(fixturesPath, resultsPath, treeSitterResultsPath, fixture, done); }); }); } diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/12750_html.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/12750_html.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/12750_html.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/13448_html.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/13448_html.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/13448_html.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/14119_less.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/14119_less.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/14119_less.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/25920_html.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/25920_html.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/25920_html.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/COMMIT_EDITMSG.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/COMMIT_EDITMSG.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/COMMIT_EDITMSG.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/Dockerfile.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/Dockerfile.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/Dockerfile.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/basic_java.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/basic_java.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/basic_java.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/git-rebase-todo.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/git-rebase-todo.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/git-rebase-todo.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-1550_yaml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-1550_yaml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-1550_yaml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-224862_yaml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-224862_yaml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-224862_yaml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-28354_php.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-28354_php.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-28354_php.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-4008_yaml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-4008_yaml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-4008_yaml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-6303_yaml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-6303_yaml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-6303_yaml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-76997_php.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-76997_php.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/issue-76997_php.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/makefile.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/makefile.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/makefile.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/md-math_md.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/md-math_md.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/md-math_md.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-13777_go.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-13777_go.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-13777_go.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-166781_rs.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-166781_rs.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-166781_rs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173216_sh.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173216_sh.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173216_sh.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173224_sh.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173224_sh.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173224_sh.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173336_sh.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173336_sh.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-173336_sh.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23630_cpp.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23630_cpp.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23630_cpp.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23850_cpp.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23850_cpp.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-23850_cpp.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-33886_md.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-33886_md.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-33886_md.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-4287_pug.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-4287_pug.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-4287_pug.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-6611_rs.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-6611_rs.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-6611_rs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-7115_xml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-7115_xml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-7115_xml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-78769_cpp.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-78769_cpp.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-78769_cpp.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-80644_cpp.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-80644_cpp.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-80644_cpp.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-brackets_tsx.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-brackets_tsx.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-brackets_tsx.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_less.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_less.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_less.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_scss.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_scss.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-cssvariables_scss.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-embedding_html.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-embedding_html.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-embedding_html.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56377_py.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56377_py.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56377_py.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56476_ps1.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56476_ps1.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-freeze-56476_ps1.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-function-inv_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-function-inv_ts.json new file mode 100644 index 0000000000000..8311344c89b93 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-function-inv_ts.json @@ -0,0 +1,152 @@ +[ + { + "c": "rowData", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "push", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "callback", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "new", + "t": "keyword.operator.new", + "r": { + "dark_plus": "keyword.operator.new: #569CD6", + "light_plus": "keyword.operator.new: #0000FF", + "dark_vs": "keyword.operator.new: #569CD6", + "light_vs": "keyword.operator.new: #0000FF", + "hc_black": "keyword.operator.new: #569CD6", + "dark_modern": "keyword.operator.new: #569CD6", + "hc_light": "keyword.operator.new: #0F4A85", + "light_modern": "keyword.operator.new: #0000FF" + } + }, + { + "c": "Cell", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "false", + "t": "constant.language", + "r": { + "dark_plus": "constant.language: #569CD6", + "light_plus": "constant.language: #0000FF", + "dark_vs": "constant.language: #569CD6", + "light_vs": "constant.language: #0000FF", + "hc_black": "constant.language: #569CD6", + "dark_modern": "constant.language: #569CD6", + "hc_light": "constant.language: #0F4A85", + "light_modern": "constant.language: #0000FF" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue11_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue11_ts.json new file mode 100644 index 0000000000000..aa38f01850c3f --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue11_ts.json @@ -0,0 +1,2203 @@ +[ + { + "c": "let", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "keyCode", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "if", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "!", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "keyCode", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "===", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "8", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "||", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "keyCode", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ">=", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "48", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "&&", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "keyCode", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<=", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "57", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "let", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "let", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "let", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "+", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<<", + "t": "keyword.operator", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "i", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "p", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "?", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "2", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "3", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "4", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "?", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "6", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "class", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "A", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "<", + "t": "", + "r": {} + }, + { + "c": "X", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "Y", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ">", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "class", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "A1", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "<", + "t": "", + "r": {} + }, + { + "c": "T", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "extends", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "a", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "=>", + "t": "keyword.operator storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "string", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": ">", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "class", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "B", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "class", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "C", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "function", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "foo", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "<", + "t": "", + "r": {} + }, + { + "c": "T", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ">", + "t": "", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "let", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "x1", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "A", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "<", + "t": "punctuation.bracket", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "param", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "?", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "=>", + "t": "keyword.operator storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "void", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "B", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ">", + "t": "punctuation.bracket", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "let", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "x2", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "A", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "<", + "t": "punctuation.bracket", + "r": {} + }, + { + "c": "C", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "|", + "t": "keyword.operator", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "B", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "C", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "&", + "t": "keyword.operator", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "B", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ">", + "t": "punctuation.bracket", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "const", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "t", + "t": "variable variable.other.constant", + "r": { + "dark_plus": "variable.other.constant: #4FC1FF", + "light_plus": "variable.other.constant: #0070C1", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.other.constant: #4FC1FF", + "hc_light": "variable.other.constant: #02715D", + "light_modern": "variable.other.constant: #0070C1" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ">", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "10", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "?", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "2", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "f6", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "foo", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "<", + "t": "punctuation.bracket", + "r": {} + }, + { + "c": "string", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ">", + "t": "punctuation.bracket", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5431_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5431_ts.json new file mode 100644 index 0000000000000..fca4ee7894b0b --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5431_ts.json @@ -0,0 +1,358 @@ +[ + { + "c": "function", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "foo", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "isAll", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "startTime", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "endTime", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "const", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "timeRange", + "t": "variable variable.other.constant", + "r": { + "dark_plus": "variable.other.constant: #4FC1FF", + "light_plus": "variable.other.constant: #0070C1", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.other.constant: #4FC1FF", + "hc_light": "variable.other.constant: #02715D", + "light_modern": "variable.other.constant: #0070C1" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "isAll", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "?", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "所有时间", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "${", + "t": "string punctuation.definition.template-expression.begin", + "r": { + "dark_plus": "punctuation.definition.template-expression.begin: #569CD6", + "light_plus": "punctuation.definition.template-expression.begin: #0000FF", + "dark_vs": "punctuation.definition.template-expression.begin: #569CD6", + "light_vs": "punctuation.definition.template-expression.begin: #0000FF", + "hc_black": "punctuation.definition.template-expression.begin: #569CD6", + "dark_modern": "punctuation.definition.template-expression.begin: #569CD6", + "hc_light": "punctuation.definition.template-expression.begin: #0F4A85", + "light_modern": "punctuation.definition.template-expression.begin: #0000FF" + } + }, + { + "c": "startTime", + "t": "string variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "}", + "t": "string punctuation.definition.template-expression.end", + "r": { + "dark_plus": "punctuation.definition.template-expression.end: #569CD6", + "light_plus": "punctuation.definition.template-expression.end: #0000FF", + "dark_vs": "punctuation.definition.template-expression.end: #569CD6", + "light_vs": "punctuation.definition.template-expression.end: #0000FF", + "hc_black": "punctuation.definition.template-expression.end: #569CD6", + "dark_modern": "punctuation.definition.template-expression.end: #569CD6", + "hc_light": "punctuation.definition.template-expression.end: #0F4A85", + "light_modern": "punctuation.definition.template-expression.end: #0000FF" + } + }, + { + "c": " - ", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "${", + "t": "string punctuation.definition.template-expression.begin", + "r": { + "dark_plus": "punctuation.definition.template-expression.begin: #569CD6", + "light_plus": "punctuation.definition.template-expression.begin: #0000FF", + "dark_vs": "punctuation.definition.template-expression.begin: #569CD6", + "light_vs": "punctuation.definition.template-expression.begin: #0000FF", + "hc_black": "punctuation.definition.template-expression.begin: #569CD6", + "dark_modern": "punctuation.definition.template-expression.begin: #569CD6", + "hc_light": "punctuation.definition.template-expression.begin: #0F4A85", + "light_modern": "punctuation.definition.template-expression.begin: #0000FF" + } + }, + { + "c": "endTime", + "t": "string variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "}", + "t": "string punctuation.definition.template-expression.end", + "r": { + "dark_plus": "punctuation.definition.template-expression.end: #569CD6", + "light_plus": "punctuation.definition.template-expression.end: #0000FF", + "dark_vs": "punctuation.definition.template-expression.end: #569CD6", + "light_vs": "punctuation.definition.template-expression.end: #0000FF", + "hc_black": "punctuation.definition.template-expression.end: #569CD6", + "dark_modern": "punctuation.definition.template-expression.end: #569CD6", + "hc_light": "punctuation.definition.template-expression.end: #0F4A85", + "light_modern": "punctuation.definition.template-expression.end: #0000FF" + } + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "true", + "t": "constant.language", + "r": { + "dark_plus": "constant.language: #569CD6", + "light_plus": "constant.language: #0000FF", + "dark_vs": "constant.language: #569CD6", + "light_vs": "constant.language: #0000FF", + "hc_black": "constant.language: #569CD6", + "dark_modern": "constant.language: #569CD6", + "hc_light": "constant.language: #0F4A85", + "light_modern": "constant.language: #0000FF" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5465_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5465_ts.json new file mode 100644 index 0000000000000..1a7bba716ee35 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5465_ts.json @@ -0,0 +1,190 @@ +[ + { + "c": "function", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "*", + "t": "", + "r": {} + }, + { + "c": "foo2", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "yield", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "bar", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "yield", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "*", + "t": "", + "r": {} + }, + { + "c": "[", + "t": "", + "r": {} + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "bar", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "]", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5566_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5566_ts.json new file mode 100644 index 0000000000000..17f092ea22d42 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-issue5566_ts.json @@ -0,0 +1,238 @@ +[ + { + "c": "function", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "foo3", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "const", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "foo", + "t": "variable entity.name.function variable.other.constant", + "r": { + "dark_plus": "variable.other.constant: #4FC1FF", + "light_plus": "variable.other.constant: #0070C1", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.other.constant: #4FC1FF", + "hc_light": "variable.other.constant: #02715D", + "light_modern": "variable.other.constant: #0070C1" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "any", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": "=>", + "t": "keyword.operator storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "bar", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "baz", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-jsdoc-multiline-type_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-jsdoc-multiline-type_ts.json new file mode 100644 index 0000000000000..e2454effa8f5e --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-jsdoc-multiline-type_ts.json @@ -0,0 +1,166 @@ +[ + { + "c": "/**\n * @typedef {{\n * id: number,\n * fn: !Function,\n * context: (!Object|undefined)\n * }}\n * @private\n */", + "t": "comment", + "r": { + "dark_plus": "comment: #6A9955", + "light_plus": "comment: #008000", + "dark_vs": "comment: #6A9955", + "light_vs": "comment: #008000", + "hc_black": "comment: #7CA668", + "dark_modern": "comment: #6A9955", + "hc_light": "comment: #515151", + "light_modern": "comment: #008000" + } + }, + { + "c": "goog", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "dom", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "animationFrame", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "Task_", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "/**\n * @typedef {{\n * measureTask: goog.dom.animationFrame.Task_,\n * mutateTask: goog.dom.animationFrame.Task_,\n * state: (!Object|undefined),\n * args: (!Array|undefined),\n * isScheduled: boolean\n * }}\n * @private\n */", + "t": "comment", + "r": { + "dark_plus": "comment: #6A9955", + "light_plus": "comment: #008000", + "dark_vs": "comment: #6A9955", + "light_vs": "comment: #008000", + "hc_black": "comment: #7CA668", + "dark_modern": "comment: #6A9955", + "hc_light": "comment: #515151", + "light_modern": "comment: #008000" + } + }, + { + "c": "goog", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "dom", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "animationFrame", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "TaskSet_", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-keywords_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-keywords_ts.json new file mode 100644 index 0000000000000..9d407654b45af --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-keywords_ts.json @@ -0,0 +1,149 @@ +[ + { + "c": "export", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "foo", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "=>", + "t": "keyword.operator storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "new", + "t": "keyword.operator.new", + "r": { + "dark_plus": "keyword.operator.new: #569CD6", + "light_plus": "keyword.operator.new: #0000FF", + "dark_vs": "keyword.operator.new: #569CD6", + "light_vs": "keyword.operator.new: #0000FF", + "hc_black": "keyword.operator.new: #569CD6", + "dark_modern": "keyword.operator.new: #569CD6", + "hc_light": "keyword.operator.new: #0F4A85", + "light_modern": "keyword.operator.new: #0000FF" + } + }, + { + "c": "RegExp", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-members_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-members_ts.json new file mode 100644 index 0000000000000..65335b9ebfffe --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-members_ts.json @@ -0,0 +1,215 @@ +[ + { + "c": "class", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "A2", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "extends", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "B1", + "t": "variable entity.other.inherited-class", + "r": { + "dark_plus": "entity.other.inherited-class: #4EC9B0", + "light_plus": "entity.other.inherited-class: #267F99", + "hc_black": "entity.other.inherited-class: #4EC9B0", + "dark_modern": "entity.other.inherited-class: #4EC9B0", + "hc_light": "entity.other.inherited-class: #185E73", + "light_modern": "entity.other.inherited-class: #267F99" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "count", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "9", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "resolveNextGeneration", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "A2", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-object-literals_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-object-literals_ts.json new file mode 100644 index 0000000000000..3541727732de4 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-object-literals_ts.json @@ -0,0 +1,149 @@ +[ + { + "c": "let", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "s1", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "k", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "k1", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "s", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "k2", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-regex_coffee.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-regex_coffee.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-regex_coffee.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-strings_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-strings_ts.json new file mode 100644 index 0000000000000..bd845f74e07d6 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-strings_ts.json @@ -0,0 +1,460 @@ +[ + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "x", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "Hello ", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "${", + "t": "string punctuation.definition.template-expression.begin", + "r": { + "dark_plus": "punctuation.definition.template-expression.begin: #569CD6", + "light_plus": "punctuation.definition.template-expression.begin: #0000FF", + "dark_vs": "punctuation.definition.template-expression.begin: #569CD6", + "light_vs": "punctuation.definition.template-expression.begin: #0000FF", + "hc_black": "punctuation.definition.template-expression.begin: #569CD6", + "dark_modern": "punctuation.definition.template-expression.begin: #569CD6", + "hc_light": "punctuation.definition.template-expression.begin: #0F4A85", + "light_modern": "punctuation.definition.template-expression.begin: #0000FF" + } + }, + { + "c": "foo", + "t": "string variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "}", + "t": "string punctuation.definition.template-expression.end", + "r": { + "dark_plus": "punctuation.definition.template-expression.end: #569CD6", + "light_plus": "punctuation.definition.template-expression.end: #0000FF", + "dark_vs": "punctuation.definition.template-expression.end: #569CD6", + "light_vs": "punctuation.definition.template-expression.end: #0000FF", + "hc_black": "punctuation.definition.template-expression.end: #569CD6", + "dark_modern": "punctuation.definition.template-expression.end: #569CD6", + "hc_light": "punctuation.definition.template-expression.end: #0F4A85", + "light_modern": "punctuation.definition.template-expression.end: #0000FF" + } + }, + { + "c": "!", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "console", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "log", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "string text line 1\nstring text line 2", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "x", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "tag", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "Hello ", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "${", + "t": "string punctuation.definition.template-expression.begin", + "r": { + "dark_plus": "punctuation.definition.template-expression.begin: #569CD6", + "light_plus": "punctuation.definition.template-expression.begin: #0000FF", + "dark_vs": "punctuation.definition.template-expression.begin: #569CD6", + "light_vs": "punctuation.definition.template-expression.begin: #0000FF", + "hc_black": "punctuation.definition.template-expression.begin: #569CD6", + "dark_modern": "punctuation.definition.template-expression.begin: #569CD6", + "hc_light": "punctuation.definition.template-expression.begin: #0F4A85", + "light_modern": "punctuation.definition.template-expression.begin: #0000FF" + } + }, + { + "c": "a", + "t": "string variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "+", + "t": "string keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "b", + "t": "string variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "}", + "t": "string punctuation.definition.template-expression.end", + "r": { + "dark_plus": "punctuation.definition.template-expression.end: #569CD6", + "light_plus": "punctuation.definition.template-expression.end: #0000FF", + "dark_vs": "punctuation.definition.template-expression.end: #569CD6", + "light_vs": "punctuation.definition.template-expression.end: #0000FF", + "hc_black": "punctuation.definition.template-expression.end: #569CD6", + "dark_modern": "punctuation.definition.template-expression.end: #569CD6", + "hc_light": "punctuation.definition.template-expression.end: #0F4A85", + "light_modern": "punctuation.definition.template-expression.end: #0000FF" + } + }, + { + "c": " world ", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "${", + "t": "string punctuation.definition.template-expression.begin", + "r": { + "dark_plus": "punctuation.definition.template-expression.begin: #569CD6", + "light_plus": "punctuation.definition.template-expression.begin: #0000FF", + "dark_vs": "punctuation.definition.template-expression.begin: #569CD6", + "light_vs": "punctuation.definition.template-expression.begin: #0000FF", + "hc_black": "punctuation.definition.template-expression.begin: #569CD6", + "dark_modern": "punctuation.definition.template-expression.begin: #569CD6", + "hc_light": "punctuation.definition.template-expression.begin: #0F4A85", + "light_modern": "punctuation.definition.template-expression.begin: #0000FF" + } + }, + { + "c": "a", + "t": "string variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "*", + "t": "string keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "b", + "t": "string variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "}", + "t": "string punctuation.definition.template-expression.end", + "r": { + "dark_plus": "punctuation.definition.template-expression.end: #569CD6", + "light_plus": "punctuation.definition.template-expression.end: #0000FF", + "dark_vs": "punctuation.definition.template-expression.end: #569CD6", + "light_vs": "punctuation.definition.template-expression.end: #0000FF", + "hc_black": "punctuation.definition.template-expression.end: #569CD6", + "dark_modern": "punctuation.definition.template-expression.end: #569CD6", + "hc_light": "punctuation.definition.template-expression.end: #0F4A85", + "light_modern": "punctuation.definition.template-expression.end: #0000FF" + } + }, + { + "c": "`", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-this_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-this_ts.json new file mode 100644 index 0000000000000..5680b0c1efb38 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-this_ts.json @@ -0,0 +1,76 @@ +[ + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "foo", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "9", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-variables_css.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-variables_css.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test-variables_css.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test2_pl.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test2_pl.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test2_pl.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test6916_js.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test6916_js.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test6916_js.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_bat.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_bat.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_bat.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_bib.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_bib.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_bib.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_c.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_c.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_c.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cc.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cc.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cc.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_clj.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_clj.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_clj.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_code-snippets.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_code-snippets.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_code-snippets.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_coffee.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_coffee.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_coffee.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cpp.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cpp.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cpp.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cs.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cs.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cshtml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cshtml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cshtml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_css.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_css.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_css.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cu.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cu.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_cu.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_dart.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_dart.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_dart.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_diff.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_diff.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_diff.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_fs.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_fs.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_fs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_go.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_go.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_go.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_groovy.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_groovy.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_groovy.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_handlebars.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_handlebars.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_handlebars.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_hbs.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_hbs.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_hbs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_hlsl.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_hlsl.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_hlsl.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_html.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_html.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_html.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ini.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ini.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ini.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_jl.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_jl.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_jl.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_js.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_js.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_js.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_json.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_json.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_json.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_jsx.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_jsx.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_jsx.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_less.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_less.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_less.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_log.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_log.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_log.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_lua.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_lua.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_lua.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_m.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_m.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_m.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_md.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_md.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_md.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_mm.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_mm.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_mm.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_p6.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_p6.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_p6.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_php.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_php.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_php.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_pl.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_pl.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_pl.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ps1.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ps1.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ps1.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_pug.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_pug.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_pug.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_py.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_py.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_py.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_r.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_r.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_r.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rb.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rb.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rb.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rs.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rs.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rs.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rst.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rst.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_rst.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_scss.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_scss.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_scss.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sh.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sh.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sh.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_shader.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_shader.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_shader.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sql.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sql.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sql.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sty.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sty.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_sty.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_swift.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_swift.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_swift.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_tex.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_tex.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_tex.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ts.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ts.json new file mode 100644 index 0000000000000..a3b68fd6fadce --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_ts.json @@ -0,0 +1,6805 @@ +[ + { + "c": "/* Game of Life\n * Implemented in TypeScript\n * To learn more about TypeScript, please visit http://www.typescriptlang.org/\n */", + "t": "comment", + "r": { + "dark_plus": "comment: #6A9955", + "light_plus": "comment: #008000", + "dark_vs": "comment: #6A9955", + "light_vs": "comment: #008000", + "hc_black": "comment: #7CA668", + "dark_modern": "comment: #6A9955", + "hc_light": "comment: #515151", + "light_modern": "comment: #008000" + } + }, + { + "c": "module", + "t": "", + "r": {} + }, + { + "c": "Conway", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "export", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "class", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "Cell", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "boolean", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "constructor", + "t": "variable entity.name.function storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "boolean", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "export", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "class", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "GameOfLife", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "gridSize", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "canvasSize", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "lineColor", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "string", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "liveColor", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "string", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "deadColor", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "string", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "initialLifeProbability", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "animationRate", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "cellSize", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "private", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "world", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "constructor", + "t": "variable entity.name.function storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "gridSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "50", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "canvasSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "600", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "lineColor", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "#cdcdcd", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "liveColor", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "#666", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "deadColor", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "#eee", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": "'", + "t": "string", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178", + "dark_modern": "string: #CE9178", + "hc_light": "string: #0F4A85", + "light_modern": "string: #A31515" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "initialLifeProbability", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0.5", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "animationRate", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "60", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "world", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "createWorld", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "circleOfLife", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "createWorld", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "travelWorld", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "Cell", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "=>", + "t": "keyword.operator storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "Math", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "random", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "initialLifeProbability", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "circleOfLife", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "void", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "world", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "travelWorld", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "Cell", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "=>", + "t": "keyword.operator storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "world", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "[", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "]", + "t": "", + "r": {} + }, + { + "c": "[", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "]", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "draw", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "resolveNextGeneration", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "setTimeout", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "=>", + "t": "keyword.operator storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "circleOfLife", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "animationRate", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "resolveNextGeneration", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "Cell", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "count", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "countNeighbors", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "newCell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "new", + "t": "keyword.operator.new", + "r": { + "dark_plus": "keyword.operator.new: #569CD6", + "light_plus": "keyword.operator.new: #0000FF", + "dark_vs": "keyword.operator.new: #569CD6", + "light_vs": "keyword.operator.new: #0000FF", + "hc_black": "keyword.operator.new: #569CD6", + "dark_modern": "keyword.operator.new: #569CD6", + "hc_light": "keyword.operator.new: #0F4A85", + "light_modern": "keyword.operator.new: #0000FF" + } + }, + { + "c": "Cell", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "if", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "count", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "2", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "||", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "count", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ">", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "3", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "newCell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "false", + "t": "constant.language", + "r": { + "dark_plus": "constant.language: #569CD6", + "light_plus": "constant.language: #0000FF", + "dark_vs": "constant.language: #569CD6", + "light_vs": "constant.language: #0000FF", + "hc_black": "constant.language: #569CD6", + "dark_modern": "constant.language: #569CD6", + "hc_light": "constant.language: #0F4A85", + "light_modern": "constant.language: #0000FF" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "else", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "if", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "count", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "==", + "t": "keyword.operator", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "3", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "newCell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "true", + "t": "constant.language", + "r": { + "dark_plus": "constant.language: #569CD6", + "light_plus": "constant.language: #0000FF", + "dark_vs": "constant.language: #569CD6", + "light_vs": "constant.language: #0000FF", + "hc_black": "constant.language: #569CD6", + "dark_modern": "constant.language: #569CD6", + "hc_light": "constant.language: #0F4A85", + "light_modern": "constant.language: #0000FF" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "newCell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "countNeighbors", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "Cell", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "neighbors", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "-", + "t": "", + "r": {} + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<=", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "-", + "t": "", + "r": {} + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<=", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "1", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "if", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "==", + "t": "keyword.operator", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "&&", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "==", + "t": "keyword.operator", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "continue", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "if", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "isAlive", + "t": "variable variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "+", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "+", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "neighbors", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "neighbors", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "isAlive", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "number", + "t": "support.type support.type.primitive", + "r": { + "dark_plus": "support.type: #4EC9B0", + "light_plus": "support.type: #267F99", + "hc_black": "support.type: #4EC9B0", + "dark_modern": "support.type: #4EC9B0", + "hc_light": "support.type: #185E73", + "light_modern": "support.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "if", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "||", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": "||", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ">=", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "gridSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "||", + "t": "keyword.operator.logical", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ">=", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "gridSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "false", + "t": "constant.language", + "r": { + "dark_plus": "constant.language: #569CD6", + "light_plus": "constant.language: #0000FF", + "dark_vs": "constant.language: #569CD6", + "light_vs": "constant.language: #0000FF", + "hc_black": "constant.language: #569CD6", + "dark_modern": "constant.language: #569CD6", + "hc_light": "constant.language: #0F4A85", + "light_modern": "constant.language: #0000FF" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "world", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "[", + "t": "", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "]", + "t": "", + "r": {} + }, + { + "c": "[", + "t": "", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "]", + "t": "", + "r": {} + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "travelWorld", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "callback", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "result", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "[", + "t": "", + "r": {} + }, + { + "c": "]", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "gridSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "rowData", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "[", + "t": "", + "r": {} + }, + { + "c": "]", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "for", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "<", + "t": "keyword.operator.relational", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "gridSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "++", + "t": "keyword.operator.increment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "rowData", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "push", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "callback", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "new", + "t": "keyword.operator.new", + "r": { + "dark_plus": "keyword.operator.new: #569CD6", + "light_plus": "keyword.operator.new: #0000FF", + "dark_vs": "keyword.operator.new: #569CD6", + "light_vs": "keyword.operator.new: #0000FF", + "hc_black": "keyword.operator.new: #569CD6", + "dark_modern": "keyword.operator.new: #569CD6", + "hc_light": "keyword.operator.new: #0F4A85", + "light_modern": "keyword.operator.new: #0000FF" + } + }, + { + "c": "Cell", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "false", + "t": "constant.language", + "r": { + "dark_plus": "constant.language: #569CD6", + "light_plus": "constant.language: #0000FF", + "dark_vs": "constant.language: #569CD6", + "light_vs": "constant.language: #0000FF", + "hc_black": "constant.language: #569CD6", + "dark_modern": "constant.language: #569CD6", + "hc_light": "constant.language: #0F4A85", + "light_modern": "constant.language: #0000FF" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "result", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "push", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "rowData", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "return", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "result", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "public", + "t": "storage.modifier", + "r": { + "dark_plus": "storage.modifier: #569CD6", + "light_plus": "storage.modifier: #0000FF", + "dark_vs": "storage.modifier: #569CD6", + "light_vs": "storage.modifier: #0000FF", + "hc_black": "storage.modifier: #569CD6", + "dark_modern": "storage.modifier: #569CD6", + "hc_light": "storage.modifier: #0F4A85", + "light_modern": "storage.modifier: #0000FF" + } + }, + { + "c": "draw", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "Cell", + "t": "entity.name.type", + "r": { + "dark_plus": "entity.name.type: #4EC9B0", + "light_plus": "entity.name.type: #267F99", + "hc_black": "entity.name.type: #4EC9B0", + "dark_modern": "entity.name.type: #4EC9B0", + "hc_light": "entity.name.type: #185E73", + "light_modern": "entity.name.type: #267F99" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "{", + "t": "", + "r": {} + }, + { + "c": "if", + "t": "keyword.control", + "r": { + "dark_plus": "keyword.control: #C586C0", + "light_plus": "keyword.control: #AF00DB", + "dark_vs": "keyword.control: #569CD6", + "light_vs": "keyword.control: #0000FF", + "hc_black": "keyword.control: #C586C0", + "dark_modern": "keyword.control: #C586C0", + "hc_light": "keyword.control: #B5200D", + "light_modern": "keyword.control: #AF00DB" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "==", + "t": "keyword.operator", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "0", + "t": "constant.numeric", + "r": { + "dark_plus": "constant.numeric: #B5CEA8", + "light_plus": "constant.numeric: #098658", + "dark_vs": "constant.numeric: #B5CEA8", + "light_vs": "constant.numeric: #098658", + "hc_black": "constant.numeric: #B5CEA8", + "dark_modern": "constant.numeric: #B5CEA8", + "hc_light": "constant.numeric: #096D48", + "light_modern": "constant.numeric: #098658" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "canvasSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "/", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "gridSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "context", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "strokeStyle", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "lineColor", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "context", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "strokeRect", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "*", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "*", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "context", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "fillStyle", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "live", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "?", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "liveColor", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ":", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "deadColor", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "context", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "fillRect", + "t": "variable entity.name.function", + "r": { + "dark_plus": "entity.name.function: #DCDCAA", + "light_plus": "entity.name.function: #795E26", + "hc_black": "entity.name.function: #DCDCAA", + "dark_modern": "entity.name.function: #DCDCAA", + "hc_light": "entity.name.function: #5E2CBC", + "light_modern": "entity.name.function: #795E26" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "row", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "*", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cell", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "col", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "*", + "t": "keyword.operator.arithmetic", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ",", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "this", + "t": "variable.language", + "r": { + "dark_plus": "variable.language: #569CD6", + "light_plus": "variable.language: #0000FF", + "dark_vs": "variable.language: #569CD6", + "light_vs": "variable.language: #0000FF", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable.language: #569CD6", + "hc_light": "variable.language: #0F4A85", + "light_modern": "variable.language: #0000FF" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "cellSize", + "t": "variable variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "}", + "t": "", + "r": {} + }, + { + "c": "var", + "t": "storage.type", + "r": { + "dark_plus": "storage.type: #569CD6", + "light_plus": "storage.type: #0000FF", + "dark_vs": "storage.type: #569CD6", + "light_vs": "storage.type: #0000FF", + "hc_black": "storage.type: #569CD6", + "dark_modern": "storage.type: #569CD6", + "hc_light": "storage.type: #0F4A85", + "light_modern": "storage.type: #0000FF" + } + }, + { + "c": "game", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "=", + "t": "keyword.operator.assignment", + "r": { + "dark_plus": "keyword.operator: #D4D4D4", + "light_plus": "keyword.operator: #000000", + "dark_vs": "keyword.operator: #D4D4D4", + "light_vs": "keyword.operator: #000000", + "hc_black": "keyword.operator: #D4D4D4", + "dark_modern": "keyword.operator: #D4D4D4", + "hc_light": "keyword.operator: #000000", + "light_modern": "keyword.operator: #000000" + } + }, + { + "c": "new", + "t": "keyword.operator.new", + "r": { + "dark_plus": "keyword.operator.new: #569CD6", + "light_plus": "keyword.operator.new: #0000FF", + "dark_vs": "keyword.operator.new: #569CD6", + "light_vs": "keyword.operator.new: #0000FF", + "hc_black": "keyword.operator.new: #569CD6", + "dark_modern": "keyword.operator.new: #569CD6", + "hc_light": "keyword.operator.new: #0F4A85", + "light_modern": "keyword.operator.new: #0000FF" + } + }, + { + "c": "Conway", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": ".", + "t": "punctuation.delimiter", + "r": {} + }, + { + "c": "GameOfLife", + "t": "variable", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "hc_black": "variable: #9CDCFE", + "dark_modern": "variable: #9CDCFE", + "hc_light": "variable: #001080", + "light_modern": "variable: #001080" + } + }, + { + "c": "(", + "t": "", + "r": {} + }, + { + "c": ")", + "t": "", + "r": {} + }, + { + "c": ";", + "t": "punctuation.delimiter", + "r": {} + } +] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_vb.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_vb.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_vb.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_xml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_xml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_xml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_yaml.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_yaml.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/test_yaml.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/tsconfig_off_json.json b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/tsconfig_off_json.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/extensions/vscode-colorize-tests/test/colorize-tree-sitter-results/tsconfig_off_json.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/src/vs/editor/browser/services/treeSitter/treeSitterParserService.ts b/src/vs/editor/browser/services/treeSitter/treeSitterParserService.ts index a83446f2d272d..2a4a35e4085f5 100644 --- a/src/vs/editor/browser/services/treeSitter/treeSitterParserService.ts +++ b/src/vs/editor/browser/services/treeSitter/treeSitterParserService.ts @@ -272,6 +272,15 @@ export class TreeSitterLanguages extends Disposable { } } + public async getLanguage(languageId: string): Promise { + if (this._languages.isCached(languageId)) { + return this._languages.getSyncIfCached(languageId); + } else { + await this._addLanguage(languageId); + return this._languages.get(languageId); + } + } + private async _addLanguage(languageId: string): Promise { const languagePromise = this._languages.get(languageId); if (!languagePromise) { @@ -368,6 +377,19 @@ export class TreeSitterTextModelService extends Disposable implements ITreeSitte return textModelTreeSitter?.textModelTreeSitter.parseResult; } + async getTree(content: string, languageId: string): Promise { + await this._init; + + const language = await this._treeSitterLanguages.getLanguage(languageId); + const Parser = await this._treeSitterImporter.getParserClass(); + if (language) { + const parser = new Parser(); + parser.setLanguage(language); + return parser.parse(content); + } + return undefined; + } + private async _doInitParser() { const Parser = await this._treeSitterImporter.getParserClass(); const environmentService = this._environmentService; diff --git a/src/vs/editor/common/languages.ts b/src/vs/editor/common/languages.ts index 533010f8cbe70..007c204ae98cf 100644 --- a/src/vs/editor/common/languages.ts +++ b/src/vs/editor/common/languages.ts @@ -27,6 +27,7 @@ import { localize } from '../../nls.js'; import { ExtensionIdentifier } from '../../platform/extensions/common/extensions.js'; import { IMarkerData } from '../../platform/markers/common/markers.js'; import { IModelTokensChangedEvent } from './textModelEvents.js'; +import type { Parser } from '@vscode/tree-sitter-wasm'; /** * @internal @@ -89,7 +90,8 @@ export class EncodedTokenizationResult { */ export interface ITreeSitterTokenizationSupport { tokenizeEncoded(lineNumber: number, textModel: model.ITextModel): Uint32Array | undefined; - captureAtPosition(lineNumber: number, column: number, textModel: model.ITextModel): any; + captureAtPosition(lineNumber: number, column: number, textModel: model.ITextModel): Parser.QueryCapture[]; + captureAtPositionTree(lineNumber: number, column: number, tree: Parser.Tree): Parser.QueryCapture[]; onDidChangeTokens: Event<{ textModel: model.ITextModel; changes: IModelTokensChangedEvent }>; } diff --git a/src/vs/editor/common/languages/highlights/typescript.scm b/src/vs/editor/common/languages/highlights/typescript.scm index 664d841674347..7f9eee1b6d5d0 100644 --- a/src/vs/editor/common/languages/highlights/typescript.scm +++ b/src/vs/editor/common/languages/highlights/typescript.scm @@ -60,11 +60,11 @@ name: (identifier) @entity.name.function) (function_declaration name: (identifier) @entity.name.function) +(method_definition + name: (property_identifier) @entity.name.function) (method_definition name: (property_identifier) @storage.type (#eq? @storage.type "constructor")) -(method_definition - name: (property_identifier) @entity.name.function) (method_signature name: (property_identifier) @entity.name.function) @@ -105,9 +105,9 @@ ; Special identifiers -(type_identifier) @entity.name.type -(predefined_type (["string" "boolean" "number" "any"])) @support.type.primitive (predefined_type) @support.type +(predefined_type (["string" "boolean" "number" "any"])) @support.type.primitive +(type_identifier) @entity.name.type (("const") (variable_declarator diff --git a/src/vs/editor/common/services/treeSitterParserService.ts b/src/vs/editor/common/services/treeSitterParserService.ts index a52b8f942180d..d88b09a6e93c0 100644 --- a/src/vs/editor/common/services/treeSitterParserService.ts +++ b/src/vs/editor/common/services/treeSitterParserService.ts @@ -18,6 +18,7 @@ export interface ITreeSitterParserService { onDidAddLanguage: Event<{ id: string; language: Parser.Language }>; getOrInitLanguage(languageId: string): Parser.Language | undefined; getParseResult(textModel: ITextModel): ITreeSitterParseResult | undefined; + getTree(content: string, languageId: string): Promise; onDidUpdateTree: Event<{ textModel: ITextModel; ranges: Range[] }>; } diff --git a/src/vs/editor/standalone/browser/standaloneTreeSitterService.ts b/src/vs/editor/standalone/browser/standaloneTreeSitterService.ts index b2bb183fc8bf4..de27e7bea6ef5 100644 --- a/src/vs/editor/standalone/browser/standaloneTreeSitterService.ts +++ b/src/vs/editor/standalone/browser/standaloneTreeSitterService.ts @@ -14,6 +14,9 @@ import { Range } from '../../common/core/range.js'; * We use a dummy sertive here to make the build happy. */ export class StandaloneTreeSitterParserService implements ITreeSitterParserService { + async getTree(content: string, languageId: string): Promise { + return undefined; + } onDidUpdateTree: Event<{ textModel: ITextModel; ranges: Range[] }> = Event.None; readonly _serviceBrand: undefined; onDidAddLanguage: Event<{ id: string; language: Parser.Language }> = Event.None; diff --git a/src/vs/editor/test/common/services/testTreeSitterService.ts b/src/vs/editor/test/common/services/testTreeSitterService.ts index 775b988ddfd49..2d5721bb32fd5 100644 --- a/src/vs/editor/test/common/services/testTreeSitterService.ts +++ b/src/vs/editor/test/common/services/testTreeSitterService.ts @@ -10,6 +10,9 @@ import { ITreeSitterParserService, ITreeSitterParseResult } from '../../../commo import { Range } from '../../../common/core/range.js'; export class TestTreeSitterParserService implements ITreeSitterParserService { + getTree(content: string, languageId: string): Promise { + throw new Error('Method not implemented.'); + } onDidUpdateTree: Event<{ textModel: ITextModel; ranges: Range[] }> = Event.None; onDidAddLanguage: Event<{ id: string; language: Parser.Language }> = Event.None; _serviceBrand: undefined; diff --git a/src/vs/workbench/contrib/themes/browser/themes.test.contribution.ts b/src/vs/workbench/contrib/themes/browser/themes.test.contribution.ts index 12589e9a3cc5d..23d0571c188c8 100644 --- a/src/vs/workbench/contrib/themes/browser/themes.test.contribution.ts +++ b/src/vs/workbench/contrib/themes/browser/themes.test.contribution.ts @@ -4,6 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import { URI } from '../../../../base/common/uri.js'; +import type { Parser } from '@vscode/tree-sitter-wasm'; import { ILanguageService } from '../../../../editor/common/languages/language.js'; import { CommandsRegistry } from '../../../../platform/commands/common/commands.js'; import { IInstantiationService, ServicesAccessor } from '../../../../platform/instantiation/common/instantiation.js'; @@ -12,7 +13,7 @@ import { IEditorService } from '../../../services/editor/common/editorService.js import { EditorResourceAccessor } from '../../../common/editor.js'; import { ITextMateTokenizationService } from '../../../services/textMate/browser/textMateTokenizationFeature.js'; import type { IGrammar, StateStack } from 'vscode-textmate'; -import { TokenizationRegistry } from '../../../../editor/common/languages.js'; +import { TokenizationRegistry, TreeSitterTokenizationRegistry } from '../../../../editor/common/languages.js'; import { TokenMetadata } from '../../../../editor/common/encodedTokenAttributes.js'; import { ThemeRule, findMatchingThemeRule } from '../../../services/textMate/common/TMHelper.js'; import { Color } from '../../../../base/common/color.js'; @@ -20,16 +21,18 @@ import { IFileService } from '../../../../platform/files/common/files.js'; import { basename } from '../../../../base/common/resources.js'; import { Schemas } from '../../../../base/common/network.js'; import { splitLines } from '../../../../base/common/strings.js'; +import { ITreeSitterParserService } from '../../../../editor/common/services/treeSitterParserService.js'; +import { ColorThemeData, findMetadata } from '../../../services/themes/common/colorThemeData.js'; interface IToken { - c: string; - t: string; - r: { [themeName: string]: string | undefined }; + c: string; // token + t: string; // space separated scopes, most general to most specific + r: { [themeName: string]: string | undefined }; // token type: color } interface IThemedToken { text: string; - color: Color; + color: Color | null; } interface IThemesResult { @@ -92,7 +95,8 @@ class Snapper { constructor( @ILanguageService private readonly languageService: ILanguageService, @IWorkbenchThemeService private readonly themeService: IWorkbenchThemeService, - @ITextMateTokenizationService private readonly textMateService: ITextMateTokenizationService + @ITextMateTokenizationService private readonly textMateService: ITextMateTokenizationService, + @ITreeSitterParserService private readonly treeSitterParserService: ITreeSitterParserService, ) { } @@ -126,6 +130,25 @@ class Snapper { return result; } + private _themedTokenizeTreeSitter(tokens: IToken[]): IThemedToken[] { + const colorMap = TokenizationRegistry.getColorMap(); + const result: IThemedToken[] = Array(tokens.length); + const colorThemeData = this.themeService.getColorTheme() as ColorThemeData; + for (let i = 0, len = tokens.length; i < len; i++) { + const token = tokens[i]; + const scopes = token.t.split(' '); + const metadata = findMetadata(colorThemeData, scopes[scopes.length - 1]); + const color = TokenMetadata.getForeground(metadata); + + result[i] = { + text: token.c, + color: colorMap![color] + }; + } + + return result; + } + private _tokenize(grammar: IGrammar, lines: string[]): IToken[] { let state: StateStack | null = null; const result: IToken[] = []; @@ -195,6 +218,38 @@ class Snapper { return result; } + private async _getTreeSitterThemesResult(tokens: IToken[]): Promise { + const currentTheme = this.themeService.getColorTheme(); + + const getThemeName = (id: string) => { + const part = 'vscode-theme-defaults-themes-'; + const startIdx = id.indexOf(part); + if (startIdx !== -1) { + return id.substring(startIdx + part.length, id.length - 5); + } + return undefined; + }; + + const result: IThemesResult = {}; + + const themeDatas = await this.themeService.getColorThemes(); + const defaultThemes = themeDatas.filter(themeData => !!getThemeName(themeData.id)); + for (const defaultTheme of defaultThemes) { + const themeId = defaultTheme.id; + const success = await this.themeService.setColorTheme(themeId, undefined); + if (success) { + const themeName = getThemeName(themeId); + result[themeName!] = { + document: new ThemeDocument(this.themeService.getColorTheme()), + tokens: this._themedTokenizeTreeSitter(tokens) + }; + } + } + await this.themeService.setColorTheme(currentTheme.id, undefined); + return result; + } + + private _enrichResult(result: IToken[], themesResult: IThemesResult): void { const index: { [themeName: string]: number } = {}; const themeNames = Object.keys(themesResult); @@ -209,7 +264,9 @@ class Snapper { const themedToken = themesResult[themeName].tokens[index[themeName]]; themedToken.text = themedToken.text.substr(token.c.length); - token.r[themeName] = themesResult[themeName].document.explainTokenColor(token.t, themedToken.color); + if (themedToken.color) { + token.r[themeName] = themesResult[themeName].document.explainTokenColor(token.t, themedToken.color); + } if (themedToken.text.length === 0) { index[themeName]++; } @@ -217,6 +274,41 @@ class Snapper { } } + private _treeSitterTokenize(tree: Parser.Tree, languageId: string): IToken[] { + const cursor = tree.walk(); + cursor.gotoFirstChild(); + let cursorResult: boolean = true; + const tokens: IToken[] = []; + const tokenizationSupport = TreeSitterTokenizationRegistry.get(languageId); + + do { + if (cursor.currentNode.childCount === 0) { + const capture = tokenizationSupport?.captureAtPositionTree(cursor.currentNode.startPosition.row + 1, cursor.currentNode.startPosition.column + 1, tree); + + tokens.push({ + c: cursor.currentNode.text.replace(/\r\n/g, '\n'), + t: capture?.map(cap => cap.name).join(' ') ?? '', + r: { + dark_plus: undefined, + light_plus: undefined, + dark_vs: undefined, + light_vs: undefined, + hc_black: undefined, + } + }); + + while (!(cursorResult = cursor.gotoNextSibling())) { + if (!(cursorResult = cursor.gotoParent())) { + break; + } + } + } else { + cursorResult = cursor.gotoFirstChild(); + } + } while (cursorResult); + return tokens; + } + public captureSyntaxTokens(fileName: string, content: string): Promise { const languageId = this.languageService.guessLanguageIdByFilepathOrFirstLine(URI.file(fileName)); return this.textMateService.createTokenizer(languageId!).then((grammar) => { @@ -232,17 +324,35 @@ class Snapper { }); }); } -} -CommandsRegistry.registerCommand('_workbench.captureSyntaxTokens', function (accessor: ServicesAccessor, resource: URI) { + public async captureTreeSitterSyntaxTokens(fileName: string, content: string): Promise { + const languageId = this.languageService.guessLanguageIdByFilepathOrFirstLine(URI.file(fileName)); + if (languageId) { + const tree = await this.treeSitterParserService.getTree(content, languageId!); + if (!tree) { + return []; + } + const result = (await this._treeSitterTokenize(tree, languageId)).filter(t => t.c.length > 0); + const themeTokens = await this._getTreeSitterThemesResult(result); + this._enrichResult(result, themeTokens); + return result; + } + return []; + } +} +async function captureTokens(accessor: ServicesAccessor, resource: URI | undefined, treeSitter: boolean = false) { const process = (resource: URI) => { const fileService = accessor.get(IFileService); const fileName = basename(resource); const snapper = accessor.get(IInstantiationService).createInstance(Snapper); return fileService.readFile(resource).then(content => { - return snapper.captureSyntaxTokens(fileName, content.value.toString()); + if (treeSitter) { + return snapper.captureTreeSitterSyntaxTokens(fileName, content.value.toString()); + } else { + return snapper.captureSyntaxTokens(fileName, content.value.toString()); + } }); }; @@ -257,7 +367,17 @@ CommandsRegistry.registerCommand('_workbench.captureSyntaxTokens', function (acc console.log('No file editor active'); } } else { - return process(resource); + const processResult = await process(resource); + return processResult; } return undefined; + +} + +CommandsRegistry.registerCommand('_workbench.captureSyntaxTokens', function (accessor: ServicesAccessor, resource: URI) { + return captureTokens(accessor, resource); +}); + +CommandsRegistry.registerCommand('_workbench.captureTreeSitterSyntaxTokens', function (accessor: ServicesAccessor, resource: URI) { + return captureTokens(accessor, resource, true); }); diff --git a/src/vs/workbench/services/themes/common/colorThemeData.ts b/src/vs/workbench/services/themes/common/colorThemeData.ts index cc208f6a440ef..1497b14101d92 100644 --- a/src/vs/workbench/services/themes/common/colorThemeData.ts +++ b/src/vs/workbench/services/themes/common/colorThemeData.ts @@ -24,6 +24,7 @@ import { CharCode } from '../../../../base/common/charCode.js'; import { StorageScope, IStorageService, StorageTarget } from '../../../../platform/storage/common/storage.js'; import { ThemeConfiguration } from './themeConfiguration.js'; import { ColorScheme } from '../../../../platform/theme/common/theme.js'; +import { FontStyle, MetadataConsts } from '../../../../editor/common/encodedTokenAttributes.js'; const colorRegistry = Registry.as(ColorRegistryExtensions.ColorContribution); @@ -898,6 +899,37 @@ function isSemanticTokenColorizationSetting(style: any): style is ISemanticToken || types.isBoolean(style.underline) || types.isBoolean(style.strikethrough) || types.isBoolean(style.bold)); } +export function findMetadata(colorThemeData: ColorThemeData, captureName: string): number { + const tokenStyle: TokenStyle | undefined = colorThemeData.resolveScopes([[captureName]]); + if (!tokenStyle) { + return 0; + } + + let metadata = 0; + if (typeof tokenStyle.italic !== 'undefined') { + const italicBit = (tokenStyle.italic ? FontStyle.Italic : 0); + metadata |= italicBit | MetadataConsts.ITALIC_MASK; + } + if (typeof tokenStyle.bold !== 'undefined') { + const boldBit = (tokenStyle.bold ? FontStyle.Bold : 0); + metadata |= boldBit | MetadataConsts.BOLD_MASK; + } + if (typeof tokenStyle.underline !== 'undefined') { + const underlineBit = (tokenStyle.underline ? FontStyle.Underline : 0); + metadata |= underlineBit | MetadataConsts.UNDERLINE_MASK; + } + if (typeof tokenStyle.strikethrough !== 'undefined') { + const strikethroughBit = (tokenStyle.strikethrough ? FontStyle.Strikethrough : 0); + metadata |= strikethroughBit | MetadataConsts.STRIKETHROUGH_MASK; + } + if (tokenStyle.foreground) { + const tokenStyleForeground = colorThemeData.getTokenColorIndex().get(tokenStyle?.foreground); + const foregroundBits = tokenStyleForeground << MetadataConsts.FOREGROUND_OFFSET; + metadata |= foregroundBits; + } + + return metadata; +} class TokenColorIndex { diff --git a/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.ts b/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.ts index 23175602e902e..5f7a352568ca9 100644 --- a/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.ts +++ b/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.ts @@ -7,7 +7,6 @@ import type { Parser } from '@vscode/tree-sitter-wasm'; import { Emitter, Event } from '../../../../base/common/event.js'; import { Disposable, DisposableMap, DisposableStore, IDisposable } from '../../../../base/common/lifecycle.js'; import { AppResourcePath, FileAccess } from '../../../../base/common/network.js'; -import { FontStyle, MetadataConsts } from '../../../../editor/common/encodedTokenAttributes.js'; import { ITreeSitterTokenizationSupport, LazyTokenizationSupport, TreeSitterTokenizationRegistry } from '../../../../editor/common/languages.js'; import { ITextModel } from '../../../../editor/common/model.js'; import { EDITOR_EXPERIMENTAL_PREFER_TREESITTER, ITreeSitterParserService, ITreeSitterParseResult } from '../../../../editor/common/services/treeSitterParserService.js'; @@ -18,8 +17,7 @@ import { IFileService } from '../../../../platform/files/common/files.js'; import { InstantiationType, registerSingleton } from '../../../../platform/instantiation/common/extensions.js'; import { createDecorator, IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js'; import { IThemeService } from '../../../../platform/theme/common/themeService.js'; -import { TokenStyle } from '../../../../platform/theme/common/tokenClassificationRegistry.js'; -import { ColorThemeData } from '../../themes/common/colorThemeData.js'; +import { ColorThemeData, findMetadata } from '../../themes/common/colorThemeData.js'; const ALLOWED_SUPPORT = ['typescript']; type TreeSitterQueries = string; @@ -136,19 +134,25 @@ class TreeSitterTokenizationSupport extends Disposable implements ITreeSitterTok this._colorThemeData = this._themeService.getColorTheme() as ColorThemeData; } - captureAtPosition(lineNumber: number, column: number, textModel: ITextModel): any { - const captures = this._captureAtRange(lineNumber, new ColumnRange(column, column), textModel); + captureAtPosition(lineNumber: number, column: number, textModel: ITextModel): Parser.QueryCapture[] { + const tree = this._getTree(textModel); + const captures = this._captureAtRange(lineNumber, new ColumnRange(column, column), tree?.tree); return captures; } - private _captureAtRange(lineNumber: number, columnRange: ColumnRange, textModel: ITextModel): Parser.QueryCapture[] { - const tree = this._getTree(textModel); + captureAtPositionTree(lineNumber: number, column: number, tree: Parser.Tree): Parser.QueryCapture[] { + const captures = this._captureAtRange(lineNumber, new ColumnRange(column, column), tree); + return captures; + } + + + private _captureAtRange(lineNumber: number, columnRange: ColumnRange, tree: Parser.Tree | undefined): Parser.QueryCapture[] { const query = this._ensureQuery(); - if (!tree?.tree || !query) { + if (!tree || !query) { return []; } // Tree sitter row is 0 based, column is 0 based - return query.captures(tree.tree.rootNode, { startPosition: { row: lineNumber - 1, column: columnRange.startColumn - 1 }, endPosition: { row: lineNumber - 1, column: columnRange.endColumnExclusive } }); + return query.captures(tree.rootNode, { startPosition: { row: lineNumber - 1, column: columnRange.startColumn - 1 }, endPosition: { row: lineNumber - 1, column: columnRange.endColumnExclusive } }); } /** @@ -160,7 +164,8 @@ class TreeSitterTokenizationSupport extends Disposable implements ITreeSitterTok */ public tokenizeEncoded(lineNumber: number, textModel: ITextModel): Uint32Array | undefined { const lineLength = textModel.getLineMaxColumn(lineNumber); - const captures = this._captureAtRange(lineNumber, new ColumnRange(1, lineLength), textModel); + const tree = this._getTree(textModel); + const captures = this._captureAtRange(lineNumber, new ColumnRange(1, lineLength), tree?.tree); if (captures.length === 0) { return undefined; @@ -178,7 +183,7 @@ class TreeSitterTokenizationSupport extends Disposable implements ITreeSitterTok for (let captureIndex = 0; captureIndex < captures.length; captureIndex++) { const capture = captures[captureIndex]; - const metadata = this.findMetadata(capture.name); + const metadata = findMetadata(this._colorThemeData, capture.name,); const tokenEndIndex = capture.node.endIndex < lineStartOffset + lineLength ? capture.node.endIndex : lineStartOffset + lineLength; const tokenStartIndex = capture.node.startIndex < lineStartOffset ? lineStartOffset : capture.node.startIndex; @@ -243,38 +248,6 @@ class TreeSitterTokenizationSupport extends Disposable implements ITreeSitterTok return tokens; } - private findMetadata(captureName: string): number { - const tokenStyle: TokenStyle | undefined = this._colorThemeData.resolveScopes([[captureName]]); - if (!tokenStyle) { - return 0; - } - - let metadata = 0; - if (typeof tokenStyle.italic !== 'undefined') { - const italicBit = (tokenStyle.italic ? FontStyle.Italic : 0); - metadata |= italicBit | MetadataConsts.ITALIC_MASK; - } - if (typeof tokenStyle.bold !== 'undefined') { - const boldBit = (tokenStyle.bold ? FontStyle.Bold : 0); - metadata |= boldBit | MetadataConsts.BOLD_MASK; - } - if (typeof tokenStyle.underline !== 'undefined') { - const underlineBit = (tokenStyle.underline ? FontStyle.Underline : 0); - metadata |= underlineBit | MetadataConsts.UNDERLINE_MASK; - } - if (typeof tokenStyle.strikethrough !== 'undefined') { - const strikethroughBit = (tokenStyle.strikethrough ? FontStyle.Strikethrough : 0); - metadata |= strikethroughBit | MetadataConsts.STRIKETHROUGH_MASK; - } - if (tokenStyle.foreground) { - const tokenStyleForeground = this._colorThemeData.getTokenColorIndex().get(tokenStyle?.foreground); - const foregroundBits = tokenStyleForeground << MetadataConsts.FOREGROUND_OFFSET; - metadata |= foregroundBits; - } - - return metadata; - } - override dispose() { super.dispose(); this._query?.delete();