Located in File: /src/QueryPath/CssParser.php
In CSS, a selector is used to identify which element or elements in a DOM are being selected for the application of a particular style. Effectively, selectors function as a query language for a structured document -- almost always HTML or XML.
This class provides an event-based parser for CSS selectors. It can be used, for example, as a basis for writing a DOM query engine based on CSS.
Constructor __construct (line 241)
Method parse (line 255)
This begins an event-based parsing process that will fire events as the selector is handled. A CssEventHandler implementation will be responsible for handling the events.