0x1949 Team - FAZEMRX - MANAGER
Edit File: formatter.cpython-310.pyc
o �|�ar@ � @ s� d dl mZ dZdZdZzd dlmZmZ d dlm Z m Z W n ey' Y nw G dd� de�Z e d e�Ze d e�Zdd� Zd d� ZdS )� )�Deb822Token�is_value� is_comment�is_separator)�Iterator�Union)�TokenOrElement�FormatterCallbackc @ s� e Zd ZdZdZdd� Zedd� �Zedd� �Zed d � �Z edd� �Z ed d� �Zedd� �Z edd� �Zedd� �Zedd� �Zdd� Zdd� ZdS )�FormatterContentTokenz�Typed, tagged text for use with the formatting API The FormatterContentToken is used by the formatting API and provides the formatter callback with context about the textual tokens it is supposed to format. ��_text� _content_typec C s || _ || _d S �Nr )�self�text�content_type� r �@/usr/lib/python3/dist-packages/debian/_deb822_repro/formatter.py�__init__ s zFormatterContentToken.__init__c C sD t |t�r|jr| �|j�S |jrtd��| �|j�S | �|�� �S )Nz)FormatterContentType cannot be whitespace) � isinstancer r � comment_tokenr � is_whitespace� ValueError�value_token�convert_to_text)�cls�token_or_elementr r r �from_token_or_element s z+FormatterContentToken.from_token_or_elementc C s"