diff options
Diffstat (limited to 'vanilla/node_modules/css-tree/lib/syntax/node/String.js')
| -rw-r--r-- | vanilla/node_modules/css-tree/lib/syntax/node/String.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vanilla/node_modules/css-tree/lib/syntax/node/String.js b/vanilla/node_modules/css-tree/lib/syntax/node/String.js deleted file mode 100644 index 95e1aaa..0000000 --- a/vanilla/node_modules/css-tree/lib/syntax/node/String.js +++ /dev/null @@ -1,19 +0,0 @@ -import { String as StringToken } from '../../tokenizer/index.js'; -import { decode, encode } from '../../utils/string.js'; - -export const name = 'String'; -export const structure = { - value: String -}; - -export function parse() { - return { - type: 'String', - loc: this.getLocation(this.tokenStart, this.tokenEnd), - value: decode(this.consume(StringToken)) - }; -} - -export function generate(node) { - this.token(StringToken, encode(node.value)); -} |
