a
    ñ»j~	  ã                   @   sZ   d Z ddlmZmZ ddlmZ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.yara
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for YARA.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚwords)	ÚCommentÚStringÚNameÚTextÚPunctuationÚOperatorÚKeywordÚ
WhitespaceÚNumberÚ	YaraLexerc                   @   s  e Zd ZdZdZdZddgZdgZdgZdZ	d	e
fd
ejfdejfdejdfedddd�ejfedddd�efedddd�ejfdejfdejfdejfdejfdejfdejfdejfdefdefdefdefgdejfdejdfd ejd!fd"ejfgd#œZd$S )%r   z
    For YARA rules
    ÚYARAz"https://virustotal.github.io/yara/ÚyaraÚyarz*.yarztext/x-yaraz2.16z\s+z//.*?$z\#.*?$z/\*Úcomment)ÚruleÚprivateÚglobalÚimportÚincludez\b)ÚprefixÚsuffix)ÚstringsÚ	conditionÚmeta)(ÚasciiÚatÚbase64Z
base64wider   ÚcontainsÚendswithÚ
entrypointÚfilesizeÚforZfullwordZ	icontainsZ	iendswithZiequalsÚinr   Zint16Zint16beZint32Zint32beZint8Zint8beZistartswithÚmatchesr   ZnocaseÚnoneZofÚ
startswithr   ZthemZuint16Zuint16beZuint32Zuint32beZuint8Zuint8beZwideÚxorZdefinedz(true|false)\bz(and|or|not|any|all)\bz(\$\w+)z"[^"]*"z
\'[^\']*\'z\{.*?\}$z(/.*?/)z	[a-z_]\w*z[$(){}[\].?+*|]z[:=,;]Ú.z[^*/]+z#pushz\*/z#popz[*/])Úrootr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesÚversion_addedr   r   ÚSingleÚ	Multiliner   r
   ÚDeclarationr   ÚBuiltinÚConstantr	   ÚWordÚVariabler   ÚDoubler   ÚHexÚRegexr   r   Útokens© r@   r@   ú:E:\soccer\ml_env\Lib\site-packages\pygments/lexers/yara.pyr      sT   
ÿþÿø	÷
â!

üßN)r.   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   r   Ú__all__r   r@   r@   r@   rA   Ú<module>   s   
,