Skip to content

Commit

Permalink
Add remaining parsed outputs (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker authored and fb55 committed Sep 30, 2018
1 parent af801e4 commit 070b2f8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion readme.md
Expand Up @@ -30,12 +30,17 @@ name | attributes | example | output
`universal`| - | `*` | `{ type: 'universal' }`
`pseudo`| `name`, `data`|`:name(data)`| `{ type: 'pseudo', name: 'name', data: 'data' }`
`pseudo`| `name`, `data`|`:name`| `{ type: 'pseudo', name: 'name', data: null }`
`pseudo-element`| `name` |`::name`| `{ type: 'pseudo-element', name: 'name' }`
`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr]`|`{ type: 'attribute', name: 'attr', action: 'exists', value: '', ignoreCase: false }`
`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr=val]`|`{ type: 'attribute', name: 'attr', action: 'equals', value: 'val', ignoreCase: false }`
`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr^=val]`|`{ type: 'attribute', name: 'attr', action: 'start', value: 'val', ignoreCase: false }`
`attribute`|`name`, `action`, `value`, `ignoreCase`|`[attr$=val]`|`{ type: 'attribute', name: 'attr', action: 'end', value: 'val', ignoreCase: false }`
`child`| - | `>` | `{ type: 'child' }`
`parent`| - | `<` | `{ type: 'parent' }`
`sibling`| - | `~` | `{ type: 'sibling' }`
`adjacent`| - | `+` | `{ type: 'adjacent' }`
`descendant`| - | | `{ type: 'descendant' }`

//TODO complete list

__Options:__

Expand Down

0 comments on commit 070b2f8

Please sign in to comment.