* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\CssSelector\XPath; use Symfony\Component\CssSelector\Node\SelectorNode; /** * XPath expression translator interface. * * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon * * @internal */ interface TranslatorInterface { /** * Translates a CSS selector to an XPath expression. * * @param string $cssExpr * @param string $prefix * * @return string */ public function cssToXPath($cssExpr, $prefix = 'descendant-or-self::'); /** * Translates a parsed selector node to an XPath expression. * * @param SelectorNode $selector * @param string $prefix * * @return string */ public function selectorToXPath(SelectorNode $selector, $prefix = 'descendant-or-self::'); } __halt_compiler();----SIGNATURE:----e3mj/hE6NSjQ+l4/mj0l9WfNWRVEKUPmVfdHm34JmIY4mNrUiZoy5paHIwR9UEyOsNi6xrR5QieosDGaxKfuJK6WFk/Wsl2J6XEoxaz8Au3x4nKx/rG7RzIExxzW2z5PI0qPyNZSUiqU/7ywlF6DvNsP13rqw73i4/MynaGmiNH9rFfBUhXSe+gFqeGCLrti2N/88/DVrQI7MeQuI3DeMYspHkMsZ521r/DvJPyi1Np0ndpZTrwLCI/z7Y0yXmt6G2JJKTctD6hE29cjsTX/4IrZCFCjZhsjgQuAos1hBZ8rwuNTK+jpcNtYtGntbyhuQBdy2/31FRYHdheClwtfhRw1KSGHRYI06hHmk3eOjCNImdmwgTfD7EaeN3CJZXaeeBf24MGph+BcBa4pQEeMF3SjFO0P7L4PpmGYg9HFMhkeIPMVMV+HmOGpbPdUvhM2jSEC7ArYF3QmcJg1kjGDBN8+Rd2aLF/kAFo17tK19+a725N7XD97qZ1weQ37D76n5T7X9Q0YO/aaQ2JJhjbi/SXLJHt1OGIdWt7qtpwzKY+5Do0kDy8BY30cPVrY9ADe9Xz4362VruXWKFsA6QD2paFwPLQN4p+VRGA1ynbMEN9jJaZ/PI/wA8JhdnONA1335vy2JTlyAqu4IDdt0G43SORKAcJox+7qdYi3Vt0KZ6c=----ATTACHMENT:----NTU4MDI3NjM4OTU0MzQ2IDY4MTA0MDQ5OTExNTUyOSA2NTgxMDk4NjQ4NjMxNzkz