aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/css-tree/cjs/syntax/node/SupportsDeclaration.cjs
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/node_modules/css-tree/cjs/syntax/node/SupportsDeclaration.cjs')
-rw-r--r--vanilla/node_modules/css-tree/cjs/syntax/node/SupportsDeclaration.cjs38
1 files changed, 0 insertions, 38 deletions
diff --git a/vanilla/node_modules/css-tree/cjs/syntax/node/SupportsDeclaration.cjs b/vanilla/node_modules/css-tree/cjs/syntax/node/SupportsDeclaration.cjs
deleted file mode 100644
index fcac089..0000000
--- a/vanilla/node_modules/css-tree/cjs/syntax/node/SupportsDeclaration.cjs
+++ /dev/null
@@ -1,38 +0,0 @@
-'use strict';
-
-const types = require('../../tokenizer/types.cjs');
-
-const name = 'SupportsDeclaration';
-const structure = {
- declaration: 'Declaration'
-};
-
-function parse() {
- const start = this.tokenStart;
-
- this.eat(types.LeftParenthesis);
- this.skipSC();
-
- const declaration = this.Declaration();
-
- if (!this.eof) {
- this.eat(types.RightParenthesis);
- }
-
- return {
- type: 'SupportsDeclaration',
- loc: this.getLocation(start, this.tokenStart),
- declaration
- };
-}
-
-function generate(node) {
- this.token(types.LeftParenthesis, '(');
- this.node(node.declaration);
- this.token(types.RightParenthesis, ')');
-}
-
-exports.generate = generate;
-exports.name = name;
-exports.parse = parse;
-exports.structure = structure;