Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/tinycss2/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

6 statements  

1""" 

2tinycss2 

3======== 

4 

5tinycss2 is a low-level CSS parser and generator: it can parse strings, return 

6Python objects representing tokens and blocks, and generate CSS strings 

7corresponding to these objects. 

8 

9""" 

10 

11from .bytes import parse_stylesheet_bytes # noqa 

12from .parser import ( # noqa 

13 parse_blocks_contents, parse_declaration_list, parse_one_component_value, 

14 parse_one_declaration, parse_one_rule, parse_rule_list, parse_stylesheet) 

15from .serializer import serialize, serialize_identifier # noqa 

16from .tokenizer import parse_component_value_list # noqa 

17 

18VERSION = __version__ = '1.4.0'