U
    祡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threadZ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 rB   rB   9/tmp/pip-unpacked-wheel-6wad6tea/pygments/lexers/spice.pyr      sB   )r4   reZpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   r   __all__r   rB   rB   rB   rC   <module>   s
   
,