3

V'ícd
ã@sZdZddlmZmZmZddlmZmZmZm	Z	m
Z
mZmZm
Z
dgZGdd„deƒZdS)zË
    pygments.lexers.smithy
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the Smithy IDL.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚbygroupsÚwords)ÚTextÚCommentÚKeywordÚNameÚStringÚNumberÚ
WhitespaceÚPunctuationÚSmithyLexerc@sZeZdZdZdZdZdgZdgZdZdZ	d=Z
d>Zdd ej
fd!efd"ejfd#ejfd$eejejejƒfd%e	d&eejejƒfee
d'd(e	d&d)eejejƒfeed'd(e	d*d)eejejƒfd+eejeejeejƒfd,ejfd-efe	d.ejfe	ejjfd/ed0fd1ed2fd3ed0fd4ed2fd5ed0fd6ed2fd7ejfd8ejfd9ejfd:efd;efgiZ d<S)?r
z4
    For Smithy IDL

    .. versionadded:: 2.10
    ZSmithyz!https://awslabs.github.io/smithy/z*.smithyZsmithyz[A-Za-z0-9_\.#$-]+ÚuseÚbyteÚshortÚintegerÚlongÚfloatÚdocumentÚdoubleÚ
bigIntegerÚ
bigDecimalÚbooleanÚblobÚstringÚ	timestampÚapplyÚlistÚmapÚsetÚ	structureÚunionÚresourceÚ	operationÚserviceÚtraitÚrootz///.*$z//.*$z@[0-9a-zA-Z\.#-]*z(=)z^(\$version)(:)(.+)z^(namespace)(\s+z)\bú^z(\s+)ÚprefixÚsuffixú)z/^(metadata)(\s+)((?:\S+)|(?:\"[^"]+\"))(\s*)(=)z(true|false|null)z-(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)ú:z\[z#pushz\]z#popz\(z\)z\{z\}z"{3}(\\\\|\n|\\")*"{3}z"(\\\\|\n|\\"|[^"])*"z'(\\\\|\n|\\'|[^'])*'z[:,]+z\s+N)rrrrrrrrrrrrrr)
rrrrr r!r"r#r$r%)!Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚ	filenamesÚaliasesZunquotedÚ
identifierZ
simple_shapesZaggregate_shapesrZ	MultilinerZ	DecoratorrrZDeclarationZClassrrÚConstantr
ZLabelÚVariablerr	ZDocÚDoubleÚSinglerÚtokens©r:r:ú:/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/smithy.pyr
sZ


N)r/Zpygments.lexerrrrZpygments.tokenrrrrr	r
rrÚ__all__r
r:r:r:r;Ú<module>	s(