@@ -30,12 +30,17 @@ name | attributes | example | output
3030` universal ` | -   | ` * `      | ` { type: 'universal' } ` 
3131` pseudo ` | ` name ` , ` data ` |` :name(data) ` | ` { type: 'pseudo', name: 'name', data: 'data' } ` 
3232` pseudo ` | ` name ` , ` data ` |` :name ` | ` { type: 'pseudo', name: 'name', data: null } ` 
33+ ` pseudo-element ` | ` name `  |` ::name ` | ` { type: 'pseudo-element', name: 'name' } ` 
3334` attribute ` |` name ` , ` action ` , ` value ` , ` ignoreCase ` |` [attr] ` |` { type: 'attribute', name: 'attr', action: 'exists', value: '', ignoreCase: false } ` 
3435` attribute ` |` name ` , ` action ` , ` value ` , ` ignoreCase ` |` [attr=val] ` |` { type: 'attribute', name: 'attr', action: 'equals', value: 'val', ignoreCase: false } ` 
3536` attribute ` |` name ` , ` action ` , ` value ` , ` ignoreCase ` |` [attr^=val] ` |` { type: 'attribute', name: 'attr', action: 'start', value: 'val', ignoreCase: false } ` 
3637` attribute ` |` name ` , ` action ` , ` value ` , ` ignoreCase ` |` [attr$=val] ` |` { type: 'attribute', name: 'attr', action: 'end', value: 'val', ignoreCase: false } ` 
38+ ` child ` | -   | ` > `      | ` { type: 'child' } ` 
39+ ` parent ` | -   | ` < `      | ` { type: 'parent' } ` 
40+ ` sibling ` | -   | ` ~ `      | ` { type: 'sibling' } ` 
41+ ` adjacent ` | -   | ` + `      | ` { type: 'adjacent' } ` 
42+ ` descendant ` | -   |      | ` { type: 'descendant' } ` 
3743
38- //TODO complete list
3944
4045__ Options:__ 
4146
0 commit comments