diff options
Diffstat (limited to 'vanilla/node_modules/css-tree/lib/syntax/node/MediaQueryList.js')
| -rw-r--r-- | vanilla/node_modules/css-tree/lib/syntax/node/MediaQueryList.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/vanilla/node_modules/css-tree/lib/syntax/node/MediaQueryList.js b/vanilla/node_modules/css-tree/lib/syntax/node/MediaQueryList.js deleted file mode 100644 index 1c16bcd..0000000 --- a/vanilla/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +++ /dev/null @@ -1,34 +0,0 @@ -import { Comma } from '../../tokenizer/index.js'; - -export const name = 'MediaQueryList'; -export const structure = { - children: [[ - 'MediaQuery' - ]] -}; - -export function parse() { - const children = this.createList(); - - this.skipSC(); - - while (!this.eof) { - children.push(this.MediaQuery()); - - if (this.tokenType !== Comma) { - break; - } - - this.next(); - } - - return { - type: 'MediaQueryList', - loc: this.getLocationFromList(children), - children - }; -} - -export function generate(node) { - this.children(node, () => this.token(Comma, ',')); -} |
