class AbstractExtension implements ExtensionInterface

XPath expression translator abstract extension.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Methods

callable[]
getNodeTranslators()

Returns node translators.

callable[]
getCombinationTranslators()

Returns combination translators.

callable[]
getFunctionTranslators()

Returns function translators.

callable[]
getPseudoClassTranslators()

Returns pseudo-class translators.

callable[]
getAttributeMatchingTranslators()

Returns attribute operation translators.

Details

at line line 27
callable[] getNodeTranslators()

Returns node translators.

These callables will receive the node as first argument and the translator as second argument.

Return Value

callable[]

at line line 35
callable[] getCombinationTranslators()

Returns combination translators.

Return Value

callable[]

at line line 43
callable[] getFunctionTranslators()

Returns function translators.

Return Value

callable[]

at line line 51
callable[] getPseudoClassTranslators()

Returns pseudo-class translators.

Return Value

callable[]

at line line 59
callable[] getAttributeMatchingTranslators()

Returns attribute operation translators.

Return Value

callable[]