Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pygments/lexers/__pycache__/oberon.cpython-39.pyc
Ðазад
a a�hr � @ sb d Z ddlZddlmZmZmZ ddlmZmZm Z m Z mZmZm Z mZ dgZG dd� de�ZdS )z� pygments.lexers.oberon ~~~~~~~~~~~~~~~~~~~~~~ Lexers for Oberon family languages. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�include�words)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�ComponentPascalLexerc @ s@ e Zd ZdZdZddgZddgZdgZdZd Z e je jB Z ed �ed�ed�ed �ed�ed�ed�ed�gdefdefgdejfgdefgdejfdejfdejfdejfdejfgdefdefgdefdefdefd efd!efd"efd#efd$efd%efg d&efged'd(d)�ejfed*d(d)�ejfd+ejfgd,� Zd-d.� Z d/S )0r z+ For Component Pascal source code. zComponent Pascal�componentpascal�cpz*.cpz*.cpsztext/x-component-pascalzhttps://blackboxframework.orgz2.1� whitespace�comments�punctuation�numliterals�strings� operators�builtins�identifiersz\n+z\s+z\(\*([^$].*?)\*\)z[()\[\]{},.:;|]z[0-9A-F]+X\bz[0-9A-F]+[HL]\bz[0-9]+\.[0-9]+E[+-][0-9]+z[0-9]+\.[0-9]+z[0-9]+z '[^\n']*'z "[^\n"]*"z[+-]z[*/]z[=#<>]z\^�&�~z:=z\.\.z\$z([a-zA-Z_$][\w$]*))ZANYPTRZANYRECZBOOLEANZBYTEZCHARZINTEGERZLONGINTZREALZSET� SHORTCHAR�SHORTINTZ SHORTREALz\b)�suffix)>ZABSZABSTRACTZARRAYZASH�ASSERT�BEGINZBITSZBYZCAPZCASEZCHRZCLOSEZCONSTZDECZDIVZDO�ELSEZELSIFZEMPTY�ENDZENTIERZEXCLZEXITZ EXTENSIBLEZFORZHALTZIFZIMPORT�INZINCZINCLZISZLENZLIMITED�LONGZLOOP�MAXZMINZMOD�MODULEZNEWZODDZOF�ORZORDZOUTZPOINTER� PROCEDURE�RECORD�REPEATZRETURNZSHORTr r ZSIZEZTHENZTYPEZTOZUNTILZVARZWHILEZWITHz(TRUE|FALSE|NIL|INF)\b) �rootr r r r r r r r c C sH d}d| v r|d7 }d| v r$|d7 }d| v r4|d7 }d| v rD|d7 }|S )z�The only other lexer using .cp is the C++ one, so we check if for a few common Pascal keywords here. Those are unfortunately quite common across various business languages as well.r r g{�G�z�?r r&