step21.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "aliases": [
  3. "p21",
  4. "step",
  5. "stp"
  6. ],
  7. "case_insensitive": true,
  8. "lexemes": "[A-Z_][A-Z0-9_.]*",
  9. "keywords": {
  10. "keyword": "HEADER ENDSEC DATA"
  11. },
  12. "contains": [
  13. {
  14. "className": "meta",
  15. "begin": "ISO-10303-21;",
  16. "relevance": 10
  17. },
  18. {
  19. "className": "meta",
  20. "begin": "END-ISO-10303-21;",
  21. "relevance": 10
  22. },
  23. {
  24. "className": "comment",
  25. "begin": "\/\/",
  26. "end": "$",
  27. "contains": [
  28. {
  29. "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"
  30. },
  31. {
  32. "className": "doctag",
  33. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  34. "relevance": 0
  35. }
  36. ]
  37. },
  38. {
  39. "className": "comment",
  40. "begin": "\/\\*",
  41. "end": "\\*\/",
  42. "contains": [
  43. {
  44. "$ref": "#contains.2.contains.0"
  45. },
  46. {
  47. "className": "doctag",
  48. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  49. "relevance": 0
  50. }
  51. ]
  52. },
  53. {
  54. "className": "comment",
  55. "begin": "\/\\*\\*!",
  56. "end": "\\*\/",
  57. "contains": [
  58. {
  59. "$ref": "#contains.2.contains.0"
  60. },
  61. {
  62. "className": "doctag",
  63. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  64. "relevance": 0
  65. }
  66. ]
  67. },
  68. {
  69. "className": "number",
  70. "begin": "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
  71. "relevance": 0
  72. },
  73. {
  74. "className": "string",
  75. "begin": "'",
  76. "end": "'",
  77. "illegal": null,
  78. "contains": [
  79. {
  80. "begin": "\\\\[\\s\\S]",
  81. "relevance": 0
  82. }
  83. ]
  84. },
  85. {
  86. "className": "string",
  87. "begin": "\"",
  88. "end": "\"",
  89. "illegal": null,
  90. "contains": [
  91. {
  92. "$ref": "#contains.6.contains.0"
  93. }
  94. ]
  95. },
  96. {
  97. "className": "string",
  98. "begin": "'",
  99. "end": "'"
  100. },
  101. {
  102. "className": "symbol",
  103. "variants": [
  104. {
  105. "begin": "#",
  106. "end": "\\d+",
  107. "illegal": "\\W"
  108. }
  109. ]
  110. }
  111. ]
  112. }