equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 /* |
|
4 * This file is part of the Symfony package. |
|
5 * |
|
6 * (c) Fabien Potencier <fabien@symfony.com> |
|
7 * |
|
8 * For the full copyright and license information, please view the LICENSE |
|
9 * file that was distributed with this source code. |
|
10 */ |
|
11 |
|
12 namespace Symfony\Component\CssSelector\Node; |
|
13 |
|
14 /** |
|
15 * ClassNode represents a "selector.className" node. |
|
16 * |
|
17 * This component is a port of the Python lxml library, |
|
18 * which is copyright Infrae and distributed under the BSD license. |
|
19 * |
|
20 * @author Fabien Potencier <fabien@symfony.com> |
|
21 */ |
|
22 interface NodeInterface |
|
23 { |
|
24 /** |
|
25 * Returns a string representation of the object. |
|
26 * |
|
27 * @return string The string representation |
|
28 */ |
|
29 function __toString(); |
|
30 |
|
31 /** |
|
32 * @return XPathExpr The XPath expression |
|
33 * |
|
34 * @throws ParseException When unknown operator is found |
|
35 */ |
|
36 function toXpath(); |
|
37 } |