메소드 |
설명 |
|
allElements ( ) |
Check for all elements designators. Due to the new CSS 3 namespace
support, this is slightly more complicated, now, as it handles
the *|name and *|* cases as well as *. |
|
attribute ( ) |
Handler an attribute. |
|
combinator ( ) |
Handle one of the five combinators: '>', '+', ' ', '~', and ','. |
|
consumeWhitespace ( ) |
Consume whitespace and return a count of the number of whitespace consumed. |
|
elementClass ( ) |
Handles CSS class selectors. |
|
elementID ( ) |
Handles CSS ID selectors. |
|
elementName ( ) |
Handle element names. |
|
isCombinator ( $tok ) |
Check if the token is a combinator. |
|
pseudoClass ( $restricted = false ) |
Handle a pseudo-class and pseudo-element. |
|
pseudoClassValue ( ) : string |
Get the value of a pseudo-classes. |
|
selector ( ) |
Handle an entire CSS selector. |
|
simpleSelectors ( ) |
Handle a simple selector. |
|
throwError ( $expected, $got ) |
Utility for throwing a consistantly-formatted parse error. |
|