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.
Files changed (1774) hide show
  1. py2docfx/__main__.py +112 -15
  2. py2docfx/convert_prepare/environment.py +44 -4
  3. py2docfx/convert_prepare/generate_document.py +19 -5
  4. py2docfx/convert_prepare/get_source.py +19 -3
  5. py2docfx/convert_prepare/pip_utils.py +10 -0
  6. py2docfx/convert_prepare/sphinx_caller.py +7 -3
  7. py2docfx/convert_prepare/tests/test_generate_document.py +0 -1
  8. py2docfx/docfx_yaml/tests/roots/test-writer-uri/code_with_uri.py +0 -7
  9. py2docfx/docfx_yaml/tests/test_writer_uri.py +0 -4
  10. py2docfx/docfx_yaml/writer.py +1 -13
  11. py2docfx/venv/venv0/Lib/site-packages/_distutils_hack/__init__.py +240 -0
  12. py2docfx/venv/venv0/Lib/site-packages/_distutils_hack/override.py +1 -0
  13. py2docfx/venv/venv0/Lib/site-packages/_yaml/__init__.py +33 -0
  14. py2docfx/venv/venv0/Lib/site-packages/alabaster/__init__.py +35 -0
  15. py2docfx/venv/venv0/Lib/site-packages/alabaster/support.py +89 -0
  16. py2docfx/venv/venv0/Lib/site-packages/babel/__init__.py +37 -0
  17. py2docfx/venv/venv0/Lib/site-packages/babel/core.py +1300 -0
  18. py2docfx/venv/venv0/Lib/site-packages/babel/dates.py +1925 -0
  19. py2docfx/venv/venv0/Lib/site-packages/babel/languages.py +72 -0
  20. py2docfx/venv/venv0/Lib/site-packages/babel/lists.py +123 -0
  21. py2docfx/venv/venv0/Lib/site-packages/babel/localedata.py +278 -0
  22. py2docfx/venv/venv0/Lib/site-packages/babel/localtime/__init__.py +43 -0
  23. py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_fallback.py +44 -0
  24. py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_helpers.py +57 -0
  25. py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_unix.py +98 -0
  26. py2docfx/venv/venv0/Lib/site-packages/babel/localtime/_win32.py +98 -0
  27. py2docfx/venv/venv0/Lib/site-packages/babel/messages/__init__.py +21 -0
  28. py2docfx/venv/venv0/Lib/site-packages/babel/messages/_compat.py +34 -0
  29. py2docfx/venv/venv0/Lib/site-packages/babel/messages/catalog.py +952 -0
  30. py2docfx/venv/venv0/Lib/site-packages/babel/messages/checkers.py +168 -0
  31. py2docfx/venv/venv0/Lib/site-packages/babel/messages/extract.py +843 -0
  32. py2docfx/venv/venv0/Lib/site-packages/babel/messages/frontend.py +1203 -0
  33. py2docfx/venv/venv0/Lib/site-packages/babel/messages/jslexer.py +203 -0
  34. py2docfx/venv/venv0/Lib/site-packages/babel/messages/mofile.py +212 -0
  35. py2docfx/venv/venv0/Lib/site-packages/babel/messages/plurals.py +257 -0
  36. py2docfx/venv/venv0/Lib/site-packages/babel/messages/pofile.py +675 -0
  37. py2docfx/venv/venv0/Lib/site-packages/babel/messages/setuptools_frontend.py +108 -0
  38. py2docfx/venv/venv0/Lib/site-packages/babel/numbers.py +1573 -0
  39. py2docfx/venv/venv0/Lib/site-packages/babel/plural.py +640 -0
  40. py2docfx/venv/venv0/Lib/site-packages/babel/support.py +726 -0
  41. py2docfx/venv/venv0/Lib/site-packages/babel/units.py +343 -0
  42. py2docfx/venv/venv0/Lib/site-packages/babel/util.py +269 -0
  43. py2docfx/venv/venv0/Lib/site-packages/certifi/__init__.py +4 -0
  44. py2docfx/venv/venv0/Lib/site-packages/certifi/__main__.py +12 -0
  45. py2docfx/venv/venv0/Lib/site-packages/certifi/core.py +114 -0
  46. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/__init__.py +46 -0
  47. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/__main__.py +4 -0
  48. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/api.py +626 -0
  49. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cd.py +395 -0
  50. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cli/__init__.py +6 -0
  51. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/cli/__main__.py +296 -0
  52. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/constant.py +1995 -0
  53. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/legacy.py +54 -0
  54. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/md.py +615 -0
  55. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/models.py +340 -0
  56. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/utils.py +421 -0
  57. py2docfx/venv/venv0/Lib/site-packages/charset_normalizer/version.py +6 -0
  58. py2docfx/venv/venv0/Lib/site-packages/colorama/__init__.py +7 -0
  59. py2docfx/venv/venv0/Lib/site-packages/colorama/ansi.py +102 -0
  60. py2docfx/venv/venv0/Lib/site-packages/colorama/ansitowin32.py +277 -0
  61. py2docfx/venv/venv0/Lib/site-packages/colorama/initialise.py +121 -0
  62. py2docfx/venv/venv0/Lib/site-packages/colorama/tests/__init__.py +1 -0
  63. py2docfx/venv/venv0/Lib/site-packages/colorama/tests/ansi_test.py +76 -0
  64. py2docfx/venv/venv0/Lib/site-packages/colorama/tests/ansitowin32_test.py +294 -0
  65. py2docfx/venv/venv0/Lib/site-packages/colorama/tests/initialise_test.py +189 -0
  66. py2docfx/venv/venv0/Lib/site-packages/colorama/tests/isatty_test.py +57 -0
  67. py2docfx/venv/venv0/Lib/site-packages/colorama/tests/utils.py +49 -0
  68. py2docfx/venv/venv0/Lib/site-packages/colorama/tests/winterm_test.py +131 -0
  69. py2docfx/venv/venv0/Lib/site-packages/colorama/win32.py +180 -0
  70. py2docfx/venv/venv0/Lib/site-packages/colorama/winterm.py +195 -0
  71. py2docfx/venv/venv0/Lib/site-packages/docutils/__init__.py +284 -0
  72. py2docfx/venv/venv0/Lib/site-packages/docutils/__main__.py +96 -0
  73. py2docfx/venv/venv0/Lib/site-packages/docutils/core.py +714 -0
  74. py2docfx/venv/venv0/Lib/site-packages/docutils/examples.py +99 -0
  75. py2docfx/venv/venv0/Lib/site-packages/docutils/frontend.py +951 -0
  76. py2docfx/venv/venv0/Lib/site-packages/docutils/io.py +611 -0
  77. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/__init__.py +83 -0
  78. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/af.py +58 -0
  79. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ar.py +60 -0
  80. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ca.py +60 -0
  81. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/cs.py +60 -0
  82. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/da.py +61 -0
  83. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/de.py +58 -0
  84. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/en.py +60 -0
  85. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/eo.py +61 -0
  86. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/es.py +58 -0
  87. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fa.py +60 -0
  88. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fi.py +60 -0
  89. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/fr.py +58 -0
  90. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/gl.py +62 -0
  91. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/he.py +61 -0
  92. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/it.py +58 -0
  93. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ja.py +60 -0
  94. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ko.py +60 -0
  95. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/lt.py +60 -0
  96. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/lv.py +59 -0
  97. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/nl.py +60 -0
  98. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/pl.py +60 -0
  99. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/pt_br.py +60 -0
  100. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/ru.py +58 -0
  101. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/sk.py +58 -0
  102. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/sv.py +59 -0
  103. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/zh_cn.py +66 -0
  104. py2docfx/venv/venv0/Lib/site-packages/docutils/languages/zh_tw.py +65 -0
  105. py2docfx/venv/venv0/Lib/site-packages/docutils/nodes.py +2314 -0
  106. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/__init__.py +92 -0
  107. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/commonmark_wrapper.py +56 -0
  108. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/null.py +20 -0
  109. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/recommonmark_wrapper.py +136 -0
  110. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/__init__.py +414 -0
  111. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/__init__.py +460 -0
  112. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/admonitions.py +99 -0
  113. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/body.py +304 -0
  114. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/html.py +21 -0
  115. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/images.py +163 -0
  116. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/misc.py +635 -0
  117. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/parts.py +126 -0
  118. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/references.py +29 -0
  119. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/directives/tables.py +513 -0
  120. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/__init__.py +40 -0
  121. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/af.py +107 -0
  122. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ar.py +99 -0
  123. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ca.py +126 -0
  124. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/cs.py +110 -0
  125. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/da.py +113 -0
  126. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/de.py +106 -0
  127. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/en.py +111 -0
  128. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/eo.py +118 -0
  129. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/es.py +122 -0
  130. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fa.py +102 -0
  131. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fi.py +98 -0
  132. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/fr.py +104 -0
  133. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/gl.py +111 -0
  134. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/he.py +109 -0
  135. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/it.py +98 -0
  136. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ja.py +119 -0
  137. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ko.py +111 -0
  138. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/lt.py +109 -0
  139. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/lv.py +108 -0
  140. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/nl.py +113 -0
  141. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/pl.py +100 -0
  142. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/pt_br.py +109 -0
  143. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/ru.py +90 -0
  144. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/sk.py +96 -0
  145. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/sv.py +96 -0
  146. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/zh_cn.py +104 -0
  147. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/languages/zh_tw.py +109 -0
  148. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/roles.py +439 -0
  149. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/states.py +3135 -0
  150. py2docfx/venv/venv0/Lib/site-packages/docutils/parsers/rst/tableparser.py +539 -0
  151. py2docfx/venv/venv0/Lib/site-packages/docutils/readers/__init__.py +113 -0
  152. py2docfx/venv/venv0/Lib/site-packages/docutils/readers/doctree.py +46 -0
  153. py2docfx/venv/venv0/Lib/site-packages/docutils/readers/pep.py +48 -0
  154. py2docfx/venv/venv0/Lib/site-packages/docutils/readers/standalone.py +65 -0
  155. py2docfx/venv/venv0/Lib/site-packages/docutils/statemachine.py +1525 -0
  156. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/__init__.py +174 -0
  157. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/components.py +54 -0
  158. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/frontmatter.py +545 -0
  159. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/misc.py +144 -0
  160. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/parts.py +176 -0
  161. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/peps.py +308 -0
  162. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/references.py +919 -0
  163. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/universal.py +338 -0
  164. py2docfx/venv/venv0/Lib/site-packages/docutils/transforms/writer_aux.py +99 -0
  165. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/__init__.py +821 -0
  166. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/code_analyzer.py +138 -0
  167. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/error_reporting.py +222 -0
  168. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/__init__.py +52 -0
  169. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/latex2mathml.py +1430 -0
  170. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/math2html.py +3171 -0
  171. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/tex2mathml_extern.py +152 -0
  172. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/tex2unichar.py +704 -0
  173. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/math/unichar2tex.py +808 -0
  174. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/punctuation_chars.py +122 -0
  175. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/roman.py +86 -0
  176. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/smartquotes.py +991 -0
  177. py2docfx/venv/venv0/Lib/site-packages/docutils/utils/urischemes.py +138 -0
  178. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/__init__.py +151 -0
  179. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/_html_base.py +1781 -0
  180. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/docutils_xml.py +188 -0
  181. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/html4css1/__init__.py +947 -0
  182. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/html5_polyglot/__init__.py +454 -0
  183. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/latex2e/__init__.py +3295 -0
  184. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/manpage.py +1181 -0
  185. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/null.py +21 -0
  186. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/odf_odt/__init__.py +3468 -0
  187. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/odf_odt/pygmentsformatter.py +109 -0
  188. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/pep_html/__init__.py +103 -0
  189. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/pseudoxml.py +40 -0
  190. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/s5_html/__init__.py +352 -0
  191. py2docfx/venv/venv0/Lib/site-packages/docutils/writers/xetex/__init__.py +149 -0
  192. py2docfx/venv/venv0/Lib/site-packages/idna/__init__.py +45 -0
  193. py2docfx/venv/venv0/Lib/site-packages/idna/codec.py +122 -0
  194. py2docfx/venv/venv0/Lib/site-packages/idna/compat.py +15 -0
  195. py2docfx/venv/venv0/Lib/site-packages/idna/core.py +437 -0
  196. py2docfx/venv/venv0/Lib/site-packages/idna/idnadata.py +4243 -0
  197. py2docfx/venv/venv0/Lib/site-packages/idna/intranges.py +57 -0
  198. py2docfx/venv/venv0/Lib/site-packages/idna/package_data.py +1 -0
  199. py2docfx/venv/venv0/Lib/site-packages/idna/uts46data.py +8681 -0
  200. py2docfx/venv/venv0/Lib/site-packages/imagesize/__init__.py +5 -0
  201. py2docfx/venv/venv0/Lib/site-packages/imagesize/imagesize.py +376 -0
  202. py2docfx/venv/venv0/Lib/site-packages/imagesize.py +383 -0
  203. py2docfx/venv/venv0/Lib/site-packages/jinja2/__init__.py +45 -0
  204. py2docfx/venv/venv0/Lib/site-packages/jinja2/_identifier.py +6 -0
  205. py2docfx/venv/venv0/Lib/site-packages/jinja2/async_utils.py +75 -0
  206. py2docfx/venv/venv0/Lib/site-packages/jinja2/bccache.py +364 -0
  207. py2docfx/venv/venv0/Lib/site-packages/jinja2/compiler.py +1957 -0
  208. py2docfx/venv/venv0/Lib/site-packages/jinja2/constants.py +20 -0
  209. py2docfx/venv/venv0/Lib/site-packages/jinja2/debug.py +259 -0
  210. py2docfx/venv/venv0/Lib/site-packages/jinja2/defaults.py +48 -0
  211. py2docfx/venv/venv0/Lib/site-packages/jinja2/environment.py +1661 -0
  212. py2docfx/venv/venv0/Lib/site-packages/jinja2/exceptions.py +166 -0
  213. py2docfx/venv/venv0/Lib/site-packages/jinja2/ext.py +879 -0
  214. py2docfx/venv/venv0/Lib/site-packages/jinja2/filters.py +1824 -0
  215. py2docfx/venv/venv0/Lib/site-packages/jinja2/idtracking.py +318 -0
  216. py2docfx/venv/venv0/Lib/site-packages/jinja2/lexer.py +869 -0
  217. py2docfx/venv/venv0/Lib/site-packages/jinja2/loaders.py +652 -0
  218. py2docfx/venv/venv0/Lib/site-packages/jinja2/meta.py +111 -0
  219. py2docfx/venv/venv0/Lib/site-packages/jinja2/nativetypes.py +124 -0
  220. py2docfx/venv/venv0/Lib/site-packages/jinja2/nodes.py +1204 -0
  221. py2docfx/venv/venv0/Lib/site-packages/jinja2/optimizer.py +47 -0
  222. py2docfx/venv/venv0/Lib/site-packages/jinja2/parser.py +1040 -0
  223. py2docfx/venv/venv0/Lib/site-packages/jinja2/runtime.py +1104 -0
  224. py2docfx/venv/venv0/Lib/site-packages/jinja2/sandbox.py +428 -0
  225. py2docfx/venv/venv0/Lib/site-packages/jinja2/tests.py +255 -0
  226. py2docfx/venv/venv0/Lib/site-packages/jinja2/utils.py +854 -0
  227. py2docfx/venv/venv0/Lib/site-packages/jinja2/visitor.py +92 -0
  228. py2docfx/venv/venv0/Lib/site-packages/markupsafe/__init__.py +332 -0
  229. py2docfx/venv/venv0/Lib/site-packages/markupsafe/_native.py +63 -0
  230. py2docfx/venv/venv0/Lib/site-packages/packaging/__init__.py +15 -0
  231. py2docfx/venv/venv0/Lib/site-packages/packaging/_elffile.py +110 -0
  232. py2docfx/venv/venv0/Lib/site-packages/packaging/_manylinux.py +262 -0
  233. py2docfx/venv/venv0/Lib/site-packages/packaging/_musllinux.py +85 -0
  234. py2docfx/venv/venv0/Lib/site-packages/packaging/_parser.py +354 -0
  235. py2docfx/venv/venv0/Lib/site-packages/packaging/_structures.py +61 -0
  236. py2docfx/venv/venv0/Lib/site-packages/packaging/_tokenizer.py +194 -0
  237. py2docfx/venv/venv0/Lib/site-packages/packaging/markers.py +325 -0
  238. py2docfx/venv/venv0/Lib/site-packages/packaging/metadata.py +804 -0
  239. py2docfx/venv/venv0/Lib/site-packages/packaging/requirements.py +91 -0
  240. py2docfx/venv/venv0/Lib/site-packages/packaging/specifiers.py +1009 -0
  241. py2docfx/venv/venv0/Lib/site-packages/packaging/tags.py +568 -0
  242. py2docfx/venv/venv0/Lib/site-packages/packaging/utils.py +174 -0
  243. py2docfx/venv/venv0/Lib/site-packages/packaging/version.py +563 -0
  244. py2docfx/venv/venv0/Lib/site-packages/pip/__init__.py +13 -0
  245. py2docfx/venv/venv0/Lib/site-packages/pip/__main__.py +24 -0
  246. py2docfx/venv/venv0/Lib/site-packages/pip/__pip-runner__.py +50 -0
  247. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/__init__.py +18 -0
  248. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/build_env.py +311 -0
  249. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cache.py +290 -0
  250. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/__init__.py +4 -0
  251. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/autocompletion.py +172 -0
  252. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/base_command.py +236 -0
  253. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/cmdoptions.py +1074 -0
  254. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/command_context.py +27 -0
  255. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/main.py +79 -0
  256. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/main_parser.py +134 -0
  257. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/parser.py +294 -0
  258. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/progress_bars.py +68 -0
  259. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/req_command.py +505 -0
  260. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/spinners.py +159 -0
  261. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/cli/status_codes.py +6 -0
  262. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/__init__.py +132 -0
  263. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/cache.py +225 -0
  264. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/check.py +54 -0
  265. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/completion.py +130 -0
  266. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/configuration.py +280 -0
  267. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/debug.py +201 -0
  268. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/download.py +147 -0
  269. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/freeze.py +108 -0
  270. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/hash.py +59 -0
  271. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/help.py +41 -0
  272. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/index.py +139 -0
  273. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/inspect.py +92 -0
  274. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/install.py +774 -0
  275. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/list.py +368 -0
  276. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/search.py +174 -0
  277. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/show.py +189 -0
  278. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/uninstall.py +113 -0
  279. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/commands/wheel.py +183 -0
  280. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/configuration.py +383 -0
  281. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/__init__.py +21 -0
  282. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/base.py +51 -0
  283. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/installed.py +29 -0
  284. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/sdist.py +156 -0
  285. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/distributions/wheel.py +40 -0
  286. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/exceptions.py +728 -0
  287. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/__init__.py +2 -0
  288. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/collector.py +507 -0
  289. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/package_finder.py +1027 -0
  290. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/index/sources.py +285 -0
  291. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/__init__.py +467 -0
  292. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/_distutils.py +172 -0
  293. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/_sysconfig.py +213 -0
  294. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/locations/base.py +81 -0
  295. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/main.py +12 -0
  296. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/__init__.py +128 -0
  297. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/_json.py +84 -0
  298. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/base.py +702 -0
  299. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/__init__.py +6 -0
  300. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_compat.py +55 -0
  301. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_dists.py +227 -0
  302. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/importlib/_envs.py +189 -0
  303. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/metadata/pkg_resources.py +278 -0
  304. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/__init__.py +2 -0
  305. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/candidate.py +30 -0
  306. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/direct_url.py +235 -0
  307. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/format_control.py +78 -0
  308. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/index.py +28 -0
  309. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/installation_report.py +56 -0
  310. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/link.py +579 -0
  311. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/scheme.py +31 -0
  312. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/search_scope.py +132 -0
  313. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/selection_prefs.py +51 -0
  314. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/target_python.py +122 -0
  315. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/models/wheel.py +92 -0
  316. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/__init__.py +2 -0
  317. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/auth.py +561 -0
  318. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/cache.py +106 -0
  319. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/download.py +186 -0
  320. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/lazy_wheel.py +210 -0
  321. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/session.py +520 -0
  322. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/utils.py +96 -0
  323. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/network/xmlrpc.py +62 -0
  324. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/__init__.py +0 -0
  325. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/__init__.py +0 -0
  326. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/build_tracker.py +139 -0
  327. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata.py +39 -0
  328. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata_editable.py +41 -0
  329. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/metadata_legacy.py +74 -0
  330. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel.py +37 -0
  331. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel_editable.py +46 -0
  332. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/build/wheel_legacy.py +102 -0
  333. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/check.py +187 -0
  334. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/freeze.py +255 -0
  335. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/__init__.py +2 -0
  336. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/editable_legacy.py +46 -0
  337. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/install/wheel.py +734 -0
  338. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/operations/prepare.py +730 -0
  339. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/pyproject.py +179 -0
  340. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/__init__.py +92 -0
  341. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/constructors.py +576 -0
  342. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_file.py +554 -0
  343. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_install.py +923 -0
  344. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_set.py +119 -0
  345. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/req/req_uninstall.py +649 -0
  346. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/__init__.py +0 -0
  347. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/base.py +20 -0
  348. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/legacy/__init__.py +0 -0
  349. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/legacy/resolver.py +598 -0
  350. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/__init__.py +0 -0
  351. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/base.py +141 -0
  352. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/candidates.py +597 -0
  353. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/factory.py +812 -0
  354. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py +155 -0
  355. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/provider.py +255 -0
  356. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/reporter.py +80 -0
  357. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py +166 -0
  358. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/resolution/resolvelib/resolver.py +317 -0
  359. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/self_outdated_check.py +248 -0
  360. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/__init__.py +0 -0
  361. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/_jaraco_text.py +109 -0
  362. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/_log.py +38 -0
  363. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/appdirs.py +52 -0
  364. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/compat.py +63 -0
  365. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/compatibility_tags.py +165 -0
  366. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/datetime.py +11 -0
  367. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/deprecation.py +120 -0
  368. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/direct_url_helpers.py +87 -0
  369. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/egg_link.py +80 -0
  370. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/encoding.py +36 -0
  371. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/entrypoints.py +84 -0
  372. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/filesystem.py +153 -0
  373. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/filetypes.py +27 -0
  374. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/glibc.py +88 -0
  375. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/hashes.py +151 -0
  376. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/logging.py +348 -0
  377. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/misc.py +783 -0
  378. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/models.py +39 -0
  379. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/packaging.py +57 -0
  380. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/setuptools_build.py +146 -0
  381. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/subprocess.py +260 -0
  382. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/temp_dir.py +296 -0
  383. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/unpacking.py +257 -0
  384. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/urls.py +62 -0
  385. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/virtualenv.py +104 -0
  386. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/utils/wheel.py +134 -0
  387. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/__init__.py +15 -0
  388. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/bazaar.py +112 -0
  389. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/git.py +526 -0
  390. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/mercurial.py +163 -0
  391. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/subversion.py +324 -0
  392. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/vcs/versioncontrol.py +705 -0
  393. py2docfx/venv/venv0/Lib/site-packages/pip/_internal/wheel_builder.py +354 -0
  394. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/__init__.py +121 -0
  395. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/__init__.py +28 -0
  396. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/_cmd.py +70 -0
  397. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py +161 -0
  398. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/cache.py +74 -0
  399. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
  400. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +181 -0
  401. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
  402. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/controller.py +494 -0
  403. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/filewrapper.py +119 -0
  404. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/heuristics.py +154 -0
  405. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/serialize.py +206 -0
  406. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/cachecontrol/wrapper.py +43 -0
  407. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/__init__.py +4 -0
  408. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/__main__.py +12 -0
  409. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/certifi/core.py +108 -0
  410. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/__init__.py +115 -0
  411. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
  412. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/big5prober.py +47 -0
  413. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/chardistribution.py +261 -0
  414. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py +106 -0
  415. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/charsetprober.py +147 -0
  416. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cli/__init__.py +0 -0
  417. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cli/chardetect.py +112 -0
  418. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/codingstatemachine.py +90 -0
  419. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/codingstatemachinedict.py +19 -0
  420. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/cp949prober.py +49 -0
  421. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/enums.py +85 -0
  422. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/escprober.py +102 -0
  423. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/escsm.py +261 -0
  424. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/eucjpprober.py +102 -0
  425. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euckrfreq.py +196 -0
  426. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euckrprober.py +47 -0
  427. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euctwfreq.py +388 -0
  428. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/euctwprober.py +47 -0
  429. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/gb2312freq.py +284 -0
  430. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/gb2312prober.py +47 -0
  431. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/hebrewprober.py +316 -0
  432. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/jisfreq.py +325 -0
  433. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/johabfreq.py +2382 -0
  434. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/johabprober.py +47 -0
  435. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/jpcntx.py +238 -0
  436. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langbulgarianmodel.py +4649 -0
  437. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langgreekmodel.py +4397 -0
  438. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langhebrewmodel.py +4380 -0
  439. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langhungarianmodel.py +4649 -0
  440. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langrussianmodel.py +5725 -0
  441. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langthaimodel.py +4380 -0
  442. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py +4380 -0
  443. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/latin1prober.py +147 -0
  444. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/macromanprober.py +162 -0
  445. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcharsetprober.py +95 -0
  446. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcsgroupprober.py +57 -0
  447. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/mbcssm.py +661 -0
  448. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/metadata/__init__.py +0 -0
  449. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/metadata/languages.py +352 -0
  450. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/resultdict.py +16 -0
  451. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sbcharsetprober.py +162 -0
  452. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sbcsgroupprober.py +88 -0
  453. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/sjisprober.py +105 -0
  454. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/universaldetector.py +362 -0
  455. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/utf1632prober.py +225 -0
  456. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/utf8prober.py +82 -0
  457. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/chardet/version.py +9 -0
  458. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/__init__.py +7 -0
  459. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/ansi.py +102 -0
  460. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/ansitowin32.py +277 -0
  461. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/initialise.py +121 -0
  462. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/__init__.py +1 -0
  463. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/ansi_test.py +76 -0
  464. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/ansitowin32_test.py +294 -0
  465. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/initialise_test.py +189 -0
  466. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/isatty_test.py +57 -0
  467. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/utils.py +49 -0
  468. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/tests/winterm_test.py +131 -0
  469. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/win32.py +180 -0
  470. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/colorama/winterm.py +195 -0
  471. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/__init__.py +33 -0
  472. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/compat.py +1138 -0
  473. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/database.py +1359 -0
  474. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/index.py +508 -0
  475. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/locators.py +1303 -0
  476. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/manifest.py +384 -0
  477. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/markers.py +167 -0
  478. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/metadata.py +1068 -0
  479. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/resources.py +358 -0
  480. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/scripts.py +452 -0
  481. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/util.py +2025 -0
  482. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/version.py +751 -0
  483. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distlib/wheel.py +1099 -0
  484. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/__init__.py +54 -0
  485. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/__main__.py +4 -0
  486. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/distro/distro.py +1399 -0
  487. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/__init__.py +44 -0
  488. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/codec.py +112 -0
  489. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/compat.py +13 -0
  490. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/core.py +400 -0
  491. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/idnadata.py +2151 -0
  492. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/intranges.py +54 -0
  493. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/package_data.py +2 -0
  494. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/idna/uts46data.py +8600 -0
  495. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/__init__.py +57 -0
  496. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/exceptions.py +48 -0
  497. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/ext.py +193 -0
  498. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/msgpack/fallback.py +1010 -0
  499. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/__about__.py +26 -0
  500. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/__init__.py +25 -0
  501. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_manylinux.py +301 -0
  502. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_musllinux.py +136 -0
  503. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/_structures.py +61 -0
  504. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/markers.py +304 -0
  505. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/requirements.py +146 -0
  506. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/specifiers.py +802 -0
  507. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/tags.py +487 -0
  508. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/utils.py +136 -0
  509. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/packaging/version.py +504 -0
  510. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pkg_resources/__init__.py +3361 -0
  511. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/__init__.py +566 -0
  512. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +53 -0
  513. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/android.py +210 -0
  514. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/api.py +223 -0
  515. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/macos.py +91 -0
  516. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/unix.py +223 -0
  517. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/version.py +4 -0
  518. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/platformdirs/windows.py +255 -0
  519. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/__init__.py +82 -0
  520. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/__main__.py +17 -0
  521. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/cmdline.py +668 -0
  522. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/console.py +70 -0
  523. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/filter.py +71 -0
  524. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +940 -0
  525. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatter.py +124 -0
  526. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/__init__.py +158 -0
  527. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/_mapping.py +23 -0
  528. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/bbcode.py +108 -0
  529. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/groff.py +170 -0
  530. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/html.py +989 -0
  531. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/img.py +645 -0
  532. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/irc.py +154 -0
  533. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/latex.py +521 -0
  534. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/other.py +161 -0
  535. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py +83 -0
  536. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/rtf.py +146 -0
  537. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/svg.py +188 -0
  538. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/terminal.py +127 -0
  539. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/formatters/terminal256.py +338 -0
  540. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexer.py +943 -0
  541. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/__init__.py +362 -0
  542. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/_mapping.py +559 -0
  543. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/lexers/python.py +1198 -0
  544. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/modeline.py +43 -0
  545. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/plugin.py +88 -0
  546. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/regexopt.py +91 -0
  547. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/scanner.py +104 -0
  548. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/sphinxext.py +217 -0
  549. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/style.py +197 -0
  550. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/styles/__init__.py +103 -0
  551. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/token.py +213 -0
  552. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/unistring.py +153 -0
  553. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pygments/util.py +330 -0
  554. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/__init__.py +322 -0
  555. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/actions.py +217 -0
  556. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/common.py +432 -0
  557. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/core.py +6115 -0
  558. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/diagram/__init__.py +656 -0
  559. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/exceptions.py +299 -0
  560. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/helpers.py +1100 -0
  561. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/results.py +796 -0
  562. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/testing.py +331 -0
  563. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/unicode.py +361 -0
  564. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyparsing/util.py +284 -0
  565. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/__init__.py +23 -0
  566. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py +8 -0
  567. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py +330 -0
  568. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +18 -0
  569. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +353 -0
  570. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/__init__.py +182 -0
  571. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/__version__.py +14 -0
  572. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/_internal_utils.py +50 -0
  573. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/adapters.py +538 -0
  574. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/api.py +157 -0
  575. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/auth.py +315 -0
  576. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/certs.py +24 -0
  577. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/compat.py +67 -0
  578. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/cookies.py +561 -0
  579. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/exceptions.py +141 -0
  580. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/help.py +131 -0
  581. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/hooks.py +33 -0
  582. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/models.py +1034 -0
  583. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/packages.py +16 -0
  584. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/sessions.py +833 -0
  585. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/status_codes.py +128 -0
  586. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/structures.py +99 -0
  587. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/requests/utils.py +1094 -0
  588. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/__init__.py +26 -0
  589. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  590. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/compat/collections_abc.py +6 -0
  591. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/providers.py +133 -0
  592. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/reporters.py +43 -0
  593. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/resolvers.py +547 -0
  594. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/resolvelib/structs.py +170 -0
  595. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/__init__.py +177 -0
  596. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/__main__.py +274 -0
  597. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_cell_widths.py +451 -0
  598. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py +3610 -0
  599. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py +32 -0
  600. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_export_format.py +76 -0
  601. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_extension.py +10 -0
  602. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_fileno.py +24 -0
  603. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_inspect.py +270 -0
  604. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_log_render.py +94 -0
  605. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_loop.py +43 -0
  606. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_null_file.py +69 -0
  607. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_palettes.py +309 -0
  608. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_pick.py +17 -0
  609. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_ratio.py +160 -0
  610. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_spinners.py +482 -0
  611. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_stack.py +16 -0
  612. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_timer.py +19 -0
  613. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_win32_console.py +662 -0
  614. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_windows.py +72 -0
  615. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py +56 -0
  616. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/_wrap.py +56 -0
  617. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/abc.py +33 -0
  618. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/align.py +311 -0
  619. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/ansi.py +240 -0
  620. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/bar.py +94 -0
  621. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/box.py +517 -0
  622. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/cells.py +154 -0
  623. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/color.py +622 -0
  624. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/color_triplet.py +38 -0
  625. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/columns.py +187 -0
  626. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/console.py +2633 -0
  627. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/constrain.py +37 -0
  628. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/containers.py +167 -0
  629. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/control.py +225 -0
  630. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/default_styles.py +190 -0
  631. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/diagnose.py +37 -0
  632. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/emoji.py +96 -0
  633. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/errors.py +34 -0
  634. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/file_proxy.py +57 -0
  635. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/filesize.py +89 -0
  636. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/highlighter.py +232 -0
  637. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/json.py +140 -0
  638. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/jupyter.py +101 -0
  639. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/layout.py +443 -0
  640. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/live.py +375 -0
  641. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/live_render.py +113 -0
  642. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/logging.py +289 -0
  643. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/markup.py +246 -0
  644. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/measure.py +151 -0
  645. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/padding.py +141 -0
  646. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/pager.py +34 -0
  647. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/palette.py +100 -0
  648. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/panel.py +308 -0
  649. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/pretty.py +994 -0
  650. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/progress.py +1702 -0
  651. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/progress_bar.py +224 -0
  652. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/prompt.py +376 -0
  653. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/protocol.py +42 -0
  654. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/region.py +10 -0
  655. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/repr.py +149 -0
  656. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/rule.py +130 -0
  657. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/scope.py +86 -0
  658. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/screen.py +54 -0
  659. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/segment.py +739 -0
  660. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/spinner.py +137 -0
  661. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/status.py +132 -0
  662. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/style.py +796 -0
  663. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/styled.py +42 -0
  664. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/syntax.py +948 -0
  665. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/table.py +1002 -0
  666. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/terminal_theme.py +153 -0
  667. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/text.py +1307 -0
  668. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/theme.py +115 -0
  669. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/themes.py +5 -0
  670. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/traceback.py +756 -0
  671. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/rich/tree.py +251 -0
  672. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/six.py +998 -0
  673. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/__init__.py +608 -0
  674. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/_asyncio.py +94 -0
  675. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/_utils.py +76 -0
  676. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/after.py +51 -0
  677. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/before.py +46 -0
  678. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/before_sleep.py +71 -0
  679. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/nap.py +43 -0
  680. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/retry.py +272 -0
  681. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/stop.py +103 -0
  682. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/tornadoweb.py +59 -0
  683. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tenacity/wait.py +228 -0
  684. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/__init__.py +11 -0
  685. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_parser.py +691 -0
  686. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_re.py +107 -0
  687. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/tomli/_types.py +10 -0
  688. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/__init__.py +13 -0
  689. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_api.py +302 -0
  690. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_macos.py +501 -0
  691. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_openssl.py +66 -0
  692. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_ssl_constants.py +31 -0
  693. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/truststore/_windows.py +554 -0
  694. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/typing_extensions.py +3072 -0
  695. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/__init__.py +102 -0
  696. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/_collections.py +337 -0
  697. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/_version.py +2 -0
  698. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/connection.py +572 -0
  699. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py +1132 -0
  700. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
  701. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.py +36 -0
  702. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
  703. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +519 -0
  704. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +397 -0
  705. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/appengine.py +314 -0
  706. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/ntlmpool.py +130 -0
  707. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +518 -0
  708. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +921 -0
  709. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/contrib/socks.py +216 -0
  710. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/exceptions.py +323 -0
  711. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/fields.py +274 -0
  712. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/filepost.py +98 -0
  713. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/__init__.py +0 -0
  714. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
  715. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +51 -0
  716. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/backports/weakref_finalize.py +155 -0
  717. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/packages/six.py +1076 -0
  718. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/poolmanager.py +537 -0
  719. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/request.py +191 -0
  720. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/response.py +879 -0
  721. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/__init__.py +49 -0
  722. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/connection.py +149 -0
  723. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/proxy.py +57 -0
  724. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/queue.py +22 -0
  725. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/request.py +137 -0
  726. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/response.py +107 -0
  727. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/retry.py +620 -0
  728. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssl_.py +495 -0
  729. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py +159 -0
  730. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/ssltransport.py +221 -0
  731. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/timeout.py +271 -0
  732. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/url.py +435 -0
  733. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +152 -0
  734. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
  735. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/labels.py +231 -0
  736. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
  737. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/tests.py +153 -0
  738. py2docfx/venv/venv0/Lib/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
  739. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/__init__.py +3725 -0
  740. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/__init__.py +0 -0
  741. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +7 -0
  742. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_find_distributions.py +56 -0
  743. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_integration_zope_interface.py +54 -0
  744. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_markers.py +8 -0
  745. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_pkg_resources.py +427 -0
  746. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_resources.py +869 -0
  747. py2docfx/venv/venv0/Lib/site-packages/pkg_resources/tests/test_working_set.py +501 -0
  748. py2docfx/venv/venv0/Lib/site-packages/pygments/__init__.py +82 -0
  749. py2docfx/venv/venv0/Lib/site-packages/pygments/__main__.py +17 -0
  750. py2docfx/venv/venv0/Lib/site-packages/pygments/cmdline.py +668 -0
  751. py2docfx/venv/venv0/Lib/site-packages/pygments/console.py +70 -0
  752. py2docfx/venv/venv0/Lib/site-packages/pygments/filter.py +70 -0
  753. py2docfx/venv/venv0/Lib/site-packages/pygments/filters/__init__.py +940 -0
  754. py2docfx/venv/venv0/Lib/site-packages/pygments/formatter.py +129 -0
  755. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/__init__.py +157 -0
  756. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/_mapping.py +23 -0
  757. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/bbcode.py +108 -0
  758. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/groff.py +170 -0
  759. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/html.py +987 -0
  760. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/img.py +685 -0
  761. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/irc.py +154 -0
  762. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/latex.py +518 -0
  763. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/other.py +160 -0
  764. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/pangomarkup.py +83 -0
  765. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/rtf.py +349 -0
  766. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/svg.py +185 -0
  767. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/terminal.py +127 -0
  768. py2docfx/venv/venv0/Lib/site-packages/pygments/formatters/terminal256.py +338 -0
  769. py2docfx/venv/venv0/Lib/site-packages/pygments/lexer.py +961 -0
  770. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/__init__.py +362 -0
  771. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_ada_builtins.py +103 -0
  772. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_asy_builtins.py +1644 -0
  773. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_cl_builtins.py +231 -0
  774. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_cocoa_builtins.py +75 -0
  775. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_csound_builtins.py +1780 -0
  776. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_css_builtins.py +558 -0
  777. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_julia_builtins.py +411 -0
  778. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lasso_builtins.py +5326 -0
  779. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lilypond_builtins.py +4932 -0
  780. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_lua_builtins.py +285 -0
  781. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_luau_builtins.py +62 -0
  782. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mapping.py +589 -0
  783. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mql_builtins.py +1171 -0
  784. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_mysql_builtins.py +1335 -0
  785. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_openedge_builtins.py +2600 -0
  786. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_php_builtins.py +3325 -0
  787. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_postgres_builtins.py +739 -0
  788. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_qlik_builtins.py +666 -0
  789. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_scheme_builtins.py +1609 -0
  790. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_scilab_builtins.py +3093 -0
  791. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_sourcemod_builtins.py +1151 -0
  792. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_stan_builtins.py +648 -0
  793. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_stata_builtins.py +457 -0
  794. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_tsql_builtins.py +1003 -0
  795. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_usd_builtins.py +112 -0
  796. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_vbscript_builtins.py +279 -0
  797. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/_vim_builtins.py +1938 -0
  798. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/actionscript.py +243 -0
  799. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ada.py +144 -0
  800. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/agile.py +25 -0
  801. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/algebra.py +298 -0
  802. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ambient.py +75 -0
  803. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/amdgpu.py +54 -0
  804. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ampl.py +87 -0
  805. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/apdlexer.py +593 -0
  806. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/apl.py +103 -0
  807. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/archetype.py +315 -0
  808. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/arrow.py +116 -0
  809. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/arturo.py +249 -0
  810. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asc.py +55 -0
  811. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asm.py +1050 -0
  812. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/asn1.py +178 -0
  813. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/automation.py +379 -0
  814. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bare.py +101 -0
  815. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/basic.py +656 -0
  816. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bdd.py +57 -0
  817. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/berry.py +99 -0
  818. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bibtex.py +159 -0
  819. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/blueprint.py +173 -0
  820. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/boa.py +97 -0
  821. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/bqn.py +109 -0
  822. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/business.py +625 -0
  823. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/c_cpp.py +414 -0
  824. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/c_like.py +738 -0
  825. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/capnproto.py +74 -0
  826. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/carbon.py +95 -0
  827. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/cddl.py +172 -0
  828. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/chapel.py +139 -0
  829. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/clean.py +180 -0
  830. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/comal.py +81 -0
  831. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/compiled.py +35 -0
  832. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/configs.py +1424 -0
  833. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/console.py +114 -0
  834. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/cplint.py +43 -0
  835. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/crystal.py +364 -0
  836. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/csound.py +466 -0
  837. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/css.py +602 -0
  838. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/d.py +259 -0
  839. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dalvik.py +126 -0
  840. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/data.py +763 -0
  841. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dax.py +135 -0
  842. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/devicetree.py +108 -0
  843. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/diff.py +169 -0
  844. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dns.py +109 -0
  845. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dotnet.py +846 -0
  846. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dsls.py +970 -0
  847. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/dylan.py +279 -0
  848. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ecl.py +144 -0
  849. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/eiffel.py +68 -0
  850. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/elm.py +123 -0
  851. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/elpi.py +172 -0
  852. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/email.py +132 -0
  853. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/erlang.py +526 -0
  854. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/esoteric.py +300 -0
  855. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ezhil.py +76 -0
  856. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/factor.py +363 -0
  857. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fantom.py +251 -0
  858. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/felix.py +275 -0
  859. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fift.py +68 -0
  860. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/floscript.py +81 -0
  861. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/forth.py +178 -0
  862. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/fortran.py +212 -0
  863. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/foxpro.py +427 -0
  864. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/freefem.py +893 -0
  865. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/func.py +110 -0
  866. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/functional.py +21 -0
  867. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/futhark.py +105 -0
  868. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gcodelexer.py +35 -0
  869. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gdscript.py +189 -0
  870. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/go.py +97 -0
  871. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/grammar_notation.py +262 -0
  872. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graph.py +108 -0
  873. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphics.py +794 -0
  874. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphql.py +176 -0
  875. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/graphviz.py +58 -0
  876. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/gsql.py +103 -0
  877. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/haskell.py +866 -0
  878. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/haxe.py +935 -0
  879. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/hdl.py +466 -0
  880. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/hexdump.py +102 -0
  881. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/html.py +626 -0
  882. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/idl.py +284 -0
  883. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/igor.py +435 -0
  884. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/inferno.py +95 -0
  885. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/installers.py +325 -0
  886. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/int_fiction.py +1370 -0
  887. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/iolang.py +61 -0
  888. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/j.py +151 -0
  889. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/javascript.py +1587 -0
  890. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jmespath.py +69 -0
  891. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jslt.py +94 -0
  892. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jsonnet.py +169 -0
  893. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jsx.py +75 -0
  894. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/julia.py +293 -0
  895. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/jvm.py +1802 -0
  896. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/kuin.py +332 -0
  897. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/kusto.py +93 -0
  898. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ldap.py +155 -0
  899. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lean.py +241 -0
  900. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lilypond.py +225 -0
  901. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/lisp.py +3146 -0
  902. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/macaulay2.py +1788 -0
  903. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/make.py +212 -0
  904. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/markup.py +1654 -0
  905. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/math.py +21 -0
  906. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/matlab.py +3306 -0
  907. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/maxima.py +84 -0
  908. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/meson.py +139 -0
  909. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mime.py +210 -0
  910. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/minecraft.py +391 -0
  911. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mips.py +130 -0
  912. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ml.py +958 -0
  913. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/modeling.py +366 -0
  914. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/modula2.py +1579 -0
  915. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mojo.py +704 -0
  916. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/monte.py +203 -0
  917. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/mosel.py +447 -0
  918. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ncl.py +894 -0
  919. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nimrod.py +199 -0
  920. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nit.py +63 -0
  921. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/nix.py +144 -0
  922. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/oberon.py +120 -0
  923. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/objective.py +513 -0
  924. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ooc.py +84 -0
  925. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/openscad.py +96 -0
  926. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/other.py +41 -0
  927. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/parasail.py +78 -0
  928. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/parsers.py +798 -0
  929. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pascal.py +644 -0
  930. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pawn.py +202 -0
  931. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/perl.py +733 -0
  932. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/phix.py +363 -0
  933. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/php.py +334 -0
  934. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pointless.py +70 -0
  935. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/pony.py +93 -0
  936. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/praat.py +303 -0
  937. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/procfile.py +41 -0
  938. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/prolog.py +318 -0
  939. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/promql.py +176 -0
  940. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/prql.py +251 -0
  941. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ptx.py +119 -0
  942. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/python.py +1198 -0
  943. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/q.py +187 -0
  944. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/qlik.py +117 -0
  945. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/qvt.py +153 -0
  946. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/r.py +192 -0
  947. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rdf.py +468 -0
  948. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rebol.py +419 -0
  949. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/resource.py +83 -0
  950. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ride.py +138 -0
  951. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rita.py +42 -0
  952. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rnc.py +66 -0
  953. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/roboconf.py +81 -0
  954. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/robotframework.py +551 -0
  955. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ruby.py +518 -0
  956. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/rust.py +222 -0
  957. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sas.py +227 -0
  958. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/savi.py +171 -0
  959. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/scdoc.py +85 -0
  960. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/scripting.py +1598 -0
  961. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sgf.py +59 -0
  962. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/shell.py +898 -0
  963. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sieve.py +78 -0
  964. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/slash.py +183 -0
  965. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smalltalk.py +194 -0
  966. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smithy.py +77 -0
  967. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/smv.py +78 -0
  968. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/snobol.py +82 -0
  969. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/solidity.py +87 -0
  970. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/soong.py +78 -0
  971. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sophia.py +102 -0
  972. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/special.py +121 -0
  973. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/spice.py +70 -0
  974. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/sql.py +1033 -0
  975. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/srcinfo.py +62 -0
  976. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/stata.py +170 -0
  977. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/supercollider.py +94 -0
  978. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tact.py +303 -0
  979. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tal.py +77 -0
  980. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tcl.py +148 -0
  981. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/teal.py +88 -0
  982. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/templates.py +2355 -0
  983. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/teraterm.py +325 -0
  984. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/testing.py +209 -0
  985. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/text.py +27 -0
  986. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/textedit.py +205 -0
  987. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/textfmts.py +436 -0
  988. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/theorem.py +410 -0
  989. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/thingsdb.py +140 -0
  990. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tlb.py +59 -0
  991. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tls.py +54 -0
  992. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/tnt.py +270 -0
  993. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/trafficscript.py +51 -0
  994. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/typoscript.py +216 -0
  995. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/typst.py +104 -0
  996. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/ul4.py +309 -0
  997. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/unicon.py +413 -0
  998. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/urbi.py +145 -0
  999. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/usd.py +85 -0
  1000. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/varnish.py +189 -0
  1001. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/verification.py +113 -0
  1002. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/verifpal.py +65 -0
  1003. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/vip.py +150 -0
  1004. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/vyper.py +140 -0
  1005. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/web.py +24 -0
  1006. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webassembly.py +119 -0
  1007. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webidl.py +298 -0
  1008. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/webmisc.py +1006 -0
  1009. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wgsl.py +406 -0
  1010. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/whiley.py +115 -0
  1011. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wowtoc.py +120 -0
  1012. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/wren.py +98 -0
  1013. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/x10.py +66 -0
  1014. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/xorg.py +38 -0
  1015. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/yang.py +103 -0
  1016. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/yara.py +69 -0
  1017. py2docfx/venv/venv0/Lib/site-packages/pygments/lexers/zig.py +125 -0
  1018. py2docfx/venv/venv0/Lib/site-packages/pygments/modeline.py +43 -0
  1019. py2docfx/venv/venv0/Lib/site-packages/pygments/plugin.py +72 -0
  1020. py2docfx/venv/venv0/Lib/site-packages/pygments/regexopt.py +91 -0
  1021. py2docfx/venv/venv0/Lib/site-packages/pygments/scanner.py +104 -0
  1022. py2docfx/venv/venv0/Lib/site-packages/pygments/sphinxext.py +247 -0
  1023. py2docfx/venv/venv0/Lib/site-packages/pygments/style.py +203 -0
  1024. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/__init__.py +61 -0
  1025. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/_mapping.py +54 -0
  1026. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/abap.py +32 -0
  1027. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/algol.py +65 -0
  1028. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/algol_nu.py +65 -0
  1029. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/arduino.py +100 -0
  1030. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/autumn.py +67 -0
  1031. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/borland.py +53 -0
  1032. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/bw.py +52 -0
  1033. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/coffee.py +80 -0
  1034. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/colorful.py +83 -0
  1035. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/default.py +76 -0
  1036. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/dracula.py +90 -0
  1037. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/emacs.py +75 -0
  1038. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/friendly.py +76 -0
  1039. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/friendly_grayscale.py +80 -0
  1040. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/fruity.py +47 -0
  1041. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/gh_dark.py +113 -0
  1042. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/gruvbox.py +118 -0
  1043. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/igor.py +32 -0
  1044. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/inkpot.py +72 -0
  1045. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lightbulb.py +110 -0
  1046. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lilypond.py +62 -0
  1047. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/lovelace.py +100 -0
  1048. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/manni.py +79 -0
  1049. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/material.py +124 -0
  1050. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/monokai.py +112 -0
  1051. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/murphy.py +82 -0
  1052. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/native.py +70 -0
  1053. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/nord.py +156 -0
  1054. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/onedark.py +63 -0
  1055. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/paraiso_dark.py +124 -0
  1056. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/paraiso_light.py +124 -0
  1057. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/pastie.py +78 -0
  1058. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/perldoc.py +73 -0
  1059. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/rainbow_dash.py +95 -0
  1060. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/rrt.py +39 -0
  1061. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/sas.py +46 -0
  1062. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/solarized.py +144 -0
  1063. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/staroffice.py +31 -0
  1064. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/stata_dark.py +42 -0
  1065. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/stata_light.py +42 -0
  1066. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/tango.py +143 -0
  1067. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/trac.py +66 -0
  1068. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/vim.py +67 -0
  1069. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/vs.py +41 -0
  1070. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/xcode.py +53 -0
  1071. py2docfx/venv/venv0/Lib/site-packages/pygments/styles/zenburn.py +83 -0
  1072. py2docfx/venv/venv0/Lib/site-packages/pygments/token.py +214 -0
  1073. py2docfx/venv/venv0/Lib/site-packages/pygments/unistring.py +153 -0
  1074. py2docfx/venv/venv0/Lib/site-packages/pygments/util.py +324 -0
  1075. py2docfx/venv/venv0/Lib/site-packages/requests/__init__.py +184 -0
  1076. py2docfx/venv/venv0/Lib/site-packages/requests/__version__.py +14 -0
  1077. py2docfx/venv/venv0/Lib/site-packages/requests/_internal_utils.py +50 -0
  1078. py2docfx/venv/venv0/Lib/site-packages/requests/adapters.py +719 -0
  1079. py2docfx/venv/venv0/Lib/site-packages/requests/api.py +157 -0
  1080. py2docfx/venv/venv0/Lib/site-packages/requests/auth.py +314 -0
  1081. py2docfx/venv/venv0/Lib/site-packages/requests/certs.py +17 -0
  1082. py2docfx/venv/venv0/Lib/site-packages/requests/compat.py +94 -0
  1083. py2docfx/venv/venv0/Lib/site-packages/requests/cookies.py +561 -0
  1084. py2docfx/venv/venv0/Lib/site-packages/requests/exceptions.py +151 -0
  1085. py2docfx/venv/venv0/Lib/site-packages/requests/help.py +134 -0
  1086. py2docfx/venv/venv0/Lib/site-packages/requests/hooks.py +33 -0
  1087. py2docfx/venv/venv0/Lib/site-packages/requests/models.py +1037 -0
  1088. py2docfx/venv/venv0/Lib/site-packages/requests/packages.py +23 -0
  1089. py2docfx/venv/venv0/Lib/site-packages/requests/sessions.py +831 -0
  1090. py2docfx/venv/venv0/Lib/site-packages/requests/status_codes.py +128 -0
  1091. py2docfx/venv/venv0/Lib/site-packages/requests/structures.py +99 -0
  1092. py2docfx/venv/venv0/Lib/site-packages/requests/utils.py +1096 -0
  1093. py2docfx/venv/venv0/Lib/site-packages/setuptools/__init__.py +290 -0
  1094. py2docfx/venv/venv0/Lib/site-packages/setuptools/_core_metadata.py +286 -0
  1095. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/__init__.py +14 -0
  1096. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_log.py +3 -0
  1097. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_macos_compat.py +12 -0
  1098. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_modified.py +73 -0
  1099. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +604 -0
  1100. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/archive_util.py +264 -0
  1101. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/ccompiler.py +1256 -0
  1102. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/cmd.py +439 -0
  1103. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/__init__.py +23 -0
  1104. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/_framework_compat.py +54 -0
  1105. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist.py +155 -0
  1106. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +140 -0
  1107. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +597 -0
  1108. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build.py +156 -0
  1109. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_clib.py +208 -0
  1110. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_ext.py +796 -0
  1111. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_py.py +406 -0
  1112. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +170 -0
  1113. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/check.py +154 -0
  1114. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/clean.py +76 -0
  1115. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/config.py +369 -0
  1116. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install.py +811 -0
  1117. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_data.py +94 -0
  1118. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_egg_info.py +92 -0
  1119. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_headers.py +44 -0
  1120. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_lib.py +234 -0
  1121. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +61 -0
  1122. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/command/sdist.py +515 -0
  1123. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/__init__.py +15 -0
  1124. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/py38.py +34 -0
  1125. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/compat/py39.py +66 -0
  1126. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/core.py +286 -0
  1127. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +339 -0
  1128. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/debug.py +5 -0
  1129. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dep_util.py +14 -0
  1130. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dir_util.py +249 -0
  1131. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/dist.py +1288 -0
  1132. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/errors.py +124 -0
  1133. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/extension.py +247 -0
  1134. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/fancy_getopt.py +469 -0
  1135. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/file_util.py +236 -0
  1136. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/filelist.py +369 -0
  1137. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/log.py +56 -0
  1138. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/spawn.py +117 -0
  1139. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/sysconfig.py +583 -0
  1140. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/__init__.py +42 -0
  1141. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/compat/__init__.py +0 -0
  1142. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/compat/py38.py +50 -0
  1143. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/support.py +134 -0
  1144. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_archive_util.py +353 -0
  1145. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist.py +47 -0
  1146. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist_dumb.py +78 -0
  1147. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_bdist_rpm.py +128 -0
  1148. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build.py +47 -0
  1149. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_clib.py +134 -0
  1150. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +563 -0
  1151. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_py.py +196 -0
  1152. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_build_scripts.py +96 -0
  1153. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_ccompiler.py +91 -0
  1154. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_check.py +194 -0
  1155. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_clean.py +45 -0
  1156. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_cmd.py +107 -0
  1157. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_config_cmd.py +87 -0
  1158. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_core.py +130 -0
  1159. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py +81 -0
  1160. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_dir_util.py +112 -0
  1161. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_dist.py +545 -0
  1162. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_extension.py +108 -0
  1163. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_file_util.py +94 -0
  1164. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_filelist.py +336 -0
  1165. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install.py +245 -0
  1166. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_data.py +74 -0
  1167. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_headers.py +33 -0
  1168. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_lib.py +110 -0
  1169. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_install_scripts.py +52 -0
  1170. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_log.py +12 -0
  1171. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_mingwccompiler.py +56 -0
  1172. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_modified.py +126 -0
  1173. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py +137 -0
  1174. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +470 -0
  1175. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_spawn.py +131 -0
  1176. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_sysconfig.py +319 -0
  1177. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_text_file.py +127 -0
  1178. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_unixccompiler.py +351 -0
  1179. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_util.py +243 -0
  1180. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_version.py +80 -0
  1181. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/test_versionpredicate.py +0 -0
  1182. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/tests/unix_compat.py +17 -0
  1183. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/text_file.py +286 -0
  1184. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/unixccompiler.py +402 -0
  1185. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/util.py +505 -0
  1186. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/version.py +349 -0
  1187. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/versionpredicate.py +175 -0
  1188. py2docfx/venv/venv0/Lib/site-packages/setuptools/_distutils/zosccompiler.py +229 -0
  1189. py2docfx/venv/venv0/Lib/site-packages/setuptools/_entry_points.py +90 -0
  1190. py2docfx/venv/venv0/Lib/site-packages/setuptools/_imp.py +87 -0
  1191. py2docfx/venv/venv0/Lib/site-packages/setuptools/_importlib.py +12 -0
  1192. py2docfx/venv/venv0/Lib/site-packages/setuptools/_itertools.py +23 -0
  1193. py2docfx/venv/venv0/Lib/site-packages/setuptools/_normalization.py +144 -0
  1194. py2docfx/venv/venv0/Lib/site-packages/setuptools/_path.py +87 -0
  1195. py2docfx/venv/venv0/Lib/site-packages/setuptools/_reqs.py +41 -0
  1196. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/__init__.py +27 -0
  1197. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autoasync.py +142 -0
  1198. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autocommand.py +70 -0
  1199. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/automain.py +59 -0
  1200. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/autoparse.py +333 -0
  1201. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/autocommand/errors.py +23 -0
  1202. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/__init__.py +1 -0
  1203. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/__init__.py +2937 -0
  1204. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/__main__.py +5 -0
  1205. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/__init__.py +0 -0
  1206. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/backports/tarfile/compat/py38.py +24 -0
  1207. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/__init__.py +1083 -0
  1208. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py +83 -0
  1209. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_collections.py +30 -0
  1210. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_compat.py +57 -0
  1211. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_functools.py +104 -0
  1212. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py +73 -0
  1213. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_meta.py +67 -0
  1214. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/_text.py +99 -0
  1215. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/__init__.py +0 -0
  1216. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py311.py +22 -0
  1217. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/compat/py39.py +36 -0
  1218. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_metadata/diagnose.py +21 -0
  1219. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/__init__.py +36 -0
  1220. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_adapters.py +168 -0
  1221. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_common.py +210 -0
  1222. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/_itertools.py +38 -0
  1223. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/abc.py +171 -0
  1224. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/__init__.py +0 -0
  1225. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py38.py +11 -0
  1226. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/compat/py39.py +10 -0
  1227. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/functional.py +81 -0
  1228. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/future/__init__.py +0 -0
  1229. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/future/adapters.py +95 -0
  1230. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/readers.py +194 -0
  1231. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/simple.py +106 -0
  1232. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/__init__.py +0 -0
  1233. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/_path.py +56 -0
  1234. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/__init__.py +0 -0
  1235. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py312.py +18 -0
  1236. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/compat/py39.py +10 -0
  1237. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/__init__.py +0 -0
  1238. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data01/subdirectory/__init__.py +0 -0
  1239. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/__init__.py +0 -0
  1240. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/one/__init__.py +0 -0
  1241. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/data02/two/__init__.py +0 -0
  1242. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_compatibilty_files.py +104 -0
  1243. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_contents.py +43 -0
  1244. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_custom.py +47 -0
  1245. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_files.py +117 -0
  1246. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_functional.py +242 -0
  1247. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_open.py +89 -0
  1248. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_path.py +65 -0
  1249. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_read.py +97 -0
  1250. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_reader.py +145 -0
  1251. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/test_resource.py +241 -0
  1252. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/util.py +164 -0
  1253. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/importlib_resources/tests/zip.py +32 -0
  1254. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/__init__.py +3986 -0
  1255. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/compat/__init__.py +0 -0
  1256. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/inflect/compat/py38.py +7 -0
  1257. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/collections/__init__.py +1091 -0
  1258. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/context.py +361 -0
  1259. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/functools/__init__.py +633 -0
  1260. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/__init__.py +624 -0
  1261. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/layouts.py +25 -0
  1262. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py +33 -0
  1263. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/strip-prefix.py +21 -0
  1264. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/to-dvorak.py +6 -0
  1265. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/jaraco/text/to-qwerty.py +6 -0
  1266. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/__init__.py +6 -0
  1267. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/more.py +4806 -0
  1268. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/more_itertools/recipes.py +1046 -0
  1269. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/__init__.py +15 -0
  1270. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_elffile.py +110 -0
  1271. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_manylinux.py +262 -0
  1272. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_musllinux.py +85 -0
  1273. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_parser.py +354 -0
  1274. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_structures.py +61 -0
  1275. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/_tokenizer.py +194 -0
  1276. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/markers.py +325 -0
  1277. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/metadata.py +804 -0
  1278. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/requirements.py +91 -0
  1279. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/specifiers.py +1009 -0
  1280. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/tags.py +568 -0
  1281. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/utils.py +174 -0
  1282. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/packaging/version.py +563 -0
  1283. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/__init__.py +627 -0
  1284. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/__main__.py +55 -0
  1285. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/android.py +249 -0
  1286. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/api.py +292 -0
  1287. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/macos.py +130 -0
  1288. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/unix.py +275 -0
  1289. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/version.py +16 -0
  1290. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/platformdirs/windows.py +272 -0
  1291. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/__init__.py +11 -0
  1292. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_parser.py +691 -0
  1293. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_re.py +107 -0
  1294. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/tomli/_types.py +10 -0
  1295. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/__init__.py +48 -0
  1296. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_checkers.py +993 -0
  1297. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_config.py +108 -0
  1298. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_decorators.py +235 -0
  1299. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_exceptions.py +42 -0
  1300. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_functions.py +308 -0
  1301. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_importhook.py +213 -0
  1302. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_memo.py +48 -0
  1303. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_pytest_plugin.py +127 -0
  1304. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_suppression.py +86 -0
  1305. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_transformer.py +1229 -0
  1306. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_union_transformer.py +55 -0
  1307. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typeguard/_utils.py +173 -0
  1308. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/typing_extensions.py +3641 -0
  1309. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +3 -0
  1310. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/__main__.py +23 -0
  1311. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +26 -0
  1312. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +595 -0
  1313. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +155 -0
  1314. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +273 -0
  1315. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/pack.py +85 -0
  1316. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/tags.py +139 -0
  1317. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/cli/unpack.py +30 -0
  1318. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +469 -0
  1319. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +180 -0
  1320. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/util.py +26 -0
  1321. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/__init__.py +0 -0
  1322. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/__init__.py +0 -0
  1323. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_elffile.py +108 -0
  1324. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_manylinux.py +260 -0
  1325. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_musllinux.py +83 -0
  1326. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_parser.py +356 -0
  1327. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_structures.py +61 -0
  1328. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py +192 -0
  1329. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/markers.py +253 -0
  1330. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/requirements.py +90 -0
  1331. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/specifiers.py +1011 -0
  1332. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/tags.py +571 -0
  1333. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/utils.py +172 -0
  1334. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/vendored/packaging/version.py +561 -0
  1335. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +196 -0
  1336. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/__init__.py +501 -0
  1337. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/compat/__init__.py +0 -0
  1338. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/compat/py310.py +11 -0
  1339. py2docfx/venv/venv0/Lib/site-packages/setuptools/_vendor/zipp/glob.py +106 -0
  1340. py2docfx/venv/venv0/Lib/site-packages/setuptools/archive_util.py +217 -0
  1341. py2docfx/venv/venv0/Lib/site-packages/setuptools/build_meta.py +530 -0
  1342. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/__init__.py +13 -0
  1343. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/_requirestxt.py +131 -0
  1344. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/alias.py +78 -0
  1345. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_egg.py +465 -0
  1346. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_rpm.py +42 -0
  1347. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/bdist_wheel.py +635 -0
  1348. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build.py +135 -0
  1349. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_clib.py +110 -0
  1350. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_ext.py +468 -0
  1351. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/build_py.py +404 -0
  1352. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/develop.py +195 -0
  1353. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/dist_info.py +107 -0
  1354. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/easy_install.py +2388 -0
  1355. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/editable_wheel.py +927 -0
  1356. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/egg_info.py +717 -0
  1357. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install.py +165 -0
  1358. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_egg_info.py +58 -0
  1359. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_lib.py +134 -0
  1360. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/install_scripts.py +73 -0
  1361. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/rotate.py +65 -0
  1362. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/saveopts.py +21 -0
  1363. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/sdist.py +216 -0
  1364. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/setopt.py +141 -0
  1365. py2docfx/venv/venv0/Lib/site-packages/setuptools/command/test.py +45 -0
  1366. py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/__init__.py +0 -0
  1367. py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py310.py +9 -0
  1368. py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py311.py +27 -0
  1369. py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py312.py +13 -0
  1370. py2docfx/venv/venv0/Lib/site-packages/setuptools/compat/py39.py +9 -0
  1371. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/__init__.py +43 -0
  1372. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +457 -0
  1373. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/__init__.py +34 -0
  1374. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/error_reporting.py +336 -0
  1375. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +52 -0
  1376. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py +51 -0
  1377. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +1319 -0
  1378. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +375 -0
  1379. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/expand.py +443 -0
  1380. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/pyprojecttoml.py +466 -0
  1381. py2docfx/venv/venv0/Lib/site-packages/setuptools/config/setupcfg.py +780 -0
  1382. py2docfx/venv/venv0/Lib/site-packages/setuptools/depends.py +166 -0
  1383. py2docfx/venv/venv0/Lib/site-packages/setuptools/discovery.py +607 -0
  1384. py2docfx/venv/venv0/Lib/site-packages/setuptools/dist.py +955 -0
  1385. py2docfx/venv/venv0/Lib/site-packages/setuptools/errors.py +72 -0
  1386. py2docfx/venv/venv0/Lib/site-packages/setuptools/extension.py +165 -0
  1387. py2docfx/venv/venv0/Lib/site-packages/setuptools/glob.py +165 -0
  1388. py2docfx/venv/venv0/Lib/site-packages/setuptools/installer.py +145 -0
  1389. py2docfx/venv/venv0/Lib/site-packages/setuptools/launch.py +36 -0
  1390. py2docfx/venv/venv0/Lib/site-packages/setuptools/logging.py +40 -0
  1391. py2docfx/venv/venv0/Lib/site-packages/setuptools/modified.py +8 -0
  1392. py2docfx/venv/venv0/Lib/site-packages/setuptools/monkey.py +126 -0
  1393. py2docfx/venv/venv0/Lib/site-packages/setuptools/msvc.py +1515 -0
  1394. py2docfx/venv/venv0/Lib/site-packages/setuptools/namespaces.py +106 -0
  1395. py2docfx/venv/venv0/Lib/site-packages/setuptools/package_index.py +1148 -0
  1396. py2docfx/venv/venv0/Lib/site-packages/setuptools/sandbox.py +529 -0
  1397. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/__init__.py +13 -0
  1398. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/compat/__init__.py +0 -0
  1399. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/compat/py39.py +3 -0
  1400. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/__init__.py +0 -0
  1401. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/downloads/__init__.py +57 -0
  1402. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/downloads/preload.py +18 -0
  1403. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +511 -0
  1404. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_expand.py +221 -0
  1405. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml.py +396 -0
  1406. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py +99 -0
  1407. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +969 -0
  1408. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/contexts.py +145 -0
  1409. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/environment.py +95 -0
  1410. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/fixtures.py +157 -0
  1411. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/__init__.py +0 -0
  1412. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/helpers.py +77 -0
  1413. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +224 -0
  1414. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/mod_with_constant.py +1 -0
  1415. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/namespaces.py +90 -0
  1416. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/script-with-bom.py +1 -0
  1417. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/server.py +86 -0
  1418. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_archive_util.py +36 -0
  1419. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_deprecations.py +28 -0
  1420. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_egg.py +69 -0
  1421. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +621 -0
  1422. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build.py +33 -0
  1423. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_clib.py +84 -0
  1424. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_ext.py +291 -0
  1425. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_meta.py +970 -0
  1426. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_build_py.py +480 -0
  1427. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_config_discovery.py +647 -0
  1428. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_core_metadata.py +389 -0
  1429. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_depends.py +15 -0
  1430. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_develop.py +175 -0
  1431. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_dist.py +280 -0
  1432. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_dist_info.py +210 -0
  1433. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_distutils_adoption.py +159 -0
  1434. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_easy_install.py +1468 -0
  1435. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_editable_install.py +1285 -0
  1436. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_egg_info.py +1285 -0
  1437. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_extern.py +15 -0
  1438. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_find_packages.py +218 -0
  1439. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_find_py_modules.py +73 -0
  1440. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_glob.py +45 -0
  1441. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_install_scripts.py +89 -0
  1442. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_logging.py +76 -0
  1443. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_manifest.py +631 -0
  1444. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_namespaces.py +138 -0
  1445. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_packageindex.py +278 -0
  1446. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_sandbox.py +134 -0
  1447. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_sdist.py +975 -0
  1448. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_setopt.py +40 -0
  1449. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_setuptools.py +289 -0
  1450. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_unicode_utils.py +10 -0
  1451. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_virtualenv.py +113 -0
  1452. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_warnings.py +106 -0
  1453. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_wheel.py +707 -0
  1454. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/test_windows_wrappers.py +259 -0
  1455. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/text.py +4 -0
  1456. py2docfx/venv/venv0/Lib/site-packages/setuptools/tests/textwrap.py +6 -0
  1457. py2docfx/venv/venv0/Lib/site-packages/setuptools/unicode_utils.py +102 -0
  1458. py2docfx/venv/venv0/Lib/site-packages/setuptools/version.py +6 -0
  1459. py2docfx/venv/venv0/Lib/site-packages/setuptools/warnings.py +107 -0
  1460. py2docfx/venv/venv0/Lib/site-packages/setuptools/wheel.py +236 -0
  1461. py2docfx/venv/venv0/Lib/site-packages/setuptools/windows_support.py +30 -0
  1462. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/__init__.py +83 -0
  1463. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/among.py +13 -0
  1464. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/arabic_stemmer.py +1199 -0
  1465. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/armenian_stemmer.py +316 -0
  1466. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/basestemmer.py +323 -0
  1467. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/basque_stemmer.py +683 -0
  1468. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/catalan_stemmer.py +784 -0
  1469. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/danish_stemmer.py +221 -0
  1470. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/dutch_stemmer.py +468 -0
  1471. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/english_stemmer.py +731 -0
  1472. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/finnish_stemmer.py +548 -0
  1473. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/french_stemmer.py +967 -0
  1474. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/german_stemmer.py +415 -0
  1475. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/greek_stemmer.py +2271 -0
  1476. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/hindi_stemmer.py +173 -0
  1477. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/hungarian_stemmer.py +520 -0
  1478. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/indonesian_stemmer.py +319 -0
  1479. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/irish_stemmer.py +276 -0
  1480. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/italian_stemmer.py +715 -0
  1481. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/lithuanian_stemmer.py +469 -0
  1482. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/nepali_stemmer.py +274 -0
  1483. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/norwegian_stemmer.py +191 -0
  1484. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/porter_stemmer.py +506 -0
  1485. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/portuguese_stemmer.py +659 -0
  1486. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/romanian_stemmer.py +633 -0
  1487. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/russian_stemmer.py +492 -0
  1488. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/serbian_stemmer.py +3497 -0
  1489. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/spanish_stemmer.py +708 -0
  1490. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/swedish_stemmer.py +189 -0
  1491. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/tamil_stemmer.py +1788 -0
  1492. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/turkish_stemmer.py +1803 -0
  1493. py2docfx/venv/venv0/Lib/site-packages/snowballstemmer/yiddish_stemmer.py +855 -0
  1494. py2docfx/venv/venv0/Lib/site-packages/sphinx/__init__.py +54 -0
  1495. py2docfx/venv/venv0/Lib/site-packages/sphinx/__main__.py +5 -0
  1496. py2docfx/venv/venv0/Lib/site-packages/sphinx/addnodes.py +564 -0
  1497. py2docfx/venv/venv0/Lib/site-packages/sphinx/application.py +1344 -0
  1498. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/__init__.py +671 -0
  1499. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/_epub_base.py +708 -0
  1500. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/changes.py +159 -0
  1501. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/dirhtml.py +51 -0
  1502. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/dummy.py +46 -0
  1503. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/epub3.py +293 -0
  1504. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/gettext.py +306 -0
  1505. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/html/__init__.py +1419 -0
  1506. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/html/transforms.py +84 -0
  1507. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/__init__.py +546 -0
  1508. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/constants.py +210 -0
  1509. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/nodes.py +37 -0
  1510. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/theming.py +132 -0
  1511. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/transforms.py +632 -0
  1512. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/latex/util.py +48 -0
  1513. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/linkcheck.py +598 -0
  1514. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/manpage.py +125 -0
  1515. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/singlehtml.py +194 -0
  1516. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/texinfo.py +224 -0
  1517. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/text.py +89 -0
  1518. py2docfx/venv/venv0/Lib/site-packages/sphinx/builders/xml.py +117 -0
  1519. py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/__init__.py +1 -0
  1520. py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/build.py +324 -0
  1521. py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/make_mode.py +161 -0
  1522. py2docfx/venv/venv0/Lib/site-packages/sphinx/cmd/quickstart.py +609 -0
  1523. py2docfx/venv/venv0/Lib/site-packages/sphinx/config.py +520 -0
  1524. py2docfx/venv/venv0/Lib/site-packages/sphinx/deprecation.py +83 -0
  1525. py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/__init__.py +340 -0
  1526. py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/code.py +483 -0
  1527. py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/other.py +393 -0
  1528. py2docfx/venv/venv0/Lib/site-packages/sphinx/directives/patches.py +189 -0
  1529. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/__init__.py +403 -0
  1530. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/c.py +3880 -0
  1531. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/changeset.py +160 -0
  1532. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/citation.py +153 -0
  1533. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/cpp.py +8162 -0
  1534. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/index.py +122 -0
  1535. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/javascript.py +499 -0
  1536. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/math.py +150 -0
  1537. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/python.py +1521 -0
  1538. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/rst.py +303 -0
  1539. py2docfx/venv/venv0/Lib/site-packages/sphinx/domains/std.py +1155 -0
  1540. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/__init__.py +730 -0
  1541. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/__init__.py +1 -0
  1542. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/asset.py +15 -0
  1543. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/indexentries.py +172 -0
  1544. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/adapters/toctree.py +340 -0
  1545. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/__init__.py +73 -0
  1546. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/asset.py +141 -0
  1547. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/dependencies.py +54 -0
  1548. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/metadata.py +68 -0
  1549. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/title.py +59 -0
  1550. py2docfx/venv/venv0/Lib/site-packages/sphinx/environment/collectors/toctree.py +350 -0
  1551. py2docfx/venv/venv0/Lib/site-packages/sphinx/errors.py +127 -0
  1552. py2docfx/venv/venv0/Lib/site-packages/sphinx/events.py +120 -0
  1553. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/__init__.py +1 -0
  1554. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/apidoc.py +470 -0
  1555. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/__init__.py +2793 -0
  1556. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/directive.py +148 -0
  1557. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/importer.py +307 -0
  1558. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/mock.py +195 -0
  1559. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/preserve_defaults.py +124 -0
  1560. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/type_comment.py +131 -0
  1561. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autodoc/typehints.py +216 -0
  1562. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosectionlabel.py +66 -0
  1563. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosummary/__init__.py +837 -0
  1564. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/autosummary/generate.py +646 -0
  1565. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/coverage.py +315 -0
  1566. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/doctest.py +561 -0
  1567. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/duration.py +90 -0
  1568. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/extlinks.py +120 -0
  1569. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/githubpages.py +31 -0
  1570. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/graphviz.py +416 -0
  1571. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/ifconfig.py +78 -0
  1572. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/imgconverter.py +92 -0
  1573. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/imgmath.py +390 -0
  1574. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/inheritance_diagram.py +474 -0
  1575. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/intersphinx.py +684 -0
  1576. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/linkcode.py +73 -0
  1577. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/mathjax.py +122 -0
  1578. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/__init__.py +474 -0
  1579. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/docstring.py +1356 -0
  1580. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/napoleon/iterators.py +235 -0
  1581. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/todo.py +243 -0
  1582. py2docfx/venv/venv0/Lib/site-packages/sphinx/ext/viewcode.py +341 -0
  1583. py2docfx/venv/venv0/Lib/site-packages/sphinx/extension.py +82 -0
  1584. py2docfx/venv/venv0/Lib/site-packages/sphinx/highlighting.py +184 -0
  1585. py2docfx/venv/venv0/Lib/site-packages/sphinx/io.py +221 -0
  1586. py2docfx/venv/venv0/Lib/site-packages/sphinx/jinja2glue.py +217 -0
  1587. py2docfx/venv/venv0/Lib/site-packages/sphinx/locale/__init__.py +261 -0
  1588. py2docfx/venv/venv0/Lib/site-packages/sphinx/parsers.py +96 -0
  1589. py2docfx/venv/venv0/Lib/site-packages/sphinx/project.py +94 -0
  1590. py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/__init__.py +171 -0
  1591. py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/ast.py +211 -0
  1592. py2docfx/venv/venv0/Lib/site-packages/sphinx/pycode/parser.py +573 -0
  1593. py2docfx/venv/venv0/Lib/site-packages/sphinx/pygments_styles.py +87 -0
  1594. py2docfx/venv/venv0/Lib/site-packages/sphinx/registry.py +513 -0
  1595. py2docfx/venv/venv0/Lib/site-packages/sphinx/roles.py +428 -0
  1596. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/__init__.py +593 -0
  1597. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/da.py +120 -0
  1598. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/de.py +303 -0
  1599. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/en.py +220 -0
  1600. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/es.py +363 -0
  1601. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/fi.py +113 -0
  1602. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/fr.py +199 -0
  1603. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/hu.py +226 -0
  1604. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/it.py +316 -0
  1605. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ja.py +536 -0
  1606. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/nl.py +127 -0
  1607. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/no.py +202 -0
  1608. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/pt.py +261 -0
  1609. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ro.py +22 -0
  1610. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/ru.py +251 -0
  1611. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/sv.py +140 -0
  1612. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/tr.py +22 -0
  1613. py2docfx/venv/venv0/Lib/site-packages/sphinx/search/zh.py +262 -0
  1614. py2docfx/venv/venv0/Lib/site-packages/sphinx/setup_command.py +192 -0
  1615. py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/__init__.py +7 -0
  1616. py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/comparer.py +97 -0
  1617. py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/fixtures.py +250 -0
  1618. py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/path.py +210 -0
  1619. py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/restructuredtext.py +27 -0
  1620. py2docfx/venv/venv0/Lib/site-packages/sphinx/testing/util.py +206 -0
  1621. py2docfx/venv/venv0/Lib/site-packages/sphinx/theming.py +230 -0
  1622. py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/__init__.py +419 -0
  1623. py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/compact_bullet_list.py +88 -0
  1624. py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/i18n.py +528 -0
  1625. py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/__init__.py +279 -0
  1626. py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/code.py +136 -0
  1627. py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/post_transforms/images.py +271 -0
  1628. py2docfx/venv/venv0/Lib/site-packages/sphinx/transforms/references.py +47 -0
  1629. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/__init__.py +407 -0
  1630. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/build_phase.py +12 -0
  1631. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/cfamily.py +462 -0
  1632. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/console.py +129 -0
  1633. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/display.py +87 -0
  1634. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docfields.py +368 -0
  1635. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docstrings.py +88 -0
  1636. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/docutils.py +621 -0
  1637. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/exceptions.py +67 -0
  1638. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/fileutil.py +97 -0
  1639. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/http_date.py +20 -0
  1640. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/i18n.py +262 -0
  1641. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/images.py +113 -0
  1642. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/inspect.py +811 -0
  1643. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/inventory.py +170 -0
  1644. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/jsdump.py +201 -0
  1645. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/logging.py +603 -0
  1646. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/matching.py +166 -0
  1647. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/math.py +58 -0
  1648. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/nodes.py +629 -0
  1649. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/osutil.py +221 -0
  1650. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/parallel.py +151 -0
  1651. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/png.py +43 -0
  1652. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/requests.py +92 -0
  1653. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/rst.py +110 -0
  1654. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/stemmer/__init__.py +62 -0
  1655. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/tags.py +81 -0
  1656. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/template.py +132 -0
  1657. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/texescape.py +153 -0
  1658. py2docfx/venv/venv0/Lib/site-packages/sphinx/util/typing.py +352 -0
  1659. py2docfx/venv/venv0/Lib/site-packages/sphinx/versioning.py +176 -0
  1660. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/__init__.py +1 -0
  1661. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/_html4.py +858 -0
  1662. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/html.py +45 -0
  1663. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/html5.py +824 -0
  1664. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/latex.py +2116 -0
  1665. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/manpage.py +459 -0
  1666. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/texinfo.py +1562 -0
  1667. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/text.py +1182 -0
  1668. py2docfx/venv/venv0/Lib/site-packages/sphinx/writers/xml.py +49 -0
  1669. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/applehelp/__init__.py +276 -0
  1670. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/devhelp/__init__.py +143 -0
  1671. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/htmlhelp/__init__.py +340 -0
  1672. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/jsmath/__init__.py +92 -0
  1673. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/jsmath/version.py +11 -0
  1674. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/qthelp/__init__.py +266 -0
  1675. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/serializinghtml/__init__.py +180 -0
  1676. py2docfx/venv/venv0/Lib/site-packages/sphinxcontrib/serializinghtml/jsonimpl.py +33 -0
  1677. py2docfx/venv/venv0/Lib/site-packages/urllib3/__init__.py +211 -0
  1678. py2docfx/venv/venv0/Lib/site-packages/urllib3/_base_connection.py +172 -0
  1679. py2docfx/venv/venv0/Lib/site-packages/urllib3/_collections.py +483 -0
  1680. py2docfx/venv/venv0/Lib/site-packages/urllib3/_request_methods.py +278 -0
  1681. py2docfx/venv/venv0/Lib/site-packages/urllib3/_version.py +16 -0
  1682. py2docfx/venv/venv0/Lib/site-packages/urllib3/connection.py +1033 -0
  1683. py2docfx/venv/venv0/Lib/site-packages/urllib3/connectionpool.py +1182 -0
  1684. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/__init__.py +0 -0
  1685. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/__init__.py +16 -0
  1686. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/connection.py +254 -0
  1687. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/fetch.py +418 -0
  1688. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/request.py +22 -0
  1689. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/emscripten/response.py +285 -0
  1690. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/pyopenssl.py +552 -0
  1691. py2docfx/venv/venv0/Lib/site-packages/urllib3/contrib/socks.py +228 -0
  1692. py2docfx/venv/venv0/Lib/site-packages/urllib3/exceptions.py +321 -0
  1693. py2docfx/venv/venv0/Lib/site-packages/urllib3/fields.py +341 -0
  1694. py2docfx/venv/venv0/Lib/site-packages/urllib3/filepost.py +89 -0
  1695. py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/__init__.py +53 -0
  1696. py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/connection.py +356 -0
  1697. py2docfx/venv/venv0/Lib/site-packages/urllib3/http2/probe.py +87 -0
  1698. py2docfx/venv/venv0/Lib/site-packages/urllib3/poolmanager.py +637 -0
  1699. py2docfx/venv/venv0/Lib/site-packages/urllib3/response.py +1265 -0
  1700. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/__init__.py +42 -0
  1701. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/connection.py +137 -0
  1702. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/proxy.py +43 -0
  1703. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/request.py +256 -0
  1704. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/response.py +101 -0
  1705. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/retry.py +533 -0
  1706. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssl_.py +513 -0
  1707. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssl_match_hostname.py +159 -0
  1708. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/ssltransport.py +276 -0
  1709. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/timeout.py +275 -0
  1710. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/url.py +471 -0
  1711. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/util.py +42 -0
  1712. py2docfx/venv/venv0/Lib/site-packages/urllib3/util/wait.py +124 -0
  1713. py2docfx/venv/venv0/Lib/site-packages/wheel/__init__.py +3 -0
  1714. py2docfx/venv/venv0/Lib/site-packages/wheel/__main__.py +23 -0
  1715. py2docfx/venv/venv0/Lib/site-packages/wheel/_bdist_wheel.py +604 -0
  1716. py2docfx/venv/venv0/Lib/site-packages/wheel/_setuptools_logging.py +26 -0
  1717. py2docfx/venv/venv0/Lib/site-packages/wheel/bdist_wheel.py +11 -0
  1718. py2docfx/venv/venv0/Lib/site-packages/wheel/cli/__init__.py +155 -0
  1719. py2docfx/venv/venv0/Lib/site-packages/wheel/cli/convert.py +273 -0
  1720. py2docfx/venv/venv0/Lib/site-packages/wheel/cli/pack.py +85 -0
  1721. py2docfx/venv/venv0/Lib/site-packages/wheel/cli/tags.py +139 -0
  1722. py2docfx/venv/venv0/Lib/site-packages/wheel/cli/unpack.py +30 -0
  1723. py2docfx/venv/venv0/Lib/site-packages/wheel/macosx_libfile.py +482 -0
  1724. py2docfx/venv/venv0/Lib/site-packages/wheel/metadata.py +183 -0
  1725. py2docfx/venv/venv0/Lib/site-packages/wheel/util.py +26 -0
  1726. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/__init__.py +0 -0
  1727. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/__init__.py +0 -0
  1728. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_elffile.py +108 -0
  1729. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_manylinux.py +260 -0
  1730. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_musllinux.py +83 -0
  1731. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_parser.py +356 -0
  1732. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_structures.py +61 -0
  1733. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/_tokenizer.py +192 -0
  1734. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/markers.py +253 -0
  1735. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/requirements.py +90 -0
  1736. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/specifiers.py +1011 -0
  1737. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/tags.py +571 -0
  1738. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/utils.py +172 -0
  1739. py2docfx/venv/venv0/Lib/site-packages/wheel/vendored/packaging/version.py +561 -0
  1740. py2docfx/venv/venv0/Lib/site-packages/wheel/wheelfile.py +227 -0
  1741. py2docfx/venv/venv0/Lib/site-packages/yaml/__init__.py +390 -0
  1742. py2docfx/venv/venv0/Lib/site-packages/yaml/composer.py +139 -0
  1743. py2docfx/venv/venv0/Lib/site-packages/yaml/constructor.py +748 -0
  1744. py2docfx/venv/venv0/Lib/site-packages/yaml/cyaml.py +101 -0
  1745. py2docfx/venv/venv0/Lib/site-packages/yaml/dumper.py +62 -0
  1746. py2docfx/venv/venv0/Lib/site-packages/yaml/emitter.py +1137 -0
  1747. py2docfx/venv/venv0/Lib/site-packages/yaml/error.py +75 -0
  1748. py2docfx/venv/venv0/Lib/site-packages/yaml/events.py +86 -0
  1749. py2docfx/venv/venv0/Lib/site-packages/yaml/loader.py +63 -0
  1750. py2docfx/venv/venv0/Lib/site-packages/yaml/nodes.py +49 -0
  1751. py2docfx/venv/venv0/Lib/site-packages/yaml/parser.py +589 -0
  1752. py2docfx/venv/venv0/Lib/site-packages/yaml/reader.py +185 -0
  1753. py2docfx/venv/venv0/Lib/site-packages/yaml/representer.py +389 -0
  1754. py2docfx/venv/venv0/Lib/site-packages/yaml/resolver.py +227 -0
  1755. py2docfx/venv/venv0/Lib/site-packages/yaml/scanner.py +1435 -0
  1756. py2docfx/venv/venv0/Lib/site-packages/yaml/serializer.py +111 -0
  1757. py2docfx/venv/venv0/Lib/site-packages/yaml/tokens.py +104 -0
  1758. py2docfx/venv/venv0/Scripts/rst2html.py +23 -0
  1759. py2docfx/venv/venv0/Scripts/rst2html4.py +26 -0
  1760. py2docfx/venv/venv0/Scripts/rst2html5.py +33 -0
  1761. py2docfx/venv/venv0/Scripts/rst2latex.py +26 -0
  1762. py2docfx/venv/venv0/Scripts/rst2man.py +27 -0
  1763. py2docfx/venv/venv0/Scripts/rst2odt.py +28 -0
  1764. py2docfx/venv/venv0/Scripts/rst2odt_prepstyles.py +65 -0
  1765. py2docfx/venv/venv0/Scripts/rst2pseudoxml.py +23 -0
  1766. py2docfx/venv/venv0/Scripts/rst2s5.py +24 -0
  1767. py2docfx/venv/venv0/Scripts/rst2xetex.py +27 -0
  1768. py2docfx/venv/venv0/Scripts/rst2xml.py +23 -0
  1769. py2docfx/venv/venv0/Scripts/rstpep2html.py +25 -0
  1770. {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/METADATA +1 -1
  1771. py2docfx-0.1.10.dev1870645.dist-info/RECORD +1888 -0
  1772. py2docfx-0.1.10.dev1859594.dist-info/RECORD +0 -129
  1773. {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/WHEEL +0 -0
  1774. {py2docfx-0.1.10.dev1859594.dist-info → py2docfx-0.1.10.dev1870645.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2355 @@
1
+ """
2
+ pygments.lexers.templates
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Lexers for various template engines' markup.
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.lexers.html import HtmlLexer, XmlLexer
14
+ from pygments.lexers.javascript import JavascriptLexer, LassoLexer
15
+ from pygments.lexers.css import CssLexer
16
+ from pygments.lexers.php import PhpLexer
17
+ from pygments.lexers.python import PythonLexer
18
+ from pygments.lexers.perl import PerlLexer
19
+ from pygments.lexers.jvm import JavaLexer, TeaLangLexer
20
+ from pygments.lexers.data import YamlLexer
21
+ from pygments.lexers.sql import SqlLexer
22
+ from pygments.lexer import Lexer, DelegatingLexer, RegexLexer, bygroups, \
23
+ include, using, this, default, combined
24
+ from pygments.token import Error, Punctuation, Whitespace, \
25
+ Text, Comment, Operator, Keyword, Name, String, Number, Other, Token
26
+ from pygments.util import html_doctype_matches, looks_like_xml
27
+
28
+ __all__ = ['HtmlPhpLexer', 'XmlPhpLexer', 'CssPhpLexer',
29
+ 'JavascriptPhpLexer', 'ErbLexer', 'RhtmlLexer',
30
+ 'XmlErbLexer', 'CssErbLexer', 'JavascriptErbLexer',
31
+ 'SmartyLexer', 'HtmlSmartyLexer', 'XmlSmartyLexer',
32
+ 'CssSmartyLexer', 'JavascriptSmartyLexer', 'DjangoLexer',
33
+ 'HtmlDjangoLexer', 'CssDjangoLexer', 'XmlDjangoLexer',
34
+ 'JavascriptDjangoLexer', 'GenshiLexer', 'HtmlGenshiLexer',
35
+ 'GenshiTextLexer', 'CssGenshiLexer', 'JavascriptGenshiLexer',
36
+ 'MyghtyLexer', 'MyghtyHtmlLexer', 'MyghtyXmlLexer',
37
+ 'MyghtyCssLexer', 'MyghtyJavascriptLexer', 'MasonLexer', 'MakoLexer',
38
+ 'MakoHtmlLexer', 'MakoXmlLexer', 'MakoJavascriptLexer',
39
+ 'MakoCssLexer', 'JspLexer', 'CheetahLexer', 'CheetahHtmlLexer',
40
+ 'CheetahXmlLexer', 'CheetahJavascriptLexer', 'EvoqueLexer',
41
+ 'EvoqueHtmlLexer', 'EvoqueXmlLexer', 'ColdfusionLexer',
42
+ 'ColdfusionHtmlLexer', 'ColdfusionCFCLexer', 'VelocityLexer',
43
+ 'VelocityHtmlLexer', 'VelocityXmlLexer', 'SspLexer',
44
+ 'TeaTemplateLexer', 'LassoHtmlLexer', 'LassoXmlLexer',
45
+ 'LassoCssLexer', 'LassoJavascriptLexer', 'HandlebarsLexer',
46
+ 'HandlebarsHtmlLexer', 'YamlJinjaLexer', 'LiquidLexer',
47
+ 'TwigLexer', 'TwigHtmlLexer', 'Angular2Lexer', 'Angular2HtmlLexer',
48
+ 'SqlJinjaLexer']
49
+
50
+
51
+ class ErbLexer(Lexer):
52
+ """
53
+ Generic ERB (Ruby Templating) lexer.
54
+
55
+ Just highlights ruby code between the preprocessor directives, other data
56
+ is left untouched by the lexer.
57
+
58
+ All options are also forwarded to the `RubyLexer`.
59
+ """
60
+
61
+ name = 'ERB'
62
+ url = 'https://github.com/ruby/erb'
63
+ aliases = ['erb']
64
+ mimetypes = ['application/x-ruby-templating']
65
+ version_added = ''
66
+
67
+ _block_re = re.compile(r'(<%%|%%>|<%=|<%#|<%-|<%|-%>|%>|^%[^%].*?$)', re.M)
68
+
69
+ def __init__(self, **options):
70
+ from pygments.lexers.ruby import RubyLexer
71
+ self.ruby_lexer = RubyLexer(**options)
72
+ Lexer.__init__(self, **options)
73
+
74
+ def get_tokens_unprocessed(self, text):
75
+ """
76
+ Since ERB doesn't allow "<%" and other tags inside of ruby
77
+ blocks we have to use a split approach here that fails for
78
+ that too.
79
+ """
80
+ tokens = self._block_re.split(text)
81
+ tokens.reverse()
82
+ state = idx = 0
83
+ try:
84
+ while True:
85
+ # text
86
+ if state == 0:
87
+ val = tokens.pop()
88
+ yield idx, Other, val
89
+ idx += len(val)
90
+ state = 1
91
+ # block starts
92
+ elif state == 1:
93
+ tag = tokens.pop()
94
+ # literals
95
+ if tag in ('<%%', '%%>'):
96
+ yield idx, Other, tag
97
+ idx += 3
98
+ state = 0
99
+ # comment
100
+ elif tag == '<%#':
101
+ yield idx, Comment.Preproc, tag
102
+ val = tokens.pop()
103
+ yield idx + 3, Comment, val
104
+ idx += 3 + len(val)
105
+ state = 2
106
+ # blocks or output
107
+ elif tag in ('<%', '<%=', '<%-'):
108
+ yield idx, Comment.Preproc, tag
109
+ idx += len(tag)
110
+ data = tokens.pop()
111
+ r_idx = 0
112
+ for r_idx, r_token, r_value in \
113
+ self.ruby_lexer.get_tokens_unprocessed(data):
114
+ yield r_idx + idx, r_token, r_value
115
+ idx += len(data)
116
+ state = 2
117
+ elif tag in ('%>', '-%>'):
118
+ yield idx, Error, tag
119
+ idx += len(tag)
120
+ state = 0
121
+ # % raw ruby statements
122
+ else:
123
+ yield idx, Comment.Preproc, tag[0]
124
+ r_idx = 0
125
+ for r_idx, r_token, r_value in \
126
+ self.ruby_lexer.get_tokens_unprocessed(tag[1:]):
127
+ yield idx + 1 + r_idx, r_token, r_value
128
+ idx += len(tag)
129
+ state = 0
130
+ # block ends
131
+ elif state == 2:
132
+ tag = tokens.pop()
133
+ if tag not in ('%>', '-%>'):
134
+ yield idx, Other, tag
135
+ else:
136
+ yield idx, Comment.Preproc, tag
137
+ idx += len(tag)
138
+ state = 0
139
+ except IndexError:
140
+ return
141
+
142
+ def analyse_text(text):
143
+ if '<%' in text and '%>' in text:
144
+ return 0.4
145
+
146
+
147
+ class SmartyLexer(RegexLexer):
148
+ """
149
+ Generic Smarty template lexer.
150
+
151
+ Just highlights smarty code between the preprocessor directives, other
152
+ data is left untouched by the lexer.
153
+ """
154
+
155
+ name = 'Smarty'
156
+ url = 'https://www.smarty.net/'
157
+ aliases = ['smarty']
158
+ filenames = ['*.tpl']
159
+ mimetypes = ['application/x-smarty']
160
+ version_added = ''
161
+
162
+ flags = re.MULTILINE | re.DOTALL
163
+
164
+ tokens = {
165
+ 'root': [
166
+ (r'[^{]+', Other),
167
+ (r'(\{)(\*.*?\*)(\})',
168
+ bygroups(Comment.Preproc, Comment, Comment.Preproc)),
169
+ (r'(\{php\})(.*?)(\{/php\})',
170
+ bygroups(Comment.Preproc, using(PhpLexer, startinline=True),
171
+ Comment.Preproc)),
172
+ (r'(\{)(/?[a-zA-Z_]\w*)(\s*)',
173
+ bygroups(Comment.Preproc, Name.Function, Text), 'smarty'),
174
+ (r'\{', Comment.Preproc, 'smarty')
175
+ ],
176
+ 'smarty': [
177
+ (r'\s+', Text),
178
+ (r'\{', Comment.Preproc, '#push'),
179
+ (r'\}', Comment.Preproc, '#pop'),
180
+ (r'#[a-zA-Z_]\w*#', Name.Variable),
181
+ (r'\$[a-zA-Z_]\w*(\.\w+)*', Name.Variable),
182
+ (r'[~!%^&*()+=|\[\]:;,.<>/?@-]', Operator),
183
+ (r'(true|false|null)\b', Keyword.Constant),
184
+ (r"[0-9](\.[0-9]*)?(eE[+-][0-9])?[flFLdD]?|"
185
+ r"0[xX][0-9a-fA-F]+[Ll]?", Number),
186
+ (r'"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
187
+ (r"'(\\\\|\\[^\\]|[^'\\])*'", String.Single),
188
+ (r'[a-zA-Z_]\w*', Name.Attribute)
189
+ ]
190
+ }
191
+
192
+ def analyse_text(text):
193
+ rv = 0.0
194
+ if re.search(r'\{if\s+.*?\}.*?\{/if\}', text):
195
+ rv += 0.15
196
+ if re.search(r'\{include\s+file=.*?\}', text):
197
+ rv += 0.15
198
+ if re.search(r'\{foreach\s+.*?\}.*?\{/foreach\}', text):
199
+ rv += 0.15
200
+ if re.search(r'\{\$.*?\}', text):
201
+ rv += 0.01
202
+ return rv
203
+
204
+
205
+ class VelocityLexer(RegexLexer):
206
+ """
207
+ Generic Velocity template lexer.
208
+
209
+ Just highlights velocity directives and variable references, other
210
+ data is left untouched by the lexer.
211
+ """
212
+
213
+ name = 'Velocity'
214
+ url = 'https://velocity.apache.org/'
215
+ aliases = ['velocity']
216
+ filenames = ['*.vm', '*.fhtml']
217
+ version_added = ''
218
+
219
+ flags = re.MULTILINE | re.DOTALL
220
+
221
+ identifier = r'[a-zA-Z_]\w*'
222
+
223
+ tokens = {
224
+ 'root': [
225
+ (r'[^{#$]+', Other),
226
+ (r'(#)(\*.*?\*)(#)',
227
+ bygroups(Comment.Preproc, Comment, Comment.Preproc)),
228
+ (r'(##)(.*?$)',
229
+ bygroups(Comment.Preproc, Comment)),
230
+ (r'(#\{?)(' + identifier + r')(\}?)(\s?\()',
231
+ bygroups(Comment.Preproc, Name.Function, Comment.Preproc, Punctuation),
232
+ 'directiveparams'),
233
+ (r'(#\{?)(' + identifier + r')(\}|\b)',
234
+ bygroups(Comment.Preproc, Name.Function, Comment.Preproc)),
235
+ (r'\$!?\{?', Punctuation, 'variable')
236
+ ],
237
+ 'variable': [
238
+ (identifier, Name.Variable),
239
+ (r'\(', Punctuation, 'funcparams'),
240
+ (r'(\.)(' + identifier + r')',
241
+ bygroups(Punctuation, Name.Variable), '#push'),
242
+ (r'\}', Punctuation, '#pop'),
243
+ default('#pop')
244
+ ],
245
+ 'directiveparams': [
246
+ (r'(&&|\|\||==?|!=?|[-<>+*%&|^/])|\b(eq|ne|gt|lt|ge|le|not|in)\b',
247
+ Operator),
248
+ (r'\[', Operator, 'rangeoperator'),
249
+ (r'\b' + identifier + r'\b', Name.Function),
250
+ include('funcparams')
251
+ ],
252
+ 'rangeoperator': [
253
+ (r'\.\.', Operator),
254
+ include('funcparams'),
255
+ (r'\]', Operator, '#pop')
256
+ ],
257
+ 'funcparams': [
258
+ (r'\$!?\{?', Punctuation, 'variable'),
259
+ (r'\s+', Text),
260
+ (r'[,:]', Punctuation),
261
+ (r'"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
262
+ (r"'(\\\\|\\[^\\]|[^'\\])*'", String.Single),
263
+ (r"0[xX][0-9a-fA-F]+[Ll]?", Number),
264
+ (r"\b[0-9]+\b", Number),
265
+ (r'(true|false|null)\b', Keyword.Constant),
266
+ (r'\(', Punctuation, '#push'),
267
+ (r'\)', Punctuation, '#pop'),
268
+ (r'\{', Punctuation, '#push'),
269
+ (r'\}', Punctuation, '#pop'),
270
+ (r'\[', Punctuation, '#push'),
271
+ (r'\]', Punctuation, '#pop'),
272
+ ]
273
+ }
274
+
275
+ def analyse_text(text):
276
+ rv = 0.0
277
+ if re.search(r'#\{?macro\}?\(.*?\).*?#\{?end\}?', text, re.DOTALL):
278
+ rv += 0.25
279
+ if re.search(r'#\{?if\}?\(.+?\).*?#\{?end\}?', text, re.DOTALL):
280
+ rv += 0.15
281
+ if re.search(r'#\{?foreach\}?\(.+?\).*?#\{?end\}?', text, re.DOTALL):
282
+ rv += 0.15
283
+ if re.search(r'\$!?\{?[a-zA-Z_]\w*(\([^)]*\))?'
284
+ r'(\.\w+(\([^)]*\))?)*\}?', text):
285
+ rv += 0.01
286
+ return rv
287
+
288
+
289
+ class VelocityHtmlLexer(DelegatingLexer):
290
+ """
291
+ Subclass of the `VelocityLexer` that highlights unlexed data
292
+ with the `HtmlLexer`.
293
+
294
+ """
295
+
296
+ name = 'HTML+Velocity'
297
+ aliases = ['html+velocity']
298
+ version_added = ''
299
+ alias_filenames = ['*.html', '*.fhtml']
300
+ mimetypes = ['text/html+velocity']
301
+ url = 'https://velocity.apache.org/'
302
+
303
+ def __init__(self, **options):
304
+ super().__init__(HtmlLexer, VelocityLexer, **options)
305
+
306
+
307
+ class VelocityXmlLexer(DelegatingLexer):
308
+ """
309
+ Subclass of the `VelocityLexer` that highlights unlexed data
310
+ with the `XmlLexer`.
311
+
312
+ """
313
+
314
+ name = 'XML+Velocity'
315
+ aliases = ['xml+velocity']
316
+ version_added = ''
317
+ alias_filenames = ['*.xml', '*.vm']
318
+ mimetypes = ['application/xml+velocity']
319
+ url = 'https://velocity.apache.org/'
320
+
321
+ def __init__(self, **options):
322
+ super().__init__(XmlLexer, VelocityLexer, **options)
323
+
324
+ def analyse_text(text):
325
+ rv = VelocityLexer.analyse_text(text) - 0.01
326
+ if looks_like_xml(text):
327
+ rv += 0.4
328
+ return rv
329
+
330
+
331
+ class DjangoLexer(RegexLexer):
332
+ """
333
+ Generic `Django <https://www.djangoproject.com/documentation/templates/>`_
334
+ and `Jinja <https://jinja.palletsprojects.com>`_ template lexer.
335
+
336
+ It just highlights django/jinja code between the preprocessor directives,
337
+ other data is left untouched by the lexer.
338
+ """
339
+
340
+ name = 'Django/Jinja'
341
+ aliases = ['django', 'jinja']
342
+ mimetypes = ['application/x-django-templating', 'application/x-jinja']
343
+ url = 'https://www.djangoproject.com/documentation/templates'
344
+ version_added = ''
345
+
346
+ flags = re.M | re.S
347
+
348
+ tokens = {
349
+ 'root': [
350
+ (r'[^{]+', Other),
351
+ (r'\{\{', Comment.Preproc, 'var'),
352
+ # jinja/django comments
353
+ (r'\{#.*?#\}', Comment),
354
+ # django comments
355
+ (r'(\{%)(-?\s*)(comment)(\s*-?)(%\})(.*?)'
356
+ r'(\{%)(-?\s*)(endcomment)(\s*-?)(%\})',
357
+ bygroups(Comment.Preproc, Text, Keyword, Text, Comment.Preproc,
358
+ Comment, Comment.Preproc, Text, Keyword, Text,
359
+ Comment.Preproc)),
360
+ # raw jinja blocks
361
+ (r'(\{%)(-?\s*)(raw)(\s*-?)(%\})(.*?)'
362
+ r'(\{%)(-?\s*)(endraw)(\s*-?)(%\})',
363
+ bygroups(Comment.Preproc, Text, Keyword, Text, Comment.Preproc,
364
+ Text, Comment.Preproc, Text, Keyword, Text,
365
+ Comment.Preproc)),
366
+ # filter blocks
367
+ (r'(\{%)(-?\s*)(filter)(\s+)([a-zA-Z_]\w*)',
368
+ bygroups(Comment.Preproc, Text, Keyword, Text, Name.Function),
369
+ 'block'),
370
+ (r'(\{%)(-?\s*)([a-zA-Z_]\w*)',
371
+ bygroups(Comment.Preproc, Text, Keyword), 'block'),
372
+ (r'\{', Other)
373
+ ],
374
+ 'varnames': [
375
+ (r'(\|)(\s*)([a-zA-Z_]\w*)',
376
+ bygroups(Operator, Text, Name.Function)),
377
+ (r'(is)(\s+)(not)?(\s+)?([a-zA-Z_]\w*)',
378
+ bygroups(Keyword, Text, Keyword, Text, Name.Function)),
379
+ (r'(_|true|false|none|True|False|None)\b', Keyword.Pseudo),
380
+ (r'(in|as|reversed|recursive|not|and|or|is|if|else|import|'
381
+ r'with(?:(?:out)?\s*context)?|scoped|ignore\s+missing)\b',
382
+ Keyword),
383
+ (r'(loop|block|super|forloop)\b', Name.Builtin),
384
+ (r'[a-zA-Z_][\w-]*', Name.Variable),
385
+ (r'\.\w+', Name.Variable),
386
+ (r':?"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
387
+ (r":?'(\\\\|\\[^\\]|[^'\\])*'", String.Single),
388
+ (r'([{}()\[\]+\-*/%,:~]|[><=]=?|!=)', Operator),
389
+ (r"[0-9](\.[0-9]*)?(eE[+-][0-9])?[flFLdD]?|"
390
+ r"0[xX][0-9a-fA-F]+[Ll]?", Number),
391
+ ],
392
+ 'var': [
393
+ (r'\s+', Text),
394
+ (r'(-?)(\}\})', bygroups(Text, Comment.Preproc), '#pop'),
395
+ include('varnames')
396
+ ],
397
+ 'block': [
398
+ (r'\s+', Text),
399
+ (r'(-?)(%\})', bygroups(Text, Comment.Preproc), '#pop'),
400
+ include('varnames'),
401
+ (r'.', Punctuation)
402
+ ]
403
+ }
404
+
405
+ def analyse_text(text):
406
+ rv = 0.0
407
+ if re.search(r'\{%\s*(block|extends)', text) is not None:
408
+ rv += 0.4
409
+ if re.search(r'\{%\s*if\s*.*?%\}', text) is not None:
410
+ rv += 0.1
411
+ if re.search(r'\{\{.*?\}\}', text) is not None:
412
+ rv += 0.1
413
+ return rv
414
+
415
+
416
+ class MyghtyLexer(RegexLexer):
417
+ """
418
+ Generic myghty templates lexer. Code that isn't Myghty
419
+ markup is yielded as `Token.Other`.
420
+ """
421
+
422
+ name = 'Myghty'
423
+ url = 'http://www.myghty.org/'
424
+ aliases = ['myghty']
425
+ filenames = ['*.myt', 'autodelegate']
426
+ mimetypes = ['application/x-myghty']
427
+ version_added = '0.6'
428
+
429
+ tokens = {
430
+ 'root': [
431
+ (r'\s+', Text),
432
+ (r'(?s)(<%(?:def|method))(\s*)(.*?)(>)(.*?)(</%\2\s*>)',
433
+ bygroups(Name.Tag, Text, Name.Function, Name.Tag,
434
+ using(this), Name.Tag)),
435
+ (r'(?s)(<%\w+)(.*?)(>)(.*?)(</%\2\s*>)',
436
+ bygroups(Name.Tag, Name.Function, Name.Tag,
437
+ using(PythonLexer), Name.Tag)),
438
+ (r'(<&[^|])(.*?)(,.*?)?(&>)',
439
+ bygroups(Name.Tag, Name.Function, using(PythonLexer), Name.Tag)),
440
+ (r'(?s)(<&\|)(.*?)(,.*?)?(&>)',
441
+ bygroups(Name.Tag, Name.Function, using(PythonLexer), Name.Tag)),
442
+ (r'</&>', Name.Tag),
443
+ (r'(?s)(<%!?)(.*?)(%>)',
444
+ bygroups(Name.Tag, using(PythonLexer), Name.Tag)),
445
+ (r'(?<=^)#[^\n]*(\n|\Z)', Comment),
446
+ (r'(?<=^)(%)([^\n]*)(\n|\Z)',
447
+ bygroups(Name.Tag, using(PythonLexer), Other)),
448
+ (r"""(?sx)
449
+ (.+?) # anything, followed by:
450
+ (?:
451
+ (?<=\n)(?=[%#]) | # an eval or comment line
452
+ (?=</?[%&]) | # a substitution or block or
453
+ # call start or end
454
+ # - don't consume
455
+ (\\\n) | # an escaped newline
456
+ \Z # end of string
457
+ )""", bygroups(Other, Operator)),
458
+ ]
459
+ }
460
+
461
+
462
+ class MyghtyHtmlLexer(DelegatingLexer):
463
+ """
464
+ Subclass of the `MyghtyLexer` that highlights unlexed data
465
+ with the `HtmlLexer`.
466
+ """
467
+
468
+ name = 'HTML+Myghty'
469
+ aliases = ['html+myghty']
470
+ mimetypes = ['text/html+myghty']
471
+ url = 'http://www.myghty.org/'
472
+ version_added = '0.6'
473
+
474
+ def __init__(self, **options):
475
+ super().__init__(HtmlLexer, MyghtyLexer, **options)
476
+
477
+
478
+ class MyghtyXmlLexer(DelegatingLexer):
479
+ """
480
+ Subclass of the `MyghtyLexer` that highlights unlexed data
481
+ with the `XmlLexer`.
482
+ """
483
+
484
+ name = 'XML+Myghty'
485
+ aliases = ['xml+myghty']
486
+ mimetypes = ['application/xml+myghty']
487
+ url = 'http://www.myghty.org/'
488
+ version_added = '0.6'
489
+
490
+ def __init__(self, **options):
491
+ super().__init__(XmlLexer, MyghtyLexer, **options)
492
+
493
+
494
+ class MyghtyJavascriptLexer(DelegatingLexer):
495
+ """
496
+ Subclass of the `MyghtyLexer` that highlights unlexed data
497
+ with the `JavascriptLexer`.
498
+ """
499
+
500
+ name = 'JavaScript+Myghty'
501
+ aliases = ['javascript+myghty', 'js+myghty']
502
+ mimetypes = ['application/x-javascript+myghty',
503
+ 'text/x-javascript+myghty',
504
+ 'text/javascript+mygthy']
505
+ url = 'http://www.myghty.org/'
506
+ version_added = '0.6'
507
+
508
+ def __init__(self, **options):
509
+ super().__init__(JavascriptLexer, MyghtyLexer, **options)
510
+
511
+
512
+ class MyghtyCssLexer(DelegatingLexer):
513
+ """
514
+ Subclass of the `MyghtyLexer` that highlights unlexed data
515
+ with the `CssLexer`.
516
+ """
517
+
518
+ name = 'CSS+Myghty'
519
+ aliases = ['css+myghty']
520
+ mimetypes = ['text/css+myghty']
521
+ url = 'http://www.myghty.org/'
522
+ version_added = '0.6'
523
+
524
+ def __init__(self, **options):
525
+ super().__init__(CssLexer, MyghtyLexer, **options)
526
+
527
+
528
+ class MasonLexer(RegexLexer):
529
+ """
530
+ Generic mason templates lexer. Stolen from Myghty lexer. Code that isn't
531
+ Mason markup is HTML.
532
+ """
533
+ name = 'Mason'
534
+ url = 'http://www.masonhq.com/'
535
+ aliases = ['mason']
536
+ filenames = ['*.m', '*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler']
537
+ mimetypes = ['application/x-mason']
538
+ version_added = '1.4'
539
+
540
+ tokens = {
541
+ 'root': [
542
+ (r'\s+', Whitespace),
543
+ (r'(?s)(<%doc>)(.*?)(</%doc>)',
544
+ bygroups(Name.Tag, Comment.Multiline, Name.Tag)),
545
+ (r'(?s)(<%(?:def|method))(\s*)(.*?)(>)(.*?)(</%\2\s*>)',
546
+ bygroups(Name.Tag, Whitespace, Name.Function, Name.Tag,
547
+ using(this), Name.Tag)),
548
+ (r'(?s)(<%(\w+)(.*?)(>))(.*?)(</%\2\s*>)',
549
+ bygroups(Name.Tag, None, None, None, using(PerlLexer), Name.Tag)),
550
+ (r'(?s)(<&[^|])(.*?)(,.*?)?(&>)',
551
+ bygroups(Name.Tag, Name.Function, using(PerlLexer), Name.Tag)),
552
+ (r'(?s)(<&\|)(.*?)(,.*?)?(&>)',
553
+ bygroups(Name.Tag, Name.Function, using(PerlLexer), Name.Tag)),
554
+ (r'</&>', Name.Tag),
555
+ (r'(?s)(<%!?)(.*?)(%>)',
556
+ bygroups(Name.Tag, using(PerlLexer), Name.Tag)),
557
+ (r'(?<=^)#[^\n]*(\n|\Z)', Comment),
558
+ (r'(?<=^)(%)([^\n]*)(\n|\Z)',
559
+ bygroups(Name.Tag, using(PerlLexer), Other)),
560
+ (r"""(?sx)
561
+ (.+?) # anything, followed by:
562
+ (?:
563
+ (?<=\n)(?=[%#]) | # an eval or comment line
564
+ (?=</?[%&]) | # a substitution or block or
565
+ # call start or end
566
+ # - don't consume
567
+ (\\\n) | # an escaped newline
568
+ \Z # end of string
569
+ )""", bygroups(using(HtmlLexer), Operator)),
570
+ ]
571
+ }
572
+
573
+ def analyse_text(text):
574
+ result = 0.0
575
+ if re.search(r'</%(class|doc|init)>', text) is not None:
576
+ result = 1.0
577
+ elif re.search(r'<&.+&>', text, re.DOTALL) is not None:
578
+ result = 0.11
579
+ return result
580
+
581
+
582
+ class MakoLexer(RegexLexer):
583
+ """
584
+ Generic mako templates lexer. Code that isn't Mako
585
+ markup is yielded as `Token.Other`.
586
+ """
587
+
588
+ name = 'Mako'
589
+ url = 'http://www.makotemplates.org/'
590
+ aliases = ['mako']
591
+ filenames = ['*.mao']
592
+ mimetypes = ['application/x-mako']
593
+ version_added = '0.7'
594
+
595
+ tokens = {
596
+ 'root': [
597
+ (r'(\s*)(%)(\s*end(?:\w+))(\n|\Z)',
598
+ bygroups(Text.Whitespace, Comment.Preproc, Keyword, Other)),
599
+ (r'(\s*)(%)([^\n]*)(\n|\Z)',
600
+ bygroups(Text.Whitespace, Comment.Preproc, using(PythonLexer), Other)),
601
+ (r'(\s*)(##[^\n]*)(\n|\Z)',
602
+ bygroups(Text.Whitespace, Comment.Single, Text.Whitespace)),
603
+ (r'(?s)<%doc>.*?</%doc>', Comment.Multiline),
604
+ (r'(<%)([\w.:]+)',
605
+ bygroups(Comment.Preproc, Name.Builtin), 'tag'),
606
+ (r'(</%)([\w.:]+)(>)',
607
+ bygroups(Comment.Preproc, Name.Builtin, Comment.Preproc)),
608
+ (r'<%(?=([\w.:]+))', Comment.Preproc, 'ondeftags'),
609
+ (r'(?s)(<%(?:!?))(.*?)(%>)',
610
+ bygroups(Comment.Preproc, using(PythonLexer), Comment.Preproc)),
611
+ (r'(\$\{)(.*?)(\})',
612
+ bygroups(Comment.Preproc, using(PythonLexer), Comment.Preproc)),
613
+ (r'''(?sx)
614
+ (.+?) # anything, followed by:
615
+ (?:
616
+ (?<=\n)(?=%|\#\#) | # an eval or comment line
617
+ (?=\#\*) | # multiline comment
618
+ (?=</?%) | # a python block
619
+ # call start or end
620
+ (?=\$\{) | # a substitution
621
+ (?<=\n)(?=\s*%) |
622
+ # - don't consume
623
+ (\\\n) | # an escaped newline
624
+ \Z # end of string
625
+ )
626
+ ''', bygroups(Other, Operator)),
627
+ (r'\s+', Text),
628
+ ],
629
+ 'ondeftags': [
630
+ (r'<%', Comment.Preproc),
631
+ (r'(?<=<%)(include|inherit|namespace|page)', Name.Builtin),
632
+ include('tag'),
633
+ ],
634
+ 'tag': [
635
+ (r'((?:\w+)\s*=)(\s*)(".*?")',
636
+ bygroups(Name.Attribute, Text, String)),
637
+ (r'/?\s*>', Comment.Preproc, '#pop'),
638
+ (r'\s+', Text),
639
+ ],
640
+ 'attr': [
641
+ ('".*?"', String, '#pop'),
642
+ ("'.*?'", String, '#pop'),
643
+ (r'[^\s>]+', String, '#pop'),
644
+ ],
645
+ }
646
+
647
+
648
+ class MakoHtmlLexer(DelegatingLexer):
649
+ """
650
+ Subclass of the `MakoLexer` that highlights unlexed data
651
+ with the `HtmlLexer`.
652
+ """
653
+
654
+ name = 'HTML+Mako'
655
+ aliases = ['html+mako']
656
+ mimetypes = ['text/html+mako']
657
+ url = 'http://www.makotemplates.org/'
658
+ version_added = '0.7'
659
+
660
+ def __init__(self, **options):
661
+ super().__init__(HtmlLexer, MakoLexer, **options)
662
+
663
+
664
+ class MakoXmlLexer(DelegatingLexer):
665
+ """
666
+ Subclass of the `MakoLexer` that highlights unlexed data
667
+ with the `XmlLexer`.
668
+ """
669
+
670
+ name = 'XML+Mako'
671
+ aliases = ['xml+mako']
672
+ mimetypes = ['application/xml+mako']
673
+ url = 'http://www.makotemplates.org/'
674
+ version_added = '0.7'
675
+
676
+ def __init__(self, **options):
677
+ super().__init__(XmlLexer, MakoLexer, **options)
678
+
679
+
680
+ class MakoJavascriptLexer(DelegatingLexer):
681
+ """
682
+ Subclass of the `MakoLexer` that highlights unlexed data
683
+ with the `JavascriptLexer`.
684
+ """
685
+
686
+ name = 'JavaScript+Mako'
687
+ aliases = ['javascript+mako', 'js+mako']
688
+ mimetypes = ['application/x-javascript+mako',
689
+ 'text/x-javascript+mako',
690
+ 'text/javascript+mako']
691
+ url = 'http://www.makotemplates.org/'
692
+ version_added = '0.7'
693
+
694
+ def __init__(self, **options):
695
+ super().__init__(JavascriptLexer, MakoLexer, **options)
696
+
697
+
698
+ class MakoCssLexer(DelegatingLexer):
699
+ """
700
+ Subclass of the `MakoLexer` that highlights unlexed data
701
+ with the `CssLexer`.
702
+ """
703
+
704
+ name = 'CSS+Mako'
705
+ aliases = ['css+mako']
706
+ mimetypes = ['text/css+mako']
707
+ url = 'http://www.makotemplates.org/'
708
+ version_added = '0.7'
709
+
710
+ def __init__(self, **options):
711
+ super().__init__(CssLexer, MakoLexer, **options)
712
+
713
+
714
+ # Genshi and Cheetah lexers courtesy of Matt Good.
715
+
716
+ class CheetahPythonLexer(Lexer):
717
+ """
718
+ Lexer for handling Cheetah's special $ tokens in Python syntax.
719
+ """
720
+
721
+ def get_tokens_unprocessed(self, text):
722
+ pylexer = PythonLexer(**self.options)
723
+ for pos, type_, value in pylexer.get_tokens_unprocessed(text):
724
+ if type_ == Token.Error and value == '$':
725
+ type_ = Comment.Preproc
726
+ yield pos, type_, value
727
+
728
+
729
+ class CheetahLexer(RegexLexer):
730
+ """
731
+ Generic cheetah templates lexer. Code that isn't Cheetah
732
+ markup is yielded as `Token.Other`. This also works for
733
+ `spitfire templates`_ which use the same syntax.
734
+
735
+ .. _spitfire templates: http://code.google.com/p/spitfire/
736
+ """
737
+
738
+ name = 'Cheetah'
739
+ url = 'http://www.cheetahtemplate.org/'
740
+ aliases = ['cheetah', 'spitfire']
741
+ filenames = ['*.tmpl', '*.spt']
742
+ mimetypes = ['application/x-cheetah', 'application/x-spitfire']
743
+ version_added = ''
744
+
745
+ tokens = {
746
+ 'root': [
747
+ (r'(##[^\n]*)$',
748
+ (bygroups(Comment))),
749
+ (r'#[*](.|\n)*?[*]#', Comment),
750
+ (r'#end[^#\n]*(?:#|$)', Comment.Preproc),
751
+ (r'#slurp$', Comment.Preproc),
752
+ (r'(#[a-zA-Z]+)([^#\n]*)(#|$)',
753
+ (bygroups(Comment.Preproc, using(CheetahPythonLexer),
754
+ Comment.Preproc))),
755
+ # TODO support other Python syntax like $foo['bar']
756
+ (r'(\$)([a-zA-Z_][\w.]*\w)',
757
+ bygroups(Comment.Preproc, using(CheetahPythonLexer))),
758
+ (r'(?s)(\$\{!?)(.*?)(\})',
759
+ bygroups(Comment.Preproc, using(CheetahPythonLexer),
760
+ Comment.Preproc)),
761
+ (r'''(?sx)
762
+ (.+?) # anything, followed by:
763
+ (?:
764
+ (?=\#[#a-zA-Z]*) | # an eval comment
765
+ (?=\$[a-zA-Z_{]) | # a substitution
766
+ \Z # end of string
767
+ )
768
+ ''', Other),
769
+ (r'\s+', Text),
770
+ ],
771
+ }
772
+
773
+
774
+ class CheetahHtmlLexer(DelegatingLexer):
775
+ """
776
+ Subclass of the `CheetahLexer` that highlights unlexed data
777
+ with the `HtmlLexer`.
778
+ """
779
+
780
+ name = 'HTML+Cheetah'
781
+ aliases = ['html+cheetah', 'html+spitfire', 'htmlcheetah']
782
+ mimetypes = ['text/html+cheetah', 'text/html+spitfire']
783
+ url = 'http://www.cheetahtemplate.org/'
784
+ version_added = ''
785
+
786
+ def __init__(self, **options):
787
+ super().__init__(HtmlLexer, CheetahLexer, **options)
788
+
789
+
790
+ class CheetahXmlLexer(DelegatingLexer):
791
+ """
792
+ Subclass of the `CheetahLexer` that highlights unlexed data
793
+ with the `XmlLexer`.
794
+ """
795
+
796
+ name = 'XML+Cheetah'
797
+ aliases = ['xml+cheetah', 'xml+spitfire']
798
+ mimetypes = ['application/xml+cheetah', 'application/xml+spitfire']
799
+ url = 'http://www.cheetahtemplate.org/'
800
+ version_added = ''
801
+
802
+ def __init__(self, **options):
803
+ super().__init__(XmlLexer, CheetahLexer, **options)
804
+
805
+
806
+ class CheetahJavascriptLexer(DelegatingLexer):
807
+ """
808
+ Subclass of the `CheetahLexer` that highlights unlexed data
809
+ with the `JavascriptLexer`.
810
+ """
811
+
812
+ name = 'JavaScript+Cheetah'
813
+ aliases = ['javascript+cheetah', 'js+cheetah',
814
+ 'javascript+spitfire', 'js+spitfire']
815
+ mimetypes = ['application/x-javascript+cheetah',
816
+ 'text/x-javascript+cheetah',
817
+ 'text/javascript+cheetah',
818
+ 'application/x-javascript+spitfire',
819
+ 'text/x-javascript+spitfire',
820
+ 'text/javascript+spitfire']
821
+ url = 'http://www.cheetahtemplate.org/'
822
+ version_added = ''
823
+
824
+ def __init__(self, **options):
825
+ super().__init__(JavascriptLexer, CheetahLexer, **options)
826
+
827
+
828
+ class GenshiTextLexer(RegexLexer):
829
+ """
830
+ A lexer that highlights genshi text templates.
831
+ """
832
+
833
+ name = 'Genshi Text'
834
+ url = 'https://genshi.edgewall.org/'
835
+ aliases = ['genshitext']
836
+ mimetypes = ['application/x-genshi-text', 'text/x-genshi']
837
+ version_added = ''
838
+
839
+ tokens = {
840
+ 'root': [
841
+ (r'[^#$\s]+', Other),
842
+ (r'^(\s*)(##.*)$', bygroups(Text, Comment)),
843
+ (r'^(\s*)(#)', bygroups(Text, Comment.Preproc), 'directive'),
844
+ include('variable'),
845
+ (r'[#$\s]', Other),
846
+ ],
847
+ 'directive': [
848
+ (r'\n', Text, '#pop'),
849
+ (r'(?:def|for|if)\s+.*', using(PythonLexer), '#pop'),
850
+ (r'(choose|when|with)([^\S\n]+)(.*)',
851
+ bygroups(Keyword, Text, using(PythonLexer)), '#pop'),
852
+ (r'(choose|otherwise)\b', Keyword, '#pop'),
853
+ (r'(end\w*)([^\S\n]*)(.*)', bygroups(Keyword, Text, Comment), '#pop'),
854
+ ],
855
+ 'variable': [
856
+ (r'(?<!\$)(\$\{)(.+?)(\})',
857
+ bygroups(Comment.Preproc, using(PythonLexer), Comment.Preproc)),
858
+ (r'(?<!\$)(\$)([a-zA-Z_][\w.]*)',
859
+ Name.Variable),
860
+ ]
861
+ }
862
+
863
+
864
+ class GenshiMarkupLexer(RegexLexer):
865
+ """
866
+ Base lexer for Genshi markup, used by `HtmlGenshiLexer` and
867
+ `GenshiLexer`.
868
+ """
869
+
870
+ flags = re.DOTALL
871
+
872
+ tokens = {
873
+ 'root': [
874
+ (r'[^<$]+', Other),
875
+ (r'(<\?python)(.*?)(\?>)',
876
+ bygroups(Comment.Preproc, using(PythonLexer), Comment.Preproc)),
877
+ # yield style and script blocks as Other
878
+ (r'<\s*(script|style)\s*.*?>.*?<\s*/\1\s*>', Other),
879
+ (r'<\s*py:[a-zA-Z0-9]+', Name.Tag, 'pytag'),
880
+ (r'<\s*[a-zA-Z0-9:.]+', Name.Tag, 'tag'),
881
+ include('variable'),
882
+ (r'[<$]', Other),
883
+ ],
884
+ 'pytag': [
885
+ (r'\s+', Text),
886
+ (r'[\w:-]+\s*=', Name.Attribute, 'pyattr'),
887
+ (r'/?\s*>', Name.Tag, '#pop'),
888
+ ],
889
+ 'pyattr': [
890
+ ('(")(.*?)(")', bygroups(String, using(PythonLexer), String), '#pop'),
891
+ ("(')(.*?)(')", bygroups(String, using(PythonLexer), String), '#pop'),
892
+ (r'[^\s>]+', String, '#pop'),
893
+ ],
894
+ 'tag': [
895
+ (r'\s+', Text),
896
+ (r'py:[\w-]+\s*=', Name.Attribute, 'pyattr'),
897
+ (r'[\w:-]+\s*=', Name.Attribute, 'attr'),
898
+ (r'/?\s*>', Name.Tag, '#pop'),
899
+ ],
900
+ 'attr': [
901
+ ('"', String, 'attr-dstring'),
902
+ ("'", String, 'attr-sstring'),
903
+ (r'[^\s>]*', String, '#pop')
904
+ ],
905
+ 'attr-dstring': [
906
+ ('"', String, '#pop'),
907
+ include('strings'),
908
+ ("'", String)
909
+ ],
910
+ 'attr-sstring': [
911
+ ("'", String, '#pop'),
912
+ include('strings'),
913
+ ("'", String)
914
+ ],
915
+ 'strings': [
916
+ ('[^"\'$]+', String),
917
+ include('variable')
918
+ ],
919
+ 'variable': [
920
+ (r'(?<!\$)(\$\{)(.+?)(\})',
921
+ bygroups(Comment.Preproc, using(PythonLexer), Comment.Preproc)),
922
+ (r'(?<!\$)(\$)([a-zA-Z_][\w\.]*)',
923
+ Name.Variable),
924
+ ]
925
+ }
926
+
927
+
928
+ class HtmlGenshiLexer(DelegatingLexer):
929
+ """
930
+ A lexer that highlights `genshi <https://genshi.edgewall.org/>`_ and
931
+ `kid <http://kid-templating.org/>`_ kid HTML templates.
932
+ """
933
+
934
+ name = 'HTML+Genshi'
935
+ aliases = ['html+genshi', 'html+kid']
936
+ version_added = ''
937
+ alias_filenames = ['*.html', '*.htm', '*.xhtml']
938
+ mimetypes = ['text/html+genshi']
939
+ url = 'https://genshi.edgewall.org/'
940
+
941
+ def __init__(self, **options):
942
+ super().__init__(HtmlLexer, GenshiMarkupLexer, **options)
943
+
944
+ def analyse_text(text):
945
+ rv = 0.0
946
+ if re.search(r'\$\{.*?\}', text) is not None:
947
+ rv += 0.2
948
+ if re.search(r'py:(.*?)=["\']', text) is not None:
949
+ rv += 0.2
950
+ return rv + HtmlLexer.analyse_text(text) - 0.01
951
+
952
+
953
+ class GenshiLexer(DelegatingLexer):
954
+ """
955
+ A lexer that highlights `genshi <https://genshi.edgewall.org/>`_ and
956
+ `kid <http://kid-templating.org/>`_ kid XML templates.
957
+ """
958
+
959
+ name = 'Genshi'
960
+ aliases = ['genshi', 'kid', 'xml+genshi', 'xml+kid']
961
+ filenames = ['*.kid']
962
+ version_added = ''
963
+ alias_filenames = ['*.xml']
964
+ mimetypes = ['application/x-genshi', 'application/x-kid']
965
+ url = 'https://genshi.edgewall.org/'
966
+
967
+ def __init__(self, **options):
968
+ super().__init__(XmlLexer, GenshiMarkupLexer, **options)
969
+
970
+ def analyse_text(text):
971
+ rv = 0.0
972
+ if re.search(r'\$\{.*?\}', text) is not None:
973
+ rv += 0.2
974
+ if re.search(r'py:(.*?)=["\']', text) is not None:
975
+ rv += 0.2
976
+ return rv + XmlLexer.analyse_text(text) - 0.01
977
+
978
+
979
+ class JavascriptGenshiLexer(DelegatingLexer):
980
+ """
981
+ A lexer that highlights javascript code in genshi text templates.
982
+ """
983
+
984
+ name = 'JavaScript+Genshi Text'
985
+ aliases = ['js+genshitext', 'js+genshi', 'javascript+genshitext',
986
+ 'javascript+genshi']
987
+ version_added = ''
988
+ alias_filenames = ['*.js']
989
+ mimetypes = ['application/x-javascript+genshi',
990
+ 'text/x-javascript+genshi',
991
+ 'text/javascript+genshi']
992
+ url = 'https://genshi.edgewall.org'
993
+
994
+ def __init__(self, **options):
995
+ super().__init__(JavascriptLexer, GenshiTextLexer, **options)
996
+
997
+ def analyse_text(text):
998
+ return GenshiLexer.analyse_text(text) - 0.05
999
+
1000
+
1001
+ class CssGenshiLexer(DelegatingLexer):
1002
+ """
1003
+ A lexer that highlights CSS definitions in genshi text templates.
1004
+ """
1005
+
1006
+ name = 'CSS+Genshi Text'
1007
+ aliases = ['css+genshitext', 'css+genshi']
1008
+ version_added = ''
1009
+ alias_filenames = ['*.css']
1010
+ mimetypes = ['text/css+genshi']
1011
+ url = 'https://genshi.edgewall.org'
1012
+
1013
+ def __init__(self, **options):
1014
+ super().__init__(CssLexer, GenshiTextLexer, **options)
1015
+
1016
+ def analyse_text(text):
1017
+ return GenshiLexer.analyse_text(text) - 0.05
1018
+
1019
+
1020
+ class RhtmlLexer(DelegatingLexer):
1021
+ """
1022
+ Subclass of the ERB lexer that highlights the unlexed data with the
1023
+ html lexer.
1024
+
1025
+ Nested Javascript and CSS is highlighted too.
1026
+ """
1027
+
1028
+ name = 'RHTML'
1029
+ aliases = ['rhtml', 'html+erb', 'html+ruby']
1030
+ filenames = ['*.rhtml']
1031
+ version_added = ''
1032
+ alias_filenames = ['*.html', '*.htm', '*.xhtml']
1033
+ mimetypes = ['text/html+ruby']
1034
+ url = 'https://github.com/ruby/erb'
1035
+
1036
+
1037
+ def __init__(self, **options):
1038
+ super().__init__(HtmlLexer, ErbLexer, **options)
1039
+
1040
+ def analyse_text(text):
1041
+ rv = ErbLexer.analyse_text(text) - 0.01
1042
+ if html_doctype_matches(text):
1043
+ # one more than the XmlErbLexer returns
1044
+ rv += 0.5
1045
+ return rv
1046
+
1047
+
1048
+ class XmlErbLexer(DelegatingLexer):
1049
+ """
1050
+ Subclass of `ErbLexer` which highlights data outside preprocessor
1051
+ directives with the `XmlLexer`.
1052
+ """
1053
+
1054
+ name = 'XML+Ruby'
1055
+ aliases = ['xml+ruby', 'xml+erb']
1056
+ version_added = ''
1057
+ alias_filenames = ['*.xml']
1058
+ mimetypes = ['application/xml+ruby']
1059
+ url = 'https://github.com/ruby/erb'
1060
+
1061
+ def __init__(self, **options):
1062
+ super().__init__(XmlLexer, ErbLexer, **options)
1063
+
1064
+ def analyse_text(text):
1065
+ rv = ErbLexer.analyse_text(text) - 0.01
1066
+ if looks_like_xml(text):
1067
+ rv += 0.4
1068
+ return rv
1069
+
1070
+
1071
+ class CssErbLexer(DelegatingLexer):
1072
+ """
1073
+ Subclass of `ErbLexer` which highlights unlexed data with the `CssLexer`.
1074
+ """
1075
+
1076
+ name = 'CSS+Ruby'
1077
+ aliases = ['css+ruby', 'css+erb']
1078
+ version_added = ''
1079
+ alias_filenames = ['*.css']
1080
+ mimetypes = ['text/css+ruby']
1081
+ url = 'https://github.com/ruby/erb'
1082
+
1083
+ def __init__(self, **options):
1084
+ super().__init__(CssLexer, ErbLexer, **options)
1085
+
1086
+ def analyse_text(text):
1087
+ return ErbLexer.analyse_text(text) - 0.05
1088
+
1089
+
1090
+ class JavascriptErbLexer(DelegatingLexer):
1091
+ """
1092
+ Subclass of `ErbLexer` which highlights unlexed data with the
1093
+ `JavascriptLexer`.
1094
+ """
1095
+
1096
+ name = 'JavaScript+Ruby'
1097
+ aliases = ['javascript+ruby', 'js+ruby', 'javascript+erb', 'js+erb']
1098
+ version_added = ''
1099
+ alias_filenames = ['*.js']
1100
+ mimetypes = ['application/x-javascript+ruby',
1101
+ 'text/x-javascript+ruby',
1102
+ 'text/javascript+ruby']
1103
+ url = 'https://github.com/ruby/erb'
1104
+
1105
+ def __init__(self, **options):
1106
+ super().__init__(JavascriptLexer, ErbLexer, **options)
1107
+
1108
+ def analyse_text(text):
1109
+ return ErbLexer.analyse_text(text) - 0.05
1110
+
1111
+
1112
+ class HtmlPhpLexer(DelegatingLexer):
1113
+ """
1114
+ Subclass of `PhpLexer` that highlights unhandled data with the `HtmlLexer`.
1115
+
1116
+ Nested Javascript and CSS is highlighted too.
1117
+ """
1118
+
1119
+ name = 'HTML+PHP'
1120
+ aliases = ['html+php']
1121
+ filenames = ['*.phtml']
1122
+ version_added = ''
1123
+ alias_filenames = ['*.php', '*.html', '*.htm', '*.xhtml',
1124
+ '*.php[345]']
1125
+ mimetypes = ['application/x-php',
1126
+ 'application/x-httpd-php', 'application/x-httpd-php3',
1127
+ 'application/x-httpd-php4', 'application/x-httpd-php5']
1128
+ url = 'https://www.php.net'
1129
+
1130
+
1131
+ def __init__(self, **options):
1132
+ super().__init__(HtmlLexer, PhpLexer, **options)
1133
+
1134
+ def analyse_text(text):
1135
+ rv = PhpLexer.analyse_text(text) - 0.01
1136
+ if html_doctype_matches(text):
1137
+ rv += 0.5
1138
+ return rv
1139
+
1140
+
1141
+ class XmlPhpLexer(DelegatingLexer):
1142
+ """
1143
+ Subclass of `PhpLexer` that highlights unhandled data with the `XmlLexer`.
1144
+ """
1145
+
1146
+ name = 'XML+PHP'
1147
+ aliases = ['xml+php']
1148
+ version_added = ''
1149
+ alias_filenames = ['*.xml', '*.php', '*.php[345]']
1150
+ mimetypes = ['application/xml+php']
1151
+ url = 'https://www.php.net'
1152
+
1153
+ def __init__(self, **options):
1154
+ super().__init__(XmlLexer, PhpLexer, **options)
1155
+
1156
+ def analyse_text(text):
1157
+ rv = PhpLexer.analyse_text(text) - 0.01
1158
+ if looks_like_xml(text):
1159
+ rv += 0.4
1160
+ return rv
1161
+
1162
+
1163
+ class CssPhpLexer(DelegatingLexer):
1164
+ """
1165
+ Subclass of `PhpLexer` which highlights unmatched data with the `CssLexer`.
1166
+ """
1167
+
1168
+ name = 'CSS+PHP'
1169
+ aliases = ['css+php']
1170
+ version_added = ''
1171
+ alias_filenames = ['*.css']
1172
+ mimetypes = ['text/css+php']
1173
+ url = 'https://www.php.net'
1174
+
1175
+ def __init__(self, **options):
1176
+ super().__init__(CssLexer, PhpLexer, **options)
1177
+
1178
+ def analyse_text(text):
1179
+ return PhpLexer.analyse_text(text) - 0.05
1180
+
1181
+
1182
+ class JavascriptPhpLexer(DelegatingLexer):
1183
+ """
1184
+ Subclass of `PhpLexer` which highlights unmatched data with the
1185
+ `JavascriptLexer`.
1186
+ """
1187
+
1188
+ name = 'JavaScript+PHP'
1189
+ aliases = ['javascript+php', 'js+php']
1190
+ version_added = ''
1191
+ alias_filenames = ['*.js']
1192
+ mimetypes = ['application/x-javascript+php',
1193
+ 'text/x-javascript+php',
1194
+ 'text/javascript+php']
1195
+ url = 'https://www.php.net'
1196
+
1197
+ def __init__(self, **options):
1198
+ super().__init__(JavascriptLexer, PhpLexer, **options)
1199
+
1200
+ def analyse_text(text):
1201
+ return PhpLexer.analyse_text(text)
1202
+
1203
+
1204
+ class HtmlSmartyLexer(DelegatingLexer):
1205
+ """
1206
+ Subclass of the `SmartyLexer` that highlights unlexed data with the
1207
+ `HtmlLexer`.
1208
+
1209
+ Nested Javascript and CSS is highlighted too.
1210
+ """
1211
+
1212
+ name = 'HTML+Smarty'
1213
+ aliases = ['html+smarty']
1214
+ version_added = ''
1215
+ alias_filenames = ['*.html', '*.htm', '*.xhtml', '*.tpl']
1216
+ mimetypes = ['text/html+smarty']
1217
+ url = 'https://www.smarty.net/'
1218
+
1219
+ def __init__(self, **options):
1220
+ super().__init__(HtmlLexer, SmartyLexer, **options)
1221
+
1222
+ def analyse_text(text):
1223
+ rv = SmartyLexer.analyse_text(text) - 0.01
1224
+ if html_doctype_matches(text):
1225
+ rv += 0.5
1226
+ return rv
1227
+
1228
+
1229
+ class XmlSmartyLexer(DelegatingLexer):
1230
+ """
1231
+ Subclass of the `SmartyLexer` that highlights unlexed data with the
1232
+ `XmlLexer`.
1233
+ """
1234
+
1235
+ name = 'XML+Smarty'
1236
+ aliases = ['xml+smarty']
1237
+ version_added = ''
1238
+ alias_filenames = ['*.xml', '*.tpl']
1239
+ mimetypes = ['application/xml+smarty']
1240
+ url = 'https://www.smarty.net/'
1241
+
1242
+ def __init__(self, **options):
1243
+ super().__init__(XmlLexer, SmartyLexer, **options)
1244
+
1245
+ def analyse_text(text):
1246
+ rv = SmartyLexer.analyse_text(text) - 0.01
1247
+ if looks_like_xml(text):
1248
+ rv += 0.4
1249
+ return rv
1250
+
1251
+
1252
+ class CssSmartyLexer(DelegatingLexer):
1253
+ """
1254
+ Subclass of the `SmartyLexer` that highlights unlexed data with the
1255
+ `CssLexer`.
1256
+ """
1257
+
1258
+ name = 'CSS+Smarty'
1259
+ aliases = ['css+smarty']
1260
+ version_added = ''
1261
+ alias_filenames = ['*.css', '*.tpl']
1262
+ mimetypes = ['text/css+smarty']
1263
+ url = 'https://www.smarty.net/'
1264
+
1265
+ def __init__(self, **options):
1266
+ super().__init__(CssLexer, SmartyLexer, **options)
1267
+
1268
+ def analyse_text(text):
1269
+ return SmartyLexer.analyse_text(text) - 0.05
1270
+
1271
+
1272
+ class JavascriptSmartyLexer(DelegatingLexer):
1273
+ """
1274
+ Subclass of the `SmartyLexer` that highlights unlexed data with the
1275
+ `JavascriptLexer`.
1276
+ """
1277
+
1278
+ name = 'JavaScript+Smarty'
1279
+ aliases = ['javascript+smarty', 'js+smarty']
1280
+ version_added = ''
1281
+ alias_filenames = ['*.js', '*.tpl']
1282
+ mimetypes = ['application/x-javascript+smarty',
1283
+ 'text/x-javascript+smarty',
1284
+ 'text/javascript+smarty']
1285
+ url = 'https://www.smarty.net/'
1286
+
1287
+ def __init__(self, **options):
1288
+ super().__init__(JavascriptLexer, SmartyLexer, **options)
1289
+
1290
+ def analyse_text(text):
1291
+ return SmartyLexer.analyse_text(text) - 0.05
1292
+
1293
+
1294
+ class HtmlDjangoLexer(DelegatingLexer):
1295
+ """
1296
+ Subclass of the `DjangoLexer` that highlights unlexed data with the
1297
+ `HtmlLexer`.
1298
+
1299
+ Nested Javascript and CSS is highlighted too.
1300
+ """
1301
+
1302
+ name = 'HTML+Django/Jinja'
1303
+ aliases = ['html+django', 'html+jinja', 'htmldjango']
1304
+ filenames = ['*.html.j2', '*.htm.j2', '*.xhtml.j2', '*.html.jinja2', '*.htm.jinja2', '*.xhtml.jinja2']
1305
+ version_added = ''
1306
+ alias_filenames = ['*.html', '*.htm', '*.xhtml']
1307
+ mimetypes = ['text/html+django', 'text/html+jinja']
1308
+ url = 'https://www.djangoproject.com/documentation/templates'
1309
+
1310
+ def __init__(self, **options):
1311
+ super().__init__(HtmlLexer, DjangoLexer, **options)
1312
+
1313
+ def analyse_text(text):
1314
+ rv = DjangoLexer.analyse_text(text) - 0.01
1315
+ if html_doctype_matches(text):
1316
+ rv += 0.5
1317
+ return rv
1318
+
1319
+
1320
+ class XmlDjangoLexer(DelegatingLexer):
1321
+ """
1322
+ Subclass of the `DjangoLexer` that highlights unlexed data with the
1323
+ `XmlLexer`.
1324
+ """
1325
+
1326
+ name = 'XML+Django/Jinja'
1327
+ aliases = ['xml+django', 'xml+jinja']
1328
+ filenames = ['*.xml.j2', '*.xml.jinja2']
1329
+ version_added = ''
1330
+ alias_filenames = ['*.xml']
1331
+ mimetypes = ['application/xml+django', 'application/xml+jinja']
1332
+ url = 'https://www.djangoproject.com/documentation/templates'
1333
+
1334
+ def __init__(self, **options):
1335
+ super().__init__(XmlLexer, DjangoLexer, **options)
1336
+
1337
+ def analyse_text(text):
1338
+ rv = DjangoLexer.analyse_text(text) - 0.01
1339
+ if looks_like_xml(text):
1340
+ rv += 0.4
1341
+ return rv
1342
+
1343
+
1344
+ class CssDjangoLexer(DelegatingLexer):
1345
+ """
1346
+ Subclass of the `DjangoLexer` that highlights unlexed data with the
1347
+ `CssLexer`.
1348
+ """
1349
+
1350
+ name = 'CSS+Django/Jinja'
1351
+ aliases = ['css+django', 'css+jinja']
1352
+ filenames = ['*.css.j2', '*.css.jinja2']
1353
+ version_added = ''
1354
+ alias_filenames = ['*.css']
1355
+ mimetypes = ['text/css+django', 'text/css+jinja']
1356
+ url = 'https://www.djangoproject.com/documentation/templates'
1357
+
1358
+ def __init__(self, **options):
1359
+ super().__init__(CssLexer, DjangoLexer, **options)
1360
+
1361
+ def analyse_text(text):
1362
+ return DjangoLexer.analyse_text(text) - 0.05
1363
+
1364
+
1365
+ class JavascriptDjangoLexer(DelegatingLexer):
1366
+ """
1367
+ Subclass of the `DjangoLexer` that highlights unlexed data with the
1368
+ `JavascriptLexer`.
1369
+ """
1370
+
1371
+ name = 'JavaScript+Django/Jinja'
1372
+ aliases = ['javascript+django', 'js+django',
1373
+ 'javascript+jinja', 'js+jinja']
1374
+ filenames = ['*.js.j2', '*.js.jinja2']
1375
+ version_added = ''
1376
+ alias_filenames = ['*.js']
1377
+ mimetypes = ['application/x-javascript+django',
1378
+ 'application/x-javascript+jinja',
1379
+ 'text/x-javascript+django',
1380
+ 'text/x-javascript+jinja',
1381
+ 'text/javascript+django',
1382
+ 'text/javascript+jinja']
1383
+ url = 'https://www.djangoproject.com/documentation/templates'
1384
+
1385
+ def __init__(self, **options):
1386
+ super().__init__(JavascriptLexer, DjangoLexer, **options)
1387
+
1388
+ def analyse_text(text):
1389
+ return DjangoLexer.analyse_text(text) - 0.05
1390
+
1391
+
1392
+ class JspRootLexer(RegexLexer):
1393
+ """
1394
+ Base for the `JspLexer`. Yields `Token.Other` for area outside of
1395
+ JSP tags.
1396
+
1397
+ .. versionadded:: 0.7
1398
+ """
1399
+
1400
+ tokens = {
1401
+ 'root': [
1402
+ (r'<%\S?', Keyword, 'sec'),
1403
+ # FIXME: I want to make these keywords but still parse attributes.
1404
+ (r'</?jsp:(forward|getProperty|include|plugin|setProperty|useBean).*?>',
1405
+ Keyword),
1406
+ (r'[^<]+', Other),
1407
+ (r'<', Other),
1408
+ ],
1409
+ 'sec': [
1410
+ (r'%>', Keyword, '#pop'),
1411
+ # note: '\w\W' != '.' without DOTALL.
1412
+ (r'[\w\W]+?(?=%>|\Z)', using(JavaLexer)),
1413
+ ],
1414
+ }
1415
+
1416
+
1417
+ class JspLexer(DelegatingLexer):
1418
+ """
1419
+ Lexer for Java Server Pages.
1420
+ """
1421
+ name = 'Java Server Page'
1422
+ aliases = ['jsp']
1423
+ filenames = ['*.jsp']
1424
+ mimetypes = ['application/x-jsp']
1425
+ url = 'https://projects.eclipse.org/projects/ee4j.jsp'
1426
+ version_added = '0.7'
1427
+
1428
+ def __init__(self, **options):
1429
+ super().__init__(XmlLexer, JspRootLexer, **options)
1430
+
1431
+ def analyse_text(text):
1432
+ rv = JavaLexer.analyse_text(text) - 0.01
1433
+ if looks_like_xml(text):
1434
+ rv += 0.4
1435
+ if '<%' in text and '%>' in text:
1436
+ rv += 0.1
1437
+ return rv
1438
+
1439
+
1440
+ class EvoqueLexer(RegexLexer):
1441
+ """
1442
+ For files using the Evoque templating system.
1443
+ """
1444
+ name = 'Evoque'
1445
+ aliases = ['evoque']
1446
+ filenames = ['*.evoque']
1447
+ mimetypes = ['application/x-evoque']
1448
+ url = 'https://gizmojo.org/templating'
1449
+ version_added = '1.1'
1450
+
1451
+ flags = re.DOTALL
1452
+
1453
+ tokens = {
1454
+ 'root': [
1455
+ (r'[^#$]+', Other),
1456
+ (r'#\[', Comment.Multiline, 'comment'),
1457
+ (r'\$\$', Other),
1458
+ # svn keywords
1459
+ (r'\$\w+:[^$\n]*\$', Comment.Multiline),
1460
+ # directives: begin, end
1461
+ (r'(\$)(begin|end)(\{(%)?)(.*?)((?(4)%)\})',
1462
+ bygroups(Punctuation, Name.Builtin, Punctuation, None,
1463
+ String, Punctuation)),
1464
+ # directives: evoque, overlay
1465
+ # see doc for handling first name arg: /directives/evoque/
1466
+ # + minor inconsistency: the "name" in e.g. $overlay{name=site_base}
1467
+ # should be using(PythonLexer), not passed out as String
1468
+ (r'(\$)(evoque|overlay)(\{(%)?)(\s*[#\w\-"\'.]+)?'
1469
+ r'(.*?)((?(4)%)\})',
1470
+ bygroups(Punctuation, Name.Builtin, Punctuation, None,
1471
+ String, using(PythonLexer), Punctuation)),
1472
+ # directives: if, for, prefer, test
1473
+ (r'(\$)(\w+)(\{(%)?)(.*?)((?(4)%)\})',
1474
+ bygroups(Punctuation, Name.Builtin, Punctuation, None,
1475
+ using(PythonLexer), Punctuation)),
1476
+ # directive clauses (no {} expression)
1477
+ (r'(\$)(else|rof|fi)', bygroups(Punctuation, Name.Builtin)),
1478
+ # expressions
1479
+ (r'(\$\{(%)?)(.*?)((!)(.*?))?((?(2)%)\})',
1480
+ bygroups(Punctuation, None, using(PythonLexer),
1481
+ Name.Builtin, None, None, Punctuation)),
1482
+ (r'#', Other),
1483
+ ],
1484
+ 'comment': [
1485
+ (r'[^\]#]', Comment.Multiline),
1486
+ (r'#\[', Comment.Multiline, '#push'),
1487
+ (r'\]#', Comment.Multiline, '#pop'),
1488
+ (r'[\]#]', Comment.Multiline)
1489
+ ],
1490
+ }
1491
+
1492
+ def analyse_text(text):
1493
+ """Evoque templates use $evoque, which is unique."""
1494
+ if '$evoque' in text:
1495
+ return 1
1496
+
1497
+ class EvoqueHtmlLexer(DelegatingLexer):
1498
+ """
1499
+ Subclass of the `EvoqueLexer` that highlights unlexed data with the
1500
+ `HtmlLexer`.
1501
+ """
1502
+ name = 'HTML+Evoque'
1503
+ aliases = ['html+evoque']
1504
+ filenames = ['*.html']
1505
+ mimetypes = ['text/html+evoque']
1506
+ url = 'https://gizmojo.org/templating'
1507
+ version_added = '1.1'
1508
+
1509
+ def __init__(self, **options):
1510
+ super().__init__(HtmlLexer, EvoqueLexer, **options)
1511
+
1512
+ def analyse_text(text):
1513
+ return EvoqueLexer.analyse_text(text)
1514
+
1515
+
1516
+ class EvoqueXmlLexer(DelegatingLexer):
1517
+ """
1518
+ Subclass of the `EvoqueLexer` that highlights unlexed data with the
1519
+ `XmlLexer`.
1520
+ """
1521
+ name = 'XML+Evoque'
1522
+ aliases = ['xml+evoque']
1523
+ filenames = ['*.xml']
1524
+ mimetypes = ['application/xml+evoque']
1525
+ url = 'https://gizmojo.org/templating'
1526
+ version_added = '1.1'
1527
+
1528
+ def __init__(self, **options):
1529
+ super().__init__(XmlLexer, EvoqueLexer, **options)
1530
+
1531
+ def analyse_text(text):
1532
+ return EvoqueLexer.analyse_text(text)
1533
+
1534
+
1535
+ class ColdfusionLexer(RegexLexer):
1536
+ """
1537
+ Coldfusion statements
1538
+ """
1539
+ name = 'cfstatement'
1540
+ aliases = ['cfs']
1541
+ filenames = []
1542
+ mimetypes = []
1543
+ url = 'https://www.adobe.com/products/coldfusion-family.html'
1544
+ version_added = ''
1545
+
1546
+ flags = re.IGNORECASE
1547
+
1548
+ tokens = {
1549
+ 'root': [
1550
+ (r'//.*?\n', Comment.Single),
1551
+ (r'/\*(?:.|\n)*?\*/', Comment.Multiline),
1552
+ (r'\+\+|--', Operator),
1553
+ (r'[-+*/^&=!]', Operator),
1554
+ (r'<=|>=|<|>|==', Operator),
1555
+ (r'mod\b', Operator),
1556
+ (r'(eq|lt|gt|lte|gte|not|is|and|or)\b', Operator),
1557
+ (r'\|\||&&', Operator),
1558
+ (r'\?', Operator),
1559
+ (r'"', String.Double, 'string'),
1560
+ # There is a special rule for allowing html in single quoted
1561
+ # strings, evidently.
1562
+ (r"'.*?'", String.Single),
1563
+ (r'\d+', Number),
1564
+ (r'(if|else|len|var|xml|default|break|switch|component|property|function|do|'
1565
+ r'try|catch|in|continue|for|return|while|required|any|array|binary|boolean|'
1566
+ r'component|date|guid|numeric|query|string|struct|uuid|case)\b', Keyword),
1567
+ (r'(true|false|null)\b', Keyword.Constant),
1568
+ (r'(application|session|client|cookie|super|this|variables|arguments)\b',
1569
+ Name.Constant),
1570
+ (r'([a-z_$][\w.]*)(\s*)(\()',
1571
+ bygroups(Name.Function, Text, Punctuation)),
1572
+ (r'[a-z_$][\w.]*', Name.Variable),
1573
+ (r'[()\[\]{};:,.\\]', Punctuation),
1574
+ (r'\s+', Text),
1575
+ ],
1576
+ 'string': [
1577
+ (r'""', String.Double),
1578
+ (r'#.+?#', String.Interp),
1579
+ (r'[^"#]+', String.Double),
1580
+ (r'#', String.Double),
1581
+ (r'"', String.Double, '#pop'),
1582
+ ],
1583
+ }
1584
+
1585
+
1586
+ class ColdfusionMarkupLexer(RegexLexer):
1587
+ """
1588
+ Coldfusion markup only
1589
+ """
1590
+ name = 'Coldfusion'
1591
+ aliases = ['cf']
1592
+ filenames = []
1593
+ mimetypes = []
1594
+ url = 'https://www.adobe.com/products/coldfusion-family.html'
1595
+
1596
+ tokens = {
1597
+ 'root': [
1598
+ (r'[^<]+', Other),
1599
+ include('tags'),
1600
+ (r'<[^<>]*', Other),
1601
+ ],
1602
+ 'tags': [
1603
+ (r'<!---', Comment.Multiline, 'cfcomment'),
1604
+ (r'(?s)<!--.*?-->', Comment),
1605
+ (r'<cfoutput.*?>', Name.Builtin, 'cfoutput'),
1606
+ (r'(?s)(<cfscript.*?>)(.+?)(</cfscript.*?>)',
1607
+ bygroups(Name.Builtin, using(ColdfusionLexer), Name.Builtin)),
1608
+ # negative lookbehind is for strings with embedded >
1609
+ (r'(?s)(</?cf(?:component|include|if|else|elseif|loop|return|'
1610
+ r'dbinfo|dump|abort|location|invoke|throw|file|savecontent|'
1611
+ r'mailpart|mail|header|content|zip|image|lock|argument|try|'
1612
+ r'catch|break|directory|http|set|function|param)\b)(.*?)((?<!\\)>)',
1613
+ bygroups(Name.Builtin, using(ColdfusionLexer), Name.Builtin)),
1614
+ ],
1615
+ 'cfoutput': [
1616
+ (r'[^#<]+', Other),
1617
+ (r'(#)(.*?)(#)', bygroups(Punctuation, using(ColdfusionLexer),
1618
+ Punctuation)),
1619
+ # (r'<cfoutput.*?>', Name.Builtin, '#push'),
1620
+ (r'</cfoutput.*?>', Name.Builtin, '#pop'),
1621
+ include('tags'),
1622
+ (r'(?s)<[^<>]*', Other),
1623
+ (r'#', Other),
1624
+ ],
1625
+ 'cfcomment': [
1626
+ (r'<!---', Comment.Multiline, '#push'),
1627
+ (r'--->', Comment.Multiline, '#pop'),
1628
+ (r'([^<-]|<(?!!---)|-(?!-->))+', Comment.Multiline),
1629
+ ],
1630
+ }
1631
+
1632
+
1633
+ class ColdfusionHtmlLexer(DelegatingLexer):
1634
+ """
1635
+ Coldfusion markup in html
1636
+ """
1637
+ name = 'Coldfusion HTML'
1638
+ aliases = ['cfm']
1639
+ filenames = ['*.cfm', '*.cfml']
1640
+ mimetypes = ['application/x-coldfusion']
1641
+ url = 'https://www.adobe.com/products/coldfusion-family.html'
1642
+ version_added = ''
1643
+
1644
+ def __init__(self, **options):
1645
+ super().__init__(HtmlLexer, ColdfusionMarkupLexer, **options)
1646
+
1647
+
1648
+ class ColdfusionCFCLexer(DelegatingLexer):
1649
+ """
1650
+ Coldfusion markup/script components
1651
+ """
1652
+ name = 'Coldfusion CFC'
1653
+ aliases = ['cfc']
1654
+ filenames = ['*.cfc']
1655
+ mimetypes = []
1656
+ url = 'https://www.adobe.com/products/coldfusion-family.html'
1657
+ version_added = '2.0'
1658
+
1659
+ def __init__(self, **options):
1660
+ super().__init__(ColdfusionHtmlLexer, ColdfusionLexer, **options)
1661
+
1662
+
1663
+ class SspLexer(DelegatingLexer):
1664
+ """
1665
+ Lexer for Scalate Server Pages.
1666
+ """
1667
+ name = 'Scalate Server Page'
1668
+ aliases = ['ssp']
1669
+ filenames = ['*.ssp']
1670
+ mimetypes = ['application/x-ssp']
1671
+ url = 'https://scalate.github.io/scalate/'
1672
+ version_added = '1.4'
1673
+
1674
+ def __init__(self, **options):
1675
+ super().__init__(XmlLexer, JspRootLexer, **options)
1676
+
1677
+ def analyse_text(text):
1678
+ rv = 0.0
1679
+ if re.search(r'val \w+\s*:', text):
1680
+ rv += 0.6
1681
+ if looks_like_xml(text):
1682
+ rv += 0.2
1683
+ if '<%' in text and '%>' in text:
1684
+ rv += 0.1
1685
+ return rv
1686
+
1687
+
1688
+ class TeaTemplateRootLexer(RegexLexer):
1689
+ """
1690
+ Base for the `TeaTemplateLexer`. Yields `Token.Other` for area outside of
1691
+ code blocks.
1692
+
1693
+ .. versionadded:: 1.5
1694
+ """
1695
+
1696
+ tokens = {
1697
+ 'root': [
1698
+ (r'<%\S?', Keyword, 'sec'),
1699
+ (r'[^<]+', Other),
1700
+ (r'<', Other),
1701
+ ],
1702
+ 'sec': [
1703
+ (r'%>', Keyword, '#pop'),
1704
+ # note: '\w\W' != '.' without DOTALL.
1705
+ (r'[\w\W]+?(?=%>|\Z)', using(TeaLangLexer)),
1706
+ ],
1707
+ }
1708
+
1709
+
1710
+ class TeaTemplateLexer(DelegatingLexer):
1711
+ """
1712
+ Lexer for Tea Templates.
1713
+ """
1714
+ name = 'Tea'
1715
+ aliases = ['tea']
1716
+ filenames = ['*.tea']
1717
+ mimetypes = ['text/x-tea']
1718
+ url = 'https://github.com/teatrove/teatrove'
1719
+ version_added = '1.5'
1720
+
1721
+ def __init__(self, **options):
1722
+ super().__init__(XmlLexer, TeaTemplateRootLexer, **options)
1723
+
1724
+ def analyse_text(text):
1725
+ rv = TeaLangLexer.analyse_text(text) - 0.01
1726
+ if looks_like_xml(text):
1727
+ rv += 0.4
1728
+ if '<%' in text and '%>' in text:
1729
+ rv += 0.1
1730
+ return rv
1731
+
1732
+
1733
+ class LassoHtmlLexer(DelegatingLexer):
1734
+ """
1735
+ Subclass of the `LassoLexer` which highlights unhandled data with the
1736
+ `HtmlLexer`.
1737
+
1738
+ Nested JavaScript and CSS is also highlighted.
1739
+ """
1740
+
1741
+ name = 'HTML+Lasso'
1742
+ aliases = ['html+lasso']
1743
+ version_added = '1.6'
1744
+ alias_filenames = ['*.html', '*.htm', '*.xhtml', '*.lasso', '*.lasso[89]',
1745
+ '*.incl', '*.inc', '*.las']
1746
+ mimetypes = ['text/html+lasso',
1747
+ 'application/x-httpd-lasso',
1748
+ 'application/x-httpd-lasso[89]']
1749
+ url = 'https://www.lassosoft.com'
1750
+
1751
+ def __init__(self, **options):
1752
+ super().__init__(HtmlLexer, LassoLexer, **options)
1753
+
1754
+ def analyse_text(text):
1755
+ rv = LassoLexer.analyse_text(text) - 0.01
1756
+ if html_doctype_matches(text): # same as HTML lexer
1757
+ rv += 0.5
1758
+ return rv
1759
+
1760
+
1761
+ class LassoXmlLexer(DelegatingLexer):
1762
+ """
1763
+ Subclass of the `LassoLexer` which highlights unhandled data with the
1764
+ `XmlLexer`.
1765
+ """
1766
+
1767
+ name = 'XML+Lasso'
1768
+ aliases = ['xml+lasso']
1769
+ version_added = '1.6'
1770
+ alias_filenames = ['*.xml', '*.lasso', '*.lasso[89]',
1771
+ '*.incl', '*.inc', '*.las']
1772
+ mimetypes = ['application/xml+lasso']
1773
+ url = 'https://www.lassosoft.com'
1774
+
1775
+ def __init__(self, **options):
1776
+ super().__init__(XmlLexer, LassoLexer, **options)
1777
+
1778
+ def analyse_text(text):
1779
+ rv = LassoLexer.analyse_text(text) - 0.01
1780
+ if looks_like_xml(text):
1781
+ rv += 0.4
1782
+ return rv
1783
+
1784
+
1785
+ class LassoCssLexer(DelegatingLexer):
1786
+ """
1787
+ Subclass of the `LassoLexer` which highlights unhandled data with the
1788
+ `CssLexer`.
1789
+ """
1790
+
1791
+ name = 'CSS+Lasso'
1792
+ aliases = ['css+lasso']
1793
+ version_added = '1.6'
1794
+ alias_filenames = ['*.css']
1795
+ mimetypes = ['text/css+lasso']
1796
+ url = 'https://www.lassosoft.com'
1797
+
1798
+ def __init__(self, **options):
1799
+ options['requiredelimiters'] = True
1800
+ super().__init__(CssLexer, LassoLexer, **options)
1801
+
1802
+ def analyse_text(text):
1803
+ rv = LassoLexer.analyse_text(text) - 0.05
1804
+ if re.search(r'\w+:[^;]+;', text):
1805
+ rv += 0.1
1806
+ if 'padding:' in text:
1807
+ rv += 0.1
1808
+ return rv
1809
+
1810
+
1811
+ class LassoJavascriptLexer(DelegatingLexer):
1812
+ """
1813
+ Subclass of the `LassoLexer` which highlights unhandled data with the
1814
+ `JavascriptLexer`.
1815
+ """
1816
+
1817
+ name = 'JavaScript+Lasso'
1818
+ aliases = ['javascript+lasso', 'js+lasso']
1819
+ version_added = '1.6'
1820
+ alias_filenames = ['*.js']
1821
+ mimetypes = ['application/x-javascript+lasso',
1822
+ 'text/x-javascript+lasso',
1823
+ 'text/javascript+lasso']
1824
+ url = 'https://www.lassosoft.com'
1825
+
1826
+ def __init__(self, **options):
1827
+ options['requiredelimiters'] = True
1828
+ super().__init__(JavascriptLexer, LassoLexer, **options)
1829
+
1830
+ def analyse_text(text):
1831
+ rv = LassoLexer.analyse_text(text) - 0.05
1832
+ return rv
1833
+
1834
+
1835
+ class HandlebarsLexer(RegexLexer):
1836
+ """
1837
+ Generic handlebars template lexer.
1838
+
1839
+ Highlights only the Handlebars template tags (stuff between `{{` and `}}`).
1840
+ Everything else is left for a delegating lexer.
1841
+ """
1842
+
1843
+ name = "Handlebars"
1844
+ url = 'https://handlebarsjs.com/'
1845
+ aliases = ['handlebars']
1846
+ version_added = '2.0'
1847
+
1848
+ tokens = {
1849
+ 'root': [
1850
+ (r'[^{]+', Other),
1851
+
1852
+ # Comment start {{! }} or {{!--
1853
+ (r'\{\{!.*\}\}', Comment),
1854
+
1855
+ # HTML Escaping open {{{expression
1856
+ (r'(\{\{\{)(\s*)', bygroups(Comment.Special, Text), 'tag'),
1857
+
1858
+ # {{blockOpen {{#blockOpen {{/blockClose with optional tilde ~
1859
+ (r'(\{\{)([#~/]+)([^\s}]*)',
1860
+ bygroups(Comment.Preproc, Number.Attribute, Number.Attribute), 'tag'),
1861
+ (r'(\{\{)(\s*)', bygroups(Comment.Preproc, Text), 'tag'),
1862
+ ],
1863
+
1864
+ 'tag': [
1865
+ (r'\s+', Text),
1866
+ # HTML Escaping close }}}
1867
+ (r'\}\}\}', Comment.Special, '#pop'),
1868
+ # blockClose}}, includes optional tilde ~
1869
+ (r'(~?)(\}\})', bygroups(Number, Comment.Preproc), '#pop'),
1870
+
1871
+ # {{opt=something}}
1872
+ (r'([^\s}]+)(=)', bygroups(Name.Attribute, Operator)),
1873
+
1874
+ # Partials {{> ...}}
1875
+ (r'(>)(\s*)(@partial-block)', bygroups(Keyword, Text, Keyword)),
1876
+ (r'(#?>)(\s*)([\w-]+)', bygroups(Keyword, Text, Name.Variable)),
1877
+ (r'(>)(\s*)(\()', bygroups(Keyword, Text, Punctuation),
1878
+ 'dynamic-partial'),
1879
+
1880
+ include('generic'),
1881
+ ],
1882
+ 'dynamic-partial': [
1883
+ (r'\s+', Text),
1884
+ (r'\)', Punctuation, '#pop'),
1885
+
1886
+ (r'(lookup)(\s+)(\.|this)(\s+)', bygroups(Keyword, Text,
1887
+ Name.Variable, Text)),
1888
+ (r'(lookup)(\s+)(\S+)', bygroups(Keyword, Text,
1889
+ using(this, state='variable'))),
1890
+ (r'[\w-]+', Name.Function),
1891
+
1892
+ include('generic'),
1893
+ ],
1894
+ 'variable': [
1895
+ (r'[()/@a-zA-Z][\w-]*', Name.Variable),
1896
+ (r'\.[\w-]+', Name.Variable),
1897
+ (r'(this\/|\.\/|(\.\.\/)+)[\w-]+', Name.Variable),
1898
+ ],
1899
+ 'generic': [
1900
+ include('variable'),
1901
+
1902
+ # borrowed from DjangoLexer
1903
+ (r':?"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
1904
+ (r":?'(\\\\|\\[^\\]|[^'\\])*'", String.Single),
1905
+ (r"[0-9](\.[0-9]*)?(eE[+-][0-9])?[flFLdD]?|"
1906
+ r"0[xX][0-9a-fA-F]+[Ll]?", Number),
1907
+ ]
1908
+ }
1909
+
1910
+
1911
+ class HandlebarsHtmlLexer(DelegatingLexer):
1912
+ """
1913
+ Subclass of the `HandlebarsLexer` that highlights unlexed data with the
1914
+ `HtmlLexer`.
1915
+ """
1916
+
1917
+ name = "HTML+Handlebars"
1918
+ aliases = ["html+handlebars"]
1919
+ filenames = ['*.handlebars', '*.hbs']
1920
+ mimetypes = ['text/html+handlebars', 'text/x-handlebars-template']
1921
+ url = 'https://handlebarsjs.com/'
1922
+ version_added = '2.0'
1923
+
1924
+ def __init__(self, **options):
1925
+ super().__init__(HtmlLexer, HandlebarsLexer, **options)
1926
+
1927
+
1928
+ class YamlJinjaLexer(DelegatingLexer):
1929
+ """
1930
+ Subclass of the `DjangoLexer` that highlights unlexed data with the
1931
+ `YamlLexer`.
1932
+
1933
+ Commonly used in Saltstack salt states.
1934
+ """
1935
+
1936
+ name = 'YAML+Jinja'
1937
+ aliases = ['yaml+jinja', 'salt', 'sls']
1938
+ filenames = ['*.sls', '*.yaml.j2', '*.yml.j2', '*.yaml.jinja2', '*.yml.jinja2']
1939
+ mimetypes = ['text/x-yaml+jinja', 'text/x-sls']
1940
+ url = 'https://jinja.palletsprojects.com'
1941
+ version_added = '2.0'
1942
+
1943
+ def __init__(self, **options):
1944
+ super().__init__(YamlLexer, DjangoLexer, **options)
1945
+
1946
+
1947
+ class LiquidLexer(RegexLexer):
1948
+ """
1949
+ Lexer for Liquid templates.
1950
+ """
1951
+ name = 'liquid'
1952
+ url = 'https://www.rubydoc.info/github/Shopify/liquid'
1953
+ aliases = ['liquid']
1954
+ filenames = ['*.liquid']
1955
+ version_added = '2.0'
1956
+
1957
+ tokens = {
1958
+ 'root': [
1959
+ (r'[^{]+', Text),
1960
+ # tags and block tags
1961
+ (r'(\{%)(\s*)', bygroups(Punctuation, Whitespace), 'tag-or-block'),
1962
+ # output tags
1963
+ (r'(\{\{)(\s*)([^\s}]+)',
1964
+ bygroups(Punctuation, Whitespace, using(this, state = 'generic')),
1965
+ 'output'),
1966
+ (r'\{', Text)
1967
+ ],
1968
+
1969
+ 'tag-or-block': [
1970
+ # builtin logic blocks
1971
+ (r'(if|unless|elsif|case)(?=\s+)', Keyword.Reserved, 'condition'),
1972
+ (r'(when)(\s+)', bygroups(Keyword.Reserved, Whitespace),
1973
+ combined('end-of-block', 'whitespace', 'generic')),
1974
+ (r'(else)(\s*)(%\})',
1975
+ bygroups(Keyword.Reserved, Whitespace, Punctuation), '#pop'),
1976
+
1977
+ # other builtin blocks
1978
+ (r'(capture)(\s+)([^\s%]+)(\s*)(%\})',
1979
+ bygroups(Name.Tag, Whitespace, using(this, state = 'variable'),
1980
+ Whitespace, Punctuation), '#pop'),
1981
+ (r'(comment)(\s*)(%\})',
1982
+ bygroups(Name.Tag, Whitespace, Punctuation), 'comment'),
1983
+ (r'(raw)(\s*)(%\})',
1984
+ bygroups(Name.Tag, Whitespace, Punctuation), 'raw'),
1985
+
1986
+ # end of block
1987
+ (r'(end(case|unless|if))(\s*)(%\})',
1988
+ bygroups(Keyword.Reserved, None, Whitespace, Punctuation), '#pop'),
1989
+ (r'(end([^\s%]+))(\s*)(%\})',
1990
+ bygroups(Name.Tag, None, Whitespace, Punctuation), '#pop'),
1991
+
1992
+ # builtin tags (assign and include are handled together with usual tags)
1993
+ (r'(cycle)(\s+)(?:([^\s:]*)(:))?(\s*)',
1994
+ bygroups(Name.Tag, Whitespace,
1995
+ using(this, state='generic'), Punctuation, Whitespace),
1996
+ 'variable-tag-markup'),
1997
+
1998
+ # other tags or blocks
1999
+ (r'([^\s%]+)(\s*)', bygroups(Name.Tag, Whitespace), 'tag-markup')
2000
+ ],
2001
+
2002
+ 'output': [
2003
+ include('whitespace'),
2004
+ (r'\}\}', Punctuation, '#pop'), # end of output
2005
+
2006
+ (r'\|', Punctuation, 'filters')
2007
+ ],
2008
+
2009
+ 'filters': [
2010
+ include('whitespace'),
2011
+ (r'\}\}', Punctuation, ('#pop', '#pop')), # end of filters and output
2012
+
2013
+ (r'([^\s|:]+)(:?)(\s*)',
2014
+ bygroups(Name.Function, Punctuation, Whitespace), 'filter-markup')
2015
+ ],
2016
+
2017
+ 'filter-markup': [
2018
+ (r'\|', Punctuation, '#pop'),
2019
+ include('end-of-tag'),
2020
+ include('default-param-markup')
2021
+ ],
2022
+
2023
+ 'condition': [
2024
+ include('end-of-block'),
2025
+ include('whitespace'),
2026
+
2027
+ (r'([^\s=!><]+)(\s*)([=!><]=?)(\s*)(\S+)(\s*)(%\})',
2028
+ bygroups(using(this, state = 'generic'), Whitespace, Operator,
2029
+ Whitespace, using(this, state = 'generic'), Whitespace,
2030
+ Punctuation)),
2031
+ (r'\b!', Operator),
2032
+ (r'\bnot\b', Operator.Word),
2033
+ (r'([\w.\'"]+)(\s+)(contains)(\s+)([\w.\'"]+)',
2034
+ bygroups(using(this, state = 'generic'), Whitespace, Operator.Word,
2035
+ Whitespace, using(this, state = 'generic'))),
2036
+
2037
+ include('generic'),
2038
+ include('whitespace')
2039
+ ],
2040
+
2041
+ 'generic-value': [
2042
+ include('generic'),
2043
+ include('end-at-whitespace')
2044
+ ],
2045
+
2046
+ 'operator': [
2047
+ (r'(\s*)((=|!|>|<)=?)(\s*)',
2048
+ bygroups(Whitespace, Operator, None, Whitespace), '#pop'),
2049
+ (r'(\s*)(\bcontains\b)(\s*)',
2050
+ bygroups(Whitespace, Operator.Word, Whitespace), '#pop'),
2051
+ ],
2052
+
2053
+ 'end-of-tag': [
2054
+ (r'\}\}', Punctuation, '#pop')
2055
+ ],
2056
+
2057
+ 'end-of-block': [
2058
+ (r'%\}', Punctuation, ('#pop', '#pop'))
2059
+ ],
2060
+
2061
+ 'end-at-whitespace': [
2062
+ (r'\s+', Whitespace, '#pop')
2063
+ ],
2064
+
2065
+ # states for unknown markup
2066
+ 'param-markup': [
2067
+ include('whitespace'),
2068
+ # params with colons or equals
2069
+ (r'([^\s=:]+)(\s*)(=|:)',
2070
+ bygroups(Name.Attribute, Whitespace, Operator)),
2071
+ # explicit variables
2072
+ (r'(\{\{)(\s*)([^\s}])(\s*)(\}\})',
2073
+ bygroups(Punctuation, Whitespace, using(this, state = 'variable'),
2074
+ Whitespace, Punctuation)),
2075
+
2076
+ include('string'),
2077
+ include('number'),
2078
+ include('keyword'),
2079
+ (r',', Punctuation)
2080
+ ],
2081
+
2082
+ 'default-param-markup': [
2083
+ include('param-markup'),
2084
+ (r'.', Text) # fallback for switches / variables / un-quoted strings / ...
2085
+ ],
2086
+
2087
+ 'variable-param-markup': [
2088
+ include('param-markup'),
2089
+ include('variable'),
2090
+ (r'.', Text) # fallback
2091
+ ],
2092
+
2093
+ 'tag-markup': [
2094
+ (r'%\}', Punctuation, ('#pop', '#pop')), # end of tag
2095
+ include('default-param-markup')
2096
+ ],
2097
+
2098
+ 'variable-tag-markup': [
2099
+ (r'%\}', Punctuation, ('#pop', '#pop')), # end of tag
2100
+ include('variable-param-markup')
2101
+ ],
2102
+
2103
+ # states for different values types
2104
+ 'keyword': [
2105
+ (r'\b(false|true)\b', Keyword.Constant)
2106
+ ],
2107
+
2108
+ 'variable': [
2109
+ (r'[a-zA-Z_]\w*', Name.Variable),
2110
+ (r'(?<=\w)\.(?=\w)', Punctuation)
2111
+ ],
2112
+
2113
+ 'string': [
2114
+ (r"'[^']*'", String.Single),
2115
+ (r'"[^"]*"', String.Double)
2116
+ ],
2117
+
2118
+ 'number': [
2119
+ (r'\d+\.\d+', Number.Float),
2120
+ (r'\d+', Number.Integer)
2121
+ ],
2122
+
2123
+ 'generic': [ # decides for variable, string, keyword or number
2124
+ include('keyword'),
2125
+ include('string'),
2126
+ include('number'),
2127
+ include('variable')
2128
+ ],
2129
+
2130
+ 'whitespace': [
2131
+ (r'[ \t]+', Whitespace)
2132
+ ],
2133
+
2134
+ # states for builtin blocks
2135
+ 'comment': [
2136
+ (r'(\{%)(\s*)(endcomment)(\s*)(%\})',
2137
+ bygroups(Punctuation, Whitespace, Name.Tag, Whitespace,
2138
+ Punctuation), ('#pop', '#pop')),
2139
+ (r'.', Comment)
2140
+ ],
2141
+
2142
+ 'raw': [
2143
+ (r'[^{]+', Text),
2144
+ (r'(\{%)(\s*)(endraw)(\s*)(%\})',
2145
+ bygroups(Punctuation, Whitespace, Name.Tag, Whitespace,
2146
+ Punctuation), '#pop'),
2147
+ (r'\{', Text)
2148
+ ],
2149
+ }
2150
+
2151
+
2152
+ class TwigLexer(RegexLexer):
2153
+ """
2154
+ Twig template lexer.
2155
+
2156
+ It just highlights Twig code between the preprocessor directives,
2157
+ other data is left untouched by the lexer.
2158
+ """
2159
+
2160
+ name = 'Twig'
2161
+ aliases = ['twig']
2162
+ mimetypes = ['application/x-twig']
2163
+ url = 'https://twig.symfony.com'
2164
+ version_added = '2.0'
2165
+
2166
+ flags = re.M | re.S
2167
+
2168
+ # Note that a backslash is included in the following two patterns
2169
+ # PHP uses a backslash as a namespace separator
2170
+ _ident_char = r'[\\\w-]|[^\x00-\x7f]'
2171
+ _ident_begin = r'(?:[\\_a-z]|[^\x00-\x7f])'
2172
+ _ident_end = r'(?:' + _ident_char + ')*'
2173
+ _ident_inner = _ident_begin + _ident_end
2174
+
2175
+ tokens = {
2176
+ 'root': [
2177
+ (r'[^{]+', Other),
2178
+ (r'\{\{', Comment.Preproc, 'var'),
2179
+ # twig comments
2180
+ (r'\{\#.*?\#\}', Comment),
2181
+ # raw twig blocks
2182
+ (r'(\{%)(-?\s*)(raw)(\s*-?)(%\})(.*?)'
2183
+ r'(\{%)(-?\s*)(endraw)(\s*-?)(%\})',
2184
+ bygroups(Comment.Preproc, Text, Keyword, Text, Comment.Preproc,
2185
+ Other, Comment.Preproc, Text, Keyword, Text,
2186
+ Comment.Preproc)),
2187
+ (r'(\{%)(-?\s*)(verbatim)(\s*-?)(%\})(.*?)'
2188
+ r'(\{%)(-?\s*)(endverbatim)(\s*-?)(%\})',
2189
+ bygroups(Comment.Preproc, Text, Keyword, Text, Comment.Preproc,
2190
+ Other, Comment.Preproc, Text, Keyword, Text,
2191
+ Comment.Preproc)),
2192
+ # filter blocks
2193
+ (rf'(\{{%)(-?\s*)(filter)(\s+)({_ident_inner})',
2194
+ bygroups(Comment.Preproc, Text, Keyword, Text, Name.Function),
2195
+ 'tag'),
2196
+ (r'(\{%)(-?\s*)([a-zA-Z_]\w*)',
2197
+ bygroups(Comment.Preproc, Text, Keyword), 'tag'),
2198
+ (r'\{', Other),
2199
+ ],
2200
+ 'varnames': [
2201
+ (rf'(\|)(\s*)({_ident_inner})',
2202
+ bygroups(Operator, Text, Name.Function)),
2203
+ (rf'(is)(\s+)(not)?(\s*)({_ident_inner})',
2204
+ bygroups(Keyword, Text, Keyword, Text, Name.Function)),
2205
+ (r'(?i)(true|false|none|null)\b', Keyword.Pseudo),
2206
+ (r'(in|not|and|b-and|or|b-or|b-xor|is'
2207
+ r'if|elseif|else|import'
2208
+ r'constant|defined|divisibleby|empty|even|iterable|odd|sameas'
2209
+ r'matches|starts\s+with|ends\s+with)\b',
2210
+ Keyword),
2211
+ (r'(loop|block|parent)\b', Name.Builtin),
2212
+ (_ident_inner, Name.Variable),
2213
+ (r'\.' + _ident_inner, Name.Variable),
2214
+ (r'\.[0-9]+', Number),
2215
+ (r':?"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
2216
+ (r":?'(\\\\|\\[^\\]|[^'\\])*'", String.Single),
2217
+ (r'([{}()\[\]+\-*/,:~%]|\.\.|\?|:|\*\*|\/\/|!=|[><=]=?)', Operator),
2218
+ (r"[0-9](\.[0-9]*)?(eE[+-][0-9])?[flFLdD]?|"
2219
+ r"0[xX][0-9a-fA-F]+[Ll]?", Number),
2220
+ ],
2221
+ 'var': [
2222
+ (r'\s+', Text),
2223
+ (r'(-?)(\}\})', bygroups(Text, Comment.Preproc), '#pop'),
2224
+ include('varnames')
2225
+ ],
2226
+ 'tag': [
2227
+ (r'\s+', Text),
2228
+ (r'(-?)(%\})', bygroups(Text, Comment.Preproc), '#pop'),
2229
+ include('varnames'),
2230
+ (r'.', Punctuation),
2231
+ ],
2232
+ }
2233
+
2234
+
2235
+ class TwigHtmlLexer(DelegatingLexer):
2236
+ """
2237
+ Subclass of the `TwigLexer` that highlights unlexed data with the
2238
+ `HtmlLexer`.
2239
+ """
2240
+
2241
+ name = "HTML+Twig"
2242
+ aliases = ["html+twig"]
2243
+ filenames = ['*.twig']
2244
+ mimetypes = ['text/html+twig']
2245
+ url = 'https://twig.symfony.com'
2246
+ version_added = '2.0'
2247
+
2248
+ def __init__(self, **options):
2249
+ super().__init__(HtmlLexer, TwigLexer, **options)
2250
+
2251
+
2252
+ class Angular2Lexer(RegexLexer):
2253
+ """
2254
+ Generic angular2 template lexer.
2255
+
2256
+ Highlights only the Angular template tags (stuff between `{{` and `}}` and
2257
+ special attributes: '(event)=', '[property]=', '[(twoWayBinding)]=').
2258
+ Everything else is left for a delegating lexer.
2259
+ """
2260
+
2261
+ name = "Angular2"
2262
+ url = 'https://angular.io/guide/template-syntax'
2263
+ aliases = ['ng2']
2264
+ version_added = '2.1'
2265
+
2266
+ tokens = {
2267
+ 'root': [
2268
+ (r'[^{([*#]+', Other),
2269
+
2270
+ # {{meal.name}}
2271
+ (r'(\{\{)(\s*)', bygroups(Comment.Preproc, Text), 'ngExpression'),
2272
+
2273
+ # (click)="deleteOrder()"; [value]="test"; [(twoWayTest)]="foo.bar"
2274
+ (r'([([]+)([\w:.-]+)([\])]+)(\s*)(=)(\s*)',
2275
+ bygroups(Punctuation, Name.Attribute, Punctuation, Text, Operator, Text),
2276
+ 'attr'),
2277
+ (r'([([]+)([\w:.-]+)([\])]+)(\s*)',
2278
+ bygroups(Punctuation, Name.Attribute, Punctuation, Text)),
2279
+
2280
+ # *ngIf="..."; #f="ngForm"
2281
+ (r'([*#])([\w:.-]+)(\s*)(=)(\s*)',
2282
+ bygroups(Punctuation, Name.Attribute, Text, Operator, Text), 'attr'),
2283
+ (r'([*#])([\w:.-]+)(\s*)',
2284
+ bygroups(Punctuation, Name.Attribute, Text)),
2285
+ ],
2286
+
2287
+ 'ngExpression': [
2288
+ (r'\s+(\|\s+)?', Text),
2289
+ (r'\}\}', Comment.Preproc, '#pop'),
2290
+
2291
+ # Literals
2292
+ (r':?(true|false)', String.Boolean),
2293
+ (r':?"(\\\\|\\[^\\]|[^"\\])*"', String.Double),
2294
+ (r":?'(\\\\|\\[^\\]|[^'\\])*'", String.Single),
2295
+ (r"[0-9](\.[0-9]*)?(eE[+-][0-9])?[flFLdD]?|"
2296
+ r"0[xX][0-9a-fA-F]+[Ll]?", Number),
2297
+
2298
+ # Variabletext
2299
+ (r'[a-zA-Z][\w-]*(\(.*\))?', Name.Variable),
2300
+ (r'\.[\w-]+(\(.*\))?', Name.Variable),
2301
+
2302
+ # inline If
2303
+ (r'(\?)(\s*)([^}\s]+)(\s*)(:)(\s*)([^}\s]+)(\s*)',
2304
+ bygroups(Operator, Text, String, Text, Operator, Text, String, Text)),
2305
+ ],
2306
+ 'attr': [
2307
+ ('".*?"', String, '#pop'),
2308
+ ("'.*?'", String, '#pop'),
2309
+ (r'[^\s>]+', String, '#pop'),
2310
+ ],
2311
+ }
2312
+
2313
+
2314
+ class Angular2HtmlLexer(DelegatingLexer):
2315
+ """
2316
+ Subclass of the `Angular2Lexer` that highlights unlexed data with the
2317
+ `HtmlLexer`.
2318
+ """
2319
+
2320
+ name = "HTML + Angular2"
2321
+ aliases = ["html+ng2"]
2322
+ filenames = ['*.ng2']
2323
+ url = 'https://angular.io/guide/template-syntax'
2324
+ version_added = '2.0'
2325
+
2326
+ def __init__(self, **options):
2327
+ super().__init__(HtmlLexer, Angular2Lexer, **options)
2328
+
2329
+
2330
+ class SqlJinjaLexer(DelegatingLexer):
2331
+ """
2332
+ Templated SQL lexer.
2333
+ """
2334
+
2335
+ name = 'SQL+Jinja'
2336
+ aliases = ['sql+jinja']
2337
+ filenames = ['*.sql', '*.sql.j2', '*.sql.jinja2']
2338
+ url = 'https://jinja.palletsprojects.com'
2339
+ version_added = '2.13'
2340
+
2341
+ def __init__(self, **options):
2342
+ super().__init__(SqlLexer, DjangoLexer, **options)
2343
+
2344
+ def analyse_text(text):
2345
+ rv = 0.0
2346
+ # dbt's ref function
2347
+ if re.search(r'\{\{\s*ref\(.*\)\s*\}\}', text):
2348
+ rv += 0.4
2349
+ # dbt's source function
2350
+ if re.search(r'\{\{\s*source\(.*\)\s*\}\}', text):
2351
+ rv += 0.25
2352
+ # Jinja macro
2353
+ if re.search(r'\{%-?\s*macro \w+\(.*\)\s*-?%\}', text):
2354
+ rv += 0.15
2355
+ return rv