Skip to content

Commit 070b2f8

Browse files
kpdeckerfb55
authored andcommitted
Add remaining parsed outputs (#25)
1 parent af801e4 commit 070b2f8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

readme.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)