U
    ]g
                     @   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-2025 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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   z
    For Spice source.
    ZSpicezhttps://www.spicelang.comz*.spiceZspiceZ	spicelangztext/x-spicez2.11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switchZcasedefaultforZforeachZdowhilebreakcontinueZfallthroughreturnassertZunsafeextz\b)suffix)constsignedZunsignedinlinepublicheapZcompose)newyieldstashZpicksyncclassz(true|false|nil)\b)	doubleintshortlongbytecharstringboolZdyn)Zprintfsizeof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	mimetypesZversion_addedr   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 rC   rC   9/tmp/pip-unpacked-wheel-zak7uw41/pygments/lexers/spice.pyr      sh   


N)r5   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   r   __all__r   rC   rC   rC   rD   <module>   s   
,