summaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/lexers/procfile.py
diff options
context:
space:
mode:
authormonster <[email protected]>2022-07-07 14:41:37 +0300
committermonster <[email protected]>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/python/Pygments/py3/pygments/lexers/procfile.py
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
fix ya.make
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/procfile.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/lexers/procfile.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/procfile.py b/contrib/python/Pygments/py3/pygments/lexers/procfile.py
deleted file mode 100644
index 72395ceecd7..00000000000
--- a/contrib/python/Pygments/py3/pygments/lexers/procfile.py
+++ /dev/null
@@ -1,42 +0,0 @@
-"""
- pygments.lexers.procfile
- ~~~~~~~~~~~~~~~~~~~~~~~~
-
- Lexer for Procfile file format.
-
- :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
-from pygments.lexer import RegexLexer, bygroups
-from pygments.token import Name, Number, String, Text, Punctuation
-
-__all__ = ["ProcfileLexer"]
-
-
-class ProcfileLexer(RegexLexer):
- """
- Lexer for Procfile file format.
-
- The format is used to run processes on Heroku or is used by Foreman or
- Honcho tools.
-
- .. versionadded:: 2.10
- """
- name = 'Procfile'
- url = 'https://devcenter.heroku.com/articles/procfile#procfile-format'
- aliases = ['procfile']
- filenames = ['Procfile']
-
- tokens = {
- 'root': [
- (r'^([a-z]+)(:)', bygroups(Name.Label, Punctuation)),
- (r'\s+', Text.Whitespace),
- (r'"[^"]*"', String),
- (r"'[^']*'", String),
- (r'[0-9]+', Number.Integer),
- (r'\$[a-zA-Z_][\w]*', Name.Variable),
- (r'(\w+)(=)(\w+)', bygroups(Name.Variable, Punctuation, String)),
- (r'([\w\-\./]+)', Text),
- ],
- }