o
    ‡ÎÖa?  ã                   @   sf   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mZmZ dgZG dd„ deƒZdS )zÙ
    pygments.lexers.spice
    ~~~~~~~~~~~~~~~~~~~~~

    Lexers for the Spice programming language.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexerÚbygroupsÚwords)	ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚ
SpiceLexerc                   @   sÜ   e Zd ZdZdZdgZddgZdgZej	ej
B Zddefd	efd
efdejfdejfdejfdejfeddd�efdejfeddd�eejeƒfeddd�ejfdejfdejfdejfdefdefdefdej fgiZ!dS )r   zQ
    For `Spice <http://spicelang.com>`_ source.

    .. versionadded:: 2.11
    ÚSpicez*.spiceÚspiceÚ	spicelangztext/x-spiceÚrootz\nz\s+z\\\nz	//(.*?)\nz/(\\\n)?[*](.|\n)*?[*](\\\n)?/z(import|as)\bz(f|p|type|struct|const)\b)
ÚifÚelseÚforÚforeachÚwhileÚbreakÚcontinueÚreturnÚnewÚextz\b)Úsuffixz(true|false)\b)ÚprintfÚsizeofz\b(\())	ÚdoubleÚintÚshortÚlongÚbyteÚcharÚstringÚboolÚdynz+\d+(\.\d+[eE][+\-]?\d+|\.\d*|[eE][+\-]?\d+)z\.\d+([eE][+\-]?\d+)?z(0|[1-9][0-9]*)z"(\\\\|\\[^\\]|[^"\\])*"zQ(<<=|>>=|<<|>>|<=|>=|\+=|-=|\*=|/=|&&|\|\||&|\||\+\+|--|\%|==|!=|[.]{3}|[+\-*/&])z[|<>=!()\[\]{}.,;:\?]z
[^\W\d]\w*N)"Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚ	filenamesÚaliasesÚ	mimetypesÚreÚ	MULTILINEÚUNICODEÚflagsr   r   r   ÚSingleÚ	Multiliner   Ú	NamespaceÚDeclarationr   ÚConstantr   r	   ÚBuiltinr   ÚTyper   ÚDoubleÚIntegerr
   r   ÚOtherÚtokens© r@   r@   ú7/usr/lib/python3/dist-packages/pygments/lexers/spice.pyr      s8    èÿ)r,   r1   Úpygments.lexerr   r   r   Úpygments.tokenr   r   r   r   r	   r
   r   r   r   Ú__all__r   r@   r@   r@   rA   Ú<module>   s    
,