@@ -15,8 +15,8 @@ handle.unknown = unknownNesting
1515handle . invalid = topScan // `undefined` is the top query selector.
1616handlers . null = descendant // `null` is the descendant combinator.
1717handlers [ '>' ] = child
18- handlers [ '+' ] = adjacentSibling
19- handlers [ '~' ] = generalSibling
18+ handlers [ '+' ] = nextSibling
19+ handlers [ '~' ] = subsequentSibling
2020
2121function match ( query , node , index , parent , state ) {
2222 return handle ( query , node , index , parent , state )
@@ -70,7 +70,7 @@ function child(query, node, index, parent, state) {
7070 . done ( )
7171}
7272
73- function adjacentSibling ( query , node , index , parent , state ) {
73+ function nextSibling ( query , node , index , parent , state ) {
7474 /* istanbul ignore if - Shouldn’t happen. */
7575 if ( ! parent ) {
7676 return
@@ -83,7 +83,7 @@ function adjacentSibling(query, node, index, parent, state) {
8383 . done ( )
8484}
8585
86- function generalSibling ( query , node , index , parent , state ) {
86+ function subsequentSibling ( query , node , index , parent , state ) {
8787 /* istanbul ignore if - Shouldn’t happen. */
8888 if ( ! parent ) {
8989 return
0 commit comments