Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
Cj6 @ sr d dl Z d dlmZ d dlmZ ddlmZ ddlmZ e jdj Z
ddd ZG d
d deZ
dd
Zdd ZdS ) N) parse_nth)ascii_lower )parser)
SelectorErrorz [^
]+c C s dd t j| |D S )a Compile a (comma-separated) list of selectors.
:param input:
A string, or an iterable of tinycss2 component values such as
the :attr:`tinycss2.ast.QualifiedRule.prelude` of a style rule.
:param namespaces:
A optional dictionary of all `namespace prefix declarations
`_ in scope for this selector.
Keys are namespace prefixes as strings, or ``None`` for the default
namespace.
Values are namespace URLs as strings.
If omitted, assume that no prefix is declared.
:returns:
A list of opaque :class:`compiler.CompiledSelector` objects.
c S s g | ]}t |qS )CompiledSelector).0selectorr r 9/tmp/pip-build-_d5lkt3n/cssselect2/cssselect2/compiler.py
s z)compile_selector_list..)r parse)input
namespacesr r r compile_selector_list
s r c @ s e Zd ZdZdd ZdS )r z&Abstract representation of a selector.c C s t |j}|dk| _td| ttdi | _|j| _|j| _d | _ d | _
d | _d | _d | _
d| _|j}t|tjrx|j}x|jD ]}t|tjr|j| _ qt|tjr|j
| _
qt|tjr|j| _|j| _qt|tjr|j
| _
qt|tjo|jdkrd| _qW d S )N0zlambda el: )split_whitespacer FlangT)
_compile_nodeZparsed_treeZ
never_matchesevalr r testZspecificityZpseudo_elementid
class_name
local_namelower_local_name namespaceZrequires_lang_attr
isinstancer CombinedSelectorrightsimple_selectors
IDSelectorident
ClassSelectorLocalNameSelectorNamespaceSelectorAttributeSelectorname)selfZparsed_selectorsourcenodeZsimple_selectorr r r __init__&