You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
3.3 KiB
JSON
91 lines
3.3 KiB
JSON
3 years ago
|
{
|
||
|
"keywords": {
|
||
|
"keyword": "assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty shared abstract formal default actual variable late native deprecatedfinal sealed annotation suppressWarnings small",
|
||
|
"meta": "doc by license see throws tagged"
|
||
|
},
|
||
|
"illegal": "\\$[^01]|#[^0-9a-fA-F]",
|
||
|
"contains": [
|
||
|
{
|
||
|
"className": "comment",
|
||
|
"begin": "\/\/",
|
||
|
"end": "$",
|
||
|
"contains": [
|
||
|
{
|
||
|
"begin": "\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"
|
||
|
},
|
||
|
{
|
||
|
"className": "doctag",
|
||
|
"begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "comment",
|
||
|
"begin": "\/\\*",
|
||
|
"end": "\\*\/",
|
||
|
"contains": [
|
||
|
"self",
|
||
|
{
|
||
|
"$ref": "#contains.0.contains.0"
|
||
|
},
|
||
|
{
|
||
|
"className": "doctag",
|
||
|
"begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "meta",
|
||
|
"begin": "@[a-z]\\w*(?:\\:\"[^\"]*\")?"
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "\"\"\"",
|
||
|
"end": "\"\"\"",
|
||
|
"relevance": 10
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "\"",
|
||
|
"end": "\"",
|
||
|
"contains": [
|
||
|
{
|
||
|
"className": "subst",
|
||
|
"excludeBegin": true,
|
||
|
"excludeEnd": true,
|
||
|
"begin": "``",
|
||
|
"end": "``",
|
||
|
"keywords": "assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",
|
||
|
"relevance": 10,
|
||
|
"contains": [
|
||
|
{
|
||
|
"$ref": "#contains.3"
|
||
|
},
|
||
|
{
|
||
|
"$ref": "#contains.4"
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "'",
|
||
|
"end": "'"
|
||
|
},
|
||
|
{
|
||
|
"className": "number",
|
||
|
"begin": "#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"$ref": "#contains.4.contains.0.contains.2"
|
||
|
},
|
||
|
{
|
||
|
"$ref": "#contains.4.contains.0.contains.3"
|
||
|
}
|
||
|
]
|
||
|
}
|