mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
even more colorizer tests
This commit is contained in:
12
extensions/python/test/colorize-fixtures/tets.py
Normal file
12
extensions/python/test/colorize-fixtures/tets.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from banana import *
|
||||
|
||||
class Monkey:
|
||||
# Bananas the monkey can eat.
|
||||
capacity = 10
|
||||
def eat(self, N):
|
||||
'''Make the monkey eat N bananas!'''
|
||||
capacity = capacity - N*banana.size
|
||||
|
||||
def feeding_frenzy(self):
|
||||
eat(9.25)
|
||||
return "Yum yum"
|
||||
629
extensions/python/test/colorize-results/tets_py.json
Normal file
629
extensions/python/test/colorize-results/tets_py.json
Normal file
@@ -0,0 +1,629 @@
|
||||
[
|
||||
{
|
||||
"c": "from",
|
||||
"t": "keyword.control.import.from.python",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control.import",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control.import",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " banana ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "import",
|
||||
"t": "keyword.control.import.python",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control.import",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control.import",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "*",
|
||||
"t": "keyword.python.operator.arithmetic",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "class",
|
||||
"t": "python.meta.class.old-style.storage.type",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "python.meta.class.old-style",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "Monkey",
|
||||
"t": "python.meta.class.old-style.type.entity.name",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.type",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.type",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.class",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "python.meta.class.old-style.punctuation.section.begin",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "python.punctuation.whitespace.comment.leading",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "#",
|
||||
"t": "python.punctuation.comment.line.number-sign.definition",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " Bananas the monkey can eat.",
|
||||
"t": "python.comment.line.number-sign",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\tcapacity ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "keyword.python.operator.assignment",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "10",
|
||||
"t": "python.constant.numeric.integer.decimal",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "python.meta.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "def",
|
||||
"t": "python.meta.storage.type.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "python.meta.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "eat",
|
||||
"t": "python.meta.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "python.meta.punctuation.begin.definition.function.parameters",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "self",
|
||||
"t": "python.meta.function.parameters.variable.parameter",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable.parameter",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable.parameter",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ",",
|
||||
"t": "python.meta.punctuation.function.parameters.separator",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "python.meta.function.parameters",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "N",
|
||||
"t": "python.meta.function.parameters.variable.parameter",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable.parameter",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable.parameter",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "python.meta.punctuation.definition.function.parameters.end",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "python.meta.punctuation.section.begin.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\t\t",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "'''",
|
||||
"t": "python.punctuation.begin.definition.string.quoted.single.block",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "Make the monkey eat N bananas!",
|
||||
"t": "python.string.quoted.single.block",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "'''",
|
||||
"t": "python.punctuation.definition.end.string.quoted.single.block",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\t\tcapacity ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "keyword.python.operator.assignment",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " capacity ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "-",
|
||||
"t": "keyword.python.operator.arithmetic",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " N",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "*",
|
||||
"t": "keyword.python.operator.arithmetic",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "banana.size",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "python.meta.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "def",
|
||||
"t": "python.meta.storage.type.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.storage.type",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.storage.type",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.storage.type",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.storage.type",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.storage.type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "python.meta.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "feeding_frenzy",
|
||||
"t": "python.meta.entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "python.meta.punctuation.begin.definition.function.parameters",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "self",
|
||||
"t": "python.meta.function.parameters.variable.parameter",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable.parameter",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable.parameter",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "python.meta.punctuation.definition.function.parameters.end",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ":",
|
||||
"t": "python.meta.punctuation.section.begin.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\t\t",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "eat",
|
||||
"t": "python.meta.function-call",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "python.meta.punctuation.begin.definition.function-call.arguments",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "9.25",
|
||||
"t": "python.meta.constant.numeric.function-call.arguments.float",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "python.meta.punctuation.definition.end.function-call.arguments",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\t\t",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "return",
|
||||
"t": "keyword.control.python.flow",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\"",
|
||||
"t": "python.punctuation.begin.definition.string.quoted.double.single-line",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "Yum yum",
|
||||
"t": "python.string.quoted.double.single-line",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\"",
|
||||
"t": "python.punctuation.definition.end.string.quoted.double.single-line",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user