o
    Ñ­j  ã                   @   s`   d Z ddlmZmZmZ ddlmZmZmZm	Z	m
Z
 ddgZG dd„ deƒZG dd„ deƒZdS )	zÐ
    pygments.lexers.roboconf
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for Roboconf DSL.

    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚwordsÚre)ÚTextÚOperatorÚKeywordÚNameÚCommentÚRoboconfGraphLexerÚRoboconfInstancesLexerc                	   @   sz   e Zd ZdZdZdgZdgZdZdZe	j
e	jB Zddefd	efed
ddd�efedddd�efdefdefdefgiZdS )r
   z)
    Lexer for Roboconf graph files.
    zRoboconf Graphzroboconf-graphz*.graphz>https://roboconf.github.io/en/user-guide/graph-definition.htmlú2.1Úrootú\s+ú=)ÚfacetÚimportú\s*\bú\b©ÚsuffixÚprefix)Ú	installerÚextendsÚexportsÚimportsÚfacetsÚchildrenz\s*:?ú#.*\nú[^#]ú.*\nN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚurlÚversion_addedr   Ú
IGNORECASEÚ	MULTILINEÚflagsr   r   r   r   r   r	   Útokens© r-   r-   úU/var/www/html/CropPilot/venv/lib/python3.10/site-packages/pygments/lexers/roboconf.pyr
      s,    þþîÿc                	   @   sz   e Zd ZdZdZdgZdgZdZdZe	j
e	jB Zddefed	d
dd�efedddd�efdefdefdefdefgiZdS )r   z-
    Lexer for Roboconf instances files.
    zRoboconf Instanceszroboconf-instancesz*.instanceszhttps://roboconf.github.ior   r   r   )zinstance ofr   r   r   r   )r$   Úcountzs*:?z\s*[\w.-]+\s*:r   r   r   N)r    r!   r"   r#   r$   r%   r&   r'   r(   r   r)   r*   r+   r   r   r   r   r	   r,   r-   r-   r-   r.   r   4   s$    ñÿN)r#   Úpygments.lexerr   r   r   Úpygments.tokenr   r   r   r   r	   Ú__all__r
   r   r-   r-   r-   r.   Ú<module>   s    
#