diff options
Diffstat (limited to 'vanilla/node_modules/css-tree/cjs/syntax/node/WhiteSpace.cjs')
| -rw-r--r-- | vanilla/node_modules/css-tree/cjs/syntax/node/WhiteSpace.cjs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/vanilla/node_modules/css-tree/cjs/syntax/node/WhiteSpace.cjs b/vanilla/node_modules/css-tree/cjs/syntax/node/WhiteSpace.cjs deleted file mode 100644 index 50c1982..0000000 --- a/vanilla/node_modules/css-tree/cjs/syntax/node/WhiteSpace.cjs +++ /dev/null @@ -1,34 +0,0 @@ -'use strict'; - -const types = require('../../tokenizer/types.cjs'); - -const SPACE = Object.freeze({ - type: 'WhiteSpace', - loc: null, - value: ' ' -}); - -const name = 'WhiteSpace'; -const structure = { - value: String -}; - -function parse() { - this.eat(types.WhiteSpace); - return SPACE; - - // return { - // type: 'WhiteSpace', - // loc: this.getLocation(this.tokenStart, this.tokenEnd), - // value: this.consume(WHITESPACE) - // }; -} - -function generate(node) { - this.token(types.WhiteSpace, node.value); -} - -exports.generate = generate; -exports.name = name; -exports.parse = parse; -exports.structure = structure; |
