py2docfx 0.1.10.dev1859594__py3-none-any.whl → 0.1.10.dev1870645__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/__main__.py +112 -15
- py2docfx/convert_prepare/environment.py +44 -4
- py2docfx/convert_prepare/generate_document.py +19 -5
- py2docfx/convert_prepare/get_source.py +19 -3
- py2docfx/convert_prepare/pip_utils.py +10 -0
- py2docfx/convert_prepare/sphinx_caller.py +7 -3
- py2docfx/convert_prepare/tests/test_generate_document.py +0 -1
- py2docfx/docfx_yaml/tests/roots/test-writer-uri/code_with_uri.py +0 -7
- py2docfx/docfx_yaml/tests/test_writer_uri.py +0 -4
- py2docfx/docfx_yaml/writer.py +1 -13
- py2docfx/venv/venv0/Lib/site-packages/_distutils_hack/__init__.py +240 -0
- py2docfx/venv/venv0/Lib/site-packages/_distutils_hack/override.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/_yaml/__init__.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/alabaster/__init__.py +35 -0
- py2docfx/venv/venv0/Lib/site-packages/alabaster/support.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/__init__.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/core.py +1300 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/dates.py +1925 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/languages.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/lists.py +123 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localedata.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/__init__.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_fallback.py +44 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_helpers.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_unix.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_win32.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/__init__.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/_compat.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/catalog.py +952 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/checkers.py +168 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/extract.py +843 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/frontend.py +1203 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/jslexer.py +203 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/mofile.py +212 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/plurals.py +257 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/pofile.py +675 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/messages/setuptools_frontend.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/numbers.py +1573 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/plural.py +640 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/support.py +726 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/units.py +343 -0
- py2docfx/venv/venv0/Lib/site-packages/babel/util.py +269 -0
- py2docfx/venv/venv0/Lib/site-packages/certifi/__init__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/certifi/__main__.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/certifi/core.py +114 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/__init__.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/__main__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/api.py +626 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cd.py +395 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cli/__init__.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cli/__main__.py +296 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/constant.py +1995 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/legacy.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/md.py +615 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/models.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/utils.py +421 -0
- py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/version.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/__init__.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/ansi.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/ansitowin32.py +277 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/initialise.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/ansi_test.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/ansitowin32_test.py +294 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/initialise_test.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/isatty_test.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/utils.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/tests/winterm_test.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/win32.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/colorama/winterm.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/__init__.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/__main__.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/core.py +714 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/examples.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/frontend.py +951 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/io.py +611 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/__init__.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/af.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ar.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ca.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/cs.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/da.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/de.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/en.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/eo.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/es.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fa.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fi.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fr.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/gl.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/he.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/it.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ja.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ko.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/lt.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/lv.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/nl.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/pl.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/pt_br.py +60 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ru.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/sk.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/sv.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/zh_cn.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/languages/zh_tw.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/nodes.py +2314 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/__init__.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/commonmark_wrapper.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/null.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/recommonmark_wrapper.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/__init__.py +414 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/__init__.py +460 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/admonitions.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/body.py +304 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/html.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/images.py +163 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/misc.py +635 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/parts.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/references.py +29 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/tables.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/__init__.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/af.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ar.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ca.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/cs.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/da.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/de.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/en.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/eo.py +118 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/es.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fa.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fi.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fr.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/gl.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/he.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/it.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ja.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ko.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/lt.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/lv.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/nl.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/pl.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/pt_br.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ru.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/sk.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/sv.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/zh_cn.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/zh_tw.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/roles.py +439 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/states.py +3135 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/tableparser.py +539 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/__init__.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/doctree.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/pep.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/readers/standalone.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/statemachine.py +1525 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/__init__.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/components.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/frontmatter.py +545 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/misc.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/parts.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/peps.py +308 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/references.py +919 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/universal.py +338 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/writer_aux.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/__init__.py +821 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/code_analyzer.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/error_reporting.py +222 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/__init__.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/latex2mathml.py +1430 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/math2html.py +3171 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/tex2mathml_extern.py +152 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/tex2unichar.py +704 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/unichar2tex.py +808 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/punctuation_chars.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/roman.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/smartquotes.py +991 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/utils/urischemes.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/__init__.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/_html_base.py +1781 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/docutils_xml.py +188 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/html4css1/__init__.py +947 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/html5_polyglot/__init__.py +454 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/latex2e/__init__.py +3295 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/manpage.py +1181 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/null.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/odf_odt/__init__.py +3468 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/odf_odt/pygmentsformatter.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/pep_html/__init__.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/pseudoxml.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/s5_html/__init__.py +352 -0
- py2docfx/venv/venv0/Lib/site-packages/docutils/writers/xetex/__init__.py +149 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/__init__.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/codec.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/compat.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/core.py +437 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/idnadata.py +4243 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/intranges.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/package_data.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/idna/uts46data.py +8681 -0
- py2docfx/venv/venv0/Lib/site-packages/imagesize/__init__.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/imagesize/imagesize.py +376 -0
- py2docfx/venv/venv0/Lib/site-packages/imagesize.py +383 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/__init__.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/_identifier.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/async_utils.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/bccache.py +364 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/compiler.py +1957 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/constants.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/debug.py +259 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/defaults.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/environment.py +1661 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/exceptions.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/ext.py +879 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/filters.py +1824 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/idtracking.py +318 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/lexer.py +869 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/loaders.py +652 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/meta.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/nativetypes.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/nodes.py +1204 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/optimizer.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/parser.py +1040 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/runtime.py +1104 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/sandbox.py +428 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/tests.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/utils.py +854 -0
- py2docfx/venv/venv0/Lib/site-packages/jinja2/visitor.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/markupsafe/__init__.py +332 -0
- py2docfx/venv/venv0/Lib/site-packages/markupsafe/_native.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_elffile.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_manylinux.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_musllinux.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_parser.py +354 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/_tokenizer.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/markers.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/metadata.py +804 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/requirements.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/specifiers.py +1009 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/tags.py +568 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/utils.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/packaging/version.py +563 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/__main__.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/__pip-runner__.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/__init__.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/build_env.py +311 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cache.py +290 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/autocompletion.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/base_command.py +236 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1074 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/command_context.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/main.py +79 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/main_parser.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/parser.py +294 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/progress_bars.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/req_command.py +505 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/spinners.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/status_codes.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/__init__.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/cache.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/check.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/completion.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/configuration.py +280 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/debug.py +201 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/download.py +147 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/freeze.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/hash.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/help.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/index.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/inspect.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/install.py +774 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/list.py +368 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/search.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/show.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/uninstall.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/wheel.py +183 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/configuration.py +383 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/__init__.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/base.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/installed.py +29 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/sdist.py +156 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/wheel.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/exceptions.py +728 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/collector.py +507 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/package_finder.py +1027 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/sources.py +285 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/__init__.py +467 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/_distutils.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/_sysconfig.py +213 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/base.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/main.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/__init__.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/_json.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/base.py +702 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/candidate.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/direct_url.py +235 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/format_control.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/index.py +28 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/installation_report.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/link.py +579 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/scheme.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/search_scope.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/selection_prefs.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/target_python.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/wheel.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/auth.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/cache.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/download.py +186 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/session.py +520 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/utils.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/xmlrpc.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata.py +39 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/check.py +187 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/freeze.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/__init__.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/wheel.py +734 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/prepare.py +730 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/pyproject.py +179 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/__init__.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/constructors.py +576 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_file.py +554 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_install.py +923 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_set.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_uninstall.py +649 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/base.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +597 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +812 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +317 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/self_outdated_check.py +248 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/_log.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/appdirs.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/compat.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/datetime.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/deprecation.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/egg_link.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/encoding.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/entrypoints.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/filesystem.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/filetypes.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/glibc.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/hashes.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/logging.py +348 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/misc.py +783 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/models.py +39 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/packaging.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/setuptools_build.py +146 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/subprocess.py +260 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/temp_dir.py +296 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/unpacking.py +257 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/urls.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/virtualenv.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/wheel.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/bazaar.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/git.py +526 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/mercurial.py +163 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/subversion.py +324 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +705 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_internal/wheel_builder.py +354 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/__init__.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +28 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +161 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +181 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +494 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +206 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/__init__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/core.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/__init__.py +115 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/chardistribution.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/charsetprober.py +147 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/codingstatemachinedict.py +19 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/enums.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/escprober.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/escsm.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py +196 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py +388 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euctwprober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py +316 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/johabfreq.py +2382 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/johabprober.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/jpcntx.py +238 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4649 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py +4397 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4380 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4649 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langrussianmodel.py +5725 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py +4380 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py +4380 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/latin1prober.py +147 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/macromanprober.py +162 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcssm.py +661 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/metadata/languages.py +352 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/resultdict.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py +162 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sjisprober.py +105 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/universaldetector.py +362 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/utf1632prober.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/version.py +9 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/__init__.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/ansi.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py +277 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/initialise.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/ansi_test.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py +294 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/initialise_test.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/isatty_test.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/utils.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/winterm_test.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/win32.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/winterm.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/__init__.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/compat.py +1138 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/database.py +1359 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/index.py +508 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/locators.py +1303 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/manifest.py +384 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/markers.py +167 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/metadata.py +1068 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/resources.py +358 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/scripts.py +452 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/util.py +2025 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/version.py +751 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/wheel.py +1099 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/__init__.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/__main__.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/distro.py +1399 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/__init__.py +44 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/codec.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/compat.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/core.py +400 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/idnadata.py +2151 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/intranges.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/package_data.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/uts46data.py +8600 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/__init__.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/ext.py +193 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/fallback.py +1010 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/__about__.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/__init__.py +25 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/markers.py +304 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/requirements.py +146 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/specifiers.py +802 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/tags.py +487 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/utils.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/version.py +504 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3361 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +566 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/android.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/api.py +223 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/macos.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/unix.py +223 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/version.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/windows.py +255 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/__init__.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/__main__.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/cmdline.py +668 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/console.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/filter.py +71 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatter.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +158 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/html.py +989 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/img.py +645 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/irc.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/latex.py +521 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexer.py +943 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +559 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +1198 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/modeline.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/plugin.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/scanner.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/style.py +197 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/token.py +213 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/unistring.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/util.py +330 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/__init__.py +322 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/actions.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/common.py +432 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/core.py +6115 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +656 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/exceptions.py +299 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/helpers.py +1100 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/results.py +796 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/testing.py +331 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/unicode.py +361 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/util.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +330 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +353 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/__init__.py +182 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/adapters.py +538 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/api.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/auth.py +315 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/certs.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/compat.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/cookies.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/exceptions.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/help.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/hooks.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/models.py +1034 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/packages.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/sessions.py +833 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/status_codes.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/structures.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/utils.py +1094 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +547 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/structs.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/__init__.py +177 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/__main__.py +274 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +451 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_export_format.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_extension.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_fileno.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_inspect.py +270 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_log_render.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_loop.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_null_file.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_palettes.py +309 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_pick.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_ratio.py +160 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_spinners.py +482 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_stack.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_timer.py +19 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_win32_console.py +662 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_windows.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_wrap.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/abc.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/align.py +311 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/ansi.py +240 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/bar.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/box.py +517 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/cells.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/color.py +622 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/columns.py +187 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/console.py +2633 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/constrain.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/containers.py +167 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/control.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/default_styles.py +190 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/diagnose.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/emoji.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/errors.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/filesize.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/highlighter.py +232 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/json.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/jupyter.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/layout.py +443 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/live.py +375 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/live_render.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/logging.py +289 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/markup.py +246 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/measure.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/padding.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/pager.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/palette.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/panel.py +308 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/pretty.py +994 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/progress.py +1702 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/progress_bar.py +224 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/prompt.py +376 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/protocol.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/region.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/repr.py +149 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/rule.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/scope.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/screen.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/segment.py +739 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/spinner.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/status.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/style.py +796 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/styled.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/syntax.py +948 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/table.py +1002 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/text.py +1307 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/theme.py +115 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/themes.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/traceback.py +756 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/tree.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/six.py +998 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/__init__.py +608 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/_asyncio.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/_utils.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/after.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/before.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/before_sleep.py +71 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/nap.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/retry.py +272 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/stop.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/wait.py +228 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/__init__.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_parser.py +691 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_re.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_types.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_api.py +302 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_macos.py +501 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_openssl.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_windows.py +554 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/typing_extensions.py +3072 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/_collections.py +337 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/connection.py +572 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1132 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +921 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +537 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/request.py +191 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/response.py +879 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +620 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/__init__.py +3725 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_find_distributions.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_integration_zope_interface.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_markers.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_pkg_resources.py +427 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_resources.py +869 -0
- py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_working_set.py +501 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/__init__.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/__main__.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/cmdline.py +668 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/console.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/filter.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/filters/__init__.py +940 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatter.py +129 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/__init__.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/_mapping.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/bbcode.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/groff.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/html.py +987 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/img.py +685 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/irc.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/latex.py +518 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/other.py +160 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/pangomarkup.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/rtf.py +349 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/svg.py +185 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/terminal.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/terminal256.py +338 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexer.py +961 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/__init__.py +362 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_ada_builtins.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_asy_builtins.py +1644 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_cl_builtins.py +231 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_cocoa_builtins.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_csound_builtins.py +1780 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_css_builtins.py +558 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_julia_builtins.py +411 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lasso_builtins.py +5326 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lilypond_builtins.py +4932 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lua_builtins.py +285 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_luau_builtins.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mapping.py +589 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mql_builtins.py +1171 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mysql_builtins.py +1335 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_openedge_builtins.py +2600 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_php_builtins.py +3325 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_postgres_builtins.py +739 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_qlik_builtins.py +666 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_scheme_builtins.py +1609 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_scilab_builtins.py +3093 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_sourcemod_builtins.py +1151 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_stan_builtins.py +648 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_stata_builtins.py +457 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_tsql_builtins.py +1003 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_usd_builtins.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_vbscript_builtins.py +279 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_vim_builtins.py +1938 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/actionscript.py +243 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ada.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/agile.py +25 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/algebra.py +298 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ambient.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/amdgpu.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ampl.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/apdlexer.py +593 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/apl.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/archetype.py +315 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/arrow.py +116 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/arturo.py +249 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asc.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asm.py +1050 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asn1.py +178 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/automation.py +379 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bare.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/basic.py +656 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bdd.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/berry.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bibtex.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/blueprint.py +173 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/boa.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bqn.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/business.py +625 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/c_cpp.py +414 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/c_like.py +738 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/capnproto.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/carbon.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/cddl.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/chapel.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/clean.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/comal.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/compiled.py +35 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/configs.py +1424 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/console.py +114 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/cplint.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/crystal.py +364 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/csound.py +466 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/css.py +602 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/d.py +259 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dalvik.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/data.py +763 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dax.py +135 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/devicetree.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/diff.py +169 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dns.py +109 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dotnet.py +846 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dsls.py +970 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dylan.py +279 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ecl.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/eiffel.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/elm.py +123 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/elpi.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/email.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/erlang.py +526 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/esoteric.py +300 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ezhil.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/factor.py +363 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fantom.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/felix.py +275 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fift.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/floscript.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/forth.py +178 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fortran.py +212 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/foxpro.py +427 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/freefem.py +893 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/func.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/functional.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/futhark.py +105 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gcodelexer.py +35 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gdscript.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/go.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/grammar_notation.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graph.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphics.py +794 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphql.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphviz.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gsql.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/haskell.py +866 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/haxe.py +935 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/hdl.py +466 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/hexdump.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/html.py +626 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/idl.py +284 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/igor.py +435 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/inferno.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/installers.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/int_fiction.py +1370 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/iolang.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/j.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/javascript.py +1587 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jmespath.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jslt.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jsonnet.py +169 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jsx.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/julia.py +293 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jvm.py +1802 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/kuin.py +332 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/kusto.py +93 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ldap.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lean.py +241 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lilypond.py +225 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lisp.py +3146 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/macaulay2.py +1788 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/make.py +212 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/markup.py +1654 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/math.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/matlab.py +3306 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/maxima.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/meson.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mime.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/minecraft.py +391 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mips.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ml.py +958 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/modeling.py +366 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/modula2.py +1579 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mojo.py +704 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/monte.py +203 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mosel.py +447 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ncl.py +894 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nimrod.py +199 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nit.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nix.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/oberon.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/objective.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ooc.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/openscad.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/other.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/parasail.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/parsers.py +798 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pascal.py +644 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pawn.py +202 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/perl.py +733 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/phix.py +363 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/php.py +334 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pointless.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pony.py +93 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/praat.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/procfile.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/prolog.py +318 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/promql.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/prql.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ptx.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/python.py +1198 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/q.py +187 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/qlik.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/qvt.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/r.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rdf.py +468 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rebol.py +419 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/resource.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ride.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rita.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rnc.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/roboconf.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/robotframework.py +551 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ruby.py +518 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rust.py +222 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sas.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/savi.py +171 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/scdoc.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/scripting.py +1598 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sgf.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/shell.py +898 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sieve.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/slash.py +183 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smalltalk.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smithy.py +77 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smv.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/snobol.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/solidity.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/soong.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sophia.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/special.py +121 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/spice.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sql.py +1033 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/srcinfo.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/stata.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/supercollider.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tact.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tal.py +77 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tcl.py +148 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/teal.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/templates.py +2355 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/teraterm.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/testing.py +209 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/text.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/textedit.py +205 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/textfmts.py +436 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/theorem.py +410 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/thingsdb.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tlb.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tls.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tnt.py +270 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/trafficscript.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/typoscript.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/typst.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ul4.py +309 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/unicon.py +413 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/urbi.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/usd.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/varnish.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/verification.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/verifpal.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/vip.py +150 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/vyper.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/web.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webassembly.py +119 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webidl.py +298 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webmisc.py +1006 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wgsl.py +406 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/whiley.py +115 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wowtoc.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wren.py +98 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/x10.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/xorg.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/yang.py +103 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/yara.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/zig.py +125 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/modeline.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/plugin.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/regexopt.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/scanner.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/sphinxext.py +247 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/style.py +203 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/__init__.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/_mapping.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/abap.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/algol.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/algol_nu.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/arduino.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/autumn.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/borland.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/bw.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/coffee.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/colorful.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/default.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/dracula.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/emacs.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/friendly.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/friendly_grayscale.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/fruity.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/gh_dark.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/gruvbox.py +118 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/igor.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/inkpot.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lightbulb.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lilypond.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lovelace.py +100 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/manni.py +79 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/material.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/monokai.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/murphy.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/native.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/nord.py +156 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/onedark.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/paraiso_dark.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/paraiso_light.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/pastie.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/perldoc.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/rainbow_dash.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/rrt.py +39 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/sas.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/solarized.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/staroffice.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/stata_dark.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/stata_light.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/tango.py +143 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/trac.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/vim.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/vs.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/xcode.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/styles/zenburn.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/token.py +214 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/unistring.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/pygments/util.py +324 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/__init__.py +184 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/__version__.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/_internal_utils.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/adapters.py +719 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/api.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/auth.py +314 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/certs.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/compat.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/cookies.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/exceptions.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/help.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/hooks.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/models.py +1037 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/packages.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/sessions.py +831 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/status_codes.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/structures.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/requests/utils.py +1096 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/__init__.py +290 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_core_metadata.py +286 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/__init__.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_log.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_macos_compat.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_modified.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +604 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/archive_util.py +264 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/ccompiler.py +1256 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/cmd.py +439 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/__init__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/_framework_compat.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +597 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build.py +156 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_clib.py +208 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_ext.py +796 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_py.py +406 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/check.py +154 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/clean.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/config.py +369 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install.py +811 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_data.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_egg_info.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_headers.py +44 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_lib.py +234 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/sdist.py +515 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/py38.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/py39.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/core.py +286 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +339 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/debug.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dep_util.py +14 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dir_util.py +249 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dist.py +1288 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/errors.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/extension.py +247 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/fancy_getopt.py +469 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/file_util.py +236 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/filelist.py +369 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/log.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/spawn.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/sysconfig.py +583 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/__init__.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/compat/py38.py +50 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/support.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_archive_util.py +353 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist_dumb.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist_rpm.py +128 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_clib.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +563 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_py.py +196 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_scripts.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_ccompiler.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_check.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_clean.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_cmd.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_config_cmd.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_core.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_dir_util.py +112 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_dist.py +545 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_extension.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_file_util.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_filelist.py +336 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install.py +245 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_data.py +74 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_headers.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_lib.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_scripts.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_log.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_mingwccompiler.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_modified.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +470 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_spawn.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_sysconfig.py +319 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_text_file.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_unixccompiler.py +351 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_util.py +243 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_version.py +80 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_versionpredicate.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/unix_compat.py +17 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/text_file.py +286 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/unixccompiler.py +402 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/util.py +505 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/version.py +349 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/versionpredicate.py +175 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/zosccompiler.py +229 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_entry_points.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_imp.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_importlib.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_itertools.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_normalization.py +144 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_path.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_reqs.py +41 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/__init__.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autoasync.py +142 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autocommand.py +70 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/automain.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autoparse.py +333 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/errors.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/__init__.py +2937 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/__main__.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/py38.py +24 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/__init__.py +1083 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_collections.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_compat.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_functools.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_meta.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_text.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py311.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py39.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/diagnose.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/__init__.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_adapters.py +168 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_common.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_itertools.py +38 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/abc.py +171 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py38.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py39.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/functional.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/future/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/future/adapters.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/readers.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/simple.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/_path.py +56 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py312.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py39.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/subdirectory/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/one/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/two/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_compatibilty_files.py +104 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_contents.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_custom.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_files.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_functional.py +242 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_open.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_path.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_read.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_reader.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_resource.py +241 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/util.py +164 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/zip.py +32 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/__init__.py +3986 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/compat/py38.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/collections/__init__.py +1091 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/context.py +361 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/functools/__init__.py +633 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/__init__.py +624 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/layouts.py +25 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/strip-prefix.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/to-dvorak.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/to-qwerty.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/__init__.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/more.py +4806 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/recipes.py +1046 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/__init__.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_elffile.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_manylinux.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_musllinux.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_parser.py +354 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_tokenizer.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/markers.py +325 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/metadata.py +804 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/requirements.py +91 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/specifiers.py +1009 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/tags.py +568 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/utils.py +174 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/version.py +563 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/__init__.py +627 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/__main__.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/android.py +249 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/api.py +292 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/macos.py +130 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/unix.py +275 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/version.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/windows.py +272 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/__init__.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_parser.py +691 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_re.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_types.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/__init__.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_checkers.py +993 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_config.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_decorators.py +235 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_exceptions.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_functions.py +308 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_importhook.py +213 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_memo.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_pytest_plugin.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_suppression.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_transformer.py +1229 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_union_transformer.py +55 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_utils.py +173 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typing_extensions.py +3641 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/__main__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +595 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +273 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/pack.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/tags.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/unpack.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +469 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/util.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_elffile.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_manylinux.py +260 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_musllinux.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_parser.py +356 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/markers.py +253 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/requirements.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/specifiers.py +1011 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/tags.py +571 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/utils.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/version.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +196 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/__init__.py +501 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/compat/py310.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/glob.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/archive_util.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/build_meta.py +530 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/_requirestxt.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/alias.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_egg.py +465 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_rpm.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_wheel.py +635 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build.py +135 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_clib.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_ext.py +468 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_py.py +404 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/develop.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/dist_info.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/easy_install.py +2388 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/editable_wheel.py +927 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/egg_info.py +717 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_egg_info.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_lib.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_scripts.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/rotate.py +65 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/saveopts.py +21 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/sdist.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/setopt.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/command/test.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py310.py +9 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py311.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py312.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py39.py +9 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/__init__.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +457 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/__init__.py +34 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/error_reporting.py +336 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +52 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +1319 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +375 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/expand.py +443 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/pyprojecttoml.py +466 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/config/setupcfg.py +780 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/depends.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/discovery.py +607 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/dist.py +955 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/errors.py +72 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/extension.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/glob.py +165 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/installer.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/launch.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/logging.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/modified.py +8 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/monkey.py +126 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/msvc.py +1515 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/namespaces.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/package_index.py +1148 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/sandbox.py +529 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/__init__.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/compat/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/compat/py39.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/downloads/__init__.py +57 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/downloads/preload.py +18 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +511 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_expand.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml.py +396 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py +99 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +969 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/contexts.py +145 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/environment.py +95 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/fixtures.py +157 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/helpers.py +77 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +224 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/mod_with_constant.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/namespaces.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/script-with-bom.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/server.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_archive_util.py +36 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_deprecations.py +28 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_egg.py +69 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +621 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_clib.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_ext.py +291 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_meta.py +970 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_py.py +480 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_config_discovery.py +647 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_core_metadata.py +389 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_depends.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_develop.py +175 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_dist.py +280 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_dist_info.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_distutils_adoption.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_easy_install.py +1468 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_editable_install.py +1285 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_egg_info.py +1285 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_extern.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_find_packages.py +218 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_find_py_modules.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_glob.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_install_scripts.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_logging.py +76 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_manifest.py +631 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_namespaces.py +138 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_packageindex.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_sandbox.py +134 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_sdist.py +975 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_setopt.py +40 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_setuptools.py +289 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_unicode_utils.py +10 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_virtualenv.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_warnings.py +106 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_wheel.py +707 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_windows_wrappers.py +259 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/text.py +4 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/textwrap.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/unicode_utils.py +102 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/version.py +6 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/warnings.py +107 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/wheel.py +236 -0
- py2docfx/venv/venv0/Lib/site-packages/setuptools/windows_support.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/__init__.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/among.py +13 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/arabic_stemmer.py +1199 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/armenian_stemmer.py +316 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/basestemmer.py +323 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/basque_stemmer.py +683 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/catalan_stemmer.py +784 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/danish_stemmer.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/dutch_stemmer.py +468 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/english_stemmer.py +731 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/finnish_stemmer.py +548 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/french_stemmer.py +967 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/german_stemmer.py +415 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/greek_stemmer.py +2271 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/hindi_stemmer.py +173 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/hungarian_stemmer.py +520 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/indonesian_stemmer.py +319 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/irish_stemmer.py +276 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/italian_stemmer.py +715 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/lithuanian_stemmer.py +469 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/nepali_stemmer.py +274 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/norwegian_stemmer.py +191 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/porter_stemmer.py +506 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/portuguese_stemmer.py +659 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/romanian_stemmer.py +633 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/russian_stemmer.py +492 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/serbian_stemmer.py +3497 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/spanish_stemmer.py +708 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/swedish_stemmer.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/tamil_stemmer.py +1788 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/turkish_stemmer.py +1803 -0
- py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/yiddish_stemmer.py +855 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/__init__.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/__main__.py +5 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/addnodes.py +564 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/application.py +1344 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/__init__.py +671 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/_epub_base.py +708 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/changes.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/dirhtml.py +51 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/dummy.py +46 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/epub3.py +293 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/gettext.py +306 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/html/__init__.py +1419 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/html/transforms.py +84 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/__init__.py +546 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/constants.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/nodes.py +37 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/theming.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/transforms.py +632 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/util.py +48 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/linkcheck.py +598 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/manpage.py +125 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/singlehtml.py +194 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/texinfo.py +224 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/text.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/xml.py +117 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/build.py +324 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/make_mode.py +161 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/quickstart.py +609 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/config.py +520 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/deprecation.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/__init__.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/code.py +483 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/other.py +393 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/patches.py +189 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/__init__.py +403 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/c.py +3880 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/changeset.py +160 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/citation.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/cpp.py +8162 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/index.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/javascript.py +499 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/math.py +150 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/python.py +1521 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/rst.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/std.py +1155 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/__init__.py +730 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/asset.py +15 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/indexentries.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/toctree.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/__init__.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/asset.py +141 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/dependencies.py +54 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/metadata.py +68 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/title.py +59 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/toctree.py +350 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/errors.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/events.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/apidoc.py +470 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/__init__.py +2793 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/directive.py +148 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/importer.py +307 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/mock.py +195 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/preserve_defaults.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/type_comment.py +131 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/typehints.py +216 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosectionlabel.py +66 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosummary/__init__.py +837 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosummary/generate.py +646 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/coverage.py +315 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/doctest.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/duration.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/extlinks.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/githubpages.py +31 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/graphviz.py +416 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/ifconfig.py +78 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/imgconverter.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/imgmath.py +390 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/inheritance_diagram.py +474 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/intersphinx.py +684 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/linkcode.py +73 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/mathjax.py +122 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/__init__.py +474 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/docstring.py +1356 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/iterators.py +235 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/todo.py +243 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/viewcode.py +341 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/extension.py +82 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/highlighting.py +184 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/io.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/jinja2glue.py +217 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/locale/__init__.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/parsers.py +96 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/project.py +94 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/__init__.py +171 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/ast.py +211 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/parser.py +573 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/pygments_styles.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/registry.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/roles.py +428 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/__init__.py +593 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/da.py +120 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/de.py +303 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/en.py +220 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/es.py +363 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/fi.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/fr.py +199 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/hu.py +226 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/it.py +316 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ja.py +536 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/nl.py +127 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/no.py +202 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/pt.py +261 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ro.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ru.py +251 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/sv.py +140 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/tr.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/search/zh.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/setup_command.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/__init__.py +7 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/comparer.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/fixtures.py +250 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/path.py +210 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/restructuredtext.py +27 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/util.py +206 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/theming.py +230 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/__init__.py +419 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/compact_bullet_list.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/i18n.py +528 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/__init__.py +279 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/code.py +136 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/images.py +271 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/references.py +47 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/__init__.py +407 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/build_phase.py +12 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/cfamily.py +462 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/console.py +129 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/display.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docfields.py +368 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docstrings.py +88 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docutils.py +621 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/exceptions.py +67 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/fileutil.py +97 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/http_date.py +20 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/i18n.py +262 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/images.py +113 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/inspect.py +811 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/inventory.py +170 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/jsdump.py +201 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/logging.py +603 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/matching.py +166 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/math.py +58 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/nodes.py +629 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/osutil.py +221 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/parallel.py +151 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/png.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/requests.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/rst.py +110 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/stemmer/__init__.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/tags.py +81 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/template.py +132 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/texescape.py +153 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/util/typing.py +352 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/versioning.py +176 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/__init__.py +1 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/_html4.py +858 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/html.py +45 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/html5.py +824 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/latex.py +2116 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/manpage.py +459 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/texinfo.py +1562 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/text.py +1182 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/xml.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/applehelp/__init__.py +276 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/devhelp/__init__.py +143 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/htmlhelp/__init__.py +340 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/jsmath/__init__.py +92 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/jsmath/version.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/qthelp/__init__.py +266 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/serializinghtml/__init__.py +180 -0
- py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/serializinghtml/jsonimpl.py +33 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/__init__.py +211 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_base_connection.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_collections.py +483 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_request_methods.py +278 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/_version.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/connection.py +1033 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/connectionpool.py +1182 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/__init__.py +16 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/connection.py +254 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/fetch.py +418 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/request.py +22 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/response.py +285 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/pyopenssl.py +552 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/socks.py +228 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/exceptions.py +321 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/fields.py +341 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/filepost.py +89 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/__init__.py +53 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/connection.py +356 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/probe.py +87 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/poolmanager.py +637 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/response.py +1265 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/__init__.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/connection.py +137 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/proxy.py +43 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/request.py +256 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/response.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/retry.py +533 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssl_.py +513 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssl_match_hostname.py +159 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssltransport.py +276 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/timeout.py +275 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/url.py +471 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/util.py +42 -0
- py2docfx/venv/venv0/Lib/site-packages/urllib3/util/wait.py +124 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/__init__.py +3 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/__main__.py +23 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/_bdist_wheel.py +604 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/_setuptools_logging.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/bdist_wheel.py +11 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/__init__.py +155 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/convert.py +273 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/pack.py +85 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/tags.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/cli/unpack.py +30 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/macosx_libfile.py +482 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/metadata.py +183 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/util.py +26 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/__init__.py +0 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_elffile.py +108 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_manylinux.py +260 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_musllinux.py +83 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_parser.py +356 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_structures.py +61 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_tokenizer.py +192 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/markers.py +253 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/requirements.py +90 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/specifiers.py +1011 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/tags.py +571 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/utils.py +172 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/version.py +561 -0
- py2docfx/venv/venv0/Lib/site-packages/wheel/wheelfile.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/__init__.py +390 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/composer.py +139 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/constructor.py +748 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/cyaml.py +101 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/dumper.py +62 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/emitter.py +1137 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/error.py +75 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/events.py +86 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/loader.py +63 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/nodes.py +49 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/parser.py +589 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/reader.py +185 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/representer.py +389 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/resolver.py +227 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/scanner.py +1435 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/serializer.py +111 -0
- py2docfx/venv/venv0/Lib/site-packages/yaml/tokens.py +104 -0
- py2docfx/venv/venv0/Scripts/rst2html.py +23 -0
- py2docfx/venv/venv0/Scripts/rst2html4.py +26 -0
- py2docfx/venv/venv0/Scripts/rst2html5.py +33 -0
- py2docfx/venv/venv0/Scripts/rst2latex.py +26 -0
- py2docfx/venv/venv0/Scripts/rst2man.py +27 -0
- py2docfx/venv/venv0/Scripts/rst2odt.py +28 -0
- py2docfx/venv/venv0/Scripts/rst2odt_prepstyles.py +65 -0
- py2docfx/venv/venv0/Scripts/rst2pseudoxml.py +23 -0
- py2docfx/venv/venv0/Scripts/rst2s5.py +24 -0
- py2docfx/venv/venv0/Scripts/rst2xetex.py +27 -0
- py2docfx/venv/venv0/Scripts/rst2xml.py +23 -0
- py2docfx/venv/venv0/Scripts/rstpep2html.py +25 -0
- {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/METADATA +1 -1
- py2docfx-0.1.10.dev1870645.dist-info/RECORD +1888 -0
- py2docfx-0.1.10.dev1859594.dist-info/RECORD +0 -129
- {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1598 @@
|
|
1
|
+
"""
|
2
|
+
pygments.lexers.scripting
|
3
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~
|
4
|
+
|
5
|
+
Lexer for scripting and embedded languages.
|
6
|
+
|
7
|
+
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
|
8
|
+
:license: BSD, see LICENSE for details.
|
9
|
+
"""
|
10
|
+
|
11
|
+
import re
|
12
|
+
|
13
|
+
from pygments.lexer import RegexLexer, include, bygroups, default, combined, \
|
14
|
+
words
|
15
|
+
from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
|
16
|
+
Number, Punctuation, Error, Whitespace, Other
|
17
|
+
from pygments.util import get_bool_opt, get_list_opt
|
18
|
+
|
19
|
+
__all__ = ['LuaLexer', 'LuauLexer', 'MoonScriptLexer', 'ChaiscriptLexer', 'LSLLexer',
|
20
|
+
'AppleScriptLexer', 'RexxLexer', 'MOOCodeLexer', 'HybrisLexer',
|
21
|
+
'EasytrieveLexer', 'JclLexer', 'MiniScriptLexer']
|
22
|
+
|
23
|
+
|
24
|
+
class LuaLexer(RegexLexer):
|
25
|
+
"""
|
26
|
+
For Lua source code.
|
27
|
+
|
28
|
+
Additional options accepted:
|
29
|
+
|
30
|
+
`func_name_highlighting`
|
31
|
+
If given and ``True``, highlight builtin function names
|
32
|
+
(default: ``True``).
|
33
|
+
`disabled_modules`
|
34
|
+
If given, must be a list of module names whose function names
|
35
|
+
should not be highlighted. By default all modules are highlighted.
|
36
|
+
|
37
|
+
To get a list of allowed modules have a look into the
|
38
|
+
`_lua_builtins` module:
|
39
|
+
|
40
|
+
.. sourcecode:: pycon
|
41
|
+
|
42
|
+
>>> from pygments.lexers._lua_builtins import MODULES
|
43
|
+
>>> MODULES.keys()
|
44
|
+
['string', 'coroutine', 'modules', 'io', 'basic', ...]
|
45
|
+
"""
|
46
|
+
|
47
|
+
name = 'Lua'
|
48
|
+
url = 'https://www.lua.org/'
|
49
|
+
aliases = ['lua']
|
50
|
+
filenames = ['*.lua', '*.wlua']
|
51
|
+
mimetypes = ['text/x-lua', 'application/x-lua']
|
52
|
+
version_added = ''
|
53
|
+
|
54
|
+
_comment_multiline = r'(?:--\[(?P<level>=*)\[[\w\W]*?\](?P=level)\])'
|
55
|
+
_comment_single = r'(?:--.*$)'
|
56
|
+
_space = r'(?:\s+)'
|
57
|
+
_s = rf'(?:{_comment_multiline}|{_comment_single}|{_space})'
|
58
|
+
_name = r'(?:[^\W\d]\w*)'
|
59
|
+
|
60
|
+
tokens = {
|
61
|
+
'root': [
|
62
|
+
# Lua allows a file to start with a shebang.
|
63
|
+
(r'#!.*', Comment.Preproc),
|
64
|
+
default('base'),
|
65
|
+
],
|
66
|
+
'ws': [
|
67
|
+
(_comment_multiline, Comment.Multiline),
|
68
|
+
(_comment_single, Comment.Single),
|
69
|
+
(_space, Text),
|
70
|
+
],
|
71
|
+
'base': [
|
72
|
+
include('ws'),
|
73
|
+
|
74
|
+
(r'(?i)0x[\da-f]*(\.[\da-f]*)?(p[+-]?\d+)?', Number.Hex),
|
75
|
+
(r'(?i)(\d*\.\d+|\d+\.\d*)(e[+-]?\d+)?', Number.Float),
|
76
|
+
(r'(?i)\d+e[+-]?\d+', Number.Float),
|
77
|
+
(r'\d+', Number.Integer),
|
78
|
+
|
79
|
+
# multiline strings
|
80
|
+
(r'(?s)\[(=*)\[.*?\]\1\]', String),
|
81
|
+
|
82
|
+
(r'::', Punctuation, 'label'),
|
83
|
+
(r'\.{3}', Punctuation),
|
84
|
+
(r'[=<>|~&+\-*/%#^]+|\.\.', Operator),
|
85
|
+
(r'[\[\]{}().,:;]', Punctuation),
|
86
|
+
(r'(and|or|not)\b', Operator.Word),
|
87
|
+
|
88
|
+
('(break|do|else|elseif|end|for|if|in|repeat|return|then|until|'
|
89
|
+
r'while)\b', Keyword.Reserved),
|
90
|
+
(r'goto\b', Keyword.Reserved, 'goto'),
|
91
|
+
(r'(local)\b', Keyword.Declaration),
|
92
|
+
(r'(true|false|nil)\b', Keyword.Constant),
|
93
|
+
|
94
|
+
(r'(function)\b', Keyword.Reserved, 'funcname'),
|
95
|
+
|
96
|
+
(r'[A-Za-z_]\w*(\.[A-Za-z_]\w*)?', Name),
|
97
|
+
|
98
|
+
("'", String.Single, combined('stringescape', 'sqs')),
|
99
|
+
('"', String.Double, combined('stringescape', 'dqs'))
|
100
|
+
],
|
101
|
+
|
102
|
+
'funcname': [
|
103
|
+
include('ws'),
|
104
|
+
(r'[.:]', Punctuation),
|
105
|
+
(rf'{_name}(?={_s}*[.:])', Name.Class),
|
106
|
+
(_name, Name.Function, '#pop'),
|
107
|
+
# inline function
|
108
|
+
(r'\(', Punctuation, '#pop'),
|
109
|
+
],
|
110
|
+
|
111
|
+
'goto': [
|
112
|
+
include('ws'),
|
113
|
+
(_name, Name.Label, '#pop'),
|
114
|
+
],
|
115
|
+
|
116
|
+
'label': [
|
117
|
+
include('ws'),
|
118
|
+
(r'::', Punctuation, '#pop'),
|
119
|
+
(_name, Name.Label),
|
120
|
+
],
|
121
|
+
|
122
|
+
'stringescape': [
|
123
|
+
(r'\\([abfnrtv\\"\']|[\r\n]{1,2}|z\s*|x[0-9a-fA-F]{2}|\d{1,3}|'
|
124
|
+
r'u\{[0-9a-fA-F]+\})', String.Escape),
|
125
|
+
],
|
126
|
+
|
127
|
+
'sqs': [
|
128
|
+
(r"'", String.Single, '#pop'),
|
129
|
+
(r"[^\\']+", String.Single),
|
130
|
+
],
|
131
|
+
|
132
|
+
'dqs': [
|
133
|
+
(r'"', String.Double, '#pop'),
|
134
|
+
(r'[^\\"]+', String.Double),
|
135
|
+
]
|
136
|
+
}
|
137
|
+
|
138
|
+
def __init__(self, **options):
|
139
|
+
self.func_name_highlighting = get_bool_opt(
|
140
|
+
options, 'func_name_highlighting', True)
|
141
|
+
self.disabled_modules = get_list_opt(options, 'disabled_modules', [])
|
142
|
+
|
143
|
+
self._functions = set()
|
144
|
+
if self.func_name_highlighting:
|
145
|
+
from pygments.lexers._lua_builtins import MODULES
|
146
|
+
for mod, func in MODULES.items():
|
147
|
+
if mod not in self.disabled_modules:
|
148
|
+
self._functions.update(func)
|
149
|
+
RegexLexer.__init__(self, **options)
|
150
|
+
|
151
|
+
def get_tokens_unprocessed(self, text):
|
152
|
+
for index, token, value in \
|
153
|
+
RegexLexer.get_tokens_unprocessed(self, text):
|
154
|
+
if token is Name:
|
155
|
+
if value in self._functions:
|
156
|
+
yield index, Name.Builtin, value
|
157
|
+
continue
|
158
|
+
elif '.' in value:
|
159
|
+
a, b = value.split('.')
|
160
|
+
yield index, Name, a
|
161
|
+
yield index + len(a), Punctuation, '.'
|
162
|
+
yield index + len(a) + 1, Name, b
|
163
|
+
continue
|
164
|
+
yield index, token, value
|
165
|
+
|
166
|
+
def _luau_make_expression(should_pop, _s):
|
167
|
+
temp_list = [
|
168
|
+
(r'0[xX][\da-fA-F_]*', Number.Hex, '#pop'),
|
169
|
+
(r'0[bB][\d_]*', Number.Bin, '#pop'),
|
170
|
+
(r'\.?\d[\d_]*(?:\.[\d_]*)?(?:[eE][+-]?[\d_]+)?', Number.Float, '#pop'),
|
171
|
+
|
172
|
+
(words((
|
173
|
+
'true', 'false', 'nil'
|
174
|
+
), suffix=r'\b'), Keyword.Constant, '#pop'),
|
175
|
+
|
176
|
+
(r'\[(=*)\[[.\n]*?\]\1\]', String, '#pop'),
|
177
|
+
|
178
|
+
(r'(\.)([a-zA-Z_]\w*)(?=%s*[({"\'])', bygroups(Punctuation, Name.Function), '#pop'),
|
179
|
+
(r'(\.)([a-zA-Z_]\w*)', bygroups(Punctuation, Name.Variable), '#pop'),
|
180
|
+
|
181
|
+
(rf'[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*(?={_s}*[({{"\'])', Name.Other, '#pop'),
|
182
|
+
(r'[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*', Name, '#pop'),
|
183
|
+
]
|
184
|
+
if should_pop:
|
185
|
+
return temp_list
|
186
|
+
return [entry[:2] for entry in temp_list]
|
187
|
+
|
188
|
+
def _luau_make_expression_special(should_pop):
|
189
|
+
temp_list = [
|
190
|
+
(r'\{', Punctuation, ('#pop', 'closing_brace_base', 'expression')),
|
191
|
+
(r'\(', Punctuation, ('#pop', 'closing_parenthesis_base', 'expression')),
|
192
|
+
|
193
|
+
(r'::?', Punctuation, ('#pop', 'type_end', 'type_start')),
|
194
|
+
|
195
|
+
(r"'", String.Single, ('#pop', 'string_single')),
|
196
|
+
(r'"', String.Double, ('#pop', 'string_double')),
|
197
|
+
(r'`', String.Backtick, ('#pop', 'string_interpolated')),
|
198
|
+
]
|
199
|
+
if should_pop:
|
200
|
+
return temp_list
|
201
|
+
return [(entry[0], entry[1], entry[2][1:]) for entry in temp_list]
|
202
|
+
|
203
|
+
class LuauLexer(RegexLexer):
|
204
|
+
"""
|
205
|
+
For Luau source code.
|
206
|
+
|
207
|
+
Additional options accepted:
|
208
|
+
|
209
|
+
`include_luau_builtins`
|
210
|
+
If given and ``True``, automatically highlight Luau builtins
|
211
|
+
(default: ``True``).
|
212
|
+
`include_roblox_builtins`
|
213
|
+
If given and ``True``, automatically highlight Roblox-specific builtins
|
214
|
+
(default: ``False``).
|
215
|
+
`additional_builtins`
|
216
|
+
If given, must be a list of additional builtins to highlight.
|
217
|
+
`disabled_builtins`
|
218
|
+
If given, must be a list of builtins that will not be highlighted.
|
219
|
+
"""
|
220
|
+
|
221
|
+
name = 'Luau'
|
222
|
+
url = 'https://luau-lang.org/'
|
223
|
+
aliases = ['luau']
|
224
|
+
filenames = ['*.luau']
|
225
|
+
version_added = '2.18'
|
226
|
+
|
227
|
+
_comment_multiline = r'(?:--\[(?P<level>=*)\[[\w\W]*?\](?P=level)\])'
|
228
|
+
_comment_single = r'(?:--.*$)'
|
229
|
+
_s = r'(?:{}|{}|{})'.format(_comment_multiline, _comment_single, r'\s+')
|
230
|
+
|
231
|
+
tokens = {
|
232
|
+
'root': [
|
233
|
+
(r'#!.*', Comment.Hashbang, 'base'),
|
234
|
+
default('base'),
|
235
|
+
],
|
236
|
+
|
237
|
+
'ws': [
|
238
|
+
(_comment_multiline, Comment.Multiline),
|
239
|
+
(_comment_single, Comment.Single),
|
240
|
+
(r'\s+', Whitespace),
|
241
|
+
],
|
242
|
+
|
243
|
+
'base': [
|
244
|
+
include('ws'),
|
245
|
+
|
246
|
+
*_luau_make_expression_special(False),
|
247
|
+
(r'\.\.\.', Punctuation),
|
248
|
+
|
249
|
+
(rf'type\b(?={_s}+[a-zA-Z_])', Keyword.Reserved, 'type_declaration'),
|
250
|
+
(rf'export\b(?={_s}+[a-zA-Z_])', Keyword.Reserved),
|
251
|
+
|
252
|
+
(r'(?:\.\.|//|[+\-*\/%^<>=])=?', Operator, 'expression'),
|
253
|
+
(r'~=', Operator, 'expression'),
|
254
|
+
|
255
|
+
(words((
|
256
|
+
'and', 'or', 'not'
|
257
|
+
), suffix=r'\b'), Operator.Word, 'expression'),
|
258
|
+
|
259
|
+
(words((
|
260
|
+
'elseif', 'for', 'if', 'in', 'repeat', 'return', 'until',
|
261
|
+
'while'), suffix=r'\b'), Keyword.Reserved, 'expression'),
|
262
|
+
(r'local\b', Keyword.Declaration, 'expression'),
|
263
|
+
|
264
|
+
(r'function\b', Keyword.Reserved, ('expression', 'func_name')),
|
265
|
+
|
266
|
+
(r'[\])};]+', Punctuation),
|
267
|
+
|
268
|
+
include('expression_static'),
|
269
|
+
*_luau_make_expression(False, _s),
|
270
|
+
|
271
|
+
(r'[\[.,]', Punctuation, 'expression'),
|
272
|
+
],
|
273
|
+
'expression_static': [
|
274
|
+
(words((
|
275
|
+
'break', 'continue', 'do', 'else', 'elseif', 'end', 'for',
|
276
|
+
'if', 'in', 'repeat', 'return', 'then', 'until', 'while'),
|
277
|
+
suffix=r'\b'), Keyword.Reserved),
|
278
|
+
],
|
279
|
+
'expression': [
|
280
|
+
include('ws'),
|
281
|
+
|
282
|
+
(r'if\b', Keyword.Reserved, ('ternary', 'expression')),
|
283
|
+
|
284
|
+
(r'local\b', Keyword.Declaration),
|
285
|
+
*_luau_make_expression_special(True),
|
286
|
+
(r'\.\.\.', Punctuation, '#pop'),
|
287
|
+
|
288
|
+
(r'function\b', Keyword.Reserved, 'func_name'),
|
289
|
+
|
290
|
+
include('expression_static'),
|
291
|
+
*_luau_make_expression(True, _s),
|
292
|
+
|
293
|
+
default('#pop'),
|
294
|
+
],
|
295
|
+
'ternary': [
|
296
|
+
include('ws'),
|
297
|
+
|
298
|
+
(r'else\b', Keyword.Reserved, '#pop'),
|
299
|
+
(words((
|
300
|
+
'then', 'elseif',
|
301
|
+
), suffix=r'\b'), Operator.Reserved, 'expression'),
|
302
|
+
|
303
|
+
default('#pop'),
|
304
|
+
],
|
305
|
+
|
306
|
+
'closing_brace_pop': [
|
307
|
+
(r'\}', Punctuation, '#pop'),
|
308
|
+
],
|
309
|
+
'closing_parenthesis_pop': [
|
310
|
+
(r'\)', Punctuation, '#pop'),
|
311
|
+
],
|
312
|
+
'closing_gt_pop': [
|
313
|
+
(r'>', Punctuation, '#pop'),
|
314
|
+
],
|
315
|
+
|
316
|
+
'closing_parenthesis_base': [
|
317
|
+
include('closing_parenthesis_pop'),
|
318
|
+
include('base'),
|
319
|
+
],
|
320
|
+
'closing_parenthesis_type': [
|
321
|
+
include('closing_parenthesis_pop'),
|
322
|
+
include('type'),
|
323
|
+
],
|
324
|
+
'closing_brace_base': [
|
325
|
+
include('closing_brace_pop'),
|
326
|
+
include('base'),
|
327
|
+
],
|
328
|
+
'closing_brace_type': [
|
329
|
+
include('closing_brace_pop'),
|
330
|
+
include('type'),
|
331
|
+
],
|
332
|
+
'closing_gt_type': [
|
333
|
+
include('closing_gt_pop'),
|
334
|
+
include('type'),
|
335
|
+
],
|
336
|
+
|
337
|
+
'string_escape': [
|
338
|
+
(r'\\z\s*', String.Escape),
|
339
|
+
(r'\\(?:[abfnrtvz\\"\'`\{\n])|[\r\n]{1,2}|x[\da-fA-F]{2}|\d{1,3}|'
|
340
|
+
r'u\{\}[\da-fA-F]*\}', String.Escape),
|
341
|
+
],
|
342
|
+
'string_single': [
|
343
|
+
include('string_escape'),
|
344
|
+
|
345
|
+
(r"'", String.Single, "#pop"),
|
346
|
+
(r"[^\\']+", String.Single),
|
347
|
+
],
|
348
|
+
'string_double': [
|
349
|
+
include('string_escape'),
|
350
|
+
|
351
|
+
(r'"', String.Double, "#pop"),
|
352
|
+
(r'[^\\"]+', String.Double),
|
353
|
+
],
|
354
|
+
'string_interpolated': [
|
355
|
+
include('string_escape'),
|
356
|
+
|
357
|
+
(r'\{', Punctuation, ('closing_brace_base', 'expression')),
|
358
|
+
|
359
|
+
(r'`', String.Backtick, "#pop"),
|
360
|
+
(r'[^\\`\{]+', String.Backtick),
|
361
|
+
],
|
362
|
+
|
363
|
+
'func_name': [
|
364
|
+
include('ws'),
|
365
|
+
|
366
|
+
(r'[.:]', Punctuation),
|
367
|
+
(rf'[a-zA-Z_]\w*(?={_s}*[.:])', Name.Class),
|
368
|
+
(r'[a-zA-Z_]\w*', Name.Function),
|
369
|
+
|
370
|
+
(r'<', Punctuation, 'closing_gt_type'),
|
371
|
+
|
372
|
+
(r'\(', Punctuation, '#pop'),
|
373
|
+
],
|
374
|
+
|
375
|
+
'type': [
|
376
|
+
include('ws'),
|
377
|
+
|
378
|
+
(r'\(', Punctuation, 'closing_parenthesis_type'),
|
379
|
+
(r'\{', Punctuation, 'closing_brace_type'),
|
380
|
+
(r'<', Punctuation, 'closing_gt_type'),
|
381
|
+
|
382
|
+
(r"'", String.Single, 'string_single'),
|
383
|
+
(r'"', String.Double, 'string_double'),
|
384
|
+
|
385
|
+
(r'[|&\.,\[\]:=]+', Punctuation),
|
386
|
+
(r'->', Punctuation),
|
387
|
+
|
388
|
+
(r'typeof\(', Name.Builtin, ('closing_parenthesis_base',
|
389
|
+
'expression')),
|
390
|
+
(r'[a-zA-Z_]\w*', Name.Class),
|
391
|
+
],
|
392
|
+
'type_start': [
|
393
|
+
include('ws'),
|
394
|
+
|
395
|
+
(r'\(', Punctuation, ('#pop', 'closing_parenthesis_type')),
|
396
|
+
(r'\{', Punctuation, ('#pop', 'closing_brace_type')),
|
397
|
+
(r'<', Punctuation, ('#pop', 'closing_gt_type')),
|
398
|
+
|
399
|
+
(r"'", String.Single, ('#pop', 'string_single')),
|
400
|
+
(r'"', String.Double, ('#pop', 'string_double')),
|
401
|
+
|
402
|
+
(r'typeof\(', Name.Builtin, ('#pop', 'closing_parenthesis_base',
|
403
|
+
'expression')),
|
404
|
+
(r'[a-zA-Z_]\w*', Name.Class, '#pop'),
|
405
|
+
],
|
406
|
+
'type_end': [
|
407
|
+
include('ws'),
|
408
|
+
|
409
|
+
(r'[|&\.]', Punctuation, 'type_start'),
|
410
|
+
(r'->', Punctuation, 'type_start'),
|
411
|
+
|
412
|
+
(r'<', Punctuation, 'closing_gt_type'),
|
413
|
+
|
414
|
+
default('#pop'),
|
415
|
+
],
|
416
|
+
'type_declaration': [
|
417
|
+
include('ws'),
|
418
|
+
|
419
|
+
(r'[a-zA-Z_]\w*', Name.Class),
|
420
|
+
(r'<', Punctuation, 'closing_gt_type'),
|
421
|
+
|
422
|
+
(r'=', Punctuation, ('#pop', 'type_end', 'type_start')),
|
423
|
+
],
|
424
|
+
}
|
425
|
+
|
426
|
+
def __init__(self, **options):
|
427
|
+
self.include_luau_builtins = get_bool_opt(
|
428
|
+
options, 'include_luau_builtins', True)
|
429
|
+
self.include_roblox_builtins = get_bool_opt(
|
430
|
+
options, 'include_roblox_builtins', False)
|
431
|
+
self.additional_builtins = get_list_opt(options, 'additional_builtins', [])
|
432
|
+
self.disabled_builtins = get_list_opt(options, 'disabled_builtins', [])
|
433
|
+
|
434
|
+
self._builtins = set(self.additional_builtins)
|
435
|
+
if self.include_luau_builtins:
|
436
|
+
from pygments.lexers._luau_builtins import LUAU_BUILTINS
|
437
|
+
self._builtins.update(LUAU_BUILTINS)
|
438
|
+
if self.include_roblox_builtins:
|
439
|
+
from pygments.lexers._luau_builtins import ROBLOX_BUILTINS
|
440
|
+
self._builtins.update(ROBLOX_BUILTINS)
|
441
|
+
if self.additional_builtins:
|
442
|
+
self._builtins.update(self.additional_builtins)
|
443
|
+
self._builtins.difference_update(self.disabled_builtins)
|
444
|
+
|
445
|
+
RegexLexer.__init__(self, **options)
|
446
|
+
|
447
|
+
def get_tokens_unprocessed(self, text):
|
448
|
+
for index, token, value in \
|
449
|
+
RegexLexer.get_tokens_unprocessed(self, text):
|
450
|
+
if token is Name or token is Name.Other:
|
451
|
+
split_value = value.split('.')
|
452
|
+
complete_value = []
|
453
|
+
new_index = index
|
454
|
+
for position in range(len(split_value), 0, -1):
|
455
|
+
potential_string = '.'.join(split_value[:position])
|
456
|
+
if potential_string in self._builtins:
|
457
|
+
yield index, Name.Builtin, potential_string
|
458
|
+
new_index += len(potential_string)
|
459
|
+
|
460
|
+
if complete_value:
|
461
|
+
yield new_index, Punctuation, '.'
|
462
|
+
new_index += 1
|
463
|
+
break
|
464
|
+
complete_value.insert(0, split_value[position - 1])
|
465
|
+
|
466
|
+
for position, substring in enumerate(complete_value):
|
467
|
+
if position + 1 == len(complete_value):
|
468
|
+
if token is Name:
|
469
|
+
yield new_index, Name.Variable, substring
|
470
|
+
continue
|
471
|
+
yield new_index, Name.Function, substring
|
472
|
+
continue
|
473
|
+
yield new_index, Name.Variable, substring
|
474
|
+
new_index += len(substring)
|
475
|
+
yield new_index, Punctuation, '.'
|
476
|
+
new_index += 1
|
477
|
+
|
478
|
+
continue
|
479
|
+
yield index, token, value
|
480
|
+
|
481
|
+
class MoonScriptLexer(LuaLexer):
|
482
|
+
"""
|
483
|
+
For MoonScript source code.
|
484
|
+
"""
|
485
|
+
|
486
|
+
name = 'MoonScript'
|
487
|
+
url = 'http://moonscript.org'
|
488
|
+
aliases = ['moonscript', 'moon']
|
489
|
+
filenames = ['*.moon']
|
490
|
+
mimetypes = ['text/x-moonscript', 'application/x-moonscript']
|
491
|
+
version_added = '1.5'
|
492
|
+
|
493
|
+
tokens = {
|
494
|
+
'root': [
|
495
|
+
(r'#!(.*?)$', Comment.Preproc),
|
496
|
+
default('base'),
|
497
|
+
],
|
498
|
+
'base': [
|
499
|
+
('--.*$', Comment.Single),
|
500
|
+
(r'(?i)(\d*\.\d+|\d+\.\d*)(e[+-]?\d+)?', Number.Float),
|
501
|
+
(r'(?i)\d+e[+-]?\d+', Number.Float),
|
502
|
+
(r'(?i)0x[0-9a-f]*', Number.Hex),
|
503
|
+
(r'\d+', Number.Integer),
|
504
|
+
(r'\n', Whitespace),
|
505
|
+
(r'[^\S\n]+', Text),
|
506
|
+
(r'(?s)\[(=*)\[.*?\]\1\]', String),
|
507
|
+
(r'(->|=>)', Name.Function),
|
508
|
+
(r':[a-zA-Z_]\w*', Name.Variable),
|
509
|
+
(r'(==|!=|~=|<=|>=|\.\.\.|\.\.|[=+\-*/%^<>#!.\\:])', Operator),
|
510
|
+
(r'[;,]', Punctuation),
|
511
|
+
(r'[\[\]{}()]', Keyword.Type),
|
512
|
+
(r'[a-zA-Z_]\w*:', Name.Variable),
|
513
|
+
(words((
|
514
|
+
'class', 'extends', 'if', 'then', 'super', 'do', 'with',
|
515
|
+
'import', 'export', 'while', 'elseif', 'return', 'for', 'in',
|
516
|
+
'from', 'when', 'using', 'else', 'and', 'or', 'not', 'switch',
|
517
|
+
'break'), suffix=r'\b'),
|
518
|
+
Keyword),
|
519
|
+
(r'(true|false|nil)\b', Keyword.Constant),
|
520
|
+
(r'(and|or|not)\b', Operator.Word),
|
521
|
+
(r'(self)\b', Name.Builtin.Pseudo),
|
522
|
+
(r'@@?([a-zA-Z_]\w*)?', Name.Variable.Class),
|
523
|
+
(r'[A-Z]\w*', Name.Class), # proper name
|
524
|
+
(r'[A-Za-z_]\w*(\.[A-Za-z_]\w*)?', Name),
|
525
|
+
("'", String.Single, combined('stringescape', 'sqs')),
|
526
|
+
('"', String.Double, combined('stringescape', 'dqs'))
|
527
|
+
],
|
528
|
+
'stringescape': [
|
529
|
+
(r'''\\([abfnrtv\\"']|\d{1,3})''', String.Escape)
|
530
|
+
],
|
531
|
+
'sqs': [
|
532
|
+
("'", String.Single, '#pop'),
|
533
|
+
("[^']+", String)
|
534
|
+
],
|
535
|
+
'dqs': [
|
536
|
+
('"', String.Double, '#pop'),
|
537
|
+
('[^"]+', String)
|
538
|
+
]
|
539
|
+
}
|
540
|
+
|
541
|
+
def get_tokens_unprocessed(self, text):
|
542
|
+
# set . as Operator instead of Punctuation
|
543
|
+
for index, token, value in LuaLexer.get_tokens_unprocessed(self, text):
|
544
|
+
if token == Punctuation and value == ".":
|
545
|
+
token = Operator
|
546
|
+
yield index, token, value
|
547
|
+
|
548
|
+
|
549
|
+
class ChaiscriptLexer(RegexLexer):
|
550
|
+
"""
|
551
|
+
For ChaiScript source code.
|
552
|
+
"""
|
553
|
+
|
554
|
+
name = 'ChaiScript'
|
555
|
+
url = 'http://chaiscript.com/'
|
556
|
+
aliases = ['chaiscript', 'chai']
|
557
|
+
filenames = ['*.chai']
|
558
|
+
mimetypes = ['text/x-chaiscript', 'application/x-chaiscript']
|
559
|
+
version_added = '2.0'
|
560
|
+
|
561
|
+
flags = re.DOTALL | re.MULTILINE
|
562
|
+
|
563
|
+
tokens = {
|
564
|
+
'commentsandwhitespace': [
|
565
|
+
(r'\s+', Text),
|
566
|
+
(r'//.*?\n', Comment.Single),
|
567
|
+
(r'/\*.*?\*/', Comment.Multiline),
|
568
|
+
(r'^\#.*?\n', Comment.Single)
|
569
|
+
],
|
570
|
+
'slashstartsregex': [
|
571
|
+
include('commentsandwhitespace'),
|
572
|
+
(r'/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/'
|
573
|
+
r'([gim]+\b|\B)', String.Regex, '#pop'),
|
574
|
+
(r'(?=/)', Text, ('#pop', 'badregex')),
|
575
|
+
default('#pop')
|
576
|
+
],
|
577
|
+
'badregex': [
|
578
|
+
(r'\n', Text, '#pop')
|
579
|
+
],
|
580
|
+
'root': [
|
581
|
+
include('commentsandwhitespace'),
|
582
|
+
(r'\n', Text),
|
583
|
+
(r'[^\S\n]+', Text),
|
584
|
+
(r'\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|\.\.'
|
585
|
+
r'(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?', Operator, 'slashstartsregex'),
|
586
|
+
(r'[{(\[;,]', Punctuation, 'slashstartsregex'),
|
587
|
+
(r'[})\].]', Punctuation),
|
588
|
+
(r'[=+\-*/]', Operator),
|
589
|
+
(r'(for|in|while|do|break|return|continue|if|else|'
|
590
|
+
r'throw|try|catch'
|
591
|
+
r')\b', Keyword, 'slashstartsregex'),
|
592
|
+
(r'(var)\b', Keyword.Declaration, 'slashstartsregex'),
|
593
|
+
(r'(attr|def|fun)\b', Keyword.Reserved),
|
594
|
+
(r'(true|false)\b', Keyword.Constant),
|
595
|
+
(r'(eval|throw)\b', Name.Builtin),
|
596
|
+
(r'`\S+`', Name.Builtin),
|
597
|
+
(r'[$a-zA-Z_]\w*', Name.Other),
|
598
|
+
(r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float),
|
599
|
+
(r'0x[0-9a-fA-F]+', Number.Hex),
|
600
|
+
(r'[0-9]+', Number.Integer),
|
601
|
+
(r'"', String.Double, 'dqstring'),
|
602
|
+
(r"'(\\\\|\\[^\\]|[^'\\])*'", String.Single),
|
603
|
+
],
|
604
|
+
'dqstring': [
|
605
|
+
(r'\$\{[^"}]+?\}', String.Interpol),
|
606
|
+
(r'\$', String.Double),
|
607
|
+
(r'\\\\', String.Double),
|
608
|
+
(r'\\"', String.Double),
|
609
|
+
(r'[^\\"$]+', String.Double),
|
610
|
+
(r'"', String.Double, '#pop'),
|
611
|
+
],
|
612
|
+
}
|
613
|
+
|
614
|
+
|
615
|
+
class LSLLexer(RegexLexer):
|
616
|
+
"""
|
617
|
+
For Second Life's Linden Scripting Language source code.
|
618
|
+
"""
|
619
|
+
|
620
|
+
name = 'LSL'
|
621
|
+
aliases = ['lsl']
|
622
|
+
filenames = ['*.lsl']
|
623
|
+
mimetypes = ['text/x-lsl']
|
624
|
+
url = 'https://wiki.secondlife.com/wiki/Linden_Scripting_Language'
|
625
|
+
version_added = '2.0'
|
626
|
+
|
627
|
+
flags = re.MULTILINE
|
628
|
+
|
629
|
+
lsl_keywords = r'\b(?:do|else|for|if|jump|return|while)\b'
|
630
|
+
lsl_types = r'\b(?:float|integer|key|list|quaternion|rotation|string|vector)\b'
|
631
|
+
lsl_states = r'\b(?:(?:state)\s+\w+|default)\b'
|
632
|
+
lsl_events = r'\b(?:state_(?:entry|exit)|touch(?:_(?:start|end))?|(?:land_)?collision(?:_(?:start|end))?|timer|listen|(?:no_)?sensor|control|(?:not_)?at_(?:rot_)?target|money|email|run_time_permissions|changed|attach|dataserver|moving_(?:start|end)|link_message|(?:on|object)_rez|remote_data|http_re(?:sponse|quest)|path_update|transaction_result)\b'
|
633
|
+
lsl_functions_builtin = r'\b(?:ll(?:ReturnObjectsBy(?:ID|Owner)|Json(?:2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(?:Mag|Norm|Dist)|Rot(?:Between|2(?:Euler|Fwd|Left|Up))|(?:Euler|Axes)2Rot|Whisper|(?:Region|Owner)?Say|Shout|Listen(?:Control|Remove)?|Sensor(?:Repeat|Remove)?|Detected(?:Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|(?:[GS]et)(?:AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(?:Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(?:Scale|Offset|Rotate)Texture|(?:Rot)?Target(?:Remove)?|(?:Stop)?MoveToTarget|Apply(?:Rotational)?Impulse|Set(?:KeyframedMotion|ContentType|RegionPos|(?:Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(?:Queueing|Radius)|Vehicle(?:Type|(?:Float|Vector|Rotation)Param)|(?:Touch|Sit)?Text|Camera(?:Eye|At)Offset|PrimitiveParams|ClickAction|Link(?:Alpha|Color|PrimitiveParams(?:Fast)?|Texture(?:Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get(?:(?:Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(?:PrimitiveParams|Number(?:OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(?:Details|PermMask|PrimCount)|Parcel(?:MaxPrims|Details|Prim(?:Count|Owners))|Attached|(?:SPMax|Free|Used)Memory|Region(?:Name|TimeDilation|FPS|Corner|AgentCount)|Root(?:Position|Rotation)|UnixTime|(?:Parcel|Region)Flags|(?:Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(?:Prims|NotecardLines|Sides)|Animation(?:List)?|(?:Camera|Local)(?:Pos|Rot)|Vel|Accel|Omega|Time(?:stamp|OfDay)|(?:Object|CenterOf)?Mass|MassMKS|Energy|Owner|(?:Owner)?Key|SunDirection|Texture(?:Offset|Scale|Rot)|Inventory(?:Number|Name|Key|Type|Creator|PermMask)|Permissions(?:Key)?|StartParameter|List(?:Length|EntryType)|Date|Agent(?:Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(?:Name|State))|(?:Get|Reset|GetAndReset)Time|PlaySound(?:Slave)?|LoopSound(?:Master|Slave)?|(?:Trigger|Stop|Preload)Sound|(?:(?:Get|Delete)Sub|Insert)String|To(?:Upper|Lower)|Give(?:InventoryList|Money)|RezObject|(?:Stop)?LookAt|Sleep|CollisionFilter|(?:Take|Release)Controls|DetachFromAvatar|AttachToAvatar(?:Temp)?|InstantMessage|(?:GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(?:Length|Trim)|(?:Start|Stop)Animation|TargetOmega|RequestPermissions|(?:Create|Break)Link|BreakAllLinks|(?:Give|Remove)Inventory|Water|PassTouches|Request(?:Agent|Inventory)Data|TeleportAgent(?:Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(?:Axis|Angle)|A(?:cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(?:CSV|Integer|Json|Float|String|Key|Vector|Rot|List(?:Strided)?)|DeleteSubList|List(?:Statistics|Sort|Randomize|(?:Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(?:CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(?:Slope|Normal|Contour)|GroundRepel|(?:Set|Remove)VehicleFlags|(?:AvatarOn)?(?:Link)?SitTarget|Script(?:Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(?:Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(?:Integer|String)ToBase64|XorBase64|Log(?:10)?|Base64To(?:String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(?:Load|Release|(?:E|Une)scape)URL|ParcelMedia(?:CommandList|Query)|ModPow|MapDestination|(?:RemoveFrom|AddTo|Reset)Land(?:Pass|Ban)List|(?:Set|Clear)CameraParams|HTTP(?:Request|Response)|TextBox|DetectedTouch(?:UV|Face|Pos|(?:N|Bin)ormal|ST)|(?:MD5|SHA1|DumpList2)String|Request(?:Secure)?URL|Clear(?:Prim|Link)Media|(?:Link)?ParticleSystem|(?:Get|Request)(?:Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(?:Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\b'
|
634
|
+
lsl_constants_float = r'\b(?:DEG_TO_RAD|PI(?:_BY_TWO)?|RAD_TO_DEG|SQRT2|TWO_PI)\b'
|
635
|
+
lsl_constants_integer = r'\b(?:JSON_APPEND|STATUS_(?:PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(?:_OBJECT)?|(?:DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(?:FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(?:_(?:BY_(?:LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(?:PARCEL(?:_OWNER)?|REGION)))?|CAMERA_(?:PITCH|DISTANCE|BEHINDNESS_(?:ANGLE|LAG)|(?:FOCUS|POSITION)(?:_(?:THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(?:ROOT|SET|ALL_(?:OTHERS|CHILDREN)|THIS)|ACTIVE|PASSIVE|SCRIPTED|CONTROL_(?:FWD|BACK|(?:ROT_)?(?:LEFT|RIGHT)|UP|DOWN|(?:ML_)?LBUTTON)|PERMISSION_(?:RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(?:CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(?:TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(?:INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(?:_START)?|TELEPORT|MEDIA)|OBJECT_(?:(?:PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_ON_REZ|NAME|DESC|POS|PRIM_EQUIVALENCE|RETURN_(?:PARCEL(?:_OWNER)?|REGION)|ROO?T|VELOCITY|OWNER|GROUP|CREATOR|ATTACHED_POINT|RENDER_WEIGHT|PATHFINDING_TYPE|(?:RUNNING|TOTAL)_SCRIPT_COUNT|SCRIPT_(?:MEMORY|TIME))|TYPE_(?:INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(?:DEBUG|PUBLIC)_CHANNEL|ATTACH_(?:AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](?:SHOULDER|HAND|FOOT|EAR|EYE|[UL](?:ARM|LEG)|HIP)|(?:LEFT|RIGHT)_PEC|HUD_(?:CENTER_[12]|TOP_(?:RIGHT|CENTER|LEFT)|BOTTOM(?:_(?:RIGHT|LEFT))?))|LAND_(?:LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(?:ONLINE|NAME|BORN|SIM_(?:POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(?:ON_FILE|USED)|REMOTE_DATA_(?:CHANNEL|REQUEST|REPLY)|PSYS_(?:PART_(?:BF_(?:ZERO|ONE(?:_MINUS_(?:DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(?:START|END)_(?:COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(?:RIBBON|WIND|INTERP_(?:COLOR|SCALE)|BOUNCE|FOLLOW_(?:SRC|VELOCITY)|TARGET_(?:POS|LINEAR)|EMISSIVE)_MASK)|SRC_(?:MAX_AGE|PATTERN|ANGLE_(?:BEGIN|END)|BURST_(?:RATE|PART_COUNT|RADIUS|SPEED_(?:MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(?:DROP|EXPLODE|ANGLE(?:_CONE(?:_EMPTY)?)?)))|VEHICLE_(?:REFERENCE_FRAME|TYPE_(?:NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(?:LINEAR|ANGULAR)_(?:FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(?:HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(?:LINEAR|ANGULAR)_(?:DEFLECTION_(?:EFFICIENCY|TIMESCALE)|MOTOR_(?:DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(?:EFFICIENCY|TIMESCALE)|BANKING_(?:EFFICIENCY|MIX|TIMESCALE)|FLAG_(?:NO_DEFLECTION_UP|LIMIT_(?:ROLL_ONLY|MOTOR_UP)|HOVER_(?:(?:WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(?:STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(?:TYPE(?:_(?:BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(?:DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(?:_(?:STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(?:NONE|LOW|MEDIUM|HIGH)|BUMP_(?:NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(?:DEFAULT|PLANAR)|SCULPT_(?:TYPE_(?:SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(?:MIRROR|INVERT))|PHYSICS(?:_(?:SHAPE_(?:CONVEX|NONE|PRIM|TYPE)))?|(?:POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(?:ALT_IMAGE_ENABLE|CONTROLS|(?:CURRENT|HOME)_URL|AUTO_(?:LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(?:WIDTH|HEIGHT)_PIXELS|WHITELIST(?:_ENABLE)?|PERMS_(?:INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(?:STANDARD|MINI)|PERM_(?:NONE|OWNER|GROUP|ANYONE)|MAX_(?:URL_LENGTH|WHITELIST_(?:SIZE|COUNT)|(?:WIDTH|HEIGHT)_PIXELS)))|MASK_(?:BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(?:TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(?:MEDIA_COMMAND_(?:STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(?:ALLOW_(?:FLY|(?:GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(?:GROUP_)?OBJECTS)|USE_(?:ACCESS_(?:GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(?:GROUP|ALL)_OBJECT_ENTRY)|COUNT_(?:TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(?:NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(?:MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(?:_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(?:HIDE|DEFAULT)|REGION_FLAG_(?:ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(?:COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(?:METHOD|MIMETYPE|BODY_(?:MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|STRING_(?:TRIM(?:_(?:HEAD|TAIL))?)|CLICK_ACTION_(?:NONE|TOUCH|SIT|BUY|PAY|OPEN(?:_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(?:NONE|SCRIPT_MEMORY)|RC_(?:DATA_FLAGS|DETECT_PHANTOM|GET_(?:LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(?:TYPES|AGENTS|(?:NON)?PHYSICAL|LAND))|RCERR_(?:CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(?:ALLOWED_(?:AGENT|GROUP)_(?:ADD|REMOVE)|BANNED_AGENT_(?:ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(?:COMMAND|CMD_(?:PLAY|STOP|PAUSE|SET_MODE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(?:GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(?:CMD_(?:(?:SMOOTH_)?STOP|JUMP)|DESIRED_(?:TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(?:_(?:[A-D]|NONE))?|MAX_(?:DECEL|TURN_RADIUS|(?:ACCEL|SPEED)))|PURSUIT_(?:OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(?:CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(?:EVADE_(?:HIDDEN|SPOTTED)|FAILURE_(?:DYNAMIC_PATHFINDING_DISABLED|INVALID_(?:GOAL|START)|NO_(?:NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(?:PARCEL_)?UNREACHABLE)|(?:GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(?:_(?:FAST|NONE|SLOW))?|CONTENT_TYPE_(?:ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(?:RADIUS|STATIC)|(?:PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(?:AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\b'
|
636
|
+
lsl_constants_integer_boolean = r'\b(?:FALSE|TRUE)\b'
|
637
|
+
lsl_constants_rotation = r'\b(?:ZERO_ROTATION)\b'
|
638
|
+
lsl_constants_string = r'\b(?:EOF|JSON_(?:ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(?:BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(?:GRANTED|DENIED))\b'
|
639
|
+
lsl_constants_vector = r'\b(?:TOUCH_INVALID_(?:TEXCOORD|VECTOR)|ZERO_VECTOR)\b'
|
640
|
+
lsl_invalid_broken = r'\b(?:LAND_(?:LARGE|MEDIUM|SMALL)_BRUSH)\b'
|
641
|
+
lsl_invalid_deprecated = r'\b(?:ATTACH_[LR]PEC|DATA_RATING|OBJECT_ATTACHMENT_(?:GEOMETRY_BYTES|SURFACE_AREA)|PRIM_(?:CAST_SHADOWS|MATERIAL_LIGHT|TYPE_LEGACY)|PSYS_SRC_(?:INNER|OUTER)ANGLE|VEHICLE_FLAG_NO_FLY_UP|ll(?:Cloud|Make(?:Explosion|Fountain|Smoke|Fire)|RemoteDataSetRegion|Sound(?:Preload)?|XorBase64Strings(?:Correct)?))\b'
|
642
|
+
lsl_invalid_illegal = r'\b(?:event)\b'
|
643
|
+
lsl_invalid_unimplemented = r'\b(?:CHARACTER_(?:MAX_ANGULAR_(?:ACCEL|SPEED)|TURN_SPEED_MULTIPLIER)|PERMISSION_(?:CHANGE_(?:JOINTS|PERMISSIONS)|RELEASE_OWNERSHIP|REMAP_CONTROLS)|PRIM_PHYSICS_MATERIAL|PSYS_SRC_OBJ_REL_MASK|ll(?:CollisionSprite|(?:Stop)?PointAt|(?:(?:Refresh|Set)Prim)URL|(?:Take|Release)Camera|RemoteLoadScript))\b'
|
644
|
+
lsl_reserved_godmode = r'\b(?:ll(?:GodLikeRezObject|Set(?:Inventory|Object)PermMask))\b'
|
645
|
+
lsl_reserved_log = r'\b(?:print)\b'
|
646
|
+
lsl_operators = r'\+\+|\-\-|<<|>>|&&?|\|\|?|\^|~|[!%<>=*+\-/]=?'
|
647
|
+
|
648
|
+
tokens = {
|
649
|
+
'root':
|
650
|
+
[
|
651
|
+
(r'//.*?\n', Comment.Single),
|
652
|
+
(r'/\*', Comment.Multiline, 'comment'),
|
653
|
+
(r'"', String.Double, 'string'),
|
654
|
+
(lsl_keywords, Keyword),
|
655
|
+
(lsl_types, Keyword.Type),
|
656
|
+
(lsl_states, Name.Class),
|
657
|
+
(lsl_events, Name.Builtin),
|
658
|
+
(lsl_functions_builtin, Name.Function),
|
659
|
+
(lsl_constants_float, Keyword.Constant),
|
660
|
+
(lsl_constants_integer, Keyword.Constant),
|
661
|
+
(lsl_constants_integer_boolean, Keyword.Constant),
|
662
|
+
(lsl_constants_rotation, Keyword.Constant),
|
663
|
+
(lsl_constants_string, Keyword.Constant),
|
664
|
+
(lsl_constants_vector, Keyword.Constant),
|
665
|
+
(lsl_invalid_broken, Error),
|
666
|
+
(lsl_invalid_deprecated, Error),
|
667
|
+
(lsl_invalid_illegal, Error),
|
668
|
+
(lsl_invalid_unimplemented, Error),
|
669
|
+
(lsl_reserved_godmode, Keyword.Reserved),
|
670
|
+
(lsl_reserved_log, Keyword.Reserved),
|
671
|
+
(r'\b([a-zA-Z_]\w*)\b', Name.Variable),
|
672
|
+
(r'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d*', Number.Float),
|
673
|
+
(r'(\d+\.\d*|\.\d+)', Number.Float),
|
674
|
+
(r'0[xX][0-9a-fA-F]+', Number.Hex),
|
675
|
+
(r'\d+', Number.Integer),
|
676
|
+
(lsl_operators, Operator),
|
677
|
+
(r':=?', Error),
|
678
|
+
(r'[,;{}()\[\]]', Punctuation),
|
679
|
+
(r'\n+', Whitespace),
|
680
|
+
(r'\s+', Whitespace)
|
681
|
+
],
|
682
|
+
'comment':
|
683
|
+
[
|
684
|
+
(r'[^*/]+', Comment.Multiline),
|
685
|
+
(r'/\*', Comment.Multiline, '#push'),
|
686
|
+
(r'\*/', Comment.Multiline, '#pop'),
|
687
|
+
(r'[*/]', Comment.Multiline)
|
688
|
+
],
|
689
|
+
'string':
|
690
|
+
[
|
691
|
+
(r'\\([nt"\\])', String.Escape),
|
692
|
+
(r'"', String.Double, '#pop'),
|
693
|
+
(r'\\.', Error),
|
694
|
+
(r'[^"\\]+', String.Double),
|
695
|
+
]
|
696
|
+
}
|
697
|
+
|
698
|
+
|
699
|
+
class AppleScriptLexer(RegexLexer):
|
700
|
+
"""
|
701
|
+
For AppleScript source code,
|
702
|
+
including `AppleScript Studio
|
703
|
+
<http://developer.apple.com/documentation/AppleScript/
|
704
|
+
Reference/StudioReference>`_.
|
705
|
+
Contributed by Andreas Amann <aamann@mac.com>.
|
706
|
+
"""
|
707
|
+
|
708
|
+
name = 'AppleScript'
|
709
|
+
url = 'https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html'
|
710
|
+
aliases = ['applescript']
|
711
|
+
filenames = ['*.applescript']
|
712
|
+
version_added = '1.0'
|
713
|
+
|
714
|
+
flags = re.MULTILINE | re.DOTALL
|
715
|
+
|
716
|
+
Identifiers = r'[a-zA-Z]\w*'
|
717
|
+
|
718
|
+
# XXX: use words() for all of these
|
719
|
+
Literals = ('AppleScript', 'current application', 'false', 'linefeed',
|
720
|
+
'missing value', 'pi', 'quote', 'result', 'return', 'space',
|
721
|
+
'tab', 'text item delimiters', 'true', 'version')
|
722
|
+
Classes = ('alias ', 'application ', 'boolean ', 'class ', 'constant ',
|
723
|
+
'date ', 'file ', 'integer ', 'list ', 'number ', 'POSIX file ',
|
724
|
+
'real ', 'record ', 'reference ', 'RGB color ', 'script ',
|
725
|
+
'text ', 'unit types', '(?:Unicode )?text', 'string')
|
726
|
+
BuiltIn = ('attachment', 'attribute run', 'character', 'day', 'month',
|
727
|
+
'paragraph', 'word', 'year')
|
728
|
+
HandlerParams = ('about', 'above', 'against', 'apart from', 'around',
|
729
|
+
'aside from', 'at', 'below', 'beneath', 'beside',
|
730
|
+
'between', 'for', 'given', 'instead of', 'on', 'onto',
|
731
|
+
'out of', 'over', 'since')
|
732
|
+
Commands = ('ASCII (character|number)', 'activate', 'beep', 'choose URL',
|
733
|
+
'choose application', 'choose color', 'choose file( name)?',
|
734
|
+
'choose folder', 'choose from list',
|
735
|
+
'choose remote application', 'clipboard info',
|
736
|
+
'close( access)?', 'copy', 'count', 'current date', 'delay',
|
737
|
+
'delete', 'display (alert|dialog)', 'do shell script',
|
738
|
+
'duplicate', 'exists', 'get eof', 'get volume settings',
|
739
|
+
'info for', 'launch', 'list (disks|folder)', 'load script',
|
740
|
+
'log', 'make', 'mount volume', 'new', 'offset',
|
741
|
+
'open( (for access|location))?', 'path to', 'print', 'quit',
|
742
|
+
'random number', 'read', 'round', 'run( script)?',
|
743
|
+
'say', 'scripting components',
|
744
|
+
'set (eof|the clipboard to|volume)', 'store script',
|
745
|
+
'summarize', 'system attribute', 'system info',
|
746
|
+
'the clipboard', 'time to GMT', 'write', 'quoted form')
|
747
|
+
References = ('(in )?back of', '(in )?front of', '[0-9]+(st|nd|rd|th)',
|
748
|
+
'first', 'second', 'third', 'fourth', 'fifth', 'sixth',
|
749
|
+
'seventh', 'eighth', 'ninth', 'tenth', 'after', 'back',
|
750
|
+
'before', 'behind', 'every', 'front', 'index', 'last',
|
751
|
+
'middle', 'some', 'that', 'through', 'thru', 'where', 'whose')
|
752
|
+
Operators = ("and", "or", "is equal", "equals", "(is )?equal to", "is not",
|
753
|
+
"isn't", "isn't equal( to)?", "is not equal( to)?",
|
754
|
+
"doesn't equal", "does not equal", "(is )?greater than",
|
755
|
+
"comes after", "is not less than or equal( to)?",
|
756
|
+
"isn't less than or equal( to)?", "(is )?less than",
|
757
|
+
"comes before", "is not greater than or equal( to)?",
|
758
|
+
"isn't greater than or equal( to)?",
|
759
|
+
"(is )?greater than or equal( to)?", "is not less than",
|
760
|
+
"isn't less than", "does not come before",
|
761
|
+
"doesn't come before", "(is )?less than or equal( to)?",
|
762
|
+
"is not greater than", "isn't greater than",
|
763
|
+
"does not come after", "doesn't come after", "starts? with",
|
764
|
+
"begins? with", "ends? with", "contains?", "does not contain",
|
765
|
+
"doesn't contain", "is in", "is contained by", "is not in",
|
766
|
+
"is not contained by", "isn't contained by", "div", "mod",
|
767
|
+
"not", "(a )?(ref( to)?|reference to)", "is", "does")
|
768
|
+
Control = ('considering', 'else', 'error', 'exit', 'from', 'if',
|
769
|
+
'ignoring', 'in', 'repeat', 'tell', 'then', 'times', 'to',
|
770
|
+
'try', 'until', 'using terms from', 'while', 'whith',
|
771
|
+
'with timeout( of)?', 'with transaction', 'by', 'continue',
|
772
|
+
'end', 'its?', 'me', 'my', 'return', 'of', 'as')
|
773
|
+
Declarations = ('global', 'local', 'prop(erty)?', 'set', 'get')
|
774
|
+
Reserved = ('but', 'put', 'returning', 'the')
|
775
|
+
StudioClasses = ('action cell', 'alert reply', 'application', 'box',
|
776
|
+
'browser( cell)?', 'bundle', 'button( cell)?', 'cell',
|
777
|
+
'clip view', 'color well', 'color-panel',
|
778
|
+
'combo box( item)?', 'control',
|
779
|
+
'data( (cell|column|item|row|source))?', 'default entry',
|
780
|
+
'dialog reply', 'document', 'drag info', 'drawer',
|
781
|
+
'event', 'font(-panel)?', 'formatter',
|
782
|
+
'image( (cell|view))?', 'matrix', 'menu( item)?', 'item',
|
783
|
+
'movie( view)?', 'open-panel', 'outline view', 'panel',
|
784
|
+
'pasteboard', 'plugin', 'popup button',
|
785
|
+
'progress indicator', 'responder', 'save-panel',
|
786
|
+
'scroll view', 'secure text field( cell)?', 'slider',
|
787
|
+
'sound', 'split view', 'stepper', 'tab view( item)?',
|
788
|
+
'table( (column|header cell|header view|view))',
|
789
|
+
'text( (field( cell)?|view))?', 'toolbar( item)?',
|
790
|
+
'user-defaults', 'view', 'window')
|
791
|
+
StudioEvents = ('accept outline drop', 'accept table drop', 'action',
|
792
|
+
'activated', 'alert ended', 'awake from nib', 'became key',
|
793
|
+
'became main', 'begin editing', 'bounds changed',
|
794
|
+
'cell value', 'cell value changed', 'change cell value',
|
795
|
+
'change item value', 'changed', 'child of item',
|
796
|
+
'choose menu item', 'clicked', 'clicked toolbar item',
|
797
|
+
'closed', 'column clicked', 'column moved',
|
798
|
+
'column resized', 'conclude drop', 'data representation',
|
799
|
+
'deminiaturized', 'dialog ended', 'document nib name',
|
800
|
+
'double clicked', 'drag( (entered|exited|updated))?',
|
801
|
+
'drop', 'end editing', 'exposed', 'idle', 'item expandable',
|
802
|
+
'item value', 'item value changed', 'items changed',
|
803
|
+
'keyboard down', 'keyboard up', 'launched',
|
804
|
+
'load data representation', 'miniaturized', 'mouse down',
|
805
|
+
'mouse dragged', 'mouse entered', 'mouse exited',
|
806
|
+
'mouse moved', 'mouse up', 'moved',
|
807
|
+
'number of browser rows', 'number of items',
|
808
|
+
'number of rows', 'open untitled', 'opened', 'panel ended',
|
809
|
+
'parameters updated', 'plugin loaded', 'prepare drop',
|
810
|
+
'prepare outline drag', 'prepare outline drop',
|
811
|
+
'prepare table drag', 'prepare table drop',
|
812
|
+
'read from file', 'resigned active', 'resigned key',
|
813
|
+
'resigned main', 'resized( sub views)?',
|
814
|
+
'right mouse down', 'right mouse dragged',
|
815
|
+
'right mouse up', 'rows changed', 'scroll wheel',
|
816
|
+
'selected tab view item', 'selection changed',
|
817
|
+
'selection changing', 'should begin editing',
|
818
|
+
'should close', 'should collapse item',
|
819
|
+
'should end editing', 'should expand item',
|
820
|
+
'should open( untitled)?',
|
821
|
+
'should quit( after last window closed)?',
|
822
|
+
'should select column', 'should select item',
|
823
|
+
'should select row', 'should select tab view item',
|
824
|
+
'should selection change', 'should zoom', 'shown',
|
825
|
+
'update menu item', 'update parameters',
|
826
|
+
'update toolbar item', 'was hidden', 'was miniaturized',
|
827
|
+
'will become active', 'will close', 'will dismiss',
|
828
|
+
'will display browser cell', 'will display cell',
|
829
|
+
'will display item cell', 'will display outline cell',
|
830
|
+
'will finish launching', 'will hide', 'will miniaturize',
|
831
|
+
'will move', 'will open', 'will pop up', 'will quit',
|
832
|
+
'will resign active', 'will resize( sub views)?',
|
833
|
+
'will select tab view item', 'will show', 'will zoom',
|
834
|
+
'write to file', 'zoomed')
|
835
|
+
StudioCommands = ('animate', 'append', 'call method', 'center',
|
836
|
+
'close drawer', 'close panel', 'display',
|
837
|
+
'display alert', 'display dialog', 'display panel', 'go',
|
838
|
+
'hide', 'highlight', 'increment', 'item for',
|
839
|
+
'load image', 'load movie', 'load nib', 'load panel',
|
840
|
+
'load sound', 'localized string', 'lock focus', 'log',
|
841
|
+
'open drawer', 'path for', 'pause', 'perform action',
|
842
|
+
'play', 'register', 'resume', 'scroll', 'select( all)?',
|
843
|
+
'show', 'size to fit', 'start', 'step back',
|
844
|
+
'step forward', 'stop', 'synchronize', 'unlock focus',
|
845
|
+
'update')
|
846
|
+
StudioProperties = ('accepts arrow key', 'action method', 'active',
|
847
|
+
'alignment', 'allowed identifiers',
|
848
|
+
'allows branch selection', 'allows column reordering',
|
849
|
+
'allows column resizing', 'allows column selection',
|
850
|
+
'allows customization',
|
851
|
+
'allows editing text attributes',
|
852
|
+
'allows empty selection', 'allows mixed state',
|
853
|
+
'allows multiple selection', 'allows reordering',
|
854
|
+
'allows undo', 'alpha( value)?', 'alternate image',
|
855
|
+
'alternate increment value', 'alternate title',
|
856
|
+
'animation delay', 'associated file name',
|
857
|
+
'associated object', 'auto completes', 'auto display',
|
858
|
+
'auto enables items', 'auto repeat',
|
859
|
+
'auto resizes( outline column)?',
|
860
|
+
'auto save expanded items', 'auto save name',
|
861
|
+
'auto save table columns', 'auto saves configuration',
|
862
|
+
'auto scroll', 'auto sizes all columns to fit',
|
863
|
+
'auto sizes cells', 'background color', 'bezel state',
|
864
|
+
'bezel style', 'bezeled', 'border rect', 'border type',
|
865
|
+
'bordered', 'bounds( rotation)?', 'box type',
|
866
|
+
'button returned', 'button type',
|
867
|
+
'can choose directories', 'can choose files',
|
868
|
+
'can draw', 'can hide',
|
869
|
+
'cell( (background color|size|type))?', 'characters',
|
870
|
+
'class', 'click count', 'clicked( data)? column',
|
871
|
+
'clicked data item', 'clicked( data)? row',
|
872
|
+
'closeable', 'collating', 'color( (mode|panel))',
|
873
|
+
'command key down', 'configuration',
|
874
|
+
'content(s| (size|view( margins)?))?', 'context',
|
875
|
+
'continuous', 'control key down', 'control size',
|
876
|
+
'control tint', 'control view',
|
877
|
+
'controller visible', 'coordinate system',
|
878
|
+
'copies( on scroll)?', 'corner view', 'current cell',
|
879
|
+
'current column', 'current( field)? editor',
|
880
|
+
'current( menu)? item', 'current row',
|
881
|
+
'current tab view item', 'data source',
|
882
|
+
'default identifiers', 'delta (x|y|z)',
|
883
|
+
'destination window', 'directory', 'display mode',
|
884
|
+
'displayed cell', 'document( (edited|rect|view))?',
|
885
|
+
'double value', 'dragged column', 'dragged distance',
|
886
|
+
'dragged items', 'draws( cell)? background',
|
887
|
+
'draws grid', 'dynamically scrolls', 'echos bullets',
|
888
|
+
'edge', 'editable', 'edited( data)? column',
|
889
|
+
'edited data item', 'edited( data)? row', 'enabled',
|
890
|
+
'enclosing scroll view', 'ending page',
|
891
|
+
'error handling', 'event number', 'event type',
|
892
|
+
'excluded from windows menu', 'executable path',
|
893
|
+
'expanded', 'fax number', 'field editor', 'file kind',
|
894
|
+
'file name', 'file type', 'first responder',
|
895
|
+
'first visible column', 'flipped', 'floating',
|
896
|
+
'font( panel)?', 'formatter', 'frameworks path',
|
897
|
+
'frontmost', 'gave up', 'grid color', 'has data items',
|
898
|
+
'has horizontal ruler', 'has horizontal scroller',
|
899
|
+
'has parent data item', 'has resize indicator',
|
900
|
+
'has shadow', 'has sub menu', 'has vertical ruler',
|
901
|
+
'has vertical scroller', 'header cell', 'header view',
|
902
|
+
'hidden', 'hides when deactivated', 'highlights by',
|
903
|
+
'horizontal line scroll', 'horizontal page scroll',
|
904
|
+
'horizontal ruler view', 'horizontally resizable',
|
905
|
+
'icon image', 'id', 'identifier',
|
906
|
+
'ignores multiple clicks',
|
907
|
+
'image( (alignment|dims when disabled|frame style|scaling))?',
|
908
|
+
'imports graphics', 'increment value',
|
909
|
+
'indentation per level', 'indeterminate', 'index',
|
910
|
+
'integer value', 'intercell spacing', 'item height',
|
911
|
+
'key( (code|equivalent( modifier)?|window))?',
|
912
|
+
'knob thickness', 'label', 'last( visible)? column',
|
913
|
+
'leading offset', 'leaf', 'level', 'line scroll',
|
914
|
+
'loaded', 'localized sort', 'location', 'loop mode',
|
915
|
+
'main( (bunde|menu|window))?', 'marker follows cell',
|
916
|
+
'matrix mode', 'maximum( content)? size',
|
917
|
+
'maximum visible columns',
|
918
|
+
'menu( form representation)?', 'miniaturizable',
|
919
|
+
'miniaturized', 'minimized image', 'minimized title',
|
920
|
+
'minimum column width', 'minimum( content)? size',
|
921
|
+
'modal', 'modified', 'mouse down state',
|
922
|
+
'movie( (controller|file|rect))?', 'muted', 'name',
|
923
|
+
'needs display', 'next state', 'next text',
|
924
|
+
'number of tick marks', 'only tick mark values',
|
925
|
+
'opaque', 'open panel', 'option key down',
|
926
|
+
'outline table column', 'page scroll', 'pages across',
|
927
|
+
'pages down', 'palette label', 'pane splitter',
|
928
|
+
'parent data item', 'parent window', 'pasteboard',
|
929
|
+
'path( (names|separator))?', 'playing',
|
930
|
+
'plays every frame', 'plays selection only', 'position',
|
931
|
+
'preferred edge', 'preferred type', 'pressure',
|
932
|
+
'previous text', 'prompt', 'properties',
|
933
|
+
'prototype cell', 'pulls down', 'rate',
|
934
|
+
'released when closed', 'repeated',
|
935
|
+
'requested print time', 'required file type',
|
936
|
+
'resizable', 'resized column', 'resource path',
|
937
|
+
'returns records', 'reuses columns', 'rich text',
|
938
|
+
'roll over', 'row height', 'rulers visible',
|
939
|
+
'save panel', 'scripts path', 'scrollable',
|
940
|
+
'selectable( identifiers)?', 'selected cell',
|
941
|
+
'selected( data)? columns?', 'selected data items?',
|
942
|
+
'selected( data)? rows?', 'selected item identifier',
|
943
|
+
'selection by rect', 'send action on arrow key',
|
944
|
+
'sends action when done editing', 'separates columns',
|
945
|
+
'separator item', 'sequence number', 'services menu',
|
946
|
+
'shared frameworks path', 'shared support path',
|
947
|
+
'sheet', 'shift key down', 'shows alpha',
|
948
|
+
'shows state by', 'size( mode)?',
|
949
|
+
'smart insert delete enabled', 'sort case sensitivity',
|
950
|
+
'sort column', 'sort order', 'sort type',
|
951
|
+
'sorted( data rows)?', 'sound', 'source( mask)?',
|
952
|
+
'spell checking enabled', 'starting page', 'state',
|
953
|
+
'string value', 'sub menu', 'super menu', 'super view',
|
954
|
+
'tab key traverses cells', 'tab state', 'tab type',
|
955
|
+
'tab view', 'table view', 'tag', 'target( printer)?',
|
956
|
+
'text color', 'text container insert',
|
957
|
+
'text container origin', 'text returned',
|
958
|
+
'tick mark position', 'time stamp',
|
959
|
+
'title(d| (cell|font|height|position|rect))?',
|
960
|
+
'tool tip', 'toolbar', 'trailing offset', 'transparent',
|
961
|
+
'treat packages as directories', 'truncated labels',
|
962
|
+
'types', 'unmodified characters', 'update views',
|
963
|
+
'use sort indicator', 'user defaults',
|
964
|
+
'uses data source', 'uses ruler',
|
965
|
+
'uses threaded animation',
|
966
|
+
'uses title from previous column', 'value wraps',
|
967
|
+
'version',
|
968
|
+
'vertical( (line scroll|page scroll|ruler view))?',
|
969
|
+
'vertically resizable', 'view',
|
970
|
+
'visible( document rect)?', 'volume', 'width', 'window',
|
971
|
+
'windows menu', 'wraps', 'zoomable', 'zoomed')
|
972
|
+
|
973
|
+
tokens = {
|
974
|
+
'root': [
|
975
|
+
(r'\s+', Text),
|
976
|
+
(r'¬\n', String.Escape),
|
977
|
+
(r"'s\s+", Text), # This is a possessive, consider moving
|
978
|
+
(r'(--|#).*?$', Comment),
|
979
|
+
(r'\(\*', Comment.Multiline, 'comment'),
|
980
|
+
(r'[(){}!,.:]', Punctuation),
|
981
|
+
(r'(«)([^»]+)(»)',
|
982
|
+
bygroups(Text, Name.Builtin, Text)),
|
983
|
+
(r'\b((?:considering|ignoring)\s*)'
|
984
|
+
r'(application responses|case|diacriticals|hyphens|'
|
985
|
+
r'numeric strings|punctuation|white space)',
|
986
|
+
bygroups(Keyword, Name.Builtin)),
|
987
|
+
(r'(-|\*|\+|&|≠|>=?|<=?|=|≥|≤|/|÷|\^)', Operator),
|
988
|
+
(r"\b({})\b".format('|'.join(Operators)), Operator.Word),
|
989
|
+
(r'^(\s*(?:on|end)\s+)'
|
990
|
+
r'({})'.format('|'.join(StudioEvents[::-1])),
|
991
|
+
bygroups(Keyword, Name.Function)),
|
992
|
+
(r'^(\s*)(in|on|script|to)(\s+)', bygroups(Text, Keyword, Text)),
|
993
|
+
(r'\b(as )({})\b'.format('|'.join(Classes)),
|
994
|
+
bygroups(Keyword, Name.Class)),
|
995
|
+
(r'\b({})\b'.format('|'.join(Literals)), Name.Constant),
|
996
|
+
(r'\b({})\b'.format('|'.join(Commands)), Name.Builtin),
|
997
|
+
(r'\b({})\b'.format('|'.join(Control)), Keyword),
|
998
|
+
(r'\b({})\b'.format('|'.join(Declarations)), Keyword),
|
999
|
+
(r'\b({})\b'.format('|'.join(Reserved)), Name.Builtin),
|
1000
|
+
(r'\b({})s?\b'.format('|'.join(BuiltIn)), Name.Builtin),
|
1001
|
+
(r'\b({})\b'.format('|'.join(HandlerParams)), Name.Builtin),
|
1002
|
+
(r'\b({})\b'.format('|'.join(StudioProperties)), Name.Attribute),
|
1003
|
+
(r'\b({})s?\b'.format('|'.join(StudioClasses)), Name.Builtin),
|
1004
|
+
(r'\b({})\b'.format('|'.join(StudioCommands)), Name.Builtin),
|
1005
|
+
(r'\b({})\b'.format('|'.join(References)), Name.Builtin),
|
1006
|
+
(r'"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
|
1007
|
+
(rf'\b({Identifiers})\b', Name.Variable),
|
1008
|
+
(r'[-+]?(\d+\.\d*|\d*\.\d+)(E[-+][0-9]+)?', Number.Float),
|
1009
|
+
(r'[-+]?\d+', Number.Integer),
|
1010
|
+
],
|
1011
|
+
'comment': [
|
1012
|
+
(r'\(\*', Comment.Multiline, '#push'),
|
1013
|
+
(r'\*\)', Comment.Multiline, '#pop'),
|
1014
|
+
('[^*(]+', Comment.Multiline),
|
1015
|
+
('[*(]', Comment.Multiline),
|
1016
|
+
],
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
|
1020
|
+
class RexxLexer(RegexLexer):
|
1021
|
+
"""
|
1022
|
+
Rexx is a scripting language available for
|
1023
|
+
a wide range of different platforms with its roots found on mainframe
|
1024
|
+
systems. It is popular for I/O- and data based tasks and can act as glue
|
1025
|
+
language to bind different applications together.
|
1026
|
+
"""
|
1027
|
+
name = 'Rexx'
|
1028
|
+
url = 'http://www.rexxinfo.org/'
|
1029
|
+
aliases = ['rexx', 'arexx']
|
1030
|
+
filenames = ['*.rexx', '*.rex', '*.rx', '*.arexx']
|
1031
|
+
mimetypes = ['text/x-rexx']
|
1032
|
+
version_added = '2.0'
|
1033
|
+
flags = re.IGNORECASE
|
1034
|
+
|
1035
|
+
tokens = {
|
1036
|
+
'root': [
|
1037
|
+
(r'\s+', Whitespace),
|
1038
|
+
(r'/\*', Comment.Multiline, 'comment'),
|
1039
|
+
(r'"', String, 'string_double'),
|
1040
|
+
(r"'", String, 'string_single'),
|
1041
|
+
(r'[0-9]+(\.[0-9]+)?(e[+-]?[0-9])?', Number),
|
1042
|
+
(r'([a-z_]\w*)(\s*)(:)(\s*)(procedure)\b',
|
1043
|
+
bygroups(Name.Function, Whitespace, Operator, Whitespace,
|
1044
|
+
Keyword.Declaration)),
|
1045
|
+
(r'([a-z_]\w*)(\s*)(:)',
|
1046
|
+
bygroups(Name.Label, Whitespace, Operator)),
|
1047
|
+
include('function'),
|
1048
|
+
include('keyword'),
|
1049
|
+
include('operator'),
|
1050
|
+
(r'[a-z_]\w*', Text),
|
1051
|
+
],
|
1052
|
+
'function': [
|
1053
|
+
(words((
|
1054
|
+
'abbrev', 'abs', 'address', 'arg', 'b2x', 'bitand', 'bitor', 'bitxor',
|
1055
|
+
'c2d', 'c2x', 'center', 'charin', 'charout', 'chars', 'compare',
|
1056
|
+
'condition', 'copies', 'd2c', 'd2x', 'datatype', 'date', 'delstr',
|
1057
|
+
'delword', 'digits', 'errortext', 'form', 'format', 'fuzz', 'insert',
|
1058
|
+
'lastpos', 'left', 'length', 'linein', 'lineout', 'lines', 'max',
|
1059
|
+
'min', 'overlay', 'pos', 'queued', 'random', 'reverse', 'right', 'sign',
|
1060
|
+
'sourceline', 'space', 'stream', 'strip', 'substr', 'subword', 'symbol',
|
1061
|
+
'time', 'trace', 'translate', 'trunc', 'value', 'verify', 'word',
|
1062
|
+
'wordindex', 'wordlength', 'wordpos', 'words', 'x2b', 'x2c', 'x2d',
|
1063
|
+
'xrange'), suffix=r'(\s*)(\()'),
|
1064
|
+
bygroups(Name.Builtin, Whitespace, Operator)),
|
1065
|
+
],
|
1066
|
+
'keyword': [
|
1067
|
+
(r'(address|arg|by|call|do|drop|else|end|exit|for|forever|if|'
|
1068
|
+
r'interpret|iterate|leave|nop|numeric|off|on|options|parse|'
|
1069
|
+
r'pull|push|queue|return|say|select|signal|to|then|trace|until|'
|
1070
|
+
r'while)\b', Keyword.Reserved),
|
1071
|
+
],
|
1072
|
+
'operator': [
|
1073
|
+
(r'(-|//|/|\(|\)|\*\*|\*|\\<<|\\<|\\==|\\=|\\>>|\\>|\\|\|\||\||'
|
1074
|
+
r'&&|&|%|\+|<<=|<<|<=|<>|<|==|=|><|>=|>>=|>>|>|¬<<|¬<|¬==|¬=|'
|
1075
|
+
r'¬>>|¬>|¬|\.|,)', Operator),
|
1076
|
+
],
|
1077
|
+
'string_double': [
|
1078
|
+
(r'[^"\n]+', String),
|
1079
|
+
(r'""', String),
|
1080
|
+
(r'"', String, '#pop'),
|
1081
|
+
(r'\n', Text, '#pop'), # Stray linefeed also terminates strings.
|
1082
|
+
],
|
1083
|
+
'string_single': [
|
1084
|
+
(r'[^\'\n]+', String),
|
1085
|
+
(r'\'\'', String),
|
1086
|
+
(r'\'', String, '#pop'),
|
1087
|
+
(r'\n', Text, '#pop'), # Stray linefeed also terminates strings.
|
1088
|
+
],
|
1089
|
+
'comment': [
|
1090
|
+
(r'[^*]+', Comment.Multiline),
|
1091
|
+
(r'\*/', Comment.Multiline, '#pop'),
|
1092
|
+
(r'\*', Comment.Multiline),
|
1093
|
+
]
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
def _c(s):
|
1097
|
+
return re.compile(s, re.MULTILINE)
|
1098
|
+
_ADDRESS_COMMAND_PATTERN = _c(r'^\s*address\s+command\b')
|
1099
|
+
_ADDRESS_PATTERN = _c(r'^\s*address\s+')
|
1100
|
+
_DO_WHILE_PATTERN = _c(r'^\s*do\s+while\b')
|
1101
|
+
_IF_THEN_DO_PATTERN = _c(r'^\s*if\b.+\bthen\s+do\s*$')
|
1102
|
+
_PROCEDURE_PATTERN = _c(r'^\s*([a-z_]\w*)(\s*)(:)(\s*)(procedure)\b')
|
1103
|
+
_ELSE_DO_PATTERN = _c(r'\belse\s+do\s*$')
|
1104
|
+
_PARSE_ARG_PATTERN = _c(r'^\s*parse\s+(upper\s+)?(arg|value)\b')
|
1105
|
+
PATTERNS_AND_WEIGHTS = (
|
1106
|
+
(_ADDRESS_COMMAND_PATTERN, 0.2),
|
1107
|
+
(_ADDRESS_PATTERN, 0.05),
|
1108
|
+
(_DO_WHILE_PATTERN, 0.1),
|
1109
|
+
(_ELSE_DO_PATTERN, 0.1),
|
1110
|
+
(_IF_THEN_DO_PATTERN, 0.1),
|
1111
|
+
(_PROCEDURE_PATTERN, 0.5),
|
1112
|
+
(_PARSE_ARG_PATTERN, 0.2),
|
1113
|
+
)
|
1114
|
+
|
1115
|
+
def analyse_text(text):
|
1116
|
+
"""
|
1117
|
+
Check for initial comment and patterns that distinguish Rexx from other
|
1118
|
+
C-like languages.
|
1119
|
+
"""
|
1120
|
+
if re.search(r'/\*\**\s*rexx', text, re.IGNORECASE):
|
1121
|
+
# Header matches MVS Rexx requirements, this is certainly a Rexx
|
1122
|
+
# script.
|
1123
|
+
return 1.0
|
1124
|
+
elif text.startswith('/*'):
|
1125
|
+
# Header matches general Rexx requirements; the source code might
|
1126
|
+
# still be any language using C comments such as C++, C# or Java.
|
1127
|
+
lowerText = text.lower()
|
1128
|
+
result = sum(weight
|
1129
|
+
for (pattern, weight) in RexxLexer.PATTERNS_AND_WEIGHTS
|
1130
|
+
if pattern.search(lowerText)) + 0.01
|
1131
|
+
return min(result, 1.0)
|
1132
|
+
|
1133
|
+
|
1134
|
+
class MOOCodeLexer(RegexLexer):
|
1135
|
+
"""
|
1136
|
+
For MOOCode (the MOO scripting language).
|
1137
|
+
"""
|
1138
|
+
name = 'MOOCode'
|
1139
|
+
url = 'http://www.moo.mud.org/'
|
1140
|
+
filenames = ['*.moo']
|
1141
|
+
aliases = ['moocode', 'moo']
|
1142
|
+
mimetypes = ['text/x-moocode']
|
1143
|
+
version_added = '0.9'
|
1144
|
+
|
1145
|
+
tokens = {
|
1146
|
+
'root': [
|
1147
|
+
# Numbers
|
1148
|
+
(r'(0|[1-9][0-9_]*)', Number.Integer),
|
1149
|
+
# Strings
|
1150
|
+
(r'"(\\\\|\\[^\\]|[^"\\])*"', String),
|
1151
|
+
# exceptions
|
1152
|
+
(r'(E_PERM|E_DIV)', Name.Exception),
|
1153
|
+
# db-refs
|
1154
|
+
(r'((#[-0-9]+)|(\$\w+))', Name.Entity),
|
1155
|
+
# Keywords
|
1156
|
+
(r'\b(if|else|elseif|endif|for|endfor|fork|endfork|while'
|
1157
|
+
r'|endwhile|break|continue|return|try'
|
1158
|
+
r'|except|endtry|finally|in)\b', Keyword),
|
1159
|
+
# builtins
|
1160
|
+
(r'(random|length)', Name.Builtin),
|
1161
|
+
# special variables
|
1162
|
+
(r'(player|caller|this|args)', Name.Variable.Instance),
|
1163
|
+
# skip whitespace
|
1164
|
+
(r'\s+', Text),
|
1165
|
+
(r'\n', Text),
|
1166
|
+
# other operators
|
1167
|
+
(r'([!;=,{}&|:.\[\]@()<>?]+)', Operator),
|
1168
|
+
# function call
|
1169
|
+
(r'(\w+)(\()', bygroups(Name.Function, Operator)),
|
1170
|
+
# variables
|
1171
|
+
(r'(\w+)', Text),
|
1172
|
+
]
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
|
1176
|
+
class HybrisLexer(RegexLexer):
|
1177
|
+
"""
|
1178
|
+
For Hybris source code.
|
1179
|
+
"""
|
1180
|
+
|
1181
|
+
name = 'Hybris'
|
1182
|
+
aliases = ['hybris']
|
1183
|
+
filenames = ['*.hyb']
|
1184
|
+
mimetypes = ['text/x-hybris', 'application/x-hybris']
|
1185
|
+
url = 'https://github.com/evilsocket/hybris'
|
1186
|
+
version_added = '1.4'
|
1187
|
+
|
1188
|
+
flags = re.MULTILINE | re.DOTALL
|
1189
|
+
|
1190
|
+
tokens = {
|
1191
|
+
'root': [
|
1192
|
+
# method names
|
1193
|
+
(r'^(\s*(?:function|method|operator\s+)+?)'
|
1194
|
+
r'([a-zA-Z_]\w*)'
|
1195
|
+
r'(\s*)(\()', bygroups(Keyword, Name.Function, Text, Operator)),
|
1196
|
+
(r'[^\S\n]+', Text),
|
1197
|
+
(r'//.*?\n', Comment.Single),
|
1198
|
+
(r'/\*.*?\*/', Comment.Multiline),
|
1199
|
+
(r'@[a-zA-Z_][\w.]*', Name.Decorator),
|
1200
|
+
(r'(break|case|catch|next|default|do|else|finally|for|foreach|of|'
|
1201
|
+
r'unless|if|new|return|switch|me|throw|try|while)\b', Keyword),
|
1202
|
+
(r'(extends|private|protected|public|static|throws|function|method|'
|
1203
|
+
r'operator)\b', Keyword.Declaration),
|
1204
|
+
(r'(true|false|null|__FILE__|__LINE__|__VERSION__|__LIB_PATH__|'
|
1205
|
+
r'__INC_PATH__)\b', Keyword.Constant),
|
1206
|
+
(r'(class|struct)(\s+)',
|
1207
|
+
bygroups(Keyword.Declaration, Text), 'class'),
|
1208
|
+
(r'(import|include)(\s+)',
|
1209
|
+
bygroups(Keyword.Namespace, Text), 'import'),
|
1210
|
+
(words((
|
1211
|
+
'gc_collect', 'gc_mm_items', 'gc_mm_usage', 'gc_collect_threshold',
|
1212
|
+
'urlencode', 'urldecode', 'base64encode', 'base64decode', 'sha1', 'crc32',
|
1213
|
+
'sha2', 'md5', 'md5_file', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos',
|
1214
|
+
'cosh', 'exp', 'fabs', 'floor', 'fmod', 'log', 'log10', 'pow', 'sin',
|
1215
|
+
'sinh', 'sqrt', 'tan', 'tanh', 'isint', 'isfloat', 'ischar', 'isstring',
|
1216
|
+
'isarray', 'ismap', 'isalias', 'typeof', 'sizeof', 'toint', 'tostring',
|
1217
|
+
'fromxml', 'toxml', 'binary', 'pack', 'load', 'eval', 'var_names',
|
1218
|
+
'var_values', 'user_functions', 'dyn_functions', 'methods', 'call',
|
1219
|
+
'call_method', 'mknod', 'mkfifo', 'mount', 'umount2', 'umount', 'ticks',
|
1220
|
+
'usleep', 'sleep', 'time', 'strtime', 'strdate', 'dllopen', 'dlllink',
|
1221
|
+
'dllcall', 'dllcall_argv', 'dllclose', 'env', 'exec', 'fork', 'getpid',
|
1222
|
+
'wait', 'popen', 'pclose', 'exit', 'kill', 'pthread_create',
|
1223
|
+
'pthread_create_argv', 'pthread_exit', 'pthread_join', 'pthread_kill',
|
1224
|
+
'smtp_send', 'http_get', 'http_post', 'http_download', 'socket', 'bind',
|
1225
|
+
'listen', 'accept', 'getsockname', 'getpeername', 'settimeout', 'connect',
|
1226
|
+
'server', 'recv', 'send', 'close', 'print', 'println', 'printf', 'input',
|
1227
|
+
'readline', 'serial_open', 'serial_fcntl', 'serial_get_attr',
|
1228
|
+
'serial_get_ispeed', 'serial_get_ospeed', 'serial_set_attr',
|
1229
|
+
'serial_set_ispeed', 'serial_set_ospeed', 'serial_write', 'serial_read',
|
1230
|
+
'serial_close', 'xml_load', 'xml_parse', 'fopen', 'fseek', 'ftell',
|
1231
|
+
'fsize', 'fread', 'fwrite', 'fgets', 'fclose', 'file', 'readdir',
|
1232
|
+
'pcre_replace', 'size', 'pop', 'unmap', 'has', 'keys', 'values',
|
1233
|
+
'length', 'find', 'substr', 'replace', 'split', 'trim', 'remove',
|
1234
|
+
'contains', 'join'), suffix=r'\b'),
|
1235
|
+
Name.Builtin),
|
1236
|
+
(words((
|
1237
|
+
'MethodReference', 'Runner', 'Dll', 'Thread', 'Pipe', 'Process',
|
1238
|
+
'Runnable', 'CGI', 'ClientSocket', 'Socket', 'ServerSocket',
|
1239
|
+
'File', 'Console', 'Directory', 'Exception'), suffix=r'\b'),
|
1240
|
+
Keyword.Type),
|
1241
|
+
(r'"(\\\\|\\[^\\]|[^"\\])*"', String),
|
1242
|
+
(r"'\\.'|'[^\\]'|'\\u[0-9a-f]{4}'", String.Char),
|
1243
|
+
(r'(\.)([a-zA-Z_]\w*)',
|
1244
|
+
bygroups(Operator, Name.Attribute)),
|
1245
|
+
(r'[a-zA-Z_]\w*:', Name.Label),
|
1246
|
+
(r'[a-zA-Z_$]\w*', Name),
|
1247
|
+
(r'[~^*!%&\[\](){}<>|+=:;,./?\-@]+', Operator),
|
1248
|
+
(r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float),
|
1249
|
+
(r'0x[0-9a-f]+', Number.Hex),
|
1250
|
+
(r'[0-9]+L?', Number.Integer),
|
1251
|
+
(r'\n', Text),
|
1252
|
+
],
|
1253
|
+
'class': [
|
1254
|
+
(r'[a-zA-Z_]\w*', Name.Class, '#pop')
|
1255
|
+
],
|
1256
|
+
'import': [
|
1257
|
+
(r'[\w.]+\*?', Name.Namespace, '#pop')
|
1258
|
+
],
|
1259
|
+
}
|
1260
|
+
|
1261
|
+
def analyse_text(text):
|
1262
|
+
"""public method and private method don't seem to be quite common
|
1263
|
+
elsewhere."""
|
1264
|
+
result = 0
|
1265
|
+
if re.search(r'\b(?:public|private)\s+method\b', text):
|
1266
|
+
result += 0.01
|
1267
|
+
return result
|
1268
|
+
|
1269
|
+
|
1270
|
+
|
1271
|
+
class EasytrieveLexer(RegexLexer):
|
1272
|
+
"""
|
1273
|
+
Easytrieve Plus is a programming language for extracting, filtering and
|
1274
|
+
converting sequential data. Furthermore it can layout data for reports.
|
1275
|
+
It is mainly used on mainframe platforms and can access several of the
|
1276
|
+
mainframe's native file formats. It is somewhat comparable to awk.
|
1277
|
+
"""
|
1278
|
+
name = 'Easytrieve'
|
1279
|
+
aliases = ['easytrieve']
|
1280
|
+
filenames = ['*.ezt', '*.mac']
|
1281
|
+
mimetypes = ['text/x-easytrieve']
|
1282
|
+
url = 'https://www.broadcom.com/products/mainframe/application-development/easytrieve-report-generator'
|
1283
|
+
version_added = '2.1'
|
1284
|
+
flags = 0
|
1285
|
+
|
1286
|
+
# Note: We cannot use r'\b' at the start and end of keywords because
|
1287
|
+
# Easytrieve Plus delimiter characters are:
|
1288
|
+
#
|
1289
|
+
# * space ( )
|
1290
|
+
# * apostrophe (')
|
1291
|
+
# * period (.)
|
1292
|
+
# * comma (,)
|
1293
|
+
# * parenthesis ( and )
|
1294
|
+
# * colon (:)
|
1295
|
+
#
|
1296
|
+
# Additionally words end once a '*' appears, indicatins a comment.
|
1297
|
+
_DELIMITERS = r' \'.,():\n'
|
1298
|
+
_DELIMITERS_OR_COMENT = _DELIMITERS + '*'
|
1299
|
+
_DELIMITER_PATTERN = '[' + _DELIMITERS + ']'
|
1300
|
+
_DELIMITER_PATTERN_CAPTURE = '(' + _DELIMITER_PATTERN + ')'
|
1301
|
+
_NON_DELIMITER_OR_COMMENT_PATTERN = '[^' + _DELIMITERS_OR_COMENT + ']'
|
1302
|
+
_OPERATORS_PATTERN = '[.+\\-/=\\[\\](){}<>;,&%¬]'
|
1303
|
+
_KEYWORDS = [
|
1304
|
+
'AFTER-BREAK', 'AFTER-LINE', 'AFTER-SCREEN', 'AIM', 'AND', 'ATTR',
|
1305
|
+
'BEFORE', 'BEFORE-BREAK', 'BEFORE-LINE', 'BEFORE-SCREEN', 'BUSHU',
|
1306
|
+
'BY', 'CALL', 'CASE', 'CHECKPOINT', 'CHKP', 'CHKP-STATUS', 'CLEAR',
|
1307
|
+
'CLOSE', 'COL', 'COLOR', 'COMMIT', 'CONTROL', 'COPY', 'CURSOR', 'D',
|
1308
|
+
'DECLARE', 'DEFAULT', 'DEFINE', 'DELETE', 'DENWA', 'DISPLAY', 'DLI',
|
1309
|
+
'DO', 'DUPLICATE', 'E', 'ELSE', 'ELSE-IF', 'END', 'END-CASE',
|
1310
|
+
'END-DO', 'END-IF', 'END-PROC', 'ENDPAGE', 'ENDTABLE', 'ENTER', 'EOF',
|
1311
|
+
'EQ', 'ERROR', 'EXIT', 'EXTERNAL', 'EZLIB', 'F1', 'F10', 'F11', 'F12',
|
1312
|
+
'F13', 'F14', 'F15', 'F16', 'F17', 'F18', 'F19', 'F2', 'F20', 'F21',
|
1313
|
+
'F22', 'F23', 'F24', 'F25', 'F26', 'F27', 'F28', 'F29', 'F3', 'F30',
|
1314
|
+
'F31', 'F32', 'F33', 'F34', 'F35', 'F36', 'F4', 'F5', 'F6', 'F7',
|
1315
|
+
'F8', 'F9', 'FETCH', 'FILE-STATUS', 'FILL', 'FINAL', 'FIRST',
|
1316
|
+
'FIRST-DUP', 'FOR', 'GE', 'GET', 'GO', 'GOTO', 'GQ', 'GR', 'GT',
|
1317
|
+
'HEADING', 'HEX', 'HIGH-VALUES', 'IDD', 'IDMS', 'IF', 'IN', 'INSERT',
|
1318
|
+
'JUSTIFY', 'KANJI-DATE', 'KANJI-DATE-LONG', 'KANJI-TIME', 'KEY',
|
1319
|
+
'KEY-PRESSED', 'KOKUGO', 'KUN', 'LAST-DUP', 'LE', 'LEVEL', 'LIKE',
|
1320
|
+
'LINE', 'LINE-COUNT', 'LINE-NUMBER', 'LINK', 'LIST', 'LOW-VALUES',
|
1321
|
+
'LQ', 'LS', 'LT', 'MACRO', 'MASK', 'MATCHED', 'MEND', 'MESSAGE',
|
1322
|
+
'MOVE', 'MSTART', 'NE', 'NEWPAGE', 'NOMASK', 'NOPRINT', 'NOT',
|
1323
|
+
'NOTE', 'NOVERIFY', 'NQ', 'NULL', 'OF', 'OR', 'OTHERWISE', 'PA1',
|
1324
|
+
'PA2', 'PA3', 'PAGE-COUNT', 'PAGE-NUMBER', 'PARM-REGISTER',
|
1325
|
+
'PATH-ID', 'PATTERN', 'PERFORM', 'POINT', 'POS', 'PRIMARY', 'PRINT',
|
1326
|
+
'PROCEDURE', 'PROGRAM', 'PUT', 'READ', 'RECORD', 'RECORD-COUNT',
|
1327
|
+
'RECORD-LENGTH', 'REFRESH', 'RELEASE', 'RENUM', 'REPEAT', 'REPORT',
|
1328
|
+
'REPORT-INPUT', 'RESHOW', 'RESTART', 'RETRIEVE', 'RETURN-CODE',
|
1329
|
+
'ROLLBACK', 'ROW', 'S', 'SCREEN', 'SEARCH', 'SECONDARY', 'SELECT',
|
1330
|
+
'SEQUENCE', 'SIZE', 'SKIP', 'SOKAKU', 'SORT', 'SQL', 'STOP', 'SUM',
|
1331
|
+
'SYSDATE', 'SYSDATE-LONG', 'SYSIN', 'SYSIPT', 'SYSLST', 'SYSPRINT',
|
1332
|
+
'SYSSNAP', 'SYSTIME', 'TALLY', 'TERM-COLUMNS', 'TERM-NAME',
|
1333
|
+
'TERM-ROWS', 'TERMINATION', 'TITLE', 'TO', 'TRANSFER', 'TRC',
|
1334
|
+
'UNIQUE', 'UNTIL', 'UPDATE', 'UPPERCASE', 'USER', 'USERID', 'VALUE',
|
1335
|
+
'VERIFY', 'W', 'WHEN', 'WHILE', 'WORK', 'WRITE', 'X', 'XDM', 'XRST'
|
1336
|
+
]
|
1337
|
+
|
1338
|
+
tokens = {
|
1339
|
+
'root': [
|
1340
|
+
(r'\*.*\n', Comment.Single),
|
1341
|
+
(r'\n+', Whitespace),
|
1342
|
+
# Macro argument
|
1343
|
+
(r'&' + _NON_DELIMITER_OR_COMMENT_PATTERN + r'+\.', Name.Variable,
|
1344
|
+
'after_macro_argument'),
|
1345
|
+
# Macro call
|
1346
|
+
(r'%' + _NON_DELIMITER_OR_COMMENT_PATTERN + r'+', Name.Variable),
|
1347
|
+
(r'(FILE|MACRO|REPORT)(\s+)',
|
1348
|
+
bygroups(Keyword.Declaration, Whitespace), 'after_declaration'),
|
1349
|
+
(r'(JOB|PARM)' + r'(' + _DELIMITER_PATTERN + r')',
|
1350
|
+
bygroups(Keyword.Declaration, Operator)),
|
1351
|
+
(words(_KEYWORDS, suffix=_DELIMITER_PATTERN_CAPTURE),
|
1352
|
+
bygroups(Keyword.Reserved, Operator)),
|
1353
|
+
(_OPERATORS_PATTERN, Operator),
|
1354
|
+
# Procedure declaration
|
1355
|
+
(r'(' + _NON_DELIMITER_OR_COMMENT_PATTERN + r'+)(\s*)(\.?)(\s*)(PROC)(\s*\n)',
|
1356
|
+
bygroups(Name.Function, Whitespace, Operator, Whitespace,
|
1357
|
+
Keyword.Declaration, Whitespace)),
|
1358
|
+
(r'[0-9]+\.[0-9]*', Number.Float),
|
1359
|
+
(r'[0-9]+', Number.Integer),
|
1360
|
+
(r"'(''|[^'])*'", String),
|
1361
|
+
(r'\s+', Whitespace),
|
1362
|
+
# Everything else just belongs to a name
|
1363
|
+
(_NON_DELIMITER_OR_COMMENT_PATTERN + r'+', Name),
|
1364
|
+
],
|
1365
|
+
'after_declaration': [
|
1366
|
+
(_NON_DELIMITER_OR_COMMENT_PATTERN + r'+', Name.Function),
|
1367
|
+
default('#pop'),
|
1368
|
+
],
|
1369
|
+
'after_macro_argument': [
|
1370
|
+
(r'\*.*\n', Comment.Single, '#pop'),
|
1371
|
+
(r'\s+', Whitespace, '#pop'),
|
1372
|
+
(_OPERATORS_PATTERN, Operator, '#pop'),
|
1373
|
+
(r"'(''|[^'])*'", String, '#pop'),
|
1374
|
+
# Everything else just belongs to a name
|
1375
|
+
(_NON_DELIMITER_OR_COMMENT_PATTERN + r'+', Name),
|
1376
|
+
],
|
1377
|
+
}
|
1378
|
+
_COMMENT_LINE_REGEX = re.compile(r'^\s*\*')
|
1379
|
+
_MACRO_HEADER_REGEX = re.compile(r'^\s*MACRO')
|
1380
|
+
|
1381
|
+
def analyse_text(text):
|
1382
|
+
"""
|
1383
|
+
Perform a structural analysis for basic Easytrieve constructs.
|
1384
|
+
"""
|
1385
|
+
result = 0.0
|
1386
|
+
lines = text.split('\n')
|
1387
|
+
hasEndProc = False
|
1388
|
+
hasHeaderComment = False
|
1389
|
+
hasFile = False
|
1390
|
+
hasJob = False
|
1391
|
+
hasProc = False
|
1392
|
+
hasParm = False
|
1393
|
+
hasReport = False
|
1394
|
+
|
1395
|
+
def isCommentLine(line):
|
1396
|
+
return EasytrieveLexer._COMMENT_LINE_REGEX.match(lines[0]) is not None
|
1397
|
+
|
1398
|
+
def isEmptyLine(line):
|
1399
|
+
return not bool(line.strip())
|
1400
|
+
|
1401
|
+
# Remove possible empty lines and header comments.
|
1402
|
+
while lines and (isEmptyLine(lines[0]) or isCommentLine(lines[0])):
|
1403
|
+
if not isEmptyLine(lines[0]):
|
1404
|
+
hasHeaderComment = True
|
1405
|
+
del lines[0]
|
1406
|
+
|
1407
|
+
if EasytrieveLexer._MACRO_HEADER_REGEX.match(lines[0]):
|
1408
|
+
# Looks like an Easytrieve macro.
|
1409
|
+
result = 0.4
|
1410
|
+
if hasHeaderComment:
|
1411
|
+
result += 0.4
|
1412
|
+
else:
|
1413
|
+
# Scan the source for lines starting with indicators.
|
1414
|
+
for line in lines:
|
1415
|
+
words = line.split()
|
1416
|
+
if (len(words) >= 2):
|
1417
|
+
firstWord = words[0]
|
1418
|
+
if not hasReport:
|
1419
|
+
if not hasJob:
|
1420
|
+
if not hasFile:
|
1421
|
+
if not hasParm:
|
1422
|
+
if firstWord == 'PARM':
|
1423
|
+
hasParm = True
|
1424
|
+
if firstWord == 'FILE':
|
1425
|
+
hasFile = True
|
1426
|
+
if firstWord == 'JOB':
|
1427
|
+
hasJob = True
|
1428
|
+
elif firstWord == 'PROC':
|
1429
|
+
hasProc = True
|
1430
|
+
elif firstWord == 'END-PROC':
|
1431
|
+
hasEndProc = True
|
1432
|
+
elif firstWord == 'REPORT':
|
1433
|
+
hasReport = True
|
1434
|
+
|
1435
|
+
# Weight the findings.
|
1436
|
+
if hasJob and (hasProc == hasEndProc):
|
1437
|
+
if hasHeaderComment:
|
1438
|
+
result += 0.1
|
1439
|
+
if hasParm:
|
1440
|
+
if hasProc:
|
1441
|
+
# Found PARM, JOB and PROC/END-PROC:
|
1442
|
+
# pretty sure this is Easytrieve.
|
1443
|
+
result += 0.8
|
1444
|
+
else:
|
1445
|
+
# Found PARAM and JOB: probably this is Easytrieve
|
1446
|
+
result += 0.5
|
1447
|
+
else:
|
1448
|
+
# Found JOB and possibly other keywords: might be Easytrieve
|
1449
|
+
result += 0.11
|
1450
|
+
if hasParm:
|
1451
|
+
# Note: PARAM is not a proper English word, so this is
|
1452
|
+
# regarded a much better indicator for Easytrieve than
|
1453
|
+
# the other words.
|
1454
|
+
result += 0.2
|
1455
|
+
if hasFile:
|
1456
|
+
result += 0.01
|
1457
|
+
if hasReport:
|
1458
|
+
result += 0.01
|
1459
|
+
assert 0.0 <= result <= 1.0
|
1460
|
+
return result
|
1461
|
+
|
1462
|
+
|
1463
|
+
class JclLexer(RegexLexer):
|
1464
|
+
"""
|
1465
|
+
Job Control Language (JCL)
|
1466
|
+
is a scripting language used on mainframe platforms to instruct the system
|
1467
|
+
on how to run a batch job or start a subsystem. It is somewhat
|
1468
|
+
comparable to MS DOS batch and Unix shell scripts.
|
1469
|
+
"""
|
1470
|
+
name = 'JCL'
|
1471
|
+
aliases = ['jcl']
|
1472
|
+
filenames = ['*.jcl']
|
1473
|
+
mimetypes = ['text/x-jcl']
|
1474
|
+
url = 'https://en.wikipedia.org/wiki/Job_Control_Language'
|
1475
|
+
version_added = '2.1'
|
1476
|
+
|
1477
|
+
flags = re.IGNORECASE
|
1478
|
+
|
1479
|
+
tokens = {
|
1480
|
+
'root': [
|
1481
|
+
(r'//\*.*\n', Comment.Single),
|
1482
|
+
(r'//', Keyword.Pseudo, 'statement'),
|
1483
|
+
(r'/\*', Keyword.Pseudo, 'jes2_statement'),
|
1484
|
+
# TODO: JES3 statement
|
1485
|
+
(r'.*\n', Other) # Input text or inline code in any language.
|
1486
|
+
],
|
1487
|
+
'statement': [
|
1488
|
+
(r'\s*\n', Whitespace, '#pop'),
|
1489
|
+
(r'([a-z]\w*)(\s+)(exec|job)(\s*)',
|
1490
|
+
bygroups(Name.Label, Whitespace, Keyword.Reserved, Whitespace),
|
1491
|
+
'option'),
|
1492
|
+
(r'[a-z]\w*', Name.Variable, 'statement_command'),
|
1493
|
+
(r'\s+', Whitespace, 'statement_command'),
|
1494
|
+
],
|
1495
|
+
'statement_command': [
|
1496
|
+
(r'\s+(command|cntl|dd|endctl|endif|else|include|jcllib|'
|
1497
|
+
r'output|pend|proc|set|then|xmit)\s+', Keyword.Reserved, 'option'),
|
1498
|
+
include('option')
|
1499
|
+
],
|
1500
|
+
'jes2_statement': [
|
1501
|
+
(r'\s*\n', Whitespace, '#pop'),
|
1502
|
+
(r'\$', Keyword, 'option'),
|
1503
|
+
(r'\b(jobparam|message|netacct|notify|output|priority|route|'
|
1504
|
+
r'setup|signoff|xeq|xmit)\b', Keyword, 'option'),
|
1505
|
+
],
|
1506
|
+
'option': [
|
1507
|
+
# (r'\n', Text, 'root'),
|
1508
|
+
(r'\*', Name.Builtin),
|
1509
|
+
(r'[\[\](){}<>;,]', Punctuation),
|
1510
|
+
(r'[-+*/=&%]', Operator),
|
1511
|
+
(r'[a-z_]\w*', Name),
|
1512
|
+
(r'\d+\.\d*', Number.Float),
|
1513
|
+
(r'\.\d+', Number.Float),
|
1514
|
+
(r'\d+', Number.Integer),
|
1515
|
+
(r"'", String, 'option_string'),
|
1516
|
+
(r'[ \t]+', Whitespace, 'option_comment'),
|
1517
|
+
(r'\.', Punctuation),
|
1518
|
+
],
|
1519
|
+
'option_string': [
|
1520
|
+
(r"(\n)(//)", bygroups(Text, Keyword.Pseudo)),
|
1521
|
+
(r"''", String),
|
1522
|
+
(r"[^']", String),
|
1523
|
+
(r"'", String, '#pop'),
|
1524
|
+
],
|
1525
|
+
'option_comment': [
|
1526
|
+
# (r'\n', Text, 'root'),
|
1527
|
+
(r'.+', Comment.Single),
|
1528
|
+
]
|
1529
|
+
}
|
1530
|
+
|
1531
|
+
_JOB_HEADER_PATTERN = re.compile(r'^//[a-z#$@][a-z0-9#$@]{0,7}\s+job(\s+.*)?$',
|
1532
|
+
re.IGNORECASE)
|
1533
|
+
|
1534
|
+
def analyse_text(text):
|
1535
|
+
"""
|
1536
|
+
Recognize JCL job by header.
|
1537
|
+
"""
|
1538
|
+
result = 0.0
|
1539
|
+
lines = text.split('\n')
|
1540
|
+
if len(lines) > 0:
|
1541
|
+
if JclLexer._JOB_HEADER_PATTERN.match(lines[0]):
|
1542
|
+
result = 1.0
|
1543
|
+
assert 0.0 <= result <= 1.0
|
1544
|
+
return result
|
1545
|
+
|
1546
|
+
|
1547
|
+
class MiniScriptLexer(RegexLexer):
|
1548
|
+
"""
|
1549
|
+
For MiniScript source code.
|
1550
|
+
"""
|
1551
|
+
|
1552
|
+
name = 'MiniScript'
|
1553
|
+
url = 'https://miniscript.org'
|
1554
|
+
aliases = ['miniscript', 'ms']
|
1555
|
+
filenames = ['*.ms']
|
1556
|
+
mimetypes = ['text/x-minicript', 'application/x-miniscript']
|
1557
|
+
version_added = '2.6'
|
1558
|
+
|
1559
|
+
tokens = {
|
1560
|
+
'root': [
|
1561
|
+
(r'#!(.*?)$', Comment.Preproc),
|
1562
|
+
default('base'),
|
1563
|
+
],
|
1564
|
+
'base': [
|
1565
|
+
('//.*$', Comment.Single),
|
1566
|
+
(r'(?i)(\d*\.\d+|\d+\.\d*)(e[+-]?\d+)?', Number),
|
1567
|
+
(r'(?i)\d+e[+-]?\d+', Number),
|
1568
|
+
(r'\d+', Number),
|
1569
|
+
(r'\n', Text),
|
1570
|
+
(r'[^\S\n]+', Text),
|
1571
|
+
(r'"', String, 'string_double'),
|
1572
|
+
(r'(==|!=|<=|>=|[=+\-*/%^<>.:])', Operator),
|
1573
|
+
(r'[;,\[\]{}()]', Punctuation),
|
1574
|
+
(words((
|
1575
|
+
'break', 'continue', 'else', 'end', 'for', 'function', 'if',
|
1576
|
+
'in', 'isa', 'then', 'repeat', 'return', 'while'), suffix=r'\b'),
|
1577
|
+
Keyword),
|
1578
|
+
(words((
|
1579
|
+
'abs', 'acos', 'asin', 'atan', 'ceil', 'char', 'cos', 'floor',
|
1580
|
+
'log', 'round', 'rnd', 'pi', 'sign', 'sin', 'sqrt', 'str', 'tan',
|
1581
|
+
'hasIndex', 'indexOf', 'len', 'val', 'code', 'remove', 'lower',
|
1582
|
+
'upper', 'replace', 'split', 'indexes', 'values', 'join', 'sum',
|
1583
|
+
'sort', 'shuffle', 'push', 'pop', 'pull', 'range',
|
1584
|
+
'print', 'input', 'time', 'wait', 'locals', 'globals', 'outer',
|
1585
|
+
'yield'), suffix=r'\b'),
|
1586
|
+
Name.Builtin),
|
1587
|
+
(r'(true|false|null)\b', Keyword.Constant),
|
1588
|
+
(r'(and|or|not|new)\b', Operator.Word),
|
1589
|
+
(r'(self|super|__isa)\b', Name.Builtin.Pseudo),
|
1590
|
+
(r'[a-zA-Z_]\w*', Name.Variable)
|
1591
|
+
],
|
1592
|
+
'string_double': [
|
1593
|
+
(r'[^"\n]+', String),
|
1594
|
+
(r'""', String),
|
1595
|
+
(r'"', String, '#pop'),
|
1596
|
+
(r'\n', Text, '#pop'), # Stray linefeed also terminates strings.
|
1597
|
+
]
|
1598
|
+
}
|