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 : |
o ���a<� � @ sF d Z ddlZddlmZmZmZmZmZmZm Z m Z mZ ddlm Z mZmZmZmZmZmZmZmZ ddlmZ g d�Ze�d�ZG dd � d e�ZG d d� de�ZG dd � d e�ZG dd� de�ZG dd� de�ZG dd� de�Z G dd� de�Z!G dd� de�Z"G dd� de�Z#G dd� de�Z$G dd� de�Z%G dd� de�Z&dS ) z� pygments.lexers.shell ~~~~~~~~~~~~~~~~~~~~~ Lexers for various shells. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N) �Lexer� RegexLexer� do_insertions�bygroups�include�default�this�using�words) �Punctuation�Text�Comment�Operator�Keyword�Name�String�Number�Generic��shebang_matches)� BashLexer�BashSessionLexer� TcshLexer� BatchLexer�SlurmBashLexer�MSDOSSessionLexer�PowerShellLexer�PowerShellSessionLexer�TcshSessionLexer�FishShellLexer� ExeclineLexerz.*? c @ s� e Zd ZdZdZg d�Zg d�Zg d�Zed�de j dfed �ed �gdedfd edfde jdfde jfde jfdefgdeee�fde jfdejfdejfde jfdee jee�fdefdefde fdefg de jfde jd fd!e jfd"e jfd#efd$efd%efd&efd'efd(efd)efgde jd*fd+e jfed �gd,e jd*fd-efd.e jfd/efd0efed1�gd2ed*fed1�gd3ed*fd4efd5efd6efd7efed1�gde j d*fed1�gd8� Zd9d:� Zd;S )<r zI Lexer for (ba|k|z|)sh shell scripts. .. versionadded:: 0.6 �Bash)�bash�sh�ksh�zsh�shell)z*.shz*.kshz*.bashz*.ebuildz*.eclassz*.exheres-0z*.exlibz*.zshz.bashrc�bashrcz.bash_*zbash_*�zshrcz.zshrcz.kshrc�kshrc�PKGBUILD)zapplication/x-shzapplication/x-shellscriptztext/x-shellscript�basic�`� backticks�data�interp�\$\(\(�math�\$\(�paren�\$\{#?�curlyz\$[a-zA-Z_]\w*z\$(?:\d+|[#$?!_*@-])�\$zd\b(if|fi|else|while|in|do|done|for|then|return|function|case|select|continue|until|esac|elif)(\s*)\baM \b(alias|bg|bind|break|builtin|caller|cd|command|compgen|complete|declare|dirs|disown|echo|enable|eval|exec|exit|export|false|fc|fg|getopts|hash|help|history|jobs|kill|let|local|logout|popd|printf|pushd|pwd|read|readonly|set|shift|shopt|source|suspend|test|time|times|trap|true|type|typeset|ulimit|umask|unalias|unset|wait)(?=[\s)`])�\A#!.+\n�#.*\n�\\[\w\W]z(\b\w+)(\s*)(\+?=)z[\[\]{}()=]z<<<�<<-?\s*(\'?)\\?(\w+)[\w\W]+?\2z&&|\|\|z(?s)\$?"(\\.|[^"\\$])*"�"�string�#(?s)\$'(\\\\|\\[0-7]+|\\.|[^'\\])*'� (?s)'.*?'�;�&z\|�\s+z\d+\b�[^=\s\[\]{}()$"\'`\\<&|;]+�<�#pop� (?s)(\\\\|\\[0-7]+|\\.|[^"\\$])+�\}�:-�\w+z [^}:"\'`$\\]+�:�root�\)�\)\)�[-+*/%^|&]|\*\*|\|\|�\d+#\d+� \d+#(?! )�\d+) rJ r/ r+ r. r<