Juho Nurminen
|
66d325d362
Fixes #58: check attribute type before matching against a regexp (#62)
|
6 éve |
Toru Nagashima
|
5b52892131
Fix: add MetaProperty and TemplateLiteral to :expression class (#59)
|
7 éve |
Nick Wronski
|
334525423f
Added :has() pseudo-selector to grammar.
|
9 éve |
Teddy Katz
|
84c63c20c6
Check whether a sibling/adjacent query is necessary before running it
|
7 éve |
Teddy Katz
|
8e64df17bb
Use LEFT_SIDE and RIGHT_SIDE constants instead of strings
|
7 éve |
Teddy Katz
|
b171617c10
Make sibling/adjacent selector only match following siblings (fixes #23)
|
7 éve |
jrfeenst
|
49584715ab
Merge pull request #19 from michaelficarra/GH-6
|
11 éve |
Michael Ficarra
|
33d64d95ab
make class selectors case insensitive
|
11 éve |
Michael Ficarra
|
8dbce52625
fixes #6: add selector for classes of node types
|
11 éve |
Michael Ficarra
|
9f32c8f217
fixes #16: allow attribute selector to match non-String values
|
11 éve |
jrfeenst
|
a31399fe6b
Merge pull request #14 from michaelficarra/peg-parser
|
11 éve |
Michael Ficarra
|
d2c4fb968f
move assignments out of tests
|
11 éve |
Michael Ficarra
|
515f920417
fixes #11: generate parser using PEG.js; fixes #7; fixes #9
|
11 éve |
Michael Ficarra
|
1e3057e5ca
manually lift variable declarations to top of scope
|
11 éve |
Michael Ficarra
|
9014edcf6b
death by 1000 gratuitous braces
|
11 éve |
Michael Ficarra
|
99985668bf
refactor, clean up, and comment sibling, adjacent, and nthChild
|
11 éve |
Michael Ficarra
|
40aaeb1440
DRY sibling, adjacent, nth-child, and nth-last-child matchers
|
11 éve |
Michael Ficarra
|
84bb4f7797
implement arbitrary subject matching; fix sibling and adjacent matches
|
11 éve |
Michael Ficarra
|
0e2f652ecb
add comments
|
11 éve |
Michael Ficarra
|
83aa67afe4
consistent styling
|
11 éve |
Michael Ficarra
|
f612a2f19e
use consistent (node, selector) ordering for interfaces
|
11 éve |
Michael Ficarra
|
68515da350
fix field implementation
|
11 éve |
Michael Ficarra
|
4c707914fa
rewrite
|
11 éve |
Joel Feenstra
|
238960c39a
Make node type matching case insensitive.
|
11 éve |
Joel Feenstra
|
228300e0a1
Add a node cache to improve performance of type and wildcard queries.
|
11 éve |
Joel Feenstra
|
1dc247254e
Fix a regression in multilevel complex selectors.
|
11 éve |
Joel Feenstra
|
b3de11f050
Add # as an optional prefix to type selectors to allow better syntax in
|
11 éve |
Joel Feenstra
|
668b0215f8
Add support for parent field name selector. This will return the nodes
|
11 éve |
Joel Feenstra
|
71d48cbd0f
Add period as an operator for later use in parent attribute selector.
|
11 éve |
Joel Feenstra
|
2e4ad854cd
Refactor the parser to better handle some cases such as compound
|
11 éve |