3

V'íc±ã@s^dZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
mZdgZGdd„deƒZdS)zË
    pygments.lexers.go
    ~~~~~~~~~~~~~~~~~~

    Lexers for the Google Go language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚbygroupsÚwords)	ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚGoLexerc1@seZdZdZdZdZdgZddgZdgZdd	e	fd
e	fde
ee	ƒfdej
fd
ejfdejfdejfedXddefd ejfedYdGde
ejeƒfedZddejfdHefdIefdJefdKefdLejfdMejfdNejfdOejfdPejfdQejfdRefdSefdTefdUefdVej fgiZ!dWS)[rz3
    For Go source.

    .. versionadded:: 1.2
    ZGozhttps://go.dev/z*.goÚgoZgolangz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Ú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ÚanyÚ
comparableÚ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+)?z0[0-7]+z0[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"(\\\\|\\[^\\]|[^"\\])*"zh(<<=|>>=|<<|>>|<=|>=|&\^=|&\^|\+=|-=|\*=|/=|%=|&=|\|=|&&|\|\||<-|\+\+|--|==|!=|:=|\.\.\.|[+\-*/%&]|~|\|)z[|^<>=!()\[\]{}.,;:]z
[^\W\d]\w*N)rrrrrrrrrrrrrrr)&r r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrE)r r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6)"Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚ	filenamesÚaliasesÚ	mimetypesr
rrrÚSingleZ	MultilinerÚ	NamespaceZDeclarationrÚConstantr	ZBuiltinrÚTyperZFloatÚOctZHexZIntegerr
ZCharrZOtherÚtokens©rUrUú6/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/go.pyrspN)rIZpygments.lexerrrrZpygments.tokenrrrrr	r
rrr
Ú__all__rrUrUrUrVÚ<module>	s,