U
    luf
                     @   s^   d 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-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
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)\bz1(f|p|type|struct|interface|enum|alias|operator)\b)ifelseforZforeachZdowhilebreakcontinuereturnassertZunsafeextz\b)suffix)constsignedZunsignedinlinepublicheap)newswitchZcaseyieldstashZpicksyncclassz(true|false|nil)\b)	doubleintshortlongbytecharstringboolZdyn)ZprintfsizeofZalignoflenpanicz\b(\()z%[-]?[0-9]*[.][0-9]+([eE][+-]?[0-9]+)?z0[bB][01]+[slu]?z0[oO][0-7]+[slu]?z0[xXhH][0-9a-fA-F]+[slu]?z(0[dD])?[0-9]+[slu]?z"(\\\\|\\[^\\]|[^"\\])*"z\'(\\\\|\\[^\\]|[^\'\\])\'zo<<=|>>=|<<|>>|<=|>=|\+=|-=|\*=|/=|\%=|\|=|&=|\^=|&&|\|\||&|\||\+\+|--|\%|\^|\~|==|!=|->|::|[.]{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BinOctZHexZIntegerCharr   ZOthertokens rA   rA   9/tmp/pip-unpacked-wheel-7eq1ciah/pygments/lexers/spice.pyr      sj   

N)r3   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   r   __all__r   rA   rA   rA   rB   <module>   s   
,