File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/__pycache__/apl.cpython-310.pyc
Back
o ;jO � @ sR d Z ddlmZ ddlmZmZmZmZmZm Z m Z mZ dgZG dd� de�Z dS )z� pygments.lexers.apl ~~~~~~~~~~~~~~~~~~~ Lexers for APL. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )� RegexLexer)�Comment�Operator�Keyword�Name�String�Number�Punctuation� Whitespace�APLLexerc @ s� e Zd ZdZdZdZdgZg d�ZdZdde fd e jfd ejfdej fdefd ejfdejfdejfdefdejfdefdejfdejjfdejfdejjfdejfgiZdS )r z A simple APL lexer. ZAPLz:https://en.m.wikipedia.org/wiki/APL_(programming_language)Zapl)z*.aplz*.aplfz*.aploz*.aplnz*.aplcz*.apliz*.dyalogz2.0�rootz\s+u [⍝#].*$z\'((\'\')|[^\'])*\'z"(("")|[^"])*"u [⋄◇()]z[\[\];]u* ⎕[A-Za-zΔ∆⍙][A-Za-zΔ∆⍙_¯0-9]*u( [A-Za-zΔ∆⍙_][A-Za-zΔ∆⍙_¯0-9]*u� ¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞)([Jj]¯?(0[Xx][0-9A-Fa-f]+|[0-9]*\.?[0-9]+([Ee][+¯]?[0-9]+)?|¯|∞))?u3 [\.\\\/⌿⍀¨⍣⍨⍠⍤∘⌸&⌶@⌺⍥⍛⍢]u� [+\-×÷⌈⌊∣|⍳?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⌸⍯↗⊆⊇⍸√⌾…⍮]u ⍬u [⎕⍞]u [←→]u [⍺⍵⍶⍹∇:]z[{}]N)�__name__� __module__�__qualname__�__doc__�name�url�aliases� filenamesZ version_addedr r �Singler �Doubler ZRegexr ZFunctionZVariabler Z Attributer ZConstantZGlobalr ZDeclarationZBuiltinZPseudo�Type�tokens� r r �G/opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/apl.pyr s<