관리-도구
편집 파일: tokenizer.cpython-38.pyc
U /?�f\ � @ s� d Z ddlZddlZddlmZmZmZmZ ddlZ ddl Z ddlZ dddddd d hZd hZ dZdZdZd ZdZdZdZG dd� de jj�ZG dd� d�ZG dd� d�ZdS )zTokenize DNS zone file format� N)�Any�List�Optional�Tuple� � � �;�(�)�"� � � � � � c @ s e Zd ZdZdS )�UngetBufferFullzDAn attempt was made to unget a token when the unget buffer was full.N)�__name__� __module__�__qualname__�__doc__� r r �;/opt/hc_python/lib/python3.8/site-packages/dns/tokenizer.pyr ( s r c @ s� e Zd ZdZd#eeeee d�dd�Z ed�d d �Z ed�dd�Zed�d d�Zed�dd�Z ed�dd�Zed�dd�Zed�dd�Zed�dd�Zdd� Zdd� Zdd� Zd d�dd �Zd d�d!d"�ZdS )$�Tokenz�A DNS zone file format token. ttype: The token type value: The token value has_escape: Does the token value contain escapes? � FN��ttype�value� has_escape�commentc C s || _ || _|| _|| _dS )zInitialize a token instance.Nr )�selfr r r r r r r �__init__4 s zToken.__init__��returnc C s | j tkS �N)r �EOF�r! r r r �is_eofB s zToken.is_eofc C s | j tkS r% )r �EOLr'