3
V'íc¦ ã @ sH d Z ddlZddlmZmZmZmZmZmZm Z m
Z
mZ ddlm
Z
mZmZmZmZmZmZmZmZ ddddd d
ddd
dddgZG dd deZG dd deZG dd deZeZG dd deZG dd deZG dd d eZG dd
d
eZG dd deZG dd deZ G dd
d
eZ!G dd deZ"G dd deZ#dS )zÚ
pygments.lexers.dsls
~~~~~~~~~~~~~~~~~~~~
Lexers for various domain-specific languages.
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
é N) ÚExtendedRegexLexerÚ
RegexLexerÚbygroupsÚwordsÚincludeÚdefaultÚthisÚusingÚcombined) ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
WhitespaceÚ
ProtoBufLexerÚ ZeekLexerÚPuppetLexerÚRslLexerÚMscgenLexerÚVGLLexerÚ
AlloyLexerÚPanLexerÚ
CrmshLexerÚThriftLexerÚ
FlatlineLexerÚ
SnowballLexerc @ s. e Zd ZdZdZdZddgZdgZdefde fd e
jfd
e
jfe
dCdddefe
dDdd,ejfd-ejfd.eejed/fd0eejed1fd2eejed3fd4efd5efd6ejfd7ejfd8ejfd9ejfd:ejfd;ejfd<efd=eejeefd>efgd?ejd@fed@gd?ejd@fed@gd?ed@fed@gdAZdBS )Er zP
Lexer for Protocol Buffer definition files.
.. versionadded:: 1.4
zProtocol Bufferz/https://developers.google.com/protocol-buffers/ZprotobufÚprotoz*.protoz[ \t]+z[,;{}\[\]()<>]z/(\\\n)?/(\n|(.|\n)*?[^\\]\n)z/(\\\n)?\*(.|\n)*?\*(\\\n)?/ÚimportÚoptionÚoptionalÚrequiredÚrepeatedÚreservedr ÚpackedÚctypeÚ
extensionsÚtoÚmaxÚrpcÚreturnsÚoneofÚsyntaxz\b)ÚprefixÚsuffixÚint32Úint64Úuint32Úuint64Úsint32Úsint64Úfixed32Úfixed64Úsfixed32Úsfixed64ÚfloatÚdoubleÚboolÚstringÚbytes)r1 z(true|false)\bz(package)(\s+)Úpackagez(message|extend)(\s+)Úmessagez(enum|group|service)(\s+)Útypez\".*?\"z\'.*?\'z'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[LlUu]*z(\d+\.\d*|\.\d+|\d+[fF])[fF]?z(\-?(inf|nan))\bz0x[0-9a-fA-F]+[LlUu]*z0[0-7]+[LlUu]*z
\d+[LlUu]*z[+-=]z([a-zA-Z_][\w.]*)([ \t]*)(=)z[a-zA-Z_][\w.]*z[a-zA-Z_]\w*z#pop)ÚrootrA rB rC N)r! r"