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.
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
3 years ago
|
{
|
||
|
"contains": [
|
||
|
{
|
||
|
"className": "number",
|
||
|
"begin": "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
|
||
|
"relevance": 0
|
||
|
},
|
||
|
{
|
||
|
"begin": "[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",
|
||
|
"end": ":",
|
||
|
"excludeEnd": true
|
||
|
},
|
||
|
{
|
||
|
"begin": "(ncalls|tottime|cumtime)",
|
||
|
"end": "$",
|
||
|
"keywords": "ncalls tottime|10 cumtime|10 filename",
|
||
|
"relevance": 10
|
||
|
},
|
||
|
{
|
||
|
"begin": "function calls",
|
||
|
"end": "$",
|
||
|
"contains": [
|
||
|
{
|
||
|
"$ref": "#contains.0"
|
||
|
}
|
||
|
],
|
||
|
"relevance": 10
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "'",
|
||
|
"end": "'",
|
||
|
"illegal": "\\n",
|
||
|
"contains": [
|
||
|
{
|
||
|
"begin": "\\\\[\\s\\S]",
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "\"",
|
||
|
"end": "\"",
|
||
|
"illegal": "\\n",
|
||
|
"contains": [
|
||
|
{
|
||
|
"$ref": "#contains.4.contains.0"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"className": "string",
|
||
|
"begin": "\\(",
|
||
|
"end": "\\)$",
|
||
|
"excludeBegin": true,
|
||
|
"excludeEnd": true,
|
||
|
"relevance": 0
|
||
|
}
|
||
|
]
|
||
|
}
|