profile.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "contains": [
  3. {
  4. "className": "number",
  5. "begin": "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
  6. "relevance": 0
  7. },
  8. {
  9. "begin": "[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",
  10. "end": ":",
  11. "excludeEnd": true
  12. },
  13. {
  14. "begin": "(ncalls|tottime|cumtime)",
  15. "end": "$",
  16. "keywords": "ncalls tottime|10 cumtime|10 filename",
  17. "relevance": 10
  18. },
  19. {
  20. "begin": "function calls",
  21. "end": "$",
  22. "contains": [
  23. {
  24. "$ref": "#contains.0"
  25. }
  26. ],
  27. "relevance": 10
  28. },
  29. {
  30. "className": "string",
  31. "begin": "'",
  32. "end": "'",
  33. "illegal": "\\n",
  34. "contains": [
  35. {
  36. "begin": "\\\\[\\s\\S]",
  37. "relevance": 0
  38. }
  39. ]
  40. },
  41. {
  42. "className": "string",
  43. "begin": "\"",
  44. "end": "\"",
  45. "illegal": "\\n",
  46. "contains": [
  47. {
  48. "$ref": "#contains.4.contains.0"
  49. }
  50. ]
  51. },
  52. {
  53. "className": "string",
  54. "begin": "\\(",
  55. "end": "\\)$",
  56. "excludeBegin": true,
  57. "excludeEnd": true,
  58. "relevance": 0
  59. }
  60. ]
  61. }