
    |e
                     d    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e      Zy)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                   v   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      ef edd      ej(                  f edd      ej*                  fdej,                  f edd      ej.                  f edd       eej4                  e      fdej:                  fdej<                  fdej>                  fdej@                  fdejB                  fdefd ejD                  fd!e#fd"efd#ejH                  fgiZ%y$)%r   z7
    For Spice source.

    .. versionadded:: 2.11
    Spicezhttps://www.spicelang.comz*.spicespice	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forforeachdowhilebreakcontinuereturnassertunsafeextz\b)suffix)constsignedunsignedinlinepublicheap)newswitchcaseyieldstashpicksyncclassz(true|false|nil)\b)	doubleintshortlongbytecharstringbooldyn)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	mimetypesr   r   r   Singler   Doc	Multiliner	   	NamespaceDeclarationr   PseudoReservedConstantTyper   r
   Builtinr   r   DoubleBinOctHexIntegerCharr   Othertokens     7/usr/lib/python3/dist-packages/pygments/lexers/spice.pyr   r      s   
 D
%CI$G I 	JZ dO7>>*16::>.0A0ABw001A7CVCVW EMRTU\^N!")..2 %*,-4-=-=?"G$4$45 #+023:<<AB9UdllK02 6v}}E &**-!6::.)6::6$fnn5(&1*FKK8BCKM%{3DJJ'K&
(FrZ   N)rA   pygments.lexerr   r   r   pygments.tokenr   r   r   r	   r
   r   r   r   r   __all__r   rY   rZ   r[   <module>r_      s6    7 6$ $ $ .4 4rZ   