aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/css-tree/lib/syntax/node/Selector.js
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/node_modules/css-tree/lib/syntax/node/Selector.js')
-rw-r--r--vanilla/node_modules/css-tree/lib/syntax/node/Selector.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/vanilla/node_modules/css-tree/lib/syntax/node/Selector.js b/vanilla/node_modules/css-tree/lib/syntax/node/Selector.js
deleted file mode 100644
index 36028e0..0000000
--- a/vanilla/node_modules/css-tree/lib/syntax/node/Selector.js
+++ /dev/null
@@ -1,31 +0,0 @@
-export const name = 'Selector';
-export const structure = {
- children: [[
- 'TypeSelector',
- 'IdSelector',
- 'ClassSelector',
- 'AttributeSelector',
- 'PseudoClassSelector',
- 'PseudoElementSelector',
- 'Combinator'
- ]]
-};
-
-export function parse() {
- const children = this.readSequence(this.scope.Selector);
-
- // nothing were consumed
- if (this.getFirstListNode(children) === null) {
- this.error('Selector is expected');
- }
-
- return {
- type: 'Selector',
- loc: this.getLocationFromList(children),
- children
- };
-}
-
-export function generate(node) {
- this.children(node);
-}