Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pygments/lexers/__pycache__/matlab.cpython-39.pyc
Ðазад
a a�h� � @ s� d Z ddlZddlmZmZmZmZmZmZm Z ddl mZmZm Z mZmZmZmZmZmZmZ ddlmZ g d�ZG dd� de�Ze�d �ZG d d� de�ZG dd � d e�ZG dd� de�ZdS )z� pygments.lexers.matlab ~~~~~~~~~~~~~~~~~~~~~~ Lexers for Matlab and related languages. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�Lexer� RegexLexer�bygroups�default�words� do_insertions�include) �Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Generic� Whitespace)�_scilab_builtins)�MatlabLexer�MatlabSessionLexer�OctaveLexer�ScilabLexerc @ s& e Zd ZdZdZdgZdgZdgZdZdZ dZ e efd e � d �ej fdej fdejfd efdefdefdefdedfdefdefdefgdejfdejdfdefdeee�dfdeeeee�dfdeee�dfed d!d"d#�eee�feg d$�d%d"d#�ejfd&eee�fd'e � d(�eeee�d)fed*�gd+ejd,fd-ejfdejfgd.eeeeeeejeeee� d,fd/eeej�d,fgd0eejeeee�fd1eejeeee�fd2efd3ed,fdefdefgdejdfdefd4ed,fed*�gd5ed,fgd6ed,fe ed,fd7efd8efd9efd:ed,fed,�gd;�Zd<d=� Zd>S )?r z! For Matlab source code. �Matlab�matlab�*.mztext/matlab�.https://www.mathworks.com/products/matlab.html�0.10z?-|==|~=|<=|>=|<|>|&&|&|~|\|\|?|\.\*|\*|\+|\.\^|\^|\.\\|\./|/|\\z'(?<!\w)((\d+\.\d+)|(\d*\.\d+)|(\d+\.(?!z)))([eEf][+-]?\d+)?(?!\w)z\b\d+[eEf][+-]?[0-9]+\bz\b\d+\bz\[|\]|\(|\)|\{|\}|:|@|\.|,�=|:|;�(?<=[\w)\].])\'+z"(""|[^"])*"�(?<![\w)\].])\'�string�[a-zA-Z_]\w*�\s+�.z^!.*�%\{\s*\n�blockcommentz%.*$z(\s*^\s*)(function)\b�deffuncz(\s*^\s*)(properties)(\s+)(\())�defprops� propattrsz(\s*^\s*)(properties)\br'