first commit

This commit is contained in:
monjack
2025-06-20 18:01:48 +08:00
commit 6daa6d65c1
24611 changed files with 2512443 additions and 0 deletions

View File

@ -0,0 +1,9 @@
var DISALLOW_OF_CLAUSE = false;
module.exports = {
parse: function nth() {
return this.createSingleNodeList(
this.Nth(DISALLOW_OF_CLAUSE)
);
}
};

View File

@ -0,0 +1,9 @@
var ALLOW_OF_CLAUSE = true;
module.exports = {
parse: function nthWithOfClause() {
return this.createSingleNodeList(
this.Nth(ALLOW_OF_CLAUSE)
);
}
};

View File

@ -0,0 +1,7 @@
module.exports = {
parse: function selectorList() {
return this.createSingleNodeList(
this.SelectorList()
);
}
};

View File

@ -0,0 +1,7 @@
module.exports = {
parse: function() {
return this.createSingleNodeList(
this.Identifier()
);
}
};

View File

@ -0,0 +1,7 @@
module.exports = {
parse: function() {
return this.createSingleNodeList(
this.SelectorList()
);
}
};

View File

@ -0,0 +1,12 @@
module.exports = {
'dir': require('./dir'),
'has': require('./has'),
'lang': require('./lang'),
'matches': require('./matches'),
'not': require('./not'),
'nth-child': require('./nth-child'),
'nth-last-child': require('./nth-last-child'),
'nth-last-of-type': require('./nth-last-of-type'),
'nth-of-type': require('./nth-of-type'),
'slotted': require('./slotted')
};

View File

@ -0,0 +1,7 @@
module.exports = {
parse: function() {
return this.createSingleNodeList(
this.Identifier()
);
}
};

View File

@ -0,0 +1 @@
module.exports = require('./common/selectorList');

View File

@ -0,0 +1 @@
module.exports = require('./common/selectorList');

View File

@ -0,0 +1 @@
module.exports = require('./common/nthWithOfClause');

View File

@ -0,0 +1 @@
module.exports = require('./common/nthWithOfClause');

View File

@ -0,0 +1 @@
module.exports = require('./common/nth');

View File

@ -0,0 +1 @@
module.exports = require('./common/nth');

View File

@ -0,0 +1,7 @@
module.exports = {
parse: function compoundSelector() {
return this.createSingleNodeList(
this.Selector()
);
}
};