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