From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- .../css-tree/lib/syntax/node/ClassSelector.js | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 node_modules/css-tree/lib/syntax/node/ClassSelector.js (limited to 'node_modules/css-tree/lib/syntax/node/ClassSelector.js') diff --git a/node_modules/css-tree/lib/syntax/node/ClassSelector.js b/node_modules/css-tree/lib/syntax/node/ClassSelector.js deleted file mode 100644 index febb0d96..00000000 --- a/node_modules/css-tree/lib/syntax/node/ClassSelector.js +++ /dev/null @@ -1,24 +0,0 @@ -import { Delim, Ident } from '../../tokenizer/index.js'; - -const FULLSTOP = 0x002E; // U+002E FULL STOP (.) - -// '.' ident -export const name = 'ClassSelector'; -export const structure = { - name: String -}; - -export function parse() { - this.eatDelim(FULLSTOP); - - return { - type: 'ClassSelector', - loc: this.getLocation(this.tokenStart - 1, this.tokenEnd), - name: this.consume(Ident) - }; -} - -export function generate(node) { - this.token(Delim, '.'); - this.token(Ident, node.name); -} -- cgit v1.2.3