o
    n’×iu  ã                   @   s^   d Z ddlZddlmZmZmZ ddlmZmZm	Z	m
Z
mZmZmZ dgZG dd„ deƒZdS )zÙ
    pygments.lexers.resource
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for resource definition files.

    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexerÚbygroupsÚwords)ÚCommentÚStringÚNumberÚOperatorÚTextÚKeywordÚNameÚResourceLexerc                   @   sŠ  e Zd ZdZdZddgZdgZdZej	ej
B Zdefded	fd
ejfdefdd e¡ eeeeƒfdefeeƒefgdefdejdfdedfgdeeejƒdfgdejdfdejdfdeeejeejƒdfdeeejeejeejejejeejejejƒdfdeeejeejeejƒdfdejfgdeeejejƒdfdeejejƒdfdejdfdejfgdejdfdejdfdefgd œZd!d"„ Zd#S )$r   zzLexer for `ICU Resource bundles
    <http://userguide.icu-project.org/locale/resources>`_.

    .. versionadded:: 2.0
    ÚResourceBundleÚresourceÚresourcebundlez*.txt)z:tablez:arrayz:stringz:binz:importz
:intvectorz:intz:aliasz//.*?$ú"Ústringz-?\d+z[,{}]z([^\s{:]+)(\s*)(%s?)ú|z\s+zc(\\x[0-9a-f]{2}|\\u[0-9a-f]{4}|\\U00[0-9a-f]{6}|\\[0-7]{1,3}|\\c.|\\[abtnvfre\'"?\\]|\\\{|[^"{\\])+z\{Úmsgnameú#popz([^{},]+)(\s*))r   Úmessagez\}z(,)(\s*)([a-z]+)(\s*\})z>(,)(\s*)([a-z]+)(\s*)(,)(\s*)(offset)(\s*)(:)(\s*)(-?\d+)(\s*)Úchoicez(,)(\s*)([a-z]+)(\s*)(,)(\s*)z(=|<|>|<=|>=|!=)(-?\d+)(\s*\{)r   z([a-z]+)(\s*\{)Ústr)r   r   z[^{}]+)Úrootr   r   r   r   r   c                 C   s   |   d¡rdS d S )Nz
root:tableg      ð?)Ú
startswith)Útext© r   úc/home/ubuntu/SoloSpeech/.venv/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/resource.pyÚanalyse_textS   s   
ÿzResourceLexer.analyse_textN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ_typesÚreÚ	MULTILINEÚ
IGNORECASEÚflagsr   r   r   ÚIntegerr   Újoinr   r   r	   r
   r   ÚEscapeÚWordÚTypeÚtokensr   r   r   r   r   r      st    
ÿ
øÿ
üÿ

ÿþýÿþôÿ
û

ý×0)r!   r&   Úpygments.lexerr   r   r   Úpygments.tokenr   r   r   r   r	   r
   r   Ú__all__r   r   r   r   r   Ú<module>   s   
$