This file contains the tools necessary for parsing CSS 3 selectors. In the future it may be expanded to handle all of CSS 3.
The parser contained herein is has an event-based API. Implementors should begin by implementing the CssEventHandler interface. For an example of how this is done, see CssEventHandler.php.
CLASS NAME | DESCRIPTION |
| CssEventHandler | An event handler for handling CSS 3 Selector parsing. |
| CssToken | Tokens for CSS. |
| CssParser | Parse a CSS selector. |
| CssScanner | Scanner for CSS selector parsing. |
| CssInputStream | Simple wrapper to turn a string into an input stream. |
| CSSParseException | Exception indicating an error in CSS parsing. |