o
    ‡ÎÖaž  ã                   @   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.go
    ~~~~~~~~~~~~~~~~~~

    Lexers for the Google Go language.

    :copyright: Copyright 2006-2021 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ÚGoLexerc                   @   s  e Zd ZdZdZdgZddgZdgZej	ej
B Zddefd	efd
eeeƒfdejfdejfdejfdejfeddd�efdejfeddd�eejeƒfeddd�ejfdef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de j!fd e fd!e fd"e"fd#efd$ej#fgiZ$d%S )&r   zJ
    For `Go <http://golang.org>`_ source.

    .. versionadded:: 1.2
    ÚGoz*.goÚgoÚgolangztext/x-gosrcÚrootz\nz\s+z(\\)(\n)z//(.*?)$z/(\\\n)?[*](.|\n)*?[*](\\\n)?/z(import|package)\bz1(var|func|struct|map|chan|type|interface|const)\b)ÚbreakÚdefaultÚselectÚcaseÚdeferr   ÚelseÚgotoÚswitchÚfallthroughÚifÚrangeÚcontinueÚforÚreturnz\b)Úsuffixz(true|false|iota|nil)\b)$ÚuintÚuint8Úuint16Úuint32Úuint64ÚintÚint8Úint16Úint32Úint64ÚfloatÚfloat32Úfloat64Ú	complex64Ú
complex128ÚbyteÚruneÚstringÚboolÚerrorÚuintptrÚprintÚprintlnÚpanicÚrecoverÚcloseÚcomplexÚrealÚimagÚlenÚcapÚappendÚcopyÚdeleteÚnewÚmakez\b(\())r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   z\d+iz\d+\.\d*([Ee][-+]\d+)?iz\.\d+([Ee][-+]\d+)?iz\d+[Ee][-+]\d+iz+\d+(\.\d+[eE][+\-]?\d+|\.\d*|[eE][+\-]?\d+)z\.\d+([eE][+\-]?\d+)?z0[0-7]+z0[xX][0-9a-fA-F]+z(0|[1-9][0-9]*)z\'(\\['"\\abfnrtv]|\\x[0-9a-fA-F]{2}|\\[0-7]{1,3}|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|[^\\])'z`[^`]*`z"(\\\\|\\[^\\]|[^"\\])*"zc(<<=|>>=|<<|>>|<=|>=|&\^=|&\^|\+=|-=|\*=|/=|%=|&=|\|=|&&|\|\||<-|\+\+|--|==|!=|:=|\.\.\.|[+\-*/%&])z[|^<>=!()\[\]{}.,;:]z
[^\W\d]\w*N)%Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚ	filenamesÚaliasesÚ	mimetypesÚreÚ	MULTILINEÚUNICODEÚflagsr   r   r   r   ÚSingleÚ	Multiliner   Ú	NamespaceÚDeclarationr   ÚConstantr	   ÚBuiltinr   ÚTyper   ÚFloatÚOctÚHexÚIntegerr
   ÚCharr   ÚOtherÚtokens© r`   r`   ú4/usr/lib/python3/dist-packages/pygments/lexers/go.pyr      sp    ÿýüø
	÷
ûúÿþÿÀÿ)rI   rN   Úpygments.lexerr   r   r   Úpygments.tokenr   r   r   r   r	   r
   r   r   r   Ú__all__r   r`   r`   r`   ra   Ú<module>   s    
,