From c89dddd41b820dd0576ba50a64c70931fe10191e Mon Sep 17 00:00:00 2001 From: Kevin Decker Date: Sun, 30 Sep 2018 07:51:06 -0500 Subject: [PATCH] Add remaining parsed outputs --- readme.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index ececd104..4097a95a 100644 --- a/readme.md +++ b/readme.md @@ -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:__