File: //usr/local/CyberPanel/lib/python3.10/site-packages/django/utils/__pycache__/jslex.cpython-310.pyc
o
�hp � @ sN d Z ddlZG dd� d�Zddd�ZG dd � d �ZG d
d� de�Zdd
� ZdS )zJsLex: a lexer for JavaScript� Nc @ s e Zd ZdZdZddd�ZdS )�Tokz,
A specification for a token class.
r Nc C s, t j| _t jd7 _|| _|| _|| _d S )N� )r �num�id�name�regex�next)�selfr r r � r
�H/usr/local/CyberPanel/lib/python3.10/site-packages/django/utils/jslex.py�__init__
s
zTok.__init__�N)�__name__�
__module__�__qualname__�__doc__r r r
r
r
r r s r � c s d� � �fdd�| �� D ��S )z�
Create a regex from a space-separated list of literal `choices`.
If provided, `prefix` and `suffix` will be attached to each choice
individually.
�|c 3 s"