a
    ¨ˆc
  ã                   @   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-2022 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ZdgZddgZdg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dejfeddd�efeddd�ejfeddd�ejfdejfeddd�ejfeddd�eejeƒfdejfdejfdejfdej fdej!fdefd ej"fd!e#fd"efd#ej$fgiZ%d$S )%r   z7
    For Spice source.

    .. versionadded:: 2.11
    ZSpicezhttps://www.spicelang.comz*.spiceZspiceZ	spicelangztext/x-spiceÚrootz\nz\s+z\\\nz	//(.*?)\nz!/(\\\n)?[*]{2}(.|\n)*?[*](\\\n)?/z/(\\\n)?[*](.|\n)*?[*](\\\n)?/z(import|as)\bz(f|p|type|struct)\b)ÚifÚelseÚforZforeachÚwhileÚbreakÚcontinueÚreturnÚassertÚthreadÚunsafeÚextÚdllz\b)Úsuffix)ÚconstÚsignedZunsignedÚinlineÚpublic)ÚnewÚswitchZcaseÚyieldÚstashZpickÚsyncz(true|false|nil)\b)	ÚdoubleÚintÚshortÚlongÚbyteÚcharÚstringÚboolZdyn)ZprintfÚsizeofÚlenÚtidÚjoinz\b(\()z([0-9]*[.][0-9]+)z((0[dD])?[0-9]+[sl]?)z(0[bB][01]+[sl]?)z(0[oO][0-7]+[sl]?)z(0[xXhH][0-9a-fA-F]+[sl]?)z"(\\\\|\\[^\\]|[^"\\])*"z\'(\\\\|\\[^\\]|[^\'\\])\'zf(<<=|>>=|<<|>>|<=|>=|\+=|-=|\*=|/=|\%=|\|=|&=|\^=|&&|\|\||&|\||\+\+|--|\%|\^|\~|==|!=|[.]{3}|[+\-*/&])z[|<>=!()\[\]{}.,;:\?]z
[^\W\d]\w*N)&Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚ	filenamesÚaliasesÚ	mimetypesr   r   r   ÚSingler
   ZDocZ	Multiliner   Ú	NamespaceZDeclarationr   ZPseudoZReservedÚConstantÚTyper   r	   ZBuiltinr   r   ÚDoubleZIntegerZBinÚOctZHexÚCharr   ZOtherÚtokens© rC   rC   úX/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pygments/lexers/spice.pyr      sB   áÿ)r5   ÚreZpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   r   Ú__all__r   rC   rC   rC   rD   Ú<module>   s
   
,