You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
831 B

4 years ago
  1. var Token = {
  2. AT_RULE: 'at-rule', // e.g. `@import`, `@charset`
  3. AT_RULE_BLOCK: 'at-rule-block', // e.g. `@font-face{...}`
  4. AT_RULE_BLOCK_SCOPE: 'at-rule-block-scope', // e.g. `@font-face`
  5. COMMENT: 'comment', // e.g. `/* comment */`
  6. NESTED_BLOCK: 'nested-block', // e.g. `@media screen{...}`, `@keyframes animation {...}`
  7. NESTED_BLOCK_SCOPE: 'nested-block-scope', // e.g. `@media`, `@keyframes`
  8. PROPERTY: 'property', // e.g. `color:red`
  9. PROPERTY_BLOCK: 'property-block', // e.g. `--var:{color:red}`
  10. PROPERTY_NAME: 'property-name', // e.g. `color`
  11. PROPERTY_VALUE: 'property-value', // e.g. `red`
  12. RAW: 'raw', // e.g. anything between /* clean-css ignore:start */ and /* clean-css ignore:end */ comments
  13. RULE: 'rule', // e.g `div > a{...}`
  14. RULE_SCOPE: 'rule-scope' // e.g `div > a`
  15. };
  16. module.exports = Token;