https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/lilypond.cpython-310.pyc
o

���a!�@s�dZddlZddlmZmZmZddlmZddlm	Z	m
Z
mZmZm
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZddlmZdgZ dZ!e!fd	d
�Z"Gdd�de�Z#dS)z�
    pygments.lexers.lilypond
    ~~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for LilyPond.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�default�inherit�words)�SchemeLexer)�keywords�pitch_language_names�clefs�scales�repeat_types�units�chord_modifiers�pitches�music_functions�dynamics�
articulations�music_commands�markup_commands�grobs�translators�contexts�context_properties�grob_properties�scheme_functions�paper_variables�header_variables)�Token�
LilyPondLexerz(?=\d|[^\w\-]|[\-_][\W\d])cCs@d}|dkr|d7}n|dkr|d7}n|dksJ�t|||�S)Nz[\-_^]?�	mandatoryz\\�optionalz\\?�
disallowed)r)�names�	backslash�suffix�prefix�r$�:/usr/lib/python3/dist-packages/pygments/lexers/lilypond.py�
builtin_wordss

r&cs�eZdZdZdZdgZdgZgZej	ej
BZ�fdd�Zgde
jf�de
jjf�d	e
jjf�d
e
jdf�de
jd
f�de
jf�eeded�e
jf�de
jdf�de
jjf�de
jjf�de
jf�de
jf�de
jjjf�de
jjjf�de
jjjf�eed�e
j f�ee!d�e
jj"f�ee#d�e
jjj$f�ee%d�e
jjj&f�ee'd�e
jjj(f�ee)d�e
jf�ee*d�e
j+f�ee,d�e
jjj-f�ee.d�e
jjj/f�ee0d�e
jjjf�ee1d�e
jjj2f�ee3d�e
jjj4f�ee5d�e
jjj6f�ee7d�e
jjj8f�ee9d�e
jjj:f�ee;d�e
jjj<f�ee=d�e
jjj>df�ee?d�e
jjj@f�eeAd�e
jjjBf�dee
jjCf�de
jjDf�d e
jEf�d!e
jdfd"e
jjFfd#e
jfgd$e
jd%feGgd&e
jfde
jfd'ee
jjj>feHd�gd(�ZI�ZJS))rz�
    Lexer for input to `LilyPond <https://lilypond.org>`_, a text-based music typesetter.

    .. important::

       This lexer is meant to be used in conjunction with the ``lilypond`` style.

    .. versionadded:: 2.11
    �LilyPond�lilypondz*.lyc#sl�t��|�D],\}}}|tjjus|tjjur"|tvr!tjjj}n|tjjur-tjjj	}|||fVqdS)z@Highlight Scheme variables as LilyPond builtins when applicable.N)
�super�get_tokens_unprocessedr�Name�Function�Variabler�Builtin�SchemeFunction�
SchemeBuiltin)�self�text�index�token�value��	__class__r$r%r*Bs�
�
�z$LilyPondLexer.get_tokens_unprocessedz\s+z	%\{.*?%\}z%.*?$z#\}�#popz[#$]@?r5z\\\\|--|[{}<>=.,:|]z=?[',]*!?\??)r"z[\-_^]?"�stringz
-?\d+\.\d+z	-?\d+/\d+z-?(\d+|\\longa|\\breve)\.*z\*z[~()[\]]z[\-_^][>^_!.\-+]z
[\-_^]?\\?\d+rrr�maybe-subpropertiesz[\-_^]?\\.+?z$([^\W\d]|-)+(?=([^\W\d]|[\-.])*\s*=)�.�"z\\.z[^\\"]+z#\{)r8�rootz\.z
([^\W\d])+)r=r9r5r:)K�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypes�re�DOTALL�	MULTILINE�flagsr*r�
Whitespace�Comment�	Multiline�Single�Punctuationrr
�NAME_END_RE�Pitch�String�Number�Float�Fractionr+r.�Articulationr&r�Keywordr�
PitchLanguager�Clefr	�Scaler
�
RepeatTyperr�
ChordModifierr�
MusicFunctionr�Dynamicrr�MusicCommandr�
MarkupCommandr�Grobr�
Translatorr�Contextr�ContextPropertyr�GrobPropertyr�
PaperVariabler�HeaderVariable�BackslashReference�Lvalue�Text�Escaperr�tokens�
__classcell__r$r$r6r%r&s�	
�
�
�
�
��"�
%�
(�
)�,�.�1�5�8�;�<�=�>�?�@�A�B�C�E�F�G�H�I�K�L�M��S�T�X�
\�`�
c
�
���)$rArF�pygments.lexerrrr�pygments.lexers.lispr�"pygments.lexers._lilypond_builtinsrrrr	r
rrr
rrrrrrrrrrrrr�pygments.tokenr�__all__rOr&rr$r$r$r%�<module>s
\

https://t.me/RX1948 - 2025