o
    ¯­Rhj  ã                   @   sJ   d Z ddlmZmZ ddlmZmZmZmZm	Z	 dgZ
G dd„ deƒZdS )zØ
    pygments.lexers.gcodelexer
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for the G Code Language.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Ú
RegexLexerÚbygroups)ÚCommentÚNameÚTextÚKeywordÚNumberÚ
GcodeLexerc                   @   sX   e Zd ZdZdZdgZdgZdZdZdde	fd	e
jfd
eeeƒfdejfdefgiZdS )r	   z 
    For gcode source code.
    zg-codeÚgcodez*.gcodez$https://en.wikipedia.org/wiki/G-codez2.9Úrootz;.*\nz^[gmGM]\d{1,4}\sz([^gGmM])([+-]?\d*[.]?\d+)z\sz.*\nN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚurlÚversion_addedr   r   ÚBuiltinr   r   r   r   Ú
WhitespaceÚtokens© r   r   ú\/home/air/sanwanet/backup_V2/venv/lib/python3.10/site-packages/pygments/lexers/gcodelexer.pyr	      s    ûÿN)r   Úpygments.lexerr   r   Úpygments.tokenr   r   r   r   r   Ú__all__r	   r   r   r   r   Ú<module>   s
    
