File: //usr/lib/python3/dist-packages/django/utils/__pycache__/jslex.cpython-310.pyc
o
3�a � @ 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
�4/usr/lib/python3/dist-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"