B
    b
                 @   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assertZthreadZunsafeZextZdllz\b)suffix)constsignedZunsignedZinlineZpublic)newZswitchZcaseyieldZstashZpicksyncz(true|false|nil)\b)	ZdoubleintZshortZlongZbytecharstringboolZdyn)ZprintfZ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__nameZurl	filenamesaliasesZ	mimetypesr   r   r   Singler
   ZDocZ	Multiliner   	NamespaceZDeclarationr   ZPseudoZReservedZConstantZTyper   r	   ZBuiltinr   r   DoubleZIntegerZBinZOctZHexZCharr   ZOthertokens r0   r0   4lib/python3.7/site-packages/pygments/lexers/spice.pyr      s>   )r(   reZpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   r   __all__r   r0   r0   r0   r1   <module>	   s
   ,