
    |e|	                     `    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e      Zy)z
    pygments.lexers.yara
    ~~~~~~~~~~~~~~~~~~~~

    Lexers for YARA.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerwords)	CommentStringNameTextPunctuationOperatorKeyword
WhitespaceNumber	YaraLexerc                   6   e Zd ZdZdZdZddgZdgZdgZde	fd	e
j                  fd
e
j                  fde
j                  df eddd      ej                  f eddd      ef e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j2                  fdej4                  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y#)$r   z4
    For YARA rules

    .. versionadded:: 2.16
    YARAz"https://virustotal.github.io/yara/yarayarz*.yarztext/x-yaraz\s+z//.*?$z\#.*?$z/\*comment)ruleprivateglobalimportincludez\b)prefixsuffix)strings	conditionmeta)(asciiatbase64
base64wider   containsendswith
entrypointfilesizeforfullword	icontains	iendswithiequalsinr   int16int16beint32int32beint8int8beistartswithmatchesr   nocasenoneof
startswithr   themuint16uint16beuint32uint32beuint8uint8bewidexor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	mimetypesr   r   Single	Multiliner   r   Declarationr   BuiltinConstantr
   WordVariabler   Doubler   HexRegexr	   r   tokens     6/usr/lib/python3/dist-packages/pygments/lexers/yara.pyr   r      s{    D
.CuoG	II Z ''W&&	2E/  " 3E%P .  / \\	  0 01&6''FMM*&**%&4 -$4L=
B ))*W&&0W&&/g''(	
C'FrY   N)rG   pygments.lexerr   r   pygments.tokenr   r   r   r   r	   r
   r   r   r   __all__r   rX   rY   rZ   <module>r^      s3    -* * * -4
 4rY   