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.
86 lines
2.7 KiB
JSON
86 lines
2.7 KiB
JSON
3 years ago
|
{
|
||
|
"keywords": "false int abstract private char boolean static null if for true while long throw finally protected final return void enum else break new catch byte super case short default double public try this switch continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count order group by asc desc index hint like dispaly edit client server ttsbegin ttscommit str real date container anytype common div mod",
|
||
|
"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": [
|
||
|
{
|
||
|
"$ref": "#contains.0.contains.0"
|
||
|
},
|
||
|
{
|
||
|
"className": "doctag",
|
||
|
"begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "'",
|
||
|
"end": "'",
|
||
|
"illegal": "\\n",
|
||
|
"contains": [
|
||
|
{
|
||
|
"begin": "\\\\[\\s\\S]",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "\"",
|
||
|
"end": "\"",
|
||
|
"illegal": "\\n",
|
||
|
"contains": [
|
||
|
{
|
||
|
"$ref": "#contains.2.contains.0"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "number",
|
||
|
"begin": "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
|
||
|
"relevance": 0
|
||
|
},
|
||
|
{
|
||
|
"className": "meta",
|
||
|
"begin": "#",
|
||
|
"end": "$"
|
||
|
},
|
||
|
{
|
||
|
"className": "class",
|
||
|
"beginKeywords": "class interface",
|
||
|
"end": "{",
|
||
|
"excludeEnd": true,
|
||
|
"illegal": ":",
|
||
|
"contains": [
|
||
|
{
|
||
|
"beginKeywords": "extends implements"
|
||
|
},
|
||
|
{
|
||
|
"className": "title",
|
||
|
"begin": "[a-zA-Z_]\\w*",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|