3

V'ícÍã@sRdZddlmZmZmZddlmZmZmZm	Z	m
Z
mZdgZGdd„deƒZ
dS)zÇ
    pygments.lexers.bare
    ~~~~~~~~~~~~~~~~~~~~

    Lexer for the BARE schema.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚwordsÚbygroups)ÚTextÚCommentÚKeywordÚNameÚLiteralÚ
WhitespaceÚ	BareLexerc@sÂeZdZdZdZdZdgZdgZdddd	d
ddd
ddddddddddddgZde	e
eej
eeƒdfde	e
eej
eeƒdfde	e
eeeƒdfd e	e
eej
eƒdfd!efd"efgd#ed$fd%ed&fd'e	ejeeƒdfd"efgd(ed&fd)e	eeeƒfd*ej
feeƒe
fd"efgd+efd!ed&fd,e	eeeƒfd-efd.edfd/e	ee
eƒfd0e	eej
eƒfd1ej
feeƒe
fd2ed&fd#edfd"efd3efg
d#ed$fd%ed&fd4e	ejeeƒfd5e	ejƒfd!efd"efgd6œZd7S)8rz<
    For BARE schema source.

    .. versionadded:: 2.7
    ZBAREzhttps://baremessages.orgz*.bareZbareÚtypeÚenumÚu8Úu16Úu32Zu64ZuintÚi8Zi16Zi32Zi64ÚintZf32Zf64ÚboolÚvoidÚdataÚstringÚoptionalÚmapz'(type)(\s+)([A-Z][a-zA-Z0-9]+)(\s+)(\{)Ústructz'(type)(\s+)([A-Z][a-zA-Z0-9]+)(\s+)(\()Úunionz#(type)(\s+)([A-Z][a-zA-Z0-9]+)(\s+)Útypedefz%(enum)(\s+)([A-Z][a-zA-Z0-9]+)(\s+\{)z#.*?$z\s+z\{z#pushz\}z#popz([a-zA-Z0-9]+)(:)(\s*)z\)z(\s*)(\|)(\s*)z[A-Z][a-zA-Z0-9]+z\[\]z
(\[)(\d+)(\])z<|>z\(z(\[)([a-z][a-z-A-Z0-9]+)(\])z(\[)([A-Z][a-z-A-Z0-9]+)(\])z([A-Z][a-z-A-Z0-9]+)z\nz\d+z([A-Z][A-Z0-9_]*)(\s*=\s*)(\d+)z([A-Z][A-Z0-9_]*))Úrootrrrr
N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚ	filenamesÚaliasesÚkeywordsrrr
rZClassrrÚ	Attributerr	Útokens©r(r(ú8/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/bare.pyrs‚

N)r Zpygments.lexerrrrZpygments.tokenrrrrr	r
Ú__all__rr(r(r(r)Ú<module>	s