aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/css-tree/cjs/syntax/node/Value.cjs
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/node_modules/css-tree/cjs/syntax/node/Value.cjs')
-rw-r--r--vanilla/node_modules/css-tree/cjs/syntax/node/Value.cjs26
1 files changed, 26 insertions, 0 deletions
diff --git a/vanilla/node_modules/css-tree/cjs/syntax/node/Value.cjs b/vanilla/node_modules/css-tree/cjs/syntax/node/Value.cjs
new file mode 100644
index 0000000..bdb322e
--- /dev/null
+++ b/vanilla/node_modules/css-tree/cjs/syntax/node/Value.cjs
@@ -0,0 +1,26 @@
+'use strict';
+
+const name = 'Value';
+const structure = {
+ children: [[]]
+};
+
+function parse() {
+ const start = this.tokenStart;
+ const children = this.readSequence(this.scope.Value);
+
+ return {
+ type: 'Value',
+ loc: this.getLocation(start, this.tokenStart),
+ children
+ };
+}
+
+function generate(node) {
+ this.children(node);
+}
+
+exports.generate = generate;
+exports.name = name;
+exports.parse = parse;
+exports.structure = structure;