config-es5.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /*
  2. * This config only contains ES5 tokens while the default config.js contains
  3. * ES6 tokens as well.
  4. *
  5. * Copy this file and use it as a starting point for your redeyed config.
  6. * Just fill in the tokens you want to surround/replace.
  7. * Keep in mind that more specific configurations override less specific ones.
  8. */
  9. module.exports = {
  10. 'Boolean': {
  11. 'true' : undefined
  12. , 'false' : undefined
  13. , _default : undefined
  14. }
  15. , 'Identifier': {
  16. _default: undefined
  17. }
  18. , 'Null': {
  19. _default: undefined
  20. }
  21. , 'Numeric': {
  22. _default: undefined
  23. }
  24. , 'String': {
  25. _default: undefined
  26. }
  27. , 'Keyword': {
  28. 'break' : undefined
  29. , 'case' : undefined
  30. , 'catch' : undefined
  31. , 'continue' : undefined
  32. , 'debugger' : undefined
  33. , 'default' : undefined
  34. , 'delete' : undefined
  35. , 'do' : undefined
  36. , 'else' : undefined
  37. , 'finally' : undefined
  38. , 'for' : undefined
  39. , 'function' : undefined
  40. , 'if' : undefined
  41. , 'in' : undefined
  42. , 'instanceof' : undefined
  43. , 'new' : undefined
  44. , 'return' : undefined
  45. , 'switch' : undefined
  46. , 'this' : undefined
  47. , 'throw' : undefined
  48. , 'try' : undefined
  49. , 'typeof' : undefined
  50. , 'var' : undefined
  51. , 'void' : undefined
  52. , 'while' : undefined
  53. , 'with' : undefined
  54. , _default : undefined
  55. }
  56. , 'Punctuator': {
  57. ';': undefined
  58. , '.': undefined
  59. , ',': undefined
  60. , '{': undefined
  61. , '}': undefined
  62. , '(': undefined
  63. , ')': undefined
  64. , '[': undefined
  65. , ']': undefined
  66. , '<': undefined
  67. , '>': undefined
  68. , '+': undefined
  69. , '-': undefined
  70. , '*': undefined
  71. , '%': undefined
  72. , '&': undefined
  73. , '|': undefined
  74. , '^': undefined
  75. , '!': undefined
  76. , '~': undefined
  77. , '?': undefined
  78. , ':': undefined
  79. , '=': undefined
  80. , '<=': undefined
  81. , '>=': undefined
  82. , '==': undefined
  83. , '!=': undefined
  84. , '++': undefined
  85. , '--': undefined
  86. , '<<': undefined
  87. , '>>': undefined
  88. , '&&': undefined
  89. , '||': undefined
  90. , '+=': undefined
  91. , '-=': undefined
  92. , '*=': undefined
  93. , '%=': undefined
  94. , '&=': undefined
  95. , '|=': undefined
  96. , '^=': undefined
  97. , '/=': undefined
  98. , '===': undefined
  99. , '!==': undefined
  100. , '>>>': undefined
  101. , '<<=': undefined
  102. , '>>=': undefined
  103. , '>>>=': undefined
  104. , _default: undefined
  105. }
  106. // line comment
  107. , Line: {
  108. _default: undefined
  109. }
  110. /* block comment */
  111. , Block: {
  112. _default: undefined
  113. }
  114. , _default: undefined
  115. }