lxml.cssselect.CombinedSelector

Package lxml :: Module cssselect :: Class CombinedSelector |
[hide private]
[frames] | no frames]

# Class CombinedSelector

source code

    object --+
             |
            CombinedSelector

Instance Methods | [hide private]
__init__(self, selector, combinator, subselector) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
__repr__(self) repr(x) | source code
xpath(self) | source code
_xpath_descendant(self, xpath, sub) | source code
_xpath_child(self, xpath, sub) | source code
_xpath_direct_adjacent(self, xpath, sub) | source code
_xpath_indirect_adjacent(self, xpath, sub) | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| _method_mapping = ``{``'``` `'``:` `'``descendant``'``,` `'``+``'``:` `'``direct_adjacent``'``,` `...``

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, selector, combinator, subselector) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

Class Variable Details | [hide private]

  ### _method_mapping Value:
      {' ': 'descendant',
       '+': 'direct_adjacent',
       '>': 'child',
       '~': 'indirect_adjacent'}