
    
                     d    S r SSKJrJrJr  SSKJrJrJrJ	r	J
r
JrJrJrJr  S/r " S S\5      rg)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                   `   \ rS rSrSrSrSrS/rSS/rS/r	S	S
\
4S\
4S\4S\R                  4S\R                  4S\R                   4S\R$                  4S\R&                  4\" SSS9\4\" SSS9\R*                  4\" SSS9\R,                  4S\R.                  4\" SSS9\R0                  4\" SSS9\" \R6                  \5      4S\R<                  4S\R>                  4S\R@                  4S\RB                  4S\RD                  4S \4S!\RF                  4S"\$4S#\4S$\RJ                  4/0r&S%r'g&)'r      z+
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lenz\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\'(\\\\|\\[^\\]|[^\'\\])\'zl<<=|>>=|<<|>>|<=|>=|\+=|-=|\*=|/=|\%=|\|=|&=|\^=|&&|\|\||&|\||\+\+|--|\%|\^|\~|==|!=|::|[.]{3}|#!|#|[+\-*/&]z[|<>=!()\[\]{}.,;:\?]z
[^\W\d]\w* N)(__name__
__module____qualname____firstlineno____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__static_attributes__r>       (lib/third_party/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9)LdllK02 6v}}E &**-!6::.)6::6$fnn5(&1*FKK8?@HJ%{3DJJ'K&
(Fr\   N)rC   pygments.lexerr   r   r   pygments.tokenr   r   r   r	   r
   r   r   r   r   __all__r   r>   r\   r]   <module>ra      s6    7 6$ $ $ .4 4r\   