File: //opt/alt/python312/lib64/python3.12/lib2to3/__pycache__/btm_utils.cpython-312.opt-1.pyc
�
�-�ntt� � � d Z ddlmZ ddlmZmZ ddlmZmZ eZ eZ
ej ZeZ
dZdZdZ G d� d e� Zdd�Zd� Zd
� Zy
)z0Utility functions used by the btm_matcher module� )�pytree)�grammar�token)�pattern_symbols�python_symbols���������c �0 � e Zd ZdZdd�Zd� Zd� Zd� Zd� Zy) �MinNodez�This class serves as an intermediate representation of the
pattern tree during the conversion to sets of leaf-to-root
subpatternsNc �f � || _ || _ g | _ d| _ d | _ g | _ g | _ y )NF)�type�name�children�leaf�parent�alternatives�group)�selfr r s �8/opt/alt/python312/lib64/python3.12/lib2to3/btm_utils.py�__init__zMinNode.__init__ s4 � ��� ��� ���
��� ���������
� c �^ � t | j � dz t | j � z S )N� )�strr r )r s r �__repr__zMinNode.__repr__ s"