# Class PseudoSelector

This class represents a CSS pseudo selector, for example, :nth-child, :empty, :not

Namespace: WPGMZA\Selector
Located at class.selector-to-xpath.php

Methods summary
`public` | # `parse( `WPGMZA\Selector\TokenStream` $stream, `WPGMZA\Selector\Selector` $selector )` Parses this selector from the given stream, on the supplied selector Parses this selector from the given stream, on the supplied selector #### Parameters $stream The token stream to read from $selector The CSS selector this pseudo-selector is part of #### Throws `WPGMZA\Selector\ParseException` Pseudo selector not supported server side `WPGMZA\Selector\ParseException` Pseudo selector not yet implemented `WPGMZA\Selector\ParseException` Unknown pseudo selector `WPGMZA\Selector\ParseException` :not pseudo selector cannot be nested (as per the CSS specs) `WPGMZA\Selector\ParseException` Invalid CSS in the selector

Properties summary
`public` | $name | # ``
`public` | $expression | # ``
`public` | $selector | # ``