Urara-Blog/node_modules/.pnpm-store/v3/files/9f/2bf0e28da1e89774b313bd26e88a73fa67607feea86b3ae94dd5b3a749a86dab029cdeae614bb29d665a9bcd61a55792b6d6de14bb9957b0cfb32f43ecdc6c
2022-08-14 01:14:53 +08:00

48 lines
881 B
Text

const selectorList = {
parse() {
return this.createSingleNodeList(
this.SelectorList()
);
}
};
const selector = {
parse() {
return this.createSingleNodeList(
this.Selector()
);
}
};
const identList = {
parse() {
return this.createSingleNodeList(
this.Identifier()
);
}
};
const nth = {
parse() {
return this.createSingleNodeList(
this.Nth()
);
}
};
export default {
'dir': identList,
'has': selectorList,
'lang': identList,
'matches': selectorList,
'is': selectorList,
'-moz-any': selectorList,
'-webkit-any': selectorList,
'where': selectorList,
'not': selectorList,
'nth-child': nth,
'nth-last-child': nth,
'nth-last-of-type': nth,
'nth-of-type': nth,
'slotted': selector
};