3
.ßL]u  ã               @   sb   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 dgZG dd„ deƒZdS )zË
    pygments.lexers.go
    ~~~~~~~~~~~~~~~~~~

    Lexers for the Google Go language.

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexerÚbygroupsÚwords)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚGoLexerc            /   @   s  e Zd ZdZdZdgZdgZdgZej	ej
B 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edTdd�efdejfedUdCd�eejeƒfedVdd�ejfdDefdEefdFefdGefdHejfdIejfdJejfdKejfdLejfdMej fdNefdOefdPe!fdQefdRej"fgiZ#dSS )Wr   zJ
    For `Go <http://golang.org>`_ source.

    .. versionadded:: 1.2
    ZGoz*.goÚgoztext/x-gosrcÚrootz\nz\s+z\\\nz	//(.*?)\nz/(\\\n)?[*](.|\n)*?[*](\\\n)?/z(import|package)\bz1(var|func|struct|map|chan|type|interface|const)\bÚbreakÚdefaultÚselectÚcaseÚdeferÚ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(\()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)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )$r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   )r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   )$Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚ	filenamesÚaliasesÚ	mimetypesÚreÚ	MULTILINEÚUNICODEÚflagsr   r   ÚSingleZ	Multiliner   Ú	NamespaceZDeclarationr   ÚConstantr   r	   ZBuiltinr   ÚTyper   ZFloatÚOctZHexZIntegerr
   ÚCharr   ZOtherÚtokens© rV   rV   ú8/tmp/pip-install-5sebvq2j/pygments/pygments/lexers/go.pyr      sp                )rF   rK   Zpygments.lexerr   r   r   Zpygments.tokenr   r   r   r   r	   r
   r   r   Ú__all__r   rV   rV   rV   rW   Ú<module>
   s
   (