java.syntax 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. # Syntax rules for the Java programming language
  2. #
  3. # Authors:
  4. # lol_zimmerli%headbanger.ch@mail.headbanger.ch, 1999
  5. #
  6. # 2016-03-21 Konrad Twardowski
  7. # * Added missing keywords: _ assert strictfp
  8. context default
  9. keyword whole _ yellow
  10. keyword whole abstract yellow
  11. keyword whole assert yellow
  12. keyword whole boolean yellow
  13. keyword whole break yellow
  14. keyword whole byte yellow
  15. keyword whole byvalue yellow
  16. keyword whole case yellow
  17. keyword whole cast yellow
  18. keyword whole catch yellow
  19. keyword whole char yellow
  20. keyword whole class yellow
  21. keyword whole clone brightred
  22. keyword whole const yellow
  23. keyword whole continue yellow
  24. keyword whole def yellow
  25. keyword whole default yellow
  26. keyword whole do yellow
  27. keyword whole double yellow
  28. keyword whole else yellow
  29. keyword whole enum yellow
  30. keyword whole equals brightred
  31. keyword whole extends yellow
  32. keyword whole false yellow
  33. keyword whole final yellow
  34. keyword whole finalize brightred
  35. keyword whole finally yellow
  36. keyword whole float yellow
  37. keyword whole for yellow
  38. keyword whole future yellow
  39. keyword whole generic yellow
  40. keyword whole getClass brightred
  41. keyword whole goto yellow
  42. keyword whole hashCode brightred
  43. keyword whole if yellow
  44. keyword whole implements yellow
  45. keyword whole import yellow
  46. keyword whole inner yellow
  47. keyword whole instanceof yellow
  48. keyword whole int yellow
  49. keyword whole interface yellow
  50. keyword whole long yellow
  51. keyword whole native yellow
  52. keyword whole new yellow
  53. keyword whole notify brightred
  54. keyword whole notifyAll brightred
  55. keyword whole null yellow
  56. keyword whole outer yellow
  57. keyword whole package yellow
  58. keyword whole private yellow
  59. keyword whole protected yellow
  60. keyword whole public yellow
  61. keyword whole rest yellow
  62. keyword whole return yellow
  63. keyword whole short yellow
  64. keyword whole static yellow
  65. keyword whole strictfp yellow
  66. keyword whole super yellow
  67. keyword whole switch yellow
  68. keyword whole synchronized yellow
  69. keyword whole this yellow
  70. keyword whole throw yellow
  71. keyword whole throws yellow
  72. keyword whole toString brightred
  73. keyword whole transient yellow
  74. keyword whole true yellow
  75. keyword whole try yellow
  76. keyword whole var yellow
  77. keyword whole void yellow
  78. keyword whole volatile yellow
  79. keyword whole wait brightred
  80. keyword whole while yellow
  81. keyword /\* brown
  82. keyword \*/ brown
  83. keyword // brown
  84. keyword '\s' brightgreen
  85. keyword '+' brightgreen
  86. keyword > yellow
  87. keyword < yellow
  88. keyword \+ yellow
  89. keyword - yellow
  90. keyword \* yellow
  91. keyword / yellow
  92. keyword % yellow
  93. keyword = yellow
  94. keyword != yellow
  95. keyword == yellow
  96. keyword { brightcyan
  97. keyword } brightcyan
  98. keyword ( brightcyan
  99. keyword ) brightcyan
  100. keyword [ brightcyan
  101. keyword ] brightcyan
  102. keyword , brightcyan
  103. keyword : brightcyan
  104. keyword ? brightcyan
  105. keyword ; brightmagenta
  106. context exclusive /\* \*/ brown
  107. spellcheck
  108. context exclusive // \n brown
  109. spellcheck
  110. context linestart # \n brightred
  111. keyword \\\n yellow
  112. keyword /\**\*/ brown
  113. keyword "+" red
  114. keyword <+> red
  115. context " " green
  116. spellcheck
  117. keyword \\" brightgreen
  118. keyword \\n brightgreen
  119. keyword %% brightgreen
  120. keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
  121. keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diuxX\} brightgreen
  122. keyword %\[hl\]n brightgreen
  123. keyword %\[.\]\[0123456789\]s brightgreen
  124. keyword %[*] brightgreen
  125. keyword %c brightgreen
  126. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  127. keyword \\\\ brightgreen
  128. keyword \\' brightgreen
  129. keyword \\\{abtnvfr\} brightgreen