Sha256: 1b1cfdca245f0470ffde8b524687cce350f8728f1a44eb86179e12e530f8c7e3
Contents?: true
Size: 789 Bytes
Versions: 60
Compression:
Stored size: 789 Bytes
Contents
var COMMA = require('../../tokenizer').TYPE.Comma; module.exports = { name: 'MediaQueryList', structure: { children: [[ 'MediaQuery' ]] }, parse: function(relative) { var children = this.createList(); this.scanner.skipSC(); while (!this.scanner.eof) { children.push(this.MediaQuery(relative)); if (this.scanner.tokenType !== COMMA) { break; } this.scanner.next(); } return { type: 'MediaQueryList', loc: this.getLocationFromList(children), children: children }; }, generate: function(node) { this.children(node, function() { this.chunk(','); }); } };
Version data entries
60 entries across 33 versions & 10 rubygems