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.

25 lines
755 B

4 years ago
  1. module.exports = {
  2. parseContext: {
  3. default: 'StyleSheet',
  4. stylesheet: 'StyleSheet',
  5. atrule: 'Atrule',
  6. atrulePrelude: function(options) {
  7. return this.AtrulePrelude(options.atrule ? String(options.atrule) : null);
  8. },
  9. mediaQueryList: 'MediaQueryList',
  10. mediaQuery: 'MediaQuery',
  11. rule: 'Rule',
  12. selectorList: 'SelectorList',
  13. selector: 'Selector',
  14. block: function() {
  15. return this.Block(true);
  16. },
  17. declarationList: 'DeclarationList',
  18. declaration: 'Declaration',
  19. value: 'Value'
  20. },
  21. scope: require('../scope'),
  22. atrule: require('../atrule'),
  23. pseudo: require('../pseudo'),
  24. node: require('../node')
  25. };