Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments-2.20.0.dist-info/licenses/AUTHORS +292 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments-2.20.0.dist-info/licenses/LICENSE +25 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/__init__.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/__main__.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/cmdline.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/console.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/filter.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/formatter.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/lexer.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/modeline.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/plugin.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/regexopt.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/scanner.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/sphinxext.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/style.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/token.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/unistring.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/util.cpython-311.pyc +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/filters/__init__.py +942 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/__init__.py +157 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/_mapping.py +23 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/bbcode.py +108 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/groff.py +170 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/html.py +997 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/img.py +686 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/irc.py +153 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/latex.py +518 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/other.py +160 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/pangomarkup.py +83 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/rtf.py +349 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/svg.py +185 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/terminal.py +127 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/terminal256.py +338 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/__init__.py +362 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_ada_builtins.py +103 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_asy_builtins.py +1644 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_cl_builtins.py +231 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_cocoa_builtins.py +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_csound_builtins.py +1780 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_css_builtins.py +558 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_googlesql_builtins.py +918 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_julia_builtins.py +411 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_lasso_builtins.py +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_lilypond_builtins.py +0 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_lua_builtins.py +285 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_luau_builtins.py +62 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_mapping.py +603 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_mql_builtins.py +1171 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_mysql_builtins.py +1384 -0
- micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_openedge_builtins.py +2600 -0
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments-2.20.0.dist-info/licenses/AUTHORS
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Pygments is written and maintained by Georg Brandl <georg@python.org>.
|
| 2 |
+
|
| 3 |
+
Major developers are Tim Hatch <tim@timhatch.com> and Armin Ronacher
|
| 4 |
+
<armin.ronacher@active-4.com>.
|
| 5 |
+
|
| 6 |
+
Other contributors, listed alphabetically, are:
|
| 7 |
+
|
| 8 |
+
* Sam Aaron -- Ioke lexer
|
| 9 |
+
* Jean Abou Samra -- LilyPond lexer
|
| 10 |
+
* João Abecasis -- JSLT lexer
|
| 11 |
+
* Ali Afshar -- image formatter
|
| 12 |
+
* Thomas Aglassinger -- Easytrieve, JCL, Rexx, Transact-SQL and VBScript
|
| 13 |
+
lexers
|
| 14 |
+
* Maxence Ahlouche -- PostgreSQL Explain lexer
|
| 15 |
+
* Muthiah Annamalai -- Ezhil lexer
|
| 16 |
+
* Nikolay Antipov -- OpenSCAD lexer
|
| 17 |
+
* Kumar Appaiah -- Debian control lexer
|
| 18 |
+
* Andreas Amann -- AppleScript lexer
|
| 19 |
+
* Timothy Armstrong -- Dart lexer fixes
|
| 20 |
+
* Jeffrey Arnold -- R/S, Rd, BUGS, Jags, and Stan lexers
|
| 21 |
+
* Eiríkr Åsheim -- Uxntal lexer
|
| 22 |
+
* Jeremy Ashkenas -- CoffeeScript lexer
|
| 23 |
+
* José Joaquín Atria -- Praat lexer
|
| 24 |
+
* Stefan Matthias Aust -- Smalltalk lexer
|
| 25 |
+
* Lucas Bajolet -- Nit lexer
|
| 26 |
+
* Ben Bangert -- Mako lexers
|
| 27 |
+
* Max Battcher -- Darcs patch lexer
|
| 28 |
+
* Thomas Baruchel -- APL lexer
|
| 29 |
+
* Tim Baumann -- (Literate) Agda lexer
|
| 30 |
+
* Paul Baumgart, 280 North, Inc. -- Objective-J lexer
|
| 31 |
+
* Michael Bayer -- Myghty lexers
|
| 32 |
+
* Thomas Beale -- Archetype lexers
|
| 33 |
+
* John Benediktsson -- Factor lexer
|
| 34 |
+
* David Benjamin, Google LLC -- TLS lexer
|
| 35 |
+
* Trevor Bergeron -- mIRC formatter
|
| 36 |
+
* Vincent Bernat -- LessCSS lexer
|
| 37 |
+
* Christopher Bertels -- Fancy lexer
|
| 38 |
+
* Sébastien Bigaret -- QVT Operational lexer
|
| 39 |
+
* Jarrett Billingsley -- MiniD lexer
|
| 40 |
+
* Adam Blinkinsop -- Haskell, Redcode lexers
|
| 41 |
+
* Stéphane Blondon -- Procfile, SGF and Sieve lexers
|
| 42 |
+
* Frits van Bommel -- assembler lexers
|
| 43 |
+
* Pierre Bourdon -- bugfixes
|
| 44 |
+
* Martijn Braam -- Kernel log lexer, BARE lexer
|
| 45 |
+
* JD Browne, Google LLC -- GoogleSQL lexer
|
| 46 |
+
* Matthias Bussonnier -- ANSI style handling for terminal-256 formatter
|
| 47 |
+
* chebee7i -- Python traceback lexer improvements
|
| 48 |
+
* Hiram Chirino -- Scaml and Jade lexers
|
| 49 |
+
* Mauricio Caceres -- SAS and Stata lexers.
|
| 50 |
+
* Michael Camilleri, John Gabriele, sogaiu -- Janet lexer
|
| 51 |
+
* Daren Chandisingh -- Gleam lexer
|
| 52 |
+
* Ian Cooper -- VGL lexer
|
| 53 |
+
* David Corbett -- Inform, Jasmin, JSGF, Snowball, and TADS 3 lexers
|
| 54 |
+
* Leaf Corcoran -- MoonScript lexer
|
| 55 |
+
* Fraser Cormack -- TableGen lexer
|
| 56 |
+
* Gabriel Corona -- ASN.1 lexer
|
| 57 |
+
* Christopher Creutzig -- MuPAD lexer
|
| 58 |
+
* Daniël W. Crompton -- Pike lexer
|
| 59 |
+
* Pete Curry -- bugfixes
|
| 60 |
+
* Bryan Davis -- EBNF lexer
|
| 61 |
+
* Bruno Deferrari -- Shen lexer
|
| 62 |
+
* Walter Dörwald -- UL4 lexer
|
| 63 |
+
* Luke Drummond -- Meson lexer
|
| 64 |
+
* Giedrius Dubinskas -- HTML formatter improvements
|
| 65 |
+
* Owen Durni -- Haxe lexer
|
| 66 |
+
* Alexander Dutton, Oxford University Computing Services -- SPARQL lexer
|
| 67 |
+
* James Edwards -- Terraform lexer
|
| 68 |
+
* Nick Efford -- Python 3 lexer
|
| 69 |
+
* Sven Efftinge -- Xtend lexer
|
| 70 |
+
* Artem Egorkine -- terminal256 formatter
|
| 71 |
+
* Matthew Fernandez -- CAmkES lexer
|
| 72 |
+
* Paweł Fertyk -- GDScript lexer, HTML formatter improvements
|
| 73 |
+
* Michael Ficarra -- CPSA lexer
|
| 74 |
+
* James H. Fisher -- PostScript lexer
|
| 75 |
+
* Amanda Fitch, Google LLC -- GoogleSQL lexer
|
| 76 |
+
* William S. Fulton -- SWIG lexer
|
| 77 |
+
* Carlos Galdino -- Elixir and Elixir Console lexers
|
| 78 |
+
* Michael Galloy -- IDL lexer
|
| 79 |
+
* Naveen Garg -- Autohotkey lexer
|
| 80 |
+
* Simon Garnotel -- FreeFem++ lexer
|
| 81 |
+
* Laurent Gautier -- R/S lexer
|
| 82 |
+
* Alex Gaynor -- PyPy log lexer
|
| 83 |
+
* Richard Gerkin -- Igor Pro lexer
|
| 84 |
+
* Alain Gilbert -- TypeScript lexer
|
| 85 |
+
* Alex Gilding -- BlitzBasic lexer
|
| 86 |
+
* GitHub, Inc -- DASM16, Augeas, TOML, and Slash lexers
|
| 87 |
+
* Bertrand Goetzmann -- Groovy lexer
|
| 88 |
+
* Krzysiek Goj -- Scala lexer
|
| 89 |
+
* Rostyslav Golda -- FloScript lexer
|
| 90 |
+
* Andrey Golovizin -- BibTeX lexers
|
| 91 |
+
* Matt Good -- Genshi, Cheetah lexers
|
| 92 |
+
* Michał Górny -- vim modeline support
|
| 93 |
+
* Alex Gosse -- TrafficScript lexer
|
| 94 |
+
* Patrick Gotthardt -- PHP namespaces support
|
| 95 |
+
* Hubert Gruniaux -- C and C++ lexer improvements
|
| 96 |
+
* Olivier Guibe -- Asymptote lexer
|
| 97 |
+
* Phil Hagelberg -- Fennel lexer
|
| 98 |
+
* Florian Hahn -- Boogie lexer
|
| 99 |
+
* Martin Harriman -- SNOBOL lexer
|
| 100 |
+
* Matthew Harrison -- SVG formatter
|
| 101 |
+
* Steven Hazel -- Tcl lexer
|
| 102 |
+
* Dan Michael Heggø -- Turtle lexer
|
| 103 |
+
* Aslak Hellesøy -- Gherkin lexer
|
| 104 |
+
* Greg Hendershott -- Racket lexer
|
| 105 |
+
* Justin Hendrick -- ParaSail lexer
|
| 106 |
+
* Jordi Gutiérrez Hermoso -- Octave lexer
|
| 107 |
+
* David Hess, Fish Software, Inc. -- Objective-J lexer
|
| 108 |
+
* Ken Hilton -- Typographic Number Theory and Arrow lexers
|
| 109 |
+
* Varun Hiremath -- Debian control lexer
|
| 110 |
+
* Rob Hoelz -- Perl 6 lexer
|
| 111 |
+
* Doug Hogan -- Mscgen lexer
|
| 112 |
+
* Ben Hollis -- Mason lexer
|
| 113 |
+
* Max Horn -- GAP lexer
|
| 114 |
+
* Fred Hornsey -- OMG IDL Lexer
|
| 115 |
+
* Alastair Houghton -- Lexer inheritance facility
|
| 116 |
+
* Tim Howard -- BlitzMax lexer
|
| 117 |
+
* Dustin Howett -- Logos lexer
|
| 118 |
+
* Ivan Inozemtsev -- Fantom lexer
|
| 119 |
+
* Hiroaki Itoh -- Shell console rewrite, Lexers for PowerShell session,
|
| 120 |
+
MSDOS session, BC, WDiff
|
| 121 |
+
* Brian R. Jackson -- Tea lexer
|
| 122 |
+
* Alex Jeffery, ChromaWay AB -- Rell lexer
|
| 123 |
+
* Christian Jann -- ShellSession lexer
|
| 124 |
+
* Jonas Camillus Jeppesen -- Line numbers and line highlighting for
|
| 125 |
+
RTF-formatter
|
| 126 |
+
* Dennis Kaarsemaker -- sources.list lexer
|
| 127 |
+
* Dmitri Kabak -- Inferno Limbo lexer
|
| 128 |
+
* Igor Kalnitsky -- vhdl lexer
|
| 129 |
+
* Colin Kennedy - USD lexer
|
| 130 |
+
* Alexander Kit -- MaskJS lexer
|
| 131 |
+
* Pekka Klärck -- Robot Framework lexer
|
| 132 |
+
* Gerwin Klein -- Isabelle lexer
|
| 133 |
+
* Eric Knibbe -- Lasso lexer
|
| 134 |
+
* Stepan Koltsov -- Clay lexer
|
| 135 |
+
* Oliver Kopp - Friendly grayscale style
|
| 136 |
+
* Adam Koprowski -- Opa lexer
|
| 137 |
+
* Benjamin Kowarsch -- Modula-2 lexer
|
| 138 |
+
* Domen Kožar -- Nix lexer
|
| 139 |
+
* Oleh Krekel -- Emacs Lisp lexer
|
| 140 |
+
* Alexander Kriegisch -- Kconfig and AspectJ lexers
|
| 141 |
+
* Marek Kubica -- Scheme lexer
|
| 142 |
+
* Jochen Kupperschmidt -- Markdown processor
|
| 143 |
+
* Gerd Kurzbach -- Modelica lexer
|
| 144 |
+
* Jon Larimer, Google Inc. -- Smali lexer
|
| 145 |
+
* Olov Lassus -- Dart lexer
|
| 146 |
+
* Matt Layman -- TAP lexer
|
| 147 |
+
* Dan Lazin, Google LLC -- GoogleSQL lexer
|
| 148 |
+
* Kristian Lyngstøl -- Varnish lexers
|
| 149 |
+
* Sylvestre Ledru -- Scilab lexer
|
| 150 |
+
* Chee Sing Lee -- Flatline lexer
|
| 151 |
+
* Mark Lee -- Vala lexer
|
| 152 |
+
* Thomas Linder Puls -- Visual Prolog lexer
|
| 153 |
+
* Pete Lomax -- Phix lexer
|
| 154 |
+
* Valentin Lorentz -- C++ lexer improvements
|
| 155 |
+
* Ben Mabey -- Gherkin lexer
|
| 156 |
+
* Angus MacArthur -- QML lexer
|
| 157 |
+
* Louis Mandel -- X10 lexer
|
| 158 |
+
* Louis Marchand -- Eiffel lexer
|
| 159 |
+
* Simone Margaritelli -- Hybris lexer
|
| 160 |
+
* Tim Martin - World of Warcraft TOC lexer
|
| 161 |
+
* Kirk McDonald -- D lexer
|
| 162 |
+
* Gordon McGregor -- SystemVerilog lexer
|
| 163 |
+
* Stephen McKamey -- Duel/JBST lexer
|
| 164 |
+
* Brian McKenna -- F# lexer
|
| 165 |
+
* Charles McLaughlin -- Puppet lexer
|
| 166 |
+
* Kurt McKee -- Tera Term macro lexer, PostgreSQL updates, MySQL overhaul, JSON lexer
|
| 167 |
+
* Joe Eli McIlvain -- Savi lexer
|
| 168 |
+
* Lukas Meuser -- BBCode formatter, Lua lexer
|
| 169 |
+
* Cat Miller -- Pig lexer
|
| 170 |
+
* Paul Miller -- LiveScript lexer
|
| 171 |
+
* Hong Minhee -- HTTP lexer
|
| 172 |
+
* Michael Mior -- Awk lexer
|
| 173 |
+
* Bruce Mitchener -- Dylan lexer rewrite
|
| 174 |
+
* Reuben Morais -- SourcePawn lexer
|
| 175 |
+
* Jon Morton -- Rust lexer
|
| 176 |
+
* Paulo Moura -- Logtalk lexer
|
| 177 |
+
* Mher Movsisyan -- DTD lexer
|
| 178 |
+
* Dejan Muhamedagic -- Crmsh lexer
|
| 179 |
+
* Adrien Nayrat -- PostgreSQL Explain lexer
|
| 180 |
+
* Ana Nelson -- Ragel, ANTLR, R console lexers
|
| 181 |
+
* David Neto, Google LLC -- WebGPU Shading Language lexer
|
| 182 |
+
* Kurt Neufeld -- Markdown lexer
|
| 183 |
+
* Nam T. Nguyen -- Monokai style
|
| 184 |
+
* Jesper Noehr -- HTML formatter "anchorlinenos"
|
| 185 |
+
* Mike Nolta -- Julia lexer
|
| 186 |
+
* Avery Nortonsmith -- Pointless lexer
|
| 187 |
+
* Jonas Obrist -- BBCode lexer
|
| 188 |
+
* Edward O'Callaghan -- Cryptol lexer
|
| 189 |
+
* David Oliva -- Rebol lexer
|
| 190 |
+
* Pat Pannuto -- nesC lexer
|
| 191 |
+
* Jon Parise -- Protocol buffers and Thrift lexers
|
| 192 |
+
* Benjamin Peterson -- Test suite refactoring
|
| 193 |
+
* Ronny Pfannschmidt -- BBCode lexer
|
| 194 |
+
* Dominik Picheta -- Nimrod lexer
|
| 195 |
+
* Andrew Pinkham -- RTF Formatter Refactoring
|
| 196 |
+
* Clément Prévost -- UrbiScript lexer
|
| 197 |
+
* Tanner Prynn -- cmdline -x option and loading lexers from files
|
| 198 |
+
* Oleh Prypin -- Crystal lexer (based on Ruby lexer)
|
| 199 |
+
* Nick Psaris -- K and Q lexers
|
| 200 |
+
* Xidorn Quan -- Web IDL lexer
|
| 201 |
+
* Elias Rabel -- Fortran fixed form lexer
|
| 202 |
+
* raichoo -- Idris lexer
|
| 203 |
+
* Daniel Ramirez -- GDScript lexer
|
| 204 |
+
* Kashif Rasul -- CUDA lexer
|
| 205 |
+
* Nathan Reed -- HLSL lexer
|
| 206 |
+
* Justin Reidy -- MXML lexer
|
| 207 |
+
* Jonathon Reinhart, Google LLC -- Soong lexer
|
| 208 |
+
* Norman Richards -- JSON lexer
|
| 209 |
+
* Corey Richardson -- Rust lexer updates
|
| 210 |
+
* Fabrizio Riguzzi -- cplint leder
|
| 211 |
+
* Lubomir Rintel -- GoodData MAQL and CL lexers
|
| 212 |
+
* Andre Roberge -- Tango style
|
| 213 |
+
* Georg Rollinger -- HSAIL lexer
|
| 214 |
+
* Michiel Roos -- TypoScript lexer
|
| 215 |
+
* Konrad Rudolph -- LaTeX formatter enhancements
|
| 216 |
+
* Mario Ruggier -- Evoque lexers
|
| 217 |
+
* Miikka Salminen -- Lovelace style, Hexdump lexer, lexer enhancements
|
| 218 |
+
* Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers
|
| 219 |
+
* Matteo Sasso -- Common Lisp lexer
|
| 220 |
+
* Joe Schafer -- Ada lexer
|
| 221 |
+
* Max Schillinger -- TiddlyWiki5 lexer
|
| 222 |
+
* Andrew Schmidt -- X++ lexer
|
| 223 |
+
* Ken Schutte -- Matlab lexers
|
| 224 |
+
* René Schwaiger -- Rainbow Dash style
|
| 225 |
+
* Sebastian Schweizer -- Whiley lexer
|
| 226 |
+
* Tassilo Schweyer -- Io, MOOCode lexers
|
| 227 |
+
* Pablo Seminario -- PromQL lexer
|
| 228 |
+
* Ted Shaw -- AutoIt lexer
|
| 229 |
+
* Joerg Sieker -- ABAP lexer
|
| 230 |
+
* Robert Simmons -- Standard ML lexer
|
| 231 |
+
* Kirill Simonov -- YAML lexer
|
| 232 |
+
* Corbin Simpson -- Monte lexer
|
| 233 |
+
* Ville Skyttä -- ASCII armored lexer
|
| 234 |
+
* Alexander Smishlajev -- Visual FoxPro lexer
|
| 235 |
+
* Steve Spigarelli -- XQuery lexer
|
| 236 |
+
* Jerome St-Louis -- eC lexer
|
| 237 |
+
* Camil Staps -- Clean and NuSMV lexers; Solarized style
|
| 238 |
+
* James Strachan -- Kotlin lexer
|
| 239 |
+
* Tom Stuart -- Treetop lexer
|
| 240 |
+
* Colin Sullivan -- SuperCollider lexer
|
| 241 |
+
* Ben Swift -- Extempore lexer
|
| 242 |
+
* tatt61880 -- Kuin lexer
|
| 243 |
+
* Edoardo Tenani -- Arduino lexer
|
| 244 |
+
* Tiberius Teng -- default style overhaul
|
| 245 |
+
* Jeremy Thurgood -- Erlang, Squid config lexers
|
| 246 |
+
* Brian Tiffin -- OpenCOBOL lexer
|
| 247 |
+
* Bob Tolbert -- Hy lexer
|
| 248 |
+
* Doug Torrance -- Macaulay2 lexer
|
| 249 |
+
* Matthias Trute -- Forth lexer
|
| 250 |
+
* Tuoa Spi T4 -- Bdd lexer
|
| 251 |
+
* Erick Tryzelaar -- Felix lexer
|
| 252 |
+
* Alexander Udalov -- Kotlin lexer improvements
|
| 253 |
+
* Thomas Van Doren -- Chapel lexer
|
| 254 |
+
* Dave Van Ee -- Uxntal lexer updates
|
| 255 |
+
* Daniele Varrazzo -- PostgreSQL lexers
|
| 256 |
+
* Abe Voelker -- OpenEdge ABL lexer
|
| 257 |
+
* Pepijn de Vos -- HTML formatter CTags support
|
| 258 |
+
* Matthias Vallentin -- Bro lexer
|
| 259 |
+
* Benoît Vinot -- AMPL lexer
|
| 260 |
+
* Linh Vu Hong -- RSL lexer
|
| 261 |
+
* Taavi Väänänen -- Debian control, PHP lexers
|
| 262 |
+
* Immanuel Washington -- Smithy lexer
|
| 263 |
+
* Nathan Weizenbaum -- Haml and Sass lexers
|
| 264 |
+
* Nathan Whetsell -- Csound lexers
|
| 265 |
+
* Dietmar Winkler -- Modelica lexer
|
| 266 |
+
* Nils Winter -- Smalltalk lexer
|
| 267 |
+
* Davy Wybiral -- Clojure lexer
|
| 268 |
+
* Whitney Young -- ObjectiveC lexer
|
| 269 |
+
* Diego Zamboni -- CFengine3 lexer
|
| 270 |
+
* Enrique Zamudio -- Ceylon lexer
|
| 271 |
+
* Alex Zimin -- Nemerle lexer
|
| 272 |
+
* Rob Zimmerman -- Kal lexer
|
| 273 |
+
* Evgenii Zheltonozhskii -- Maple lexer
|
| 274 |
+
* Vincent Zurczak -- Roboconf lexer
|
| 275 |
+
* Hubert Gruniaux -- C and C++ lexer improvements
|
| 276 |
+
* Thomas Symalla -- AMDGPU Lexer
|
| 277 |
+
* 15b3 -- Image Formatter improvements
|
| 278 |
+
* Fabian Neumann -- CDDL lexer
|
| 279 |
+
* Thomas Duboucher -- CDDL lexer
|
| 280 |
+
* Philipp Imhof -- Pango Markup formatter
|
| 281 |
+
* Thomas Voss -- Sed lexer
|
| 282 |
+
* Martin Fischer -- WCAG contrast testing
|
| 283 |
+
* Marc Auberer -- Spice lexer
|
| 284 |
+
* Amr Hesham -- Carbon lexer
|
| 285 |
+
* diskdance -- Wikitext lexer
|
| 286 |
+
* vanillajonathan -- PRQL lexer
|
| 287 |
+
* Nikolay Antipov -- OpenSCAD lexer
|
| 288 |
+
* Markus Meyer, Nextron Systems -- YARA lexer
|
| 289 |
+
* Hannes Römer -- Mojo lexer
|
| 290 |
+
* Jan Frederik Schaefer -- PDDL lexer
|
| 291 |
+
|
| 292 |
+
Many thanks for all contributions!
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments-2.20.0.dist-info/licenses/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2006-2022 by the respective authors (see AUTHORS file).
|
| 2 |
+
All rights reserved.
|
| 3 |
+
|
| 4 |
+
Redistribution and use in source and binary forms, with or without
|
| 5 |
+
modification, are permitted provided that the following conditions are
|
| 6 |
+
met:
|
| 7 |
+
|
| 8 |
+
* Redistributions of source code must retain the above copyright
|
| 9 |
+
notice, this list of conditions and the following disclaimer.
|
| 10 |
+
|
| 11 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 12 |
+
notice, this list of conditions and the following disclaimer in the
|
| 13 |
+
documentation and/or other materials provided with the distribution.
|
| 14 |
+
|
| 15 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 16 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 17 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 18 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 19 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 20 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 21 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 22 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 23 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 24 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 25 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/__init__.cpython-311.pyc
ADDED
|
Binary file (3.81 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/__main__.cpython-311.pyc
ADDED
|
Binary file (815 Bytes). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/cmdline.cpython-311.pyc
ADDED
|
Binary file (30.2 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/console.cpython-311.pyc
ADDED
|
Binary file (3.06 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/filter.cpython-311.pyc
ADDED
|
Binary file (3.5 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/formatter.cpython-311.pyc
ADDED
|
Binary file (4.96 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/lexer.cpython-311.pyc
ADDED
|
Binary file (42.8 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/modeline.cpython-311.pyc
ADDED
|
Binary file (1.73 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/plugin.cpython-311.pyc
ADDED
|
Binary file (2.94 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/regexopt.cpython-311.pyc
ADDED
|
Binary file (5.47 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/scanner.cpython-311.pyc
ADDED
|
Binary file (4.89 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/sphinxext.cpython-311.pyc
ADDED
|
Binary file (14 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/style.cpython-311.pyc
ADDED
|
Binary file (7.46 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/token.cpython-311.pyc
ADDED
|
Binary file (7.51 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/unistring.cpython-311.pyc
ADDED
|
Binary file (33.9 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/__pycache__/util.cpython-311.pyc
ADDED
|
Binary file (15.8 kB). View file
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/filters/__init__.py
ADDED
|
@@ -0,0 +1,942 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.filters
|
| 3 |
+
~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Module containing filter lookup functions and default
|
| 6 |
+
filters.
|
| 7 |
+
|
| 8 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 9 |
+
:license: BSD, see LICENSE for details.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
import re
|
| 13 |
+
|
| 14 |
+
from pygments.token import String, Comment, Keyword, Name, Error, Whitespace, \
|
| 15 |
+
string_to_tokentype
|
| 16 |
+
from pygments.filter import Filter
|
| 17 |
+
from pygments.util import get_list_opt, get_int_opt, get_bool_opt, \
|
| 18 |
+
get_choice_opt, ClassNotFound, OptionError
|
| 19 |
+
from pygments.plugin import find_plugin_filters
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def find_filter_class(filtername):
|
| 23 |
+
"""Lookup a filter by name. Return None if not found."""
|
| 24 |
+
if filtername in FILTERS:
|
| 25 |
+
return FILTERS[filtername]
|
| 26 |
+
for name, cls in find_plugin_filters():
|
| 27 |
+
if name == filtername:
|
| 28 |
+
return cls
|
| 29 |
+
return None
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def get_filter_by_name(filtername, **options):
|
| 33 |
+
"""Return an instantiated filter.
|
| 34 |
+
|
| 35 |
+
Options are passed to the filter initializer if wanted.
|
| 36 |
+
Raise a ClassNotFound if not found.
|
| 37 |
+
"""
|
| 38 |
+
cls = find_filter_class(filtername)
|
| 39 |
+
if cls:
|
| 40 |
+
return cls(**options)
|
| 41 |
+
else:
|
| 42 |
+
raise ClassNotFound(f'filter {filtername!r} not found')
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def get_all_filters():
|
| 46 |
+
"""Return a generator of all filter names."""
|
| 47 |
+
yield from FILTERS
|
| 48 |
+
for name, _ in find_plugin_filters():
|
| 49 |
+
yield name
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
def _replace_special(ttype, value, regex, specialttype,
|
| 53 |
+
replacefunc=lambda x: x):
|
| 54 |
+
last = 0
|
| 55 |
+
for match in regex.finditer(value):
|
| 56 |
+
start, end = match.start(), match.end()
|
| 57 |
+
if start != last:
|
| 58 |
+
yield ttype, value[last:start]
|
| 59 |
+
yield specialttype, replacefunc(value[start:end])
|
| 60 |
+
last = end
|
| 61 |
+
if last != len(value):
|
| 62 |
+
yield ttype, value[last:]
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
class CodeTagFilter(Filter):
|
| 66 |
+
"""Highlight special code tags in comments and docstrings.
|
| 67 |
+
|
| 68 |
+
Options accepted:
|
| 69 |
+
|
| 70 |
+
`codetags` : list of strings
|
| 71 |
+
A list of strings that are flagged as code tags. The default is to
|
| 72 |
+
highlight ``XXX``, ``TODO``, ``FIXME``, ``BUG`` and ``NOTE``.
|
| 73 |
+
|
| 74 |
+
.. versionchanged:: 2.13
|
| 75 |
+
Now recognizes ``FIXME`` by default.
|
| 76 |
+
"""
|
| 77 |
+
|
| 78 |
+
def __init__(self, **options):
|
| 79 |
+
Filter.__init__(self, **options)
|
| 80 |
+
tags = get_list_opt(options, 'codetags',
|
| 81 |
+
['XXX', 'TODO', 'FIXME', 'BUG', 'NOTE'])
|
| 82 |
+
self.tag_re = re.compile(r'\b({})\b'.format('|'.join([
|
| 83 |
+
re.escape(tag) for tag in tags if tag
|
| 84 |
+
])))
|
| 85 |
+
|
| 86 |
+
def filter(self, lexer, stream):
|
| 87 |
+
regex = self.tag_re
|
| 88 |
+
for ttype, value in stream:
|
| 89 |
+
if ttype in String.Doc or \
|
| 90 |
+
ttype in Comment and \
|
| 91 |
+
ttype not in Comment.Preproc:
|
| 92 |
+
yield from _replace_special(ttype, value, regex, Comment.Special)
|
| 93 |
+
else:
|
| 94 |
+
yield ttype, value
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
class SymbolFilter(Filter):
|
| 98 |
+
"""Convert mathematical symbols into Unicode characters.
|
| 99 |
+
|
| 100 |
+
Examples are ``\\<longrightarrow>`` in Isabelle or
|
| 101 |
+
``\\longrightarrow`` in LaTeX.
|
| 102 |
+
|
| 103 |
+
This is mostly useful for HTML or console output when you want to
|
| 104 |
+
approximate the source rendering you'd see in an IDE.
|
| 105 |
+
|
| 106 |
+
Options accepted:
|
| 107 |
+
|
| 108 |
+
`lang` : string
|
| 109 |
+
The symbol language. Must be one of ``'isabelle'`` or
|
| 110 |
+
``'latex'``. The default is ``'isabelle'``.
|
| 111 |
+
"""
|
| 112 |
+
|
| 113 |
+
latex_symbols = {
|
| 114 |
+
'\\alpha' : '\U000003b1',
|
| 115 |
+
'\\beta' : '\U000003b2',
|
| 116 |
+
'\\gamma' : '\U000003b3',
|
| 117 |
+
'\\delta' : '\U000003b4',
|
| 118 |
+
'\\varepsilon' : '\U000003b5',
|
| 119 |
+
'\\zeta' : '\U000003b6',
|
| 120 |
+
'\\eta' : '\U000003b7',
|
| 121 |
+
'\\vartheta' : '\U000003b8',
|
| 122 |
+
'\\iota' : '\U000003b9',
|
| 123 |
+
'\\kappa' : '\U000003ba',
|
| 124 |
+
'\\lambda' : '\U000003bb',
|
| 125 |
+
'\\mu' : '\U000003bc',
|
| 126 |
+
'\\nu' : '\U000003bd',
|
| 127 |
+
'\\xi' : '\U000003be',
|
| 128 |
+
'\\pi' : '\U000003c0',
|
| 129 |
+
'\\varrho' : '\U000003c1',
|
| 130 |
+
'\\sigma' : '\U000003c3',
|
| 131 |
+
'\\tau' : '\U000003c4',
|
| 132 |
+
'\\upsilon' : '\U000003c5',
|
| 133 |
+
'\\varphi' : '\U000003c6',
|
| 134 |
+
'\\chi' : '\U000003c7',
|
| 135 |
+
'\\psi' : '\U000003c8',
|
| 136 |
+
'\\omega' : '\U000003c9',
|
| 137 |
+
'\\Gamma' : '\U00000393',
|
| 138 |
+
'\\Delta' : '\U00000394',
|
| 139 |
+
'\\Theta' : '\U00000398',
|
| 140 |
+
'\\Lambda' : '\U0000039b',
|
| 141 |
+
'\\Xi' : '\U0000039e',
|
| 142 |
+
'\\Pi' : '\U000003a0',
|
| 143 |
+
'\\Sigma' : '\U000003a3',
|
| 144 |
+
'\\Upsilon' : '\U000003a5',
|
| 145 |
+
'\\Phi' : '\U000003a6',
|
| 146 |
+
'\\Psi' : '\U000003a8',
|
| 147 |
+
'\\Omega' : '\U000003a9',
|
| 148 |
+
'\\leftarrow' : '\U00002190',
|
| 149 |
+
'\\longleftarrow' : '\U000027f5',
|
| 150 |
+
'\\rightarrow' : '\U00002192',
|
| 151 |
+
'\\longrightarrow' : '\U000027f6',
|
| 152 |
+
'\\Leftarrow' : '\U000021d0',
|
| 153 |
+
'\\Longleftarrow' : '\U000027f8',
|
| 154 |
+
'\\Rightarrow' : '\U000021d2',
|
| 155 |
+
'\\Longrightarrow' : '\U000027f9',
|
| 156 |
+
'\\leftrightarrow' : '\U00002194',
|
| 157 |
+
'\\longleftrightarrow' : '\U000027f7',
|
| 158 |
+
'\\Leftrightarrow' : '\U000021d4',
|
| 159 |
+
'\\Longleftrightarrow' : '\U000027fa',
|
| 160 |
+
'\\mapsto' : '\U000021a6',
|
| 161 |
+
'\\longmapsto' : '\U000027fc',
|
| 162 |
+
'\\relbar' : '\U00002500',
|
| 163 |
+
'\\Relbar' : '\U00002550',
|
| 164 |
+
'\\hookleftarrow' : '\U000021a9',
|
| 165 |
+
'\\hookrightarrow' : '\U000021aa',
|
| 166 |
+
'\\leftharpoondown' : '\U000021bd',
|
| 167 |
+
'\\rightharpoondown' : '\U000021c1',
|
| 168 |
+
'\\leftharpoonup' : '\U000021bc',
|
| 169 |
+
'\\rightharpoonup' : '\U000021c0',
|
| 170 |
+
'\\rightleftharpoons' : '\U000021cc',
|
| 171 |
+
'\\leadsto' : '\U0000219d',
|
| 172 |
+
'\\downharpoonleft' : '\U000021c3',
|
| 173 |
+
'\\downharpoonright' : '\U000021c2',
|
| 174 |
+
'\\upharpoonleft' : '\U000021bf',
|
| 175 |
+
'\\upharpoonright' : '\U000021be',
|
| 176 |
+
'\\restriction' : '\U000021be',
|
| 177 |
+
'\\uparrow' : '\U00002191',
|
| 178 |
+
'\\Uparrow' : '\U000021d1',
|
| 179 |
+
'\\downarrow' : '\U00002193',
|
| 180 |
+
'\\Downarrow' : '\U000021d3',
|
| 181 |
+
'\\updownarrow' : '\U00002195',
|
| 182 |
+
'\\Updownarrow' : '\U000021d5',
|
| 183 |
+
'\\langle' : '\U000027e8',
|
| 184 |
+
'\\rangle' : '\U000027e9',
|
| 185 |
+
'\\lceil' : '\U00002308',
|
| 186 |
+
'\\rceil' : '\U00002309',
|
| 187 |
+
'\\lfloor' : '\U0000230a',
|
| 188 |
+
'\\rfloor' : '\U0000230b',
|
| 189 |
+
'\\flqq' : '\U000000ab',
|
| 190 |
+
'\\frqq' : '\U000000bb',
|
| 191 |
+
'\\bot' : '\U000022a5',
|
| 192 |
+
'\\top' : '\U000022a4',
|
| 193 |
+
'\\wedge' : '\U00002227',
|
| 194 |
+
'\\bigwedge' : '\U000022c0',
|
| 195 |
+
'\\vee' : '\U00002228',
|
| 196 |
+
'\\bigvee' : '\U000022c1',
|
| 197 |
+
'\\forall' : '\U00002200',
|
| 198 |
+
'\\exists' : '\U00002203',
|
| 199 |
+
'\\nexists' : '\U00002204',
|
| 200 |
+
'\\neg' : '\U000000ac',
|
| 201 |
+
'\\Box' : '\U000025a1',
|
| 202 |
+
'\\Diamond' : '\U000025c7',
|
| 203 |
+
'\\vdash' : '\U000022a2',
|
| 204 |
+
'\\models' : '\U000022a8',
|
| 205 |
+
'\\dashv' : '\U000022a3',
|
| 206 |
+
'\\surd' : '\U0000221a',
|
| 207 |
+
'\\le' : '\U00002264',
|
| 208 |
+
'\\ge' : '\U00002265',
|
| 209 |
+
'\\ll' : '\U0000226a',
|
| 210 |
+
'\\gg' : '\U0000226b',
|
| 211 |
+
'\\lesssim' : '\U00002272',
|
| 212 |
+
'\\gtrsim' : '\U00002273',
|
| 213 |
+
'\\lessapprox' : '\U00002a85',
|
| 214 |
+
'\\gtrapprox' : '\U00002a86',
|
| 215 |
+
'\\in' : '\U00002208',
|
| 216 |
+
'\\notin' : '\U00002209',
|
| 217 |
+
'\\subset' : '\U00002282',
|
| 218 |
+
'\\supset' : '\U00002283',
|
| 219 |
+
'\\subseteq' : '\U00002286',
|
| 220 |
+
'\\supseteq' : '\U00002287',
|
| 221 |
+
'\\sqsubset' : '\U0000228f',
|
| 222 |
+
'\\sqsupset' : '\U00002290',
|
| 223 |
+
'\\sqsubseteq' : '\U00002291',
|
| 224 |
+
'\\sqsupseteq' : '\U00002292',
|
| 225 |
+
'\\cap' : '\U00002229',
|
| 226 |
+
'\\bigcap' : '\U000022c2',
|
| 227 |
+
'\\cup' : '\U0000222a',
|
| 228 |
+
'\\bigcup' : '\U000022c3',
|
| 229 |
+
'\\sqcup' : '\U00002294',
|
| 230 |
+
'\\bigsqcup' : '\U00002a06',
|
| 231 |
+
'\\sqcap' : '\U00002293',
|
| 232 |
+
'\\Bigsqcap' : '\U00002a05',
|
| 233 |
+
'\\setminus' : '\U00002216',
|
| 234 |
+
'\\propto' : '\U0000221d',
|
| 235 |
+
'\\uplus' : '\U0000228e',
|
| 236 |
+
'\\bigplus' : '\U00002a04',
|
| 237 |
+
'\\sim' : '\U0000223c',
|
| 238 |
+
'\\doteq' : '\U00002250',
|
| 239 |
+
'\\simeq' : '\U00002243',
|
| 240 |
+
'\\approx' : '\U00002248',
|
| 241 |
+
'\\asymp' : '\U0000224d',
|
| 242 |
+
'\\cong' : '\U00002245',
|
| 243 |
+
'\\equiv' : '\U00002261',
|
| 244 |
+
'\\Join' : '\U000022c8',
|
| 245 |
+
'\\bowtie' : '\U00002a1d',
|
| 246 |
+
'\\prec' : '\U0000227a',
|
| 247 |
+
'\\succ' : '\U0000227b',
|
| 248 |
+
'\\preceq' : '\U0000227c',
|
| 249 |
+
'\\succeq' : '\U0000227d',
|
| 250 |
+
'\\parallel' : '\U00002225',
|
| 251 |
+
'\\mid' : '\U000000a6',
|
| 252 |
+
'\\pm' : '\U000000b1',
|
| 253 |
+
'\\mp' : '\U00002213',
|
| 254 |
+
'\\times' : '\U000000d7',
|
| 255 |
+
'\\div' : '\U000000f7',
|
| 256 |
+
'\\cdot' : '\U000022c5',
|
| 257 |
+
'\\star' : '\U000022c6',
|
| 258 |
+
'\\circ' : '\U00002218',
|
| 259 |
+
'\\dagger' : '\U00002020',
|
| 260 |
+
'\\ddagger' : '\U00002021',
|
| 261 |
+
'\\lhd' : '\U000022b2',
|
| 262 |
+
'\\rhd' : '\U000022b3',
|
| 263 |
+
'\\unlhd' : '\U000022b4',
|
| 264 |
+
'\\unrhd' : '\U000022b5',
|
| 265 |
+
'\\triangleleft' : '\U000025c3',
|
| 266 |
+
'\\triangleright' : '\U000025b9',
|
| 267 |
+
'\\triangle' : '\U000025b3',
|
| 268 |
+
'\\triangleq' : '\U0000225c',
|
| 269 |
+
'\\oplus' : '\U00002295',
|
| 270 |
+
'\\bigoplus' : '\U00002a01',
|
| 271 |
+
'\\otimes' : '\U00002297',
|
| 272 |
+
'\\bigotimes' : '\U00002a02',
|
| 273 |
+
'\\odot' : '\U00002299',
|
| 274 |
+
'\\bigodot' : '\U00002a00',
|
| 275 |
+
'\\ominus' : '\U00002296',
|
| 276 |
+
'\\oslash' : '\U00002298',
|
| 277 |
+
'\\dots' : '\U00002026',
|
| 278 |
+
'\\cdots' : '\U000022ef',
|
| 279 |
+
'\\sum' : '\U00002211',
|
| 280 |
+
'\\prod' : '\U0000220f',
|
| 281 |
+
'\\coprod' : '\U00002210',
|
| 282 |
+
'\\infty' : '\U0000221e',
|
| 283 |
+
'\\int' : '\U0000222b',
|
| 284 |
+
'\\oint' : '\U0000222e',
|
| 285 |
+
'\\clubsuit' : '\U00002663',
|
| 286 |
+
'\\diamondsuit' : '\U00002662',
|
| 287 |
+
'\\heartsuit' : '\U00002661',
|
| 288 |
+
'\\spadesuit' : '\U00002660',
|
| 289 |
+
'\\aleph' : '\U00002135',
|
| 290 |
+
'\\emptyset' : '\U00002205',
|
| 291 |
+
'\\nabla' : '\U00002207',
|
| 292 |
+
'\\partial' : '\U00002202',
|
| 293 |
+
'\\flat' : '\U0000266d',
|
| 294 |
+
'\\natural' : '\U0000266e',
|
| 295 |
+
'\\sharp' : '\U0000266f',
|
| 296 |
+
'\\angle' : '\U00002220',
|
| 297 |
+
'\\copyright' : '\U000000a9',
|
| 298 |
+
'\\textregistered' : '\U000000ae',
|
| 299 |
+
'\\textonequarter' : '\U000000bc',
|
| 300 |
+
'\\textonehalf' : '\U000000bd',
|
| 301 |
+
'\\textthreequarters' : '\U000000be',
|
| 302 |
+
'\\textordfeminine' : '\U000000aa',
|
| 303 |
+
'\\textordmasculine' : '\U000000ba',
|
| 304 |
+
'\\euro' : '\U000020ac',
|
| 305 |
+
'\\pounds' : '\U000000a3',
|
| 306 |
+
'\\yen' : '\U000000a5',
|
| 307 |
+
'\\textcent' : '\U000000a2',
|
| 308 |
+
'\\textcurrency' : '\U000000a4',
|
| 309 |
+
'\\textdegree' : '\U000000b0',
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
isabelle_symbols = {
|
| 313 |
+
'\\<zero>' : '\U0001d7ec',
|
| 314 |
+
'\\<one>' : '\U0001d7ed',
|
| 315 |
+
'\\<two>' : '\U0001d7ee',
|
| 316 |
+
'\\<three>' : '\U0001d7ef',
|
| 317 |
+
'\\<four>' : '\U0001d7f0',
|
| 318 |
+
'\\<five>' : '\U0001d7f1',
|
| 319 |
+
'\\<six>' : '\U0001d7f2',
|
| 320 |
+
'\\<seven>' : '\U0001d7f3',
|
| 321 |
+
'\\<eight>' : '\U0001d7f4',
|
| 322 |
+
'\\<nine>' : '\U0001d7f5',
|
| 323 |
+
'\\<A>' : '\U0001d49c',
|
| 324 |
+
'\\<B>' : '\U0000212c',
|
| 325 |
+
'\\<C>' : '\U0001d49e',
|
| 326 |
+
'\\<D>' : '\U0001d49f',
|
| 327 |
+
'\\<E>' : '\U00002130',
|
| 328 |
+
'\\<F>' : '\U00002131',
|
| 329 |
+
'\\<G>' : '\U0001d4a2',
|
| 330 |
+
'\\<H>' : '\U0000210b',
|
| 331 |
+
'\\<I>' : '\U00002110',
|
| 332 |
+
'\\<J>' : '\U0001d4a5',
|
| 333 |
+
'\\<K>' : '\U0001d4a6',
|
| 334 |
+
'\\<L>' : '\U00002112',
|
| 335 |
+
'\\<M>' : '\U00002133',
|
| 336 |
+
'\\<N>' : '\U0001d4a9',
|
| 337 |
+
'\\<O>' : '\U0001d4aa',
|
| 338 |
+
'\\<P>' : '\U0001d4ab',
|
| 339 |
+
'\\<Q>' : '\U0001d4ac',
|
| 340 |
+
'\\<R>' : '\U0000211b',
|
| 341 |
+
'\\<S>' : '\U0001d4ae',
|
| 342 |
+
'\\<T>' : '\U0001d4af',
|
| 343 |
+
'\\<U>' : '\U0001d4b0',
|
| 344 |
+
'\\<V>' : '\U0001d4b1',
|
| 345 |
+
'\\<W>' : '\U0001d4b2',
|
| 346 |
+
'\\<X>' : '\U0001d4b3',
|
| 347 |
+
'\\<Y>' : '\U0001d4b4',
|
| 348 |
+
'\\<Z>' : '\U0001d4b5',
|
| 349 |
+
'\\<a>' : '\U0001d5ba',
|
| 350 |
+
'\\<b>' : '\U0001d5bb',
|
| 351 |
+
'\\<c>' : '\U0001d5bc',
|
| 352 |
+
'\\<d>' : '\U0001d5bd',
|
| 353 |
+
'\\<e>' : '\U0001d5be',
|
| 354 |
+
'\\<f>' : '\U0001d5bf',
|
| 355 |
+
'\\<g>' : '\U0001d5c0',
|
| 356 |
+
'\\<h>' : '\U0001d5c1',
|
| 357 |
+
'\\<i>' : '\U0001d5c2',
|
| 358 |
+
'\\<j>' : '\U0001d5c3',
|
| 359 |
+
'\\<k>' : '\U0001d5c4',
|
| 360 |
+
'\\<l>' : '\U0001d5c5',
|
| 361 |
+
'\\<m>' : '\U0001d5c6',
|
| 362 |
+
'\\<n>' : '\U0001d5c7',
|
| 363 |
+
'\\<o>' : '\U0001d5c8',
|
| 364 |
+
'\\<p>' : '\U0001d5c9',
|
| 365 |
+
'\\<q>' : '\U0001d5ca',
|
| 366 |
+
'\\<r>' : '\U0001d5cb',
|
| 367 |
+
'\\<s>' : '\U0001d5cc',
|
| 368 |
+
'\\<t>' : '\U0001d5cd',
|
| 369 |
+
'\\<u>' : '\U0001d5ce',
|
| 370 |
+
'\\<v>' : '\U0001d5cf',
|
| 371 |
+
'\\<w>' : '\U0001d5d0',
|
| 372 |
+
'\\<x>' : '\U0001d5d1',
|
| 373 |
+
'\\<y>' : '\U0001d5d2',
|
| 374 |
+
'\\<z>' : '\U0001d5d3',
|
| 375 |
+
'\\<AA>' : '\U0001d504',
|
| 376 |
+
'\\<BB>' : '\U0001d505',
|
| 377 |
+
'\\<CC>' : '\U0000212d',
|
| 378 |
+
'\\<DD>' : '\U0001d507',
|
| 379 |
+
'\\<EE>' : '\U0001d508',
|
| 380 |
+
'\\<FF>' : '\U0001d509',
|
| 381 |
+
'\\<GG>' : '\U0001d50a',
|
| 382 |
+
'\\<HH>' : '\U0000210c',
|
| 383 |
+
'\\<II>' : '\U00002111',
|
| 384 |
+
'\\<JJ>' : '\U0001d50d',
|
| 385 |
+
'\\<KK>' : '\U0001d50e',
|
| 386 |
+
'\\<LL>' : '\U0001d50f',
|
| 387 |
+
'\\<MM>' : '\U0001d510',
|
| 388 |
+
'\\<NN>' : '\U0001d511',
|
| 389 |
+
'\\<OO>' : '\U0001d512',
|
| 390 |
+
'\\<PP>' : '\U0001d513',
|
| 391 |
+
'\\<QQ>' : '\U0001d514',
|
| 392 |
+
'\\<RR>' : '\U0000211c',
|
| 393 |
+
'\\<SS>' : '\U0001d516',
|
| 394 |
+
'\\<TT>' : '\U0001d517',
|
| 395 |
+
'\\<UU>' : '\U0001d518',
|
| 396 |
+
'\\<VV>' : '\U0001d519',
|
| 397 |
+
'\\<WW>' : '\U0001d51a',
|
| 398 |
+
'\\<XX>' : '\U0001d51b',
|
| 399 |
+
'\\<YY>' : '\U0001d51c',
|
| 400 |
+
'\\<ZZ>' : '\U00002128',
|
| 401 |
+
'\\<aa>' : '\U0001d51e',
|
| 402 |
+
'\\<bb>' : '\U0001d51f',
|
| 403 |
+
'\\<cc>' : '\U0001d520',
|
| 404 |
+
'\\<dd>' : '\U0001d521',
|
| 405 |
+
'\\<ee>' : '\U0001d522',
|
| 406 |
+
'\\<ff>' : '\U0001d523',
|
| 407 |
+
'\\<gg>' : '\U0001d524',
|
| 408 |
+
'\\<hh>' : '\U0001d525',
|
| 409 |
+
'\\<ii>' : '\U0001d526',
|
| 410 |
+
'\\<jj>' : '\U0001d527',
|
| 411 |
+
'\\<kk>' : '\U0001d528',
|
| 412 |
+
'\\<ll>' : '\U0001d529',
|
| 413 |
+
'\\<mm>' : '\U0001d52a',
|
| 414 |
+
'\\<nn>' : '\U0001d52b',
|
| 415 |
+
'\\<oo>' : '\U0001d52c',
|
| 416 |
+
'\\<pp>' : '\U0001d52d',
|
| 417 |
+
'\\<qq>' : '\U0001d52e',
|
| 418 |
+
'\\<rr>' : '\U0001d52f',
|
| 419 |
+
'\\<ss>' : '\U0001d530',
|
| 420 |
+
'\\<tt>' : '\U0001d531',
|
| 421 |
+
'\\<uu>' : '\U0001d532',
|
| 422 |
+
'\\<vv>' : '\U0001d533',
|
| 423 |
+
'\\<ww>' : '\U0001d534',
|
| 424 |
+
'\\<xx>' : '\U0001d535',
|
| 425 |
+
'\\<yy>' : '\U0001d536',
|
| 426 |
+
'\\<zz>' : '\U0001d537',
|
| 427 |
+
'\\<alpha>' : '\U000003b1',
|
| 428 |
+
'\\<beta>' : '\U000003b2',
|
| 429 |
+
'\\<gamma>' : '\U000003b3',
|
| 430 |
+
'\\<delta>' : '\U000003b4',
|
| 431 |
+
'\\<epsilon>' : '\U000003b5',
|
| 432 |
+
'\\<zeta>' : '\U000003b6',
|
| 433 |
+
'\\<eta>' : '\U000003b7',
|
| 434 |
+
'\\<theta>' : '\U000003b8',
|
| 435 |
+
'\\<iota>' : '\U000003b9',
|
| 436 |
+
'\\<kappa>' : '\U000003ba',
|
| 437 |
+
'\\<lambda>' : '\U000003bb',
|
| 438 |
+
'\\<mu>' : '\U000003bc',
|
| 439 |
+
'\\<nu>' : '\U000003bd',
|
| 440 |
+
'\\<xi>' : '\U000003be',
|
| 441 |
+
'\\<pi>' : '\U000003c0',
|
| 442 |
+
'\\<rho>' : '\U000003c1',
|
| 443 |
+
'\\<sigma>' : '\U000003c3',
|
| 444 |
+
'\\<tau>' : '\U000003c4',
|
| 445 |
+
'\\<upsilon>' : '\U000003c5',
|
| 446 |
+
'\\<phi>' : '\U000003c6',
|
| 447 |
+
'\\<chi>' : '\U000003c7',
|
| 448 |
+
'\\<psi>' : '\U000003c8',
|
| 449 |
+
'\\<omega>' : '\U000003c9',
|
| 450 |
+
'\\<Gamma>' : '\U00000393',
|
| 451 |
+
'\\<Delta>' : '\U00000394',
|
| 452 |
+
'\\<Theta>' : '\U00000398',
|
| 453 |
+
'\\<Lambda>' : '\U0000039b',
|
| 454 |
+
'\\<Xi>' : '\U0000039e',
|
| 455 |
+
'\\<Pi>' : '\U000003a0',
|
| 456 |
+
'\\<Sigma>' : '\U000003a3',
|
| 457 |
+
'\\<Upsilon>' : '\U000003a5',
|
| 458 |
+
'\\<Phi>' : '\U000003a6',
|
| 459 |
+
'\\<Psi>' : '\U000003a8',
|
| 460 |
+
'\\<Omega>' : '\U000003a9',
|
| 461 |
+
'\\<bool>' : '\U0001d539',
|
| 462 |
+
'\\<complex>' : '\U00002102',
|
| 463 |
+
'\\<nat>' : '\U00002115',
|
| 464 |
+
'\\<rat>' : '\U0000211a',
|
| 465 |
+
'\\<real>' : '\U0000211d',
|
| 466 |
+
'\\<int>' : '\U00002124',
|
| 467 |
+
'\\<leftarrow>' : '\U00002190',
|
| 468 |
+
'\\<longleftarrow>' : '\U000027f5',
|
| 469 |
+
'\\<rightarrow>' : '\U00002192',
|
| 470 |
+
'\\<longrightarrow>' : '\U000027f6',
|
| 471 |
+
'\\<Leftarrow>' : '\U000021d0',
|
| 472 |
+
'\\<Longleftarrow>' : '\U000027f8',
|
| 473 |
+
'\\<Rightarrow>' : '\U000021d2',
|
| 474 |
+
'\\<Longrightarrow>' : '\U000027f9',
|
| 475 |
+
'\\<leftrightarrow>' : '\U00002194',
|
| 476 |
+
'\\<longleftrightarrow>' : '\U000027f7',
|
| 477 |
+
'\\<Leftrightarrow>' : '\U000021d4',
|
| 478 |
+
'\\<Longleftrightarrow>' : '\U000027fa',
|
| 479 |
+
'\\<mapsto>' : '\U000021a6',
|
| 480 |
+
'\\<longmapsto>' : '\U000027fc',
|
| 481 |
+
'\\<midarrow>' : '\U00002500',
|
| 482 |
+
'\\<Midarrow>' : '\U00002550',
|
| 483 |
+
'\\<hookleftarrow>' : '\U000021a9',
|
| 484 |
+
'\\<hookrightarrow>' : '\U000021aa',
|
| 485 |
+
'\\<leftharpoondown>' : '\U000021bd',
|
| 486 |
+
'\\<rightharpoondown>' : '\U000021c1',
|
| 487 |
+
'\\<leftharpoonup>' : '\U000021bc',
|
| 488 |
+
'\\<rightharpoonup>' : '\U000021c0',
|
| 489 |
+
'\\<rightleftharpoons>' : '\U000021cc',
|
| 490 |
+
'\\<leadsto>' : '\U0000219d',
|
| 491 |
+
'\\<downharpoonleft>' : '\U000021c3',
|
| 492 |
+
'\\<downharpoonright>' : '\U000021c2',
|
| 493 |
+
'\\<upharpoonleft>' : '\U000021bf',
|
| 494 |
+
'\\<upharpoonright>' : '\U000021be',
|
| 495 |
+
'\\<restriction>' : '\U000021be',
|
| 496 |
+
'\\<Colon>' : '\U00002237',
|
| 497 |
+
'\\<up>' : '\U00002191',
|
| 498 |
+
'\\<Up>' : '\U000021d1',
|
| 499 |
+
'\\<down>' : '\U00002193',
|
| 500 |
+
'\\<Down>' : '\U000021d3',
|
| 501 |
+
'\\<updown>' : '\U00002195',
|
| 502 |
+
'\\<Updown>' : '\U000021d5',
|
| 503 |
+
'\\<langle>' : '\U000027e8',
|
| 504 |
+
'\\<rangle>' : '\U000027e9',
|
| 505 |
+
'\\<lceil>' : '\U00002308',
|
| 506 |
+
'\\<rceil>' : '\U00002309',
|
| 507 |
+
'\\<lfloor>' : '\U0000230a',
|
| 508 |
+
'\\<rfloor>' : '\U0000230b',
|
| 509 |
+
'\\<lparr>' : '\U00002987',
|
| 510 |
+
'\\<rparr>' : '\U00002988',
|
| 511 |
+
'\\<lbrakk>' : '\U000027e6',
|
| 512 |
+
'\\<rbrakk>' : '\U000027e7',
|
| 513 |
+
'\\<lbrace>' : '\U00002983',
|
| 514 |
+
'\\<rbrace>' : '\U00002984',
|
| 515 |
+
'\\<guillemotleft>' : '\U000000ab',
|
| 516 |
+
'\\<guillemotright>' : '\U000000bb',
|
| 517 |
+
'\\<bottom>' : '\U000022a5',
|
| 518 |
+
'\\<top>' : '\U000022a4',
|
| 519 |
+
'\\<and>' : '\U00002227',
|
| 520 |
+
'\\<And>' : '\U000022c0',
|
| 521 |
+
'\\<or>' : '\U00002228',
|
| 522 |
+
'\\<Or>' : '\U000022c1',
|
| 523 |
+
'\\<forall>' : '\U00002200',
|
| 524 |
+
'\\<exists>' : '\U00002203',
|
| 525 |
+
'\\<nexists>' : '\U00002204',
|
| 526 |
+
'\\<not>' : '\U000000ac',
|
| 527 |
+
'\\<box>' : '\U000025a1',
|
| 528 |
+
'\\<diamond>' : '\U000025c7',
|
| 529 |
+
'\\<turnstile>' : '\U000022a2',
|
| 530 |
+
'\\<Turnstile>' : '\U000022a8',
|
| 531 |
+
'\\<tturnstile>' : '\U000022a9',
|
| 532 |
+
'\\<TTurnstile>' : '\U000022ab',
|
| 533 |
+
'\\<stileturn>' : '\U000022a3',
|
| 534 |
+
'\\<surd>' : '\U0000221a',
|
| 535 |
+
'\\<le>' : '\U00002264',
|
| 536 |
+
'\\<ge>' : '\U00002265',
|
| 537 |
+
'\\<lless>' : '\U0000226a',
|
| 538 |
+
'\\<ggreater>' : '\U0000226b',
|
| 539 |
+
'\\<lesssim>' : '\U00002272',
|
| 540 |
+
'\\<greatersim>' : '\U00002273',
|
| 541 |
+
'\\<lessapprox>' : '\U00002a85',
|
| 542 |
+
'\\<greaterapprox>' : '\U00002a86',
|
| 543 |
+
'\\<in>' : '\U00002208',
|
| 544 |
+
'\\<notin>' : '\U00002209',
|
| 545 |
+
'\\<subset>' : '\U00002282',
|
| 546 |
+
'\\<supset>' : '\U00002283',
|
| 547 |
+
'\\<subseteq>' : '\U00002286',
|
| 548 |
+
'\\<supseteq>' : '\U00002287',
|
| 549 |
+
'\\<sqsubset>' : '\U0000228f',
|
| 550 |
+
'\\<sqsupset>' : '\U00002290',
|
| 551 |
+
'\\<sqsubseteq>' : '\U00002291',
|
| 552 |
+
'\\<sqsupseteq>' : '\U00002292',
|
| 553 |
+
'\\<inter>' : '\U00002229',
|
| 554 |
+
'\\<Inter>' : '\U000022c2',
|
| 555 |
+
'\\<union>' : '\U0000222a',
|
| 556 |
+
'\\<Union>' : '\U000022c3',
|
| 557 |
+
'\\<squnion>' : '\U00002294',
|
| 558 |
+
'\\<Squnion>' : '\U00002a06',
|
| 559 |
+
'\\<sqinter>' : '\U00002293',
|
| 560 |
+
'\\<Sqinter>' : '\U00002a05',
|
| 561 |
+
'\\<setminus>' : '\U00002216',
|
| 562 |
+
'\\<propto>' : '\U0000221d',
|
| 563 |
+
'\\<uplus>' : '\U0000228e',
|
| 564 |
+
'\\<Uplus>' : '\U00002a04',
|
| 565 |
+
'\\<noteq>' : '\U00002260',
|
| 566 |
+
'\\<sim>' : '\U0000223c',
|
| 567 |
+
'\\<doteq>' : '\U00002250',
|
| 568 |
+
'\\<simeq>' : '\U00002243',
|
| 569 |
+
'\\<approx>' : '\U00002248',
|
| 570 |
+
'\\<asymp>' : '\U0000224d',
|
| 571 |
+
'\\<cong>' : '\U00002245',
|
| 572 |
+
'\\<smile>' : '\U00002323',
|
| 573 |
+
'\\<equiv>' : '\U00002261',
|
| 574 |
+
'\\<frown>' : '\U00002322',
|
| 575 |
+
'\\<Join>' : '\U000022c8',
|
| 576 |
+
'\\<bowtie>' : '\U00002a1d',
|
| 577 |
+
'\\<prec>' : '\U0000227a',
|
| 578 |
+
'\\<succ>' : '\U0000227b',
|
| 579 |
+
'\\<preceq>' : '\U0000227c',
|
| 580 |
+
'\\<succeq>' : '\U0000227d',
|
| 581 |
+
'\\<parallel>' : '\U00002225',
|
| 582 |
+
'\\<bar>' : '\U000000a6',
|
| 583 |
+
'\\<plusminus>' : '\U000000b1',
|
| 584 |
+
'\\<minusplus>' : '\U00002213',
|
| 585 |
+
'\\<times>' : '\U000000d7',
|
| 586 |
+
'\\<div>' : '\U000000f7',
|
| 587 |
+
'\\<cdot>' : '\U000022c5',
|
| 588 |
+
'\\<star>' : '\U000022c6',
|
| 589 |
+
'\\<bullet>' : '\U00002219',
|
| 590 |
+
'\\<circ>' : '\U00002218',
|
| 591 |
+
'\\<dagger>' : '\U00002020',
|
| 592 |
+
'\\<ddagger>' : '\U00002021',
|
| 593 |
+
'\\<lhd>' : '\U000022b2',
|
| 594 |
+
'\\<rhd>' : '\U000022b3',
|
| 595 |
+
'\\<unlhd>' : '\U000022b4',
|
| 596 |
+
'\\<unrhd>' : '\U000022b5',
|
| 597 |
+
'\\<triangleleft>' : '\U000025c3',
|
| 598 |
+
'\\<triangleright>' : '\U000025b9',
|
| 599 |
+
'\\<triangle>' : '\U000025b3',
|
| 600 |
+
'\\<triangleq>' : '\U0000225c',
|
| 601 |
+
'\\<oplus>' : '\U00002295',
|
| 602 |
+
'\\<Oplus>' : '\U00002a01',
|
| 603 |
+
'\\<otimes>' : '\U00002297',
|
| 604 |
+
'\\<Otimes>' : '\U00002a02',
|
| 605 |
+
'\\<odot>' : '\U00002299',
|
| 606 |
+
'\\<Odot>' : '\U00002a00',
|
| 607 |
+
'\\<ominus>' : '\U00002296',
|
| 608 |
+
'\\<oslash>' : '\U00002298',
|
| 609 |
+
'\\<dots>' : '\U00002026',
|
| 610 |
+
'\\<cdots>' : '\U000022ef',
|
| 611 |
+
'\\<Sum>' : '\U00002211',
|
| 612 |
+
'\\<Prod>' : '\U0000220f',
|
| 613 |
+
'\\<Coprod>' : '\U00002210',
|
| 614 |
+
'\\<infinity>' : '\U0000221e',
|
| 615 |
+
'\\<integral>' : '\U0000222b',
|
| 616 |
+
'\\<ointegral>' : '\U0000222e',
|
| 617 |
+
'\\<clubsuit>' : '\U00002663',
|
| 618 |
+
'\\<diamondsuit>' : '\U00002662',
|
| 619 |
+
'\\<heartsuit>' : '\U00002661',
|
| 620 |
+
'\\<spadesuit>' : '\U00002660',
|
| 621 |
+
'\\<aleph>' : '\U00002135',
|
| 622 |
+
'\\<emptyset>' : '\U00002205',
|
| 623 |
+
'\\<nabla>' : '\U00002207',
|
| 624 |
+
'\\<partial>' : '\U00002202',
|
| 625 |
+
'\\<flat>' : '\U0000266d',
|
| 626 |
+
'\\<natural>' : '\U0000266e',
|
| 627 |
+
'\\<sharp>' : '\U0000266f',
|
| 628 |
+
'\\<angle>' : '\U00002220',
|
| 629 |
+
'\\<copyright>' : '\U000000a9',
|
| 630 |
+
'\\<registered>' : '\U000000ae',
|
| 631 |
+
'\\<hyphen>' : '\U000000ad',
|
| 632 |
+
'\\<inverse>' : '\U000000af',
|
| 633 |
+
'\\<onequarter>' : '\U000000bc',
|
| 634 |
+
'\\<onehalf>' : '\U000000bd',
|
| 635 |
+
'\\<threequarters>' : '\U000000be',
|
| 636 |
+
'\\<ordfeminine>' : '\U000000aa',
|
| 637 |
+
'\\<ordmasculine>' : '\U000000ba',
|
| 638 |
+
'\\<section>' : '\U000000a7',
|
| 639 |
+
'\\<paragraph>' : '\U000000b6',
|
| 640 |
+
'\\<exclamdown>' : '\U000000a1',
|
| 641 |
+
'\\<questiondown>' : '\U000000bf',
|
| 642 |
+
'\\<euro>' : '\U000020ac',
|
| 643 |
+
'\\<pounds>' : '\U000000a3',
|
| 644 |
+
'\\<yen>' : '\U000000a5',
|
| 645 |
+
'\\<cent>' : '\U000000a2',
|
| 646 |
+
'\\<currency>' : '\U000000a4',
|
| 647 |
+
'\\<degree>' : '\U000000b0',
|
| 648 |
+
'\\<amalg>' : '\U00002a3f',
|
| 649 |
+
'\\<mho>' : '\U00002127',
|
| 650 |
+
'\\<lozenge>' : '\U000025ca',
|
| 651 |
+
'\\<wp>' : '\U00002118',
|
| 652 |
+
'\\<wrong>' : '\U00002240',
|
| 653 |
+
'\\<struct>' : '\U000022c4',
|
| 654 |
+
'\\<acute>' : '\U000000b4',
|
| 655 |
+
'\\<index>' : '\U00000131',
|
| 656 |
+
'\\<dieresis>' : '\U000000a8',
|
| 657 |
+
'\\<cedilla>' : '\U000000b8',
|
| 658 |
+
'\\<hungarumlaut>' : '\U000002dd',
|
| 659 |
+
'\\<some>' : '\U000003f5',
|
| 660 |
+
'\\<newline>' : '\U000023ce',
|
| 661 |
+
'\\<open>' : '\U00002039',
|
| 662 |
+
'\\<close>' : '\U0000203a',
|
| 663 |
+
'\\<here>' : '\U00002302',
|
| 664 |
+
'\\<^sub>' : '\U000021e9',
|
| 665 |
+
'\\<^sup>' : '\U000021e7',
|
| 666 |
+
'\\<^bold>' : '\U00002759',
|
| 667 |
+
'\\<^bsub>' : '\U000021d8',
|
| 668 |
+
'\\<^esub>' : '\U000021d9',
|
| 669 |
+
'\\<^bsup>' : '\U000021d7',
|
| 670 |
+
'\\<^esup>' : '\U000021d6',
|
| 671 |
+
}
|
| 672 |
+
|
| 673 |
+
lang_map = {'isabelle' : isabelle_symbols, 'latex' : latex_symbols}
|
| 674 |
+
|
| 675 |
+
def __init__(self, **options):
|
| 676 |
+
Filter.__init__(self, **options)
|
| 677 |
+
lang = get_choice_opt(options, 'lang',
|
| 678 |
+
['isabelle', 'latex'], 'isabelle')
|
| 679 |
+
self.symbols = self.lang_map[lang]
|
| 680 |
+
|
| 681 |
+
def filter(self, lexer, stream):
|
| 682 |
+
for ttype, value in stream:
|
| 683 |
+
if value in self.symbols:
|
| 684 |
+
yield ttype, self.symbols[value]
|
| 685 |
+
else:
|
| 686 |
+
yield ttype, value
|
| 687 |
+
|
| 688 |
+
|
| 689 |
+
class KeywordCaseFilter(Filter):
|
| 690 |
+
"""Convert keywords to lowercase or uppercase or capitalize them.
|
| 691 |
+
|
| 692 |
+
This means first letter uppercase, rest lowercase.
|
| 693 |
+
|
| 694 |
+
This can be useful e.g. if you highlight Pascal code and want to adapt the
|
| 695 |
+
code to your styleguide.
|
| 696 |
+
|
| 697 |
+
Options accepted:
|
| 698 |
+
|
| 699 |
+
`case` : string
|
| 700 |
+
The casing to convert keywords to. Must be one of ``'lower'``,
|
| 701 |
+
``'upper'`` or ``'capitalize'``. The default is ``'lower'``.
|
| 702 |
+
"""
|
| 703 |
+
|
| 704 |
+
def __init__(self, **options):
|
| 705 |
+
Filter.__init__(self, **options)
|
| 706 |
+
case = get_choice_opt(options, 'case',
|
| 707 |
+
['lower', 'upper', 'capitalize'], 'lower')
|
| 708 |
+
self.convert = getattr(str, case)
|
| 709 |
+
|
| 710 |
+
def filter(self, lexer, stream):
|
| 711 |
+
for ttype, value in stream:
|
| 712 |
+
if ttype in Keyword:
|
| 713 |
+
yield ttype, self.convert(value)
|
| 714 |
+
else:
|
| 715 |
+
yield ttype, value
|
| 716 |
+
|
| 717 |
+
|
| 718 |
+
class NameHighlightFilter(Filter):
|
| 719 |
+
"""Highlight a normal Name (and Name.*) token with a different token type.
|
| 720 |
+
|
| 721 |
+
Example::
|
| 722 |
+
|
| 723 |
+
filter = NameHighlightFilter(
|
| 724 |
+
names=['foo', 'bar', 'baz'],
|
| 725 |
+
tokentype=Name.Function,
|
| 726 |
+
)
|
| 727 |
+
|
| 728 |
+
This would highlight the names "foo", "bar" and "baz"
|
| 729 |
+
as functions. `Name.Function` is the default token type.
|
| 730 |
+
|
| 731 |
+
Options accepted:
|
| 732 |
+
|
| 733 |
+
`names` : list of strings
|
| 734 |
+
A list of names that should be given the different token type.
|
| 735 |
+
There is no default.
|
| 736 |
+
`tokentype` : TokenType or string
|
| 737 |
+
A token type or a string containing a token type name that is
|
| 738 |
+
used for highlighting the strings in `names`. The default is
|
| 739 |
+
`Name.Function`.
|
| 740 |
+
"""
|
| 741 |
+
|
| 742 |
+
def __init__(self, **options):
|
| 743 |
+
Filter.__init__(self, **options)
|
| 744 |
+
self.names = set(get_list_opt(options, 'names', []))
|
| 745 |
+
tokentype = options.get('tokentype')
|
| 746 |
+
if tokentype:
|
| 747 |
+
self.tokentype = string_to_tokentype(tokentype)
|
| 748 |
+
else:
|
| 749 |
+
self.tokentype = Name.Function
|
| 750 |
+
|
| 751 |
+
def filter(self, lexer, stream):
|
| 752 |
+
for ttype, value in stream:
|
| 753 |
+
if ttype in Name and value in self.names:
|
| 754 |
+
yield self.tokentype, value
|
| 755 |
+
else:
|
| 756 |
+
yield ttype, value
|
| 757 |
+
|
| 758 |
+
|
| 759 |
+
class ErrorToken(Exception):
|
| 760 |
+
pass
|
| 761 |
+
|
| 762 |
+
|
| 763 |
+
class RaiseOnErrorTokenFilter(Filter):
|
| 764 |
+
"""Raise an exception when the lexer generates an error token.
|
| 765 |
+
|
| 766 |
+
Options accepted:
|
| 767 |
+
|
| 768 |
+
`excclass` : Exception class
|
| 769 |
+
The exception class to raise.
|
| 770 |
+
The default is `pygments.filters.ErrorToken`.
|
| 771 |
+
|
| 772 |
+
.. versionadded:: 0.8
|
| 773 |
+
"""
|
| 774 |
+
|
| 775 |
+
def __init__(self, **options):
|
| 776 |
+
Filter.__init__(self, **options)
|
| 777 |
+
self.exception = options.get('excclass', ErrorToken)
|
| 778 |
+
try:
|
| 779 |
+
# issubclass() will raise TypeError if first argument is not a class
|
| 780 |
+
if not issubclass(self.exception, Exception):
|
| 781 |
+
raise TypeError
|
| 782 |
+
except TypeError:
|
| 783 |
+
raise OptionError('excclass option is not an exception class')
|
| 784 |
+
|
| 785 |
+
def filter(self, lexer, stream):
|
| 786 |
+
for ttype, value in stream:
|
| 787 |
+
if ttype is Error:
|
| 788 |
+
raise self.exception(value)
|
| 789 |
+
yield ttype, value
|
| 790 |
+
|
| 791 |
+
|
| 792 |
+
class VisibleWhitespaceFilter(Filter):
|
| 793 |
+
"""Convert tabs, newlines and/or spaces to visible characters.
|
| 794 |
+
|
| 795 |
+
Options accepted:
|
| 796 |
+
|
| 797 |
+
`spaces` : string or bool
|
| 798 |
+
If this is a one-character string, spaces will be replaces by this string.
|
| 799 |
+
If it is another true value, spaces will be replaced by ``·`` (unicode
|
| 800 |
+
MIDDLE DOT). If it is a false value, spaces will not be replaced. The
|
| 801 |
+
default is ``False``.
|
| 802 |
+
`tabs` : string or bool
|
| 803 |
+
The same as for `spaces`, but the default replacement character is ``»``
|
| 804 |
+
(unicode RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK). The default value
|
| 805 |
+
is ``False``. Note: this will not work if the `tabsize` option for the
|
| 806 |
+
lexer is nonzero, as tabs will already have been expanded then.
|
| 807 |
+
`tabsize` : int
|
| 808 |
+
If tabs are to be replaced by this filter (see the `tabs` option), this
|
| 809 |
+
is the total number of characters that a tab should be expanded to.
|
| 810 |
+
The default is ``8``.
|
| 811 |
+
`newlines` : string or bool
|
| 812 |
+
The same as for `spaces`, but the default replacement character is ``¶``
|
| 813 |
+
(unicode PILCROW SIGN). The default value is ``False``.
|
| 814 |
+
`wstokentype` : bool
|
| 815 |
+
If true, give whitespace the special `Whitespace` token type. This allows
|
| 816 |
+
styling the visible whitespace differently (e.g. greyed out), but it can
|
| 817 |
+
disrupt background colors. The default is ``True``.
|
| 818 |
+
|
| 819 |
+
.. versionadded:: 0.8
|
| 820 |
+
"""
|
| 821 |
+
|
| 822 |
+
def __init__(self, **options):
|
| 823 |
+
Filter.__init__(self, **options)
|
| 824 |
+
for name, default in [('spaces', '·'),
|
| 825 |
+
('tabs', '»'),
|
| 826 |
+
('newlines', '¶')]:
|
| 827 |
+
opt = options.get(name, False)
|
| 828 |
+
if isinstance(opt, str) and len(opt) == 1:
|
| 829 |
+
setattr(self, name, opt)
|
| 830 |
+
else:
|
| 831 |
+
setattr(self, name, (opt and default or ''))
|
| 832 |
+
tabsize = get_int_opt(options, 'tabsize', 8)
|
| 833 |
+
if self.tabs:
|
| 834 |
+
self.tabs += ' ' * (tabsize - 1)
|
| 835 |
+
if self.newlines:
|
| 836 |
+
self.newlines += '\n'
|
| 837 |
+
self.wstt = get_bool_opt(options, 'wstokentype', True)
|
| 838 |
+
|
| 839 |
+
def filter(self, lexer, stream):
|
| 840 |
+
if self.wstt:
|
| 841 |
+
spaces = self.spaces or ' '
|
| 842 |
+
tabs = self.tabs or '\t'
|
| 843 |
+
newlines = self.newlines or '\n'
|
| 844 |
+
regex = re.compile(r'\s')
|
| 845 |
+
|
| 846 |
+
def replacefunc(wschar):
|
| 847 |
+
if wschar == ' ':
|
| 848 |
+
return spaces
|
| 849 |
+
elif wschar == '\t':
|
| 850 |
+
return tabs
|
| 851 |
+
elif wschar == '\n':
|
| 852 |
+
return newlines
|
| 853 |
+
return wschar
|
| 854 |
+
|
| 855 |
+
for ttype, value in stream:
|
| 856 |
+
yield from _replace_special(ttype, value, regex, Whitespace,
|
| 857 |
+
replacefunc)
|
| 858 |
+
else:
|
| 859 |
+
spaces, tabs, newlines = self.spaces, self.tabs, self.newlines
|
| 860 |
+
# simpler processing
|
| 861 |
+
for ttype, value in stream:
|
| 862 |
+
if spaces:
|
| 863 |
+
value = value.replace(' ', spaces)
|
| 864 |
+
if tabs:
|
| 865 |
+
value = value.replace('\t', tabs)
|
| 866 |
+
if newlines:
|
| 867 |
+
value = value.replace('\n', newlines)
|
| 868 |
+
yield ttype, value
|
| 869 |
+
|
| 870 |
+
|
| 871 |
+
class GobbleFilter(Filter):
|
| 872 |
+
"""Gobble source code lines (eats initial characters).
|
| 873 |
+
|
| 874 |
+
This filter drops the first ``n`` characters off every line of code. This
|
| 875 |
+
may be useful when the source code fed to the lexer is indented by a fixed
|
| 876 |
+
amount of space that isn't desired in the output.
|
| 877 |
+
|
| 878 |
+
Options accepted:
|
| 879 |
+
|
| 880 |
+
`n` : int
|
| 881 |
+
The number of characters to gobble.
|
| 882 |
+
|
| 883 |
+
.. versionadded:: 1.2
|
| 884 |
+
"""
|
| 885 |
+
def __init__(self, **options):
|
| 886 |
+
Filter.__init__(self, **options)
|
| 887 |
+
self.n = get_int_opt(options, 'n', 0)
|
| 888 |
+
|
| 889 |
+
def gobble(self, value, left):
|
| 890 |
+
if left < len(value):
|
| 891 |
+
return value[left:], 0
|
| 892 |
+
else:
|
| 893 |
+
return '', left - len(value)
|
| 894 |
+
|
| 895 |
+
def filter(self, lexer, stream):
|
| 896 |
+
n = self.n
|
| 897 |
+
left = n # How many characters left to gobble.
|
| 898 |
+
for ttype, value in stream:
|
| 899 |
+
# Remove ``left`` tokens from first line, ``n`` from all others.
|
| 900 |
+
parts = value.split('\n')
|
| 901 |
+
(parts[0], left) = self.gobble(parts[0], left)
|
| 902 |
+
for i in range(1, len(parts)):
|
| 903 |
+
(parts[i], left) = self.gobble(parts[i], n)
|
| 904 |
+
value = '\n'.join(parts)
|
| 905 |
+
|
| 906 |
+
if value != '':
|
| 907 |
+
yield ttype, value
|
| 908 |
+
|
| 909 |
+
|
| 910 |
+
class TokenMergeFilter(Filter):
|
| 911 |
+
"""Merge consecutive tokens with the same token type in the output stream.
|
| 912 |
+
|
| 913 |
+
.. versionadded:: 1.2
|
| 914 |
+
"""
|
| 915 |
+
def __init__(self, **options):
|
| 916 |
+
Filter.__init__(self, **options)
|
| 917 |
+
|
| 918 |
+
def filter(self, lexer, stream):
|
| 919 |
+
current_type = None
|
| 920 |
+
current_value = None
|
| 921 |
+
for ttype, value in stream:
|
| 922 |
+
if ttype is current_type:
|
| 923 |
+
current_value += value
|
| 924 |
+
else:
|
| 925 |
+
if current_type is not None:
|
| 926 |
+
yield current_type, current_value
|
| 927 |
+
current_type = ttype
|
| 928 |
+
current_value = value
|
| 929 |
+
if current_type is not None:
|
| 930 |
+
yield current_type, current_value
|
| 931 |
+
|
| 932 |
+
|
| 933 |
+
FILTERS = {
|
| 934 |
+
'codetagify': CodeTagFilter,
|
| 935 |
+
'keywordcase': KeywordCaseFilter,
|
| 936 |
+
'highlight': NameHighlightFilter,
|
| 937 |
+
'raiseonerror': RaiseOnErrorTokenFilter,
|
| 938 |
+
'whitespace': VisibleWhitespaceFilter,
|
| 939 |
+
'gobble': GobbleFilter,
|
| 940 |
+
'tokenmerge': TokenMergeFilter,
|
| 941 |
+
'symbols': SymbolFilter,
|
| 942 |
+
}
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/__init__.py
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Pygments formatters.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import re
|
| 12 |
+
import sys
|
| 13 |
+
import types
|
| 14 |
+
import fnmatch
|
| 15 |
+
from os.path import basename
|
| 16 |
+
|
| 17 |
+
from pygments.formatters._mapping import FORMATTERS
|
| 18 |
+
from pygments.plugin import find_plugin_formatters
|
| 19 |
+
from pygments.util import ClassNotFound
|
| 20 |
+
|
| 21 |
+
__all__ = ['get_formatter_by_name', 'get_formatter_for_filename',
|
| 22 |
+
'get_all_formatters', 'load_formatter_from_file'] + list(FORMATTERS)
|
| 23 |
+
|
| 24 |
+
_formatter_cache = {} # classes by name
|
| 25 |
+
_pattern_cache = {}
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
def _fn_matches(fn, glob):
|
| 29 |
+
"""Return whether the supplied file name fn matches pattern filename."""
|
| 30 |
+
if glob not in _pattern_cache:
|
| 31 |
+
pattern = _pattern_cache[glob] = re.compile(fnmatch.translate(glob))
|
| 32 |
+
return pattern.match(fn)
|
| 33 |
+
return _pattern_cache[glob].match(fn)
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
def _load_formatters(module_name):
|
| 37 |
+
"""Load a formatter (and all others in the module too)."""
|
| 38 |
+
mod = __import__(module_name, None, None, ['__all__'])
|
| 39 |
+
for formatter_name in mod.__all__:
|
| 40 |
+
cls = getattr(mod, formatter_name)
|
| 41 |
+
_formatter_cache[cls.name] = cls
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def get_all_formatters():
|
| 45 |
+
"""Return a generator for all formatter classes."""
|
| 46 |
+
# NB: this returns formatter classes, not info like get_all_lexers().
|
| 47 |
+
for info in FORMATTERS.values():
|
| 48 |
+
if info[1] not in _formatter_cache:
|
| 49 |
+
_load_formatters(info[0])
|
| 50 |
+
yield _formatter_cache[info[1]]
|
| 51 |
+
for _, formatter in find_plugin_formatters():
|
| 52 |
+
yield formatter
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def find_formatter_class(alias):
|
| 56 |
+
"""Lookup a formatter by alias.
|
| 57 |
+
|
| 58 |
+
Returns None if not found.
|
| 59 |
+
"""
|
| 60 |
+
for module_name, name, aliases, _, _ in FORMATTERS.values():
|
| 61 |
+
if alias in aliases:
|
| 62 |
+
if name not in _formatter_cache:
|
| 63 |
+
_load_formatters(module_name)
|
| 64 |
+
return _formatter_cache[name]
|
| 65 |
+
for _, cls in find_plugin_formatters():
|
| 66 |
+
if alias in cls.aliases:
|
| 67 |
+
return cls
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
def get_formatter_by_name(_alias, **options):
|
| 71 |
+
"""
|
| 72 |
+
Return an instance of a :class:`.Formatter` subclass that has `alias` in its
|
| 73 |
+
aliases list. The formatter is given the `options` at its instantiation.
|
| 74 |
+
|
| 75 |
+
Will raise :exc:`pygments.util.ClassNotFound` if no formatter with that
|
| 76 |
+
alias is found.
|
| 77 |
+
"""
|
| 78 |
+
cls = find_formatter_class(_alias)
|
| 79 |
+
if cls is None:
|
| 80 |
+
raise ClassNotFound(f"no formatter found for name {_alias!r}")
|
| 81 |
+
return cls(**options)
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def load_formatter_from_file(filename, formattername="CustomFormatter", **options):
|
| 85 |
+
"""
|
| 86 |
+
Return a `Formatter` subclass instance loaded from the provided file, relative
|
| 87 |
+
to the current directory.
|
| 88 |
+
|
| 89 |
+
The file is expected to contain a Formatter class named ``formattername``
|
| 90 |
+
(by default, CustomFormatter). Users should be very careful with the input, because
|
| 91 |
+
this method is equivalent to running ``eval()`` on the input file. The formatter is
|
| 92 |
+
given the `options` at its instantiation.
|
| 93 |
+
|
| 94 |
+
:exc:`pygments.util.ClassNotFound` is raised if there are any errors loading
|
| 95 |
+
the formatter.
|
| 96 |
+
|
| 97 |
+
.. versionadded:: 2.2
|
| 98 |
+
"""
|
| 99 |
+
try:
|
| 100 |
+
# This empty dict will contain the namespace for the exec'd file
|
| 101 |
+
custom_namespace = {}
|
| 102 |
+
with open(filename, 'rb') as f:
|
| 103 |
+
exec(f.read(), custom_namespace)
|
| 104 |
+
# Retrieve the class `formattername` from that namespace
|
| 105 |
+
if formattername not in custom_namespace:
|
| 106 |
+
raise ClassNotFound(f'no valid {formattername} class found in {filename}')
|
| 107 |
+
formatter_class = custom_namespace[formattername]
|
| 108 |
+
# And finally instantiate it with the options
|
| 109 |
+
return formatter_class(**options)
|
| 110 |
+
except OSError as err:
|
| 111 |
+
raise ClassNotFound(f'cannot read {filename}: {err}')
|
| 112 |
+
except ClassNotFound:
|
| 113 |
+
raise
|
| 114 |
+
except Exception as err:
|
| 115 |
+
raise ClassNotFound(f'error when loading custom formatter: {err}')
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
def get_formatter_for_filename(fn, **options):
|
| 119 |
+
"""
|
| 120 |
+
Return a :class:`.Formatter` subclass instance that has a filename pattern
|
| 121 |
+
matching `fn`. The formatter is given the `options` at its instantiation.
|
| 122 |
+
|
| 123 |
+
Will raise :exc:`pygments.util.ClassNotFound` if no formatter for that filename
|
| 124 |
+
is found.
|
| 125 |
+
"""
|
| 126 |
+
fn = basename(fn)
|
| 127 |
+
for modname, name, _, filenames, _ in FORMATTERS.values():
|
| 128 |
+
for filename in filenames:
|
| 129 |
+
if _fn_matches(fn, filename):
|
| 130 |
+
if name not in _formatter_cache:
|
| 131 |
+
_load_formatters(modname)
|
| 132 |
+
return _formatter_cache[name](**options)
|
| 133 |
+
for _name, cls in find_plugin_formatters():
|
| 134 |
+
for filename in cls.filenames:
|
| 135 |
+
if _fn_matches(fn, filename):
|
| 136 |
+
return cls(**options)
|
| 137 |
+
raise ClassNotFound(f"no formatter found for file name {fn!r}")
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
class _automodule(types.ModuleType):
|
| 141 |
+
"""Automatically import formatters."""
|
| 142 |
+
|
| 143 |
+
def __getattr__(self, name):
|
| 144 |
+
info = FORMATTERS.get(name)
|
| 145 |
+
if info:
|
| 146 |
+
_load_formatters(info[0])
|
| 147 |
+
cls = _formatter_cache[info[1]]
|
| 148 |
+
setattr(self, name, cls)
|
| 149 |
+
return cls
|
| 150 |
+
raise AttributeError(name)
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
oldmod = sys.modules[__name__]
|
| 154 |
+
newmod = _automodule(__name__)
|
| 155 |
+
newmod.__dict__.update(oldmod.__dict__)
|
| 156 |
+
sys.modules[__name__] = newmod
|
| 157 |
+
del newmod.newmod, newmod.oldmod, newmod.sys, newmod.types
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/_mapping.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Automatically generated by scripts/gen_mapfiles.py.
|
| 2 |
+
# DO NOT EDIT BY HAND; run `tox -e mapfiles` instead.
|
| 3 |
+
|
| 4 |
+
FORMATTERS = {
|
| 5 |
+
'BBCodeFormatter': ('pygments.formatters.bbcode', 'BBCode', ('bbcode', 'bb'), (), 'Format tokens with BBcodes. These formatting codes are used by many bulletin boards, so you can highlight your sourcecode with pygments before posting it there.'),
|
| 6 |
+
'BmpImageFormatter': ('pygments.formatters.img', 'img_bmp', ('bmp', 'bitmap'), ('*.bmp',), 'Create a bitmap image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'),
|
| 7 |
+
'GifImageFormatter': ('pygments.formatters.img', 'img_gif', ('gif',), ('*.gif',), 'Create a GIF image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'),
|
| 8 |
+
'GroffFormatter': ('pygments.formatters.groff', 'groff', ('groff', 'troff', 'roff'), (), 'Format tokens with groff escapes to change their color and font style.'),
|
| 9 |
+
'HtmlFormatter': ('pygments.formatters.html', 'HTML', ('html',), ('*.html', '*.htm'), "Format tokens as HTML 4 ``<span>`` tags. By default, the content is enclosed in a ``<pre>`` tag, itself wrapped in a ``<div>`` tag (but see the `nowrap` option). The ``<div>``'s CSS class can be set by the `cssclass` option."),
|
| 10 |
+
'IRCFormatter': ('pygments.formatters.irc', 'IRC', ('irc', 'IRC'), (), 'Format tokens with IRC color sequences'),
|
| 11 |
+
'ImageFormatter': ('pygments.formatters.img', 'img', ('img', 'IMG', 'png'), ('*.png',), 'Create a PNG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'),
|
| 12 |
+
'JpgImageFormatter': ('pygments.formatters.img', 'img_jpg', ('jpg', 'jpeg'), ('*.jpg',), 'Create a JPEG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.'),
|
| 13 |
+
'LatexFormatter': ('pygments.formatters.latex', 'LaTeX', ('latex', 'tex'), ('*.tex',), 'Format tokens as LaTeX code. This needs the `fancyvrb` and `color` standard packages.'),
|
| 14 |
+
'NullFormatter': ('pygments.formatters.other', 'Text only', ('text', 'null'), ('*.txt',), 'Output the text unchanged without any formatting.'),
|
| 15 |
+
'PangoMarkupFormatter': ('pygments.formatters.pangomarkup', 'Pango Markup', ('pango', 'pangomarkup'), (), 'Format tokens as Pango Markup code. It can then be rendered to an SVG.'),
|
| 16 |
+
'RawTokenFormatter': ('pygments.formatters.other', 'Raw tokens', ('raw', 'tokens'), ('*.raw',), 'Format tokens as a raw representation for storing token streams.'),
|
| 17 |
+
'RtfFormatter': ('pygments.formatters.rtf', 'RTF', ('rtf',), ('*.rtf',), 'Format tokens as RTF markup. This formatter automatically outputs full RTF documents with color information and other useful stuff. Perfect for Copy and Paste into Microsoft(R) Word(R) documents.'),
|
| 18 |
+
'SvgFormatter': ('pygments.formatters.svg', 'SVG', ('svg',), ('*.svg',), 'Format tokens as an SVG graphics file. This formatter is still experimental. Each line of code is a ``<text>`` element with explicit ``x`` and ``y`` coordinates containing ``<tspan>`` elements with the individual token styles.'),
|
| 19 |
+
'Terminal256Formatter': ('pygments.formatters.terminal256', 'Terminal256', ('terminal256', 'console256', '256'), (), 'Format tokens with ANSI color sequences, for output in a 256-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.'),
|
| 20 |
+
'TerminalFormatter': ('pygments.formatters.terminal', 'Terminal', ('terminal', 'console'), (), 'Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly.'),
|
| 21 |
+
'TerminalTrueColorFormatter': ('pygments.formatters.terminal256', 'TerminalTrueColor', ('terminal16m', 'console16m', '16m'), (), 'Format tokens with ANSI color sequences, for output in a true-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.'),
|
| 22 |
+
'TestcaseFormatter': ('pygments.formatters.other', 'Testcase', ('testcase',), (), 'Format tokens as appropriate for a new testcase.'),
|
| 23 |
+
}
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/bbcode.py
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.bbcode
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
BBcode formatter.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
from pygments.formatter import Formatter
|
| 13 |
+
from pygments.util import get_bool_opt
|
| 14 |
+
|
| 15 |
+
__all__ = ['BBCodeFormatter']
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class BBCodeFormatter(Formatter):
|
| 19 |
+
"""
|
| 20 |
+
Format tokens with BBcodes. These formatting codes are used by many
|
| 21 |
+
bulletin boards, so you can highlight your sourcecode with pygments before
|
| 22 |
+
posting it there.
|
| 23 |
+
|
| 24 |
+
This formatter has no support for background colors and borders, as there
|
| 25 |
+
are no common BBcode tags for that.
|
| 26 |
+
|
| 27 |
+
Some board systems (e.g. phpBB) don't support colors in their [code] tag,
|
| 28 |
+
so you can't use the highlighting together with that tag.
|
| 29 |
+
Text in a [code] tag usually is shown with a monospace font (which this
|
| 30 |
+
formatter can do with the ``monofont`` option) and no spaces (which you
|
| 31 |
+
need for indentation) are removed.
|
| 32 |
+
|
| 33 |
+
Additional options accepted:
|
| 34 |
+
|
| 35 |
+
`style`
|
| 36 |
+
The style to use, can be a string or a Style subclass (default:
|
| 37 |
+
``'default'``).
|
| 38 |
+
|
| 39 |
+
`codetag`
|
| 40 |
+
If set to true, put the output into ``[code]`` tags (default:
|
| 41 |
+
``false``)
|
| 42 |
+
|
| 43 |
+
`monofont`
|
| 44 |
+
If set to true, add a tag to show the code with a monospace font
|
| 45 |
+
(default: ``false``).
|
| 46 |
+
"""
|
| 47 |
+
name = 'BBCode'
|
| 48 |
+
aliases = ['bbcode', 'bb']
|
| 49 |
+
filenames = []
|
| 50 |
+
|
| 51 |
+
def __init__(self, **options):
|
| 52 |
+
Formatter.__init__(self, **options)
|
| 53 |
+
self._code = get_bool_opt(options, 'codetag', False)
|
| 54 |
+
self._mono = get_bool_opt(options, 'monofont', False)
|
| 55 |
+
|
| 56 |
+
self.styles = {}
|
| 57 |
+
self._make_styles()
|
| 58 |
+
|
| 59 |
+
def _make_styles(self):
|
| 60 |
+
for ttype, ndef in self.style:
|
| 61 |
+
start = end = ''
|
| 62 |
+
if ndef['color']:
|
| 63 |
+
start += '[color=#{}]'.format(ndef['color'])
|
| 64 |
+
end = '[/color]' + end
|
| 65 |
+
if ndef['bold']:
|
| 66 |
+
start += '[b]'
|
| 67 |
+
end = '[/b]' + end
|
| 68 |
+
if ndef['italic']:
|
| 69 |
+
start += '[i]'
|
| 70 |
+
end = '[/i]' + end
|
| 71 |
+
if ndef['underline']:
|
| 72 |
+
start += '[u]'
|
| 73 |
+
end = '[/u]' + end
|
| 74 |
+
# there are no common BBcodes for background-color and border
|
| 75 |
+
|
| 76 |
+
self.styles[ttype] = start, end
|
| 77 |
+
|
| 78 |
+
def format_unencoded(self, tokensource, outfile):
|
| 79 |
+
if self._code:
|
| 80 |
+
outfile.write('[code]')
|
| 81 |
+
if self._mono:
|
| 82 |
+
outfile.write('[font=monospace]')
|
| 83 |
+
|
| 84 |
+
lastval = ''
|
| 85 |
+
lasttype = None
|
| 86 |
+
|
| 87 |
+
for ttype, value in tokensource:
|
| 88 |
+
while ttype not in self.styles:
|
| 89 |
+
ttype = ttype.parent
|
| 90 |
+
if ttype == lasttype:
|
| 91 |
+
lastval += value
|
| 92 |
+
else:
|
| 93 |
+
if lastval:
|
| 94 |
+
start, end = self.styles[lasttype]
|
| 95 |
+
outfile.write(''.join((start, lastval, end)))
|
| 96 |
+
lastval = value
|
| 97 |
+
lasttype = ttype
|
| 98 |
+
|
| 99 |
+
if lastval:
|
| 100 |
+
start, end = self.styles[lasttype]
|
| 101 |
+
outfile.write(''.join((start, lastval, end)))
|
| 102 |
+
|
| 103 |
+
if self._mono:
|
| 104 |
+
outfile.write('[/font]')
|
| 105 |
+
if self._code:
|
| 106 |
+
outfile.write('[/code]')
|
| 107 |
+
if self._code or self._mono:
|
| 108 |
+
outfile.write('\n')
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/groff.py
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.groff
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Formatter for groff output.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import math
|
| 12 |
+
from pygments.formatter import Formatter
|
| 13 |
+
from pygments.util import get_bool_opt, get_int_opt
|
| 14 |
+
|
| 15 |
+
__all__ = ['GroffFormatter']
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class GroffFormatter(Formatter):
|
| 19 |
+
"""
|
| 20 |
+
Format tokens with groff escapes to change their color and font style.
|
| 21 |
+
|
| 22 |
+
.. versionadded:: 2.11
|
| 23 |
+
|
| 24 |
+
Additional options accepted:
|
| 25 |
+
|
| 26 |
+
`style`
|
| 27 |
+
The style to use, can be a string or a Style subclass (default:
|
| 28 |
+
``'default'``).
|
| 29 |
+
|
| 30 |
+
`monospaced`
|
| 31 |
+
If set to true, monospace font will be used (default: ``true``).
|
| 32 |
+
|
| 33 |
+
`linenos`
|
| 34 |
+
If set to true, print the line numbers (default: ``false``).
|
| 35 |
+
|
| 36 |
+
`wrap`
|
| 37 |
+
Wrap lines to the specified number of characters. Disabled if set to 0
|
| 38 |
+
(default: ``0``).
|
| 39 |
+
"""
|
| 40 |
+
|
| 41 |
+
name = 'groff'
|
| 42 |
+
aliases = ['groff','troff','roff']
|
| 43 |
+
filenames = []
|
| 44 |
+
|
| 45 |
+
def __init__(self, **options):
|
| 46 |
+
Formatter.__init__(self, **options)
|
| 47 |
+
|
| 48 |
+
self.monospaced = get_bool_opt(options, 'monospaced', True)
|
| 49 |
+
self.linenos = get_bool_opt(options, 'linenos', False)
|
| 50 |
+
self._lineno = 0
|
| 51 |
+
self.wrap = get_int_opt(options, 'wrap', 0)
|
| 52 |
+
self._linelen = 0
|
| 53 |
+
|
| 54 |
+
self.styles = {}
|
| 55 |
+
self._make_styles()
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
def _make_styles(self):
|
| 59 |
+
regular = '\\f[CR]' if self.monospaced else '\\f[R]'
|
| 60 |
+
bold = '\\f[CB]' if self.monospaced else '\\f[B]'
|
| 61 |
+
italic = '\\f[CI]' if self.monospaced else '\\f[I]'
|
| 62 |
+
|
| 63 |
+
for ttype, ndef in self.style:
|
| 64 |
+
start = end = ''
|
| 65 |
+
if ndef['color']:
|
| 66 |
+
start += '\\m[{}]'.format(ndef['color'])
|
| 67 |
+
end = '\\m[]' + end
|
| 68 |
+
if ndef['bold']:
|
| 69 |
+
start += bold
|
| 70 |
+
end = regular + end
|
| 71 |
+
if ndef['italic']:
|
| 72 |
+
start += italic
|
| 73 |
+
end = regular + end
|
| 74 |
+
if ndef['bgcolor']:
|
| 75 |
+
start += '\\M[{}]'.format(ndef['bgcolor'])
|
| 76 |
+
end = '\\M[]' + end
|
| 77 |
+
|
| 78 |
+
self.styles[ttype] = start, end
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def _define_colors(self, outfile):
|
| 82 |
+
colors = set()
|
| 83 |
+
for _, ndef in self.style:
|
| 84 |
+
if ndef['color'] is not None:
|
| 85 |
+
colors.add(ndef['color'])
|
| 86 |
+
|
| 87 |
+
for color in sorted(colors):
|
| 88 |
+
outfile.write('.defcolor ' + color + ' rgb #' + color + '\n')
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def _write_lineno(self, outfile):
|
| 92 |
+
self._lineno += 1
|
| 93 |
+
outfile.write("%s% 4d " % (self._lineno != 1 and '\n' or '', self._lineno))
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
def _wrap_line(self, line):
|
| 97 |
+
length = len(line.rstrip('\n'))
|
| 98 |
+
space = ' ' if self.linenos else ''
|
| 99 |
+
newline = ''
|
| 100 |
+
|
| 101 |
+
if length > self.wrap:
|
| 102 |
+
for i in range(0, math.floor(length / self.wrap)):
|
| 103 |
+
chunk = line[i*self.wrap:i*self.wrap+self.wrap]
|
| 104 |
+
newline += (chunk + '\n' + space)
|
| 105 |
+
remainder = length % self.wrap
|
| 106 |
+
if remainder > 0:
|
| 107 |
+
newline += line[-remainder-1:]
|
| 108 |
+
self._linelen = remainder
|
| 109 |
+
elif self._linelen + length > self.wrap:
|
| 110 |
+
newline = ('\n' + space) + line
|
| 111 |
+
self._linelen = length
|
| 112 |
+
else:
|
| 113 |
+
newline = line
|
| 114 |
+
self._linelen += length
|
| 115 |
+
|
| 116 |
+
return newline
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
def _escape_chars(self, text):
|
| 120 |
+
text = text.replace('\\', '\\[u005C]'). \
|
| 121 |
+
replace('.', '\\[char46]'). \
|
| 122 |
+
replace('\'', '\\[u0027]'). \
|
| 123 |
+
replace('`', '\\[u0060]'). \
|
| 124 |
+
replace('~', '\\[u007E]')
|
| 125 |
+
copy = text
|
| 126 |
+
|
| 127 |
+
for char in copy:
|
| 128 |
+
if len(char) != len(char.encode()):
|
| 129 |
+
uni = char.encode('unicode_escape') \
|
| 130 |
+
.decode()[1:] \
|
| 131 |
+
.replace('x', 'u00') \
|
| 132 |
+
.upper()
|
| 133 |
+
text = text.replace(char, '\\[u' + uni[1:] + ']')
|
| 134 |
+
|
| 135 |
+
return text
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def format_unencoded(self, tokensource, outfile):
|
| 139 |
+
self._define_colors(outfile)
|
| 140 |
+
|
| 141 |
+
outfile.write('.nf\n\\f[CR]\n')
|
| 142 |
+
|
| 143 |
+
if self.linenos:
|
| 144 |
+
self._write_lineno(outfile)
|
| 145 |
+
|
| 146 |
+
for ttype, value in tokensource:
|
| 147 |
+
while ttype not in self.styles:
|
| 148 |
+
ttype = ttype.parent
|
| 149 |
+
start, end = self.styles[ttype]
|
| 150 |
+
|
| 151 |
+
for line in value.splitlines(True):
|
| 152 |
+
if self.wrap > 0:
|
| 153 |
+
line = self._wrap_line(line)
|
| 154 |
+
|
| 155 |
+
if start and end:
|
| 156 |
+
text = self._escape_chars(line.rstrip('\n'))
|
| 157 |
+
if text != '':
|
| 158 |
+
outfile.write(''.join((start, text, end)))
|
| 159 |
+
else:
|
| 160 |
+
outfile.write(self._escape_chars(line.rstrip('\n')))
|
| 161 |
+
|
| 162 |
+
if line.endswith('\n'):
|
| 163 |
+
if self.linenos:
|
| 164 |
+
self._write_lineno(outfile)
|
| 165 |
+
self._linelen = 0
|
| 166 |
+
else:
|
| 167 |
+
outfile.write('\n')
|
| 168 |
+
self._linelen = 0
|
| 169 |
+
|
| 170 |
+
outfile.write('\n.fi')
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/html.py
ADDED
|
@@ -0,0 +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
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import functools
|
| 12 |
+
import os
|
| 13 |
+
import sys
|
| 14 |
+
import os.path
|
| 15 |
+
from io import StringIO
|
| 16 |
+
|
| 17 |
+
from pygments.formatter import Formatter
|
| 18 |
+
from pygments.token import Token, Text, STANDARD_TYPES
|
| 19 |
+
from pygments.util import get_bool_opt, get_int_opt, get_list_opt
|
| 20 |
+
|
| 21 |
+
import html
|
| 22 |
+
|
| 23 |
+
try:
|
| 24 |
+
import ctags
|
| 25 |
+
except ImportError:
|
| 26 |
+
ctags = None
|
| 27 |
+
|
| 28 |
+
__all__ = ['HtmlFormatter']
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
_escape_html_table = {
|
| 32 |
+
ord('&'): '&',
|
| 33 |
+
ord('<'): '<',
|
| 34 |
+
ord('>'): '>',
|
| 35 |
+
ord('"'): '"',
|
| 36 |
+
ord("'"): ''',
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
def escape_html(text, table=_escape_html_table):
|
| 41 |
+
"""Escape &, <, > as well as single and double quotes for HTML."""
|
| 42 |
+
return text.translate(table)
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def webify(color):
|
| 46 |
+
if color.startswith('calc') or color.startswith('var'):
|
| 47 |
+
return color
|
| 48 |
+
else:
|
| 49 |
+
# Check if the color can be shortened from 6 to 3 characters
|
| 50 |
+
color = color.upper()
|
| 51 |
+
if (len(color) == 6 and
|
| 52 |
+
( color[0] == color[1]
|
| 53 |
+
and color[2] == color[3]
|
| 54 |
+
and color[4] == color[5])):
|
| 55 |
+
return f'#{color[0]}{color[2]}{color[4]}'
|
| 56 |
+
else:
|
| 57 |
+
return f'#{color}'
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def _get_ttype_class(ttype):
|
| 61 |
+
fname = STANDARD_TYPES.get(ttype)
|
| 62 |
+
if fname:
|
| 63 |
+
return fname
|
| 64 |
+
aname = ''
|
| 65 |
+
while fname is None:
|
| 66 |
+
aname = '-' + ttype[-1] + aname
|
| 67 |
+
ttype = ttype.parent
|
| 68 |
+
fname = STANDARD_TYPES.get(ttype)
|
| 69 |
+
return fname + aname
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
CSSFILE_TEMPLATE = '''\
|
| 73 |
+
/*
|
| 74 |
+
generated by Pygments <https://pygments.org/>
|
| 75 |
+
Copyright 2006-present by the Pygments team.
|
| 76 |
+
Licensed under the BSD license, see LICENSE for details.
|
| 77 |
+
*/
|
| 78 |
+
%(styledefs)s
|
| 79 |
+
'''
|
| 80 |
+
|
| 81 |
+
DOC_HEADER = '''\
|
| 82 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
| 83 |
+
"http://www.w3.org/TR/html4/strict.dtd">
|
| 84 |
+
<!--
|
| 85 |
+
generated by Pygments <https://pygments.org/>
|
| 86 |
+
Copyright 2006-present by the Pygments team.
|
| 87 |
+
Licensed under the BSD license, see LICENSE for details.
|
| 88 |
+
-->
|
| 89 |
+
<html>
|
| 90 |
+
<head>
|
| 91 |
+
<title>%(title)s</title>
|
| 92 |
+
<meta http-equiv="content-type" content="text/html; charset=%(encoding)s">
|
| 93 |
+
<style type="text/css">
|
| 94 |
+
''' + CSSFILE_TEMPLATE + '''
|
| 95 |
+
</style>
|
| 96 |
+
</head>
|
| 97 |
+
<body>
|
| 98 |
+
<h2>%(title)s</h2>
|
| 99 |
+
|
| 100 |
+
'''
|
| 101 |
+
|
| 102 |
+
DOC_HEADER_EXTERNALCSS = '''\
|
| 103 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
| 104 |
+
"http://www.w3.org/TR/html4/strict.dtd">
|
| 105 |
+
|
| 106 |
+
<html>
|
| 107 |
+
<head>
|
| 108 |
+
<title>%(title)s</title>
|
| 109 |
+
<meta http-equiv="content-type" content="text/html; charset=%(encoding)s">
|
| 110 |
+
<link rel="stylesheet" href="%(cssfile)s" type="text/css">
|
| 111 |
+
</head>
|
| 112 |
+
<body>
|
| 113 |
+
<h2>%(title)s</h2>
|
| 114 |
+
|
| 115 |
+
'''
|
| 116 |
+
|
| 117 |
+
DOC_FOOTER = '''\
|
| 118 |
+
</body>
|
| 119 |
+
</html>
|
| 120 |
+
'''
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
class HtmlFormatter(Formatter):
|
| 124 |
+
r"""
|
| 125 |
+
Format tokens as HTML 4 ``<span>`` tags. By default, the content is enclosed
|
| 126 |
+
in a ``<pre>`` tag, itself wrapped in a ``<div>`` tag (but see the `nowrap` option).
|
| 127 |
+
The ``<div>``'s CSS class can be set by the `cssclass` option.
|
| 128 |
+
|
| 129 |
+
If the `linenos` option is set to ``"table"``, the ``<pre>`` is
|
| 130 |
+
additionally wrapped inside a ``<table>`` which has one row and two
|
| 131 |
+
cells: one containing the line numbers and one containing the code.
|
| 132 |
+
Example:
|
| 133 |
+
|
| 134 |
+
.. sourcecode:: html
|
| 135 |
+
|
| 136 |
+
<div class="highlight" >
|
| 137 |
+
<table><tr>
|
| 138 |
+
<td class="linenos" title="click to toggle"
|
| 139 |
+
onclick="with (this.firstChild.style)
|
| 140 |
+
{ display = (display == '') ? 'none' : '' }">
|
| 141 |
+
<pre>1
|
| 142 |
+
2</pre>
|
| 143 |
+
</td>
|
| 144 |
+
<td class="code">
|
| 145 |
+
<pre><span class="Ke">def </span><span class="NaFu">foo</span>(bar):
|
| 146 |
+
<span class="Ke">pass</span>
|
| 147 |
+
</pre>
|
| 148 |
+
</td>
|
| 149 |
+
</tr></table></div>
|
| 150 |
+
|
| 151 |
+
(whitespace added to improve clarity).
|
| 152 |
+
|
| 153 |
+
A list of lines can be specified using the `hl_lines` option to make these
|
| 154 |
+
lines highlighted (as of Pygments 0.11).
|
| 155 |
+
|
| 156 |
+
With the `full` option, a complete HTML 4 document is output, including
|
| 157 |
+
the style definitions inside a ``<style>`` tag, or in a separate file if
|
| 158 |
+
the `cssfile` option is given.
|
| 159 |
+
|
| 160 |
+
When `tagsfile` is set to the path of a ctags index file, it is used to
|
| 161 |
+
generate hyperlinks from names to their definition. You must enable
|
| 162 |
+
`lineanchors` and run ctags with the `-n` option for this to work. The
|
| 163 |
+
`python-ctags` module from PyPI must be installed to use this feature;
|
| 164 |
+
otherwise a `RuntimeError` will be raised.
|
| 165 |
+
|
| 166 |
+
The `get_style_defs(arg='')` method of a `HtmlFormatter` returns a string
|
| 167 |
+
containing CSS rules for the CSS classes used by the formatter. The
|
| 168 |
+
argument `arg` can be used to specify additional CSS selectors that
|
| 169 |
+
are prepended to the classes. A call `fmter.get_style_defs('td .code')`
|
| 170 |
+
would result in the following CSS classes:
|
| 171 |
+
|
| 172 |
+
.. sourcecode:: css
|
| 173 |
+
|
| 174 |
+
td .code .kw { font-weight: bold; color: #00FF00 }
|
| 175 |
+
td .code .cm { color: #999999 }
|
| 176 |
+
...
|
| 177 |
+
|
| 178 |
+
If you have Pygments 0.6 or higher, you can also pass a list or tuple to the
|
| 179 |
+
`get_style_defs()` method to request multiple prefixes for the tokens:
|
| 180 |
+
|
| 181 |
+
.. sourcecode:: python
|
| 182 |
+
|
| 183 |
+
formatter.get_style_defs(['div.syntax pre', 'pre.syntax'])
|
| 184 |
+
|
| 185 |
+
The output would then look like this:
|
| 186 |
+
|
| 187 |
+
.. sourcecode:: css
|
| 188 |
+
|
| 189 |
+
div.syntax pre .kw,
|
| 190 |
+
pre.syntax .kw { font-weight: bold; color: #00FF00 }
|
| 191 |
+
div.syntax pre .cm,
|
| 192 |
+
pre.syntax .cm { color: #999999 }
|
| 193 |
+
...
|
| 194 |
+
|
| 195 |
+
Additional options accepted:
|
| 196 |
+
|
| 197 |
+
`nowrap`
|
| 198 |
+
If set to ``True``, don't add a ``<pre>`` and a ``<div>`` tag
|
| 199 |
+
around the tokens. This disables most other options (default: ``False``).
|
| 200 |
+
|
| 201 |
+
`full`
|
| 202 |
+
Tells the formatter to output a "full" document, i.e. a complete
|
| 203 |
+
self-contained document (default: ``False``).
|
| 204 |
+
|
| 205 |
+
`title`
|
| 206 |
+
If `full` is true, the title that should be used to caption the
|
| 207 |
+
document (default: ``''``).
|
| 208 |
+
|
| 209 |
+
`style`
|
| 210 |
+
The style to use, can be a string or a Style subclass (default:
|
| 211 |
+
``'default'``). This option has no effect if the `cssfile`
|
| 212 |
+
and `noclobber_cssfile` option are given and the file specified in
|
| 213 |
+
`cssfile` exists.
|
| 214 |
+
|
| 215 |
+
`noclasses`
|
| 216 |
+
If set to true, token ``<span>`` tags (as well as line number elements)
|
| 217 |
+
will not use CSS classes, but inline styles. This is not recommended
|
| 218 |
+
for larger pieces of code since it increases output size by quite a bit
|
| 219 |
+
(default: ``False``).
|
| 220 |
+
|
| 221 |
+
`classprefix`
|
| 222 |
+
Since the token types use relatively short class names, they may clash
|
| 223 |
+
with some of your own class names. In this case you can use the
|
| 224 |
+
`classprefix` option to give a string to prepend to all Pygments-generated
|
| 225 |
+
CSS class names for token types.
|
| 226 |
+
Note that this option also affects the output of `get_style_defs()`.
|
| 227 |
+
|
| 228 |
+
`cssclass`
|
| 229 |
+
CSS class for the wrapping ``<div>`` tag (default: ``'highlight'``).
|
| 230 |
+
If you set this option, the default selector for `get_style_defs()`
|
| 231 |
+
will be this class.
|
| 232 |
+
|
| 233 |
+
.. versionadded:: 0.9
|
| 234 |
+
If you select the ``'table'`` line numbers, the wrapping table will
|
| 235 |
+
have a CSS class of this string plus ``'table'``, the default is
|
| 236 |
+
accordingly ``'highlighttable'``.
|
| 237 |
+
|
| 238 |
+
`cssstyles`
|
| 239 |
+
Inline CSS styles for the wrapping ``<div>`` tag (default: ``''``).
|
| 240 |
+
|
| 241 |
+
`prestyles`
|
| 242 |
+
Inline CSS styles for the ``<pre>`` tag (default: ``''``).
|
| 243 |
+
|
| 244 |
+
.. versionadded:: 0.11
|
| 245 |
+
|
| 246 |
+
`cssfile`
|
| 247 |
+
If the `full` option is true and this option is given, it must be the
|
| 248 |
+
name of an external file. If the filename does not include an absolute
|
| 249 |
+
path, the file's path will be assumed to be relative to the main output
|
| 250 |
+
file's path, if the latter can be found. The stylesheet is then written
|
| 251 |
+
to this file instead of the HTML file.
|
| 252 |
+
|
| 253 |
+
.. versionadded:: 0.6
|
| 254 |
+
|
| 255 |
+
`noclobber_cssfile`
|
| 256 |
+
If `cssfile` is given and the specified file exists, the css file will
|
| 257 |
+
not be overwritten. This allows the use of the `full` option in
|
| 258 |
+
combination with a user specified css file. Default is ``False``.
|
| 259 |
+
|
| 260 |
+
.. versionadded:: 1.1
|
| 261 |
+
|
| 262 |
+
`linenos`
|
| 263 |
+
If set to ``'table'``, output line numbers as a table with two cells,
|
| 264 |
+
one containing the line numbers, the other the whole code. This is
|
| 265 |
+
copy-and-paste-friendly, but may cause alignment problems with some
|
| 266 |
+
browsers or fonts. If set to ``'inline'``, the line numbers will be
|
| 267 |
+
integrated in the ``<pre>`` tag that contains the code (that setting
|
| 268 |
+
is *new in Pygments 0.8*).
|
| 269 |
+
|
| 270 |
+
For compatibility with Pygments 0.7 and earlier, every true value
|
| 271 |
+
except ``'inline'`` means the same as ``'table'`` (in particular, that
|
| 272 |
+
means also ``True``).
|
| 273 |
+
|
| 274 |
+
The default value is ``False``, which means no line numbers at all.
|
| 275 |
+
|
| 276 |
+
**Note:** with the default ("table") line number mechanism, the line
|
| 277 |
+
numbers and code can have different line heights in Internet Explorer
|
| 278 |
+
unless you give the enclosing ``<pre>`` tags an explicit ``line-height``
|
| 279 |
+
CSS property (you get the default line spacing with ``line-height:
|
| 280 |
+
125%``).
|
| 281 |
+
|
| 282 |
+
`hl_lines`
|
| 283 |
+
Specify a list of lines to be highlighted. The line numbers are always
|
| 284 |
+
relative to the input (i.e. the first line is line 1) and are
|
| 285 |
+
independent of `linenostart`.
|
| 286 |
+
|
| 287 |
+
.. versionadded:: 0.11
|
| 288 |
+
|
| 289 |
+
`linenostart`
|
| 290 |
+
The line number for the first line (default: ``1``).
|
| 291 |
+
|
| 292 |
+
`linenostep`
|
| 293 |
+
If set to a number n > 1, only every nth line number is printed.
|
| 294 |
+
|
| 295 |
+
`linenospecial`
|
| 296 |
+
If set to a number n > 0, every nth line number is given the CSS
|
| 297 |
+
class ``"special"`` (default: ``0``).
|
| 298 |
+
|
| 299 |
+
`nobackground`
|
| 300 |
+
If set to ``True``, the formatter won't output the background color
|
| 301 |
+
for the wrapping element (this automatically defaults to ``False``
|
| 302 |
+
when there is no wrapping element [eg: no argument for the
|
| 303 |
+
`get_syntax_defs` method given]) (default: ``False``).
|
| 304 |
+
|
| 305 |
+
.. versionadded:: 0.6
|
| 306 |
+
|
| 307 |
+
`lineseparator`
|
| 308 |
+
This string is output between lines of code. It defaults to ``"\n"``,
|
| 309 |
+
which is enough to break a line inside ``<pre>`` tags, but you can
|
| 310 |
+
e.g. set it to ``"<br>"`` to get HTML line breaks.
|
| 311 |
+
|
| 312 |
+
.. versionadded:: 0.7
|
| 313 |
+
|
| 314 |
+
`lineanchors`
|
| 315 |
+
If set to a nonempty string, e.g. ``foo``, the formatter will wrap each
|
| 316 |
+
output line in an anchor tag with an ``id`` (and `name`) of ``foo-linenumber``.
|
| 317 |
+
This allows easy linking to certain lines.
|
| 318 |
+
|
| 319 |
+
.. versionadded:: 0.9
|
| 320 |
+
|
| 321 |
+
`linespans`
|
| 322 |
+
If set to a nonempty string, e.g. ``foo``, the formatter will wrap each
|
| 323 |
+
output line in a span tag with an ``id`` of ``foo-linenumber``.
|
| 324 |
+
This allows easy access to lines via javascript.
|
| 325 |
+
|
| 326 |
+
.. versionadded:: 1.6
|
| 327 |
+
|
| 328 |
+
`anchorlinenos`
|
| 329 |
+
If set to `True`, will wrap line numbers in <a> tags. Used in
|
| 330 |
+
combination with `linenos` and `lineanchors`.
|
| 331 |
+
|
| 332 |
+
`tagsfile`
|
| 333 |
+
If set to the path of a ctags file, wrap names in anchor tags that
|
| 334 |
+
link to their definitions. `lineanchors` should be used, and the
|
| 335 |
+
tags file should specify line numbers (see the `-n` option to ctags).
|
| 336 |
+
The tags file is assumed to be encoded in UTF-8.
|
| 337 |
+
|
| 338 |
+
.. versionadded:: 1.6
|
| 339 |
+
|
| 340 |
+
`tagurlformat`
|
| 341 |
+
A string formatting pattern used to generate links to ctags definitions.
|
| 342 |
+
Available variables are `%(path)s`, `%(fname)s` and `%(fext)s`.
|
| 343 |
+
Defaults to an empty string, resulting in just `#prefix-number` links.
|
| 344 |
+
|
| 345 |
+
.. versionadded:: 1.6
|
| 346 |
+
|
| 347 |
+
`filename`
|
| 348 |
+
A string used to generate a filename when rendering ``<pre>`` blocks,
|
| 349 |
+
for example if displaying source code. If `linenos` is set to
|
| 350 |
+
``'table'`` then the filename will be rendered in an initial row
|
| 351 |
+
containing a single `<th>` which spans both columns.
|
| 352 |
+
|
| 353 |
+
.. versionadded:: 2.1
|
| 354 |
+
|
| 355 |
+
`wrapcode`
|
| 356 |
+
Wrap the code inside ``<pre>`` blocks using ``<code>``, as recommended
|
| 357 |
+
by the HTML5 specification.
|
| 358 |
+
|
| 359 |
+
.. versionadded:: 2.4
|
| 360 |
+
|
| 361 |
+
`debug_token_types`
|
| 362 |
+
Add ``title`` attributes to all token ``<span>`` tags that show the
|
| 363 |
+
name of the token.
|
| 364 |
+
|
| 365 |
+
.. versionadded:: 2.10
|
| 366 |
+
|
| 367 |
+
|
| 368 |
+
**Subclassing the HTML formatter**
|
| 369 |
+
|
| 370 |
+
.. versionadded:: 0.7
|
| 371 |
+
|
| 372 |
+
The HTML formatter is now built in a way that allows easy subclassing, thus
|
| 373 |
+
customizing the output HTML code. The `format()` method calls
|
| 374 |
+
`self._format_lines()` which returns a generator that yields tuples of ``(1,
|
| 375 |
+
line)``, where the ``1`` indicates that the ``line`` is a line of the
|
| 376 |
+
formatted source code.
|
| 377 |
+
|
| 378 |
+
If the `nowrap` option is set, the generator is the iterated over and the
|
| 379 |
+
resulting HTML is output.
|
| 380 |
+
|
| 381 |
+
Otherwise, `format()` calls `self.wrap()`, which wraps the generator with
|
| 382 |
+
other generators. These may add some HTML code to the one generated by
|
| 383 |
+
`_format_lines()`, either by modifying the lines generated by the latter,
|
| 384 |
+
then yielding them again with ``(1, line)``, and/or by yielding other HTML
|
| 385 |
+
code before or after the lines, with ``(0, html)``. The distinction between
|
| 386 |
+
source lines and other code makes it possible to wrap the generator multiple
|
| 387 |
+
times.
|
| 388 |
+
|
| 389 |
+
The default `wrap()` implementation adds a ``<div>`` and a ``<pre>`` tag.
|
| 390 |
+
|
| 391 |
+
A custom `HtmlFormatter` subclass could look like this:
|
| 392 |
+
|
| 393 |
+
.. sourcecode:: python
|
| 394 |
+
|
| 395 |
+
class CodeHtmlFormatter(HtmlFormatter):
|
| 396 |
+
|
| 397 |
+
def wrap(self, source, *, include_div):
|
| 398 |
+
return self._wrap_code(source)
|
| 399 |
+
|
| 400 |
+
def _wrap_code(self, source):
|
| 401 |
+
yield 0, '<code>'
|
| 402 |
+
for i, t in source:
|
| 403 |
+
if i == 1:
|
| 404 |
+
# it's a line of formatted code
|
| 405 |
+
t += '<br>'
|
| 406 |
+
yield i, t
|
| 407 |
+
yield 0, '</code>'
|
| 408 |
+
|
| 409 |
+
This results in wrapping the formatted lines with a ``<code>`` tag, where the
|
| 410 |
+
source lines are broken using ``<br>`` tags.
|
| 411 |
+
|
| 412 |
+
After calling `wrap()`, the `format()` method also adds the "line numbers"
|
| 413 |
+
and/or "full document" wrappers if the respective options are set. Then, all
|
| 414 |
+
HTML yielded by the wrapped generator is output.
|
| 415 |
+
"""
|
| 416 |
+
|
| 417 |
+
name = 'HTML'
|
| 418 |
+
aliases = ['html']
|
| 419 |
+
filenames = ['*.html', '*.htm']
|
| 420 |
+
|
| 421 |
+
def __init__(self, **options):
|
| 422 |
+
Formatter.__init__(self, **options)
|
| 423 |
+
self.title = self._decodeifneeded(self.title)
|
| 424 |
+
self.nowrap = get_bool_opt(options, 'nowrap', False)
|
| 425 |
+
self.noclasses = get_bool_opt(options, 'noclasses', False)
|
| 426 |
+
self.classprefix = options.get('classprefix', '')
|
| 427 |
+
self.cssclass = html.escape(self._decodeifneeded(options.get('cssclass', 'highlight')))
|
| 428 |
+
self.cssstyles = html.escape(self._decodeifneeded(options.get('cssstyles', '')))
|
| 429 |
+
self.prestyles = self._decodeifneeded(options.get('prestyles', ''))
|
| 430 |
+
self.cssfile = self._decodeifneeded(options.get('cssfile', ''))
|
| 431 |
+
self.noclobber_cssfile = get_bool_opt(options, 'noclobber_cssfile', False)
|
| 432 |
+
self.tagsfile = self._decodeifneeded(options.get('tagsfile', ''))
|
| 433 |
+
self.tagurlformat = self._decodeifneeded(options.get('tagurlformat', ''))
|
| 434 |
+
self.filename = html.escape(self._decodeifneeded(options.get('filename', '')))
|
| 435 |
+
self.wrapcode = get_bool_opt(options, 'wrapcode', False)
|
| 436 |
+
self.span_element_openers = {}
|
| 437 |
+
self.debug_token_types = get_bool_opt(options, 'debug_token_types', False)
|
| 438 |
+
|
| 439 |
+
if self.tagsfile:
|
| 440 |
+
if not ctags:
|
| 441 |
+
raise RuntimeError('The "ctags" package must to be installed '
|
| 442 |
+
'to be able to use the "tagsfile" feature.')
|
| 443 |
+
self._ctags = ctags.CTags(self.tagsfile)
|
| 444 |
+
|
| 445 |
+
linenos = options.get('linenos', False)
|
| 446 |
+
if linenos == 'inline':
|
| 447 |
+
self.linenos = 2
|
| 448 |
+
elif linenos:
|
| 449 |
+
# compatibility with <= 0.7
|
| 450 |
+
self.linenos = 1
|
| 451 |
+
else:
|
| 452 |
+
self.linenos = 0
|
| 453 |
+
self.linenostart = abs(get_int_opt(options, 'linenostart', 1))
|
| 454 |
+
self.linenostep = abs(get_int_opt(options, 'linenostep', 1))
|
| 455 |
+
self.linenospecial = abs(get_int_opt(options, 'linenospecial', 0))
|
| 456 |
+
self.nobackground = get_bool_opt(options, 'nobackground', False)
|
| 457 |
+
self.lineseparator = html.escape(options.get('lineseparator', '\n'))
|
| 458 |
+
self.lineanchors = html.escape(options.get('lineanchors', ''))
|
| 459 |
+
self.linespans = html.escape(options.get('linespans', ''))
|
| 460 |
+
self.anchorlinenos = get_bool_opt(options, 'anchorlinenos', False)
|
| 461 |
+
self.hl_lines = set()
|
| 462 |
+
for lineno in get_list_opt(options, 'hl_lines', []):
|
| 463 |
+
try:
|
| 464 |
+
self.hl_lines.add(int(lineno))
|
| 465 |
+
except ValueError:
|
| 466 |
+
pass
|
| 467 |
+
|
| 468 |
+
self._create_stylesheet()
|
| 469 |
+
|
| 470 |
+
def _get_css_class(self, ttype):
|
| 471 |
+
"""Return the css class of this token type prefixed with
|
| 472 |
+
the classprefix option."""
|
| 473 |
+
ttypeclass = _get_ttype_class(ttype)
|
| 474 |
+
if ttypeclass:
|
| 475 |
+
return self.classprefix + ttypeclass
|
| 476 |
+
return ''
|
| 477 |
+
|
| 478 |
+
def _get_css_classes(self, ttype):
|
| 479 |
+
"""Return the CSS classes of this token type prefixed with the classprefix option."""
|
| 480 |
+
cls = self._get_css_class(ttype)
|
| 481 |
+
while ttype not in STANDARD_TYPES:
|
| 482 |
+
ttype = ttype.parent
|
| 483 |
+
cls = self._get_css_class(ttype) + ' ' + cls
|
| 484 |
+
return cls or ''
|
| 485 |
+
|
| 486 |
+
def _get_css_inline_styles(self, ttype):
|
| 487 |
+
"""Return the inline CSS styles for this token type."""
|
| 488 |
+
cclass = self.ttype2class.get(ttype)
|
| 489 |
+
while cclass is None:
|
| 490 |
+
ttype = ttype.parent
|
| 491 |
+
cclass = self.ttype2class.get(ttype)
|
| 492 |
+
return cclass or ''
|
| 493 |
+
|
| 494 |
+
def _create_stylesheet(self):
|
| 495 |
+
t2c = self.ttype2class = {Token: ''}
|
| 496 |
+
c2s = self.class2style = {}
|
| 497 |
+
for ttype, ndef in self.style:
|
| 498 |
+
name = self._get_css_class(ttype)
|
| 499 |
+
style = ''
|
| 500 |
+
if ndef['color']:
|
| 501 |
+
style += 'color: {}; '.format(webify(ndef['color']))
|
| 502 |
+
if ndef['bold']:
|
| 503 |
+
style += 'font-weight: bold; '
|
| 504 |
+
if ndef['italic']:
|
| 505 |
+
style += 'font-style: italic; '
|
| 506 |
+
if ndef['underline']:
|
| 507 |
+
style += 'text-decoration: underline; '
|
| 508 |
+
if ndef['bgcolor']:
|
| 509 |
+
style += 'background-color: {}; '.format(webify(ndef['bgcolor']))
|
| 510 |
+
if ndef['border']:
|
| 511 |
+
style += 'border: 1px solid {}; '.format(webify(ndef['border']))
|
| 512 |
+
if style:
|
| 513 |
+
t2c[ttype] = name
|
| 514 |
+
# save len(ttype) to enable ordering the styles by
|
| 515 |
+
# hierarchy (necessary for CSS cascading rules!)
|
| 516 |
+
c2s[name] = (style[:-2], ttype, len(ttype))
|
| 517 |
+
|
| 518 |
+
def get_style_defs(self, arg=None):
|
| 519 |
+
"""
|
| 520 |
+
Return CSS style definitions for the classes produced by the current
|
| 521 |
+
highlighting style. ``arg`` can be a string or list of selectors to
|
| 522 |
+
insert before the token type classes.
|
| 523 |
+
"""
|
| 524 |
+
style_lines = []
|
| 525 |
+
|
| 526 |
+
style_lines.extend(self.get_linenos_style_defs())
|
| 527 |
+
style_lines.extend(self.get_background_style_defs(arg))
|
| 528 |
+
style_lines.extend(self.get_token_style_defs(arg))
|
| 529 |
+
|
| 530 |
+
return '\n'.join(style_lines)
|
| 531 |
+
|
| 532 |
+
def get_token_style_defs(self, arg=None):
|
| 533 |
+
prefix = self.get_css_prefix(arg)
|
| 534 |
+
|
| 535 |
+
styles = [
|
| 536 |
+
(level, ttype, cls, style)
|
| 537 |
+
for cls, (style, ttype, level) in self.class2style.items()
|
| 538 |
+
if cls and style
|
| 539 |
+
]
|
| 540 |
+
styles.sort()
|
| 541 |
+
|
| 542 |
+
lines = [
|
| 543 |
+
f'{prefix(cls)} {{ {style} }} /* {repr(ttype)[6:]} */'
|
| 544 |
+
for (level, ttype, cls, style) in styles
|
| 545 |
+
]
|
| 546 |
+
|
| 547 |
+
return lines
|
| 548 |
+
|
| 549 |
+
def get_background_style_defs(self, arg=None):
|
| 550 |
+
prefix = self.get_css_prefix(arg)
|
| 551 |
+
bg_color = self.style.background_color
|
| 552 |
+
hl_color = self.style.highlight_color
|
| 553 |
+
|
| 554 |
+
lines = []
|
| 555 |
+
|
| 556 |
+
if arg and not self.nobackground and bg_color is not None:
|
| 557 |
+
text_style = ''
|
| 558 |
+
if Text in self.ttype2class:
|
| 559 |
+
text_style = ' ' + self.class2style[self.ttype2class[Text]][0]
|
| 560 |
+
lines.insert(
|
| 561 |
+
0, '{}{{ background: {};{} }}'.format(
|
| 562 |
+
prefix(''), bg_color, text_style
|
| 563 |
+
)
|
| 564 |
+
)
|
| 565 |
+
if hl_color is not None:
|
| 566 |
+
lines.insert(
|
| 567 |
+
0, '{} {{ background-color: {} }}'.format(prefix('hll'), hl_color)
|
| 568 |
+
)
|
| 569 |
+
|
| 570 |
+
return lines
|
| 571 |
+
|
| 572 |
+
def get_linenos_style_defs(self):
|
| 573 |
+
lines = [
|
| 574 |
+
f'pre {{ {self._pre_style} }}',
|
| 575 |
+
f'td.linenos .normal {{ {self._linenos_style} }}',
|
| 576 |
+
f'span.linenos {{ {self._linenos_style} }}',
|
| 577 |
+
f'td.linenos .special {{ {self._linenos_special_style} }}',
|
| 578 |
+
f'span.linenos.special {{ {self._linenos_special_style} }}',
|
| 579 |
+
]
|
| 580 |
+
|
| 581 |
+
return lines
|
| 582 |
+
|
| 583 |
+
def get_css_prefix(self, arg):
|
| 584 |
+
if arg is None:
|
| 585 |
+
arg = ('cssclass' in self.options and '.'+self.cssclass or '')
|
| 586 |
+
if isinstance(arg, str):
|
| 587 |
+
args = [arg]
|
| 588 |
+
else:
|
| 589 |
+
args = list(arg)
|
| 590 |
+
|
| 591 |
+
def prefix(cls):
|
| 592 |
+
if cls:
|
| 593 |
+
cls = '.' + cls
|
| 594 |
+
tmp = []
|
| 595 |
+
for arg in args:
|
| 596 |
+
tmp.append((arg and arg + ' ' or '') + cls)
|
| 597 |
+
return ', '.join(tmp)
|
| 598 |
+
|
| 599 |
+
return prefix
|
| 600 |
+
|
| 601 |
+
@property
|
| 602 |
+
def _pre_style(self):
|
| 603 |
+
return 'line-height: 125%;'
|
| 604 |
+
|
| 605 |
+
@property
|
| 606 |
+
def _linenos_style(self):
|
| 607 |
+
color = self.style.line_number_color
|
| 608 |
+
background_color = self.style.line_number_background_color
|
| 609 |
+
return f'color: {color}; background-color: {background_color}; padding-left: 5px; padding-right: 5px;'
|
| 610 |
+
|
| 611 |
+
@property
|
| 612 |
+
def _linenos_special_style(self):
|
| 613 |
+
color = self.style.line_number_special_color
|
| 614 |
+
background_color = self.style.line_number_special_background_color
|
| 615 |
+
return f'color: {color}; background-color: {background_color}; padding-left: 5px; padding-right: 5px;'
|
| 616 |
+
|
| 617 |
+
def _decodeifneeded(self, value):
|
| 618 |
+
if isinstance(value, bytes):
|
| 619 |
+
if self.encoding:
|
| 620 |
+
return value.decode(self.encoding)
|
| 621 |
+
return value.decode()
|
| 622 |
+
return value
|
| 623 |
+
|
| 624 |
+
def _wrap_full(self, inner, outfile):
|
| 625 |
+
if self.cssfile:
|
| 626 |
+
if os.path.isabs(self.cssfile):
|
| 627 |
+
# it's an absolute filename
|
| 628 |
+
cssfilename = self.cssfile
|
| 629 |
+
else:
|
| 630 |
+
try:
|
| 631 |
+
filename = outfile.name
|
| 632 |
+
if not filename or filename[0] == '<':
|
| 633 |
+
# pseudo files, e.g. name == '<fdopen>'
|
| 634 |
+
raise AttributeError
|
| 635 |
+
cssfilename = os.path.join(os.path.dirname(filename),
|
| 636 |
+
self.cssfile)
|
| 637 |
+
except AttributeError:
|
| 638 |
+
print('Note: Cannot determine output file name, '
|
| 639 |
+
'using current directory as base for the CSS file name',
|
| 640 |
+
file=sys.stderr)
|
| 641 |
+
cssfilename = self.cssfile
|
| 642 |
+
# write CSS file only if noclobber_cssfile isn't given as an option.
|
| 643 |
+
try:
|
| 644 |
+
if not os.path.exists(cssfilename) or not self.noclobber_cssfile:
|
| 645 |
+
with open(cssfilename, "w", encoding="utf-8") as cf:
|
| 646 |
+
cf.write(CSSFILE_TEMPLATE %
|
| 647 |
+
{'styledefs': self.get_style_defs('body')})
|
| 648 |
+
except OSError as err:
|
| 649 |
+
err.strerror = 'Error writing CSS file: ' + err.strerror
|
| 650 |
+
raise
|
| 651 |
+
|
| 652 |
+
yield 0, (DOC_HEADER_EXTERNALCSS %
|
| 653 |
+
dict(title=self.title,
|
| 654 |
+
cssfile=self.cssfile,
|
| 655 |
+
encoding=self.encoding))
|
| 656 |
+
else:
|
| 657 |
+
yield 0, (DOC_HEADER %
|
| 658 |
+
dict(title=self.title,
|
| 659 |
+
styledefs=self.get_style_defs('body'),
|
| 660 |
+
encoding=self.encoding))
|
| 661 |
+
|
| 662 |
+
yield from inner
|
| 663 |
+
yield 0, DOC_FOOTER
|
| 664 |
+
|
| 665 |
+
def _wrap_tablelinenos(self, inner):
|
| 666 |
+
dummyoutfile = StringIO()
|
| 667 |
+
lncount = 0
|
| 668 |
+
for t, line in inner:
|
| 669 |
+
if t:
|
| 670 |
+
lncount += 1
|
| 671 |
+
dummyoutfile.write(line)
|
| 672 |
+
|
| 673 |
+
fl = self.linenostart
|
| 674 |
+
mw = len(str(lncount + fl - 1))
|
| 675 |
+
sp = self.linenospecial
|
| 676 |
+
st = self.linenostep
|
| 677 |
+
anchor_name = self.lineanchors or self.linespans
|
| 678 |
+
aln = self.anchorlinenos
|
| 679 |
+
nocls = self.noclasses
|
| 680 |
+
|
| 681 |
+
lines = []
|
| 682 |
+
|
| 683 |
+
for i in range(fl, fl+lncount):
|
| 684 |
+
print_line = i % st == 0
|
| 685 |
+
special_line = sp and i % sp == 0
|
| 686 |
+
|
| 687 |
+
if print_line:
|
| 688 |
+
line = '%*d' % (mw, i)
|
| 689 |
+
if aln:
|
| 690 |
+
line = '<a href="#%s-%d">%s</a>' % (anchor_name, i, line)
|
| 691 |
+
else:
|
| 692 |
+
line = ' ' * mw
|
| 693 |
+
|
| 694 |
+
if nocls:
|
| 695 |
+
if special_line:
|
| 696 |
+
style = f' style="{self._linenos_special_style}"'
|
| 697 |
+
else:
|
| 698 |
+
style = f' style="{self._linenos_style}"'
|
| 699 |
+
else:
|
| 700 |
+
if special_line:
|
| 701 |
+
style = ' class="special"'
|
| 702 |
+
else:
|
| 703 |
+
style = ' class="normal"'
|
| 704 |
+
|
| 705 |
+
if style:
|
| 706 |
+
line = f'<span{style}>{line}</span>'
|
| 707 |
+
|
| 708 |
+
lines.append(line)
|
| 709 |
+
|
| 710 |
+
ls = '\n'.join(lines)
|
| 711 |
+
|
| 712 |
+
# If a filename was specified, we can't put it into the code table as it
|
| 713 |
+
# would misalign the line numbers. Hence we emit a separate row for it.
|
| 714 |
+
filename_tr = ""
|
| 715 |
+
if self.filename:
|
| 716 |
+
filename_tr = (
|
| 717 |
+
'<tr><th colspan="2" class="filename">'
|
| 718 |
+
'<span class="filename">' + self.filename + '</span>'
|
| 719 |
+
'</th></tr>')
|
| 720 |
+
|
| 721 |
+
# in case you wonder about the seemingly redundant <div> here: since the
|
| 722 |
+
# content in the other cell also is wrapped in a div, some browsers in
|
| 723 |
+
# some configurations seem to mess up the formatting...
|
| 724 |
+
yield 0, (f'<table class="{self.cssclass}table">' + filename_tr +
|
| 725 |
+
'<tr><td class="linenos"><div class="linenodiv"><pre>' +
|
| 726 |
+
ls + '</pre></div></td><td class="code">')
|
| 727 |
+
yield 0, '<div>'
|
| 728 |
+
yield 0, dummyoutfile.getvalue()
|
| 729 |
+
yield 0, '</div>'
|
| 730 |
+
yield 0, '</td></tr></table>'
|
| 731 |
+
|
| 732 |
+
|
| 733 |
+
def _wrap_inlinelinenos(self, inner):
|
| 734 |
+
# need a list of lines since we need the width of a single number :(
|
| 735 |
+
inner_lines = list(inner)
|
| 736 |
+
sp = self.linenospecial
|
| 737 |
+
st = self.linenostep
|
| 738 |
+
num = self.linenostart
|
| 739 |
+
mw = len(str(len(inner_lines) + num - 1))
|
| 740 |
+
anchor_name = self.lineanchors or self.linespans
|
| 741 |
+
aln = self.anchorlinenos
|
| 742 |
+
nocls = self.noclasses
|
| 743 |
+
|
| 744 |
+
for _, inner_line in inner_lines:
|
| 745 |
+
print_line = num % st == 0
|
| 746 |
+
special_line = sp and num % sp == 0
|
| 747 |
+
|
| 748 |
+
if print_line:
|
| 749 |
+
line = '%*d' % (mw, num)
|
| 750 |
+
else:
|
| 751 |
+
line = ' ' * mw
|
| 752 |
+
|
| 753 |
+
if nocls:
|
| 754 |
+
if special_line:
|
| 755 |
+
style = f' style="{self._linenos_special_style}"'
|
| 756 |
+
else:
|
| 757 |
+
style = f' style="{self._linenos_style}"'
|
| 758 |
+
else:
|
| 759 |
+
if special_line:
|
| 760 |
+
style = ' class="linenos special"'
|
| 761 |
+
else:
|
| 762 |
+
style = ' class="linenos"'
|
| 763 |
+
|
| 764 |
+
if style:
|
| 765 |
+
linenos = f'<span{style}>{line}</span>'
|
| 766 |
+
else:
|
| 767 |
+
linenos = line
|
| 768 |
+
|
| 769 |
+
if aln:
|
| 770 |
+
yield 1, ('<a href="#%s-%d">%s</a>' % (anchor_name, num, linenos) +
|
| 771 |
+
inner_line)
|
| 772 |
+
else:
|
| 773 |
+
yield 1, linenos + inner_line
|
| 774 |
+
num += 1
|
| 775 |
+
|
| 776 |
+
def _wrap_lineanchors(self, inner):
|
| 777 |
+
s = self.lineanchors
|
| 778 |
+
# subtract 1 since we have to increment i *before* yielding
|
| 779 |
+
i = self.linenostart - 1
|
| 780 |
+
for t, line in inner:
|
| 781 |
+
if t:
|
| 782 |
+
i += 1
|
| 783 |
+
href = "" if self.linenos else ' href="#%s-%d"' % (s, i)
|
| 784 |
+
yield 1, '<a id="%s-%d" name="%s-%d"%s></a>' % (s, i, s, i, href) + line
|
| 785 |
+
else:
|
| 786 |
+
yield 0, line
|
| 787 |
+
|
| 788 |
+
def _wrap_linespans(self, inner):
|
| 789 |
+
s = self.linespans
|
| 790 |
+
i = self.linenostart - 1
|
| 791 |
+
for t, line in inner:
|
| 792 |
+
if t:
|
| 793 |
+
i += 1
|
| 794 |
+
yield 1, '<span id="%s-%d">%s</span>' % (s, i, line)
|
| 795 |
+
else:
|
| 796 |
+
yield 0, line
|
| 797 |
+
|
| 798 |
+
def _wrap_div(self, inner):
|
| 799 |
+
style = []
|
| 800 |
+
if (self.noclasses and not self.nobackground and
|
| 801 |
+
self.style.background_color is not None):
|
| 802 |
+
style.append(f'background: {self.style.background_color}')
|
| 803 |
+
if self.cssstyles:
|
| 804 |
+
style.append(self.cssstyles)
|
| 805 |
+
style = '; '.join(style)
|
| 806 |
+
|
| 807 |
+
yield 0, ('<div' + (self.cssclass and f' class="{self.cssclass}"') +
|
| 808 |
+
(style and (f' style="{style}"')) + '>')
|
| 809 |
+
yield from inner
|
| 810 |
+
yield 0, '</div>\n'
|
| 811 |
+
|
| 812 |
+
def _wrap_pre(self, inner):
|
| 813 |
+
style = []
|
| 814 |
+
if self.prestyles:
|
| 815 |
+
style.append(self.prestyles)
|
| 816 |
+
if self.noclasses:
|
| 817 |
+
style.append(self._pre_style)
|
| 818 |
+
style = '; '.join(style)
|
| 819 |
+
|
| 820 |
+
if self.filename and self.linenos != 1:
|
| 821 |
+
yield 0, ('<span class="filename">' + self.filename + '</span>')
|
| 822 |
+
|
| 823 |
+
# the empty span here is to keep leading empty lines from being
|
| 824 |
+
# ignored by HTML parsers
|
| 825 |
+
yield 0, ('<pre' + (style and f' style="{style}"') + '><span></span>')
|
| 826 |
+
yield from inner
|
| 827 |
+
yield 0, '</pre>'
|
| 828 |
+
|
| 829 |
+
def _wrap_code(self, inner):
|
| 830 |
+
yield 0, '<code>'
|
| 831 |
+
yield from inner
|
| 832 |
+
yield 0, '</code>'
|
| 833 |
+
|
| 834 |
+
@functools.lru_cache(maxsize=100)
|
| 835 |
+
def _translate_parts(self, value):
|
| 836 |
+
"""HTML-escape a value and split it by newlines."""
|
| 837 |
+
return value.translate(_escape_html_table).split('\n')
|
| 838 |
+
|
| 839 |
+
def _format_lines(self, tokensource):
|
| 840 |
+
"""
|
| 841 |
+
Just format the tokens, without any wrapping tags.
|
| 842 |
+
Yield individual lines.
|
| 843 |
+
"""
|
| 844 |
+
nocls = self.noclasses
|
| 845 |
+
lsep = self.lineseparator
|
| 846 |
+
tagsfile = self.tagsfile
|
| 847 |
+
|
| 848 |
+
lspan = ''
|
| 849 |
+
line = []
|
| 850 |
+
for ttype, value in tokensource:
|
| 851 |
+
try:
|
| 852 |
+
cspan = self.span_element_openers[ttype]
|
| 853 |
+
except KeyError:
|
| 854 |
+
title = ' title="{}"'.format('.'.join(ttype)) if self.debug_token_types else ''
|
| 855 |
+
if nocls:
|
| 856 |
+
css_style = self._get_css_inline_styles(ttype)
|
| 857 |
+
if css_style:
|
| 858 |
+
css_style = self.class2style[css_style][0]
|
| 859 |
+
cspan = f'<span style="{css_style}"{title}>'
|
| 860 |
+
else:
|
| 861 |
+
cspan = ''
|
| 862 |
+
else:
|
| 863 |
+
css_class = self._get_css_classes(ttype)
|
| 864 |
+
if css_class:
|
| 865 |
+
cspan = f'<span class="{css_class}"{title}>'
|
| 866 |
+
else:
|
| 867 |
+
cspan = ''
|
| 868 |
+
self.span_element_openers[ttype] = cspan
|
| 869 |
+
|
| 870 |
+
parts = self._translate_parts(value)
|
| 871 |
+
|
| 872 |
+
if tagsfile and ttype in Token.Name:
|
| 873 |
+
filename, linenumber = self._lookup_ctag(value)
|
| 874 |
+
if linenumber:
|
| 875 |
+
base, filename = os.path.split(filename)
|
| 876 |
+
if base:
|
| 877 |
+
base += '/'
|
| 878 |
+
filename, extension = os.path.splitext(filename)
|
| 879 |
+
url = self.tagurlformat % {'path': base, 'fname': filename,
|
| 880 |
+
'fext': extension}
|
| 881 |
+
parts[0] = "<a href=\"%s#%s-%d\">%s" % \
|
| 882 |
+
(url, self.lineanchors, linenumber, parts[0])
|
| 883 |
+
parts[-1] = parts[-1] + "</a>"
|
| 884 |
+
|
| 885 |
+
# for all but the last line
|
| 886 |
+
for part in parts[:-1]:
|
| 887 |
+
if line:
|
| 888 |
+
# Also check for part being non-empty, so we avoid creating
|
| 889 |
+
# empty <span> tags
|
| 890 |
+
if lspan != cspan and part:
|
| 891 |
+
line.extend(((lspan and '</span>'), cspan, part,
|
| 892 |
+
(cspan and '</span>'), lsep))
|
| 893 |
+
else: # both are the same, or the current part was empty
|
| 894 |
+
line.extend((part, (lspan and '</span>'), lsep))
|
| 895 |
+
yield 1, ''.join(line)
|
| 896 |
+
line = []
|
| 897 |
+
elif part:
|
| 898 |
+
yield 1, ''.join((cspan, part, (cspan and '</span>'), lsep))
|
| 899 |
+
else:
|
| 900 |
+
yield 1, lsep
|
| 901 |
+
# for the last line
|
| 902 |
+
if line and parts[-1]:
|
| 903 |
+
if lspan != cspan:
|
| 904 |
+
line.extend(((lspan and '</span>'), cspan, parts[-1]))
|
| 905 |
+
lspan = cspan
|
| 906 |
+
else:
|
| 907 |
+
line.append(parts[-1])
|
| 908 |
+
elif parts[-1]:
|
| 909 |
+
line = [cspan, parts[-1]]
|
| 910 |
+
lspan = cspan
|
| 911 |
+
# else we neither have to open a new span nor set lspan
|
| 912 |
+
|
| 913 |
+
if line:
|
| 914 |
+
line.extend(((lspan and '</span>'), lsep))
|
| 915 |
+
yield 1, ''.join(line)
|
| 916 |
+
|
| 917 |
+
def _lookup_ctag(self, token):
|
| 918 |
+
entry = ctags.TagEntry()
|
| 919 |
+
if self._ctags.find(entry, token.encode(), 0):
|
| 920 |
+
return entry['file'].decode(), entry['lineNumber']
|
| 921 |
+
else:
|
| 922 |
+
return None, None
|
| 923 |
+
|
| 924 |
+
def _highlight_lines(self, tokensource):
|
| 925 |
+
"""
|
| 926 |
+
Highlighted the lines specified in the `hl_lines` option by
|
| 927 |
+
post-processing the token stream coming from `_format_lines`.
|
| 928 |
+
"""
|
| 929 |
+
hls = self.hl_lines
|
| 930 |
+
|
| 931 |
+
for i, (t, value) in enumerate(tokensource):
|
| 932 |
+
if t != 1:
|
| 933 |
+
yield t, value
|
| 934 |
+
if i + 1 in hls: # i + 1 because Python indexes start at 0
|
| 935 |
+
if self.noclasses:
|
| 936 |
+
style = ''
|
| 937 |
+
if self.style.highlight_color is not None:
|
| 938 |
+
style = (f' style="background-color: {self.style.highlight_color}"')
|
| 939 |
+
yield 1, f'<span{style}>{value}</span>'
|
| 940 |
+
else:
|
| 941 |
+
yield 1, f'<span class="hll">{value}</span>'
|
| 942 |
+
else:
|
| 943 |
+
yield 1, value
|
| 944 |
+
|
| 945 |
+
def wrap(self, source):
|
| 946 |
+
"""
|
| 947 |
+
Wrap the ``source``, which is a generator yielding
|
| 948 |
+
individual lines, in custom generators. See docstring
|
| 949 |
+
for `format`. Can be overridden.
|
| 950 |
+
"""
|
| 951 |
+
|
| 952 |
+
output = source
|
| 953 |
+
if self.wrapcode:
|
| 954 |
+
output = self._wrap_code(output)
|
| 955 |
+
|
| 956 |
+
output = self._wrap_pre(output)
|
| 957 |
+
|
| 958 |
+
return output
|
| 959 |
+
|
| 960 |
+
def format_unencoded(self, tokensource, outfile):
|
| 961 |
+
"""
|
| 962 |
+
The formatting process uses several nested generators; which of
|
| 963 |
+
them are used is determined by the user's options.
|
| 964 |
+
|
| 965 |
+
Each generator should take at least one argument, ``inner``,
|
| 966 |
+
and wrap the pieces of text generated by this.
|
| 967 |
+
|
| 968 |
+
Always yield 2-tuples: (code, text). If "code" is 1, the text
|
| 969 |
+
is part of the original tokensource being highlighted, if it's
|
| 970 |
+
0, the text is some piece of wrapping. This makes it possible to
|
| 971 |
+
use several different wrappers that process the original source
|
| 972 |
+
linewise, e.g. line number generators.
|
| 973 |
+
"""
|
| 974 |
+
source = self._format_lines(tokensource)
|
| 975 |
+
|
| 976 |
+
# As a special case, we wrap line numbers before line highlighting
|
| 977 |
+
# so the line numbers get wrapped in the highlighting tag.
|
| 978 |
+
if not self.nowrap and self.linenos == 2:
|
| 979 |
+
source = self._wrap_inlinelinenos(source)
|
| 980 |
+
|
| 981 |
+
if self.hl_lines:
|
| 982 |
+
source = self._highlight_lines(source)
|
| 983 |
+
|
| 984 |
+
if not self.nowrap:
|
| 985 |
+
if self.lineanchors:
|
| 986 |
+
source = self._wrap_lineanchors(source)
|
| 987 |
+
if self.linespans:
|
| 988 |
+
source = self._wrap_linespans(source)
|
| 989 |
+
source = self.wrap(source)
|
| 990 |
+
if self.linenos == 1:
|
| 991 |
+
source = self._wrap_tablelinenos(source)
|
| 992 |
+
source = self._wrap_div(source)
|
| 993 |
+
if self.full:
|
| 994 |
+
source = self._wrap_full(source, outfile)
|
| 995 |
+
|
| 996 |
+
for t, piece in source:
|
| 997 |
+
outfile.write(piece)
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/img.py
ADDED
|
@@ -0,0 +1,686 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.img
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Formatter for Pixmap output.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
import os
|
| 11 |
+
import sys
|
| 12 |
+
|
| 13 |
+
from pygments.formatter import Formatter
|
| 14 |
+
from pygments.util import get_bool_opt, get_int_opt, get_list_opt, \
|
| 15 |
+
get_choice_opt
|
| 16 |
+
|
| 17 |
+
import subprocess
|
| 18 |
+
|
| 19 |
+
# Import this carefully
|
| 20 |
+
try:
|
| 21 |
+
from PIL import Image, ImageDraw, ImageFont
|
| 22 |
+
pil_available = True
|
| 23 |
+
except ImportError:
|
| 24 |
+
pil_available = False
|
| 25 |
+
|
| 26 |
+
try:
|
| 27 |
+
import _winreg
|
| 28 |
+
except ImportError:
|
| 29 |
+
try:
|
| 30 |
+
import winreg as _winreg
|
| 31 |
+
except ImportError:
|
| 32 |
+
_winreg = None
|
| 33 |
+
|
| 34 |
+
__all__ = ['ImageFormatter', 'GifImageFormatter', 'JpgImageFormatter',
|
| 35 |
+
'BmpImageFormatter']
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
# For some unknown reason every font calls it something different
|
| 39 |
+
STYLES = {
|
| 40 |
+
'NORMAL': ['', 'Roman', 'Book', 'Normal', 'Regular', 'Medium'],
|
| 41 |
+
'ITALIC': ['Oblique', 'Italic'],
|
| 42 |
+
'BOLD': ['Bold'],
|
| 43 |
+
'BOLDITALIC': ['Bold Oblique', 'Bold Italic'],
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
# A sane default for modern systems
|
| 47 |
+
DEFAULT_FONT_NAME_NIX = 'DejaVu Sans Mono'
|
| 48 |
+
DEFAULT_FONT_NAME_WIN = 'Courier New'
|
| 49 |
+
DEFAULT_FONT_NAME_MAC = 'Menlo'
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
class PilNotAvailable(ImportError):
|
| 53 |
+
"""When Python imaging library is not available"""
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
class FontNotFound(Exception):
|
| 57 |
+
"""When there are no usable fonts specified"""
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
class FontManager:
|
| 61 |
+
"""
|
| 62 |
+
Manages a set of fonts: normal, italic, bold, etc...
|
| 63 |
+
"""
|
| 64 |
+
|
| 65 |
+
def __init__(self, font_name, font_size=14):
|
| 66 |
+
self.font_name = font_name
|
| 67 |
+
self.font_size = font_size
|
| 68 |
+
self.fonts = {}
|
| 69 |
+
self.encoding = None
|
| 70 |
+
self.variable = False
|
| 71 |
+
if hasattr(font_name, 'read') or os.path.isfile(font_name):
|
| 72 |
+
font = ImageFont.truetype(font_name, self.font_size)
|
| 73 |
+
self.variable = True
|
| 74 |
+
for style in STYLES:
|
| 75 |
+
self.fonts[style] = font
|
| 76 |
+
|
| 77 |
+
return
|
| 78 |
+
|
| 79 |
+
if sys.platform.startswith('win'):
|
| 80 |
+
if not font_name:
|
| 81 |
+
self.font_name = DEFAULT_FONT_NAME_WIN
|
| 82 |
+
self._create_win()
|
| 83 |
+
elif sys.platform.startswith('darwin'):
|
| 84 |
+
if not font_name:
|
| 85 |
+
self.font_name = DEFAULT_FONT_NAME_MAC
|
| 86 |
+
self._create_mac()
|
| 87 |
+
else:
|
| 88 |
+
if not font_name:
|
| 89 |
+
self.font_name = DEFAULT_FONT_NAME_NIX
|
| 90 |
+
self._create_nix()
|
| 91 |
+
|
| 92 |
+
def _get_nix_font_path(self, name, style):
|
| 93 |
+
proc = subprocess.Popen(['fc-list', f"{name}:style={style}", 'file'],
|
| 94 |
+
stdout=subprocess.PIPE, stderr=None)
|
| 95 |
+
stdout, _ = proc.communicate()
|
| 96 |
+
if proc.returncode == 0:
|
| 97 |
+
lines = stdout.splitlines()
|
| 98 |
+
for line in lines:
|
| 99 |
+
if line.startswith(b'Fontconfig warning:'):
|
| 100 |
+
continue
|
| 101 |
+
path = line.decode().strip().strip(':')
|
| 102 |
+
if path:
|
| 103 |
+
return path
|
| 104 |
+
return None
|
| 105 |
+
|
| 106 |
+
def _create_nix(self):
|
| 107 |
+
for name in STYLES['NORMAL']:
|
| 108 |
+
path = self._get_nix_font_path(self.font_name, name)
|
| 109 |
+
if path is not None:
|
| 110 |
+
self.fonts['NORMAL'] = ImageFont.truetype(path, self.font_size)
|
| 111 |
+
break
|
| 112 |
+
else:
|
| 113 |
+
raise FontNotFound(f'No usable fonts named: "{self.font_name}"')
|
| 114 |
+
for style in ('ITALIC', 'BOLD', 'BOLDITALIC'):
|
| 115 |
+
for stylename in STYLES[style]:
|
| 116 |
+
path = self._get_nix_font_path(self.font_name, stylename)
|
| 117 |
+
if path is not None:
|
| 118 |
+
self.fonts[style] = ImageFont.truetype(path, self.font_size)
|
| 119 |
+
break
|
| 120 |
+
else:
|
| 121 |
+
if style == 'BOLDITALIC':
|
| 122 |
+
self.fonts[style] = self.fonts['BOLD']
|
| 123 |
+
else:
|
| 124 |
+
self.fonts[style] = self.fonts['NORMAL']
|
| 125 |
+
|
| 126 |
+
def _get_mac_font_path(self, font_map, name, style):
|
| 127 |
+
return font_map.get((name + ' ' + style).strip().lower())
|
| 128 |
+
|
| 129 |
+
def _create_mac(self):
|
| 130 |
+
font_map = {}
|
| 131 |
+
for font_dir in (os.path.join(os.getenv("HOME"), 'Library/Fonts/'),
|
| 132 |
+
'/Library/Fonts/', '/System/Library/Fonts/'):
|
| 133 |
+
font_map.update(
|
| 134 |
+
(os.path.splitext(f)[0].lower(), os.path.join(font_dir, f))
|
| 135 |
+
for _, _, files in os.walk(font_dir)
|
| 136 |
+
for f in files
|
| 137 |
+
if f.lower().endswith(('ttf', 'ttc')))
|
| 138 |
+
|
| 139 |
+
for name in STYLES['NORMAL']:
|
| 140 |
+
path = self._get_mac_font_path(font_map, self.font_name, name)
|
| 141 |
+
if path is not None:
|
| 142 |
+
self.fonts['NORMAL'] = ImageFont.truetype(path, self.font_size)
|
| 143 |
+
break
|
| 144 |
+
else:
|
| 145 |
+
raise FontNotFound(f'No usable fonts named: "{self.font_name}"')
|
| 146 |
+
for style in ('ITALIC', 'BOLD', 'BOLDITALIC'):
|
| 147 |
+
for stylename in STYLES[style]:
|
| 148 |
+
path = self._get_mac_font_path(font_map, self.font_name, stylename)
|
| 149 |
+
if path is not None:
|
| 150 |
+
self.fonts[style] = ImageFont.truetype(path, self.font_size)
|
| 151 |
+
break
|
| 152 |
+
else:
|
| 153 |
+
if style == 'BOLDITALIC':
|
| 154 |
+
self.fonts[style] = self.fonts['BOLD']
|
| 155 |
+
else:
|
| 156 |
+
self.fonts[style] = self.fonts['NORMAL']
|
| 157 |
+
|
| 158 |
+
def _lookup_win(self, key, basename, styles, fail=False):
|
| 159 |
+
for suffix in ('', ' (TrueType)'):
|
| 160 |
+
for style in styles:
|
| 161 |
+
try:
|
| 162 |
+
valname = '{}{}{}'.format(basename, style and ' '+style, suffix)
|
| 163 |
+
val, _ = _winreg.QueryValueEx(key, valname)
|
| 164 |
+
return val
|
| 165 |
+
except OSError:
|
| 166 |
+
continue
|
| 167 |
+
else:
|
| 168 |
+
if fail:
|
| 169 |
+
raise FontNotFound(f'Font {basename} ({styles[0]}) not found in registry')
|
| 170 |
+
return None
|
| 171 |
+
|
| 172 |
+
def _create_win(self):
|
| 173 |
+
lookuperror = None
|
| 174 |
+
keynames = [ (_winreg.HKEY_CURRENT_USER, r'Software\Microsoft\Windows NT\CurrentVersion\Fonts'),
|
| 175 |
+
(_winreg.HKEY_CURRENT_USER, r'Software\Microsoft\Windows\CurrentVersion\Fonts'),
|
| 176 |
+
(_winreg.HKEY_LOCAL_MACHINE, r'Software\Microsoft\Windows NT\CurrentVersion\Fonts'),
|
| 177 |
+
(_winreg.HKEY_LOCAL_MACHINE, r'Software\Microsoft\Windows\CurrentVersion\Fonts') ]
|
| 178 |
+
for keyname in keynames:
|
| 179 |
+
try:
|
| 180 |
+
key = _winreg.OpenKey(*keyname)
|
| 181 |
+
try:
|
| 182 |
+
path = self._lookup_win(key, self.font_name, STYLES['NORMAL'], True)
|
| 183 |
+
self.fonts['NORMAL'] = ImageFont.truetype(path, self.font_size)
|
| 184 |
+
for style in ('ITALIC', 'BOLD', 'BOLDITALIC'):
|
| 185 |
+
path = self._lookup_win(key, self.font_name, STYLES[style])
|
| 186 |
+
if path:
|
| 187 |
+
self.fonts[style] = ImageFont.truetype(path, self.font_size)
|
| 188 |
+
else:
|
| 189 |
+
if style == 'BOLDITALIC':
|
| 190 |
+
self.fonts[style] = self.fonts['BOLD']
|
| 191 |
+
else:
|
| 192 |
+
self.fonts[style] = self.fonts['NORMAL']
|
| 193 |
+
return
|
| 194 |
+
except FontNotFound as err:
|
| 195 |
+
lookuperror = err
|
| 196 |
+
finally:
|
| 197 |
+
_winreg.CloseKey(key)
|
| 198 |
+
except OSError:
|
| 199 |
+
pass
|
| 200 |
+
else:
|
| 201 |
+
# If we get here, we checked all registry keys and had no luck
|
| 202 |
+
# We can be in one of two situations now:
|
| 203 |
+
# * All key lookups failed. In this case lookuperror is None and we
|
| 204 |
+
# will raise a generic error
|
| 205 |
+
# * At least one lookup failed with a FontNotFound error. In this
|
| 206 |
+
# case, we will raise that as a more specific error
|
| 207 |
+
if lookuperror:
|
| 208 |
+
raise lookuperror
|
| 209 |
+
raise FontNotFound('Can\'t open Windows font registry key')
|
| 210 |
+
|
| 211 |
+
def get_char_size(self):
|
| 212 |
+
"""
|
| 213 |
+
Get the character size.
|
| 214 |
+
"""
|
| 215 |
+
return self.get_text_size('M')
|
| 216 |
+
|
| 217 |
+
def get_text_size(self, text):
|
| 218 |
+
"""
|
| 219 |
+
Get the text size (width, height).
|
| 220 |
+
"""
|
| 221 |
+
font = self.fonts['NORMAL']
|
| 222 |
+
if hasattr(font, 'getbbox'): # Pillow >= 9.2.0
|
| 223 |
+
return font.getbbox(text)[2:4]
|
| 224 |
+
else:
|
| 225 |
+
return font.getsize(text)
|
| 226 |
+
|
| 227 |
+
def get_font(self, bold, oblique):
|
| 228 |
+
"""
|
| 229 |
+
Get the font based on bold and italic flags.
|
| 230 |
+
"""
|
| 231 |
+
if bold and oblique:
|
| 232 |
+
if self.variable:
|
| 233 |
+
return self.get_style('BOLDITALIC')
|
| 234 |
+
|
| 235 |
+
return self.fonts['BOLDITALIC']
|
| 236 |
+
elif bold:
|
| 237 |
+
if self.variable:
|
| 238 |
+
return self.get_style('BOLD')
|
| 239 |
+
|
| 240 |
+
return self.fonts['BOLD']
|
| 241 |
+
elif oblique:
|
| 242 |
+
if self.variable:
|
| 243 |
+
return self.get_style('ITALIC')
|
| 244 |
+
|
| 245 |
+
return self.fonts['ITALIC']
|
| 246 |
+
else:
|
| 247 |
+
if self.variable:
|
| 248 |
+
return self.get_style('NORMAL')
|
| 249 |
+
|
| 250 |
+
return self.fonts['NORMAL']
|
| 251 |
+
|
| 252 |
+
def get_style(self, style):
|
| 253 |
+
"""
|
| 254 |
+
Get the specified style of the font if it is a variable font.
|
| 255 |
+
If not found, return the normal font.
|
| 256 |
+
"""
|
| 257 |
+
font = self.fonts[style]
|
| 258 |
+
for style_name in STYLES[style]:
|
| 259 |
+
try:
|
| 260 |
+
font.set_variation_by_name(style_name)
|
| 261 |
+
return font
|
| 262 |
+
except ValueError:
|
| 263 |
+
pass
|
| 264 |
+
except OSError:
|
| 265 |
+
return font
|
| 266 |
+
|
| 267 |
+
return font
|
| 268 |
+
|
| 269 |
+
|
| 270 |
+
class ImageFormatter(Formatter):
|
| 271 |
+
"""
|
| 272 |
+
Create a PNG image from source code. This uses the Python Imaging Library to
|
| 273 |
+
generate a pixmap from the source code.
|
| 274 |
+
|
| 275 |
+
.. versionadded:: 0.10
|
| 276 |
+
|
| 277 |
+
Additional options accepted:
|
| 278 |
+
|
| 279 |
+
`image_format`
|
| 280 |
+
An image format to output to that is recognised by PIL, these include:
|
| 281 |
+
|
| 282 |
+
* "PNG" (default)
|
| 283 |
+
* "JPEG"
|
| 284 |
+
* "BMP"
|
| 285 |
+
* "GIF"
|
| 286 |
+
|
| 287 |
+
`line_pad`
|
| 288 |
+
The extra spacing (in pixels) between each line of text.
|
| 289 |
+
|
| 290 |
+
Default: 2
|
| 291 |
+
|
| 292 |
+
`font_name`
|
| 293 |
+
The font name to be used as the base font from which others, such as
|
| 294 |
+
bold and italic fonts will be generated. This really should be a
|
| 295 |
+
monospace font to look sane.
|
| 296 |
+
If a filename or a file-like object is specified, the user must
|
| 297 |
+
provide different styles of the font.
|
| 298 |
+
|
| 299 |
+
Default: "Courier New" on Windows, "Menlo" on Mac OS, and
|
| 300 |
+
"DejaVu Sans Mono" on \\*nix
|
| 301 |
+
|
| 302 |
+
`font_size`
|
| 303 |
+
The font size in points to be used.
|
| 304 |
+
|
| 305 |
+
Default: 14
|
| 306 |
+
|
| 307 |
+
`image_pad`
|
| 308 |
+
The padding, in pixels to be used at each edge of the resulting image.
|
| 309 |
+
|
| 310 |
+
Default: 10
|
| 311 |
+
|
| 312 |
+
`line_numbers`
|
| 313 |
+
Whether line numbers should be shown: True/False
|
| 314 |
+
|
| 315 |
+
Default: True
|
| 316 |
+
|
| 317 |
+
`line_number_start`
|
| 318 |
+
The line number of the first line.
|
| 319 |
+
|
| 320 |
+
Default: 1
|
| 321 |
+
|
| 322 |
+
`line_number_step`
|
| 323 |
+
The step used when printing line numbers.
|
| 324 |
+
|
| 325 |
+
Default: 1
|
| 326 |
+
|
| 327 |
+
`line_number_bg`
|
| 328 |
+
The background colour (in "#123456" format) of the line number bar, or
|
| 329 |
+
None to use the style background color.
|
| 330 |
+
|
| 331 |
+
Default: "#eed"
|
| 332 |
+
|
| 333 |
+
`line_number_fg`
|
| 334 |
+
The text color of the line numbers (in "#123456"-like format).
|
| 335 |
+
|
| 336 |
+
Default: "#886"
|
| 337 |
+
|
| 338 |
+
`line_number_chars`
|
| 339 |
+
The number of columns of line numbers allowable in the line number
|
| 340 |
+
margin.
|
| 341 |
+
|
| 342 |
+
Default: 2
|
| 343 |
+
|
| 344 |
+
`line_number_bold`
|
| 345 |
+
Whether line numbers will be bold: True/False
|
| 346 |
+
|
| 347 |
+
Default: False
|
| 348 |
+
|
| 349 |
+
`line_number_italic`
|
| 350 |
+
Whether line numbers will be italicized: True/False
|
| 351 |
+
|
| 352 |
+
Default: False
|
| 353 |
+
|
| 354 |
+
`line_number_separator`
|
| 355 |
+
Whether a line will be drawn between the line number area and the
|
| 356 |
+
source code area: True/False
|
| 357 |
+
|
| 358 |
+
Default: True
|
| 359 |
+
|
| 360 |
+
`line_number_pad`
|
| 361 |
+
The horizontal padding (in pixels) between the line number margin, and
|
| 362 |
+
the source code area.
|
| 363 |
+
|
| 364 |
+
Default: 6
|
| 365 |
+
|
| 366 |
+
`hl_lines`
|
| 367 |
+
Specify a list of lines to be highlighted.
|
| 368 |
+
|
| 369 |
+
.. versionadded:: 1.2
|
| 370 |
+
|
| 371 |
+
Default: empty list
|
| 372 |
+
|
| 373 |
+
`hl_color`
|
| 374 |
+
Specify the color for highlighting lines.
|
| 375 |
+
|
| 376 |
+
.. versionadded:: 1.2
|
| 377 |
+
|
| 378 |
+
Default: highlight color of the selected style
|
| 379 |
+
"""
|
| 380 |
+
|
| 381 |
+
# Required by the pygments mapper
|
| 382 |
+
name = 'img'
|
| 383 |
+
aliases = ['img', 'IMG', 'png']
|
| 384 |
+
filenames = ['*.png']
|
| 385 |
+
|
| 386 |
+
unicodeoutput = False
|
| 387 |
+
|
| 388 |
+
default_image_format = 'png'
|
| 389 |
+
|
| 390 |
+
def __init__(self, **options):
|
| 391 |
+
"""
|
| 392 |
+
See the class docstring for explanation of options.
|
| 393 |
+
"""
|
| 394 |
+
if not pil_available:
|
| 395 |
+
raise PilNotAvailable(
|
| 396 |
+
'Python Imaging Library is required for this formatter')
|
| 397 |
+
Formatter.__init__(self, **options)
|
| 398 |
+
self.encoding = 'latin1' # let pygments.format() do the right thing
|
| 399 |
+
# Read the style
|
| 400 |
+
self.styles = dict(self.style)
|
| 401 |
+
if self.style.background_color is None:
|
| 402 |
+
self.background_color = '#fff'
|
| 403 |
+
else:
|
| 404 |
+
self.background_color = self.style.background_color
|
| 405 |
+
# Image options
|
| 406 |
+
self.image_format = get_choice_opt(
|
| 407 |
+
options, 'image_format', ['png', 'jpeg', 'gif', 'bmp'],
|
| 408 |
+
self.default_image_format, normcase=True)
|
| 409 |
+
self.image_pad = get_int_opt(options, 'image_pad', 10)
|
| 410 |
+
self.line_pad = get_int_opt(options, 'line_pad', 2)
|
| 411 |
+
# The fonts
|
| 412 |
+
fontsize = get_int_opt(options, 'font_size', 14)
|
| 413 |
+
self.fonts = FontManager(options.get('font_name', ''), fontsize)
|
| 414 |
+
self.fontw, self.fonth = self.fonts.get_char_size()
|
| 415 |
+
# Line number options
|
| 416 |
+
self.line_number_fg = options.get('line_number_fg', '#886')
|
| 417 |
+
self.line_number_bg = options.get('line_number_bg', '#eed')
|
| 418 |
+
self.line_number_chars = get_int_opt(options,
|
| 419 |
+
'line_number_chars', 2)
|
| 420 |
+
self.line_number_bold = get_bool_opt(options,
|
| 421 |
+
'line_number_bold', False)
|
| 422 |
+
self.line_number_italic = get_bool_opt(options,
|
| 423 |
+
'line_number_italic', False)
|
| 424 |
+
self.line_number_pad = get_int_opt(options, 'line_number_pad', 6)
|
| 425 |
+
self.line_numbers = get_bool_opt(options, 'line_numbers', True)
|
| 426 |
+
self.line_number_separator = get_bool_opt(options,
|
| 427 |
+
'line_number_separator', True)
|
| 428 |
+
self.line_number_step = get_int_opt(options, 'line_number_step', 1)
|
| 429 |
+
self.line_number_start = get_int_opt(options, 'line_number_start', 1)
|
| 430 |
+
if self.line_numbers:
|
| 431 |
+
self.line_number_width = (self.fontw * self.line_number_chars +
|
| 432 |
+
self.line_number_pad * 2)
|
| 433 |
+
else:
|
| 434 |
+
self.line_number_width = 0
|
| 435 |
+
self.hl_lines = []
|
| 436 |
+
hl_lines_str = get_list_opt(options, 'hl_lines', [])
|
| 437 |
+
for line in hl_lines_str:
|
| 438 |
+
try:
|
| 439 |
+
self.hl_lines.append(int(line))
|
| 440 |
+
except ValueError:
|
| 441 |
+
pass
|
| 442 |
+
self.hl_color = options.get('hl_color',
|
| 443 |
+
self.style.highlight_color) or '#f90'
|
| 444 |
+
self.drawables = []
|
| 445 |
+
|
| 446 |
+
def get_style_defs(self, arg=''):
|
| 447 |
+
raise NotImplementedError('The -S option is meaningless for the image '
|
| 448 |
+
'formatter. Use -O style=<stylename> instead.')
|
| 449 |
+
|
| 450 |
+
def _get_line_height(self):
|
| 451 |
+
"""
|
| 452 |
+
Get the height of a line.
|
| 453 |
+
"""
|
| 454 |
+
return self.fonth + self.line_pad
|
| 455 |
+
|
| 456 |
+
def _get_line_y(self, lineno):
|
| 457 |
+
"""
|
| 458 |
+
Get the Y coordinate of a line number.
|
| 459 |
+
"""
|
| 460 |
+
return lineno * self._get_line_height() + self.image_pad
|
| 461 |
+
|
| 462 |
+
def _get_char_width(self):
|
| 463 |
+
"""
|
| 464 |
+
Get the width of a character.
|
| 465 |
+
"""
|
| 466 |
+
return self.fontw
|
| 467 |
+
|
| 468 |
+
def _get_char_x(self, linelength):
|
| 469 |
+
"""
|
| 470 |
+
Get the X coordinate of a character position.
|
| 471 |
+
"""
|
| 472 |
+
return linelength + self.image_pad + self.line_number_width
|
| 473 |
+
|
| 474 |
+
def _get_text_pos(self, linelength, lineno):
|
| 475 |
+
"""
|
| 476 |
+
Get the actual position for a character and line position.
|
| 477 |
+
"""
|
| 478 |
+
return self._get_char_x(linelength), self._get_line_y(lineno)
|
| 479 |
+
|
| 480 |
+
def _get_linenumber_pos(self, lineno):
|
| 481 |
+
"""
|
| 482 |
+
Get the actual position for the start of a line number.
|
| 483 |
+
"""
|
| 484 |
+
return (self.image_pad, self._get_line_y(lineno))
|
| 485 |
+
|
| 486 |
+
def _get_text_color(self, style):
|
| 487 |
+
"""
|
| 488 |
+
Get the correct color for the token from the style.
|
| 489 |
+
"""
|
| 490 |
+
if style['color'] is not None:
|
| 491 |
+
fill = '#' + style['color']
|
| 492 |
+
else:
|
| 493 |
+
fill = '#000'
|
| 494 |
+
return fill
|
| 495 |
+
|
| 496 |
+
def _get_text_bg_color(self, style):
|
| 497 |
+
"""
|
| 498 |
+
Get the correct background color for the token from the style.
|
| 499 |
+
"""
|
| 500 |
+
if style['bgcolor'] is not None:
|
| 501 |
+
bg_color = '#' + style['bgcolor']
|
| 502 |
+
else:
|
| 503 |
+
bg_color = None
|
| 504 |
+
return bg_color
|
| 505 |
+
|
| 506 |
+
def _get_style_font(self, style):
|
| 507 |
+
"""
|
| 508 |
+
Get the correct font for the style.
|
| 509 |
+
"""
|
| 510 |
+
return self.fonts.get_font(style['bold'], style['italic'])
|
| 511 |
+
|
| 512 |
+
def _get_image_size(self, maxlinelength, maxlineno):
|
| 513 |
+
"""
|
| 514 |
+
Get the required image size.
|
| 515 |
+
"""
|
| 516 |
+
return (self._get_char_x(maxlinelength) + self.image_pad,
|
| 517 |
+
self._get_line_y(maxlineno + 0) + self.image_pad)
|
| 518 |
+
|
| 519 |
+
def _draw_linenumber(self, posno, lineno):
|
| 520 |
+
"""
|
| 521 |
+
Remember a line number drawable to paint later.
|
| 522 |
+
"""
|
| 523 |
+
self._draw_text(
|
| 524 |
+
self._get_linenumber_pos(posno),
|
| 525 |
+
str(lineno).rjust(self.line_number_chars),
|
| 526 |
+
font=self.fonts.get_font(self.line_number_bold,
|
| 527 |
+
self.line_number_italic),
|
| 528 |
+
text_fg=self.line_number_fg,
|
| 529 |
+
text_bg=None,
|
| 530 |
+
)
|
| 531 |
+
|
| 532 |
+
def _draw_text(self, pos, text, font, text_fg, text_bg):
|
| 533 |
+
"""
|
| 534 |
+
Remember a single drawable tuple to paint later.
|
| 535 |
+
"""
|
| 536 |
+
self.drawables.append((pos, text, font, text_fg, text_bg))
|
| 537 |
+
|
| 538 |
+
def _create_drawables(self, tokensource):
|
| 539 |
+
"""
|
| 540 |
+
Create drawables for the token content.
|
| 541 |
+
"""
|
| 542 |
+
lineno = charno = maxcharno = 0
|
| 543 |
+
maxlinelength = linelength = 0
|
| 544 |
+
for ttype, value in tokensource:
|
| 545 |
+
while ttype not in self.styles:
|
| 546 |
+
ttype = ttype.parent
|
| 547 |
+
style = self.styles[ttype]
|
| 548 |
+
# TODO: make sure tab expansion happens earlier in the chain. It
|
| 549 |
+
# really ought to be done on the input, as to do it right here is
|
| 550 |
+
# quite complex.
|
| 551 |
+
value = value.expandtabs(4)
|
| 552 |
+
lines = value.splitlines(True)
|
| 553 |
+
# print lines
|
| 554 |
+
for i, line in enumerate(lines):
|
| 555 |
+
temp = line.rstrip('\n')
|
| 556 |
+
if temp:
|
| 557 |
+
self._draw_text(
|
| 558 |
+
self._get_text_pos(linelength, lineno),
|
| 559 |
+
temp,
|
| 560 |
+
font = self._get_style_font(style),
|
| 561 |
+
text_fg = self._get_text_color(style),
|
| 562 |
+
text_bg = self._get_text_bg_color(style),
|
| 563 |
+
)
|
| 564 |
+
temp_width, _ = self.fonts.get_text_size(temp)
|
| 565 |
+
linelength += temp_width
|
| 566 |
+
maxlinelength = max(maxlinelength, linelength)
|
| 567 |
+
charno += len(temp)
|
| 568 |
+
maxcharno = max(maxcharno, charno)
|
| 569 |
+
if line.endswith('\n'):
|
| 570 |
+
# add a line for each extra line in the value
|
| 571 |
+
linelength = 0
|
| 572 |
+
charno = 0
|
| 573 |
+
lineno += 1
|
| 574 |
+
self.maxlinelength = maxlinelength
|
| 575 |
+
self.maxcharno = maxcharno
|
| 576 |
+
self.maxlineno = lineno
|
| 577 |
+
|
| 578 |
+
def _draw_line_numbers(self):
|
| 579 |
+
"""
|
| 580 |
+
Create drawables for the line numbers.
|
| 581 |
+
"""
|
| 582 |
+
if not self.line_numbers:
|
| 583 |
+
return
|
| 584 |
+
for p in range(self.maxlineno):
|
| 585 |
+
n = p + self.line_number_start
|
| 586 |
+
if (n % self.line_number_step) == 0:
|
| 587 |
+
self._draw_linenumber(p, n)
|
| 588 |
+
|
| 589 |
+
def _paint_line_number_bg(self, im):
|
| 590 |
+
"""
|
| 591 |
+
Paint the line number background on the image.
|
| 592 |
+
"""
|
| 593 |
+
if not self.line_numbers:
|
| 594 |
+
return
|
| 595 |
+
if self.line_number_fg is None:
|
| 596 |
+
return
|
| 597 |
+
draw = ImageDraw.Draw(im)
|
| 598 |
+
recth = im.size[-1]
|
| 599 |
+
rectw = self.image_pad + self.line_number_width - self.line_number_pad
|
| 600 |
+
draw.rectangle([(0, 0), (rectw, recth)],
|
| 601 |
+
fill=self.line_number_bg)
|
| 602 |
+
if self.line_number_separator:
|
| 603 |
+
draw.line([(rectw, 0), (rectw, recth)], fill=self.line_number_fg)
|
| 604 |
+
del draw
|
| 605 |
+
|
| 606 |
+
def format(self, tokensource, outfile):
|
| 607 |
+
"""
|
| 608 |
+
Format ``tokensource``, an iterable of ``(tokentype, tokenstring)``
|
| 609 |
+
tuples and write it into ``outfile``.
|
| 610 |
+
|
| 611 |
+
This implementation calculates where it should draw each token on the
|
| 612 |
+
pixmap, then calculates the required pixmap size and draws the items.
|
| 613 |
+
"""
|
| 614 |
+
self._create_drawables(tokensource)
|
| 615 |
+
self._draw_line_numbers()
|
| 616 |
+
im = Image.new(
|
| 617 |
+
'RGB',
|
| 618 |
+
self._get_image_size(self.maxlinelength, self.maxlineno),
|
| 619 |
+
self.background_color
|
| 620 |
+
)
|
| 621 |
+
self._paint_line_number_bg(im)
|
| 622 |
+
draw = ImageDraw.Draw(im)
|
| 623 |
+
# Highlight
|
| 624 |
+
if self.hl_lines:
|
| 625 |
+
x = self.image_pad + self.line_number_width - self.line_number_pad + 1
|
| 626 |
+
recth = self._get_line_height()
|
| 627 |
+
rectw = im.size[0] - x
|
| 628 |
+
for linenumber in self.hl_lines:
|
| 629 |
+
y = self._get_line_y(linenumber - 1)
|
| 630 |
+
draw.rectangle([(x, y), (x + rectw, y + recth)],
|
| 631 |
+
fill=self.hl_color)
|
| 632 |
+
for pos, value, font, text_fg, text_bg in self.drawables:
|
| 633 |
+
if text_bg:
|
| 634 |
+
# see deprecations https://pillow.readthedocs.io/en/stable/releasenotes/9.2.0.html#font-size-and-offset-methods
|
| 635 |
+
if hasattr(draw, 'textsize'):
|
| 636 |
+
text_size = draw.textsize(text=value, font=font)
|
| 637 |
+
else:
|
| 638 |
+
text_size = font.getbbox(value)[2:]
|
| 639 |
+
draw.rectangle([pos[0], pos[1], pos[0] + text_size[0], pos[1] + text_size[1]], fill=text_bg)
|
| 640 |
+
draw.text(pos, value, font=font, fill=text_fg)
|
| 641 |
+
im.save(outfile, self.image_format.upper())
|
| 642 |
+
|
| 643 |
+
|
| 644 |
+
# Add one formatter per format, so that the "-f gif" option gives the correct result
|
| 645 |
+
# when used in pygmentize.
|
| 646 |
+
|
| 647 |
+
class GifImageFormatter(ImageFormatter):
|
| 648 |
+
"""
|
| 649 |
+
Create a GIF image from source code. This uses the Python Imaging Library to
|
| 650 |
+
generate a pixmap from the source code.
|
| 651 |
+
|
| 652 |
+
.. versionadded:: 1.0
|
| 653 |
+
"""
|
| 654 |
+
|
| 655 |
+
name = 'img_gif'
|
| 656 |
+
aliases = ['gif']
|
| 657 |
+
filenames = ['*.gif']
|
| 658 |
+
default_image_format = 'gif'
|
| 659 |
+
|
| 660 |
+
|
| 661 |
+
class JpgImageFormatter(ImageFormatter):
|
| 662 |
+
"""
|
| 663 |
+
Create a JPEG image from source code. This uses the Python Imaging Library to
|
| 664 |
+
generate a pixmap from the source code.
|
| 665 |
+
|
| 666 |
+
.. versionadded:: 1.0
|
| 667 |
+
"""
|
| 668 |
+
|
| 669 |
+
name = 'img_jpg'
|
| 670 |
+
aliases = ['jpg', 'jpeg']
|
| 671 |
+
filenames = ['*.jpg']
|
| 672 |
+
default_image_format = 'jpeg'
|
| 673 |
+
|
| 674 |
+
|
| 675 |
+
class BmpImageFormatter(ImageFormatter):
|
| 676 |
+
"""
|
| 677 |
+
Create a bitmap image from source code. This uses the Python Imaging Library to
|
| 678 |
+
generate a pixmap from the source code.
|
| 679 |
+
|
| 680 |
+
.. versionadded:: 1.0
|
| 681 |
+
"""
|
| 682 |
+
|
| 683 |
+
name = 'img_bmp'
|
| 684 |
+
aliases = ['bmp', 'bitmap']
|
| 685 |
+
filenames = ['*.bmp']
|
| 686 |
+
default_image_format = 'bmp'
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/irc.py
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.irc
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Formatter for IRC output
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.formatter import Formatter
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Token, Whitespace
|
| 14 |
+
from pygments.util import get_choice_opt
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
__all__ = ['IRCFormatter']
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
#: Map token types to a tuple of color values for light and dark
|
| 21 |
+
#: backgrounds.
|
| 22 |
+
IRC_COLORS = {
|
| 23 |
+
Token: ('', ''),
|
| 24 |
+
|
| 25 |
+
Whitespace: ('gray', 'brightblack'),
|
| 26 |
+
Comment: ('gray', 'brightblack'),
|
| 27 |
+
Comment.Preproc: ('cyan', 'brightcyan'),
|
| 28 |
+
Keyword: ('blue', 'brightblue'),
|
| 29 |
+
Keyword.Type: ('cyan', 'brightcyan'),
|
| 30 |
+
Operator.Word: ('magenta', 'brightcyan'),
|
| 31 |
+
Name.Builtin: ('cyan', 'brightcyan'),
|
| 32 |
+
Name.Function: ('green', 'brightgreen'),
|
| 33 |
+
Name.Namespace: ('_cyan_', '_brightcyan_'),
|
| 34 |
+
Name.Class: ('_green_', '_brightgreen_'),
|
| 35 |
+
Name.Exception: ('cyan', 'brightcyan'),
|
| 36 |
+
Name.Decorator: ('brightblack', 'gray'),
|
| 37 |
+
Name.Variable: ('red', 'brightred'),
|
| 38 |
+
Name.Constant: ('red', 'brightred'),
|
| 39 |
+
Name.Attribute: ('cyan', 'brightcyan'),
|
| 40 |
+
Name.Tag: ('brightblue', 'brightblue'),
|
| 41 |
+
String: ('yellow', 'yellow'),
|
| 42 |
+
Number: ('blue', 'brightblue'),
|
| 43 |
+
|
| 44 |
+
Generic.Deleted: ('brightred', 'brightred'),
|
| 45 |
+
Generic.Inserted: ('green', 'brightgreen'),
|
| 46 |
+
Generic.Heading: ('**', '**'),
|
| 47 |
+
Generic.Subheading: ('*magenta*', '*brightmagenta*'),
|
| 48 |
+
Generic.Error: ('brightred', 'brightred'),
|
| 49 |
+
|
| 50 |
+
Error: ('_brightred_', '_brightred_'),
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
IRC_COLOR_MAP = {
|
| 55 |
+
'white': 0,
|
| 56 |
+
'black': 1,
|
| 57 |
+
'blue': 2,
|
| 58 |
+
'brightgreen': 3,
|
| 59 |
+
'brightred': 4,
|
| 60 |
+
'yellow': 5,
|
| 61 |
+
'magenta': 6,
|
| 62 |
+
'orange': 7,
|
| 63 |
+
'green': 7, #compat w/ ansi
|
| 64 |
+
'brightyellow': 8,
|
| 65 |
+
'lightgreen': 9,
|
| 66 |
+
'brightcyan': 9, # compat w/ ansi
|
| 67 |
+
'cyan': 10,
|
| 68 |
+
'lightblue': 11,
|
| 69 |
+
'red': 11, # compat w/ ansi
|
| 70 |
+
'brightblue': 12,
|
| 71 |
+
'brightmagenta': 13,
|
| 72 |
+
'brightblack': 14,
|
| 73 |
+
'gray': 15,
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
def ircformat(color, text):
|
| 77 |
+
if len(color) < 1:
|
| 78 |
+
return text
|
| 79 |
+
add = sub = ''
|
| 80 |
+
if '_' in color: # italic
|
| 81 |
+
add += '\x1D'
|
| 82 |
+
sub = '\x1D' + sub
|
| 83 |
+
color = color.strip('_')
|
| 84 |
+
if '*' in color: # bold
|
| 85 |
+
add += '\x02'
|
| 86 |
+
sub = '\x02' + sub
|
| 87 |
+
color = color.strip('*')
|
| 88 |
+
# underline (\x1F) not supported
|
| 89 |
+
# backgrounds (\x03FF,BB) not supported
|
| 90 |
+
if len(color) > 0: # actual color - may have issues with ircformat("red", "blah")+"10" type stuff
|
| 91 |
+
add += '\x03' + str(IRC_COLOR_MAP[color]).zfill(2)
|
| 92 |
+
sub = '\x03' + sub
|
| 93 |
+
return add + text + sub
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
class IRCFormatter(Formatter):
|
| 97 |
+
r"""
|
| 98 |
+
Format tokens with IRC color sequences
|
| 99 |
+
|
| 100 |
+
The `get_style_defs()` method doesn't do anything special since there is
|
| 101 |
+
no support for common styles.
|
| 102 |
+
|
| 103 |
+
Options accepted:
|
| 104 |
+
|
| 105 |
+
`bg`
|
| 106 |
+
Set to ``"light"`` or ``"dark"`` depending on the terminal's background
|
| 107 |
+
(default: ``"light"``).
|
| 108 |
+
|
| 109 |
+
`colorscheme`
|
| 110 |
+
A dictionary mapping token types to (lightbg, darkbg) color names or
|
| 111 |
+
``None`` (default: ``None`` = use builtin colorscheme).
|
| 112 |
+
|
| 113 |
+
`linenos`
|
| 114 |
+
Set to ``True`` to have line numbers in the output as well
|
| 115 |
+
(default: ``False`` = no line numbers).
|
| 116 |
+
"""
|
| 117 |
+
name = 'IRC'
|
| 118 |
+
aliases = ['irc', 'IRC']
|
| 119 |
+
filenames = []
|
| 120 |
+
|
| 121 |
+
def __init__(self, **options):
|
| 122 |
+
Formatter.__init__(self, **options)
|
| 123 |
+
self.darkbg = get_choice_opt(options, 'bg',
|
| 124 |
+
['light', 'dark'], 'light') == 'dark'
|
| 125 |
+
self.colorscheme = options.get('colorscheme', None) or IRC_COLORS
|
| 126 |
+
self.linenos = options.get('linenos', False)
|
| 127 |
+
self._lineno = 0
|
| 128 |
+
|
| 129 |
+
def _write_lineno(self, outfile):
|
| 130 |
+
if self.linenos:
|
| 131 |
+
self._lineno += 1
|
| 132 |
+
outfile.write("%04d: " % self._lineno)
|
| 133 |
+
|
| 134 |
+
def format_unencoded(self, tokensource, outfile):
|
| 135 |
+
self._write_lineno(outfile)
|
| 136 |
+
|
| 137 |
+
for ttype, value in tokensource:
|
| 138 |
+
color = self.colorscheme.get(ttype)
|
| 139 |
+
while color is None:
|
| 140 |
+
ttype = ttype[:-1]
|
| 141 |
+
color = self.colorscheme.get(ttype)
|
| 142 |
+
if color:
|
| 143 |
+
color = color[self.darkbg]
|
| 144 |
+
spl = value.split('\n')
|
| 145 |
+
for line in spl[:-1]:
|
| 146 |
+
if line:
|
| 147 |
+
outfile.write(ircformat(color, line))
|
| 148 |
+
outfile.write('\n')
|
| 149 |
+
self._write_lineno(outfile)
|
| 150 |
+
if spl[-1]:
|
| 151 |
+
outfile.write(ircformat(color, spl[-1]))
|
| 152 |
+
else:
|
| 153 |
+
outfile.write(value)
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/latex.py
ADDED
|
@@ -0,0 +1,518 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from io import StringIO
|
| 12 |
+
|
| 13 |
+
from pygments.formatter import Formatter
|
| 14 |
+
from pygments.lexer import Lexer, do_insertions
|
| 15 |
+
from pygments.token import Token, STANDARD_TYPES
|
| 16 |
+
from pygments.util import get_bool_opt, get_int_opt
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
__all__ = ['LatexFormatter']
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def escape_tex(text, commandprefix):
|
| 23 |
+
return text.replace('\\', '\x00'). \
|
| 24 |
+
replace('{', '\x01'). \
|
| 25 |
+
replace('}', '\x02'). \
|
| 26 |
+
replace('\x00', rf'\{commandprefix}Zbs{{}}'). \
|
| 27 |
+
replace('\x01', rf'\{commandprefix}Zob{{}}'). \
|
| 28 |
+
replace('\x02', rf'\{commandprefix}Zcb{{}}'). \
|
| 29 |
+
replace('^', rf'\{commandprefix}Zca{{}}'). \
|
| 30 |
+
replace('_', rf'\{commandprefix}Zus{{}}'). \
|
| 31 |
+
replace('&', rf'\{commandprefix}Zam{{}}'). \
|
| 32 |
+
replace('<', rf'\{commandprefix}Zlt{{}}'). \
|
| 33 |
+
replace('>', rf'\{commandprefix}Zgt{{}}'). \
|
| 34 |
+
replace('#', rf'\{commandprefix}Zsh{{}}'). \
|
| 35 |
+
replace('%', rf'\{commandprefix}Zpc{{}}'). \
|
| 36 |
+
replace('$', rf'\{commandprefix}Zdl{{}}'). \
|
| 37 |
+
replace('-', rf'\{commandprefix}Zhy{{}}'). \
|
| 38 |
+
replace("'", rf'\{commandprefix}Zsq{{}}'). \
|
| 39 |
+
replace('"', rf'\{commandprefix}Zdq{{}}'). \
|
| 40 |
+
replace('~', rf'\{commandprefix}Zti{{}}')
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
DOC_TEMPLATE = r'''
|
| 44 |
+
\documentclass{%(docclass)s}
|
| 45 |
+
\usepackage{fancyvrb}
|
| 46 |
+
\usepackage{color}
|
| 47 |
+
\usepackage[%(encoding)s]{inputenc}
|
| 48 |
+
%(preamble)s
|
| 49 |
+
|
| 50 |
+
%(styledefs)s
|
| 51 |
+
|
| 52 |
+
\begin{document}
|
| 53 |
+
|
| 54 |
+
\section*{%(title)s}
|
| 55 |
+
|
| 56 |
+
%(code)s
|
| 57 |
+
\end{document}
|
| 58 |
+
'''
|
| 59 |
+
|
| 60 |
+
## Small explanation of the mess below :)
|
| 61 |
+
#
|
| 62 |
+
# The previous version of the LaTeX formatter just assigned a command to
|
| 63 |
+
# each token type defined in the current style. That obviously is
|
| 64 |
+
# problematic if the highlighted code is produced for a different style
|
| 65 |
+
# than the style commands themselves.
|
| 66 |
+
#
|
| 67 |
+
# This version works much like the HTML formatter which assigns multiple
|
| 68 |
+
# CSS classes to each <span> tag, from the most specific to the least
|
| 69 |
+
# specific token type, thus falling back to the parent token type if one
|
| 70 |
+
# is not defined. Here, the classes are there too and use the same short
|
| 71 |
+
# forms given in token.STANDARD_TYPES.
|
| 72 |
+
#
|
| 73 |
+
# Highlighted code now only uses one custom command, which by default is
|
| 74 |
+
# \PY and selectable by the commandprefix option (and in addition the
|
| 75 |
+
# escapes \PYZat, \PYZlb and \PYZrb which haven't been renamed for
|
| 76 |
+
# backwards compatibility purposes).
|
| 77 |
+
#
|
| 78 |
+
# \PY has two arguments: the classes, separated by +, and the text to
|
| 79 |
+
# render in that style. The classes are resolved into the respective
|
| 80 |
+
# style commands by magic, which serves to ignore unknown classes.
|
| 81 |
+
#
|
| 82 |
+
# The magic macros are:
|
| 83 |
+
# * \PY@it, \PY@bf, etc. are unconditionally wrapped around the text
|
| 84 |
+
# to render in \PY@do. Their definition determines the style.
|
| 85 |
+
# * \PY@reset resets \PY@it etc. to do nothing.
|
| 86 |
+
# * \PY@toks parses the list of classes, using magic inspired by the
|
| 87 |
+
# keyval package (but modified to use plusses instead of commas
|
| 88 |
+
# because fancyvrb redefines commas inside its environments).
|
| 89 |
+
# * \PY@tok processes one class, calling the \PY@tok@classname command
|
| 90 |
+
# if it exists.
|
| 91 |
+
# * \PY@tok@classname sets the \PY@it etc. to reflect the chosen style
|
| 92 |
+
# for its class.
|
| 93 |
+
# * \PY resets the style, parses the classnames and then calls \PY@do.
|
| 94 |
+
#
|
| 95 |
+
# Tip: to read this code, print it out in substituted form using e.g.
|
| 96 |
+
# >>> print STYLE_TEMPLATE % {'cp': 'PY'}
|
| 97 |
+
|
| 98 |
+
STYLE_TEMPLATE = r'''
|
| 99 |
+
\makeatletter
|
| 100 |
+
\def\%(cp)s@reset{\let\%(cp)s@it=\relax \let\%(cp)s@bf=\relax%%
|
| 101 |
+
\let\%(cp)s@ul=\relax \let\%(cp)s@tc=\relax%%
|
| 102 |
+
\let\%(cp)s@bc=\relax \let\%(cp)s@ff=\relax}
|
| 103 |
+
\def\%(cp)s@tok#1{\csname %(cp)s@tok@#1\endcsname}
|
| 104 |
+
\def\%(cp)s@toks#1+{\ifx\relax#1\empty\else%%
|
| 105 |
+
\%(cp)s@tok{#1}\expandafter\%(cp)s@toks\fi}
|
| 106 |
+
\def\%(cp)s@do#1{\%(cp)s@bc{\%(cp)s@tc{\%(cp)s@ul{%%
|
| 107 |
+
\%(cp)s@it{\%(cp)s@bf{\%(cp)s@ff{#1}}}}}}}
|
| 108 |
+
\def\%(cp)s#1#2{\%(cp)s@reset\%(cp)s@toks#1+\relax+\%(cp)s@do{#2}}
|
| 109 |
+
|
| 110 |
+
%(styles)s
|
| 111 |
+
|
| 112 |
+
\def\%(cp)sZbs{\char`\\}
|
| 113 |
+
\def\%(cp)sZus{\char`\_}
|
| 114 |
+
\def\%(cp)sZob{\char`\{}
|
| 115 |
+
\def\%(cp)sZcb{\char`\}}
|
| 116 |
+
\def\%(cp)sZca{\char`\^}
|
| 117 |
+
\def\%(cp)sZam{\char`\&}
|
| 118 |
+
\def\%(cp)sZlt{\char`\<}
|
| 119 |
+
\def\%(cp)sZgt{\char`\>}
|
| 120 |
+
\def\%(cp)sZsh{\char`\#}
|
| 121 |
+
\def\%(cp)sZpc{\char`\%%}
|
| 122 |
+
\def\%(cp)sZdl{\char`\$}
|
| 123 |
+
\def\%(cp)sZhy{\char`\-}
|
| 124 |
+
\def\%(cp)sZsq{\char`\'}
|
| 125 |
+
\def\%(cp)sZdq{\char`\"}
|
| 126 |
+
\def\%(cp)sZti{\char`\~}
|
| 127 |
+
%% for compatibility with earlier versions
|
| 128 |
+
\def\%(cp)sZat{@}
|
| 129 |
+
\def\%(cp)sZlb{[}
|
| 130 |
+
\def\%(cp)sZrb{]}
|
| 131 |
+
\makeatother
|
| 132 |
+
'''
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
def _get_ttype_name(ttype):
|
| 136 |
+
fname = STANDARD_TYPES.get(ttype)
|
| 137 |
+
if fname:
|
| 138 |
+
return fname
|
| 139 |
+
aname = ''
|
| 140 |
+
while fname is None:
|
| 141 |
+
aname = ttype[-1] + aname
|
| 142 |
+
ttype = ttype.parent
|
| 143 |
+
fname = STANDARD_TYPES.get(ttype)
|
| 144 |
+
return fname + aname
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
class LatexFormatter(Formatter):
|
| 148 |
+
r"""
|
| 149 |
+
Format tokens as LaTeX code. This needs the `fancyvrb` and `color`
|
| 150 |
+
standard packages.
|
| 151 |
+
|
| 152 |
+
Without the `full` option, code is formatted as one ``Verbatim``
|
| 153 |
+
environment, like this:
|
| 154 |
+
|
| 155 |
+
.. sourcecode:: latex
|
| 156 |
+
|
| 157 |
+
\begin{Verbatim}[commandchars=\\\{\}]
|
| 158 |
+
\PY{k}{def }\PY{n+nf}{foo}(\PY{n}{bar}):
|
| 159 |
+
\PY{k}{pass}
|
| 160 |
+
\end{Verbatim}
|
| 161 |
+
|
| 162 |
+
Wrapping can be disabled using the `nowrap` option.
|
| 163 |
+
|
| 164 |
+
The special command used here (``\PY``) and all the other macros it needs
|
| 165 |
+
are output by the `get_style_defs` method.
|
| 166 |
+
|
| 167 |
+
With the `full` option, a complete LaTeX document is output, including
|
| 168 |
+
the command definitions in the preamble.
|
| 169 |
+
|
| 170 |
+
The `get_style_defs()` method of a `LatexFormatter` returns a string
|
| 171 |
+
containing ``\def`` commands defining the macros needed inside the
|
| 172 |
+
``Verbatim`` environments.
|
| 173 |
+
|
| 174 |
+
Additional options accepted:
|
| 175 |
+
|
| 176 |
+
`nowrap`
|
| 177 |
+
If set to ``True``, don't wrap the tokens at all, not even inside a
|
| 178 |
+
``\begin{Verbatim}`` environment. This disables most other options
|
| 179 |
+
(default: ``False``).
|
| 180 |
+
|
| 181 |
+
`style`
|
| 182 |
+
The style to use, can be a string or a Style subclass (default:
|
| 183 |
+
``'default'``).
|
| 184 |
+
|
| 185 |
+
`full`
|
| 186 |
+
Tells the formatter to output a "full" document, i.e. a complete
|
| 187 |
+
self-contained document (default: ``False``).
|
| 188 |
+
|
| 189 |
+
`title`
|
| 190 |
+
If `full` is true, the title that should be used to caption the
|
| 191 |
+
document (default: ``''``).
|
| 192 |
+
|
| 193 |
+
`docclass`
|
| 194 |
+
If the `full` option is enabled, this is the document class to use
|
| 195 |
+
(default: ``'article'``).
|
| 196 |
+
|
| 197 |
+
`preamble`
|
| 198 |
+
If the `full` option is enabled, this can be further preamble commands,
|
| 199 |
+
e.g. ``\usepackage`` (default: ``''``).
|
| 200 |
+
|
| 201 |
+
`linenos`
|
| 202 |
+
If set to ``True``, output line numbers (default: ``False``).
|
| 203 |
+
|
| 204 |
+
`linenostart`
|
| 205 |
+
The line number for the first line (default: ``1``).
|
| 206 |
+
|
| 207 |
+
`linenostep`
|
| 208 |
+
If set to a number n > 1, only every nth line number is printed.
|
| 209 |
+
|
| 210 |
+
`verboptions`
|
| 211 |
+
Additional options given to the Verbatim environment (see the *fancyvrb*
|
| 212 |
+
docs for possible values) (default: ``''``).
|
| 213 |
+
|
| 214 |
+
`commandprefix`
|
| 215 |
+
The LaTeX commands used to produce colored output are constructed
|
| 216 |
+
using this prefix and some letters (default: ``'PY'``).
|
| 217 |
+
|
| 218 |
+
.. versionadded:: 0.7
|
| 219 |
+
.. versionchanged:: 0.10
|
| 220 |
+
The default is now ``'PY'`` instead of ``'C'``.
|
| 221 |
+
|
| 222 |
+
`texcomments`
|
| 223 |
+
If set to ``True``, enables LaTeX comment lines. That is, LaTex markup
|
| 224 |
+
in comment tokens is not escaped so that LaTeX can render it (default:
|
| 225 |
+
``False``).
|
| 226 |
+
|
| 227 |
+
.. versionadded:: 1.2
|
| 228 |
+
|
| 229 |
+
`mathescape`
|
| 230 |
+
If set to ``True``, enables LaTeX math mode escape in comments. That
|
| 231 |
+
is, ``'$...$'`` inside a comment will trigger math mode (default:
|
| 232 |
+
``False``).
|
| 233 |
+
|
| 234 |
+
.. versionadded:: 1.2
|
| 235 |
+
|
| 236 |
+
`escapeinside`
|
| 237 |
+
If set to a string of length 2, enables escaping to LaTeX. Text
|
| 238 |
+
delimited by these 2 characters is read as LaTeX code and
|
| 239 |
+
typeset accordingly. It has no effect in string literals. It has
|
| 240 |
+
no effect in comments if `texcomments` or `mathescape` is
|
| 241 |
+
set. (default: ``''``).
|
| 242 |
+
|
| 243 |
+
.. versionadded:: 2.0
|
| 244 |
+
|
| 245 |
+
`envname`
|
| 246 |
+
Allows you to pick an alternative environment name replacing Verbatim.
|
| 247 |
+
The alternate environment still has to support Verbatim's option syntax.
|
| 248 |
+
(default: ``'Verbatim'``).
|
| 249 |
+
|
| 250 |
+
.. versionadded:: 2.0
|
| 251 |
+
"""
|
| 252 |
+
name = 'LaTeX'
|
| 253 |
+
aliases = ['latex', 'tex']
|
| 254 |
+
filenames = ['*.tex']
|
| 255 |
+
|
| 256 |
+
def __init__(self, **options):
|
| 257 |
+
Formatter.__init__(self, **options)
|
| 258 |
+
self.nowrap = get_bool_opt(options, 'nowrap', False)
|
| 259 |
+
self.docclass = options.get('docclass', 'article')
|
| 260 |
+
self.preamble = options.get('preamble', '')
|
| 261 |
+
self.linenos = get_bool_opt(options, 'linenos', False)
|
| 262 |
+
self.linenostart = abs(get_int_opt(options, 'linenostart', 1))
|
| 263 |
+
self.linenostep = abs(get_int_opt(options, 'linenostep', 1))
|
| 264 |
+
self.verboptions = options.get('verboptions', '')
|
| 265 |
+
self.nobackground = get_bool_opt(options, 'nobackground', False)
|
| 266 |
+
self.commandprefix = options.get('commandprefix', 'PY')
|
| 267 |
+
self.texcomments = get_bool_opt(options, 'texcomments', False)
|
| 268 |
+
self.mathescape = get_bool_opt(options, 'mathescape', False)
|
| 269 |
+
self.escapeinside = options.get('escapeinside', '')
|
| 270 |
+
if len(self.escapeinside) == 2:
|
| 271 |
+
self.left = self.escapeinside[0]
|
| 272 |
+
self.right = self.escapeinside[1]
|
| 273 |
+
else:
|
| 274 |
+
self.escapeinside = ''
|
| 275 |
+
self.envname = options.get('envname', 'Verbatim')
|
| 276 |
+
|
| 277 |
+
self._create_stylesheet()
|
| 278 |
+
|
| 279 |
+
def _create_stylesheet(self):
|
| 280 |
+
t2n = self.ttype2name = {Token: ''}
|
| 281 |
+
c2d = self.cmd2def = {}
|
| 282 |
+
cp = self.commandprefix
|
| 283 |
+
|
| 284 |
+
def rgbcolor(col):
|
| 285 |
+
if col:
|
| 286 |
+
return ','.join(['%.2f' % (int(col[i] + col[i + 1], 16) / 255.0)
|
| 287 |
+
for i in (0, 2, 4)])
|
| 288 |
+
else:
|
| 289 |
+
return '1,1,1'
|
| 290 |
+
|
| 291 |
+
for ttype, ndef in self.style:
|
| 292 |
+
name = _get_ttype_name(ttype)
|
| 293 |
+
cmndef = ''
|
| 294 |
+
if ndef['bold']:
|
| 295 |
+
cmndef += r'\let\$$@bf=\textbf'
|
| 296 |
+
if ndef['italic']:
|
| 297 |
+
cmndef += r'\let\$$@it=\textit'
|
| 298 |
+
if ndef['underline']:
|
| 299 |
+
cmndef += r'\let\$$@ul=\underline'
|
| 300 |
+
if ndef['roman']:
|
| 301 |
+
cmndef += r'\let\$$@ff=\textrm'
|
| 302 |
+
if ndef['sans']:
|
| 303 |
+
cmndef += r'\let\$$@ff=\textsf'
|
| 304 |
+
if ndef['mono']:
|
| 305 |
+
cmndef += r'\let\$$@ff=\textsf'
|
| 306 |
+
if ndef['color']:
|
| 307 |
+
cmndef += (r'\def\$$@tc##1{{\textcolor[rgb]{{{}}}{{##1}}}}'.format(rgbcolor(ndef['color'])))
|
| 308 |
+
if ndef['border']:
|
| 309 |
+
cmndef += (r'\def\$$@bc##1{{{{\setlength{{\fboxsep}}{{\string -\fboxrule}}'
|
| 310 |
+
r'\fcolorbox[rgb]{{{}}}{{{}}}{{\strut ##1}}}}}}'.format(rgbcolor(ndef['border']),
|
| 311 |
+
rgbcolor(ndef['bgcolor'])))
|
| 312 |
+
elif ndef['bgcolor']:
|
| 313 |
+
cmndef += (r'\def\$$@bc##1{{{{\setlength{{\fboxsep}}{{0pt}}'
|
| 314 |
+
r'\colorbox[rgb]{{{}}}{{\strut ##1}}}}}}'.format(rgbcolor(ndef['bgcolor'])))
|
| 315 |
+
if cmndef == '':
|
| 316 |
+
continue
|
| 317 |
+
cmndef = cmndef.replace('$$', cp)
|
| 318 |
+
t2n[ttype] = name
|
| 319 |
+
c2d[name] = cmndef
|
| 320 |
+
|
| 321 |
+
def get_style_defs(self, arg=''):
|
| 322 |
+
"""
|
| 323 |
+
Return the command sequences needed to define the commands
|
| 324 |
+
used to format text in the verbatim environment. ``arg`` is ignored.
|
| 325 |
+
"""
|
| 326 |
+
cp = self.commandprefix
|
| 327 |
+
styles = []
|
| 328 |
+
for name, definition in self.cmd2def.items():
|
| 329 |
+
styles.append(rf'\@namedef{{{cp}@tok@{name}}}{{{definition}}}')
|
| 330 |
+
return STYLE_TEMPLATE % {'cp': self.commandprefix,
|
| 331 |
+
'styles': '\n'.join(styles)}
|
| 332 |
+
|
| 333 |
+
def format_unencoded(self, tokensource, outfile):
|
| 334 |
+
# TODO: add support for background colors
|
| 335 |
+
t2n = self.ttype2name
|
| 336 |
+
cp = self.commandprefix
|
| 337 |
+
|
| 338 |
+
if self.full:
|
| 339 |
+
realoutfile = outfile
|
| 340 |
+
outfile = StringIO()
|
| 341 |
+
|
| 342 |
+
if not self.nowrap:
|
| 343 |
+
outfile.write('\\begin{' + self.envname + '}[commandchars=\\\\\\{\\}')
|
| 344 |
+
if self.linenos:
|
| 345 |
+
start, step = self.linenostart, self.linenostep
|
| 346 |
+
outfile.write(',numbers=left' +
|
| 347 |
+
(start and ',firstnumber=%d' % start or '') +
|
| 348 |
+
(step and ',stepnumber=%d' % step or ''))
|
| 349 |
+
if self.mathescape or self.texcomments or self.escapeinside:
|
| 350 |
+
outfile.write(',codes={\\catcode`\\$=3\\catcode`\\^=7'
|
| 351 |
+
'\\catcode`\\_=8\\relax}')
|
| 352 |
+
if self.verboptions:
|
| 353 |
+
outfile.write(',' + self.verboptions)
|
| 354 |
+
outfile.write(']\n')
|
| 355 |
+
|
| 356 |
+
for ttype, value in tokensource:
|
| 357 |
+
if ttype in Token.Comment:
|
| 358 |
+
if self.texcomments:
|
| 359 |
+
# Try to guess comment starting lexeme and escape it ...
|
| 360 |
+
start = value[0:1]
|
| 361 |
+
for i in range(1, len(value)):
|
| 362 |
+
if start[0] != value[i]:
|
| 363 |
+
break
|
| 364 |
+
start += value[i]
|
| 365 |
+
|
| 366 |
+
value = value[len(start):]
|
| 367 |
+
start = escape_tex(start, cp)
|
| 368 |
+
|
| 369 |
+
# ... but do not escape inside comment.
|
| 370 |
+
value = start + value
|
| 371 |
+
elif self.mathescape:
|
| 372 |
+
# Only escape parts not inside a math environment.
|
| 373 |
+
parts = value.split('$')
|
| 374 |
+
in_math = False
|
| 375 |
+
for i, part in enumerate(parts):
|
| 376 |
+
if not in_math:
|
| 377 |
+
parts[i] = escape_tex(part, cp)
|
| 378 |
+
in_math = not in_math
|
| 379 |
+
value = '$'.join(parts)
|
| 380 |
+
elif self.escapeinside:
|
| 381 |
+
text = value
|
| 382 |
+
value = ''
|
| 383 |
+
while text:
|
| 384 |
+
a, sep1, text = text.partition(self.left)
|
| 385 |
+
if sep1:
|
| 386 |
+
b, sep2, text = text.partition(self.right)
|
| 387 |
+
if sep2:
|
| 388 |
+
value += escape_tex(a, cp) + b
|
| 389 |
+
else:
|
| 390 |
+
value += escape_tex(a + sep1 + b, cp)
|
| 391 |
+
else:
|
| 392 |
+
value += escape_tex(a, cp)
|
| 393 |
+
else:
|
| 394 |
+
value = escape_tex(value, cp)
|
| 395 |
+
elif ttype not in Token.Escape:
|
| 396 |
+
value = escape_tex(value, cp)
|
| 397 |
+
styles = []
|
| 398 |
+
while ttype is not Token:
|
| 399 |
+
try:
|
| 400 |
+
styles.append(t2n[ttype])
|
| 401 |
+
except KeyError:
|
| 402 |
+
# not in current style
|
| 403 |
+
styles.append(_get_ttype_name(ttype))
|
| 404 |
+
ttype = ttype.parent
|
| 405 |
+
styleval = '+'.join(reversed(styles))
|
| 406 |
+
if styleval:
|
| 407 |
+
spl = value.split('\n')
|
| 408 |
+
for line in spl[:-1]:
|
| 409 |
+
if line:
|
| 410 |
+
outfile.write(f"\\{cp}{{{styleval}}}{{{line}}}")
|
| 411 |
+
outfile.write('\n')
|
| 412 |
+
if spl[-1]:
|
| 413 |
+
outfile.write(f"\\{cp}{{{styleval}}}{{{spl[-1]}}}")
|
| 414 |
+
else:
|
| 415 |
+
outfile.write(value)
|
| 416 |
+
|
| 417 |
+
if not self.nowrap:
|
| 418 |
+
outfile.write('\\end{' + self.envname + '}\n')
|
| 419 |
+
|
| 420 |
+
if self.full:
|
| 421 |
+
encoding = self.encoding or 'utf8'
|
| 422 |
+
# map known existings encodings from LaTeX distribution
|
| 423 |
+
encoding = {
|
| 424 |
+
'utf_8': 'utf8',
|
| 425 |
+
'latin_1': 'latin1',
|
| 426 |
+
'iso_8859_1': 'latin1',
|
| 427 |
+
}.get(encoding.replace('-', '_'), encoding)
|
| 428 |
+
realoutfile.write(DOC_TEMPLATE %
|
| 429 |
+
dict(docclass = self.docclass,
|
| 430 |
+
preamble = self.preamble,
|
| 431 |
+
title = self.title,
|
| 432 |
+
encoding = encoding,
|
| 433 |
+
styledefs = self.get_style_defs(),
|
| 434 |
+
code = outfile.getvalue()))
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
class LatexEmbeddedLexer(Lexer):
|
| 438 |
+
"""
|
| 439 |
+
This lexer takes one lexer as argument, the lexer for the language
|
| 440 |
+
being formatted, and the left and right delimiters for escaped text.
|
| 441 |
+
|
| 442 |
+
First everything is scanned using the language lexer to obtain
|
| 443 |
+
strings and comments. All other consecutive tokens are merged and
|
| 444 |
+
the resulting text is scanned for escaped segments, which are given
|
| 445 |
+
the Token.Escape type. Finally text that is not escaped is scanned
|
| 446 |
+
again with the language lexer.
|
| 447 |
+
"""
|
| 448 |
+
def __init__(self, left, right, lang, **options):
|
| 449 |
+
self.left = left
|
| 450 |
+
self.right = right
|
| 451 |
+
self.lang = lang
|
| 452 |
+
Lexer.__init__(self, **options)
|
| 453 |
+
|
| 454 |
+
def get_tokens_unprocessed(self, text):
|
| 455 |
+
# find and remove all the escape tokens (replace with an empty string)
|
| 456 |
+
# this is very similar to DelegatingLexer.get_tokens_unprocessed.
|
| 457 |
+
buffered = ''
|
| 458 |
+
insertions = []
|
| 459 |
+
insertion_buf = []
|
| 460 |
+
for i, t, v in self._find_safe_escape_tokens(text):
|
| 461 |
+
if t is None:
|
| 462 |
+
if insertion_buf:
|
| 463 |
+
insertions.append((len(buffered), insertion_buf))
|
| 464 |
+
insertion_buf = []
|
| 465 |
+
buffered += v
|
| 466 |
+
else:
|
| 467 |
+
insertion_buf.append((i, t, v))
|
| 468 |
+
if insertion_buf:
|
| 469 |
+
insertions.append((len(buffered), insertion_buf))
|
| 470 |
+
return do_insertions(insertions,
|
| 471 |
+
self.lang.get_tokens_unprocessed(buffered))
|
| 472 |
+
|
| 473 |
+
def _find_safe_escape_tokens(self, text):
|
| 474 |
+
""" find escape tokens that are not in strings or comments """
|
| 475 |
+
for i, t, v in self._filter_to(
|
| 476 |
+
self.lang.get_tokens_unprocessed(text),
|
| 477 |
+
lambda t: t in Token.Comment or t in Token.String
|
| 478 |
+
):
|
| 479 |
+
if t is None:
|
| 480 |
+
for i2, t2, v2 in self._find_escape_tokens(v):
|
| 481 |
+
yield i + i2, t2, v2
|
| 482 |
+
else:
|
| 483 |
+
yield i, None, v
|
| 484 |
+
|
| 485 |
+
def _filter_to(self, it, pred):
|
| 486 |
+
""" Keep only the tokens that match `pred`, merge the others together """
|
| 487 |
+
buf = ''
|
| 488 |
+
idx = 0
|
| 489 |
+
for i, t, v in it:
|
| 490 |
+
if pred(t):
|
| 491 |
+
if buf:
|
| 492 |
+
yield idx, None, buf
|
| 493 |
+
buf = ''
|
| 494 |
+
yield i, t, v
|
| 495 |
+
else:
|
| 496 |
+
if not buf:
|
| 497 |
+
idx = i
|
| 498 |
+
buf += v
|
| 499 |
+
if buf:
|
| 500 |
+
yield idx, None, buf
|
| 501 |
+
|
| 502 |
+
def _find_escape_tokens(self, text):
|
| 503 |
+
""" Find escape tokens within text, give token=None otherwise """
|
| 504 |
+
index = 0
|
| 505 |
+
while text:
|
| 506 |
+
a, sep1, text = text.partition(self.left)
|
| 507 |
+
if a:
|
| 508 |
+
yield index, None, a
|
| 509 |
+
index += len(a)
|
| 510 |
+
if sep1:
|
| 511 |
+
b, sep2, text = text.partition(self.right)
|
| 512 |
+
if sep2:
|
| 513 |
+
yield index + len(sep1), Token.Escape, b
|
| 514 |
+
index += len(sep1) + len(b) + len(sep2)
|
| 515 |
+
else:
|
| 516 |
+
yield index, Token.Error, sep1
|
| 517 |
+
index += len(sep1)
|
| 518 |
+
text = b
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/other.py
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.other
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Other formatters: NullFormatter, RawTokenFormatter.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.formatter import Formatter
|
| 12 |
+
from pygments.util import get_choice_opt
|
| 13 |
+
from pygments.token import Token
|
| 14 |
+
from pygments.console import colorize
|
| 15 |
+
|
| 16 |
+
__all__ = ['NullFormatter', 'RawTokenFormatter', 'TestcaseFormatter']
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
class NullFormatter(Formatter):
|
| 20 |
+
"""
|
| 21 |
+
Output the text unchanged without any formatting.
|
| 22 |
+
"""
|
| 23 |
+
name = 'Text only'
|
| 24 |
+
aliases = ['text', 'null']
|
| 25 |
+
filenames = ['*.txt']
|
| 26 |
+
|
| 27 |
+
def format(self, tokensource, outfile):
|
| 28 |
+
enc = self.encoding
|
| 29 |
+
for ttype, value in tokensource:
|
| 30 |
+
if enc:
|
| 31 |
+
outfile.write(value.encode(enc))
|
| 32 |
+
else:
|
| 33 |
+
outfile.write(value)
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
class RawTokenFormatter(Formatter):
|
| 37 |
+
r"""
|
| 38 |
+
Format tokens as a raw representation for storing token streams.
|
| 39 |
+
|
| 40 |
+
The format is ``tokentype<TAB>repr(tokenstring)\n``. The output can later
|
| 41 |
+
be converted to a token stream with the `RawTokenLexer`, described in the
|
| 42 |
+
:doc:`lexer list <lexers>`.
|
| 43 |
+
|
| 44 |
+
Only two options are accepted:
|
| 45 |
+
|
| 46 |
+
`compress`
|
| 47 |
+
If set to ``'gz'`` or ``'bz2'``, compress the output with the given
|
| 48 |
+
compression algorithm after encoding (default: ``''``).
|
| 49 |
+
`error_color`
|
| 50 |
+
If set to a color name, highlight error tokens using that color. If
|
| 51 |
+
set but with no value, defaults to ``'red'``.
|
| 52 |
+
|
| 53 |
+
.. versionadded:: 0.11
|
| 54 |
+
|
| 55 |
+
"""
|
| 56 |
+
name = 'Raw tokens'
|
| 57 |
+
aliases = ['raw', 'tokens']
|
| 58 |
+
filenames = ['*.raw']
|
| 59 |
+
|
| 60 |
+
unicodeoutput = False
|
| 61 |
+
|
| 62 |
+
def __init__(self, **options):
|
| 63 |
+
Formatter.__init__(self, **options)
|
| 64 |
+
# We ignore self.encoding if it is set, since it gets set for lexer
|
| 65 |
+
# and formatter if given with -Oencoding on the command line.
|
| 66 |
+
# The RawTokenFormatter outputs only ASCII. Override here.
|
| 67 |
+
self.encoding = 'ascii' # let pygments.format() do the right thing
|
| 68 |
+
self.compress = get_choice_opt(options, 'compress',
|
| 69 |
+
['', 'none', 'gz', 'bz2'], '')
|
| 70 |
+
self.error_color = options.get('error_color', None)
|
| 71 |
+
if self.error_color is True:
|
| 72 |
+
self.error_color = 'red'
|
| 73 |
+
if self.error_color is not None:
|
| 74 |
+
try:
|
| 75 |
+
colorize(self.error_color, '')
|
| 76 |
+
except KeyError:
|
| 77 |
+
raise ValueError(f"Invalid color {self.error_color!r} specified")
|
| 78 |
+
|
| 79 |
+
def format(self, tokensource, outfile):
|
| 80 |
+
try:
|
| 81 |
+
outfile.write(b'')
|
| 82 |
+
except TypeError:
|
| 83 |
+
raise TypeError('The raw tokens formatter needs a binary '
|
| 84 |
+
'output file')
|
| 85 |
+
if self.compress == 'gz':
|
| 86 |
+
import gzip
|
| 87 |
+
outfile = gzip.GzipFile('', 'wb', 9, outfile)
|
| 88 |
+
|
| 89 |
+
write = outfile.write
|
| 90 |
+
flush = outfile.close
|
| 91 |
+
elif self.compress == 'bz2':
|
| 92 |
+
import bz2
|
| 93 |
+
compressor = bz2.BZ2Compressor(9)
|
| 94 |
+
|
| 95 |
+
def write(text):
|
| 96 |
+
outfile.write(compressor.compress(text))
|
| 97 |
+
|
| 98 |
+
def flush():
|
| 99 |
+
outfile.write(compressor.flush())
|
| 100 |
+
outfile.flush()
|
| 101 |
+
else:
|
| 102 |
+
write = outfile.write
|
| 103 |
+
flush = outfile.flush
|
| 104 |
+
|
| 105 |
+
if self.error_color:
|
| 106 |
+
for ttype, value in tokensource:
|
| 107 |
+
line = b"%r\t%r\n" % (ttype, value)
|
| 108 |
+
if ttype is Token.Error:
|
| 109 |
+
write(colorize(self.error_color, line))
|
| 110 |
+
else:
|
| 111 |
+
write(line)
|
| 112 |
+
else:
|
| 113 |
+
for ttype, value in tokensource:
|
| 114 |
+
write(b"%r\t%r\n" % (ttype, value))
|
| 115 |
+
flush()
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
TESTCASE_BEFORE = '''\
|
| 119 |
+
def testNeedsName(lexer):
|
| 120 |
+
fragment = %r
|
| 121 |
+
tokens = [
|
| 122 |
+
'''
|
| 123 |
+
TESTCASE_AFTER = '''\
|
| 124 |
+
]
|
| 125 |
+
assert list(lexer.get_tokens(fragment)) == tokens
|
| 126 |
+
'''
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
class TestcaseFormatter(Formatter):
|
| 130 |
+
"""
|
| 131 |
+
Format tokens as appropriate for a new testcase.
|
| 132 |
+
|
| 133 |
+
.. versionadded:: 2.0
|
| 134 |
+
"""
|
| 135 |
+
name = 'Testcase'
|
| 136 |
+
aliases = ['testcase']
|
| 137 |
+
|
| 138 |
+
def __init__(self, **options):
|
| 139 |
+
Formatter.__init__(self, **options)
|
| 140 |
+
if self.encoding is not None and self.encoding != 'utf-8':
|
| 141 |
+
raise ValueError("Only None and utf-8 are allowed encodings.")
|
| 142 |
+
|
| 143 |
+
def format(self, tokensource, outfile):
|
| 144 |
+
indentation = ' ' * 12
|
| 145 |
+
rawbuf = []
|
| 146 |
+
outbuf = []
|
| 147 |
+
for ttype, value in tokensource:
|
| 148 |
+
rawbuf.append(value)
|
| 149 |
+
outbuf.append(f'{indentation}({ttype}, {value!r}),\n')
|
| 150 |
+
|
| 151 |
+
before = TESTCASE_BEFORE % (''.join(rawbuf),)
|
| 152 |
+
during = ''.join(outbuf)
|
| 153 |
+
after = TESTCASE_AFTER
|
| 154 |
+
if self.encoding is None:
|
| 155 |
+
outfile.write(before + during + after)
|
| 156 |
+
else:
|
| 157 |
+
outfile.write(before.encode('utf-8'))
|
| 158 |
+
outfile.write(during.encode('utf-8'))
|
| 159 |
+
outfile.write(after.encode('utf-8'))
|
| 160 |
+
outfile.flush()
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/pangomarkup.py
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.pangomarkup
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Formatter for Pango markup output.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.formatter import Formatter
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
__all__ = ['PangoMarkupFormatter']
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
_escape_table = {
|
| 18 |
+
ord('&'): '&',
|
| 19 |
+
ord('<'): '<',
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def escape_special_chars(text, table=_escape_table):
|
| 24 |
+
"""Escape & and < for Pango Markup."""
|
| 25 |
+
return text.translate(table)
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
class PangoMarkupFormatter(Formatter):
|
| 29 |
+
"""
|
| 30 |
+
Format tokens as Pango Markup code. It can then be rendered to an SVG.
|
| 31 |
+
|
| 32 |
+
.. versionadded:: 2.9
|
| 33 |
+
"""
|
| 34 |
+
|
| 35 |
+
name = 'Pango Markup'
|
| 36 |
+
aliases = ['pango', 'pangomarkup']
|
| 37 |
+
filenames = []
|
| 38 |
+
|
| 39 |
+
def __init__(self, **options):
|
| 40 |
+
Formatter.__init__(self, **options)
|
| 41 |
+
|
| 42 |
+
self.styles = {}
|
| 43 |
+
|
| 44 |
+
for token, style in self.style:
|
| 45 |
+
start = ''
|
| 46 |
+
end = ''
|
| 47 |
+
if style['color']:
|
| 48 |
+
start += '<span fgcolor="#{}">'.format(style['color'])
|
| 49 |
+
end = '</span>' + end
|
| 50 |
+
if style['bold']:
|
| 51 |
+
start += '<b>'
|
| 52 |
+
end = '</b>' + end
|
| 53 |
+
if style['italic']:
|
| 54 |
+
start += '<i>'
|
| 55 |
+
end = '</i>' + end
|
| 56 |
+
if style['underline']:
|
| 57 |
+
start += '<u>'
|
| 58 |
+
end = '</u>' + end
|
| 59 |
+
self.styles[token] = (start, end)
|
| 60 |
+
|
| 61 |
+
def format_unencoded(self, tokensource, outfile):
|
| 62 |
+
lastval = ''
|
| 63 |
+
lasttype = None
|
| 64 |
+
|
| 65 |
+
outfile.write('<tt>')
|
| 66 |
+
|
| 67 |
+
for ttype, value in tokensource:
|
| 68 |
+
while ttype not in self.styles:
|
| 69 |
+
ttype = ttype.parent
|
| 70 |
+
if ttype == lasttype:
|
| 71 |
+
lastval += escape_special_chars(value)
|
| 72 |
+
else:
|
| 73 |
+
if lastval:
|
| 74 |
+
stylebegin, styleend = self.styles[lasttype]
|
| 75 |
+
outfile.write(stylebegin + lastval + styleend)
|
| 76 |
+
lastval = escape_special_chars(value)
|
| 77 |
+
lasttype = ttype
|
| 78 |
+
|
| 79 |
+
if lastval:
|
| 80 |
+
stylebegin, styleend = self.styles[lasttype]
|
| 81 |
+
outfile.write(stylebegin + lastval + styleend)
|
| 82 |
+
|
| 83 |
+
outfile.write('</tt>')
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/rtf.py
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.rtf
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
A formatter that generates RTF files.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from collections import OrderedDict
|
| 12 |
+
from pygments.formatter import Formatter
|
| 13 |
+
from pygments.style import _ansimap
|
| 14 |
+
from pygments.util import get_bool_opt, get_int_opt, get_list_opt, surrogatepair
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
__all__ = ['RtfFormatter']
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
class RtfFormatter(Formatter):
|
| 21 |
+
"""
|
| 22 |
+
Format tokens as RTF markup. This formatter automatically outputs full RTF
|
| 23 |
+
documents with color information and other useful stuff. Perfect for Copy and
|
| 24 |
+
Paste into Microsoft(R) Word(R) documents.
|
| 25 |
+
|
| 26 |
+
Please note that ``encoding`` and ``outencoding`` options are ignored.
|
| 27 |
+
The RTF format is ASCII natively, but handles unicode characters correctly
|
| 28 |
+
thanks to escape sequences.
|
| 29 |
+
|
| 30 |
+
.. versionadded:: 0.6
|
| 31 |
+
|
| 32 |
+
Additional options accepted:
|
| 33 |
+
|
| 34 |
+
`style`
|
| 35 |
+
The style to use, can be a string or a Style subclass (default:
|
| 36 |
+
``'default'``).
|
| 37 |
+
|
| 38 |
+
`fontface`
|
| 39 |
+
The used font family, for example ``Bitstream Vera Sans``. Defaults to
|
| 40 |
+
some generic font which is supposed to have fixed width.
|
| 41 |
+
|
| 42 |
+
`fontsize`
|
| 43 |
+
Size of the font used. Size is specified in half points. The
|
| 44 |
+
default is 24 half-points, giving a size 12 font.
|
| 45 |
+
|
| 46 |
+
.. versionadded:: 2.0
|
| 47 |
+
|
| 48 |
+
`linenos`
|
| 49 |
+
Turn on line numbering (default: ``False``).
|
| 50 |
+
|
| 51 |
+
.. versionadded:: 2.18
|
| 52 |
+
|
| 53 |
+
`lineno_fontsize`
|
| 54 |
+
Font size for line numbers. Size is specified in half points
|
| 55 |
+
(default: `fontsize`).
|
| 56 |
+
|
| 57 |
+
.. versionadded:: 2.18
|
| 58 |
+
|
| 59 |
+
`lineno_padding`
|
| 60 |
+
Number of spaces between the (inline) line numbers and the
|
| 61 |
+
source code (default: ``2``).
|
| 62 |
+
|
| 63 |
+
.. versionadded:: 2.18
|
| 64 |
+
|
| 65 |
+
`linenostart`
|
| 66 |
+
The line number for the first line (default: ``1``).
|
| 67 |
+
|
| 68 |
+
.. versionadded:: 2.18
|
| 69 |
+
|
| 70 |
+
`linenostep`
|
| 71 |
+
If set to a number n > 1, only every nth line number is printed.
|
| 72 |
+
|
| 73 |
+
.. versionadded:: 2.18
|
| 74 |
+
|
| 75 |
+
`lineno_color`
|
| 76 |
+
Color for line numbers specified as a hex triplet, e.g. ``'5e5e5e'``.
|
| 77 |
+
Defaults to the style's line number color if it is a hex triplet,
|
| 78 |
+
otherwise ansi bright black.
|
| 79 |
+
|
| 80 |
+
.. versionadded:: 2.18
|
| 81 |
+
|
| 82 |
+
`hl_lines`
|
| 83 |
+
Specify a list of lines to be highlighted, as line numbers separated by
|
| 84 |
+
spaces, e.g. ``'3 7 8'``. The line numbers are relative to the input
|
| 85 |
+
(i.e. the first line is line 1) unless `hl_linenostart` is set.
|
| 86 |
+
|
| 87 |
+
.. versionadded:: 2.18
|
| 88 |
+
|
| 89 |
+
`hl_color`
|
| 90 |
+
Color for highlighting the lines specified in `hl_lines`, specified as
|
| 91 |
+
a hex triplet (default: style's `highlight_color`).
|
| 92 |
+
|
| 93 |
+
.. versionadded:: 2.18
|
| 94 |
+
|
| 95 |
+
`hl_linenostart`
|
| 96 |
+
If set to ``True`` line numbers in `hl_lines` are specified
|
| 97 |
+
relative to `linenostart` (default ``False``).
|
| 98 |
+
|
| 99 |
+
.. versionadded:: 2.18
|
| 100 |
+
"""
|
| 101 |
+
name = 'RTF'
|
| 102 |
+
aliases = ['rtf']
|
| 103 |
+
filenames = ['*.rtf']
|
| 104 |
+
|
| 105 |
+
def __init__(self, **options):
|
| 106 |
+
r"""
|
| 107 |
+
Additional options accepted:
|
| 108 |
+
|
| 109 |
+
``fontface``
|
| 110 |
+
Name of the font used. Could for example be ``'Courier New'``
|
| 111 |
+
to further specify the default which is ``'\fmodern'``. The RTF
|
| 112 |
+
specification claims that ``\fmodern`` are "Fixed-pitch serif
|
| 113 |
+
and sans serif fonts". Hope every RTF implementation thinks
|
| 114 |
+
the same about modern...
|
| 115 |
+
|
| 116 |
+
"""
|
| 117 |
+
Formatter.__init__(self, **options)
|
| 118 |
+
self.fontface = options.get('fontface') or ''
|
| 119 |
+
self.fontsize = get_int_opt(options, 'fontsize', 0)
|
| 120 |
+
self.linenos = get_bool_opt(options, 'linenos', False)
|
| 121 |
+
self.lineno_fontsize = get_int_opt(options, 'lineno_fontsize',
|
| 122 |
+
self.fontsize)
|
| 123 |
+
self.lineno_padding = get_int_opt(options, 'lineno_padding', 2)
|
| 124 |
+
self.linenostart = abs(get_int_opt(options, 'linenostart', 1))
|
| 125 |
+
self.linenostep = abs(get_int_opt(options, 'linenostep', 1))
|
| 126 |
+
self.hl_linenostart = get_bool_opt(options, 'hl_linenostart', False)
|
| 127 |
+
|
| 128 |
+
self.hl_color = options.get('hl_color', '')
|
| 129 |
+
if not self.hl_color:
|
| 130 |
+
self.hl_color = self.style.highlight_color
|
| 131 |
+
|
| 132 |
+
self.hl_lines = []
|
| 133 |
+
for lineno in get_list_opt(options, 'hl_lines', []):
|
| 134 |
+
try:
|
| 135 |
+
lineno = int(lineno)
|
| 136 |
+
if self.hl_linenostart:
|
| 137 |
+
lineno = lineno - self.linenostart + 1
|
| 138 |
+
self.hl_lines.append(lineno)
|
| 139 |
+
except ValueError:
|
| 140 |
+
pass
|
| 141 |
+
|
| 142 |
+
self.lineno_color = options.get('lineno_color', '')
|
| 143 |
+
if not self.lineno_color:
|
| 144 |
+
if self.style.line_number_color == 'inherit':
|
| 145 |
+
# style color is the css value 'inherit'
|
| 146 |
+
# default to ansi bright-black
|
| 147 |
+
self.lineno_color = _ansimap['ansibrightblack']
|
| 148 |
+
else:
|
| 149 |
+
# style color is assumed to be a hex triplet as other
|
| 150 |
+
# colors in pygments/style.py
|
| 151 |
+
self.lineno_color = self.style.line_number_color
|
| 152 |
+
|
| 153 |
+
self.color_mapping = self._create_color_mapping()
|
| 154 |
+
|
| 155 |
+
def _escape(self, text):
|
| 156 |
+
return text.replace('\\', '\\\\') \
|
| 157 |
+
.replace('{', '\\{') \
|
| 158 |
+
.replace('}', '\\}')
|
| 159 |
+
|
| 160 |
+
def _escape_text(self, text):
|
| 161 |
+
# empty strings, should give a small performance improvement
|
| 162 |
+
if not text:
|
| 163 |
+
return ''
|
| 164 |
+
|
| 165 |
+
# escape text
|
| 166 |
+
text = self._escape(text)
|
| 167 |
+
|
| 168 |
+
buf = []
|
| 169 |
+
for c in text:
|
| 170 |
+
cn = ord(c)
|
| 171 |
+
if cn < (2**7):
|
| 172 |
+
# ASCII character
|
| 173 |
+
buf.append(str(c))
|
| 174 |
+
elif (2**7) <= cn < (2**16):
|
| 175 |
+
# single unicode escape sequence
|
| 176 |
+
buf.append('{\\u%d}' % cn)
|
| 177 |
+
elif (2**16) <= cn:
|
| 178 |
+
# RTF limits unicode to 16 bits.
|
| 179 |
+
# Force surrogate pairs
|
| 180 |
+
buf.append('{\\u%d}{\\u%d}' % surrogatepair(cn))
|
| 181 |
+
|
| 182 |
+
return ''.join(buf).replace('\n', '\\par')
|
| 183 |
+
|
| 184 |
+
@staticmethod
|
| 185 |
+
def hex_to_rtf_color(hex_color):
|
| 186 |
+
if hex_color[0] == "#":
|
| 187 |
+
hex_color = hex_color[1:]
|
| 188 |
+
|
| 189 |
+
return '\\red%d\\green%d\\blue%d;' % (
|
| 190 |
+
int(hex_color[0:2], 16),
|
| 191 |
+
int(hex_color[2:4], 16),
|
| 192 |
+
int(hex_color[4:6], 16)
|
| 193 |
+
)
|
| 194 |
+
|
| 195 |
+
def _split_tokens_on_newlines(self, tokensource):
|
| 196 |
+
"""
|
| 197 |
+
Split tokens containing newline characters into multiple token
|
| 198 |
+
each representing a line of the input file. Needed for numbering
|
| 199 |
+
lines of e.g. multiline comments.
|
| 200 |
+
"""
|
| 201 |
+
for ttype, value in tokensource:
|
| 202 |
+
if value == '\n':
|
| 203 |
+
yield (ttype, value)
|
| 204 |
+
elif "\n" in value:
|
| 205 |
+
lines = value.split("\n")
|
| 206 |
+
for line in lines[:-1]:
|
| 207 |
+
yield (ttype, line+"\n")
|
| 208 |
+
if lines[-1]:
|
| 209 |
+
yield (ttype, lines[-1])
|
| 210 |
+
else:
|
| 211 |
+
yield (ttype, value)
|
| 212 |
+
|
| 213 |
+
def _create_color_mapping(self):
|
| 214 |
+
"""
|
| 215 |
+
Create a mapping of style hex colors to index/offset in
|
| 216 |
+
the RTF color table.
|
| 217 |
+
"""
|
| 218 |
+
color_mapping = OrderedDict()
|
| 219 |
+
offset = 1
|
| 220 |
+
|
| 221 |
+
if self.linenos:
|
| 222 |
+
color_mapping[self.lineno_color] = offset
|
| 223 |
+
offset += 1
|
| 224 |
+
|
| 225 |
+
if self.hl_lines:
|
| 226 |
+
color_mapping[self.hl_color] = offset
|
| 227 |
+
offset += 1
|
| 228 |
+
|
| 229 |
+
for _, style in self.style:
|
| 230 |
+
for color in style['color'], style['bgcolor'], style['border']:
|
| 231 |
+
if color and color not in color_mapping:
|
| 232 |
+
color_mapping[color] = offset
|
| 233 |
+
offset += 1
|
| 234 |
+
|
| 235 |
+
return color_mapping
|
| 236 |
+
|
| 237 |
+
@property
|
| 238 |
+
def _lineno_template(self):
|
| 239 |
+
if self.lineno_fontsize != self.fontsize:
|
| 240 |
+
return '{{\\fs{} \\cf{} %s{}}}'.format(self.lineno_fontsize,
|
| 241 |
+
self.color_mapping[self.lineno_color],
|
| 242 |
+
" " * self.lineno_padding)
|
| 243 |
+
|
| 244 |
+
return '{{\\cf{} %s{}}}'.format(self.color_mapping[self.lineno_color],
|
| 245 |
+
" " * self.lineno_padding)
|
| 246 |
+
|
| 247 |
+
@property
|
| 248 |
+
def _hl_open_str(self):
|
| 249 |
+
return rf'{{\highlight{self.color_mapping[self.hl_color]} '
|
| 250 |
+
|
| 251 |
+
@property
|
| 252 |
+
def _rtf_header(self):
|
| 253 |
+
lines = []
|
| 254 |
+
# rtf 1.8 header
|
| 255 |
+
lines.append('{\\rtf1\\ansi\\uc0\\deff0'
|
| 256 |
+
'{\\fonttbl{\\f0\\fmodern\\fprq1\\fcharset0%s;}}'
|
| 257 |
+
% (self.fontface and ' '
|
| 258 |
+
+ self._escape(self.fontface) or ''))
|
| 259 |
+
|
| 260 |
+
# color table
|
| 261 |
+
lines.append('{\\colortbl;')
|
| 262 |
+
for color, _ in self.color_mapping.items():
|
| 263 |
+
lines.append(self.hex_to_rtf_color(color))
|
| 264 |
+
lines.append('}')
|
| 265 |
+
|
| 266 |
+
# font and fontsize
|
| 267 |
+
lines.append('\\f0\\sa0')
|
| 268 |
+
if self.fontsize:
|
| 269 |
+
lines.append('\\fs%d' % self.fontsize)
|
| 270 |
+
|
| 271 |
+
# ensure Libre Office Writer imports and renders consecutive
|
| 272 |
+
# space characters the same width, needed for line numbering.
|
| 273 |
+
# https://bugs.documentfoundation.org/show_bug.cgi?id=144050
|
| 274 |
+
lines.append('\\dntblnsbdb')
|
| 275 |
+
|
| 276 |
+
return lines
|
| 277 |
+
|
| 278 |
+
def format_unencoded(self, tokensource, outfile):
|
| 279 |
+
for line in self._rtf_header:
|
| 280 |
+
outfile.write(line + "\n")
|
| 281 |
+
|
| 282 |
+
tokensource = self._split_tokens_on_newlines(tokensource)
|
| 283 |
+
|
| 284 |
+
# first pass of tokens to count lines, needed for line numbering
|
| 285 |
+
if self.linenos:
|
| 286 |
+
line_count = 0
|
| 287 |
+
tokens = [] # for copying the token source generator
|
| 288 |
+
for ttype, value in tokensource:
|
| 289 |
+
tokens.append((ttype, value))
|
| 290 |
+
if value.endswith("\n"):
|
| 291 |
+
line_count += 1
|
| 292 |
+
|
| 293 |
+
# width of line number strings (for padding with spaces)
|
| 294 |
+
linenos_width = len(str(line_count+self.linenostart-1))
|
| 295 |
+
|
| 296 |
+
tokensource = tokens
|
| 297 |
+
|
| 298 |
+
# highlight stream
|
| 299 |
+
lineno = 1
|
| 300 |
+
start_new_line = True
|
| 301 |
+
for ttype, value in tokensource:
|
| 302 |
+
if start_new_line and lineno in self.hl_lines:
|
| 303 |
+
outfile.write(self._hl_open_str)
|
| 304 |
+
|
| 305 |
+
if start_new_line and self.linenos:
|
| 306 |
+
if (lineno-self.linenostart+1)%self.linenostep == 0:
|
| 307 |
+
current_lineno = lineno + self.linenostart - 1
|
| 308 |
+
lineno_str = str(current_lineno).rjust(linenos_width)
|
| 309 |
+
else:
|
| 310 |
+
lineno_str = "".rjust(linenos_width)
|
| 311 |
+
outfile.write(self._lineno_template % lineno_str)
|
| 312 |
+
|
| 313 |
+
while not self.style.styles_token(ttype) and ttype.parent:
|
| 314 |
+
ttype = ttype.parent
|
| 315 |
+
style = self.style.style_for_token(ttype)
|
| 316 |
+
buf = []
|
| 317 |
+
if style['bgcolor']:
|
| 318 |
+
buf.append('\\cb%d' % self.color_mapping[style['bgcolor']])
|
| 319 |
+
if style['color']:
|
| 320 |
+
buf.append('\\cf%d' % self.color_mapping[style['color']])
|
| 321 |
+
if style['bold']:
|
| 322 |
+
buf.append('\\b')
|
| 323 |
+
if style['italic']:
|
| 324 |
+
buf.append('\\i')
|
| 325 |
+
if style['underline']:
|
| 326 |
+
buf.append('\\ul')
|
| 327 |
+
if style['border']:
|
| 328 |
+
buf.append('\\chbrdr\\chcfpat%d' %
|
| 329 |
+
self.color_mapping[style['border']])
|
| 330 |
+
start = ''.join(buf)
|
| 331 |
+
if start:
|
| 332 |
+
outfile.write(f'{{{start} ')
|
| 333 |
+
outfile.write(self._escape_text(value))
|
| 334 |
+
if start:
|
| 335 |
+
outfile.write('}')
|
| 336 |
+
start_new_line = False
|
| 337 |
+
|
| 338 |
+
# complete line of input
|
| 339 |
+
if value.endswith("\n"):
|
| 340 |
+
# close line highlighting
|
| 341 |
+
if lineno in self.hl_lines:
|
| 342 |
+
outfile.write('}')
|
| 343 |
+
# newline in RTF file after closing }
|
| 344 |
+
outfile.write("\n")
|
| 345 |
+
|
| 346 |
+
start_new_line = True
|
| 347 |
+
lineno += 1
|
| 348 |
+
|
| 349 |
+
outfile.write('}\n')
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/svg.py
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.svg
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Formatter for SVG output.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.formatter import Formatter
|
| 12 |
+
from pygments.token import Comment
|
| 13 |
+
from pygments.util import get_bool_opt, get_int_opt
|
| 14 |
+
|
| 15 |
+
__all__ = ['SvgFormatter']
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def escape_html(text):
|
| 19 |
+
"""Escape &, <, > as well as single and double quotes for HTML."""
|
| 20 |
+
return text.replace('&', '&'). \
|
| 21 |
+
replace('<', '<'). \
|
| 22 |
+
replace('>', '>'). \
|
| 23 |
+
replace('"', '"'). \
|
| 24 |
+
replace("'", ''')
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
class2style = {}
|
| 28 |
+
|
| 29 |
+
class SvgFormatter(Formatter):
|
| 30 |
+
"""
|
| 31 |
+
Format tokens as an SVG graphics file. This formatter is still experimental.
|
| 32 |
+
Each line of code is a ``<text>`` element with explicit ``x`` and ``y``
|
| 33 |
+
coordinates containing ``<tspan>`` elements with the individual token styles.
|
| 34 |
+
|
| 35 |
+
By default, this formatter outputs a full SVG document including doctype
|
| 36 |
+
declaration and the ``<svg>`` root element.
|
| 37 |
+
|
| 38 |
+
.. versionadded:: 0.9
|
| 39 |
+
|
| 40 |
+
Additional options accepted:
|
| 41 |
+
|
| 42 |
+
`nowrap`
|
| 43 |
+
Don't wrap the SVG ``<text>`` elements in ``<svg><g>`` elements and
|
| 44 |
+
don't add a XML declaration and a doctype. If true, the `fontfamily`
|
| 45 |
+
and `fontsize` options are ignored. Defaults to ``False``.
|
| 46 |
+
|
| 47 |
+
`fontfamily`
|
| 48 |
+
The value to give the wrapping ``<g>`` element's ``font-family``
|
| 49 |
+
attribute, defaults to ``"monospace"``.
|
| 50 |
+
|
| 51 |
+
`fontsize`
|
| 52 |
+
The value to give the wrapping ``<g>`` element's ``font-size``
|
| 53 |
+
attribute, defaults to ``"14px"``.
|
| 54 |
+
|
| 55 |
+
`linenos`
|
| 56 |
+
If ``True``, add line numbers (default: ``False``).
|
| 57 |
+
|
| 58 |
+
`linenostart`
|
| 59 |
+
The line number for the first line (default: ``1``).
|
| 60 |
+
|
| 61 |
+
`linenostep`
|
| 62 |
+
If set to a number n > 1, only every nth line number is printed.
|
| 63 |
+
|
| 64 |
+
`linenowidth`
|
| 65 |
+
Maximum width devoted to line numbers (default: ``3*ystep``, sufficient
|
| 66 |
+
for up to 4-digit line numbers. Increase width for longer code blocks).
|
| 67 |
+
|
| 68 |
+
`xoffset`
|
| 69 |
+
Starting offset in X direction, defaults to ``0``.
|
| 70 |
+
|
| 71 |
+
`yoffset`
|
| 72 |
+
Starting offset in Y direction, defaults to the font size if it is given
|
| 73 |
+
in pixels, or ``20`` else. (This is necessary since text coordinates
|
| 74 |
+
refer to the text baseline, not the top edge.)
|
| 75 |
+
|
| 76 |
+
`ystep`
|
| 77 |
+
Offset to add to the Y coordinate for each subsequent line. This should
|
| 78 |
+
roughly be the text size plus 5. It defaults to that value if the text
|
| 79 |
+
size is given in pixels, or ``25`` else.
|
| 80 |
+
|
| 81 |
+
`spacehack`
|
| 82 |
+
Convert spaces in the source to `` ``, which are non-breaking
|
| 83 |
+
spaces. SVG provides the ``xml:space`` attribute to control how
|
| 84 |
+
whitespace inside tags is handled, in theory, the ``preserve`` value
|
| 85 |
+
could be used to keep all whitespace as-is. However, many current SVG
|
| 86 |
+
viewers don't obey that rule, so this option is provided as a workaround
|
| 87 |
+
and defaults to ``True``.
|
| 88 |
+
"""
|
| 89 |
+
name = 'SVG'
|
| 90 |
+
aliases = ['svg']
|
| 91 |
+
filenames = ['*.svg']
|
| 92 |
+
|
| 93 |
+
def __init__(self, **options):
|
| 94 |
+
Formatter.__init__(self, **options)
|
| 95 |
+
self.nowrap = get_bool_opt(options, 'nowrap', False)
|
| 96 |
+
self.fontfamily = options.get('fontfamily', 'monospace')
|
| 97 |
+
self.fontsize = options.get('fontsize', '14px')
|
| 98 |
+
self.xoffset = get_int_opt(options, 'xoffset', 0)
|
| 99 |
+
fs = self.fontsize.strip()
|
| 100 |
+
if fs.endswith('px'):
|
| 101 |
+
fs = fs[:-2].strip()
|
| 102 |
+
try:
|
| 103 |
+
int_fs = int(fs)
|
| 104 |
+
except ValueError:
|
| 105 |
+
int_fs = 20
|
| 106 |
+
self.yoffset = get_int_opt(options, 'yoffset', int_fs)
|
| 107 |
+
self.ystep = get_int_opt(options, 'ystep', int_fs + 5)
|
| 108 |
+
self.spacehack = get_bool_opt(options, 'spacehack', True)
|
| 109 |
+
self.linenos = get_bool_opt(options,'linenos',False)
|
| 110 |
+
self.linenostart = get_int_opt(options,'linenostart',1)
|
| 111 |
+
self.linenostep = get_int_opt(options,'linenostep',1)
|
| 112 |
+
self.linenowidth = get_int_opt(options,'linenowidth', 3*self.ystep)
|
| 113 |
+
self._stylecache = {}
|
| 114 |
+
|
| 115 |
+
def format_unencoded(self, tokensource, outfile):
|
| 116 |
+
"""
|
| 117 |
+
Format ``tokensource``, an iterable of ``(tokentype, tokenstring)``
|
| 118 |
+
tuples and write it into ``outfile``.
|
| 119 |
+
|
| 120 |
+
For our implementation we put all lines in their own 'line group'.
|
| 121 |
+
"""
|
| 122 |
+
x = self.xoffset
|
| 123 |
+
y = self.yoffset
|
| 124 |
+
if not self.nowrap:
|
| 125 |
+
if self.encoding:
|
| 126 |
+
outfile.write(f'<?xml version="1.0" encoding="{self.encoding}"?>\n')
|
| 127 |
+
else:
|
| 128 |
+
outfile.write('<?xml version="1.0"?>\n')
|
| 129 |
+
outfile.write('<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" '
|
| 130 |
+
'"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/'
|
| 131 |
+
'svg10.dtd">\n')
|
| 132 |
+
outfile.write('<svg xmlns="http://www.w3.org/2000/svg">\n')
|
| 133 |
+
outfile.write(f'<g font-family="{self.fontfamily}" font-size="{self.fontsize}">\n')
|
| 134 |
+
|
| 135 |
+
counter = self.linenostart
|
| 136 |
+
counter_step = self.linenostep
|
| 137 |
+
counter_style = self._get_style(Comment)
|
| 138 |
+
line_x = x
|
| 139 |
+
|
| 140 |
+
if self.linenos:
|
| 141 |
+
if counter % counter_step == 0:
|
| 142 |
+
outfile.write(f'<text x="{x+self.linenowidth}" y="{y}" {counter_style} text-anchor="end">{counter}</text>')
|
| 143 |
+
line_x += self.linenowidth + self.ystep
|
| 144 |
+
counter += 1
|
| 145 |
+
|
| 146 |
+
outfile.write(f'<text x="{line_x}" y="{y}" xml:space="preserve">')
|
| 147 |
+
for ttype, value in tokensource:
|
| 148 |
+
style = self._get_style(ttype)
|
| 149 |
+
tspan = style and '<tspan' + style + '>' or ''
|
| 150 |
+
tspanend = tspan and '</tspan>' or ''
|
| 151 |
+
value = escape_html(value)
|
| 152 |
+
if self.spacehack:
|
| 153 |
+
value = value.expandtabs().replace(' ', ' ')
|
| 154 |
+
parts = value.split('\n')
|
| 155 |
+
for part in parts[:-1]:
|
| 156 |
+
outfile.write(tspan + part + tspanend)
|
| 157 |
+
y += self.ystep
|
| 158 |
+
outfile.write('</text>\n')
|
| 159 |
+
if self.linenos and counter % counter_step == 0:
|
| 160 |
+
outfile.write(f'<text x="{x+self.linenowidth}" y="{y}" text-anchor="end" {counter_style}>{counter}</text>')
|
| 161 |
+
|
| 162 |
+
counter += 1
|
| 163 |
+
outfile.write(f'<text x="{line_x}" y="{y}" ' 'xml:space="preserve">')
|
| 164 |
+
outfile.write(tspan + parts[-1] + tspanend)
|
| 165 |
+
outfile.write('</text>')
|
| 166 |
+
|
| 167 |
+
if not self.nowrap:
|
| 168 |
+
outfile.write('</g></svg>\n')
|
| 169 |
+
|
| 170 |
+
def _get_style(self, tokentype):
|
| 171 |
+
if tokentype in self._stylecache:
|
| 172 |
+
return self._stylecache[tokentype]
|
| 173 |
+
otokentype = tokentype
|
| 174 |
+
while not self.style.styles_token(tokentype):
|
| 175 |
+
tokentype = tokentype.parent
|
| 176 |
+
value = self.style.style_for_token(tokentype)
|
| 177 |
+
result = ''
|
| 178 |
+
if value['color']:
|
| 179 |
+
result = ' fill="#' + value['color'] + '"'
|
| 180 |
+
if value['bold']:
|
| 181 |
+
result += ' font-weight="bold"'
|
| 182 |
+
if value['italic']:
|
| 183 |
+
result += ' font-style="italic"'
|
| 184 |
+
self._stylecache[otokentype] = result
|
| 185 |
+
return result
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/terminal.py
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.terminal
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Formatter for terminal output with ANSI sequences.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
from pygments.formatter import Formatter
|
| 12 |
+
from pygments.token import Keyword, Name, Comment, String, Error, \
|
| 13 |
+
Number, Operator, Generic, Token, Whitespace
|
| 14 |
+
from pygments.console import ansiformat
|
| 15 |
+
from pygments.util import get_choice_opt
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
__all__ = ['TerminalFormatter']
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
#: Map token types to a tuple of color values for light and dark
|
| 22 |
+
#: backgrounds.
|
| 23 |
+
TERMINAL_COLORS = {
|
| 24 |
+
Token: ('', ''),
|
| 25 |
+
|
| 26 |
+
Whitespace: ('gray', 'brightblack'),
|
| 27 |
+
Comment: ('gray', 'brightblack'),
|
| 28 |
+
Comment.Preproc: ('cyan', 'brightcyan'),
|
| 29 |
+
Keyword: ('blue', 'brightblue'),
|
| 30 |
+
Keyword.Type: ('cyan', 'brightcyan'),
|
| 31 |
+
Operator.Word: ('magenta', 'brightmagenta'),
|
| 32 |
+
Name.Builtin: ('cyan', 'brightcyan'),
|
| 33 |
+
Name.Function: ('green', 'brightgreen'),
|
| 34 |
+
Name.Namespace: ('_cyan_', '_brightcyan_'),
|
| 35 |
+
Name.Class: ('_green_', '_brightgreen_'),
|
| 36 |
+
Name.Exception: ('cyan', 'brightcyan'),
|
| 37 |
+
Name.Decorator: ('brightblack', 'gray'),
|
| 38 |
+
Name.Variable: ('red', 'brightred'),
|
| 39 |
+
Name.Constant: ('red', 'brightred'),
|
| 40 |
+
Name.Attribute: ('cyan', 'brightcyan'),
|
| 41 |
+
Name.Tag: ('brightblue', 'brightblue'),
|
| 42 |
+
String: ('yellow', 'yellow'),
|
| 43 |
+
Number: ('blue', 'brightblue'),
|
| 44 |
+
|
| 45 |
+
Generic.Deleted: ('brightred', 'brightred'),
|
| 46 |
+
Generic.Inserted: ('green', 'brightgreen'),
|
| 47 |
+
Generic.Heading: ('**', '**'),
|
| 48 |
+
Generic.Subheading: ('*magenta*', '*brightmagenta*'),
|
| 49 |
+
Generic.Prompt: ('**', '**'),
|
| 50 |
+
Generic.Error: ('brightred', 'brightred'),
|
| 51 |
+
|
| 52 |
+
Error: ('_brightred_', '_brightred_'),
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
class TerminalFormatter(Formatter):
|
| 57 |
+
r"""
|
| 58 |
+
Format tokens with ANSI color sequences, for output in a text console.
|
| 59 |
+
Color sequences are terminated at newlines, so that paging the output
|
| 60 |
+
works correctly.
|
| 61 |
+
|
| 62 |
+
The `get_style_defs()` method doesn't do anything special since there is
|
| 63 |
+
no support for common styles.
|
| 64 |
+
|
| 65 |
+
Options accepted:
|
| 66 |
+
|
| 67 |
+
`bg`
|
| 68 |
+
Set to ``"light"`` or ``"dark"`` depending on the terminal's background
|
| 69 |
+
(default: ``"light"``).
|
| 70 |
+
|
| 71 |
+
`colorscheme`
|
| 72 |
+
A dictionary mapping token types to (lightbg, darkbg) color names or
|
| 73 |
+
``None`` (default: ``None`` = use builtin colorscheme).
|
| 74 |
+
|
| 75 |
+
`linenos`
|
| 76 |
+
Set to ``True`` to have line numbers on the terminal output as well
|
| 77 |
+
(default: ``False`` = no line numbers).
|
| 78 |
+
"""
|
| 79 |
+
name = 'Terminal'
|
| 80 |
+
aliases = ['terminal', 'console']
|
| 81 |
+
filenames = []
|
| 82 |
+
|
| 83 |
+
def __init__(self, **options):
|
| 84 |
+
Formatter.__init__(self, **options)
|
| 85 |
+
self.darkbg = get_choice_opt(options, 'bg',
|
| 86 |
+
['light', 'dark'], 'light') == 'dark'
|
| 87 |
+
self.colorscheme = options.get('colorscheme', None) or TERMINAL_COLORS
|
| 88 |
+
self.linenos = options.get('linenos', False)
|
| 89 |
+
self._lineno = 0
|
| 90 |
+
|
| 91 |
+
def format(self, tokensource, outfile):
|
| 92 |
+
return Formatter.format(self, tokensource, outfile)
|
| 93 |
+
|
| 94 |
+
def _write_lineno(self, outfile):
|
| 95 |
+
self._lineno += 1
|
| 96 |
+
outfile.write("%s%04d: " % (self._lineno != 1 and '\n' or '', self._lineno))
|
| 97 |
+
|
| 98 |
+
def _get_color(self, ttype):
|
| 99 |
+
# self.colorscheme is a dict containing usually generic types, so we
|
| 100 |
+
# have to walk the tree of dots. The base Token type must be a key,
|
| 101 |
+
# even if it's empty string, as in the default above.
|
| 102 |
+
colors = self.colorscheme.get(ttype)
|
| 103 |
+
while colors is None:
|
| 104 |
+
ttype = ttype.parent
|
| 105 |
+
colors = self.colorscheme.get(ttype)
|
| 106 |
+
return colors[self.darkbg]
|
| 107 |
+
|
| 108 |
+
def format_unencoded(self, tokensource, outfile):
|
| 109 |
+
if self.linenos:
|
| 110 |
+
self._write_lineno(outfile)
|
| 111 |
+
|
| 112 |
+
for ttype, value in tokensource:
|
| 113 |
+
color = self._get_color(ttype)
|
| 114 |
+
|
| 115 |
+
for line in value.splitlines(True):
|
| 116 |
+
if color:
|
| 117 |
+
outfile.write(ansiformat(color, line.rstrip('\n')))
|
| 118 |
+
else:
|
| 119 |
+
outfile.write(line.rstrip('\n'))
|
| 120 |
+
if line.endswith('\n'):
|
| 121 |
+
if self.linenos:
|
| 122 |
+
self._write_lineno(outfile)
|
| 123 |
+
else:
|
| 124 |
+
outfile.write('\n')
|
| 125 |
+
|
| 126 |
+
if self.linenos:
|
| 127 |
+
outfile.write("\n")
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/formatters/terminal256.py
ADDED
|
@@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.formatters.terminal256
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Formatter for 256-color terminal output with ANSI sequences.
|
| 6 |
+
|
| 7 |
+
RGB-to-XTERM color conversion routines adapted from xterm256-conv
|
| 8 |
+
tool (http://frexx.de/xterm-256-notes/data/xterm256-conv2.tar.bz2)
|
| 9 |
+
by Wolfgang Frisch.
|
| 10 |
+
|
| 11 |
+
Formatter version 1.
|
| 12 |
+
|
| 13 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 14 |
+
:license: BSD, see LICENSE for details.
|
| 15 |
+
"""
|
| 16 |
+
|
| 17 |
+
# TODO:
|
| 18 |
+
# - Options to map style's bold/underline/italic/border attributes
|
| 19 |
+
# to some ANSI attrbutes (something like 'italic=underline')
|
| 20 |
+
# - An option to output "style RGB to xterm RGB/index" conversion table
|
| 21 |
+
# - An option to indicate that we are running in "reverse background"
|
| 22 |
+
# xterm. This means that default colors are white-on-black, not
|
| 23 |
+
# black-on-while, so colors like "white background" need to be converted
|
| 24 |
+
# to "white background, black foreground", etc...
|
| 25 |
+
|
| 26 |
+
from pygments.formatter import Formatter
|
| 27 |
+
from pygments.console import codes
|
| 28 |
+
from pygments.style import ansicolors
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
__all__ = ['Terminal256Formatter', 'TerminalTrueColorFormatter']
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
class EscapeSequence:
|
| 35 |
+
def __init__(self, fg=None, bg=None, bold=False, underline=False, italic=False):
|
| 36 |
+
self.fg = fg
|
| 37 |
+
self.bg = bg
|
| 38 |
+
self.bold = bold
|
| 39 |
+
self.underline = underline
|
| 40 |
+
self.italic = italic
|
| 41 |
+
|
| 42 |
+
def escape(self, attrs):
|
| 43 |
+
if len(attrs):
|
| 44 |
+
return "\x1b[" + ";".join(attrs) + "m"
|
| 45 |
+
return ""
|
| 46 |
+
|
| 47 |
+
def color_string(self):
|
| 48 |
+
attrs = []
|
| 49 |
+
if self.fg is not None:
|
| 50 |
+
if self.fg in ansicolors:
|
| 51 |
+
esc = codes[self.fg.replace('ansi','')]
|
| 52 |
+
if ';01m' in esc:
|
| 53 |
+
self.bold = True
|
| 54 |
+
# extract fg color code.
|
| 55 |
+
attrs.append(esc[2:4])
|
| 56 |
+
else:
|
| 57 |
+
attrs.extend(("38", "5", "%i" % self.fg))
|
| 58 |
+
if self.bg is not None:
|
| 59 |
+
if self.bg in ansicolors:
|
| 60 |
+
esc = codes[self.bg.replace('ansi','')]
|
| 61 |
+
# extract fg color code, add 10 for bg.
|
| 62 |
+
attrs.append(str(int(esc[2:4])+10))
|
| 63 |
+
else:
|
| 64 |
+
attrs.extend(("48", "5", "%i" % self.bg))
|
| 65 |
+
if self.bold:
|
| 66 |
+
attrs.append("01")
|
| 67 |
+
if self.underline:
|
| 68 |
+
attrs.append("04")
|
| 69 |
+
if self.italic:
|
| 70 |
+
attrs.append("03")
|
| 71 |
+
return self.escape(attrs)
|
| 72 |
+
|
| 73 |
+
def true_color_string(self):
|
| 74 |
+
attrs = []
|
| 75 |
+
if self.fg:
|
| 76 |
+
attrs.extend(("38", "2", str(self.fg[0]), str(self.fg[1]), str(self.fg[2])))
|
| 77 |
+
if self.bg:
|
| 78 |
+
attrs.extend(("48", "2", str(self.bg[0]), str(self.bg[1]), str(self.bg[2])))
|
| 79 |
+
if self.bold:
|
| 80 |
+
attrs.append("01")
|
| 81 |
+
if self.underline:
|
| 82 |
+
attrs.append("04")
|
| 83 |
+
if self.italic:
|
| 84 |
+
attrs.append("03")
|
| 85 |
+
return self.escape(attrs)
|
| 86 |
+
|
| 87 |
+
def reset_string(self):
|
| 88 |
+
attrs = []
|
| 89 |
+
if self.fg is not None:
|
| 90 |
+
attrs.append("39")
|
| 91 |
+
if self.bg is not None:
|
| 92 |
+
attrs.append("49")
|
| 93 |
+
if self.bold or self.underline or self.italic:
|
| 94 |
+
attrs.append("00")
|
| 95 |
+
return self.escape(attrs)
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
class Terminal256Formatter(Formatter):
|
| 99 |
+
"""
|
| 100 |
+
Format tokens with ANSI color sequences, for output in a 256-color
|
| 101 |
+
terminal or console. Like in `TerminalFormatter` color sequences
|
| 102 |
+
are terminated at newlines, so that paging the output works correctly.
|
| 103 |
+
|
| 104 |
+
The formatter takes colors from a style defined by the `style` option
|
| 105 |
+
and converts them to nearest ANSI 256-color escape sequences. Bold and
|
| 106 |
+
underline attributes from the style are preserved (and displayed).
|
| 107 |
+
|
| 108 |
+
.. versionadded:: 0.9
|
| 109 |
+
|
| 110 |
+
.. versionchanged:: 2.2
|
| 111 |
+
If the used style defines foreground colors in the form ``#ansi*``, then
|
| 112 |
+
`Terminal256Formatter` will map these to non extended foreground color.
|
| 113 |
+
See :ref:`AnsiTerminalStyle` for more information.
|
| 114 |
+
|
| 115 |
+
.. versionchanged:: 2.4
|
| 116 |
+
The ANSI color names have been updated with names that are easier to
|
| 117 |
+
understand and align with colornames of other projects and terminals.
|
| 118 |
+
See :ref:`this table <new-ansi-color-names>` for more information.
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
Options accepted:
|
| 122 |
+
|
| 123 |
+
`style`
|
| 124 |
+
The style to use, can be a string or a Style subclass (default:
|
| 125 |
+
``'default'``).
|
| 126 |
+
|
| 127 |
+
`linenos`
|
| 128 |
+
Set to ``True`` to have line numbers on the terminal output as well
|
| 129 |
+
(default: ``False`` = no line numbers).
|
| 130 |
+
"""
|
| 131 |
+
name = 'Terminal256'
|
| 132 |
+
aliases = ['terminal256', 'console256', '256']
|
| 133 |
+
filenames = []
|
| 134 |
+
|
| 135 |
+
def __init__(self, **options):
|
| 136 |
+
Formatter.__init__(self, **options)
|
| 137 |
+
|
| 138 |
+
self.xterm_colors = []
|
| 139 |
+
self.best_match = {}
|
| 140 |
+
self.style_string = {}
|
| 141 |
+
|
| 142 |
+
self.usebold = 'nobold' not in options
|
| 143 |
+
self.useunderline = 'nounderline' not in options
|
| 144 |
+
self.useitalic = 'noitalic' not in options
|
| 145 |
+
|
| 146 |
+
self._build_color_table() # build an RGB-to-256 color conversion table
|
| 147 |
+
self._setup_styles() # convert selected style's colors to term. colors
|
| 148 |
+
|
| 149 |
+
self.linenos = options.get('linenos', False)
|
| 150 |
+
self._lineno = 0
|
| 151 |
+
|
| 152 |
+
def _build_color_table(self):
|
| 153 |
+
# colors 0..15: 16 basic colors
|
| 154 |
+
|
| 155 |
+
self.xterm_colors.append((0x00, 0x00, 0x00)) # 0
|
| 156 |
+
self.xterm_colors.append((0xcd, 0x00, 0x00)) # 1
|
| 157 |
+
self.xterm_colors.append((0x00, 0xcd, 0x00)) # 2
|
| 158 |
+
self.xterm_colors.append((0xcd, 0xcd, 0x00)) # 3
|
| 159 |
+
self.xterm_colors.append((0x00, 0x00, 0xee)) # 4
|
| 160 |
+
self.xterm_colors.append((0xcd, 0x00, 0xcd)) # 5
|
| 161 |
+
self.xterm_colors.append((0x00, 0xcd, 0xcd)) # 6
|
| 162 |
+
self.xterm_colors.append((0xe5, 0xe5, 0xe5)) # 7
|
| 163 |
+
self.xterm_colors.append((0x7f, 0x7f, 0x7f)) # 8
|
| 164 |
+
self.xterm_colors.append((0xff, 0x00, 0x00)) # 9
|
| 165 |
+
self.xterm_colors.append((0x00, 0xff, 0x00)) # 10
|
| 166 |
+
self.xterm_colors.append((0xff, 0xff, 0x00)) # 11
|
| 167 |
+
self.xterm_colors.append((0x5c, 0x5c, 0xff)) # 12
|
| 168 |
+
self.xterm_colors.append((0xff, 0x00, 0xff)) # 13
|
| 169 |
+
self.xterm_colors.append((0x00, 0xff, 0xff)) # 14
|
| 170 |
+
self.xterm_colors.append((0xff, 0xff, 0xff)) # 15
|
| 171 |
+
|
| 172 |
+
# colors 16..231: the 6x6x6 color cube
|
| 173 |
+
|
| 174 |
+
valuerange = (0x00, 0x5f, 0x87, 0xaf, 0xd7, 0xff)
|
| 175 |
+
|
| 176 |
+
for i in range(216):
|
| 177 |
+
r = valuerange[(i // 36) % 6]
|
| 178 |
+
g = valuerange[(i // 6) % 6]
|
| 179 |
+
b = valuerange[i % 6]
|
| 180 |
+
self.xterm_colors.append((r, g, b))
|
| 181 |
+
|
| 182 |
+
# colors 232..255: grayscale
|
| 183 |
+
|
| 184 |
+
for i in range(24):
|
| 185 |
+
v = 8 + i * 10
|
| 186 |
+
self.xterm_colors.append((v, v, v))
|
| 187 |
+
|
| 188 |
+
def _closest_color(self, r, g, b):
|
| 189 |
+
distance = 257*257*3 # "infinity" (>distance from #000000 to #ffffff)
|
| 190 |
+
match = 0
|
| 191 |
+
|
| 192 |
+
for i in range(0, 256):
|
| 193 |
+
values = self.xterm_colors[i]
|
| 194 |
+
|
| 195 |
+
rd = r - values[0]
|
| 196 |
+
gd = g - values[1]
|
| 197 |
+
bd = b - values[2]
|
| 198 |
+
d = rd*rd + gd*gd + bd*bd
|
| 199 |
+
|
| 200 |
+
if d < distance:
|
| 201 |
+
match = i
|
| 202 |
+
distance = d
|
| 203 |
+
return match
|
| 204 |
+
|
| 205 |
+
def _color_index(self, color):
|
| 206 |
+
index = self.best_match.get(color, None)
|
| 207 |
+
if color in ansicolors:
|
| 208 |
+
# strip the `ansi/#ansi` part and look up code
|
| 209 |
+
index = color
|
| 210 |
+
self.best_match[color] = index
|
| 211 |
+
if index is None:
|
| 212 |
+
try:
|
| 213 |
+
rgb = int(str(color), 16)
|
| 214 |
+
except ValueError:
|
| 215 |
+
rgb = 0
|
| 216 |
+
|
| 217 |
+
r = (rgb >> 16) & 0xff
|
| 218 |
+
g = (rgb >> 8) & 0xff
|
| 219 |
+
b = rgb & 0xff
|
| 220 |
+
index = self._closest_color(r, g, b)
|
| 221 |
+
self.best_match[color] = index
|
| 222 |
+
return index
|
| 223 |
+
|
| 224 |
+
def _setup_styles(self):
|
| 225 |
+
for ttype, ndef in self.style:
|
| 226 |
+
escape = EscapeSequence()
|
| 227 |
+
# get foreground from ansicolor if set
|
| 228 |
+
if ndef['ansicolor']:
|
| 229 |
+
escape.fg = self._color_index(ndef['ansicolor'])
|
| 230 |
+
elif ndef['color']:
|
| 231 |
+
escape.fg = self._color_index(ndef['color'])
|
| 232 |
+
if ndef['bgansicolor']:
|
| 233 |
+
escape.bg = self._color_index(ndef['bgansicolor'])
|
| 234 |
+
elif ndef['bgcolor']:
|
| 235 |
+
escape.bg = self._color_index(ndef['bgcolor'])
|
| 236 |
+
if self.usebold and ndef['bold']:
|
| 237 |
+
escape.bold = True
|
| 238 |
+
if self.useunderline and ndef['underline']:
|
| 239 |
+
escape.underline = True
|
| 240 |
+
if self.useitalic and ndef['italic']:
|
| 241 |
+
escape.italic = True
|
| 242 |
+
self.style_string[str(ttype)] = (escape.color_string(),
|
| 243 |
+
escape.reset_string())
|
| 244 |
+
|
| 245 |
+
def _write_lineno(self, outfile):
|
| 246 |
+
self._lineno += 1
|
| 247 |
+
outfile.write("%s%04d: " % (self._lineno != 1 and '\n' or '', self._lineno))
|
| 248 |
+
|
| 249 |
+
def format(self, tokensource, outfile):
|
| 250 |
+
return Formatter.format(self, tokensource, outfile)
|
| 251 |
+
|
| 252 |
+
def format_unencoded(self, tokensource, outfile):
|
| 253 |
+
if self.linenos:
|
| 254 |
+
self._write_lineno(outfile)
|
| 255 |
+
|
| 256 |
+
for ttype, value in tokensource:
|
| 257 |
+
not_found = True
|
| 258 |
+
while ttype and not_found:
|
| 259 |
+
try:
|
| 260 |
+
# outfile.write( "<" + str(ttype) + ">" )
|
| 261 |
+
on, off = self.style_string[str(ttype)]
|
| 262 |
+
|
| 263 |
+
# Like TerminalFormatter, add "reset colors" escape sequence
|
| 264 |
+
# on newline.
|
| 265 |
+
spl = value.split('\n')
|
| 266 |
+
for line in spl[:-1]:
|
| 267 |
+
if line:
|
| 268 |
+
outfile.write(on + line + off)
|
| 269 |
+
if self.linenos:
|
| 270 |
+
self._write_lineno(outfile)
|
| 271 |
+
else:
|
| 272 |
+
outfile.write('\n')
|
| 273 |
+
|
| 274 |
+
if spl[-1]:
|
| 275 |
+
outfile.write(on + spl[-1] + off)
|
| 276 |
+
|
| 277 |
+
not_found = False
|
| 278 |
+
# outfile.write( '#' + str(ttype) + '#' )
|
| 279 |
+
|
| 280 |
+
except KeyError:
|
| 281 |
+
# ottype = ttype
|
| 282 |
+
ttype = ttype.parent
|
| 283 |
+
# outfile.write( '!' + str(ottype) + '->' + str(ttype) + '!' )
|
| 284 |
+
|
| 285 |
+
if not_found:
|
| 286 |
+
outfile.write(value)
|
| 287 |
+
|
| 288 |
+
if self.linenos:
|
| 289 |
+
outfile.write("\n")
|
| 290 |
+
|
| 291 |
+
|
| 292 |
+
|
| 293 |
+
class TerminalTrueColorFormatter(Terminal256Formatter):
|
| 294 |
+
r"""
|
| 295 |
+
Format tokens with ANSI color sequences, for output in a true-color
|
| 296 |
+
terminal or console. Like in `TerminalFormatter` color sequences
|
| 297 |
+
are terminated at newlines, so that paging the output works correctly.
|
| 298 |
+
|
| 299 |
+
.. versionadded:: 2.1
|
| 300 |
+
|
| 301 |
+
Options accepted:
|
| 302 |
+
|
| 303 |
+
`style`
|
| 304 |
+
The style to use, can be a string or a Style subclass (default:
|
| 305 |
+
``'default'``).
|
| 306 |
+
"""
|
| 307 |
+
name = 'TerminalTrueColor'
|
| 308 |
+
aliases = ['terminal16m', 'console16m', '16m']
|
| 309 |
+
filenames = []
|
| 310 |
+
|
| 311 |
+
def _build_color_table(self):
|
| 312 |
+
pass
|
| 313 |
+
|
| 314 |
+
def _color_tuple(self, color):
|
| 315 |
+
try:
|
| 316 |
+
rgb = int(str(color), 16)
|
| 317 |
+
except ValueError:
|
| 318 |
+
return None
|
| 319 |
+
r = (rgb >> 16) & 0xff
|
| 320 |
+
g = (rgb >> 8) & 0xff
|
| 321 |
+
b = rgb & 0xff
|
| 322 |
+
return (r, g, b)
|
| 323 |
+
|
| 324 |
+
def _setup_styles(self):
|
| 325 |
+
for ttype, ndef in self.style:
|
| 326 |
+
escape = EscapeSequence()
|
| 327 |
+
if ndef['color']:
|
| 328 |
+
escape.fg = self._color_tuple(ndef['color'])
|
| 329 |
+
if ndef['bgcolor']:
|
| 330 |
+
escape.bg = self._color_tuple(ndef['bgcolor'])
|
| 331 |
+
if self.usebold and ndef['bold']:
|
| 332 |
+
escape.bold = True
|
| 333 |
+
if self.useunderline and ndef['underline']:
|
| 334 |
+
escape.underline = True
|
| 335 |
+
if self.useitalic and ndef['italic']:
|
| 336 |
+
escape.italic = True
|
| 337 |
+
self.style_string[str(ttype)] = (escape.true_color_string(),
|
| 338 |
+
escape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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers
|
| 3 |
+
~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Pygments lexers.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
import re
|
| 12 |
+
import sys
|
| 13 |
+
import types
|
| 14 |
+
import fnmatch
|
| 15 |
+
from os.path import basename
|
| 16 |
+
|
| 17 |
+
from pygments.lexers._mapping import LEXERS
|
| 18 |
+
from pygments.modeline import get_filetype_from_buffer
|
| 19 |
+
from pygments.plugin import find_plugin_lexers
|
| 20 |
+
from pygments.util import ClassNotFound, guess_decode
|
| 21 |
+
|
| 22 |
+
COMPAT = {
|
| 23 |
+
'Python3Lexer': 'PythonLexer',
|
| 24 |
+
'Python3TracebackLexer': 'PythonTracebackLexer',
|
| 25 |
+
'LeanLexer': 'Lean3Lexer',
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
__all__ = ['get_lexer_by_name', 'get_lexer_for_filename', 'find_lexer_class',
|
| 29 |
+
'guess_lexer', 'load_lexer_from_file'] + list(LEXERS) + list(COMPAT)
|
| 30 |
+
|
| 31 |
+
_lexer_cache = {}
|
| 32 |
+
_pattern_cache = {}
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def _fn_matches(fn, glob):
|
| 36 |
+
"""Return whether the supplied file name fn matches pattern filename."""
|
| 37 |
+
if glob not in _pattern_cache:
|
| 38 |
+
pattern = _pattern_cache[glob] = re.compile(fnmatch.translate(glob))
|
| 39 |
+
return pattern.match(fn)
|
| 40 |
+
return _pattern_cache[glob].match(fn)
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def _load_lexers(module_name):
|
| 44 |
+
"""Load a lexer (and all others in the module too)."""
|
| 45 |
+
mod = __import__(module_name, None, None, ['__all__'])
|
| 46 |
+
for lexer_name in mod.__all__:
|
| 47 |
+
cls = getattr(mod, lexer_name)
|
| 48 |
+
_lexer_cache[cls.name] = cls
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def get_all_lexers(plugins=True):
|
| 52 |
+
"""Return a generator of tuples in the form ``(name, aliases,
|
| 53 |
+
filenames, mimetypes)`` of all know lexers.
|
| 54 |
+
|
| 55 |
+
If *plugins* is true (the default), plugin lexers supplied by entrypoints
|
| 56 |
+
are also returned. Otherwise, only builtin ones are considered.
|
| 57 |
+
"""
|
| 58 |
+
for item in LEXERS.values():
|
| 59 |
+
yield item[1:]
|
| 60 |
+
if plugins:
|
| 61 |
+
for lexer in find_plugin_lexers():
|
| 62 |
+
yield lexer.name, lexer.aliases, lexer.filenames, lexer.mimetypes
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def find_lexer_class(name):
|
| 66 |
+
"""
|
| 67 |
+
Return the `Lexer` subclass that with the *name* attribute as given by
|
| 68 |
+
the *name* argument.
|
| 69 |
+
"""
|
| 70 |
+
if name in _lexer_cache:
|
| 71 |
+
return _lexer_cache[name]
|
| 72 |
+
# lookup builtin lexers
|
| 73 |
+
for module_name, lname, aliases, _, _ in LEXERS.values():
|
| 74 |
+
if name == lname:
|
| 75 |
+
_load_lexers(module_name)
|
| 76 |
+
return _lexer_cache[name]
|
| 77 |
+
# continue with lexers from setuptools entrypoints
|
| 78 |
+
for cls in find_plugin_lexers():
|
| 79 |
+
if cls.name == name:
|
| 80 |
+
return cls
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def find_lexer_class_by_name(_alias):
|
| 84 |
+
"""
|
| 85 |
+
Return the `Lexer` subclass that has `alias` in its aliases list, without
|
| 86 |
+
instantiating it.
|
| 87 |
+
|
| 88 |
+
Like `get_lexer_by_name`, but does not instantiate the class.
|
| 89 |
+
|
| 90 |
+
Will raise :exc:`pygments.util.ClassNotFound` if no lexer with that alias is
|
| 91 |
+
found.
|
| 92 |
+
|
| 93 |
+
.. versionadded:: 2.2
|
| 94 |
+
"""
|
| 95 |
+
if not _alias:
|
| 96 |
+
raise ClassNotFound(f'no lexer for alias {_alias!r} found')
|
| 97 |
+
# lookup builtin lexers
|
| 98 |
+
for module_name, name, aliases, _, _ in LEXERS.values():
|
| 99 |
+
if _alias.lower() in aliases:
|
| 100 |
+
if name not in _lexer_cache:
|
| 101 |
+
_load_lexers(module_name)
|
| 102 |
+
return _lexer_cache[name]
|
| 103 |
+
# continue with lexers from setuptools entrypoints
|
| 104 |
+
for cls in find_plugin_lexers():
|
| 105 |
+
if _alias.lower() in cls.aliases:
|
| 106 |
+
return cls
|
| 107 |
+
raise ClassNotFound(f'no lexer for alias {_alias!r} found')
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
def get_lexer_by_name(_alias, **options):
|
| 111 |
+
"""
|
| 112 |
+
Return an instance of a `Lexer` subclass that has `alias` in its
|
| 113 |
+
aliases list. The lexer is given the `options` at its
|
| 114 |
+
instantiation.
|
| 115 |
+
|
| 116 |
+
Will raise :exc:`pygments.util.ClassNotFound` if no lexer with that alias is
|
| 117 |
+
found.
|
| 118 |
+
"""
|
| 119 |
+
if not _alias:
|
| 120 |
+
raise ClassNotFound(f'no lexer for alias {_alias!r} found')
|
| 121 |
+
|
| 122 |
+
# lookup builtin lexers
|
| 123 |
+
for module_name, name, aliases, _, _ in LEXERS.values():
|
| 124 |
+
if _alias.lower() in aliases:
|
| 125 |
+
if name not in _lexer_cache:
|
| 126 |
+
_load_lexers(module_name)
|
| 127 |
+
return _lexer_cache[name](**options)
|
| 128 |
+
# continue with lexers from setuptools entrypoints
|
| 129 |
+
for cls in find_plugin_lexers():
|
| 130 |
+
if _alias.lower() in cls.aliases:
|
| 131 |
+
return cls(**options)
|
| 132 |
+
raise ClassNotFound(f'no lexer for alias {_alias!r} found')
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
def load_lexer_from_file(filename, lexername="CustomLexer", **options):
|
| 136 |
+
"""Load a lexer from a file.
|
| 137 |
+
|
| 138 |
+
This method expects a file located relative to the current working
|
| 139 |
+
directory, which contains a Lexer class. By default, it expects the
|
| 140 |
+
Lexer to be name CustomLexer; you can specify your own class name
|
| 141 |
+
as the second argument to this function.
|
| 142 |
+
|
| 143 |
+
Users should be very careful with the input, because this method
|
| 144 |
+
is equivalent to running eval on the input file.
|
| 145 |
+
|
| 146 |
+
Raises ClassNotFound if there are any problems importing the Lexer.
|
| 147 |
+
|
| 148 |
+
.. versionadded:: 2.2
|
| 149 |
+
"""
|
| 150 |
+
try:
|
| 151 |
+
# This empty dict will contain the namespace for the exec'd file
|
| 152 |
+
custom_namespace = {}
|
| 153 |
+
with open(filename, 'rb') as f:
|
| 154 |
+
exec(f.read(), custom_namespace)
|
| 155 |
+
# Retrieve the class `lexername` from that namespace
|
| 156 |
+
if lexername not in custom_namespace:
|
| 157 |
+
raise ClassNotFound(f'no valid {lexername} class found in {filename}')
|
| 158 |
+
lexer_class = custom_namespace[lexername]
|
| 159 |
+
# And finally instantiate it with the options
|
| 160 |
+
return lexer_class(**options)
|
| 161 |
+
except OSError as err:
|
| 162 |
+
raise ClassNotFound(f'cannot read {filename}: {err}')
|
| 163 |
+
except ClassNotFound:
|
| 164 |
+
raise
|
| 165 |
+
except Exception as err:
|
| 166 |
+
raise ClassNotFound(f'error when loading custom lexer: {err}')
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
def find_lexer_class_for_filename(_fn, code=None):
|
| 170 |
+
"""Get a lexer for a filename.
|
| 171 |
+
|
| 172 |
+
If multiple lexers match the filename pattern, use ``analyse_text()`` to
|
| 173 |
+
figure out which one is more appropriate.
|
| 174 |
+
|
| 175 |
+
Returns None if not found.
|
| 176 |
+
"""
|
| 177 |
+
matches = []
|
| 178 |
+
fn = basename(_fn)
|
| 179 |
+
for modname, name, _, filenames, _ in LEXERS.values():
|
| 180 |
+
for filename in filenames:
|
| 181 |
+
if _fn_matches(fn, filename):
|
| 182 |
+
if name not in _lexer_cache:
|
| 183 |
+
_load_lexers(modname)
|
| 184 |
+
matches.append((_lexer_cache[name], filename))
|
| 185 |
+
for cls in find_plugin_lexers():
|
| 186 |
+
for filename in cls.filenames:
|
| 187 |
+
if _fn_matches(fn, filename):
|
| 188 |
+
matches.append((cls, filename))
|
| 189 |
+
|
| 190 |
+
if isinstance(code, bytes):
|
| 191 |
+
# decode it, since all analyse_text functions expect unicode
|
| 192 |
+
code = guess_decode(code)
|
| 193 |
+
|
| 194 |
+
def get_rating(info):
|
| 195 |
+
cls, filename = info
|
| 196 |
+
# explicit patterns get a bonus
|
| 197 |
+
bonus = '*' not in filename and 0.5 or 0
|
| 198 |
+
# The class _always_ defines analyse_text because it's included in
|
| 199 |
+
# the Lexer class. The default implementation returns None which
|
| 200 |
+
# gets turned into 0.0. Run scripts/detect_missing_analyse_text.py
|
| 201 |
+
# to find lexers which need it overridden.
|
| 202 |
+
if code:
|
| 203 |
+
return cls.analyse_text(code) + bonus, cls.__name__
|
| 204 |
+
return cls.priority + bonus, cls.__name__
|
| 205 |
+
|
| 206 |
+
if matches:
|
| 207 |
+
matches.sort(key=get_rating)
|
| 208 |
+
# print "Possible lexers, after sort:", matches
|
| 209 |
+
return matches[-1][0]
|
| 210 |
+
|
| 211 |
+
|
| 212 |
+
def get_lexer_for_filename(_fn, code=None, **options):
|
| 213 |
+
"""Get a lexer for a filename.
|
| 214 |
+
|
| 215 |
+
Return a `Lexer` subclass instance that has a filename pattern
|
| 216 |
+
matching `fn`. The lexer is given the `options` at its
|
| 217 |
+
instantiation.
|
| 218 |
+
|
| 219 |
+
Raise :exc:`pygments.util.ClassNotFound` if no lexer for that filename
|
| 220 |
+
is found.
|
| 221 |
+
|
| 222 |
+
If multiple lexers match the filename pattern, use their ``analyse_text()``
|
| 223 |
+
methods to figure out which one is more appropriate.
|
| 224 |
+
"""
|
| 225 |
+
res = find_lexer_class_for_filename(_fn, code)
|
| 226 |
+
if not res:
|
| 227 |
+
raise ClassNotFound(f'no lexer for filename {_fn!r} found')
|
| 228 |
+
return res(**options)
|
| 229 |
+
|
| 230 |
+
|
| 231 |
+
def get_lexer_for_mimetype(_mime, **options):
|
| 232 |
+
"""
|
| 233 |
+
Return a `Lexer` subclass instance that has `mime` in its mimetype
|
| 234 |
+
list. The lexer is given the `options` at its instantiation.
|
| 235 |
+
|
| 236 |
+
Will raise :exc:`pygments.util.ClassNotFound` if not lexer for that mimetype
|
| 237 |
+
is found.
|
| 238 |
+
"""
|
| 239 |
+
for modname, name, _, _, mimetypes in LEXERS.values():
|
| 240 |
+
if _mime in mimetypes:
|
| 241 |
+
if name not in _lexer_cache:
|
| 242 |
+
_load_lexers(modname)
|
| 243 |
+
return _lexer_cache[name](**options)
|
| 244 |
+
for cls in find_plugin_lexers():
|
| 245 |
+
if _mime in cls.mimetypes:
|
| 246 |
+
return cls(**options)
|
| 247 |
+
raise ClassNotFound(f'no lexer for mimetype {_mime!r} found')
|
| 248 |
+
|
| 249 |
+
|
| 250 |
+
def _iter_lexerclasses(plugins=True):
|
| 251 |
+
"""Return an iterator over all lexer classes."""
|
| 252 |
+
for key in sorted(LEXERS):
|
| 253 |
+
module_name, name = LEXERS[key][:2]
|
| 254 |
+
if name not in _lexer_cache:
|
| 255 |
+
_load_lexers(module_name)
|
| 256 |
+
yield _lexer_cache[name]
|
| 257 |
+
if plugins:
|
| 258 |
+
yield from find_plugin_lexers()
|
| 259 |
+
|
| 260 |
+
|
| 261 |
+
def guess_lexer_for_filename(_fn, _text, **options):
|
| 262 |
+
"""
|
| 263 |
+
As :func:`guess_lexer()`, but only lexers which have a pattern in `filenames`
|
| 264 |
+
or `alias_filenames` that matches `filename` are taken into consideration.
|
| 265 |
+
|
| 266 |
+
:exc:`pygments.util.ClassNotFound` is raised if no lexer thinks it can
|
| 267 |
+
handle the content.
|
| 268 |
+
"""
|
| 269 |
+
fn = basename(_fn)
|
| 270 |
+
primary = {}
|
| 271 |
+
matching_lexers = set()
|
| 272 |
+
for lexer in _iter_lexerclasses():
|
| 273 |
+
for filename in lexer.filenames:
|
| 274 |
+
if _fn_matches(fn, filename):
|
| 275 |
+
matching_lexers.add(lexer)
|
| 276 |
+
primary[lexer] = True
|
| 277 |
+
for filename in lexer.alias_filenames:
|
| 278 |
+
if _fn_matches(fn, filename):
|
| 279 |
+
matching_lexers.add(lexer)
|
| 280 |
+
primary[lexer] = False
|
| 281 |
+
if not matching_lexers:
|
| 282 |
+
raise ClassNotFound(f'no lexer for filename {fn!r} found')
|
| 283 |
+
if len(matching_lexers) == 1:
|
| 284 |
+
return matching_lexers.pop()(**options)
|
| 285 |
+
result = []
|
| 286 |
+
for lexer in matching_lexers:
|
| 287 |
+
rv = lexer.analyse_text(_text)
|
| 288 |
+
if rv == 1.0:
|
| 289 |
+
return lexer(**options)
|
| 290 |
+
result.append((rv, lexer))
|
| 291 |
+
|
| 292 |
+
def type_sort(t):
|
| 293 |
+
# sort by:
|
| 294 |
+
# - analyse score
|
| 295 |
+
# - is primary filename pattern?
|
| 296 |
+
# - priority
|
| 297 |
+
# - last resort: class name
|
| 298 |
+
return (t[0], primary[t[1]], t[1].priority, t[1].__name__)
|
| 299 |
+
result.sort(key=type_sort)
|
| 300 |
+
|
| 301 |
+
return result[-1][1](**options)
|
| 302 |
+
|
| 303 |
+
|
| 304 |
+
def guess_lexer(_text, **options):
|
| 305 |
+
"""
|
| 306 |
+
Return a `Lexer` subclass instance that's guessed from the text in
|
| 307 |
+
`text`. For that, the :meth:`.analyse_text()` method of every known lexer
|
| 308 |
+
class is called with the text as argument, and the lexer which returned the
|
| 309 |
+
highest value will be instantiated and returned.
|
| 310 |
+
|
| 311 |
+
:exc:`pygments.util.ClassNotFound` is raised if no lexer thinks it can
|
| 312 |
+
handle the content.
|
| 313 |
+
"""
|
| 314 |
+
|
| 315 |
+
if not isinstance(_text, str):
|
| 316 |
+
inencoding = options.get('inencoding', options.get('encoding'))
|
| 317 |
+
if inencoding:
|
| 318 |
+
_text = _text.decode(inencoding or 'utf8')
|
| 319 |
+
else:
|
| 320 |
+
_text, _ = guess_decode(_text)
|
| 321 |
+
|
| 322 |
+
# try to get a vim modeline first
|
| 323 |
+
ft = get_filetype_from_buffer(_text)
|
| 324 |
+
|
| 325 |
+
if ft is not None:
|
| 326 |
+
try:
|
| 327 |
+
return get_lexer_by_name(ft, **options)
|
| 328 |
+
except ClassNotFound:
|
| 329 |
+
pass
|
| 330 |
+
|
| 331 |
+
best_lexer = [0.0, None]
|
| 332 |
+
for lexer in _iter_lexerclasses():
|
| 333 |
+
rv = lexer.analyse_text(_text)
|
| 334 |
+
if rv == 1.0:
|
| 335 |
+
return lexer(**options)
|
| 336 |
+
if rv > best_lexer[0]:
|
| 337 |
+
best_lexer[:] = (rv, lexer)
|
| 338 |
+
if not best_lexer[0] or best_lexer[1] is None:
|
| 339 |
+
raise ClassNotFound('no lexer matching the text found')
|
| 340 |
+
return best_lexer[1](**options)
|
| 341 |
+
|
| 342 |
+
|
| 343 |
+
class _automodule(types.ModuleType):
|
| 344 |
+
"""Automatically import lexers."""
|
| 345 |
+
|
| 346 |
+
def __getattr__(self, name):
|
| 347 |
+
info = LEXERS.get(name)
|
| 348 |
+
if info:
|
| 349 |
+
_load_lexers(info[0])
|
| 350 |
+
cls = _lexer_cache[info[1]]
|
| 351 |
+
setattr(self, name, cls)
|
| 352 |
+
return cls
|
| 353 |
+
if name in COMPAT:
|
| 354 |
+
return getattr(self, COMPAT[name])
|
| 355 |
+
raise AttributeError(name)
|
| 356 |
+
|
| 357 |
+
|
| 358 |
+
oldmod = sys.modules[__name__]
|
| 359 |
+
newmod = _automodule(__name__)
|
| 360 |
+
newmod.__dict__.update(oldmod.__dict__)
|
| 361 |
+
sys.modules[__name__] = newmod
|
| 362 |
+
del newmod.newmod, newmod.oldmod, newmod.sys, newmod.types
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_ada_builtins.py
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._ada_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Ada builtins.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
KEYWORD_LIST = (
|
| 12 |
+
'abort',
|
| 13 |
+
'abs',
|
| 14 |
+
'abstract',
|
| 15 |
+
'accept',
|
| 16 |
+
'access',
|
| 17 |
+
'aliased',
|
| 18 |
+
'all',
|
| 19 |
+
'array',
|
| 20 |
+
'at',
|
| 21 |
+
'begin',
|
| 22 |
+
'body',
|
| 23 |
+
'case',
|
| 24 |
+
'constant',
|
| 25 |
+
'declare',
|
| 26 |
+
'delay',
|
| 27 |
+
'delta',
|
| 28 |
+
'digits',
|
| 29 |
+
'do',
|
| 30 |
+
'else',
|
| 31 |
+
'elsif',
|
| 32 |
+
'end',
|
| 33 |
+
'entry',
|
| 34 |
+
'exception',
|
| 35 |
+
'exit',
|
| 36 |
+
'interface',
|
| 37 |
+
'for',
|
| 38 |
+
'goto',
|
| 39 |
+
'if',
|
| 40 |
+
'is',
|
| 41 |
+
'limited',
|
| 42 |
+
'loop',
|
| 43 |
+
'new',
|
| 44 |
+
'null',
|
| 45 |
+
'of',
|
| 46 |
+
'or',
|
| 47 |
+
'others',
|
| 48 |
+
'out',
|
| 49 |
+
'overriding',
|
| 50 |
+
'pragma',
|
| 51 |
+
'protected',
|
| 52 |
+
'raise',
|
| 53 |
+
'range',
|
| 54 |
+
'record',
|
| 55 |
+
'renames',
|
| 56 |
+
'requeue',
|
| 57 |
+
'return',
|
| 58 |
+
'reverse',
|
| 59 |
+
'select',
|
| 60 |
+
'separate',
|
| 61 |
+
'some',
|
| 62 |
+
'subtype',
|
| 63 |
+
'synchronized',
|
| 64 |
+
'task',
|
| 65 |
+
'tagged',
|
| 66 |
+
'terminate',
|
| 67 |
+
'then',
|
| 68 |
+
'type',
|
| 69 |
+
'until',
|
| 70 |
+
'when',
|
| 71 |
+
'while',
|
| 72 |
+
'xor'
|
| 73 |
+
)
|
| 74 |
+
|
| 75 |
+
BUILTIN_LIST = (
|
| 76 |
+
'Address',
|
| 77 |
+
'Byte',
|
| 78 |
+
'Boolean',
|
| 79 |
+
'Character',
|
| 80 |
+
'Controlled',
|
| 81 |
+
'Count',
|
| 82 |
+
'Cursor',
|
| 83 |
+
'Duration',
|
| 84 |
+
'File_Mode',
|
| 85 |
+
'File_Type',
|
| 86 |
+
'Float',
|
| 87 |
+
'Generator',
|
| 88 |
+
'Integer',
|
| 89 |
+
'Long_Float',
|
| 90 |
+
'Long_Integer',
|
| 91 |
+
'Long_Long_Float',
|
| 92 |
+
'Long_Long_Integer',
|
| 93 |
+
'Natural',
|
| 94 |
+
'Positive',
|
| 95 |
+
'Reference_Type',
|
| 96 |
+
'Short_Float',
|
| 97 |
+
'Short_Integer',
|
| 98 |
+
'Short_Short_Float',
|
| 99 |
+
'Short_Short_Integer',
|
| 100 |
+
'String',
|
| 101 |
+
'Wide_Character',
|
| 102 |
+
'Wide_String'
|
| 103 |
+
)
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_asy_builtins.py
ADDED
|
@@ -0,0 +1,1644 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._asy_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
This file contains the asy-function names and asy-variable names of
|
| 6 |
+
Asymptote.
|
| 7 |
+
|
| 8 |
+
Do not edit the ASYFUNCNAME and ASYVARNAME sets by hand.
|
| 9 |
+
TODO: perl/python script in Asymptote SVN similar to asy-list.pl but only
|
| 10 |
+
for function and variable names.
|
| 11 |
+
|
| 12 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 13 |
+
:license: BSD, see LICENSE for details.
|
| 14 |
+
"""
|
| 15 |
+
|
| 16 |
+
ASYFUNCNAME = {
|
| 17 |
+
'AND',
|
| 18 |
+
'Arc',
|
| 19 |
+
'ArcArrow',
|
| 20 |
+
'ArcArrows',
|
| 21 |
+
'Arrow',
|
| 22 |
+
'Arrows',
|
| 23 |
+
'Automatic',
|
| 24 |
+
'AvantGarde',
|
| 25 |
+
'BBox',
|
| 26 |
+
'BWRainbow',
|
| 27 |
+
'BWRainbow2',
|
| 28 |
+
'Bar',
|
| 29 |
+
'Bars',
|
| 30 |
+
'BeginArcArrow',
|
| 31 |
+
'BeginArrow',
|
| 32 |
+
'BeginBar',
|
| 33 |
+
'BeginDotMargin',
|
| 34 |
+
'BeginMargin',
|
| 35 |
+
'BeginPenMargin',
|
| 36 |
+
'Blank',
|
| 37 |
+
'Bookman',
|
| 38 |
+
'Bottom',
|
| 39 |
+
'BottomTop',
|
| 40 |
+
'Bounds',
|
| 41 |
+
'Break',
|
| 42 |
+
'Broken',
|
| 43 |
+
'BrokenLog',
|
| 44 |
+
'Ceil',
|
| 45 |
+
'Circle',
|
| 46 |
+
'CircleBarIntervalMarker',
|
| 47 |
+
'Cos',
|
| 48 |
+
'Courier',
|
| 49 |
+
'CrossIntervalMarker',
|
| 50 |
+
'DefaultFormat',
|
| 51 |
+
'DefaultLogFormat',
|
| 52 |
+
'Degrees',
|
| 53 |
+
'Dir',
|
| 54 |
+
'DotMargin',
|
| 55 |
+
'DotMargins',
|
| 56 |
+
'Dotted',
|
| 57 |
+
'Draw',
|
| 58 |
+
'Drawline',
|
| 59 |
+
'Embed',
|
| 60 |
+
'EndArcArrow',
|
| 61 |
+
'EndArrow',
|
| 62 |
+
'EndBar',
|
| 63 |
+
'EndDotMargin',
|
| 64 |
+
'EndMargin',
|
| 65 |
+
'EndPenMargin',
|
| 66 |
+
'Fill',
|
| 67 |
+
'FillDraw',
|
| 68 |
+
'Floor',
|
| 69 |
+
'Format',
|
| 70 |
+
'Full',
|
| 71 |
+
'Gaussian',
|
| 72 |
+
'Gaussrand',
|
| 73 |
+
'Gaussrandpair',
|
| 74 |
+
'Gradient',
|
| 75 |
+
'Grayscale',
|
| 76 |
+
'Helvetica',
|
| 77 |
+
'Hermite',
|
| 78 |
+
'HookHead',
|
| 79 |
+
'InOutTicks',
|
| 80 |
+
'InTicks',
|
| 81 |
+
'J',
|
| 82 |
+
'Label',
|
| 83 |
+
'Landscape',
|
| 84 |
+
'Left',
|
| 85 |
+
'LeftRight',
|
| 86 |
+
'LeftTicks',
|
| 87 |
+
'Legend',
|
| 88 |
+
'Linear',
|
| 89 |
+
'Link',
|
| 90 |
+
'Log',
|
| 91 |
+
'LogFormat',
|
| 92 |
+
'Margin',
|
| 93 |
+
'Margins',
|
| 94 |
+
'Mark',
|
| 95 |
+
'MidArcArrow',
|
| 96 |
+
'MidArrow',
|
| 97 |
+
'NOT',
|
| 98 |
+
'NewCenturySchoolBook',
|
| 99 |
+
'NoBox',
|
| 100 |
+
'NoMargin',
|
| 101 |
+
'NoModifier',
|
| 102 |
+
'NoTicks',
|
| 103 |
+
'NoTicks3',
|
| 104 |
+
'NoZero',
|
| 105 |
+
'NoZeroFormat',
|
| 106 |
+
'None',
|
| 107 |
+
'OR',
|
| 108 |
+
'OmitFormat',
|
| 109 |
+
'OmitTick',
|
| 110 |
+
'OutTicks',
|
| 111 |
+
'Ox',
|
| 112 |
+
'Oy',
|
| 113 |
+
'Palatino',
|
| 114 |
+
'PaletteTicks',
|
| 115 |
+
'Pen',
|
| 116 |
+
'PenMargin',
|
| 117 |
+
'PenMargins',
|
| 118 |
+
'Pentype',
|
| 119 |
+
'Portrait',
|
| 120 |
+
'RadialShade',
|
| 121 |
+
'Rainbow',
|
| 122 |
+
'Range',
|
| 123 |
+
'Relative',
|
| 124 |
+
'Right',
|
| 125 |
+
'RightTicks',
|
| 126 |
+
'Rotate',
|
| 127 |
+
'Round',
|
| 128 |
+
'SQR',
|
| 129 |
+
'Scale',
|
| 130 |
+
'ScaleX',
|
| 131 |
+
'ScaleY',
|
| 132 |
+
'ScaleZ',
|
| 133 |
+
'Seascape',
|
| 134 |
+
'Shift',
|
| 135 |
+
'Sin',
|
| 136 |
+
'Slant',
|
| 137 |
+
'Spline',
|
| 138 |
+
'StickIntervalMarker',
|
| 139 |
+
'Straight',
|
| 140 |
+
'Symbol',
|
| 141 |
+
'Tan',
|
| 142 |
+
'TeXify',
|
| 143 |
+
'Ticks',
|
| 144 |
+
'Ticks3',
|
| 145 |
+
'TildeIntervalMarker',
|
| 146 |
+
'TimesRoman',
|
| 147 |
+
'Top',
|
| 148 |
+
'TrueMargin',
|
| 149 |
+
'UnFill',
|
| 150 |
+
'UpsideDown',
|
| 151 |
+
'Wheel',
|
| 152 |
+
'X',
|
| 153 |
+
'XEquals',
|
| 154 |
+
'XOR',
|
| 155 |
+
'XY',
|
| 156 |
+
'XYEquals',
|
| 157 |
+
'XYZero',
|
| 158 |
+
'XYgrid',
|
| 159 |
+
'XZEquals',
|
| 160 |
+
'XZZero',
|
| 161 |
+
'XZero',
|
| 162 |
+
'XZgrid',
|
| 163 |
+
'Y',
|
| 164 |
+
'YEquals',
|
| 165 |
+
'YXgrid',
|
| 166 |
+
'YZ',
|
| 167 |
+
'YZEquals',
|
| 168 |
+
'YZZero',
|
| 169 |
+
'YZero',
|
| 170 |
+
'YZgrid',
|
| 171 |
+
'Z',
|
| 172 |
+
'ZX',
|
| 173 |
+
'ZXgrid',
|
| 174 |
+
'ZYgrid',
|
| 175 |
+
'ZapfChancery',
|
| 176 |
+
'ZapfDingbats',
|
| 177 |
+
'_cputime',
|
| 178 |
+
'_draw',
|
| 179 |
+
'_eval',
|
| 180 |
+
'_image',
|
| 181 |
+
'_labelpath',
|
| 182 |
+
'_projection',
|
| 183 |
+
'_strokepath',
|
| 184 |
+
'_texpath',
|
| 185 |
+
'aCos',
|
| 186 |
+
'aSin',
|
| 187 |
+
'aTan',
|
| 188 |
+
'abort',
|
| 189 |
+
'abs',
|
| 190 |
+
'accel',
|
| 191 |
+
'acos',
|
| 192 |
+
'acosh',
|
| 193 |
+
'acot',
|
| 194 |
+
'acsc',
|
| 195 |
+
'add',
|
| 196 |
+
'addArrow',
|
| 197 |
+
'addMargins',
|
| 198 |
+
'addSaveFunction',
|
| 199 |
+
'addnode',
|
| 200 |
+
'addnodes',
|
| 201 |
+
'addpenarc',
|
| 202 |
+
'addpenline',
|
| 203 |
+
'addseg',
|
| 204 |
+
'adjust',
|
| 205 |
+
'alias',
|
| 206 |
+
'align',
|
| 207 |
+
'all',
|
| 208 |
+
'altitude',
|
| 209 |
+
'angabscissa',
|
| 210 |
+
'angle',
|
| 211 |
+
'angpoint',
|
| 212 |
+
'animate',
|
| 213 |
+
'annotate',
|
| 214 |
+
'anticomplementary',
|
| 215 |
+
'antipedal',
|
| 216 |
+
'apply',
|
| 217 |
+
'approximate',
|
| 218 |
+
'arc',
|
| 219 |
+
'arcarrowsize',
|
| 220 |
+
'arccircle',
|
| 221 |
+
'arcdir',
|
| 222 |
+
'arcfromcenter',
|
| 223 |
+
'arcfromfocus',
|
| 224 |
+
'arclength',
|
| 225 |
+
'arcnodesnumber',
|
| 226 |
+
'arcpoint',
|
| 227 |
+
'arcsubtended',
|
| 228 |
+
'arcsubtendedcenter',
|
| 229 |
+
'arctime',
|
| 230 |
+
'arctopath',
|
| 231 |
+
'array',
|
| 232 |
+
'arrow',
|
| 233 |
+
'arrow2',
|
| 234 |
+
'arrowbase',
|
| 235 |
+
'arrowbasepoints',
|
| 236 |
+
'arrowsize',
|
| 237 |
+
'asec',
|
| 238 |
+
'asin',
|
| 239 |
+
'asinh',
|
| 240 |
+
'ask',
|
| 241 |
+
'assert',
|
| 242 |
+
'asy',
|
| 243 |
+
'asycode',
|
| 244 |
+
'asydir',
|
| 245 |
+
'asyfigure',
|
| 246 |
+
'asyfilecode',
|
| 247 |
+
'asyinclude',
|
| 248 |
+
'asywrite',
|
| 249 |
+
'atan',
|
| 250 |
+
'atan2',
|
| 251 |
+
'atanh',
|
| 252 |
+
'atbreakpoint',
|
| 253 |
+
'atexit',
|
| 254 |
+
'atime',
|
| 255 |
+
'attach',
|
| 256 |
+
'attract',
|
| 257 |
+
'atupdate',
|
| 258 |
+
'autoformat',
|
| 259 |
+
'autoscale',
|
| 260 |
+
'autoscale3',
|
| 261 |
+
'axes',
|
| 262 |
+
'axes3',
|
| 263 |
+
'axialshade',
|
| 264 |
+
'axis',
|
| 265 |
+
'axiscoverage',
|
| 266 |
+
'azimuth',
|
| 267 |
+
'babel',
|
| 268 |
+
'background',
|
| 269 |
+
'bangles',
|
| 270 |
+
'bar',
|
| 271 |
+
'barmarksize',
|
| 272 |
+
'barsize',
|
| 273 |
+
'basealign',
|
| 274 |
+
'baseline',
|
| 275 |
+
'bbox',
|
| 276 |
+
'beep',
|
| 277 |
+
'begin',
|
| 278 |
+
'beginclip',
|
| 279 |
+
'begingroup',
|
| 280 |
+
'beginpoint',
|
| 281 |
+
'between',
|
| 282 |
+
'bevel',
|
| 283 |
+
'bezier',
|
| 284 |
+
'bezierP',
|
| 285 |
+
'bezierPP',
|
| 286 |
+
'bezierPPP',
|
| 287 |
+
'bezulate',
|
| 288 |
+
'bibliography',
|
| 289 |
+
'bibliographystyle',
|
| 290 |
+
'binarytree',
|
| 291 |
+
'binarytreeNode',
|
| 292 |
+
'binomial',
|
| 293 |
+
'binput',
|
| 294 |
+
'bins',
|
| 295 |
+
'bisector',
|
| 296 |
+
'bisectorpoint',
|
| 297 |
+
'blend',
|
| 298 |
+
'boutput',
|
| 299 |
+
'box',
|
| 300 |
+
'bqe',
|
| 301 |
+
'breakpoint',
|
| 302 |
+
'breakpoints',
|
| 303 |
+
'brick',
|
| 304 |
+
'buildRestoreDefaults',
|
| 305 |
+
'buildRestoreThunk',
|
| 306 |
+
'buildcycle',
|
| 307 |
+
'bulletcolor',
|
| 308 |
+
'canonical',
|
| 309 |
+
'canonicalcartesiansystem',
|
| 310 |
+
'cartesiansystem',
|
| 311 |
+
'case1',
|
| 312 |
+
'case2',
|
| 313 |
+
'case3',
|
| 314 |
+
'cbrt',
|
| 315 |
+
'cd',
|
| 316 |
+
'ceil',
|
| 317 |
+
'center',
|
| 318 |
+
'centerToFocus',
|
| 319 |
+
'centroid',
|
| 320 |
+
'cevian',
|
| 321 |
+
'change2',
|
| 322 |
+
'changecoordsys',
|
| 323 |
+
'checkSegment',
|
| 324 |
+
'checkconditionlength',
|
| 325 |
+
'checker',
|
| 326 |
+
'checklengths',
|
| 327 |
+
'checkposition',
|
| 328 |
+
'checktriangle',
|
| 329 |
+
'choose',
|
| 330 |
+
'circle',
|
| 331 |
+
'circlebarframe',
|
| 332 |
+
'circlemarkradius',
|
| 333 |
+
'circlenodesnumber',
|
| 334 |
+
'circumcenter',
|
| 335 |
+
'circumcircle',
|
| 336 |
+
'clamped',
|
| 337 |
+
'clear',
|
| 338 |
+
'clip',
|
| 339 |
+
'clipdraw',
|
| 340 |
+
'close',
|
| 341 |
+
'cmyk',
|
| 342 |
+
'code',
|
| 343 |
+
'colatitude',
|
| 344 |
+
'collect',
|
| 345 |
+
'collinear',
|
| 346 |
+
'color',
|
| 347 |
+
'colorless',
|
| 348 |
+
'colors',
|
| 349 |
+
'colorspace',
|
| 350 |
+
'comma',
|
| 351 |
+
'compassmark',
|
| 352 |
+
'complement',
|
| 353 |
+
'complementary',
|
| 354 |
+
'concat',
|
| 355 |
+
'concurrent',
|
| 356 |
+
'cone',
|
| 357 |
+
'conic',
|
| 358 |
+
'conicnodesnumber',
|
| 359 |
+
'conictype',
|
| 360 |
+
'conj',
|
| 361 |
+
'connect',
|
| 362 |
+
'containmentTree',
|
| 363 |
+
'contains',
|
| 364 |
+
'contour',
|
| 365 |
+
'contour3',
|
| 366 |
+
'controlSpecifier',
|
| 367 |
+
'convert',
|
| 368 |
+
'coordinates',
|
| 369 |
+
'coordsys',
|
| 370 |
+
'copy',
|
| 371 |
+
'cos',
|
| 372 |
+
'cosh',
|
| 373 |
+
'cot',
|
| 374 |
+
'countIntersections',
|
| 375 |
+
'cputime',
|
| 376 |
+
'crop',
|
| 377 |
+
'cropcode',
|
| 378 |
+
'cross',
|
| 379 |
+
'crossframe',
|
| 380 |
+
'crosshatch',
|
| 381 |
+
'crossmarksize',
|
| 382 |
+
'csc',
|
| 383 |
+
'cubicroots',
|
| 384 |
+
'curabscissa',
|
| 385 |
+
'curlSpecifier',
|
| 386 |
+
'curpoint',
|
| 387 |
+
'currentarrow',
|
| 388 |
+
'currentexitfunction',
|
| 389 |
+
'currentmomarrow',
|
| 390 |
+
'currentpolarconicroutine',
|
| 391 |
+
'curve',
|
| 392 |
+
'cut',
|
| 393 |
+
'cutafter',
|
| 394 |
+
'cutbefore',
|
| 395 |
+
'cyclic',
|
| 396 |
+
'cylinder',
|
| 397 |
+
'debugger',
|
| 398 |
+
'deconstruct',
|
| 399 |
+
'defaultdir',
|
| 400 |
+
'defaultformat',
|
| 401 |
+
'defaultpen',
|
| 402 |
+
'defined',
|
| 403 |
+
'degenerate',
|
| 404 |
+
'degrees',
|
| 405 |
+
'delete',
|
| 406 |
+
'deletepreamble',
|
| 407 |
+
'determinant',
|
| 408 |
+
'diagonal',
|
| 409 |
+
'diamond',
|
| 410 |
+
'diffdiv',
|
| 411 |
+
'dir',
|
| 412 |
+
'dirSpecifier',
|
| 413 |
+
'dirtime',
|
| 414 |
+
'display',
|
| 415 |
+
'distance',
|
| 416 |
+
'divisors',
|
| 417 |
+
'do_overpaint',
|
| 418 |
+
'dot',
|
| 419 |
+
'dotframe',
|
| 420 |
+
'dotsize',
|
| 421 |
+
'downcase',
|
| 422 |
+
'draw',
|
| 423 |
+
'drawAll',
|
| 424 |
+
'drawDoubleLine',
|
| 425 |
+
'drawFermion',
|
| 426 |
+
'drawGhost',
|
| 427 |
+
'drawGluon',
|
| 428 |
+
'drawMomArrow',
|
| 429 |
+
'drawPhoton',
|
| 430 |
+
'drawScalar',
|
| 431 |
+
'drawVertex',
|
| 432 |
+
'drawVertexBox',
|
| 433 |
+
'drawVertexBoxO',
|
| 434 |
+
'drawVertexBoxX',
|
| 435 |
+
'drawVertexO',
|
| 436 |
+
'drawVertexOX',
|
| 437 |
+
'drawVertexTriangle',
|
| 438 |
+
'drawVertexTriangleO',
|
| 439 |
+
'drawVertexX',
|
| 440 |
+
'drawarrow',
|
| 441 |
+
'drawarrow2',
|
| 442 |
+
'drawline',
|
| 443 |
+
'drawtick',
|
| 444 |
+
'duplicate',
|
| 445 |
+
'elle',
|
| 446 |
+
'ellipse',
|
| 447 |
+
'ellipsenodesnumber',
|
| 448 |
+
'embed',
|
| 449 |
+
'embed3',
|
| 450 |
+
'empty',
|
| 451 |
+
'enclose',
|
| 452 |
+
'end',
|
| 453 |
+
'endScript',
|
| 454 |
+
'endclip',
|
| 455 |
+
'endgroup',
|
| 456 |
+
'endl',
|
| 457 |
+
'endpoint',
|
| 458 |
+
'endpoints',
|
| 459 |
+
'eof',
|
| 460 |
+
'eol',
|
| 461 |
+
'equation',
|
| 462 |
+
'equations',
|
| 463 |
+
'erase',
|
| 464 |
+
'erasestep',
|
| 465 |
+
'erf',
|
| 466 |
+
'erfc',
|
| 467 |
+
'error',
|
| 468 |
+
'errorbar',
|
| 469 |
+
'errorbars',
|
| 470 |
+
'eval',
|
| 471 |
+
'excenter',
|
| 472 |
+
'excircle',
|
| 473 |
+
'exit',
|
| 474 |
+
'exitXasyMode',
|
| 475 |
+
'exitfunction',
|
| 476 |
+
'exp',
|
| 477 |
+
'expfactors',
|
| 478 |
+
'expi',
|
| 479 |
+
'expm1',
|
| 480 |
+
'exradius',
|
| 481 |
+
'extend',
|
| 482 |
+
'extension',
|
| 483 |
+
'extouch',
|
| 484 |
+
'fabs',
|
| 485 |
+
'factorial',
|
| 486 |
+
'fermat',
|
| 487 |
+
'fft',
|
| 488 |
+
'fhorner',
|
| 489 |
+
'figure',
|
| 490 |
+
'file',
|
| 491 |
+
'filecode',
|
| 492 |
+
'fill',
|
| 493 |
+
'filldraw',
|
| 494 |
+
'filloutside',
|
| 495 |
+
'fillrule',
|
| 496 |
+
'filltype',
|
| 497 |
+
'find',
|
| 498 |
+
'finite',
|
| 499 |
+
'finiteDifferenceJacobian',
|
| 500 |
+
'firstcut',
|
| 501 |
+
'firstframe',
|
| 502 |
+
'fit',
|
| 503 |
+
'fit2',
|
| 504 |
+
'fixedscaling',
|
| 505 |
+
'floor',
|
| 506 |
+
'flush',
|
| 507 |
+
'fmdefaults',
|
| 508 |
+
'fmod',
|
| 509 |
+
'focusToCenter',
|
| 510 |
+
'font',
|
| 511 |
+
'fontcommand',
|
| 512 |
+
'fontsize',
|
| 513 |
+
'foot',
|
| 514 |
+
'format',
|
| 515 |
+
'frac',
|
| 516 |
+
'frequency',
|
| 517 |
+
'fromCenter',
|
| 518 |
+
'fromFocus',
|
| 519 |
+
'fspline',
|
| 520 |
+
'functionshade',
|
| 521 |
+
'gamma',
|
| 522 |
+
'generate_random_backtrace',
|
| 523 |
+
'generateticks',
|
| 524 |
+
'gergonne',
|
| 525 |
+
'getc',
|
| 526 |
+
'getint',
|
| 527 |
+
'getpair',
|
| 528 |
+
'getreal',
|
| 529 |
+
'getstring',
|
| 530 |
+
'gettriple',
|
| 531 |
+
'gluon',
|
| 532 |
+
'gouraudshade',
|
| 533 |
+
'graph',
|
| 534 |
+
'graphic',
|
| 535 |
+
'gray',
|
| 536 |
+
'grestore',
|
| 537 |
+
'grid',
|
| 538 |
+
'grid3',
|
| 539 |
+
'gsave',
|
| 540 |
+
'halfbox',
|
| 541 |
+
'hatch',
|
| 542 |
+
'hdiffdiv',
|
| 543 |
+
'hermite',
|
| 544 |
+
'hex',
|
| 545 |
+
'histogram',
|
| 546 |
+
'history',
|
| 547 |
+
'hline',
|
| 548 |
+
'hprojection',
|
| 549 |
+
'hsv',
|
| 550 |
+
'hyperbola',
|
| 551 |
+
'hyperbolanodesnumber',
|
| 552 |
+
'hyperlink',
|
| 553 |
+
'hypot',
|
| 554 |
+
'identity',
|
| 555 |
+
'image',
|
| 556 |
+
'incenter',
|
| 557 |
+
'incentral',
|
| 558 |
+
'incircle',
|
| 559 |
+
'increasing',
|
| 560 |
+
'incrementposition',
|
| 561 |
+
'indexedTransform',
|
| 562 |
+
'indexedfigure',
|
| 563 |
+
'initXasyMode',
|
| 564 |
+
'initdefaults',
|
| 565 |
+
'input',
|
| 566 |
+
'inradius',
|
| 567 |
+
'insert',
|
| 568 |
+
'inside',
|
| 569 |
+
'integrate',
|
| 570 |
+
'interactive',
|
| 571 |
+
'interior',
|
| 572 |
+
'interp',
|
| 573 |
+
'interpolate',
|
| 574 |
+
'intersect',
|
| 575 |
+
'intersection',
|
| 576 |
+
'intersectionpoint',
|
| 577 |
+
'intersectionpoints',
|
| 578 |
+
'intersections',
|
| 579 |
+
'intouch',
|
| 580 |
+
'inverse',
|
| 581 |
+
'inversion',
|
| 582 |
+
'invisible',
|
| 583 |
+
'is3D',
|
| 584 |
+
'isDuplicate',
|
| 585 |
+
'isogonal',
|
| 586 |
+
'isogonalconjugate',
|
| 587 |
+
'isotomic',
|
| 588 |
+
'isotomicconjugate',
|
| 589 |
+
'isparabola',
|
| 590 |
+
'italic',
|
| 591 |
+
'item',
|
| 592 |
+
'key',
|
| 593 |
+
'kurtosis',
|
| 594 |
+
'kurtosisexcess',
|
| 595 |
+
'label',
|
| 596 |
+
'labelaxis',
|
| 597 |
+
'labelmargin',
|
| 598 |
+
'labelpath',
|
| 599 |
+
'labels',
|
| 600 |
+
'labeltick',
|
| 601 |
+
'labelx',
|
| 602 |
+
'labelx3',
|
| 603 |
+
'labely',
|
| 604 |
+
'labely3',
|
| 605 |
+
'labelz',
|
| 606 |
+
'labelz3',
|
| 607 |
+
'lastcut',
|
| 608 |
+
'latex',
|
| 609 |
+
'latitude',
|
| 610 |
+
'latticeshade',
|
| 611 |
+
'layer',
|
| 612 |
+
'layout',
|
| 613 |
+
'ldexp',
|
| 614 |
+
'leastsquares',
|
| 615 |
+
'legend',
|
| 616 |
+
'legenditem',
|
| 617 |
+
'length',
|
| 618 |
+
'lift',
|
| 619 |
+
'light',
|
| 620 |
+
'limits',
|
| 621 |
+
'line',
|
| 622 |
+
'linear',
|
| 623 |
+
'linecap',
|
| 624 |
+
'lineinversion',
|
| 625 |
+
'linejoin',
|
| 626 |
+
'linemargin',
|
| 627 |
+
'lineskip',
|
| 628 |
+
'linetype',
|
| 629 |
+
'linewidth',
|
| 630 |
+
'link',
|
| 631 |
+
'list',
|
| 632 |
+
'lm_enorm',
|
| 633 |
+
'lm_evaluate_default',
|
| 634 |
+
'lm_lmdif',
|
| 635 |
+
'lm_lmpar',
|
| 636 |
+
'lm_minimize',
|
| 637 |
+
'lm_print_default',
|
| 638 |
+
'lm_print_quiet',
|
| 639 |
+
'lm_qrfac',
|
| 640 |
+
'lm_qrsolv',
|
| 641 |
+
'locale',
|
| 642 |
+
'locate',
|
| 643 |
+
'locatefile',
|
| 644 |
+
'location',
|
| 645 |
+
'log',
|
| 646 |
+
'log10',
|
| 647 |
+
'log1p',
|
| 648 |
+
'logaxiscoverage',
|
| 649 |
+
'longitude',
|
| 650 |
+
'lookup',
|
| 651 |
+
'magnetize',
|
| 652 |
+
'makeNode',
|
| 653 |
+
'makedraw',
|
| 654 |
+
'makepen',
|
| 655 |
+
'map',
|
| 656 |
+
'margin',
|
| 657 |
+
'markangle',
|
| 658 |
+
'markangleradius',
|
| 659 |
+
'markanglespace',
|
| 660 |
+
'markarc',
|
| 661 |
+
'marker',
|
| 662 |
+
'markinterval',
|
| 663 |
+
'marknodes',
|
| 664 |
+
'markrightangle',
|
| 665 |
+
'markuniform',
|
| 666 |
+
'mass',
|
| 667 |
+
'masscenter',
|
| 668 |
+
'massformat',
|
| 669 |
+
'math',
|
| 670 |
+
'max',
|
| 671 |
+
'max3',
|
| 672 |
+
'maxbezier',
|
| 673 |
+
'maxbound',
|
| 674 |
+
'maxcoords',
|
| 675 |
+
'maxlength',
|
| 676 |
+
'maxratio',
|
| 677 |
+
'maxtimes',
|
| 678 |
+
'mean',
|
| 679 |
+
'medial',
|
| 680 |
+
'median',
|
| 681 |
+
'midpoint',
|
| 682 |
+
'min',
|
| 683 |
+
'min3',
|
| 684 |
+
'minbezier',
|
| 685 |
+
'minbound',
|
| 686 |
+
'minipage',
|
| 687 |
+
'minratio',
|
| 688 |
+
'mintimes',
|
| 689 |
+
'miterlimit',
|
| 690 |
+
'momArrowPath',
|
| 691 |
+
'momarrowsize',
|
| 692 |
+
'monotonic',
|
| 693 |
+
'multifigure',
|
| 694 |
+
'nativeformat',
|
| 695 |
+
'natural',
|
| 696 |
+
'needshipout',
|
| 697 |
+
'newl',
|
| 698 |
+
'newpage',
|
| 699 |
+
'newslide',
|
| 700 |
+
'newton',
|
| 701 |
+
'newtree',
|
| 702 |
+
'nextframe',
|
| 703 |
+
'nextnormal',
|
| 704 |
+
'nextpage',
|
| 705 |
+
'nib',
|
| 706 |
+
'nodabscissa',
|
| 707 |
+
'none',
|
| 708 |
+
'norm',
|
| 709 |
+
'normalvideo',
|
| 710 |
+
'notaknot',
|
| 711 |
+
'nowarn',
|
| 712 |
+
'numberpage',
|
| 713 |
+
'nurb',
|
| 714 |
+
'object',
|
| 715 |
+
'offset',
|
| 716 |
+
'onpath',
|
| 717 |
+
'opacity',
|
| 718 |
+
'opposite',
|
| 719 |
+
'orientation',
|
| 720 |
+
'orig_circlenodesnumber',
|
| 721 |
+
'orig_circlenodesnumber1',
|
| 722 |
+
'orig_draw',
|
| 723 |
+
'orig_ellipsenodesnumber',
|
| 724 |
+
'orig_ellipsenodesnumber1',
|
| 725 |
+
'orig_hyperbolanodesnumber',
|
| 726 |
+
'orig_parabolanodesnumber',
|
| 727 |
+
'origin',
|
| 728 |
+
'orthic',
|
| 729 |
+
'orthocentercenter',
|
| 730 |
+
'outformat',
|
| 731 |
+
'outline',
|
| 732 |
+
'outprefix',
|
| 733 |
+
'output',
|
| 734 |
+
'overloadedMessage',
|
| 735 |
+
'overwrite',
|
| 736 |
+
'pack',
|
| 737 |
+
'pad',
|
| 738 |
+
'pairs',
|
| 739 |
+
'palette',
|
| 740 |
+
'parabola',
|
| 741 |
+
'parabolanodesnumber',
|
| 742 |
+
'parallel',
|
| 743 |
+
'partialsum',
|
| 744 |
+
'path',
|
| 745 |
+
'path3',
|
| 746 |
+
'pattern',
|
| 747 |
+
'pause',
|
| 748 |
+
'pdf',
|
| 749 |
+
'pedal',
|
| 750 |
+
'periodic',
|
| 751 |
+
'perp',
|
| 752 |
+
'perpendicular',
|
| 753 |
+
'perpendicularmark',
|
| 754 |
+
'phantom',
|
| 755 |
+
'phi1',
|
| 756 |
+
'phi2',
|
| 757 |
+
'phi3',
|
| 758 |
+
'photon',
|
| 759 |
+
'piecewisestraight',
|
| 760 |
+
'point',
|
| 761 |
+
'polar',
|
| 762 |
+
'polarconicroutine',
|
| 763 |
+
'polargraph',
|
| 764 |
+
'polygon',
|
| 765 |
+
'postcontrol',
|
| 766 |
+
'postscript',
|
| 767 |
+
'pow10',
|
| 768 |
+
'ppoint',
|
| 769 |
+
'prc',
|
| 770 |
+
'prc0',
|
| 771 |
+
'precision',
|
| 772 |
+
'precontrol',
|
| 773 |
+
'prepend',
|
| 774 |
+
'print_random_addresses',
|
| 775 |
+
'project',
|
| 776 |
+
'projection',
|
| 777 |
+
'purge',
|
| 778 |
+
'pwhermite',
|
| 779 |
+
'quadrant',
|
| 780 |
+
'quadraticroots',
|
| 781 |
+
'quantize',
|
| 782 |
+
'quarticroots',
|
| 783 |
+
'quotient',
|
| 784 |
+
'radialshade',
|
| 785 |
+
'radians',
|
| 786 |
+
'radicalcenter',
|
| 787 |
+
'radicalline',
|
| 788 |
+
'radius',
|
| 789 |
+
'rand',
|
| 790 |
+
'randompath',
|
| 791 |
+
'rd',
|
| 792 |
+
'readline',
|
| 793 |
+
'realmult',
|
| 794 |
+
'realquarticroots',
|
| 795 |
+
'rectangle',
|
| 796 |
+
'rectangular',
|
| 797 |
+
'rectify',
|
| 798 |
+
'reflect',
|
| 799 |
+
'relabscissa',
|
| 800 |
+
'relative',
|
| 801 |
+
'relativedistance',
|
| 802 |
+
'reldir',
|
| 803 |
+
'relpoint',
|
| 804 |
+
'reltime',
|
| 805 |
+
'remainder',
|
| 806 |
+
'remark',
|
| 807 |
+
'removeDuplicates',
|
| 808 |
+
'rename',
|
| 809 |
+
'replace',
|
| 810 |
+
'report',
|
| 811 |
+
'resetdefaultpen',
|
| 812 |
+
'restore',
|
| 813 |
+
'restoredefaults',
|
| 814 |
+
'reverse',
|
| 815 |
+
'reversevideo',
|
| 816 |
+
'rf',
|
| 817 |
+
'rfind',
|
| 818 |
+
'rgb',
|
| 819 |
+
'rgba',
|
| 820 |
+
'rgbint',
|
| 821 |
+
'rms',
|
| 822 |
+
'rotate',
|
| 823 |
+
'rotateO',
|
| 824 |
+
'rotation',
|
| 825 |
+
'round',
|
| 826 |
+
'roundbox',
|
| 827 |
+
'roundedpath',
|
| 828 |
+
'roundrectangle',
|
| 829 |
+
'samecoordsys',
|
| 830 |
+
'sameside',
|
| 831 |
+
'sample',
|
| 832 |
+
'save',
|
| 833 |
+
'savedefaults',
|
| 834 |
+
'saveline',
|
| 835 |
+
'scale',
|
| 836 |
+
'scale3',
|
| 837 |
+
'scaleO',
|
| 838 |
+
'scaleT',
|
| 839 |
+
'scaleless',
|
| 840 |
+
'scientific',
|
| 841 |
+
'search',
|
| 842 |
+
'searchtree',
|
| 843 |
+
'sec',
|
| 844 |
+
'secondaryX',
|
| 845 |
+
'secondaryY',
|
| 846 |
+
'seconds',
|
| 847 |
+
'section',
|
| 848 |
+
'sector',
|
| 849 |
+
'seek',
|
| 850 |
+
'seekeof',
|
| 851 |
+
'segment',
|
| 852 |
+
'sequence',
|
| 853 |
+
'setpens',
|
| 854 |
+
'sgn',
|
| 855 |
+
'sgnd',
|
| 856 |
+
'sharpangle',
|
| 857 |
+
'sharpdegrees',
|
| 858 |
+
'shift',
|
| 859 |
+
'shiftless',
|
| 860 |
+
'shipout',
|
| 861 |
+
'shipout3',
|
| 862 |
+
'show',
|
| 863 |
+
'side',
|
| 864 |
+
'simeq',
|
| 865 |
+
'simpson',
|
| 866 |
+
'sin',
|
| 867 |
+
'single',
|
| 868 |
+
'sinh',
|
| 869 |
+
'size',
|
| 870 |
+
'size3',
|
| 871 |
+
'skewness',
|
| 872 |
+
'skip',
|
| 873 |
+
'slant',
|
| 874 |
+
'sleep',
|
| 875 |
+
'slope',
|
| 876 |
+
'slopefield',
|
| 877 |
+
'solve',
|
| 878 |
+
'solveBVP',
|
| 879 |
+
'sort',
|
| 880 |
+
'sourceline',
|
| 881 |
+
'sphere',
|
| 882 |
+
'split',
|
| 883 |
+
'sqrt',
|
| 884 |
+
'square',
|
| 885 |
+
'srand',
|
| 886 |
+
'standardizecoordsys',
|
| 887 |
+
'startScript',
|
| 888 |
+
'startTrembling',
|
| 889 |
+
'stdev',
|
| 890 |
+
'step',
|
| 891 |
+
'stickframe',
|
| 892 |
+
'stickmarksize',
|
| 893 |
+
'stickmarkspace',
|
| 894 |
+
'stop',
|
| 895 |
+
'straight',
|
| 896 |
+
'straightness',
|
| 897 |
+
'string',
|
| 898 |
+
'stripdirectory',
|
| 899 |
+
'stripextension',
|
| 900 |
+
'stripfile',
|
| 901 |
+
'strokepath',
|
| 902 |
+
'subdivide',
|
| 903 |
+
'subitem',
|
| 904 |
+
'subpath',
|
| 905 |
+
'substr',
|
| 906 |
+
'sum',
|
| 907 |
+
'surface',
|
| 908 |
+
'symmedial',
|
| 909 |
+
'symmedian',
|
| 910 |
+
'system',
|
| 911 |
+
'tab',
|
| 912 |
+
'tableau',
|
| 913 |
+
'tan',
|
| 914 |
+
'tangent',
|
| 915 |
+
'tangential',
|
| 916 |
+
'tangents',
|
| 917 |
+
'tanh',
|
| 918 |
+
'tell',
|
| 919 |
+
'tensionSpecifier',
|
| 920 |
+
'tensorshade',
|
| 921 |
+
'tex',
|
| 922 |
+
'texcolor',
|
| 923 |
+
'texify',
|
| 924 |
+
'texpath',
|
| 925 |
+
'texpreamble',
|
| 926 |
+
'texreset',
|
| 927 |
+
'texshipout',
|
| 928 |
+
'texsize',
|
| 929 |
+
'textpath',
|
| 930 |
+
'thick',
|
| 931 |
+
'thin',
|
| 932 |
+
'tick',
|
| 933 |
+
'tickMax',
|
| 934 |
+
'tickMax3',
|
| 935 |
+
'tickMin',
|
| 936 |
+
'tickMin3',
|
| 937 |
+
'ticklabelshift',
|
| 938 |
+
'ticklocate',
|
| 939 |
+
'tildeframe',
|
| 940 |
+
'tildemarksize',
|
| 941 |
+
'tile',
|
| 942 |
+
'tiling',
|
| 943 |
+
'time',
|
| 944 |
+
'times',
|
| 945 |
+
'title',
|
| 946 |
+
'titlepage',
|
| 947 |
+
'topbox',
|
| 948 |
+
'transform',
|
| 949 |
+
'transformation',
|
| 950 |
+
'transpose',
|
| 951 |
+
'tremble',
|
| 952 |
+
'trembleFuzz',
|
| 953 |
+
'tremble_circlenodesnumber',
|
| 954 |
+
'tremble_circlenodesnumber1',
|
| 955 |
+
'tremble_draw',
|
| 956 |
+
'tremble_ellipsenodesnumber',
|
| 957 |
+
'tremble_ellipsenodesnumber1',
|
| 958 |
+
'tremble_hyperbolanodesnumber',
|
| 959 |
+
'tremble_marknodes',
|
| 960 |
+
'tremble_markuniform',
|
| 961 |
+
'tremble_parabolanodesnumber',
|
| 962 |
+
'triangle',
|
| 963 |
+
'triangleAbc',
|
| 964 |
+
'triangleabc',
|
| 965 |
+
'triangulate',
|
| 966 |
+
'tricoef',
|
| 967 |
+
'tridiagonal',
|
| 968 |
+
'trilinear',
|
| 969 |
+
'trim',
|
| 970 |
+
'trueMagnetize',
|
| 971 |
+
'truepoint',
|
| 972 |
+
'tube',
|
| 973 |
+
'uncycle',
|
| 974 |
+
'unfill',
|
| 975 |
+
'uniform',
|
| 976 |
+
'unit',
|
| 977 |
+
'unitrand',
|
| 978 |
+
'unitsize',
|
| 979 |
+
'unityroot',
|
| 980 |
+
'unstraighten',
|
| 981 |
+
'upcase',
|
| 982 |
+
'updatefunction',
|
| 983 |
+
'uperiodic',
|
| 984 |
+
'upscale',
|
| 985 |
+
'uptodate',
|
| 986 |
+
'usepackage',
|
| 987 |
+
'usersetting',
|
| 988 |
+
'usetypescript',
|
| 989 |
+
'usleep',
|
| 990 |
+
'value',
|
| 991 |
+
'variance',
|
| 992 |
+
'variancebiased',
|
| 993 |
+
'vbox',
|
| 994 |
+
'vector',
|
| 995 |
+
'vectorfield',
|
| 996 |
+
'verbatim',
|
| 997 |
+
'view',
|
| 998 |
+
'vline',
|
| 999 |
+
'vperiodic',
|
| 1000 |
+
'vprojection',
|
| 1001 |
+
'warn',
|
| 1002 |
+
'warning',
|
| 1003 |
+
'windingnumber',
|
| 1004 |
+
'write',
|
| 1005 |
+
'xaxis',
|
| 1006 |
+
'xaxis3',
|
| 1007 |
+
'xaxis3At',
|
| 1008 |
+
'xaxisAt',
|
| 1009 |
+
'xequals',
|
| 1010 |
+
'xinput',
|
| 1011 |
+
'xlimits',
|
| 1012 |
+
'xoutput',
|
| 1013 |
+
'xpart',
|
| 1014 |
+
'xscale',
|
| 1015 |
+
'xscaleO',
|
| 1016 |
+
'xtick',
|
| 1017 |
+
'xtick3',
|
| 1018 |
+
'xtrans',
|
| 1019 |
+
'yaxis',
|
| 1020 |
+
'yaxis3',
|
| 1021 |
+
'yaxis3At',
|
| 1022 |
+
'yaxisAt',
|
| 1023 |
+
'yequals',
|
| 1024 |
+
'ylimits',
|
| 1025 |
+
'ypart',
|
| 1026 |
+
'yscale',
|
| 1027 |
+
'yscaleO',
|
| 1028 |
+
'ytick',
|
| 1029 |
+
'ytick3',
|
| 1030 |
+
'ytrans',
|
| 1031 |
+
'zaxis3',
|
| 1032 |
+
'zaxis3At',
|
| 1033 |
+
'zero',
|
| 1034 |
+
'zero3',
|
| 1035 |
+
'zlimits',
|
| 1036 |
+
'zpart',
|
| 1037 |
+
'ztick',
|
| 1038 |
+
'ztick3',
|
| 1039 |
+
'ztrans'
|
| 1040 |
+
}
|
| 1041 |
+
|
| 1042 |
+
ASYVARNAME = {
|
| 1043 |
+
'AliceBlue',
|
| 1044 |
+
'Align',
|
| 1045 |
+
'Allow',
|
| 1046 |
+
'AntiqueWhite',
|
| 1047 |
+
'Apricot',
|
| 1048 |
+
'Aqua',
|
| 1049 |
+
'Aquamarine',
|
| 1050 |
+
'Aspect',
|
| 1051 |
+
'Azure',
|
| 1052 |
+
'BeginPoint',
|
| 1053 |
+
'Beige',
|
| 1054 |
+
'Bisque',
|
| 1055 |
+
'Bittersweet',
|
| 1056 |
+
'Black',
|
| 1057 |
+
'BlanchedAlmond',
|
| 1058 |
+
'Blue',
|
| 1059 |
+
'BlueGreen',
|
| 1060 |
+
'BlueViolet',
|
| 1061 |
+
'Both',
|
| 1062 |
+
'Break',
|
| 1063 |
+
'BrickRed',
|
| 1064 |
+
'Brown',
|
| 1065 |
+
'BurlyWood',
|
| 1066 |
+
'BurntOrange',
|
| 1067 |
+
'CCW',
|
| 1068 |
+
'CW',
|
| 1069 |
+
'CadetBlue',
|
| 1070 |
+
'CarnationPink',
|
| 1071 |
+
'Center',
|
| 1072 |
+
'Centered',
|
| 1073 |
+
'Cerulean',
|
| 1074 |
+
'Chartreuse',
|
| 1075 |
+
'Chocolate',
|
| 1076 |
+
'Coeff',
|
| 1077 |
+
'Coral',
|
| 1078 |
+
'CornflowerBlue',
|
| 1079 |
+
'Cornsilk',
|
| 1080 |
+
'Crimson',
|
| 1081 |
+
'Crop',
|
| 1082 |
+
'Cyan',
|
| 1083 |
+
'Dandelion',
|
| 1084 |
+
'DarkBlue',
|
| 1085 |
+
'DarkCyan',
|
| 1086 |
+
'DarkGoldenrod',
|
| 1087 |
+
'DarkGray',
|
| 1088 |
+
'DarkGreen',
|
| 1089 |
+
'DarkKhaki',
|
| 1090 |
+
'DarkMagenta',
|
| 1091 |
+
'DarkOliveGreen',
|
| 1092 |
+
'DarkOrange',
|
| 1093 |
+
'DarkOrchid',
|
| 1094 |
+
'DarkRed',
|
| 1095 |
+
'DarkSalmon',
|
| 1096 |
+
'DarkSeaGreen',
|
| 1097 |
+
'DarkSlateBlue',
|
| 1098 |
+
'DarkSlateGray',
|
| 1099 |
+
'DarkTurquoise',
|
| 1100 |
+
'DarkViolet',
|
| 1101 |
+
'DeepPink',
|
| 1102 |
+
'DeepSkyBlue',
|
| 1103 |
+
'DefaultHead',
|
| 1104 |
+
'DimGray',
|
| 1105 |
+
'DodgerBlue',
|
| 1106 |
+
'Dotted',
|
| 1107 |
+
'Draw',
|
| 1108 |
+
'E',
|
| 1109 |
+
'ENE',
|
| 1110 |
+
'EPS',
|
| 1111 |
+
'ESE',
|
| 1112 |
+
'E_Euler',
|
| 1113 |
+
'E_PC',
|
| 1114 |
+
'E_RK2',
|
| 1115 |
+
'E_RK3BS',
|
| 1116 |
+
'Emerald',
|
| 1117 |
+
'EndPoint',
|
| 1118 |
+
'Euler',
|
| 1119 |
+
'Fill',
|
| 1120 |
+
'FillDraw',
|
| 1121 |
+
'FireBrick',
|
| 1122 |
+
'FloralWhite',
|
| 1123 |
+
'ForestGreen',
|
| 1124 |
+
'Fuchsia',
|
| 1125 |
+
'Gainsboro',
|
| 1126 |
+
'GhostWhite',
|
| 1127 |
+
'Gold',
|
| 1128 |
+
'Goldenrod',
|
| 1129 |
+
'Gray',
|
| 1130 |
+
'Green',
|
| 1131 |
+
'GreenYellow',
|
| 1132 |
+
'Honeydew',
|
| 1133 |
+
'HookHead',
|
| 1134 |
+
'Horizontal',
|
| 1135 |
+
'HotPink',
|
| 1136 |
+
'I',
|
| 1137 |
+
'IgnoreAspect',
|
| 1138 |
+
'IndianRed',
|
| 1139 |
+
'Indigo',
|
| 1140 |
+
'Ivory',
|
| 1141 |
+
'JOIN_IN',
|
| 1142 |
+
'JOIN_OUT',
|
| 1143 |
+
'JungleGreen',
|
| 1144 |
+
'Khaki',
|
| 1145 |
+
'LM_DWARF',
|
| 1146 |
+
'LM_MACHEP',
|
| 1147 |
+
'LM_SQRT_DWARF',
|
| 1148 |
+
'LM_SQRT_GIANT',
|
| 1149 |
+
'LM_USERTOL',
|
| 1150 |
+
'Label',
|
| 1151 |
+
'Lavender',
|
| 1152 |
+
'LavenderBlush',
|
| 1153 |
+
'LawnGreen',
|
| 1154 |
+
'LeftJustified',
|
| 1155 |
+
'LeftSide',
|
| 1156 |
+
'LemonChiffon',
|
| 1157 |
+
'LightBlue',
|
| 1158 |
+
'LightCoral',
|
| 1159 |
+
'LightCyan',
|
| 1160 |
+
'LightGoldenrodYellow',
|
| 1161 |
+
'LightGreen',
|
| 1162 |
+
'LightGrey',
|
| 1163 |
+
'LightPink',
|
| 1164 |
+
'LightSalmon',
|
| 1165 |
+
'LightSeaGreen',
|
| 1166 |
+
'LightSkyBlue',
|
| 1167 |
+
'LightSlateGray',
|
| 1168 |
+
'LightSteelBlue',
|
| 1169 |
+
'LightYellow',
|
| 1170 |
+
'Lime',
|
| 1171 |
+
'LimeGreen',
|
| 1172 |
+
'Linear',
|
| 1173 |
+
'Linen',
|
| 1174 |
+
'Log',
|
| 1175 |
+
'Logarithmic',
|
| 1176 |
+
'Magenta',
|
| 1177 |
+
'Mahogany',
|
| 1178 |
+
'Mark',
|
| 1179 |
+
'MarkFill',
|
| 1180 |
+
'Maroon',
|
| 1181 |
+
'Max',
|
| 1182 |
+
'MediumAquamarine',
|
| 1183 |
+
'MediumBlue',
|
| 1184 |
+
'MediumOrchid',
|
| 1185 |
+
'MediumPurple',
|
| 1186 |
+
'MediumSeaGreen',
|
| 1187 |
+
'MediumSlateBlue',
|
| 1188 |
+
'MediumSpringGreen',
|
| 1189 |
+
'MediumTurquoise',
|
| 1190 |
+
'MediumVioletRed',
|
| 1191 |
+
'Melon',
|
| 1192 |
+
'MidPoint',
|
| 1193 |
+
'MidnightBlue',
|
| 1194 |
+
'Min',
|
| 1195 |
+
'MintCream',
|
| 1196 |
+
'MistyRose',
|
| 1197 |
+
'Moccasin',
|
| 1198 |
+
'Move',
|
| 1199 |
+
'MoveQuiet',
|
| 1200 |
+
'Mulberry',
|
| 1201 |
+
'N',
|
| 1202 |
+
'NE',
|
| 1203 |
+
'NNE',
|
| 1204 |
+
'NNW',
|
| 1205 |
+
'NW',
|
| 1206 |
+
'NavajoWhite',
|
| 1207 |
+
'Navy',
|
| 1208 |
+
'NavyBlue',
|
| 1209 |
+
'NoAlign',
|
| 1210 |
+
'NoCrop',
|
| 1211 |
+
'NoFill',
|
| 1212 |
+
'NoSide',
|
| 1213 |
+
'OldLace',
|
| 1214 |
+
'Olive',
|
| 1215 |
+
'OliveDrab',
|
| 1216 |
+
'OliveGreen',
|
| 1217 |
+
'Orange',
|
| 1218 |
+
'OrangeRed',
|
| 1219 |
+
'Orchid',
|
| 1220 |
+
'Ox',
|
| 1221 |
+
'Oy',
|
| 1222 |
+
'PC',
|
| 1223 |
+
'PaleGoldenrod',
|
| 1224 |
+
'PaleGreen',
|
| 1225 |
+
'PaleTurquoise',
|
| 1226 |
+
'PaleVioletRed',
|
| 1227 |
+
'PapayaWhip',
|
| 1228 |
+
'Peach',
|
| 1229 |
+
'PeachPuff',
|
| 1230 |
+
'Periwinkle',
|
| 1231 |
+
'Peru',
|
| 1232 |
+
'PineGreen',
|
| 1233 |
+
'Pink',
|
| 1234 |
+
'Plum',
|
| 1235 |
+
'PowderBlue',
|
| 1236 |
+
'ProcessBlue',
|
| 1237 |
+
'Purple',
|
| 1238 |
+
'RK2',
|
| 1239 |
+
'RK3',
|
| 1240 |
+
'RK3BS',
|
| 1241 |
+
'RK4',
|
| 1242 |
+
'RK5',
|
| 1243 |
+
'RK5DP',
|
| 1244 |
+
'RK5F',
|
| 1245 |
+
'RawSienna',
|
| 1246 |
+
'Red',
|
| 1247 |
+
'RedOrange',
|
| 1248 |
+
'RedViolet',
|
| 1249 |
+
'Rhodamine',
|
| 1250 |
+
'RightJustified',
|
| 1251 |
+
'RightSide',
|
| 1252 |
+
'RosyBrown',
|
| 1253 |
+
'RoyalBlue',
|
| 1254 |
+
'RoyalPurple',
|
| 1255 |
+
'RubineRed',
|
| 1256 |
+
'S',
|
| 1257 |
+
'SE',
|
| 1258 |
+
'SSE',
|
| 1259 |
+
'SSW',
|
| 1260 |
+
'SW',
|
| 1261 |
+
'SaddleBrown',
|
| 1262 |
+
'Salmon',
|
| 1263 |
+
'SandyBrown',
|
| 1264 |
+
'SeaGreen',
|
| 1265 |
+
'Seashell',
|
| 1266 |
+
'Sepia',
|
| 1267 |
+
'Sienna',
|
| 1268 |
+
'Silver',
|
| 1269 |
+
'SimpleHead',
|
| 1270 |
+
'SkyBlue',
|
| 1271 |
+
'SlateBlue',
|
| 1272 |
+
'SlateGray',
|
| 1273 |
+
'Snow',
|
| 1274 |
+
'SpringGreen',
|
| 1275 |
+
'SteelBlue',
|
| 1276 |
+
'Suppress',
|
| 1277 |
+
'SuppressQuiet',
|
| 1278 |
+
'Tan',
|
| 1279 |
+
'TeXHead',
|
| 1280 |
+
'Teal',
|
| 1281 |
+
'TealBlue',
|
| 1282 |
+
'Thistle',
|
| 1283 |
+
'Ticksize',
|
| 1284 |
+
'Tomato',
|
| 1285 |
+
'Turquoise',
|
| 1286 |
+
'UnFill',
|
| 1287 |
+
'VERSION',
|
| 1288 |
+
'Value',
|
| 1289 |
+
'Vertical',
|
| 1290 |
+
'Violet',
|
| 1291 |
+
'VioletRed',
|
| 1292 |
+
'W',
|
| 1293 |
+
'WNW',
|
| 1294 |
+
'WSW',
|
| 1295 |
+
'Wheat',
|
| 1296 |
+
'White',
|
| 1297 |
+
'WhiteSmoke',
|
| 1298 |
+
'WildStrawberry',
|
| 1299 |
+
'XYAlign',
|
| 1300 |
+
'YAlign',
|
| 1301 |
+
'Yellow',
|
| 1302 |
+
'YellowGreen',
|
| 1303 |
+
'YellowOrange',
|
| 1304 |
+
'addpenarc',
|
| 1305 |
+
'addpenline',
|
| 1306 |
+
'align',
|
| 1307 |
+
'allowstepping',
|
| 1308 |
+
'angularsystem',
|
| 1309 |
+
'animationdelay',
|
| 1310 |
+
'appendsuffix',
|
| 1311 |
+
'arcarrowangle',
|
| 1312 |
+
'arcarrowfactor',
|
| 1313 |
+
'arrow2sizelimit',
|
| 1314 |
+
'arrowangle',
|
| 1315 |
+
'arrowbarb',
|
| 1316 |
+
'arrowdir',
|
| 1317 |
+
'arrowfactor',
|
| 1318 |
+
'arrowhookfactor',
|
| 1319 |
+
'arrowlength',
|
| 1320 |
+
'arrowsizelimit',
|
| 1321 |
+
'arrowtexfactor',
|
| 1322 |
+
'authorpen',
|
| 1323 |
+
'axis',
|
| 1324 |
+
'axiscoverage',
|
| 1325 |
+
'axislabelfactor',
|
| 1326 |
+
'background',
|
| 1327 |
+
'backgroundcolor',
|
| 1328 |
+
'backgroundpen',
|
| 1329 |
+
'barfactor',
|
| 1330 |
+
'barmarksizefactor',
|
| 1331 |
+
'basealign',
|
| 1332 |
+
'baselinetemplate',
|
| 1333 |
+
'beveljoin',
|
| 1334 |
+
'bigvertexpen',
|
| 1335 |
+
'bigvertexsize',
|
| 1336 |
+
'black',
|
| 1337 |
+
'blue',
|
| 1338 |
+
'bm',
|
| 1339 |
+
'bottom',
|
| 1340 |
+
'bp',
|
| 1341 |
+
'brown',
|
| 1342 |
+
'bullet',
|
| 1343 |
+
'byfoci',
|
| 1344 |
+
'byvertices',
|
| 1345 |
+
'camerafactor',
|
| 1346 |
+
'chartreuse',
|
| 1347 |
+
'circlemarkradiusfactor',
|
| 1348 |
+
'circlenodesnumberfactor',
|
| 1349 |
+
'circleprecision',
|
| 1350 |
+
'circlescale',
|
| 1351 |
+
'cm',
|
| 1352 |
+
'codefile',
|
| 1353 |
+
'codepen',
|
| 1354 |
+
'codeskip',
|
| 1355 |
+
'colorPen',
|
| 1356 |
+
'coloredNodes',
|
| 1357 |
+
'coloredSegments',
|
| 1358 |
+
'conditionlength',
|
| 1359 |
+
'conicnodesfactor',
|
| 1360 |
+
'count',
|
| 1361 |
+
'cputimeformat',
|
| 1362 |
+
'crossmarksizefactor',
|
| 1363 |
+
'currentcoordsys',
|
| 1364 |
+
'currentlight',
|
| 1365 |
+
'currentpatterns',
|
| 1366 |
+
'currentpen',
|
| 1367 |
+
'currentpicture',
|
| 1368 |
+
'currentposition',
|
| 1369 |
+
'currentprojection',
|
| 1370 |
+
'curvilinearsystem',
|
| 1371 |
+
'cuttings',
|
| 1372 |
+
'cyan',
|
| 1373 |
+
'darkblue',
|
| 1374 |
+
'darkbrown',
|
| 1375 |
+
'darkcyan',
|
| 1376 |
+
'darkgray',
|
| 1377 |
+
'darkgreen',
|
| 1378 |
+
'darkgrey',
|
| 1379 |
+
'darkmagenta',
|
| 1380 |
+
'darkolive',
|
| 1381 |
+
'darkred',
|
| 1382 |
+
'dashdotted',
|
| 1383 |
+
'dashed',
|
| 1384 |
+
'datepen',
|
| 1385 |
+
'dateskip',
|
| 1386 |
+
'debuggerlines',
|
| 1387 |
+
'debugging',
|
| 1388 |
+
'deepblue',
|
| 1389 |
+
'deepcyan',
|
| 1390 |
+
'deepgray',
|
| 1391 |
+
'deepgreen',
|
| 1392 |
+
'deepgrey',
|
| 1393 |
+
'deepmagenta',
|
| 1394 |
+
'deepred',
|
| 1395 |
+
'default',
|
| 1396 |
+
'defaultControl',
|
| 1397 |
+
'defaultS',
|
| 1398 |
+
'defaultbackpen',
|
| 1399 |
+
'defaultcoordsys',
|
| 1400 |
+
'defaultfilename',
|
| 1401 |
+
'defaultformat',
|
| 1402 |
+
'defaultmassformat',
|
| 1403 |
+
'defaultpen',
|
| 1404 |
+
'diagnostics',
|
| 1405 |
+
'differentlengths',
|
| 1406 |
+
'dot',
|
| 1407 |
+
'dotfactor',
|
| 1408 |
+
'dotframe',
|
| 1409 |
+
'dotted',
|
| 1410 |
+
'doublelinepen',
|
| 1411 |
+
'doublelinespacing',
|
| 1412 |
+
'down',
|
| 1413 |
+
'duplicateFuzz',
|
| 1414 |
+
'ellipsenodesnumberfactor',
|
| 1415 |
+
'eps',
|
| 1416 |
+
'epsgeo',
|
| 1417 |
+
'epsilon',
|
| 1418 |
+
'evenodd',
|
| 1419 |
+
'extendcap',
|
| 1420 |
+
'fermionpen',
|
| 1421 |
+
'figureborder',
|
| 1422 |
+
'figuremattpen',
|
| 1423 |
+
'firstnode',
|
| 1424 |
+
'firststep',
|
| 1425 |
+
'foregroundcolor',
|
| 1426 |
+
'fuchsia',
|
| 1427 |
+
'fuzz',
|
| 1428 |
+
'gapfactor',
|
| 1429 |
+
'ghostpen',
|
| 1430 |
+
'gluonamplitude',
|
| 1431 |
+
'gluonpen',
|
| 1432 |
+
'gluonratio',
|
| 1433 |
+
'gray',
|
| 1434 |
+
'green',
|
| 1435 |
+
'grey',
|
| 1436 |
+
'hatchepsilon',
|
| 1437 |
+
'havepagenumber',
|
| 1438 |
+
'heavyblue',
|
| 1439 |
+
'heavycyan',
|
| 1440 |
+
'heavygray',
|
| 1441 |
+
'heavygreen',
|
| 1442 |
+
'heavygrey',
|
| 1443 |
+
'heavymagenta',
|
| 1444 |
+
'heavyred',
|
| 1445 |
+
'hline',
|
| 1446 |
+
'hwratio',
|
| 1447 |
+
'hyperbolanodesnumberfactor',
|
| 1448 |
+
'identity4',
|
| 1449 |
+
'ignore',
|
| 1450 |
+
'inXasyMode',
|
| 1451 |
+
'inch',
|
| 1452 |
+
'inches',
|
| 1453 |
+
'includegraphicscommand',
|
| 1454 |
+
'inf',
|
| 1455 |
+
'infinity',
|
| 1456 |
+
'institutionpen',
|
| 1457 |
+
'intMax',
|
| 1458 |
+
'intMin',
|
| 1459 |
+
'invert',
|
| 1460 |
+
'invisible',
|
| 1461 |
+
'itempen',
|
| 1462 |
+
'itemskip',
|
| 1463 |
+
'itemstep',
|
| 1464 |
+
'labelmargin',
|
| 1465 |
+
'landscape',
|
| 1466 |
+
'lastnode',
|
| 1467 |
+
'left',
|
| 1468 |
+
'legendhskip',
|
| 1469 |
+
'legendlinelength',
|
| 1470 |
+
'legendmargin',
|
| 1471 |
+
'legendmarkersize',
|
| 1472 |
+
'legendmaxrelativewidth',
|
| 1473 |
+
'legendvskip',
|
| 1474 |
+
'lightblue',
|
| 1475 |
+
'lightcyan',
|
| 1476 |
+
'lightgray',
|
| 1477 |
+
'lightgreen',
|
| 1478 |
+
'lightgrey',
|
| 1479 |
+
'lightmagenta',
|
| 1480 |
+
'lightolive',
|
| 1481 |
+
'lightred',
|
| 1482 |
+
'lightyellow',
|
| 1483 |
+
'linemargin',
|
| 1484 |
+
'lm_infmsg',
|
| 1485 |
+
'lm_shortmsg',
|
| 1486 |
+
'longdashdotted',
|
| 1487 |
+
'longdashed',
|
| 1488 |
+
'magenta',
|
| 1489 |
+
'magneticPoints',
|
| 1490 |
+
'magneticRadius',
|
| 1491 |
+
'mantissaBits',
|
| 1492 |
+
'markangleradius',
|
| 1493 |
+
'markangleradiusfactor',
|
| 1494 |
+
'markanglespace',
|
| 1495 |
+
'markanglespacefactor',
|
| 1496 |
+
'mediumblue',
|
| 1497 |
+
'mediumcyan',
|
| 1498 |
+
'mediumgray',
|
| 1499 |
+
'mediumgreen',
|
| 1500 |
+
'mediumgrey',
|
| 1501 |
+
'mediummagenta',
|
| 1502 |
+
'mediumred',
|
| 1503 |
+
'mediumyellow',
|
| 1504 |
+
'middle',
|
| 1505 |
+
'minDistDefault',
|
| 1506 |
+
'minblockheight',
|
| 1507 |
+
'minblockwidth',
|
| 1508 |
+
'mincirclediameter',
|
| 1509 |
+
'minipagemargin',
|
| 1510 |
+
'minipagewidth',
|
| 1511 |
+
'minvertexangle',
|
| 1512 |
+
'miterjoin',
|
| 1513 |
+
'mm',
|
| 1514 |
+
'momarrowfactor',
|
| 1515 |
+
'momarrowlength',
|
| 1516 |
+
'momarrowmargin',
|
| 1517 |
+
'momarrowoffset',
|
| 1518 |
+
'momarrowpen',
|
| 1519 |
+
'monoPen',
|
| 1520 |
+
'morepoints',
|
| 1521 |
+
'nCircle',
|
| 1522 |
+
'newbulletcolor',
|
| 1523 |
+
'ngraph',
|
| 1524 |
+
'nil',
|
| 1525 |
+
'nmesh',
|
| 1526 |
+
'nobasealign',
|
| 1527 |
+
'nodeMarginDefault',
|
| 1528 |
+
'nodesystem',
|
| 1529 |
+
'nomarker',
|
| 1530 |
+
'nopoint',
|
| 1531 |
+
'noprimary',
|
| 1532 |
+
'nullpath',
|
| 1533 |
+
'nullpen',
|
| 1534 |
+
'numarray',
|
| 1535 |
+
'ocgindex',
|
| 1536 |
+
'oldbulletcolor',
|
| 1537 |
+
'olive',
|
| 1538 |
+
'orange',
|
| 1539 |
+
'origin',
|
| 1540 |
+
'overpaint',
|
| 1541 |
+
'page',
|
| 1542 |
+
'pageheight',
|
| 1543 |
+
'pagemargin',
|
| 1544 |
+
'pagenumberalign',
|
| 1545 |
+
'pagenumberpen',
|
| 1546 |
+
'pagenumberposition',
|
| 1547 |
+
'pagewidth',
|
| 1548 |
+
'paleblue',
|
| 1549 |
+
'palecyan',
|
| 1550 |
+
'palegray',
|
| 1551 |
+
'palegreen',
|
| 1552 |
+
'palegrey',
|
| 1553 |
+
'palemagenta',
|
| 1554 |
+
'palered',
|
| 1555 |
+
'paleyellow',
|
| 1556 |
+
'parabolanodesnumberfactor',
|
| 1557 |
+
'perpfactor',
|
| 1558 |
+
'phi',
|
| 1559 |
+
'photonamplitude',
|
| 1560 |
+
'photonpen',
|
| 1561 |
+
'photonratio',
|
| 1562 |
+
'pi',
|
| 1563 |
+
'pink',
|
| 1564 |
+
'plain',
|
| 1565 |
+
'plus',
|
| 1566 |
+
'preamblenodes',
|
| 1567 |
+
'pt',
|
| 1568 |
+
'purple',
|
| 1569 |
+
'r3',
|
| 1570 |
+
'r4a',
|
| 1571 |
+
'r4b',
|
| 1572 |
+
'randMax',
|
| 1573 |
+
'realDigits',
|
| 1574 |
+
'realEpsilon',
|
| 1575 |
+
'realMax',
|
| 1576 |
+
'realMin',
|
| 1577 |
+
'red',
|
| 1578 |
+
'relativesystem',
|
| 1579 |
+
'reverse',
|
| 1580 |
+
'right',
|
| 1581 |
+
'roundcap',
|
| 1582 |
+
'roundjoin',
|
| 1583 |
+
'royalblue',
|
| 1584 |
+
'salmon',
|
| 1585 |
+
'saveFunctions',
|
| 1586 |
+
'scalarpen',
|
| 1587 |
+
'sequencereal',
|
| 1588 |
+
'settings',
|
| 1589 |
+
'shipped',
|
| 1590 |
+
'signedtrailingzero',
|
| 1591 |
+
'solid',
|
| 1592 |
+
'springgreen',
|
| 1593 |
+
'sqrtEpsilon',
|
| 1594 |
+
'squarecap',
|
| 1595 |
+
'squarepen',
|
| 1596 |
+
'startposition',
|
| 1597 |
+
'stdin',
|
| 1598 |
+
'stdout',
|
| 1599 |
+
'stepfactor',
|
| 1600 |
+
'stepfraction',
|
| 1601 |
+
'steppagenumberpen',
|
| 1602 |
+
'stepping',
|
| 1603 |
+
'stickframe',
|
| 1604 |
+
'stickmarksizefactor',
|
| 1605 |
+
'stickmarkspacefactor',
|
| 1606 |
+
'textpen',
|
| 1607 |
+
'ticksize',
|
| 1608 |
+
'tildeframe',
|
| 1609 |
+
'tildemarksizefactor',
|
| 1610 |
+
'tinv',
|
| 1611 |
+
'titlealign',
|
| 1612 |
+
'titlepagepen',
|
| 1613 |
+
'titlepageposition',
|
| 1614 |
+
'titlepen',
|
| 1615 |
+
'titleskip',
|
| 1616 |
+
'top',
|
| 1617 |
+
'trailingzero',
|
| 1618 |
+
'treeLevelStep',
|
| 1619 |
+
'treeMinNodeWidth',
|
| 1620 |
+
'treeNodeStep',
|
| 1621 |
+
'trembleAngle',
|
| 1622 |
+
'trembleFrequency',
|
| 1623 |
+
'trembleRandom',
|
| 1624 |
+
'tremblingMode',
|
| 1625 |
+
'undefined',
|
| 1626 |
+
'unitcircle',
|
| 1627 |
+
'unitsquare',
|
| 1628 |
+
'up',
|
| 1629 |
+
'urlpen',
|
| 1630 |
+
'urlskip',
|
| 1631 |
+
'version',
|
| 1632 |
+
'vertexpen',
|
| 1633 |
+
'vertexsize',
|
| 1634 |
+
'viewportmargin',
|
| 1635 |
+
'viewportsize',
|
| 1636 |
+
'vline',
|
| 1637 |
+
'white',
|
| 1638 |
+
'wye',
|
| 1639 |
+
'xformStack',
|
| 1640 |
+
'yellow',
|
| 1641 |
+
'ylabelwidth',
|
| 1642 |
+
'zerotickfuzz',
|
| 1643 |
+
'zerowinding'
|
| 1644 |
+
}
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_cl_builtins.py
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
BUILTIN_FUNCTIONS = { # 638 functions
|
| 12 |
+
'<', '<=', '=', '>', '>=', '-', '/', '/=', '*', '+', '1-', '1+',
|
| 13 |
+
'abort', 'abs', 'acons', 'acos', 'acosh', 'add-method', 'adjoin',
|
| 14 |
+
'adjustable-array-p', 'adjust-array', 'allocate-instance',
|
| 15 |
+
'alpha-char-p', 'alphanumericp', 'append', 'apply', 'apropos',
|
| 16 |
+
'apropos-list', 'aref', 'arithmetic-error-operands',
|
| 17 |
+
'arithmetic-error-operation', 'array-dimension', 'array-dimensions',
|
| 18 |
+
'array-displacement', 'array-element-type', 'array-has-fill-pointer-p',
|
| 19 |
+
'array-in-bounds-p', 'arrayp', 'array-rank', 'array-row-major-index',
|
| 20 |
+
'array-total-size', 'ash', 'asin', 'asinh', 'assoc', 'assoc-if',
|
| 21 |
+
'assoc-if-not', 'atan', 'atanh', 'atom', 'bit', 'bit-and', 'bit-andc1',
|
| 22 |
+
'bit-andc2', 'bit-eqv', 'bit-ior', 'bit-nand', 'bit-nor', 'bit-not',
|
| 23 |
+
'bit-orc1', 'bit-orc2', 'bit-vector-p', 'bit-xor', 'boole',
|
| 24 |
+
'both-case-p', 'boundp', 'break', 'broadcast-stream-streams',
|
| 25 |
+
'butlast', 'byte', 'byte-position', 'byte-size', 'caaaar', 'caaadr',
|
| 26 |
+
'caaar', 'caadar', 'caaddr', 'caadr', 'caar', 'cadaar', 'cadadr',
|
| 27 |
+
'cadar', 'caddar', 'cadddr', 'caddr', 'cadr', 'call-next-method', 'car',
|
| 28 |
+
'cdaaar', 'cdaadr', 'cdaar', 'cdadar', 'cdaddr', 'cdadr', 'cdar',
|
| 29 |
+
'cddaar', 'cddadr', 'cddar', 'cdddar', 'cddddr', 'cdddr', 'cddr', 'cdr',
|
| 30 |
+
'ceiling', 'cell-error-name', 'cerror', 'change-class', 'char', 'char<',
|
| 31 |
+
'char<=', 'char=', 'char>', 'char>=', 'char/=', 'character',
|
| 32 |
+
'characterp', 'char-code', 'char-downcase', 'char-equal',
|
| 33 |
+
'char-greaterp', 'char-int', 'char-lessp', 'char-name',
|
| 34 |
+
'char-not-equal', 'char-not-greaterp', 'char-not-lessp', 'char-upcase',
|
| 35 |
+
'cis', 'class-name', 'class-of', 'clear-input', 'clear-output',
|
| 36 |
+
'close', 'clrhash', 'code-char', 'coerce', 'compile',
|
| 37 |
+
'compiled-function-p', 'compile-file', 'compile-file-pathname',
|
| 38 |
+
'compiler-macro-function', 'complement', 'complex', 'complexp',
|
| 39 |
+
'compute-applicable-methods', 'compute-restarts', 'concatenate',
|
| 40 |
+
'concatenated-stream-streams', 'conjugate', 'cons', 'consp',
|
| 41 |
+
'constantly', 'constantp', 'continue', 'copy-alist', 'copy-list',
|
| 42 |
+
'copy-pprint-dispatch', 'copy-readtable', 'copy-seq', 'copy-structure',
|
| 43 |
+
'copy-symbol', 'copy-tree', 'cos', 'cosh', 'count', 'count-if',
|
| 44 |
+
'count-if-not', 'decode-float', 'decode-universal-time', 'delete',
|
| 45 |
+
'delete-duplicates', 'delete-file', 'delete-if', 'delete-if-not',
|
| 46 |
+
'delete-package', 'denominator', 'deposit-field', 'describe',
|
| 47 |
+
'describe-object', 'digit-char', 'digit-char-p', 'directory',
|
| 48 |
+
'directory-namestring', 'disassemble', 'documentation', 'dpb',
|
| 49 |
+
'dribble', 'echo-stream-input-stream', 'echo-stream-output-stream',
|
| 50 |
+
'ed', 'eighth', 'elt', 'encode-universal-time', 'endp',
|
| 51 |
+
'enough-namestring', 'ensure-directories-exist',
|
| 52 |
+
'ensure-generic-function', 'eq', 'eql', 'equal', 'equalp', 'error',
|
| 53 |
+
'eval', 'evenp', 'every', 'exp', 'export', 'expt', 'fboundp',
|
| 54 |
+
'fceiling', 'fdefinition', 'ffloor', 'fifth', 'file-author',
|
| 55 |
+
'file-error-pathname', 'file-length', 'file-namestring',
|
| 56 |
+
'file-position', 'file-string-length', 'file-write-date',
|
| 57 |
+
'fill', 'fill-pointer', 'find', 'find-all-symbols', 'find-class',
|
| 58 |
+
'find-if', 'find-if-not', 'find-method', 'find-package', 'find-restart',
|
| 59 |
+
'find-symbol', 'finish-output', 'first', 'float', 'float-digits',
|
| 60 |
+
'floatp', 'float-precision', 'float-radix', 'float-sign', 'floor',
|
| 61 |
+
'fmakunbound', 'force-output', 'format', 'fourth', 'fresh-line',
|
| 62 |
+
'fround', 'ftruncate', 'funcall', 'function-keywords',
|
| 63 |
+
'function-lambda-expression', 'functionp', 'gcd', 'gensym', 'gentemp',
|
| 64 |
+
'get', 'get-decoded-time', 'get-dispatch-macro-character', 'getf',
|
| 65 |
+
'gethash', 'get-internal-real-time', 'get-internal-run-time',
|
| 66 |
+
'get-macro-character', 'get-output-stream-string', 'get-properties',
|
| 67 |
+
'get-setf-expansion', 'get-universal-time', 'graphic-char-p',
|
| 68 |
+
'hash-table-count', 'hash-table-p', 'hash-table-rehash-size',
|
| 69 |
+
'hash-table-rehash-threshold', 'hash-table-size', 'hash-table-test',
|
| 70 |
+
'host-namestring', 'identity', 'imagpart', 'import',
|
| 71 |
+
'initialize-instance', 'input-stream-p', 'inspect',
|
| 72 |
+
'integer-decode-float', 'integer-length', 'integerp',
|
| 73 |
+
'interactive-stream-p', 'intern', 'intersection',
|
| 74 |
+
'invalid-method-error', 'invoke-debugger', 'invoke-restart',
|
| 75 |
+
'invoke-restart-interactively', 'isqrt', 'keywordp', 'last', 'lcm',
|
| 76 |
+
'ldb', 'ldb-test', 'ldiff', 'length', 'lisp-implementation-type',
|
| 77 |
+
'lisp-implementation-version', 'list', 'list*', 'list-all-packages',
|
| 78 |
+
'listen', 'list-length', 'listp', 'load',
|
| 79 |
+
'load-logical-pathname-translations', 'log', 'logand', 'logandc1',
|
| 80 |
+
'logandc2', 'logbitp', 'logcount', 'logeqv', 'logical-pathname',
|
| 81 |
+
'logical-pathname-translations', 'logior', 'lognand', 'lognor',
|
| 82 |
+
'lognot', 'logorc1', 'logorc2', 'logtest', 'logxor', 'long-site-name',
|
| 83 |
+
'lower-case-p', 'machine-instance', 'machine-type', 'machine-version',
|
| 84 |
+
'macroexpand', 'macroexpand-1', 'macro-function', 'make-array',
|
| 85 |
+
'make-broadcast-stream', 'make-concatenated-stream', 'make-condition',
|
| 86 |
+
'make-dispatch-macro-character', 'make-echo-stream', 'make-hash-table',
|
| 87 |
+
'make-instance', 'make-instances-obsolete', 'make-list',
|
| 88 |
+
'make-load-form', 'make-load-form-saving-slots', 'make-package',
|
| 89 |
+
'make-pathname', 'make-random-state', 'make-sequence', 'make-string',
|
| 90 |
+
'make-string-input-stream', 'make-string-output-stream', 'make-symbol',
|
| 91 |
+
'make-synonym-stream', 'make-two-way-stream', 'makunbound', 'map',
|
| 92 |
+
'mapc', 'mapcan', 'mapcar', 'mapcon', 'maphash', 'map-into', 'mapl',
|
| 93 |
+
'maplist', 'mask-field', 'max', 'member', 'member-if', 'member-if-not',
|
| 94 |
+
'merge', 'merge-pathnames', 'method-combination-error',
|
| 95 |
+
'method-qualifiers', 'min', 'minusp', 'mismatch', 'mod',
|
| 96 |
+
'muffle-warning', 'name-char', 'namestring', 'nbutlast', 'nconc',
|
| 97 |
+
'next-method-p', 'nintersection', 'ninth', 'no-applicable-method',
|
| 98 |
+
'no-next-method', 'not', 'notany', 'notevery', 'nreconc', 'nreverse',
|
| 99 |
+
'nset-difference', 'nset-exclusive-or', 'nstring-capitalize',
|
| 100 |
+
'nstring-downcase', 'nstring-upcase', 'nsublis', 'nsubst', 'nsubst-if',
|
| 101 |
+
'nsubst-if-not', 'nsubstitute', 'nsubstitute-if', 'nsubstitute-if-not',
|
| 102 |
+
'nth', 'nthcdr', 'null', 'numberp', 'numerator', 'nunion', 'oddp',
|
| 103 |
+
'open', 'open-stream-p', 'output-stream-p', 'package-error-package',
|
| 104 |
+
'package-name', 'package-nicknames', 'packagep',
|
| 105 |
+
'package-shadowing-symbols', 'package-used-by-list', 'package-use-list',
|
| 106 |
+
'pairlis', 'parse-integer', 'parse-namestring', 'pathname',
|
| 107 |
+
'pathname-device', 'pathname-directory', 'pathname-host',
|
| 108 |
+
'pathname-match-p', 'pathname-name', 'pathnamep', 'pathname-type',
|
| 109 |
+
'pathname-version', 'peek-char', 'phase', 'plusp', 'position',
|
| 110 |
+
'position-if', 'position-if-not', 'pprint', 'pprint-dispatch',
|
| 111 |
+
'pprint-fill', 'pprint-indent', 'pprint-linear', 'pprint-newline',
|
| 112 |
+
'pprint-tab', 'pprint-tabular', 'prin1', 'prin1-to-string', 'princ',
|
| 113 |
+
'princ-to-string', 'print', 'print-object', 'probe-file', 'proclaim',
|
| 114 |
+
'provide', 'random', 'random-state-p', 'rassoc', 'rassoc-if',
|
| 115 |
+
'rassoc-if-not', 'rational', 'rationalize', 'rationalp', 'read',
|
| 116 |
+
'read-byte', 'read-char', 'read-char-no-hang', 'read-delimited-list',
|
| 117 |
+
'read-from-string', 'read-line', 'read-preserving-whitespace',
|
| 118 |
+
'read-sequence', 'readtable-case', 'readtablep', 'realp', 'realpart',
|
| 119 |
+
'reduce', 'reinitialize-instance', 'rem', 'remhash', 'remove',
|
| 120 |
+
'remove-duplicates', 'remove-if', 'remove-if-not', 'remove-method',
|
| 121 |
+
'remprop', 'rename-file', 'rename-package', 'replace', 'require',
|
| 122 |
+
'rest', 'restart-name', 'revappend', 'reverse', 'room', 'round',
|
| 123 |
+
'row-major-aref', 'rplaca', 'rplacd', 'sbit', 'scale-float', 'schar',
|
| 124 |
+
'search', 'second', 'set', 'set-difference',
|
| 125 |
+
'set-dispatch-macro-character', 'set-exclusive-or',
|
| 126 |
+
'set-macro-character', 'set-pprint-dispatch', 'set-syntax-from-char',
|
| 127 |
+
'seventh', 'shadow', 'shadowing-import', 'shared-initialize',
|
| 128 |
+
'short-site-name', 'signal', 'signum', 'simple-bit-vector-p',
|
| 129 |
+
'simple-condition-format-arguments', 'simple-condition-format-control',
|
| 130 |
+
'simple-string-p', 'simple-vector-p', 'sin', 'sinh', 'sixth', 'sleep',
|
| 131 |
+
'slot-boundp', 'slot-exists-p', 'slot-makunbound', 'slot-missing',
|
| 132 |
+
'slot-unbound', 'slot-value', 'software-type', 'software-version',
|
| 133 |
+
'some', 'sort', 'special-operator-p', 'sqrt', 'stable-sort',
|
| 134 |
+
'standard-char-p', 'store-value', 'stream-element-type',
|
| 135 |
+
'stream-error-stream', 'stream-external-format', 'streamp', 'string',
|
| 136 |
+
'string<', 'string<=', 'string=', 'string>', 'string>=', 'string/=',
|
| 137 |
+
'string-capitalize', 'string-downcase', 'string-equal',
|
| 138 |
+
'string-greaterp', 'string-left-trim', 'string-lessp',
|
| 139 |
+
'string-not-equal', 'string-not-greaterp', 'string-not-lessp',
|
| 140 |
+
'stringp', 'string-right-trim', 'string-trim', 'string-upcase',
|
| 141 |
+
'sublis', 'subseq', 'subsetp', 'subst', 'subst-if', 'subst-if-not',
|
| 142 |
+
'substitute', 'substitute-if', 'substitute-if-not', 'subtypep','svref',
|
| 143 |
+
'sxhash', 'symbol-function', 'symbol-name', 'symbolp', 'symbol-package',
|
| 144 |
+
'symbol-plist', 'symbol-value', 'synonym-stream-symbol', 'syntax:',
|
| 145 |
+
'tailp', 'tan', 'tanh', 'tenth', 'terpri', 'third',
|
| 146 |
+
'translate-logical-pathname', 'translate-pathname', 'tree-equal',
|
| 147 |
+
'truename', 'truncate', 'two-way-stream-input-stream',
|
| 148 |
+
'two-way-stream-output-stream', 'type-error-datum',
|
| 149 |
+
'type-error-expected-type', 'type-of', 'typep', 'unbound-slot-instance',
|
| 150 |
+
'unexport', 'unintern', 'union', 'unread-char', 'unuse-package',
|
| 151 |
+
'update-instance-for-different-class',
|
| 152 |
+
'update-instance-for-redefined-class', 'upgraded-array-element-type',
|
| 153 |
+
'upgraded-complex-part-type', 'upper-case-p', 'use-package',
|
| 154 |
+
'user-homedir-pathname', 'use-value', 'values', 'values-list', 'vector',
|
| 155 |
+
'vectorp', 'vector-pop', 'vector-push', 'vector-push-extend', 'warn',
|
| 156 |
+
'wild-pathname-p', 'write', 'write-byte', 'write-char', 'write-line',
|
| 157 |
+
'write-sequence', 'write-string', 'write-to-string', 'yes-or-no-p',
|
| 158 |
+
'y-or-n-p', 'zerop',
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
SPECIAL_FORMS = {
|
| 162 |
+
'block', 'catch', 'declare', 'eval-when', 'flet', 'function', 'go', 'if',
|
| 163 |
+
'labels', 'lambda', 'let', 'let*', 'load-time-value', 'locally', 'macrolet',
|
| 164 |
+
'multiple-value-call', 'multiple-value-prog1', 'progn', 'progv', 'quote',
|
| 165 |
+
'return-from', 'setq', 'symbol-macrolet', 'tagbody', 'the', 'throw',
|
| 166 |
+
'unwind-protect',
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
MACROS = {
|
| 170 |
+
'and', 'assert', 'call-method', 'case', 'ccase', 'check-type', 'cond',
|
| 171 |
+
'ctypecase', 'decf', 'declaim', 'defclass', 'defconstant', 'defgeneric',
|
| 172 |
+
'define-compiler-macro', 'define-condition', 'define-method-combination',
|
| 173 |
+
'define-modify-macro', 'define-setf-expander', 'define-symbol-macro',
|
| 174 |
+
'defmacro', 'defmethod', 'defpackage', 'defparameter', 'defsetf',
|
| 175 |
+
'defstruct', 'deftype', 'defun', 'defvar', 'destructuring-bind', 'do',
|
| 176 |
+
'do*', 'do-all-symbols', 'do-external-symbols', 'dolist', 'do-symbols',
|
| 177 |
+
'dotimes', 'ecase', 'etypecase', 'formatter', 'handler-bind',
|
| 178 |
+
'handler-case', 'ignore-errors', 'incf', 'in-package', 'lambda', 'loop',
|
| 179 |
+
'loop-finish', 'make-method', 'multiple-value-bind', 'multiple-value-list',
|
| 180 |
+
'multiple-value-setq', 'nth-value', 'or', 'pop',
|
| 181 |
+
'pprint-exit-if-list-exhausted', 'pprint-logical-block', 'pprint-pop',
|
| 182 |
+
'print-unreadable-object', 'prog', 'prog*', 'prog1', 'prog2', 'psetf',
|
| 183 |
+
'psetq', 'push', 'pushnew', 'remf', 'restart-bind', 'restart-case',
|
| 184 |
+
'return', 'rotatef', 'setf', 'shiftf', 'step', 'time', 'trace', 'typecase',
|
| 185 |
+
'unless', 'untrace', 'when', 'with-accessors', 'with-compilation-unit',
|
| 186 |
+
'with-condition-restarts', 'with-hash-table-iterator',
|
| 187 |
+
'with-input-from-string', 'with-open-file', 'with-open-stream',
|
| 188 |
+
'with-output-to-string', 'with-package-iterator', 'with-simple-restart',
|
| 189 |
+
'with-slots', 'with-standard-io-syntax',
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
LAMBDA_LIST_KEYWORDS = {
|
| 193 |
+
'&allow-other-keys', '&aux', '&body', '&environment', '&key', '&optional',
|
| 194 |
+
'&rest', '&whole',
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
DECLARATIONS = {
|
| 198 |
+
'dynamic-extent', 'ignore', 'optimize', 'ftype', 'inline', 'special',
|
| 199 |
+
'ignorable', 'notinline', 'type',
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
BUILTIN_TYPES = {
|
| 203 |
+
'atom', 'boolean', 'base-char', 'base-string', 'bignum', 'bit',
|
| 204 |
+
'compiled-function', 'extended-char', 'fixnum', 'keyword', 'nil',
|
| 205 |
+
'signed-byte', 'short-float', 'single-float', 'double-float', 'long-float',
|
| 206 |
+
'simple-array', 'simple-base-string', 'simple-bit-vector', 'simple-string',
|
| 207 |
+
'simple-vector', 'standard-char', 'unsigned-byte',
|
| 208 |
+
|
| 209 |
+
# Condition Types
|
| 210 |
+
'arithmetic-error', 'cell-error', 'condition', 'control-error',
|
| 211 |
+
'division-by-zero', 'end-of-file', 'error', 'file-error',
|
| 212 |
+
'floating-point-inexact', 'floating-point-overflow',
|
| 213 |
+
'floating-point-underflow', 'floating-point-invalid-operation',
|
| 214 |
+
'parse-error', 'package-error', 'print-not-readable', 'program-error',
|
| 215 |
+
'reader-error', 'serious-condition', 'simple-condition', 'simple-error',
|
| 216 |
+
'simple-type-error', 'simple-warning', 'stream-error', 'storage-condition',
|
| 217 |
+
'style-warning', 'type-error', 'unbound-variable', 'unbound-slot',
|
| 218 |
+
'undefined-function', 'warning',
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
BUILTIN_CLASSES = {
|
| 222 |
+
'array', 'broadcast-stream', 'bit-vector', 'built-in-class', 'character',
|
| 223 |
+
'class', 'complex', 'concatenated-stream', 'cons', 'echo-stream',
|
| 224 |
+
'file-stream', 'float', 'function', 'generic-function', 'hash-table',
|
| 225 |
+
'integer', 'list', 'logical-pathname', 'method-combination', 'method',
|
| 226 |
+
'null', 'number', 'package', 'pathname', 'ratio', 'rational', 'readtable',
|
| 227 |
+
'real', 'random-state', 'restart', 'sequence', 'standard-class',
|
| 228 |
+
'standard-generic-function', 'standard-method', 'standard-object',
|
| 229 |
+
'string-stream', 'stream', 'string', 'structure-class', 'structure-object',
|
| 230 |
+
'symbol', 'synonym-stream', 't', 'two-way-stream', 'vector',
|
| 231 |
+
}
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_cocoa_builtins.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_csound_builtins.py
ADDED
|
@@ -0,0 +1,1780 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._csound_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 6 |
+
:license: BSD, see LICENSE for details.
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
REMOVED_OPCODES = set('''
|
| 10 |
+
OSCsendA
|
| 11 |
+
beadsynt
|
| 12 |
+
beosc
|
| 13 |
+
buchla
|
| 14 |
+
getrowlin
|
| 15 |
+
lua_exec
|
| 16 |
+
lua_iaopcall
|
| 17 |
+
lua_iaopcall_off
|
| 18 |
+
lua_ikopcall
|
| 19 |
+
lua_ikopcall_off
|
| 20 |
+
lua_iopcall
|
| 21 |
+
lua_iopcall_off
|
| 22 |
+
lua_opdef
|
| 23 |
+
mp3scal_check
|
| 24 |
+
mp3scal_load
|
| 25 |
+
mp3scal_load2
|
| 26 |
+
mp3scal_play
|
| 27 |
+
mp3scal_play2
|
| 28 |
+
pvsgendy
|
| 29 |
+
socksend_k
|
| 30 |
+
signalflowgraph
|
| 31 |
+
sumTableFilter
|
| 32 |
+
systime
|
| 33 |
+
tabrowlin
|
| 34 |
+
vbap1move
|
| 35 |
+
'''.split())
|
| 36 |
+
|
| 37 |
+
# Opcodes in Csound 6.18.0 using:
|
| 38 |
+
# python3 -c "
|
| 39 |
+
# import re
|
| 40 |
+
# from subprocess import Popen, PIPE
|
| 41 |
+
# output = Popen(['csound', '--list-opcodes0'], stderr=PIPE, text=True).communicate()[1]
|
| 42 |
+
# opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
|
| 43 |
+
# output = Popen(['csound', '--list-opcodes2'], stderr=PIPE, text=True).communicate()[1]
|
| 44 |
+
# all_opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
|
| 45 |
+
# deprecated_opcodes = [opcode for opcode in all_opcodes if opcode not in opcodes]
|
| 46 |
+
# # Remove opcodes that csound.py treats as keywords.
|
| 47 |
+
# keyword_opcodes = [
|
| 48 |
+
# 'cggoto', # https://csound.com/docs/manual/cggoto.html
|
| 49 |
+
# 'cigoto', # https://csound.com/docs/manual/cigoto.html
|
| 50 |
+
# 'cingoto', # (undocumented)
|
| 51 |
+
# 'ckgoto', # https://csound.com/docs/manual/ckgoto.html
|
| 52 |
+
# 'cngoto', # https://csound.com/docs/manual/cngoto.html
|
| 53 |
+
# 'cnkgoto', # (undocumented)
|
| 54 |
+
# 'endin', # https://csound.com/docs/manual/endin.html
|
| 55 |
+
# 'endop', # https://csound.com/docs/manual/endop.html
|
| 56 |
+
# 'goto', # https://csound.com/docs/manual/goto.html
|
| 57 |
+
# 'igoto', # https://csound.com/docs/manual/igoto.html
|
| 58 |
+
# 'instr', # https://csound.com/docs/manual/instr.html
|
| 59 |
+
# 'kgoto', # https://csound.com/docs/manual/kgoto.html
|
| 60 |
+
# 'loop_ge', # https://csound.com/docs/manual/loop_ge.html
|
| 61 |
+
# 'loop_gt', # https://csound.com/docs/manual/loop_gt.html
|
| 62 |
+
# 'loop_le', # https://csound.com/docs/manual/loop_le.html
|
| 63 |
+
# 'loop_lt', # https://csound.com/docs/manual/loop_lt.html
|
| 64 |
+
# 'opcode', # https://csound.com/docs/manual/opcode.html
|
| 65 |
+
# 'reinit', # https://csound.com/docs/manual/reinit.html
|
| 66 |
+
# 'return', # https://csound.com/docs/manual/return.html
|
| 67 |
+
# 'rireturn', # https://csound.com/docs/manual/rireturn.html
|
| 68 |
+
# 'rigoto', # https://csound.com/docs/manual/rigoto.html
|
| 69 |
+
# 'tigoto', # https://csound.com/docs/manual/tigoto.html
|
| 70 |
+
# 'timout' # https://csound.com/docs/manual/timout.html
|
| 71 |
+
# ]
|
| 72 |
+
# opcodes = [opcode for opcode in opcodes if opcode not in keyword_opcodes]
|
| 73 |
+
# newline = '\n'
|
| 74 |
+
# print(f'''OPCODES = set(\'''
|
| 75 |
+
# {newline.join(opcodes)}
|
| 76 |
+
# \'''.split())
|
| 77 |
+
#
|
| 78 |
+
# DEPRECATED_OPCODES = set(\'''
|
| 79 |
+
# {newline.join(deprecated_opcodes)}
|
| 80 |
+
# \'''.split())
|
| 81 |
+
# ''')
|
| 82 |
+
# "
|
| 83 |
+
|
| 84 |
+
OPCODES = set('''
|
| 85 |
+
ATSadd
|
| 86 |
+
ATSaddnz
|
| 87 |
+
ATSbufread
|
| 88 |
+
ATScross
|
| 89 |
+
ATSinfo
|
| 90 |
+
ATSinterpread
|
| 91 |
+
ATSpartialtap
|
| 92 |
+
ATSread
|
| 93 |
+
ATSreadnz
|
| 94 |
+
ATSsinnoi
|
| 95 |
+
FLbox
|
| 96 |
+
FLbutBank
|
| 97 |
+
FLbutton
|
| 98 |
+
FLcloseButton
|
| 99 |
+
FLcolor
|
| 100 |
+
FLcolor2
|
| 101 |
+
FLcount
|
| 102 |
+
FLexecButton
|
| 103 |
+
FLgetsnap
|
| 104 |
+
FLgroup
|
| 105 |
+
FLgroupEnd
|
| 106 |
+
FLgroup_end
|
| 107 |
+
FLhide
|
| 108 |
+
FLhvsBox
|
| 109 |
+
FLhvsBoxSetValue
|
| 110 |
+
FLjoy
|
| 111 |
+
FLkeyIn
|
| 112 |
+
FLknob
|
| 113 |
+
FLlabel
|
| 114 |
+
FLloadsnap
|
| 115 |
+
FLmouse
|
| 116 |
+
FLpack
|
| 117 |
+
FLpackEnd
|
| 118 |
+
FLpack_end
|
| 119 |
+
FLpanel
|
| 120 |
+
FLpanelEnd
|
| 121 |
+
FLpanel_end
|
| 122 |
+
FLprintk
|
| 123 |
+
FLprintk2
|
| 124 |
+
FLroller
|
| 125 |
+
FLrun
|
| 126 |
+
FLsavesnap
|
| 127 |
+
FLscroll
|
| 128 |
+
FLscrollEnd
|
| 129 |
+
FLscroll_end
|
| 130 |
+
FLsetAlign
|
| 131 |
+
FLsetBox
|
| 132 |
+
FLsetColor
|
| 133 |
+
FLsetColor2
|
| 134 |
+
FLsetFont
|
| 135 |
+
FLsetPosition
|
| 136 |
+
FLsetSize
|
| 137 |
+
FLsetSnapGroup
|
| 138 |
+
FLsetText
|
| 139 |
+
FLsetTextColor
|
| 140 |
+
FLsetTextSize
|
| 141 |
+
FLsetTextType
|
| 142 |
+
FLsetVal
|
| 143 |
+
FLsetVal_i
|
| 144 |
+
FLsetVali
|
| 145 |
+
FLsetsnap
|
| 146 |
+
FLshow
|
| 147 |
+
FLslidBnk
|
| 148 |
+
FLslidBnk2
|
| 149 |
+
FLslidBnk2Set
|
| 150 |
+
FLslidBnk2Setk
|
| 151 |
+
FLslidBnkGetHandle
|
| 152 |
+
FLslidBnkSet
|
| 153 |
+
FLslidBnkSetk
|
| 154 |
+
FLslider
|
| 155 |
+
FLtabs
|
| 156 |
+
FLtabsEnd
|
| 157 |
+
FLtabs_end
|
| 158 |
+
FLtext
|
| 159 |
+
FLupdate
|
| 160 |
+
FLvalue
|
| 161 |
+
FLvkeybd
|
| 162 |
+
FLvslidBnk
|
| 163 |
+
FLvslidBnk2
|
| 164 |
+
FLxyin
|
| 165 |
+
JackoAudioIn
|
| 166 |
+
JackoAudioInConnect
|
| 167 |
+
JackoAudioOut
|
| 168 |
+
JackoAudioOutConnect
|
| 169 |
+
JackoFreewheel
|
| 170 |
+
JackoInfo
|
| 171 |
+
JackoInit
|
| 172 |
+
JackoMidiInConnect
|
| 173 |
+
JackoMidiOut
|
| 174 |
+
JackoMidiOutConnect
|
| 175 |
+
JackoNoteOut
|
| 176 |
+
JackoOn
|
| 177 |
+
JackoTransport
|
| 178 |
+
K35_hpf
|
| 179 |
+
K35_lpf
|
| 180 |
+
MixerClear
|
| 181 |
+
MixerGetLevel
|
| 182 |
+
MixerReceive
|
| 183 |
+
MixerSend
|
| 184 |
+
MixerSetLevel
|
| 185 |
+
MixerSetLevel_i
|
| 186 |
+
OSCbundle
|
| 187 |
+
OSCcount
|
| 188 |
+
OSCinit
|
| 189 |
+
OSCinitM
|
| 190 |
+
OSClisten
|
| 191 |
+
OSCraw
|
| 192 |
+
OSCsend
|
| 193 |
+
OSCsend_lo
|
| 194 |
+
S
|
| 195 |
+
STKBandedWG
|
| 196 |
+
STKBeeThree
|
| 197 |
+
STKBlowBotl
|
| 198 |
+
STKBlowHole
|
| 199 |
+
STKBowed
|
| 200 |
+
STKBrass
|
| 201 |
+
STKClarinet
|
| 202 |
+
STKDrummer
|
| 203 |
+
STKFMVoices
|
| 204 |
+
STKFlute
|
| 205 |
+
STKHevyMetl
|
| 206 |
+
STKMandolin
|
| 207 |
+
STKModalBar
|
| 208 |
+
STKMoog
|
| 209 |
+
STKPercFlut
|
| 210 |
+
STKPlucked
|
| 211 |
+
STKResonate
|
| 212 |
+
STKRhodey
|
| 213 |
+
STKSaxofony
|
| 214 |
+
STKShakers
|
| 215 |
+
STKSimple
|
| 216 |
+
STKSitar
|
| 217 |
+
STKStifKarp
|
| 218 |
+
STKTubeBell
|
| 219 |
+
STKVoicForm
|
| 220 |
+
STKWhistle
|
| 221 |
+
STKWurley
|
| 222 |
+
a
|
| 223 |
+
abs
|
| 224 |
+
active
|
| 225 |
+
adsr
|
| 226 |
+
adsyn
|
| 227 |
+
adsynt
|
| 228 |
+
adsynt2
|
| 229 |
+
aftouch
|
| 230 |
+
allpole
|
| 231 |
+
alpass
|
| 232 |
+
alwayson
|
| 233 |
+
ampdb
|
| 234 |
+
ampdbfs
|
| 235 |
+
ampmidi
|
| 236 |
+
ampmidicurve
|
| 237 |
+
ampmidid
|
| 238 |
+
apoleparams
|
| 239 |
+
arduinoRead
|
| 240 |
+
arduinoReadF
|
| 241 |
+
arduinoStart
|
| 242 |
+
arduinoStop
|
| 243 |
+
areson
|
| 244 |
+
aresonk
|
| 245 |
+
atone
|
| 246 |
+
atonek
|
| 247 |
+
atonex
|
| 248 |
+
autocorr
|
| 249 |
+
babo
|
| 250 |
+
balance
|
| 251 |
+
balance2
|
| 252 |
+
bamboo
|
| 253 |
+
barmodel
|
| 254 |
+
bbcutm
|
| 255 |
+
bbcuts
|
| 256 |
+
betarand
|
| 257 |
+
bexprnd
|
| 258 |
+
bformdec1
|
| 259 |
+
bformdec2
|
| 260 |
+
bformenc1
|
| 261 |
+
binit
|
| 262 |
+
biquad
|
| 263 |
+
biquada
|
| 264 |
+
birnd
|
| 265 |
+
bob
|
| 266 |
+
bpf
|
| 267 |
+
bpfcos
|
| 268 |
+
bqrez
|
| 269 |
+
butbp
|
| 270 |
+
butbr
|
| 271 |
+
buthp
|
| 272 |
+
butlp
|
| 273 |
+
butterbp
|
| 274 |
+
butterbr
|
| 275 |
+
butterhp
|
| 276 |
+
butterlp
|
| 277 |
+
button
|
| 278 |
+
buzz
|
| 279 |
+
c2r
|
| 280 |
+
cabasa
|
| 281 |
+
cauchy
|
| 282 |
+
cauchyi
|
| 283 |
+
cbrt
|
| 284 |
+
ceil
|
| 285 |
+
cell
|
| 286 |
+
cent
|
| 287 |
+
centroid
|
| 288 |
+
ceps
|
| 289 |
+
cepsinv
|
| 290 |
+
chanctrl
|
| 291 |
+
changed
|
| 292 |
+
changed2
|
| 293 |
+
chani
|
| 294 |
+
chano
|
| 295 |
+
chebyshevpoly
|
| 296 |
+
checkbox
|
| 297 |
+
chn_S
|
| 298 |
+
chn_a
|
| 299 |
+
chn_k
|
| 300 |
+
chnclear
|
| 301 |
+
chnexport
|
| 302 |
+
chnget
|
| 303 |
+
chngeta
|
| 304 |
+
chngeti
|
| 305 |
+
chngetk
|
| 306 |
+
chngetks
|
| 307 |
+
chngets
|
| 308 |
+
chnmix
|
| 309 |
+
chnparams
|
| 310 |
+
chnset
|
| 311 |
+
chnseta
|
| 312 |
+
chnseti
|
| 313 |
+
chnsetk
|
| 314 |
+
chnsetks
|
| 315 |
+
chnsets
|
| 316 |
+
chuap
|
| 317 |
+
clear
|
| 318 |
+
clfilt
|
| 319 |
+
clip
|
| 320 |
+
clockoff
|
| 321 |
+
clockon
|
| 322 |
+
cmp
|
| 323 |
+
cmplxprod
|
| 324 |
+
cntCreate
|
| 325 |
+
cntCycles
|
| 326 |
+
cntDelete
|
| 327 |
+
cntDelete_i
|
| 328 |
+
cntRead
|
| 329 |
+
cntReset
|
| 330 |
+
cntState
|
| 331 |
+
comb
|
| 332 |
+
combinv
|
| 333 |
+
compilecsd
|
| 334 |
+
compileorc
|
| 335 |
+
compilestr
|
| 336 |
+
compress
|
| 337 |
+
compress2
|
| 338 |
+
connect
|
| 339 |
+
control
|
| 340 |
+
convle
|
| 341 |
+
convolve
|
| 342 |
+
copya2ftab
|
| 343 |
+
copyf2array
|
| 344 |
+
cos
|
| 345 |
+
cosh
|
| 346 |
+
cosinv
|
| 347 |
+
cosseg
|
| 348 |
+
cossegb
|
| 349 |
+
cossegr
|
| 350 |
+
count
|
| 351 |
+
count_i
|
| 352 |
+
cps2pch
|
| 353 |
+
cpsmidi
|
| 354 |
+
cpsmidib
|
| 355 |
+
cpsmidinn
|
| 356 |
+
cpsoct
|
| 357 |
+
cpspch
|
| 358 |
+
cpstmid
|
| 359 |
+
cpstun
|
| 360 |
+
cpstuni
|
| 361 |
+
cpsxpch
|
| 362 |
+
cpumeter
|
| 363 |
+
cpuprc
|
| 364 |
+
cross2
|
| 365 |
+
crossfm
|
| 366 |
+
crossfmi
|
| 367 |
+
crossfmpm
|
| 368 |
+
crossfmpmi
|
| 369 |
+
crosspm
|
| 370 |
+
crosspmi
|
| 371 |
+
crunch
|
| 372 |
+
ctlchn
|
| 373 |
+
ctrl14
|
| 374 |
+
ctrl21
|
| 375 |
+
ctrl7
|
| 376 |
+
ctrlinit
|
| 377 |
+
ctrlpreset
|
| 378 |
+
ctrlprint
|
| 379 |
+
ctrlprintpresets
|
| 380 |
+
ctrlsave
|
| 381 |
+
ctrlselect
|
| 382 |
+
cuserrnd
|
| 383 |
+
dam
|
| 384 |
+
date
|
| 385 |
+
dates
|
| 386 |
+
db
|
| 387 |
+
dbamp
|
| 388 |
+
dbfsamp
|
| 389 |
+
dcblock
|
| 390 |
+
dcblock2
|
| 391 |
+
dconv
|
| 392 |
+
dct
|
| 393 |
+
dctinv
|
| 394 |
+
deinterleave
|
| 395 |
+
delay
|
| 396 |
+
delay1
|
| 397 |
+
delayk
|
| 398 |
+
delayr
|
| 399 |
+
delayw
|
| 400 |
+
deltap
|
| 401 |
+
deltap3
|
| 402 |
+
deltapi
|
| 403 |
+
deltapn
|
| 404 |
+
deltapx
|
| 405 |
+
deltapxw
|
| 406 |
+
denorm
|
| 407 |
+
diff
|
| 408 |
+
diode_ladder
|
| 409 |
+
directory
|
| 410 |
+
diskgrain
|
| 411 |
+
diskin
|
| 412 |
+
diskin2
|
| 413 |
+
dispfft
|
| 414 |
+
display
|
| 415 |
+
distort
|
| 416 |
+
distort1
|
| 417 |
+
divz
|
| 418 |
+
doppler
|
| 419 |
+
dot
|
| 420 |
+
downsamp
|
| 421 |
+
dripwater
|
| 422 |
+
dssiactivate
|
| 423 |
+
dssiaudio
|
| 424 |
+
dssictls
|
| 425 |
+
dssiinit
|
| 426 |
+
dssilist
|
| 427 |
+
dumpk
|
| 428 |
+
dumpk2
|
| 429 |
+
dumpk3
|
| 430 |
+
dumpk4
|
| 431 |
+
duserrnd
|
| 432 |
+
dust
|
| 433 |
+
dust2
|
| 434 |
+
elapsedcycles
|
| 435 |
+
elapsedtime
|
| 436 |
+
envlpx
|
| 437 |
+
envlpxr
|
| 438 |
+
ephasor
|
| 439 |
+
eqfil
|
| 440 |
+
evalstr
|
| 441 |
+
event
|
| 442 |
+
event_i
|
| 443 |
+
eventcycles
|
| 444 |
+
eventtime
|
| 445 |
+
exciter
|
| 446 |
+
exitnow
|
| 447 |
+
exp
|
| 448 |
+
expcurve
|
| 449 |
+
expon
|
| 450 |
+
exprand
|
| 451 |
+
exprandi
|
| 452 |
+
expseg
|
| 453 |
+
expsega
|
| 454 |
+
expsegb
|
| 455 |
+
expsegba
|
| 456 |
+
expsegr
|
| 457 |
+
fareylen
|
| 458 |
+
fareyleni
|
| 459 |
+
faustaudio
|
| 460 |
+
faustcompile
|
| 461 |
+
faustctl
|
| 462 |
+
faustdsp
|
| 463 |
+
faustgen
|
| 464 |
+
faustplay
|
| 465 |
+
fft
|
| 466 |
+
fftinv
|
| 467 |
+
ficlose
|
| 468 |
+
filebit
|
| 469 |
+
filelen
|
| 470 |
+
filenchnls
|
| 471 |
+
filepeak
|
| 472 |
+
filescal
|
| 473 |
+
filesr
|
| 474 |
+
filevalid
|
| 475 |
+
fillarray
|
| 476 |
+
filter2
|
| 477 |
+
fin
|
| 478 |
+
fini
|
| 479 |
+
fink
|
| 480 |
+
fiopen
|
| 481 |
+
flanger
|
| 482 |
+
flashtxt
|
| 483 |
+
flooper
|
| 484 |
+
flooper2
|
| 485 |
+
floor
|
| 486 |
+
fluidAllOut
|
| 487 |
+
fluidCCi
|
| 488 |
+
fluidCCk
|
| 489 |
+
fluidControl
|
| 490 |
+
fluidEngine
|
| 491 |
+
fluidInfo
|
| 492 |
+
fluidLoad
|
| 493 |
+
fluidNote
|
| 494 |
+
fluidOut
|
| 495 |
+
fluidProgramSelect
|
| 496 |
+
fluidSetInterpMethod
|
| 497 |
+
fmanal
|
| 498 |
+
fmax
|
| 499 |
+
fmb3
|
| 500 |
+
fmbell
|
| 501 |
+
fmin
|
| 502 |
+
fmmetal
|
| 503 |
+
fmod
|
| 504 |
+
fmpercfl
|
| 505 |
+
fmrhode
|
| 506 |
+
fmvoice
|
| 507 |
+
fmwurlie
|
| 508 |
+
fof
|
| 509 |
+
fof2
|
| 510 |
+
fofilter
|
| 511 |
+
fog
|
| 512 |
+
fold
|
| 513 |
+
follow
|
| 514 |
+
follow2
|
| 515 |
+
foscil
|
| 516 |
+
foscili
|
| 517 |
+
fout
|
| 518 |
+
fouti
|
| 519 |
+
foutir
|
| 520 |
+
foutk
|
| 521 |
+
fprintks
|
| 522 |
+
fprints
|
| 523 |
+
frac
|
| 524 |
+
fractalnoise
|
| 525 |
+
framebuffer
|
| 526 |
+
freeverb
|
| 527 |
+
ftaudio
|
| 528 |
+
ftchnls
|
| 529 |
+
ftconv
|
| 530 |
+
ftcps
|
| 531 |
+
ftexists
|
| 532 |
+
ftfree
|
| 533 |
+
ftgen
|
| 534 |
+
ftgenonce
|
| 535 |
+
ftgentmp
|
| 536 |
+
ftlen
|
| 537 |
+
ftload
|
| 538 |
+
ftloadk
|
| 539 |
+
ftlptim
|
| 540 |
+
ftmorf
|
| 541 |
+
ftom
|
| 542 |
+
ftprint
|
| 543 |
+
ftresize
|
| 544 |
+
ftresizei
|
| 545 |
+
ftsamplebank
|
| 546 |
+
ftsave
|
| 547 |
+
ftsavek
|
| 548 |
+
ftset
|
| 549 |
+
ftslice
|
| 550 |
+
ftslicei
|
| 551 |
+
ftsr
|
| 552 |
+
gain
|
| 553 |
+
gainslider
|
| 554 |
+
gauss
|
| 555 |
+
gaussi
|
| 556 |
+
gausstrig
|
| 557 |
+
gbuzz
|
| 558 |
+
genarray
|
| 559 |
+
genarray_i
|
| 560 |
+
gendy
|
| 561 |
+
gendyc
|
| 562 |
+
gendyx
|
| 563 |
+
getcfg
|
| 564 |
+
getcol
|
| 565 |
+
getftargs
|
| 566 |
+
getrow
|
| 567 |
+
getseed
|
| 568 |
+
gogobel
|
| 569 |
+
grain
|
| 570 |
+
grain2
|
| 571 |
+
grain3
|
| 572 |
+
granule
|
| 573 |
+
gtadsr
|
| 574 |
+
gtf
|
| 575 |
+
guiro
|
| 576 |
+
harmon
|
| 577 |
+
harmon2
|
| 578 |
+
harmon3
|
| 579 |
+
harmon4
|
| 580 |
+
hdf5read
|
| 581 |
+
hdf5write
|
| 582 |
+
hilbert
|
| 583 |
+
hilbert2
|
| 584 |
+
hrtfearly
|
| 585 |
+
hrtfmove
|
| 586 |
+
hrtfmove2
|
| 587 |
+
hrtfreverb
|
| 588 |
+
hrtfstat
|
| 589 |
+
hsboscil
|
| 590 |
+
hvs1
|
| 591 |
+
hvs2
|
| 592 |
+
hvs3
|
| 593 |
+
hypot
|
| 594 |
+
i
|
| 595 |
+
ihold
|
| 596 |
+
imagecreate
|
| 597 |
+
imagefree
|
| 598 |
+
imagegetpixel
|
| 599 |
+
imageload
|
| 600 |
+
imagesave
|
| 601 |
+
imagesetpixel
|
| 602 |
+
imagesize
|
| 603 |
+
in
|
| 604 |
+
in32
|
| 605 |
+
inch
|
| 606 |
+
inh
|
| 607 |
+
init
|
| 608 |
+
initc14
|
| 609 |
+
initc21
|
| 610 |
+
initc7
|
| 611 |
+
inleta
|
| 612 |
+
inletf
|
| 613 |
+
inletk
|
| 614 |
+
inletkid
|
| 615 |
+
inletv
|
| 616 |
+
ino
|
| 617 |
+
inq
|
| 618 |
+
inrg
|
| 619 |
+
ins
|
| 620 |
+
insglobal
|
| 621 |
+
insremot
|
| 622 |
+
int
|
| 623 |
+
integ
|
| 624 |
+
interleave
|
| 625 |
+
interp
|
| 626 |
+
invalue
|
| 627 |
+
inx
|
| 628 |
+
inz
|
| 629 |
+
jacktransport
|
| 630 |
+
jitter
|
| 631 |
+
jitter2
|
| 632 |
+
joystick
|
| 633 |
+
jspline
|
| 634 |
+
k
|
| 635 |
+
la_i_add_mc
|
| 636 |
+
la_i_add_mr
|
| 637 |
+
la_i_add_vc
|
| 638 |
+
la_i_add_vr
|
| 639 |
+
la_i_assign_mc
|
| 640 |
+
la_i_assign_mr
|
| 641 |
+
la_i_assign_t
|
| 642 |
+
la_i_assign_vc
|
| 643 |
+
la_i_assign_vr
|
| 644 |
+
la_i_conjugate_mc
|
| 645 |
+
la_i_conjugate_mr
|
| 646 |
+
la_i_conjugate_vc
|
| 647 |
+
la_i_conjugate_vr
|
| 648 |
+
la_i_distance_vc
|
| 649 |
+
la_i_distance_vr
|
| 650 |
+
la_i_divide_mc
|
| 651 |
+
la_i_divide_mr
|
| 652 |
+
la_i_divide_vc
|
| 653 |
+
la_i_divide_vr
|
| 654 |
+
la_i_dot_mc
|
| 655 |
+
la_i_dot_mc_vc
|
| 656 |
+
la_i_dot_mr
|
| 657 |
+
la_i_dot_mr_vr
|
| 658 |
+
la_i_dot_vc
|
| 659 |
+
la_i_dot_vr
|
| 660 |
+
la_i_get_mc
|
| 661 |
+
la_i_get_mr
|
| 662 |
+
la_i_get_vc
|
| 663 |
+
la_i_get_vr
|
| 664 |
+
la_i_invert_mc
|
| 665 |
+
la_i_invert_mr
|
| 666 |
+
la_i_lower_solve_mc
|
| 667 |
+
la_i_lower_solve_mr
|
| 668 |
+
la_i_lu_det_mc
|
| 669 |
+
la_i_lu_det_mr
|
| 670 |
+
la_i_lu_factor_mc
|
| 671 |
+
la_i_lu_factor_mr
|
| 672 |
+
la_i_lu_solve_mc
|
| 673 |
+
la_i_lu_solve_mr
|
| 674 |
+
la_i_mc_create
|
| 675 |
+
la_i_mc_set
|
| 676 |
+
la_i_mr_create
|
| 677 |
+
la_i_mr_set
|
| 678 |
+
la_i_multiply_mc
|
| 679 |
+
la_i_multiply_mr
|
| 680 |
+
la_i_multiply_vc
|
| 681 |
+
la_i_multiply_vr
|
| 682 |
+
la_i_norm1_mc
|
| 683 |
+
la_i_norm1_mr
|
| 684 |
+
la_i_norm1_vc
|
| 685 |
+
la_i_norm1_vr
|
| 686 |
+
la_i_norm_euclid_mc
|
| 687 |
+
la_i_norm_euclid_mr
|
| 688 |
+
la_i_norm_euclid_vc
|
| 689 |
+
la_i_norm_euclid_vr
|
| 690 |
+
la_i_norm_inf_mc
|
| 691 |
+
la_i_norm_inf_mr
|
| 692 |
+
la_i_norm_inf_vc
|
| 693 |
+
la_i_norm_inf_vr
|
| 694 |
+
la_i_norm_max_mc
|
| 695 |
+
la_i_norm_max_mr
|
| 696 |
+
la_i_print_mc
|
| 697 |
+
la_i_print_mr
|
| 698 |
+
la_i_print_vc
|
| 699 |
+
la_i_print_vr
|
| 700 |
+
la_i_qr_eigen_mc
|
| 701 |
+
la_i_qr_eigen_mr
|
| 702 |
+
la_i_qr_factor_mc
|
| 703 |
+
la_i_qr_factor_mr
|
| 704 |
+
la_i_qr_sym_eigen_mc
|
| 705 |
+
la_i_qr_sym_eigen_mr
|
| 706 |
+
la_i_random_mc
|
| 707 |
+
la_i_random_mr
|
| 708 |
+
la_i_random_vc
|
| 709 |
+
la_i_random_vr
|
| 710 |
+
la_i_size_mc
|
| 711 |
+
la_i_size_mr
|
| 712 |
+
la_i_size_vc
|
| 713 |
+
la_i_size_vr
|
| 714 |
+
la_i_subtract_mc
|
| 715 |
+
la_i_subtract_mr
|
| 716 |
+
la_i_subtract_vc
|
| 717 |
+
la_i_subtract_vr
|
| 718 |
+
la_i_t_assign
|
| 719 |
+
la_i_trace_mc
|
| 720 |
+
la_i_trace_mr
|
| 721 |
+
la_i_transpose_mc
|
| 722 |
+
la_i_transpose_mr
|
| 723 |
+
la_i_upper_solve_mc
|
| 724 |
+
la_i_upper_solve_mr
|
| 725 |
+
la_i_vc_create
|
| 726 |
+
la_i_vc_set
|
| 727 |
+
la_i_vr_create
|
| 728 |
+
la_i_vr_set
|
| 729 |
+
la_k_a_assign
|
| 730 |
+
la_k_add_mc
|
| 731 |
+
la_k_add_mr
|
| 732 |
+
la_k_add_vc
|
| 733 |
+
la_k_add_vr
|
| 734 |
+
la_k_assign_a
|
| 735 |
+
la_k_assign_f
|
| 736 |
+
la_k_assign_mc
|
| 737 |
+
la_k_assign_mr
|
| 738 |
+
la_k_assign_t
|
| 739 |
+
la_k_assign_vc
|
| 740 |
+
la_k_assign_vr
|
| 741 |
+
la_k_conjugate_mc
|
| 742 |
+
la_k_conjugate_mr
|
| 743 |
+
la_k_conjugate_vc
|
| 744 |
+
la_k_conjugate_vr
|
| 745 |
+
la_k_current_f
|
| 746 |
+
la_k_current_vr
|
| 747 |
+
la_k_distance_vc
|
| 748 |
+
la_k_distance_vr
|
| 749 |
+
la_k_divide_mc
|
| 750 |
+
la_k_divide_mr
|
| 751 |
+
la_k_divide_vc
|
| 752 |
+
la_k_divide_vr
|
| 753 |
+
la_k_dot_mc
|
| 754 |
+
la_k_dot_mc_vc
|
| 755 |
+
la_k_dot_mr
|
| 756 |
+
la_k_dot_mr_vr
|
| 757 |
+
la_k_dot_vc
|
| 758 |
+
la_k_dot_vr
|
| 759 |
+
la_k_f_assign
|
| 760 |
+
la_k_get_mc
|
| 761 |
+
la_k_get_mr
|
| 762 |
+
la_k_get_vc
|
| 763 |
+
la_k_get_vr
|
| 764 |
+
la_k_invert_mc
|
| 765 |
+
la_k_invert_mr
|
| 766 |
+
la_k_lower_solve_mc
|
| 767 |
+
la_k_lower_solve_mr
|
| 768 |
+
la_k_lu_det_mc
|
| 769 |
+
la_k_lu_det_mr
|
| 770 |
+
la_k_lu_factor_mc
|
| 771 |
+
la_k_lu_factor_mr
|
| 772 |
+
la_k_lu_solve_mc
|
| 773 |
+
la_k_lu_solve_mr
|
| 774 |
+
la_k_mc_set
|
| 775 |
+
la_k_mr_set
|
| 776 |
+
la_k_multiply_mc
|
| 777 |
+
la_k_multiply_mr
|
| 778 |
+
la_k_multiply_vc
|
| 779 |
+
la_k_multiply_vr
|
| 780 |
+
la_k_norm1_mc
|
| 781 |
+
la_k_norm1_mr
|
| 782 |
+
la_k_norm1_vc
|
| 783 |
+
la_k_norm1_vr
|
| 784 |
+
la_k_norm_euclid_mc
|
| 785 |
+
la_k_norm_euclid_mr
|
| 786 |
+
la_k_norm_euclid_vc
|
| 787 |
+
la_k_norm_euclid_vr
|
| 788 |
+
la_k_norm_inf_mc
|
| 789 |
+
la_k_norm_inf_mr
|
| 790 |
+
la_k_norm_inf_vc
|
| 791 |
+
la_k_norm_inf_vr
|
| 792 |
+
la_k_norm_max_mc
|
| 793 |
+
la_k_norm_max_mr
|
| 794 |
+
la_k_qr_eigen_mc
|
| 795 |
+
la_k_qr_eigen_mr
|
| 796 |
+
la_k_qr_factor_mc
|
| 797 |
+
la_k_qr_factor_mr
|
| 798 |
+
la_k_qr_sym_eigen_mc
|
| 799 |
+
la_k_qr_sym_eigen_mr
|
| 800 |
+
la_k_random_mc
|
| 801 |
+
la_k_random_mr
|
| 802 |
+
la_k_random_vc
|
| 803 |
+
la_k_random_vr
|
| 804 |
+
la_k_subtract_mc
|
| 805 |
+
la_k_subtract_mr
|
| 806 |
+
la_k_subtract_vc
|
| 807 |
+
la_k_subtract_vr
|
| 808 |
+
la_k_t_assign
|
| 809 |
+
la_k_trace_mc
|
| 810 |
+
la_k_trace_mr
|
| 811 |
+
la_k_upper_solve_mc
|
| 812 |
+
la_k_upper_solve_mr
|
| 813 |
+
la_k_vc_set
|
| 814 |
+
la_k_vr_set
|
| 815 |
+
lag
|
| 816 |
+
lagud
|
| 817 |
+
lastcycle
|
| 818 |
+
lenarray
|
| 819 |
+
lfo
|
| 820 |
+
lfsr
|
| 821 |
+
limit
|
| 822 |
+
limit1
|
| 823 |
+
lincos
|
| 824 |
+
line
|
| 825 |
+
linen
|
| 826 |
+
linenr
|
| 827 |
+
lineto
|
| 828 |
+
link_beat_force
|
| 829 |
+
link_beat_get
|
| 830 |
+
link_beat_request
|
| 831 |
+
link_create
|
| 832 |
+
link_enable
|
| 833 |
+
link_is_enabled
|
| 834 |
+
link_metro
|
| 835 |
+
link_peers
|
| 836 |
+
link_tempo_get
|
| 837 |
+
link_tempo_set
|
| 838 |
+
linlin
|
| 839 |
+
linrand
|
| 840 |
+
linseg
|
| 841 |
+
linsegb
|
| 842 |
+
linsegr
|
| 843 |
+
liveconv
|
| 844 |
+
locsend
|
| 845 |
+
locsig
|
| 846 |
+
log
|
| 847 |
+
log10
|
| 848 |
+
log2
|
| 849 |
+
logbtwo
|
| 850 |
+
logcurve
|
| 851 |
+
loopseg
|
| 852 |
+
loopsegp
|
| 853 |
+
looptseg
|
| 854 |
+
loopxseg
|
| 855 |
+
lorenz
|
| 856 |
+
loscil
|
| 857 |
+
loscil3
|
| 858 |
+
loscil3phs
|
| 859 |
+
loscilphs
|
| 860 |
+
loscilx
|
| 861 |
+
lowpass2
|
| 862 |
+
lowres
|
| 863 |
+
lowresx
|
| 864 |
+
lpcanal
|
| 865 |
+
lpcfilter
|
| 866 |
+
lpf18
|
| 867 |
+
lpform
|
| 868 |
+
lpfreson
|
| 869 |
+
lphasor
|
| 870 |
+
lpinterp
|
| 871 |
+
lposcil
|
| 872 |
+
lposcil3
|
| 873 |
+
lposcila
|
| 874 |
+
lposcilsa
|
| 875 |
+
lposcilsa2
|
| 876 |
+
lpread
|
| 877 |
+
lpreson
|
| 878 |
+
lpshold
|
| 879 |
+
lpsholdp
|
| 880 |
+
lpslot
|
| 881 |
+
lufs
|
| 882 |
+
mac
|
| 883 |
+
maca
|
| 884 |
+
madsr
|
| 885 |
+
mags
|
| 886 |
+
mandel
|
| 887 |
+
mandol
|
| 888 |
+
maparray
|
| 889 |
+
maparray_i
|
| 890 |
+
marimba
|
| 891 |
+
massign
|
| 892 |
+
max
|
| 893 |
+
max_k
|
| 894 |
+
maxabs
|
| 895 |
+
maxabsaccum
|
| 896 |
+
maxaccum
|
| 897 |
+
maxalloc
|
| 898 |
+
maxarray
|
| 899 |
+
mclock
|
| 900 |
+
mdelay
|
| 901 |
+
median
|
| 902 |
+
mediank
|
| 903 |
+
metro
|
| 904 |
+
metro2
|
| 905 |
+
metrobpm
|
| 906 |
+
mfb
|
| 907 |
+
midglobal
|
| 908 |
+
midiarp
|
| 909 |
+
midic14
|
| 910 |
+
midic21
|
| 911 |
+
midic7
|
| 912 |
+
midichannelaftertouch
|
| 913 |
+
midichn
|
| 914 |
+
midicontrolchange
|
| 915 |
+
midictrl
|
| 916 |
+
mididefault
|
| 917 |
+
midifilestatus
|
| 918 |
+
midiin
|
| 919 |
+
midinoteoff
|
| 920 |
+
midinoteoncps
|
| 921 |
+
midinoteonkey
|
| 922 |
+
midinoteonoct
|
| 923 |
+
midinoteonpch
|
| 924 |
+
midion
|
| 925 |
+
midion2
|
| 926 |
+
midiout
|
| 927 |
+
midiout_i
|
| 928 |
+
midipgm
|
| 929 |
+
midipitchbend
|
| 930 |
+
midipolyaftertouch
|
| 931 |
+
midiprogramchange
|
| 932 |
+
miditempo
|
| 933 |
+
midremot
|
| 934 |
+
min
|
| 935 |
+
minabs
|
| 936 |
+
minabsaccum
|
| 937 |
+
minaccum
|
| 938 |
+
minarray
|
| 939 |
+
mincer
|
| 940 |
+
mirror
|
| 941 |
+
mode
|
| 942 |
+
modmatrix
|
| 943 |
+
monitor
|
| 944 |
+
moog
|
| 945 |
+
moogladder
|
| 946 |
+
moogladder2
|
| 947 |
+
moogvcf
|
| 948 |
+
moogvcf2
|
| 949 |
+
moscil
|
| 950 |
+
mp3bitrate
|
| 951 |
+
mp3in
|
| 952 |
+
mp3len
|
| 953 |
+
mp3nchnls
|
| 954 |
+
mp3out
|
| 955 |
+
mp3scal
|
| 956 |
+
mp3sr
|
| 957 |
+
mpulse
|
| 958 |
+
mrtmsg
|
| 959 |
+
ms2st
|
| 960 |
+
mtof
|
| 961 |
+
mton
|
| 962 |
+
multitap
|
| 963 |
+
mute
|
| 964 |
+
mvchpf
|
| 965 |
+
mvclpf1
|
| 966 |
+
mvclpf2
|
| 967 |
+
mvclpf3
|
| 968 |
+
mvclpf4
|
| 969 |
+
mvmfilter
|
| 970 |
+
mxadsr
|
| 971 |
+
nchnls_hw
|
| 972 |
+
nestedap
|
| 973 |
+
nlalp
|
| 974 |
+
nlfilt
|
| 975 |
+
nlfilt2
|
| 976 |
+
noise
|
| 977 |
+
noteoff
|
| 978 |
+
noteon
|
| 979 |
+
noteondur
|
| 980 |
+
noteondur2
|
| 981 |
+
notnum
|
| 982 |
+
nreverb
|
| 983 |
+
nrpn
|
| 984 |
+
nsamp
|
| 985 |
+
nstance
|
| 986 |
+
nstrnum
|
| 987 |
+
nstrstr
|
| 988 |
+
ntof
|
| 989 |
+
ntom
|
| 990 |
+
ntrpol
|
| 991 |
+
nxtpow2
|
| 992 |
+
octave
|
| 993 |
+
octcps
|
| 994 |
+
octmidi
|
| 995 |
+
octmidib
|
| 996 |
+
octmidinn
|
| 997 |
+
octpch
|
| 998 |
+
olabuffer
|
| 999 |
+
oscbnk
|
| 1000 |
+
oscil
|
| 1001 |
+
oscil1
|
| 1002 |
+
oscil1i
|
| 1003 |
+
oscil3
|
| 1004 |
+
oscili
|
| 1005 |
+
oscilikt
|
| 1006 |
+
osciliktp
|
| 1007 |
+
oscilikts
|
| 1008 |
+
osciln
|
| 1009 |
+
oscils
|
| 1010 |
+
oscilx
|
| 1011 |
+
out
|
| 1012 |
+
out32
|
| 1013 |
+
outall
|
| 1014 |
+
outc
|
| 1015 |
+
outch
|
| 1016 |
+
outh
|
| 1017 |
+
outiat
|
| 1018 |
+
outic
|
| 1019 |
+
outic14
|
| 1020 |
+
outipat
|
| 1021 |
+
outipb
|
| 1022 |
+
outipc
|
| 1023 |
+
outkat
|
| 1024 |
+
outkc
|
| 1025 |
+
outkc14
|
| 1026 |
+
outkpat
|
| 1027 |
+
outkpb
|
| 1028 |
+
outkpc
|
| 1029 |
+
outleta
|
| 1030 |
+
outletf
|
| 1031 |
+
outletk
|
| 1032 |
+
outletkid
|
| 1033 |
+
outletv
|
| 1034 |
+
outo
|
| 1035 |
+
outq
|
| 1036 |
+
outq1
|
| 1037 |
+
outq2
|
| 1038 |
+
outq3
|
| 1039 |
+
outq4
|
| 1040 |
+
outrg
|
| 1041 |
+
outs
|
| 1042 |
+
outs1
|
| 1043 |
+
outs2
|
| 1044 |
+
outvalue
|
| 1045 |
+
outx
|
| 1046 |
+
outz
|
| 1047 |
+
p
|
| 1048 |
+
p5gconnect
|
| 1049 |
+
p5gdata
|
| 1050 |
+
pan
|
| 1051 |
+
pan2
|
| 1052 |
+
pareq
|
| 1053 |
+
part2txt
|
| 1054 |
+
partials
|
| 1055 |
+
partikkel
|
| 1056 |
+
partikkelget
|
| 1057 |
+
partikkelset
|
| 1058 |
+
partikkelsync
|
| 1059 |
+
passign
|
| 1060 |
+
paulstretch
|
| 1061 |
+
pcauchy
|
| 1062 |
+
pchbend
|
| 1063 |
+
pchmidi
|
| 1064 |
+
pchmidib
|
| 1065 |
+
pchmidinn
|
| 1066 |
+
pchoct
|
| 1067 |
+
pchtom
|
| 1068 |
+
pconvolve
|
| 1069 |
+
pcount
|
| 1070 |
+
pdclip
|
| 1071 |
+
pdhalf
|
| 1072 |
+
pdhalfy
|
| 1073 |
+
peak
|
| 1074 |
+
pgmassign
|
| 1075 |
+
pgmchn
|
| 1076 |
+
phaser1
|
| 1077 |
+
phaser2
|
| 1078 |
+
phasor
|
| 1079 |
+
phasorbnk
|
| 1080 |
+
phs
|
| 1081 |
+
pindex
|
| 1082 |
+
pinker
|
| 1083 |
+
pinkish
|
| 1084 |
+
pitch
|
| 1085 |
+
pitchac
|
| 1086 |
+
pitchamdf
|
| 1087 |
+
planet
|
| 1088 |
+
platerev
|
| 1089 |
+
plltrack
|
| 1090 |
+
pluck
|
| 1091 |
+
poisson
|
| 1092 |
+
pol2rect
|
| 1093 |
+
polyaft
|
| 1094 |
+
polynomial
|
| 1095 |
+
port
|
| 1096 |
+
portk
|
| 1097 |
+
poscil
|
| 1098 |
+
poscil3
|
| 1099 |
+
pow
|
| 1100 |
+
powershape
|
| 1101 |
+
powoftwo
|
| 1102 |
+
pows
|
| 1103 |
+
prealloc
|
| 1104 |
+
prepiano
|
| 1105 |
+
print
|
| 1106 |
+
print_type
|
| 1107 |
+
printarray
|
| 1108 |
+
printf
|
| 1109 |
+
printf_i
|
| 1110 |
+
printk
|
| 1111 |
+
printk2
|
| 1112 |
+
printks
|
| 1113 |
+
printks2
|
| 1114 |
+
println
|
| 1115 |
+
prints
|
| 1116 |
+
printsk
|
| 1117 |
+
product
|
| 1118 |
+
pset
|
| 1119 |
+
ptablew
|
| 1120 |
+
ptrack
|
| 1121 |
+
puts
|
| 1122 |
+
pvadd
|
| 1123 |
+
pvbufread
|
| 1124 |
+
pvcross
|
| 1125 |
+
pvinterp
|
| 1126 |
+
pvoc
|
| 1127 |
+
pvread
|
| 1128 |
+
pvs2array
|
| 1129 |
+
pvs2tab
|
| 1130 |
+
pvsadsyn
|
| 1131 |
+
pvsanal
|
| 1132 |
+
pvsarp
|
| 1133 |
+
pvsbandp
|
| 1134 |
+
pvsbandr
|
| 1135 |
+
pvsbandwidth
|
| 1136 |
+
pvsbin
|
| 1137 |
+
pvsblur
|
| 1138 |
+
pvsbuffer
|
| 1139 |
+
pvsbufread
|
| 1140 |
+
pvsbufread2
|
| 1141 |
+
pvscale
|
| 1142 |
+
pvscent
|
| 1143 |
+
pvsceps
|
| 1144 |
+
pvscfs
|
| 1145 |
+
pvscross
|
| 1146 |
+
pvsdemix
|
| 1147 |
+
pvsdiskin
|
| 1148 |
+
pvsdisp
|
| 1149 |
+
pvsenvftw
|
| 1150 |
+
pvsfilter
|
| 1151 |
+
pvsfread
|
| 1152 |
+
pvsfreeze
|
| 1153 |
+
pvsfromarray
|
| 1154 |
+
pvsftr
|
| 1155 |
+
pvsftw
|
| 1156 |
+
pvsfwrite
|
| 1157 |
+
pvsgain
|
| 1158 |
+
pvsgendy
|
| 1159 |
+
pvshift
|
| 1160 |
+
pvsifd
|
| 1161 |
+
pvsin
|
| 1162 |
+
pvsinfo
|
| 1163 |
+
pvsinit
|
| 1164 |
+
pvslock
|
| 1165 |
+
pvslpc
|
| 1166 |
+
pvsmaska
|
| 1167 |
+
pvsmix
|
| 1168 |
+
pvsmooth
|
| 1169 |
+
pvsmorph
|
| 1170 |
+
pvsosc
|
| 1171 |
+
pvsout
|
| 1172 |
+
pvspitch
|
| 1173 |
+
pvstanal
|
| 1174 |
+
pvstencil
|
| 1175 |
+
pvstrace
|
| 1176 |
+
pvsvoc
|
| 1177 |
+
pvswarp
|
| 1178 |
+
pvsynth
|
| 1179 |
+
pwd
|
| 1180 |
+
pyassign
|
| 1181 |
+
pyassigni
|
| 1182 |
+
pyassignt
|
| 1183 |
+
pycall
|
| 1184 |
+
pycall1
|
| 1185 |
+
pycall1i
|
| 1186 |
+
pycall1t
|
| 1187 |
+
pycall2
|
| 1188 |
+
pycall2i
|
| 1189 |
+
pycall2t
|
| 1190 |
+
pycall3
|
| 1191 |
+
pycall3i
|
| 1192 |
+
pycall3t
|
| 1193 |
+
pycall4
|
| 1194 |
+
pycall4i
|
| 1195 |
+
pycall4t
|
| 1196 |
+
pycall5
|
| 1197 |
+
pycall5i
|
| 1198 |
+
pycall5t
|
| 1199 |
+
pycall6
|
| 1200 |
+
pycall6i
|
| 1201 |
+
pycall6t
|
| 1202 |
+
pycall7
|
| 1203 |
+
pycall7i
|
| 1204 |
+
pycall7t
|
| 1205 |
+
pycall8
|
| 1206 |
+
pycall8i
|
| 1207 |
+
pycall8t
|
| 1208 |
+
pycalli
|
| 1209 |
+
pycalln
|
| 1210 |
+
pycallni
|
| 1211 |
+
pycallt
|
| 1212 |
+
pyeval
|
| 1213 |
+
pyevali
|
| 1214 |
+
pyevalt
|
| 1215 |
+
pyexec
|
| 1216 |
+
pyexeci
|
| 1217 |
+
pyexect
|
| 1218 |
+
pyinit
|
| 1219 |
+
pylassign
|
| 1220 |
+
pylassigni
|
| 1221 |
+
pylassignt
|
| 1222 |
+
pylcall
|
| 1223 |
+
pylcall1
|
| 1224 |
+
pylcall1i
|
| 1225 |
+
pylcall1t
|
| 1226 |
+
pylcall2
|
| 1227 |
+
pylcall2i
|
| 1228 |
+
pylcall2t
|
| 1229 |
+
pylcall3
|
| 1230 |
+
pylcall3i
|
| 1231 |
+
pylcall3t
|
| 1232 |
+
pylcall4
|
| 1233 |
+
pylcall4i
|
| 1234 |
+
pylcall4t
|
| 1235 |
+
pylcall5
|
| 1236 |
+
pylcall5i
|
| 1237 |
+
pylcall5t
|
| 1238 |
+
pylcall6
|
| 1239 |
+
pylcall6i
|
| 1240 |
+
pylcall6t
|
| 1241 |
+
pylcall7
|
| 1242 |
+
pylcall7i
|
| 1243 |
+
pylcall7t
|
| 1244 |
+
pylcall8
|
| 1245 |
+
pylcall8i
|
| 1246 |
+
pylcall8t
|
| 1247 |
+
pylcalli
|
| 1248 |
+
pylcalln
|
| 1249 |
+
pylcallni
|
| 1250 |
+
pylcallt
|
| 1251 |
+
pyleval
|
| 1252 |
+
pylevali
|
| 1253 |
+
pylevalt
|
| 1254 |
+
pylexec
|
| 1255 |
+
pylexeci
|
| 1256 |
+
pylexect
|
| 1257 |
+
pylrun
|
| 1258 |
+
pylruni
|
| 1259 |
+
pylrunt
|
| 1260 |
+
pyrun
|
| 1261 |
+
pyruni
|
| 1262 |
+
pyrunt
|
| 1263 |
+
qinf
|
| 1264 |
+
qnan
|
| 1265 |
+
r2c
|
| 1266 |
+
rand
|
| 1267 |
+
randc
|
| 1268 |
+
randh
|
| 1269 |
+
randi
|
| 1270 |
+
random
|
| 1271 |
+
randomh
|
| 1272 |
+
randomi
|
| 1273 |
+
rbjeq
|
| 1274 |
+
readclock
|
| 1275 |
+
readf
|
| 1276 |
+
readfi
|
| 1277 |
+
readk
|
| 1278 |
+
readk2
|
| 1279 |
+
readk3
|
| 1280 |
+
readk4
|
| 1281 |
+
readks
|
| 1282 |
+
readscore
|
| 1283 |
+
readscratch
|
| 1284 |
+
rect2pol
|
| 1285 |
+
release
|
| 1286 |
+
remoteport
|
| 1287 |
+
remove
|
| 1288 |
+
repluck
|
| 1289 |
+
reshapearray
|
| 1290 |
+
reson
|
| 1291 |
+
resonbnk
|
| 1292 |
+
resonk
|
| 1293 |
+
resonr
|
| 1294 |
+
resonx
|
| 1295 |
+
resonxk
|
| 1296 |
+
resony
|
| 1297 |
+
resonz
|
| 1298 |
+
resyn
|
| 1299 |
+
reverb
|
| 1300 |
+
reverb2
|
| 1301 |
+
reverbsc
|
| 1302 |
+
rewindscore
|
| 1303 |
+
rezzy
|
| 1304 |
+
rfft
|
| 1305 |
+
rifft
|
| 1306 |
+
rms
|
| 1307 |
+
rnd
|
| 1308 |
+
rnd31
|
| 1309 |
+
rndseed
|
| 1310 |
+
round
|
| 1311 |
+
rspline
|
| 1312 |
+
rtclock
|
| 1313 |
+
s16b14
|
| 1314 |
+
s32b14
|
| 1315 |
+
samphold
|
| 1316 |
+
sandpaper
|
| 1317 |
+
sc_lag
|
| 1318 |
+
sc_lagud
|
| 1319 |
+
sc_phasor
|
| 1320 |
+
sc_trig
|
| 1321 |
+
scale
|
| 1322 |
+
scale2
|
| 1323 |
+
scalearray
|
| 1324 |
+
scanhammer
|
| 1325 |
+
scanmap
|
| 1326 |
+
scans
|
| 1327 |
+
scansmap
|
| 1328 |
+
scantable
|
| 1329 |
+
scanu
|
| 1330 |
+
scanu2
|
| 1331 |
+
schedkwhen
|
| 1332 |
+
schedkwhennamed
|
| 1333 |
+
schedule
|
| 1334 |
+
schedulek
|
| 1335 |
+
schedwhen
|
| 1336 |
+
scoreline
|
| 1337 |
+
scoreline_i
|
| 1338 |
+
seed
|
| 1339 |
+
sekere
|
| 1340 |
+
select
|
| 1341 |
+
semitone
|
| 1342 |
+
sense
|
| 1343 |
+
sensekey
|
| 1344 |
+
seqtime
|
| 1345 |
+
seqtime2
|
| 1346 |
+
sequ
|
| 1347 |
+
sequstate
|
| 1348 |
+
serialBegin
|
| 1349 |
+
serialEnd
|
| 1350 |
+
serialFlush
|
| 1351 |
+
serialPrint
|
| 1352 |
+
serialRead
|
| 1353 |
+
serialWrite
|
| 1354 |
+
serialWrite_i
|
| 1355 |
+
setcol
|
| 1356 |
+
setctrl
|
| 1357 |
+
setksmps
|
| 1358 |
+
setrow
|
| 1359 |
+
setscorepos
|
| 1360 |
+
sfilist
|
| 1361 |
+
sfinstr
|
| 1362 |
+
sfinstr3
|
| 1363 |
+
sfinstr3m
|
| 1364 |
+
sfinstrm
|
| 1365 |
+
sfload
|
| 1366 |
+
sflooper
|
| 1367 |
+
sfpassign
|
| 1368 |
+
sfplay
|
| 1369 |
+
sfplay3
|
| 1370 |
+
sfplay3m
|
| 1371 |
+
sfplaym
|
| 1372 |
+
sfplist
|
| 1373 |
+
sfpreset
|
| 1374 |
+
shaker
|
| 1375 |
+
shiftin
|
| 1376 |
+
shiftout
|
| 1377 |
+
signum
|
| 1378 |
+
sin
|
| 1379 |
+
sinh
|
| 1380 |
+
sininv
|
| 1381 |
+
sinsyn
|
| 1382 |
+
skf
|
| 1383 |
+
sleighbells
|
| 1384 |
+
slicearray
|
| 1385 |
+
slicearray_i
|
| 1386 |
+
slider16
|
| 1387 |
+
slider16f
|
| 1388 |
+
slider16table
|
| 1389 |
+
slider16tablef
|
| 1390 |
+
slider32
|
| 1391 |
+
slider32f
|
| 1392 |
+
slider32table
|
| 1393 |
+
slider32tablef
|
| 1394 |
+
slider64
|
| 1395 |
+
slider64f
|
| 1396 |
+
slider64table
|
| 1397 |
+
slider64tablef
|
| 1398 |
+
slider8
|
| 1399 |
+
slider8f
|
| 1400 |
+
slider8table
|
| 1401 |
+
slider8tablef
|
| 1402 |
+
sliderKawai
|
| 1403 |
+
sndloop
|
| 1404 |
+
sndwarp
|
| 1405 |
+
sndwarpst
|
| 1406 |
+
sockrecv
|
| 1407 |
+
sockrecvs
|
| 1408 |
+
socksend
|
| 1409 |
+
socksends
|
| 1410 |
+
sorta
|
| 1411 |
+
sortd
|
| 1412 |
+
soundin
|
| 1413 |
+
space
|
| 1414 |
+
spat3d
|
| 1415 |
+
spat3di
|
| 1416 |
+
spat3dt
|
| 1417 |
+
spdist
|
| 1418 |
+
spf
|
| 1419 |
+
splitrig
|
| 1420 |
+
sprintf
|
| 1421 |
+
sprintfk
|
| 1422 |
+
spsend
|
| 1423 |
+
sqrt
|
| 1424 |
+
squinewave
|
| 1425 |
+
st2ms
|
| 1426 |
+
statevar
|
| 1427 |
+
sterrain
|
| 1428 |
+
stix
|
| 1429 |
+
strcat
|
| 1430 |
+
strcatk
|
| 1431 |
+
strchar
|
| 1432 |
+
strchark
|
| 1433 |
+
strcmp
|
| 1434 |
+
strcmpk
|
| 1435 |
+
strcpy
|
| 1436 |
+
strcpyk
|
| 1437 |
+
strecv
|
| 1438 |
+
streson
|
| 1439 |
+
strfromurl
|
| 1440 |
+
strget
|
| 1441 |
+
strindex
|
| 1442 |
+
strindexk
|
| 1443 |
+
string2array
|
| 1444 |
+
strlen
|
| 1445 |
+
strlenk
|
| 1446 |
+
strlower
|
| 1447 |
+
strlowerk
|
| 1448 |
+
strrindex
|
| 1449 |
+
strrindexk
|
| 1450 |
+
strset
|
| 1451 |
+
strstrip
|
| 1452 |
+
strsub
|
| 1453 |
+
strsubk
|
| 1454 |
+
strtod
|
| 1455 |
+
strtodk
|
| 1456 |
+
strtol
|
| 1457 |
+
strtolk
|
| 1458 |
+
strupper
|
| 1459 |
+
strupperk
|
| 1460 |
+
stsend
|
| 1461 |
+
subinstr
|
| 1462 |
+
subinstrinit
|
| 1463 |
+
sum
|
| 1464 |
+
sumarray
|
| 1465 |
+
svfilter
|
| 1466 |
+
svn
|
| 1467 |
+
syncgrain
|
| 1468 |
+
syncloop
|
| 1469 |
+
syncphasor
|
| 1470 |
+
system
|
| 1471 |
+
system_i
|
| 1472 |
+
tab
|
| 1473 |
+
tab2array
|
| 1474 |
+
tab2pvs
|
| 1475 |
+
tab_i
|
| 1476 |
+
tabifd
|
| 1477 |
+
table
|
| 1478 |
+
table3
|
| 1479 |
+
table3kt
|
| 1480 |
+
tablecopy
|
| 1481 |
+
tablefilter
|
| 1482 |
+
tablefilteri
|
| 1483 |
+
tablegpw
|
| 1484 |
+
tablei
|
| 1485 |
+
tableicopy
|
| 1486 |
+
tableigpw
|
| 1487 |
+
tableikt
|
| 1488 |
+
tableimix
|
| 1489 |
+
tablekt
|
| 1490 |
+
tablemix
|
| 1491 |
+
tableng
|
| 1492 |
+
tablera
|
| 1493 |
+
tableseg
|
| 1494 |
+
tableshuffle
|
| 1495 |
+
tableshufflei
|
| 1496 |
+
tablew
|
| 1497 |
+
tablewa
|
| 1498 |
+
tablewkt
|
| 1499 |
+
tablexkt
|
| 1500 |
+
tablexseg
|
| 1501 |
+
tabmorph
|
| 1502 |
+
tabmorpha
|
| 1503 |
+
tabmorphak
|
| 1504 |
+
tabmorphi
|
| 1505 |
+
tabplay
|
| 1506 |
+
tabrec
|
| 1507 |
+
tabsum
|
| 1508 |
+
tabw
|
| 1509 |
+
tabw_i
|
| 1510 |
+
tambourine
|
| 1511 |
+
tan
|
| 1512 |
+
tanh
|
| 1513 |
+
taninv
|
| 1514 |
+
taninv2
|
| 1515 |
+
tbvcf
|
| 1516 |
+
tempest
|
| 1517 |
+
tempo
|
| 1518 |
+
temposcal
|
| 1519 |
+
tempoval
|
| 1520 |
+
timedseq
|
| 1521 |
+
timeinstk
|
| 1522 |
+
timeinsts
|
| 1523 |
+
timek
|
| 1524 |
+
times
|
| 1525 |
+
tival
|
| 1526 |
+
tlineto
|
| 1527 |
+
tone
|
| 1528 |
+
tonek
|
| 1529 |
+
tonex
|
| 1530 |
+
tradsyn
|
| 1531 |
+
trandom
|
| 1532 |
+
transeg
|
| 1533 |
+
transegb
|
| 1534 |
+
transegr
|
| 1535 |
+
trcross
|
| 1536 |
+
trfilter
|
| 1537 |
+
trhighest
|
| 1538 |
+
trigExpseg
|
| 1539 |
+
trigLinseg
|
| 1540 |
+
trigexpseg
|
| 1541 |
+
trigger
|
| 1542 |
+
trighold
|
| 1543 |
+
triglinseg
|
| 1544 |
+
trigphasor
|
| 1545 |
+
trigseq
|
| 1546 |
+
trim
|
| 1547 |
+
trim_i
|
| 1548 |
+
trirand
|
| 1549 |
+
trlowest
|
| 1550 |
+
trmix
|
| 1551 |
+
trscale
|
| 1552 |
+
trshift
|
| 1553 |
+
trsplit
|
| 1554 |
+
turnoff
|
| 1555 |
+
turnoff2
|
| 1556 |
+
turnoff2_i
|
| 1557 |
+
turnoff3
|
| 1558 |
+
turnon
|
| 1559 |
+
tvconv
|
| 1560 |
+
unirand
|
| 1561 |
+
unwrap
|
| 1562 |
+
upsamp
|
| 1563 |
+
urandom
|
| 1564 |
+
urd
|
| 1565 |
+
vactrol
|
| 1566 |
+
vadd
|
| 1567 |
+
vadd_i
|
| 1568 |
+
vaddv
|
| 1569 |
+
vaddv_i
|
| 1570 |
+
vaget
|
| 1571 |
+
valpass
|
| 1572 |
+
vaset
|
| 1573 |
+
vbap
|
| 1574 |
+
vbapg
|
| 1575 |
+
vbapgmove
|
| 1576 |
+
vbaplsinit
|
| 1577 |
+
vbapmove
|
| 1578 |
+
vbapz
|
| 1579 |
+
vbapzmove
|
| 1580 |
+
vcella
|
| 1581 |
+
vclpf
|
| 1582 |
+
vco
|
| 1583 |
+
vco2
|
| 1584 |
+
vco2ft
|
| 1585 |
+
vco2ift
|
| 1586 |
+
vco2init
|
| 1587 |
+
vcomb
|
| 1588 |
+
vcopy
|
| 1589 |
+
vcopy_i
|
| 1590 |
+
vdel_k
|
| 1591 |
+
vdelay
|
| 1592 |
+
vdelay3
|
| 1593 |
+
vdelayk
|
| 1594 |
+
vdelayx
|
| 1595 |
+
vdelayxq
|
| 1596 |
+
vdelayxs
|
| 1597 |
+
vdelayxw
|
| 1598 |
+
vdelayxwq
|
| 1599 |
+
vdelayxws
|
| 1600 |
+
vdivv
|
| 1601 |
+
vdivv_i
|
| 1602 |
+
vecdelay
|
| 1603 |
+
veloc
|
| 1604 |
+
vexp
|
| 1605 |
+
vexp_i
|
| 1606 |
+
vexpseg
|
| 1607 |
+
vexpv
|
| 1608 |
+
vexpv_i
|
| 1609 |
+
vibes
|
| 1610 |
+
vibr
|
| 1611 |
+
vibrato
|
| 1612 |
+
vincr
|
| 1613 |
+
vlimit
|
| 1614 |
+
vlinseg
|
| 1615 |
+
vlowres
|
| 1616 |
+
vmap
|
| 1617 |
+
vmirror
|
| 1618 |
+
vmult
|
| 1619 |
+
vmult_i
|
| 1620 |
+
vmultv
|
| 1621 |
+
vmultv_i
|
| 1622 |
+
voice
|
| 1623 |
+
vosim
|
| 1624 |
+
vphaseseg
|
| 1625 |
+
vport
|
| 1626 |
+
vpow
|
| 1627 |
+
vpow_i
|
| 1628 |
+
vpowv
|
| 1629 |
+
vpowv_i
|
| 1630 |
+
vps
|
| 1631 |
+
vpvoc
|
| 1632 |
+
vrandh
|
| 1633 |
+
vrandi
|
| 1634 |
+
vsubv
|
| 1635 |
+
vsubv_i
|
| 1636 |
+
vtaba
|
| 1637 |
+
vtabi
|
| 1638 |
+
vtabk
|
| 1639 |
+
vtable1k
|
| 1640 |
+
vtablea
|
| 1641 |
+
vtablei
|
| 1642 |
+
vtablek
|
| 1643 |
+
vtablewa
|
| 1644 |
+
vtablewi
|
| 1645 |
+
vtablewk
|
| 1646 |
+
vtabwa
|
| 1647 |
+
vtabwi
|
| 1648 |
+
vtabwk
|
| 1649 |
+
vwrap
|
| 1650 |
+
waveset
|
| 1651 |
+
websocket
|
| 1652 |
+
weibull
|
| 1653 |
+
wgbow
|
| 1654 |
+
wgbowedbar
|
| 1655 |
+
wgbrass
|
| 1656 |
+
wgclar
|
| 1657 |
+
wgflute
|
| 1658 |
+
wgpluck
|
| 1659 |
+
wgpluck2
|
| 1660 |
+
wguide1
|
| 1661 |
+
wguide2
|
| 1662 |
+
wiiconnect
|
| 1663 |
+
wiidata
|
| 1664 |
+
wiirange
|
| 1665 |
+
wiisend
|
| 1666 |
+
window
|
| 1667 |
+
wrap
|
| 1668 |
+
writescratch
|
| 1669 |
+
wterrain
|
| 1670 |
+
wterrain2
|
| 1671 |
+
xadsr
|
| 1672 |
+
xin
|
| 1673 |
+
xout
|
| 1674 |
+
xtratim
|
| 1675 |
+
xyscale
|
| 1676 |
+
zacl
|
| 1677 |
+
zakinit
|
| 1678 |
+
zamod
|
| 1679 |
+
zar
|
| 1680 |
+
zarg
|
| 1681 |
+
zaw
|
| 1682 |
+
zawm
|
| 1683 |
+
zdf_1pole
|
| 1684 |
+
zdf_1pole_mode
|
| 1685 |
+
zdf_2pole
|
| 1686 |
+
zdf_2pole_mode
|
| 1687 |
+
zdf_ladder
|
| 1688 |
+
zfilter2
|
| 1689 |
+
zir
|
| 1690 |
+
ziw
|
| 1691 |
+
ziwm
|
| 1692 |
+
zkcl
|
| 1693 |
+
zkmod
|
| 1694 |
+
zkr
|
| 1695 |
+
zkw
|
| 1696 |
+
zkwm
|
| 1697 |
+
'''.split())
|
| 1698 |
+
|
| 1699 |
+
DEPRECATED_OPCODES = set('''
|
| 1700 |
+
array
|
| 1701 |
+
bformdec
|
| 1702 |
+
bformenc
|
| 1703 |
+
copy2ftab
|
| 1704 |
+
copy2ttab
|
| 1705 |
+
hrtfer
|
| 1706 |
+
ktableseg
|
| 1707 |
+
lentab
|
| 1708 |
+
maxtab
|
| 1709 |
+
mintab
|
| 1710 |
+
pop
|
| 1711 |
+
pop_f
|
| 1712 |
+
ptable
|
| 1713 |
+
ptable3
|
| 1714 |
+
ptablei
|
| 1715 |
+
ptableiw
|
| 1716 |
+
push
|
| 1717 |
+
push_f
|
| 1718 |
+
scalet
|
| 1719 |
+
sndload
|
| 1720 |
+
soundout
|
| 1721 |
+
soundouts
|
| 1722 |
+
specaddm
|
| 1723 |
+
specdiff
|
| 1724 |
+
specdisp
|
| 1725 |
+
specfilt
|
| 1726 |
+
spechist
|
| 1727 |
+
specptrk
|
| 1728 |
+
specscal
|
| 1729 |
+
specsum
|
| 1730 |
+
spectrum
|
| 1731 |
+
stack
|
| 1732 |
+
sumtab
|
| 1733 |
+
tabgen
|
| 1734 |
+
tableiw
|
| 1735 |
+
tabmap
|
| 1736 |
+
tabmap_i
|
| 1737 |
+
tabslice
|
| 1738 |
+
tb0
|
| 1739 |
+
tb0_init
|
| 1740 |
+
tb1
|
| 1741 |
+
tb10
|
| 1742 |
+
tb10_init
|
| 1743 |
+
tb11
|
| 1744 |
+
tb11_init
|
| 1745 |
+
tb12
|
| 1746 |
+
tb12_init
|
| 1747 |
+
tb13
|
| 1748 |
+
tb13_init
|
| 1749 |
+
tb14
|
| 1750 |
+
tb14_init
|
| 1751 |
+
tb15
|
| 1752 |
+
tb15_init
|
| 1753 |
+
tb1_init
|
| 1754 |
+
tb2
|
| 1755 |
+
tb2_init
|
| 1756 |
+
tb3
|
| 1757 |
+
tb3_init
|
| 1758 |
+
tb4
|
| 1759 |
+
tb4_init
|
| 1760 |
+
tb5
|
| 1761 |
+
tb5_init
|
| 1762 |
+
tb6
|
| 1763 |
+
tb6_init
|
| 1764 |
+
tb7
|
| 1765 |
+
tb7_init
|
| 1766 |
+
tb8
|
| 1767 |
+
tb8_init
|
| 1768 |
+
tb9
|
| 1769 |
+
tb9_init
|
| 1770 |
+
vbap16
|
| 1771 |
+
vbap4
|
| 1772 |
+
vbap4move
|
| 1773 |
+
vbap8
|
| 1774 |
+
vbap8move
|
| 1775 |
+
xscanmap
|
| 1776 |
+
xscans
|
| 1777 |
+
xscansmap
|
| 1778 |
+
xscanu
|
| 1779 |
+
xyin
|
| 1780 |
+
'''.split())
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_css_builtins.py
ADDED
|
@@ -0,0 +1,558 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._css_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
This file is autogenerated by scripts/get_css_properties.py
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
_css_properties = (
|
| 12 |
+
'-webkit-line-clamp',
|
| 13 |
+
'accent-color',
|
| 14 |
+
'align-content',
|
| 15 |
+
'align-items',
|
| 16 |
+
'align-self',
|
| 17 |
+
'alignment-baseline',
|
| 18 |
+
'all',
|
| 19 |
+
'animation',
|
| 20 |
+
'animation-delay',
|
| 21 |
+
'animation-direction',
|
| 22 |
+
'animation-duration',
|
| 23 |
+
'animation-fill-mode',
|
| 24 |
+
'animation-iteration-count',
|
| 25 |
+
'animation-name',
|
| 26 |
+
'animation-play-state',
|
| 27 |
+
'animation-timing-function',
|
| 28 |
+
'appearance',
|
| 29 |
+
'aspect-ratio',
|
| 30 |
+
'azimuth',
|
| 31 |
+
'backface-visibility',
|
| 32 |
+
'background',
|
| 33 |
+
'background-attachment',
|
| 34 |
+
'background-blend-mode',
|
| 35 |
+
'background-clip',
|
| 36 |
+
'background-color',
|
| 37 |
+
'background-image',
|
| 38 |
+
'background-origin',
|
| 39 |
+
'background-position',
|
| 40 |
+
'background-repeat',
|
| 41 |
+
'background-size',
|
| 42 |
+
'baseline-shift',
|
| 43 |
+
'baseline-source',
|
| 44 |
+
'block-ellipsis',
|
| 45 |
+
'block-size',
|
| 46 |
+
'block-step',
|
| 47 |
+
'block-step-align',
|
| 48 |
+
'block-step-insert',
|
| 49 |
+
'block-step-round',
|
| 50 |
+
'block-step-size',
|
| 51 |
+
'bookmark-label',
|
| 52 |
+
'bookmark-level',
|
| 53 |
+
'bookmark-state',
|
| 54 |
+
'border',
|
| 55 |
+
'border-block',
|
| 56 |
+
'border-block-color',
|
| 57 |
+
'border-block-end',
|
| 58 |
+
'border-block-end-color',
|
| 59 |
+
'border-block-end-style',
|
| 60 |
+
'border-block-end-width',
|
| 61 |
+
'border-block-start',
|
| 62 |
+
'border-block-start-color',
|
| 63 |
+
'border-block-start-style',
|
| 64 |
+
'border-block-start-width',
|
| 65 |
+
'border-block-style',
|
| 66 |
+
'border-block-width',
|
| 67 |
+
'border-bottom',
|
| 68 |
+
'border-bottom-color',
|
| 69 |
+
'border-bottom-left-radius',
|
| 70 |
+
'border-bottom-right-radius',
|
| 71 |
+
'border-bottom-style',
|
| 72 |
+
'border-bottom-width',
|
| 73 |
+
'border-boundary',
|
| 74 |
+
'border-collapse',
|
| 75 |
+
'border-color',
|
| 76 |
+
'border-end-end-radius',
|
| 77 |
+
'border-end-start-radius',
|
| 78 |
+
'border-image',
|
| 79 |
+
'border-image-outset',
|
| 80 |
+
'border-image-repeat',
|
| 81 |
+
'border-image-slice',
|
| 82 |
+
'border-image-source',
|
| 83 |
+
'border-image-width',
|
| 84 |
+
'border-inline',
|
| 85 |
+
'border-inline-color',
|
| 86 |
+
'border-inline-end',
|
| 87 |
+
'border-inline-end-color',
|
| 88 |
+
'border-inline-end-style',
|
| 89 |
+
'border-inline-end-width',
|
| 90 |
+
'border-inline-start',
|
| 91 |
+
'border-inline-start-color',
|
| 92 |
+
'border-inline-start-style',
|
| 93 |
+
'border-inline-start-width',
|
| 94 |
+
'border-inline-style',
|
| 95 |
+
'border-inline-width',
|
| 96 |
+
'border-left',
|
| 97 |
+
'border-left-color',
|
| 98 |
+
'border-left-style',
|
| 99 |
+
'border-left-width',
|
| 100 |
+
'border-radius',
|
| 101 |
+
'border-right',
|
| 102 |
+
'border-right-color',
|
| 103 |
+
'border-right-style',
|
| 104 |
+
'border-right-width',
|
| 105 |
+
'border-spacing',
|
| 106 |
+
'border-start-end-radius',
|
| 107 |
+
'border-start-start-radius',
|
| 108 |
+
'border-style',
|
| 109 |
+
'border-top',
|
| 110 |
+
'border-top-color',
|
| 111 |
+
'border-top-left-radius',
|
| 112 |
+
'border-top-right-radius',
|
| 113 |
+
'border-top-style',
|
| 114 |
+
'border-top-width',
|
| 115 |
+
'border-width',
|
| 116 |
+
'bottom',
|
| 117 |
+
'box-decoration-break',
|
| 118 |
+
'box-shadow',
|
| 119 |
+
'box-sizing',
|
| 120 |
+
'box-snap',
|
| 121 |
+
'break-after',
|
| 122 |
+
'break-before',
|
| 123 |
+
'break-inside',
|
| 124 |
+
'caption-side',
|
| 125 |
+
'caret',
|
| 126 |
+
'caret-color',
|
| 127 |
+
'caret-shape',
|
| 128 |
+
'chains',
|
| 129 |
+
'clear',
|
| 130 |
+
'clip',
|
| 131 |
+
'clip-path',
|
| 132 |
+
'clip-rule',
|
| 133 |
+
'color',
|
| 134 |
+
'color-adjust',
|
| 135 |
+
'color-interpolation-filters',
|
| 136 |
+
'color-scheme',
|
| 137 |
+
'column-count',
|
| 138 |
+
'column-fill',
|
| 139 |
+
'column-gap',
|
| 140 |
+
'column-rule',
|
| 141 |
+
'column-rule-color',
|
| 142 |
+
'column-rule-style',
|
| 143 |
+
'column-rule-width',
|
| 144 |
+
'column-span',
|
| 145 |
+
'column-width',
|
| 146 |
+
'columns',
|
| 147 |
+
'contain',
|
| 148 |
+
'contain-intrinsic-block-size',
|
| 149 |
+
'contain-intrinsic-height',
|
| 150 |
+
'contain-intrinsic-inline-size',
|
| 151 |
+
'contain-intrinsic-size',
|
| 152 |
+
'contain-intrinsic-width',
|
| 153 |
+
'container',
|
| 154 |
+
'container-name',
|
| 155 |
+
'container-type',
|
| 156 |
+
'content',
|
| 157 |
+
'content-visibility',
|
| 158 |
+
'continue',
|
| 159 |
+
'counter-increment',
|
| 160 |
+
'counter-reset',
|
| 161 |
+
'counter-set',
|
| 162 |
+
'cue',
|
| 163 |
+
'cue-after',
|
| 164 |
+
'cue-before',
|
| 165 |
+
'cursor',
|
| 166 |
+
'direction',
|
| 167 |
+
'display',
|
| 168 |
+
'dominant-baseline',
|
| 169 |
+
'elevation',
|
| 170 |
+
'empty-cells',
|
| 171 |
+
'fill',
|
| 172 |
+
'fill-break',
|
| 173 |
+
'fill-color',
|
| 174 |
+
'fill-image',
|
| 175 |
+
'fill-opacity',
|
| 176 |
+
'fill-origin',
|
| 177 |
+
'fill-position',
|
| 178 |
+
'fill-repeat',
|
| 179 |
+
'fill-rule',
|
| 180 |
+
'fill-size',
|
| 181 |
+
'filter',
|
| 182 |
+
'flex',
|
| 183 |
+
'flex-basis',
|
| 184 |
+
'flex-direction',
|
| 185 |
+
'flex-flow',
|
| 186 |
+
'flex-grow',
|
| 187 |
+
'flex-shrink',
|
| 188 |
+
'flex-wrap',
|
| 189 |
+
'float',
|
| 190 |
+
'float-defer',
|
| 191 |
+
'float-offset',
|
| 192 |
+
'float-reference',
|
| 193 |
+
'flood-color',
|
| 194 |
+
'flood-opacity',
|
| 195 |
+
'flow',
|
| 196 |
+
'flow-from',
|
| 197 |
+
'flow-into',
|
| 198 |
+
'font',
|
| 199 |
+
'font-family',
|
| 200 |
+
'font-feature-settings',
|
| 201 |
+
'font-kerning',
|
| 202 |
+
'font-language-override',
|
| 203 |
+
'font-optical-sizing',
|
| 204 |
+
'font-palette',
|
| 205 |
+
'font-size',
|
| 206 |
+
'font-size-adjust',
|
| 207 |
+
'font-stretch',
|
| 208 |
+
'font-style',
|
| 209 |
+
'font-synthesis',
|
| 210 |
+
'font-synthesis-small-caps',
|
| 211 |
+
'font-synthesis-style',
|
| 212 |
+
'font-synthesis-weight',
|
| 213 |
+
'font-variant',
|
| 214 |
+
'font-variant-alternates',
|
| 215 |
+
'font-variant-caps',
|
| 216 |
+
'font-variant-east-asian',
|
| 217 |
+
'font-variant-emoji',
|
| 218 |
+
'font-variant-ligatures',
|
| 219 |
+
'font-variant-numeric',
|
| 220 |
+
'font-variant-position',
|
| 221 |
+
'font-variation-settings',
|
| 222 |
+
'font-weight',
|
| 223 |
+
'footnote-display',
|
| 224 |
+
'footnote-policy',
|
| 225 |
+
'forced-color-adjust',
|
| 226 |
+
'gap',
|
| 227 |
+
'glyph-orientation-vertical',
|
| 228 |
+
'grid',
|
| 229 |
+
'grid-area',
|
| 230 |
+
'grid-auto-columns',
|
| 231 |
+
'grid-auto-flow',
|
| 232 |
+
'grid-auto-rows',
|
| 233 |
+
'grid-column',
|
| 234 |
+
'grid-column-end',
|
| 235 |
+
'grid-column-start',
|
| 236 |
+
'grid-row',
|
| 237 |
+
'grid-row-end',
|
| 238 |
+
'grid-row-start',
|
| 239 |
+
'grid-template',
|
| 240 |
+
'grid-template-areas',
|
| 241 |
+
'grid-template-columns',
|
| 242 |
+
'grid-template-rows',
|
| 243 |
+
'hanging-punctuation',
|
| 244 |
+
'height',
|
| 245 |
+
'hyphenate-character',
|
| 246 |
+
'hyphenate-limit-chars',
|
| 247 |
+
'hyphenate-limit-last',
|
| 248 |
+
'hyphenate-limit-lines',
|
| 249 |
+
'hyphenate-limit-zone',
|
| 250 |
+
'hyphens',
|
| 251 |
+
'image-orientation',
|
| 252 |
+
'image-rendering',
|
| 253 |
+
'image-resolution',
|
| 254 |
+
'initial-letter',
|
| 255 |
+
'initial-letter-align',
|
| 256 |
+
'initial-letter-wrap',
|
| 257 |
+
'inline-size',
|
| 258 |
+
'inline-sizing',
|
| 259 |
+
'input-security',
|
| 260 |
+
'inset',
|
| 261 |
+
'inset-block',
|
| 262 |
+
'inset-block-end',
|
| 263 |
+
'inset-block-start',
|
| 264 |
+
'inset-inline',
|
| 265 |
+
'inset-inline-end',
|
| 266 |
+
'inset-inline-start',
|
| 267 |
+
'isolation',
|
| 268 |
+
'justify-content',
|
| 269 |
+
'justify-items',
|
| 270 |
+
'justify-self',
|
| 271 |
+
'leading-trim',
|
| 272 |
+
'left',
|
| 273 |
+
'letter-spacing',
|
| 274 |
+
'lighting-color',
|
| 275 |
+
'line-break',
|
| 276 |
+
'line-clamp',
|
| 277 |
+
'line-grid',
|
| 278 |
+
'line-height',
|
| 279 |
+
'line-height-step',
|
| 280 |
+
'line-padding',
|
| 281 |
+
'line-snap',
|
| 282 |
+
'list-style',
|
| 283 |
+
'list-style-image',
|
| 284 |
+
'list-style-position',
|
| 285 |
+
'list-style-type',
|
| 286 |
+
'margin',
|
| 287 |
+
'margin-block',
|
| 288 |
+
'margin-block-end',
|
| 289 |
+
'margin-block-start',
|
| 290 |
+
'margin-bottom',
|
| 291 |
+
'margin-break',
|
| 292 |
+
'margin-inline',
|
| 293 |
+
'margin-inline-end',
|
| 294 |
+
'margin-inline-start',
|
| 295 |
+
'margin-left',
|
| 296 |
+
'margin-right',
|
| 297 |
+
'margin-top',
|
| 298 |
+
'margin-trim',
|
| 299 |
+
'marker',
|
| 300 |
+
'marker-end',
|
| 301 |
+
'marker-knockout-left',
|
| 302 |
+
'marker-knockout-right',
|
| 303 |
+
'marker-mid',
|
| 304 |
+
'marker-pattern',
|
| 305 |
+
'marker-segment',
|
| 306 |
+
'marker-side',
|
| 307 |
+
'marker-start',
|
| 308 |
+
'mask',
|
| 309 |
+
'mask-border',
|
| 310 |
+
'mask-border-mode',
|
| 311 |
+
'mask-border-outset',
|
| 312 |
+
'mask-border-repeat',
|
| 313 |
+
'mask-border-slice',
|
| 314 |
+
'mask-border-source',
|
| 315 |
+
'mask-border-width',
|
| 316 |
+
'mask-clip',
|
| 317 |
+
'mask-composite',
|
| 318 |
+
'mask-image',
|
| 319 |
+
'mask-mode',
|
| 320 |
+
'mask-origin',
|
| 321 |
+
'mask-position',
|
| 322 |
+
'mask-repeat',
|
| 323 |
+
'mask-size',
|
| 324 |
+
'mask-type',
|
| 325 |
+
'max-block-size',
|
| 326 |
+
'max-height',
|
| 327 |
+
'max-inline-size',
|
| 328 |
+
'max-lines',
|
| 329 |
+
'max-width',
|
| 330 |
+
'min-block-size',
|
| 331 |
+
'min-height',
|
| 332 |
+
'min-inline-size',
|
| 333 |
+
'min-intrinsic-sizing',
|
| 334 |
+
'min-width',
|
| 335 |
+
'mix-blend-mode',
|
| 336 |
+
'nav-down',
|
| 337 |
+
'nav-left',
|
| 338 |
+
'nav-right',
|
| 339 |
+
'nav-up',
|
| 340 |
+
'object-fit',
|
| 341 |
+
'object-overflow',
|
| 342 |
+
'object-position',
|
| 343 |
+
'object-view-box',
|
| 344 |
+
'offset',
|
| 345 |
+
'offset-anchor',
|
| 346 |
+
'offset-distance',
|
| 347 |
+
'offset-path',
|
| 348 |
+
'offset-position',
|
| 349 |
+
'offset-rotate',
|
| 350 |
+
'opacity',
|
| 351 |
+
'order',
|
| 352 |
+
'orphans',
|
| 353 |
+
'outline',
|
| 354 |
+
'outline-color',
|
| 355 |
+
'outline-offset',
|
| 356 |
+
'outline-style',
|
| 357 |
+
'outline-width',
|
| 358 |
+
'overflow',
|
| 359 |
+
'overflow-anchor',
|
| 360 |
+
'overflow-block',
|
| 361 |
+
'overflow-clip-margin',
|
| 362 |
+
'overflow-inline',
|
| 363 |
+
'overflow-wrap',
|
| 364 |
+
'overflow-x',
|
| 365 |
+
'overflow-y',
|
| 366 |
+
'overscroll-behavior',
|
| 367 |
+
'overscroll-behavior-block',
|
| 368 |
+
'overscroll-behavior-inline',
|
| 369 |
+
'overscroll-behavior-x',
|
| 370 |
+
'overscroll-behavior-y',
|
| 371 |
+
'padding',
|
| 372 |
+
'padding-block',
|
| 373 |
+
'padding-block-end',
|
| 374 |
+
'padding-block-start',
|
| 375 |
+
'padding-bottom',
|
| 376 |
+
'padding-inline',
|
| 377 |
+
'padding-inline-end',
|
| 378 |
+
'padding-inline-start',
|
| 379 |
+
'padding-left',
|
| 380 |
+
'padding-right',
|
| 381 |
+
'padding-top',
|
| 382 |
+
'page',
|
| 383 |
+
'page-break-after',
|
| 384 |
+
'page-break-before',
|
| 385 |
+
'page-break-inside',
|
| 386 |
+
'pause',
|
| 387 |
+
'pause-after',
|
| 388 |
+
'pause-before',
|
| 389 |
+
'perspective',
|
| 390 |
+
'perspective-origin',
|
| 391 |
+
'pitch',
|
| 392 |
+
'pitch-range',
|
| 393 |
+
'place-content',
|
| 394 |
+
'place-items',
|
| 395 |
+
'place-self',
|
| 396 |
+
'play-during',
|
| 397 |
+
'pointer-events',
|
| 398 |
+
'position',
|
| 399 |
+
'print-color-adjust',
|
| 400 |
+
'property-name',
|
| 401 |
+
'quotes',
|
| 402 |
+
'region-fragment',
|
| 403 |
+
'resize',
|
| 404 |
+
'rest',
|
| 405 |
+
'rest-after',
|
| 406 |
+
'rest-before',
|
| 407 |
+
'richness',
|
| 408 |
+
'right',
|
| 409 |
+
'rotate',
|
| 410 |
+
'row-gap',
|
| 411 |
+
'ruby-align',
|
| 412 |
+
'ruby-merge',
|
| 413 |
+
'ruby-overhang',
|
| 414 |
+
'ruby-position',
|
| 415 |
+
'running',
|
| 416 |
+
'scale',
|
| 417 |
+
'scroll-behavior',
|
| 418 |
+
'scroll-margin',
|
| 419 |
+
'scroll-margin-block',
|
| 420 |
+
'scroll-margin-block-end',
|
| 421 |
+
'scroll-margin-block-start',
|
| 422 |
+
'scroll-margin-bottom',
|
| 423 |
+
'scroll-margin-inline',
|
| 424 |
+
'scroll-margin-inline-end',
|
| 425 |
+
'scroll-margin-inline-start',
|
| 426 |
+
'scroll-margin-left',
|
| 427 |
+
'scroll-margin-right',
|
| 428 |
+
'scroll-margin-top',
|
| 429 |
+
'scroll-padding',
|
| 430 |
+
'scroll-padding-block',
|
| 431 |
+
'scroll-padding-block-end',
|
| 432 |
+
'scroll-padding-block-start',
|
| 433 |
+
'scroll-padding-bottom',
|
| 434 |
+
'scroll-padding-inline',
|
| 435 |
+
'scroll-padding-inline-end',
|
| 436 |
+
'scroll-padding-inline-start',
|
| 437 |
+
'scroll-padding-left',
|
| 438 |
+
'scroll-padding-right',
|
| 439 |
+
'scroll-padding-top',
|
| 440 |
+
'scroll-snap-align',
|
| 441 |
+
'scroll-snap-stop',
|
| 442 |
+
'scroll-snap-type',
|
| 443 |
+
'scrollbar-color',
|
| 444 |
+
'scrollbar-gutter',
|
| 445 |
+
'scrollbar-width',
|
| 446 |
+
'shape-image-threshold',
|
| 447 |
+
'shape-inside',
|
| 448 |
+
'shape-margin',
|
| 449 |
+
'shape-outside',
|
| 450 |
+
'spatial-navigation-action',
|
| 451 |
+
'spatial-navigation-contain',
|
| 452 |
+
'spatial-navigation-function',
|
| 453 |
+
'speak',
|
| 454 |
+
'speak-as',
|
| 455 |
+
'speak-header',
|
| 456 |
+
'speak-numeral',
|
| 457 |
+
'speak-punctuation',
|
| 458 |
+
'speech-rate',
|
| 459 |
+
'stress',
|
| 460 |
+
'string-set',
|
| 461 |
+
'stroke',
|
| 462 |
+
'stroke-align',
|
| 463 |
+
'stroke-alignment',
|
| 464 |
+
'stroke-break',
|
| 465 |
+
'stroke-color',
|
| 466 |
+
'stroke-dash-corner',
|
| 467 |
+
'stroke-dash-justify',
|
| 468 |
+
'stroke-dashadjust',
|
| 469 |
+
'stroke-dasharray',
|
| 470 |
+
'stroke-dashcorner',
|
| 471 |
+
'stroke-dashoffset',
|
| 472 |
+
'stroke-image',
|
| 473 |
+
'stroke-linecap',
|
| 474 |
+
'stroke-linejoin',
|
| 475 |
+
'stroke-miterlimit',
|
| 476 |
+
'stroke-opacity',
|
| 477 |
+
'stroke-origin',
|
| 478 |
+
'stroke-position',
|
| 479 |
+
'stroke-repeat',
|
| 480 |
+
'stroke-size',
|
| 481 |
+
'stroke-width',
|
| 482 |
+
'tab-size',
|
| 483 |
+
'table-layout',
|
| 484 |
+
'text-align',
|
| 485 |
+
'text-align-all',
|
| 486 |
+
'text-align-last',
|
| 487 |
+
'text-combine-upright',
|
| 488 |
+
'text-decoration',
|
| 489 |
+
'text-decoration-color',
|
| 490 |
+
'text-decoration-line',
|
| 491 |
+
'text-decoration-skip',
|
| 492 |
+
'text-decoration-skip-box',
|
| 493 |
+
'text-decoration-skip-ink',
|
| 494 |
+
'text-decoration-skip-inset',
|
| 495 |
+
'text-decoration-skip-self',
|
| 496 |
+
'text-decoration-skip-spaces',
|
| 497 |
+
'text-decoration-style',
|
| 498 |
+
'text-decoration-thickness',
|
| 499 |
+
'text-edge',
|
| 500 |
+
'text-emphasis',
|
| 501 |
+
'text-emphasis-color',
|
| 502 |
+
'text-emphasis-position',
|
| 503 |
+
'text-emphasis-skip',
|
| 504 |
+
'text-emphasis-style',
|
| 505 |
+
'text-group-align',
|
| 506 |
+
'text-indent',
|
| 507 |
+
'text-justify',
|
| 508 |
+
'text-orientation',
|
| 509 |
+
'text-overflow',
|
| 510 |
+
'text-shadow',
|
| 511 |
+
'text-space-collapse',
|
| 512 |
+
'text-space-trim',
|
| 513 |
+
'text-spacing',
|
| 514 |
+
'text-transform',
|
| 515 |
+
'text-underline-offset',
|
| 516 |
+
'text-underline-position',
|
| 517 |
+
'text-wrap',
|
| 518 |
+
'top',
|
| 519 |
+
'transform',
|
| 520 |
+
'transform-box',
|
| 521 |
+
'transform-origin',
|
| 522 |
+
'transform-style',
|
| 523 |
+
'transition',
|
| 524 |
+
'transition-delay',
|
| 525 |
+
'transition-duration',
|
| 526 |
+
'transition-property',
|
| 527 |
+
'transition-timing-function',
|
| 528 |
+
'translate',
|
| 529 |
+
'unicode-bidi',
|
| 530 |
+
'user-select',
|
| 531 |
+
'vertical-align',
|
| 532 |
+
'visibility',
|
| 533 |
+
'voice-balance',
|
| 534 |
+
'voice-duration',
|
| 535 |
+
'voice-family',
|
| 536 |
+
'voice-pitch',
|
| 537 |
+
'voice-range',
|
| 538 |
+
'voice-rate',
|
| 539 |
+
'voice-stress',
|
| 540 |
+
'voice-volume',
|
| 541 |
+
'volume',
|
| 542 |
+
'white-space',
|
| 543 |
+
'widows',
|
| 544 |
+
'width',
|
| 545 |
+
'will-change',
|
| 546 |
+
'word-boundary-detection',
|
| 547 |
+
'word-boundary-expansion',
|
| 548 |
+
'word-break',
|
| 549 |
+
'word-spacing',
|
| 550 |
+
'word-wrap',
|
| 551 |
+
'wrap-after',
|
| 552 |
+
'wrap-before',
|
| 553 |
+
'wrap-flow',
|
| 554 |
+
'wrap-inside',
|
| 555 |
+
'wrap-through',
|
| 556 |
+
'writing-mode',
|
| 557 |
+
'z-index',
|
| 558 |
+
)
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_googlesql_builtins.py
ADDED
|
@@ -0,0 +1,918 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._googlesql_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Autogenerated data files for the GoogleSQL lexer.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
constants = [
|
| 12 |
+
'FALSE',
|
| 13 |
+
'NULL',
|
| 14 |
+
'TRUE',
|
| 15 |
+
'UNKNOWN',
|
| 16 |
+
]
|
| 17 |
+
|
| 18 |
+
# Everything below this line is auto-generated from the GoogleSQL source code.
|
| 19 |
+
# ----------------------------------------------------------------------------
|
| 20 |
+
|
| 21 |
+
functionnames = [
|
| 22 |
+
'ABS',
|
| 23 |
+
'ACOS',
|
| 24 |
+
'ACOSH',
|
| 25 |
+
'AEAD.DECRYPT_BYTES',
|
| 26 |
+
'AEAD.DECRYPT_STRING',
|
| 27 |
+
'AEAD.ENCRYPT',
|
| 28 |
+
'AEAD.ENVELOPE_DECRYPT_BYTES',
|
| 29 |
+
'AEAD.ENVELOPE_DECRYPT_STRING',
|
| 30 |
+
'AEAD.ENVELOPE_ENCRYPT',
|
| 31 |
+
'ALL_DIFFERENT',
|
| 32 |
+
'ANON_AVG',
|
| 33 |
+
'ANON_COUNT',
|
| 34 |
+
'ANON_COUNT',
|
| 35 |
+
'ANON_PERCENTILE_CONT',
|
| 36 |
+
'ANON_QUANTILES',
|
| 37 |
+
'ANON_STDDEV_POP',
|
| 38 |
+
'ANON_SUM',
|
| 39 |
+
'ANON_VAR_POP',
|
| 40 |
+
'ANY_VALUE',
|
| 41 |
+
'APPROX_COSINE_DISTANCE',
|
| 42 |
+
'APPROX_COUNT_DISTINCT',
|
| 43 |
+
'APPROX_DOT_PRODUCT',
|
| 44 |
+
'APPROX_EUCLIDEAN_DISTANCE',
|
| 45 |
+
'APPROX_QUANTILES',
|
| 46 |
+
'APPROX_TOP_COUNT',
|
| 47 |
+
'APPROX_TOP_SUM',
|
| 48 |
+
'ARRAY[KEY()]',
|
| 49 |
+
'ARRAY[SAFE_KEY()]',
|
| 50 |
+
'ARRAY_AGG',
|
| 51 |
+
'ARRAY_AVG',
|
| 52 |
+
'ARRAY_CONCAT',
|
| 53 |
+
'ARRAY_CONCAT_AGG',
|
| 54 |
+
'ARRAY_FILTER',
|
| 55 |
+
'ARRAY_FIND',
|
| 56 |
+
'ARRAY_FIND_ALL',
|
| 57 |
+
'ARRAY_FIRST',
|
| 58 |
+
'ARRAY_FIRST_N',
|
| 59 |
+
'ARRAY_INCLUDES',
|
| 60 |
+
'ARRAY_INCLUDES_ALL',
|
| 61 |
+
'ARRAY_INCLUDES_ANY',
|
| 62 |
+
'ARRAY_IS_DISTINCT',
|
| 63 |
+
'ARRAY_LAST',
|
| 64 |
+
'ARRAY_LAST_N',
|
| 65 |
+
'ARRAY_LENGTH',
|
| 66 |
+
'ARRAY_MAX',
|
| 67 |
+
'ARRAY_MIN',
|
| 68 |
+
'ARRAY_OFFSET',
|
| 69 |
+
'ARRAY_OFFSETS',
|
| 70 |
+
'ARRAY_REMOVE_FIRST_N',
|
| 71 |
+
'ARRAY_REMOVE_LAST_N',
|
| 72 |
+
'ARRAY_REVERSE',
|
| 73 |
+
'ARRAY_SLICE',
|
| 74 |
+
'ARRAY_SUM',
|
| 75 |
+
'ARRAY_TO_STRING',
|
| 76 |
+
'ARRAY_TRANSFORM',
|
| 77 |
+
'ARRAY_ZIP',
|
| 78 |
+
'ASCII',
|
| 79 |
+
'ASIN',
|
| 80 |
+
'ASINH',
|
| 81 |
+
'ATAN',
|
| 82 |
+
'ATAN2',
|
| 83 |
+
'ATANH',
|
| 84 |
+
'AVG',
|
| 85 |
+
'BIT_AND',
|
| 86 |
+
'BIT_COUNT',
|
| 87 |
+
'BIT_OR',
|
| 88 |
+
'BIT_XOR',
|
| 89 |
+
'BOOL',
|
| 90 |
+
'BOOL_ARRAY',
|
| 91 |
+
'BYTE_LENGTH',
|
| 92 |
+
'CASE',
|
| 93 |
+
'CAST',
|
| 94 |
+
'CBRT',
|
| 95 |
+
'CEIL',
|
| 96 |
+
'CEILING',
|
| 97 |
+
'CHARACTER_LENGTH',
|
| 98 |
+
'CHAR_LENGTH',
|
| 99 |
+
'CHR',
|
| 100 |
+
'COALESCE',
|
| 101 |
+
'CODE_POINTS_TO_BYTES',
|
| 102 |
+
'CODE_POINTS_TO_STRING',
|
| 103 |
+
'COLLATE',
|
| 104 |
+
'CONCAT',
|
| 105 |
+
'CORR',
|
| 106 |
+
'COS',
|
| 107 |
+
'COSH',
|
| 108 |
+
'COSINE_DISTANCE',
|
| 109 |
+
'COT',
|
| 110 |
+
'COTH',
|
| 111 |
+
'COUNT',
|
| 112 |
+
'COUNT(*)',
|
| 113 |
+
'COUNTIF',
|
| 114 |
+
'COVAR_POP',
|
| 115 |
+
'COVAR_SAMP',
|
| 116 |
+
'CSC',
|
| 117 |
+
'CSCH',
|
| 118 |
+
'CUME_DIST',
|
| 119 |
+
'CURRENT_DATE',
|
| 120 |
+
'CURRENT_DATETIME',
|
| 121 |
+
'CURRENT_TIME',
|
| 122 |
+
'CURRENT_TIMESTAMP',
|
| 123 |
+
'D3A_COUNT.EXTRACT',
|
| 124 |
+
'D3A_COUNT.INIT',
|
| 125 |
+
'D3A_COUNT.MERGE',
|
| 126 |
+
'D3A_COUNT.MERGE_PARTIAL',
|
| 127 |
+
'D3A_COUNT.TO_HLL',
|
| 128 |
+
'DATE',
|
| 129 |
+
'DATETIME',
|
| 130 |
+
'DATETIME_ADD',
|
| 131 |
+
'DATETIME_BUCKET',
|
| 132 |
+
'DATETIME_DIFF',
|
| 133 |
+
'DATETIME_SUB',
|
| 134 |
+
'DATETIME_TRUNC',
|
| 135 |
+
'DATE_ADD',
|
| 136 |
+
'DATE_BUCKET',
|
| 137 |
+
'DATE_DIFF',
|
| 138 |
+
'DATE_FROM_UNIX_DATE',
|
| 139 |
+
'DATE_SUB',
|
| 140 |
+
'DATE_TRUNC',
|
| 141 |
+
'DENSE_RANK',
|
| 142 |
+
'DESTINATION_NODE_ID',
|
| 143 |
+
'DETERMINISTIC_DECRYPT_BYTES',
|
| 144 |
+
'DETERMINISTIC_DECRYPT_STRING',
|
| 145 |
+
'DETERMINISTIC_ENCRYPT',
|
| 146 |
+
'DIV',
|
| 147 |
+
'DOT_PRODUCT',
|
| 148 |
+
'EDGES',
|
| 149 |
+
'EDIT_DISTANCE',
|
| 150 |
+
'ELEMENTWISE_AVG',
|
| 151 |
+
'ELEMENTWISE_SUM',
|
| 152 |
+
'ELEMENT_DEFINITION_NAME',
|
| 153 |
+
'ELEMENT_ID',
|
| 154 |
+
'ENDS_WITH',
|
| 155 |
+
'ENUM_VALUE_DESCRIPTOR_PROTO',
|
| 156 |
+
'ERROR',
|
| 157 |
+
'EUCLIDEAN_DISTANCE',
|
| 158 |
+
'EXP',
|
| 159 |
+
'EXTRACT',
|
| 160 |
+
'EXTRACT_FOR_DP_APPROX_COUNT_DISTINCT',
|
| 161 |
+
'FARM_FINGERPRINT',
|
| 162 |
+
'FILTER_FIELDS',
|
| 163 |
+
'FIRST_VALUE',
|
| 164 |
+
'FLATTEN',
|
| 165 |
+
'FLOAT32',
|
| 166 |
+
'FLOAT32_ARRAY',
|
| 167 |
+
'FLOAT64',
|
| 168 |
+
'FLOAT64_ARRAY',
|
| 169 |
+
'FLOOR',
|
| 170 |
+
'FORMAT',
|
| 171 |
+
'FORMAT_DATE',
|
| 172 |
+
'FORMAT_DATETIME',
|
| 173 |
+
'FORMAT_TIME',
|
| 174 |
+
'FORMAT_TIMESTAMP',
|
| 175 |
+
'FROM_BASE32',
|
| 176 |
+
'FROM_BASE64',
|
| 177 |
+
'FROM_HEX',
|
| 178 |
+
'GENERATE_ARRAY',
|
| 179 |
+
'GENERATE_DATE_ARRAY',
|
| 180 |
+
'GENERATE_RANGE_ARRAY',
|
| 181 |
+
'GENERATE_TIMESTAMP_ARRAY',
|
| 182 |
+
'GENERATE_UUID',
|
| 183 |
+
'GREATEST',
|
| 184 |
+
'GROUPING',
|
| 185 |
+
'HLL_COUNT.EXTRACT',
|
| 186 |
+
'HLL_COUNT.INIT',
|
| 187 |
+
'HLL_COUNT.MERGE',
|
| 188 |
+
'HLL_COUNT.MERGE_PARTIAL',
|
| 189 |
+
'IEEE_DIVIDE',
|
| 190 |
+
'IF',
|
| 191 |
+
'IFERROR',
|
| 192 |
+
'IFNULL',
|
| 193 |
+
'IN UNNEST',
|
| 194 |
+
'INITCAP',
|
| 195 |
+
'INIT_FOR_DP_APPROX_COUNT_DISTINCT',
|
| 196 |
+
'INSTR',
|
| 197 |
+
'INT64',
|
| 198 |
+
'INT64_ARRAY',
|
| 199 |
+
'IS DESTINATION OF',
|
| 200 |
+
'IS DISTINCT FROM',
|
| 201 |
+
'IS NOT DISTINCT FROM',
|
| 202 |
+
'IS SOURCE OF',
|
| 203 |
+
'ISERROR',
|
| 204 |
+
'IS_ACYCLIC',
|
| 205 |
+
'IS_INF',
|
| 206 |
+
'IS_NAN',
|
| 207 |
+
'IS_SIMPLE',
|
| 208 |
+
'IS_TRAIL',
|
| 209 |
+
'JSON_ARRAY',
|
| 210 |
+
'JSON_ARRAY_APPEND',
|
| 211 |
+
'JSON_ARRAY_INSERT',
|
| 212 |
+
'JSON_CONTAINS',
|
| 213 |
+
'JSON_EXTRACT',
|
| 214 |
+
'JSON_EXTRACT_ARRAY',
|
| 215 |
+
'JSON_EXTRACT_SCALAR',
|
| 216 |
+
'JSON_EXTRACT_STRING_ARRAY',
|
| 217 |
+
'JSON_KEYS',
|
| 218 |
+
'JSON_OBJECT',
|
| 219 |
+
'JSON_QUERY',
|
| 220 |
+
'JSON_QUERY_ARRAY',
|
| 221 |
+
'JSON_REMOVE',
|
| 222 |
+
'JSON_SET',
|
| 223 |
+
'JSON_STRIP_NULLS',
|
| 224 |
+
'JSON_TYPE',
|
| 225 |
+
'JSON_VALUE',
|
| 226 |
+
'JSON_VALUE_ARRAY',
|
| 227 |
+
'JUSTIFY_DAYS',
|
| 228 |
+
'JUSTIFY_HOURS',
|
| 229 |
+
'JUSTIFY_INTERVAL',
|
| 230 |
+
'KEYS.ADD_KEY_FROM_RAW_BYTES',
|
| 231 |
+
'KEYS.KEYSET_CHAIN',
|
| 232 |
+
'KEYS.KEYSET_FROM_JSON',
|
| 233 |
+
'KEYS.KEYSET_LENGTH',
|
| 234 |
+
'KEYS.KEYSET_TO_JSON',
|
| 235 |
+
'KEYS.NEW_KEYSET',
|
| 236 |
+
'KEYS.NEW_WRAPPED_KEYSET',
|
| 237 |
+
'KEYS.REWRAP_KEYSET',
|
| 238 |
+
'KEYS.ROTATE_KEYSET',
|
| 239 |
+
'KEYS.ROTATE_WRAPPED_KEYSET',
|
| 240 |
+
'KLL_QUANTILES.EXTRACT_FLOAT64',
|
| 241 |
+
'KLL_QUANTILES.EXTRACT_INT64',
|
| 242 |
+
'KLL_QUANTILES.EXTRACT_POINT_FLOAT64',
|
| 243 |
+
'KLL_QUANTILES.EXTRACT_POINT_INT64',
|
| 244 |
+
'KLL_QUANTILES.INIT_FLOAT64',
|
| 245 |
+
'KLL_QUANTILES.INIT_INT64',
|
| 246 |
+
'KLL_QUANTILES.MERGE_FLOAT64',
|
| 247 |
+
'KLL_QUANTILES.MERGE_INT64',
|
| 248 |
+
'KLL_QUANTILES.MERGE_PARTIAL',
|
| 249 |
+
'KLL_QUANTILES.MERGE_POINT_FLOAT64',
|
| 250 |
+
'KLL_QUANTILES.MERGE_POINT_INT64',
|
| 251 |
+
'L1_NORM',
|
| 252 |
+
'L2_NORM',
|
| 253 |
+
'LABELS',
|
| 254 |
+
'LAG',
|
| 255 |
+
'LAST_DAY',
|
| 256 |
+
'LAST_VALUE',
|
| 257 |
+
'LAX_BOOL',
|
| 258 |
+
'LAX_BOOL_ARRAY',
|
| 259 |
+
'LAX_FLOAT32',
|
| 260 |
+
'LAX_FLOAT32_ARRAY',
|
| 261 |
+
'LAX_FLOAT64',
|
| 262 |
+
'LAX_FLOAT64_ARRAY',
|
| 263 |
+
'LAX_INT64',
|
| 264 |
+
'LAX_INT64_ARRAY',
|
| 265 |
+
'LAX_STRING',
|
| 266 |
+
'LAX_STRING_ARRAY',
|
| 267 |
+
'LEAD',
|
| 268 |
+
'LEAST',
|
| 269 |
+
'LEFT',
|
| 270 |
+
'LENGTH',
|
| 271 |
+
'LIKE ALL',
|
| 272 |
+
'LIKE ALL UNNEST',
|
| 273 |
+
'LIKE ANY',
|
| 274 |
+
'LIKE ANY UNNEST',
|
| 275 |
+
'LN',
|
| 276 |
+
'LOG',
|
| 277 |
+
'LOG10',
|
| 278 |
+
'LOGICAL_AND',
|
| 279 |
+
'LOGICAL_OR',
|
| 280 |
+
'LOWER',
|
| 281 |
+
'LPAD',
|
| 282 |
+
'LTRIM',
|
| 283 |
+
'MAKE_INTERVAL',
|
| 284 |
+
'MANHATTAN_DISTANCE',
|
| 285 |
+
'MAP_CARDINALITY',
|
| 286 |
+
'MAP_CONTAINS_KEY',
|
| 287 |
+
'MAP_DELETE',
|
| 288 |
+
'MAP_EMPTY',
|
| 289 |
+
'MAP_ENTRIES_SORTED',
|
| 290 |
+
'MAP_ENTRIES_UNSORTED',
|
| 291 |
+
'MAP_FILTER',
|
| 292 |
+
'MAP_FROM_ARRAY',
|
| 293 |
+
'MAP_GET',
|
| 294 |
+
'MAP_INSERT',
|
| 295 |
+
'MAP_INSERT_OR_REPLACE',
|
| 296 |
+
'MAP_KEYS_SORTED',
|
| 297 |
+
'MAP_KEYS_UNSORTED',
|
| 298 |
+
'MAP_REPLACE',
|
| 299 |
+
'MAP_VALUES_SORTED',
|
| 300 |
+
'MAP_VALUES_SORTED_BY_KEY',
|
| 301 |
+
'MAP_VALUES_UNSORTED',
|
| 302 |
+
'MAX',
|
| 303 |
+
'MD5',
|
| 304 |
+
'MERGE_PARTIAL_FOR_DP_APPROX_COUNT_DISTINCT',
|
| 305 |
+
'MIN',
|
| 306 |
+
'MOD',
|
| 307 |
+
'NET.HOST',
|
| 308 |
+
'NET.IPV4_FROM_INT64',
|
| 309 |
+
'NET.IPV4_TO_INT64',
|
| 310 |
+
'NET.IP_FROM_STRING',
|
| 311 |
+
'NET.IP_NET_MASK',
|
| 312 |
+
'NET.IP_TO_STRING',
|
| 313 |
+
'NET.IP_TRUNC',
|
| 314 |
+
'NET.PUBLIC_SUFFIX',
|
| 315 |
+
'NET.REG_DOMAIN',
|
| 316 |
+
'NET.SAFE_IP_FROM_STRING',
|
| 317 |
+
'NEW_UUID',
|
| 318 |
+
'NODES',
|
| 319 |
+
'NORMALIZE',
|
| 320 |
+
'NORMALIZE_AND_CASEFOLD',
|
| 321 |
+
'NOT LIKE ALL',
|
| 322 |
+
'NOT LIKE ALL UNNEST',
|
| 323 |
+
'NOT LIKE ANY',
|
| 324 |
+
'NOT LIKE ANY UNNEST',
|
| 325 |
+
'NTH_VALUE',
|
| 326 |
+
'NTILE',
|
| 327 |
+
'NULLIF',
|
| 328 |
+
'NULLIFERROR',
|
| 329 |
+
'NULLIFZERO',
|
| 330 |
+
'OCTET_LENGTH',
|
| 331 |
+
'OFFSET',
|
| 332 |
+
'ORDINAL',
|
| 333 |
+
'PARSE_BIGNUMERIC',
|
| 334 |
+
'PARSE_DATE',
|
| 335 |
+
'PARSE_DATETIME',
|
| 336 |
+
'PARSE_JSON',
|
| 337 |
+
'PARSE_NUMERIC',
|
| 338 |
+
'PARSE_TIME',
|
| 339 |
+
'PARSE_TIMESTAMP',
|
| 340 |
+
'PATH',
|
| 341 |
+
'PATH_FIRST',
|
| 342 |
+
'PATH_LAST',
|
| 343 |
+
'PATH_LENGTH',
|
| 344 |
+
'PERCENTILE_CONT',
|
| 345 |
+
'PERCENTILE_DISC',
|
| 346 |
+
'PERCENT_RANK',
|
| 347 |
+
'PI',
|
| 348 |
+
'PIVOT',
|
| 349 |
+
'PI_BIGNUMERIC',
|
| 350 |
+
'PI_NUMERIC',
|
| 351 |
+
'POW',
|
| 352 |
+
'POWER',
|
| 353 |
+
'PROPERTY_EXISTS',
|
| 354 |
+
'PROPERTY_NAMES',
|
| 355 |
+
'PROTO_MAP_CONTAINS_KEY',
|
| 356 |
+
'PROTO_MODIFY_MAP',
|
| 357 |
+
'RAND',
|
| 358 |
+
'RANGE',
|
| 359 |
+
'RANGE_BUCKET',
|
| 360 |
+
'RANGE_CONTAINS',
|
| 361 |
+
'RANGE_END',
|
| 362 |
+
'RANGE_INTERSECT',
|
| 363 |
+
'RANGE_IS_END_UNBOUNDED',
|
| 364 |
+
'RANGE_IS_START_UNBOUNDED',
|
| 365 |
+
'RANGE_OVERLAPS',
|
| 366 |
+
'RANGE_START',
|
| 367 |
+
'RANK',
|
| 368 |
+
'REGEXP_CONTAINS',
|
| 369 |
+
'REGEXP_EXTRACT',
|
| 370 |
+
'REGEXP_EXTRACT_ALL',
|
| 371 |
+
'REGEXP_INSTR',
|
| 372 |
+
'REGEXP_REPLACE',
|
| 373 |
+
'REGEXP_SUBSTR',
|
| 374 |
+
'REPEAT',
|
| 375 |
+
'REPLACE',
|
| 376 |
+
'REVERSE',
|
| 377 |
+
'RIGHT',
|
| 378 |
+
'ROUND',
|
| 379 |
+
'ROW_NUMBER',
|
| 380 |
+
'RPAD',
|
| 381 |
+
'RTRIM',
|
| 382 |
+
'S2_CELLIDFROMPOINT',
|
| 383 |
+
'S2_COVERINGCELLIDS',
|
| 384 |
+
'SAFE_ADD',
|
| 385 |
+
'SAFE_CONVERT_BYTES_TO_STRING',
|
| 386 |
+
'SAFE_DIVIDE',
|
| 387 |
+
'SAFE_MULTIPLY',
|
| 388 |
+
'SAFE_NEGATE',
|
| 389 |
+
'SAFE_OFFSET',
|
| 390 |
+
'SAFE_ORDINAL',
|
| 391 |
+
'SAFE_SUBTRACT',
|
| 392 |
+
'SAFE_TO_JSON',
|
| 393 |
+
'SAME',
|
| 394 |
+
'SEC',
|
| 395 |
+
'SECH',
|
| 396 |
+
'SESSION_USER',
|
| 397 |
+
'SHA1',
|
| 398 |
+
'SHA256',
|
| 399 |
+
'SHA512',
|
| 400 |
+
'SIGN',
|
| 401 |
+
'SIN',
|
| 402 |
+
'SINH',
|
| 403 |
+
'SOUNDEX',
|
| 404 |
+
'SOURCE_NODE_ID',
|
| 405 |
+
'SPLIT',
|
| 406 |
+
'SPLIT_SUBSTR',
|
| 407 |
+
'SQRT',
|
| 408 |
+
'STARTS_WITH',
|
| 409 |
+
'STDDEV',
|
| 410 |
+
'STDDEV_POP',
|
| 411 |
+
'STDDEV_SAMP',
|
| 412 |
+
'STRING',
|
| 413 |
+
'STRING_AGG',
|
| 414 |
+
'STRING_ARRAY',
|
| 415 |
+
'STRPOS',
|
| 416 |
+
'ST_ANGLE',
|
| 417 |
+
'ST_AREA',
|
| 418 |
+
'ST_ASBINARY',
|
| 419 |
+
'ST_ASGEOJSON',
|
| 420 |
+
'ST_ASKML',
|
| 421 |
+
'ST_ASTEXT',
|
| 422 |
+
'ST_AZIMUTH',
|
| 423 |
+
'ST_BOUNDARY',
|
| 424 |
+
'ST_BOUNDINGBOX',
|
| 425 |
+
'ST_BUFFER',
|
| 426 |
+
'ST_BUFFERWITHTOLERANCE',
|
| 427 |
+
'ST_CENTROID',
|
| 428 |
+
'ST_CENTROID_AGG',
|
| 429 |
+
'ST_CLOSESTPOINT',
|
| 430 |
+
'ST_CLUSTERDBSCAN',
|
| 431 |
+
'ST_CONTAINS',
|
| 432 |
+
'ST_CONVEXHULL',
|
| 433 |
+
'ST_COVEREDBY',
|
| 434 |
+
'ST_COVERS',
|
| 435 |
+
'ST_DIFFERENCE',
|
| 436 |
+
'ST_DIMENSION',
|
| 437 |
+
'ST_DISJOINT',
|
| 438 |
+
'ST_DISTANCE',
|
| 439 |
+
'ST_DUMP',
|
| 440 |
+
'ST_DUMPPOINTS',
|
| 441 |
+
'ST_DWITHIN',
|
| 442 |
+
'ST_ENDPOINT',
|
| 443 |
+
'ST_EQUALS',
|
| 444 |
+
'ST_EXTENT',
|
| 445 |
+
'ST_EXTERIORRING',
|
| 446 |
+
'ST_GEOGFROM',
|
| 447 |
+
'ST_GEOGFROMGEOJSON',
|
| 448 |
+
'ST_GEOGFROMKML',
|
| 449 |
+
'ST_GEOGFROMTEXT',
|
| 450 |
+
'ST_GEOGFROMWKB',
|
| 451 |
+
'ST_GEOGPOINT',
|
| 452 |
+
'ST_GEOGPOINTFROMGEOHASH',
|
| 453 |
+
'ST_GEOHASH',
|
| 454 |
+
'ST_GEOMETRYTYPE',
|
| 455 |
+
'ST_HAUSDORFFDISTANCE',
|
| 456 |
+
'ST_HAUSDORFFDWITHIN',
|
| 457 |
+
'ST_INTERIORRINGS',
|
| 458 |
+
'ST_INTERSECTION',
|
| 459 |
+
'ST_INTERSECTS',
|
| 460 |
+
'ST_INTERSECTSBOX',
|
| 461 |
+
'ST_ISCLOSED',
|
| 462 |
+
'ST_ISCOLLECTION',
|
| 463 |
+
'ST_ISEMPTY',
|
| 464 |
+
'ST_ISRING',
|
| 465 |
+
'ST_LENGTH',
|
| 466 |
+
'ST_LINEINTERPOLATEPOINT',
|
| 467 |
+
'ST_LINELOCATEPOINT',
|
| 468 |
+
'ST_LINESUBSTRING',
|
| 469 |
+
'ST_MAKELINE',
|
| 470 |
+
'ST_MAKEPOLYGON',
|
| 471 |
+
'ST_MAKEPOLYGONORIENTED',
|
| 472 |
+
'ST_MAXDISTANCE',
|
| 473 |
+
'ST_NEAREST_NEIGHBORS',
|
| 474 |
+
'ST_NPOINTS',
|
| 475 |
+
'ST_NUMGEOMETRIES',
|
| 476 |
+
'ST_NUMPOINTS',
|
| 477 |
+
'ST_PERIMETER',
|
| 478 |
+
'ST_POINTN',
|
| 479 |
+
'ST_SIMPLIFY',
|
| 480 |
+
'ST_SNAPTOGRID',
|
| 481 |
+
'ST_STARTPOINT',
|
| 482 |
+
'ST_TOUCHES',
|
| 483 |
+
'ST_UNARYUNION',
|
| 484 |
+
'ST_UNION',
|
| 485 |
+
'ST_UNION_AGG',
|
| 486 |
+
'ST_WITHIN',
|
| 487 |
+
'ST_X',
|
| 488 |
+
'ST_Y',
|
| 489 |
+
'SUBSTR',
|
| 490 |
+
'SUBSTRING',
|
| 491 |
+
'SUM',
|
| 492 |
+
'TAN',
|
| 493 |
+
'TANH',
|
| 494 |
+
'TIME',
|
| 495 |
+
'TIMESTAMP',
|
| 496 |
+
'TIMESTAMP_ADD',
|
| 497 |
+
'TIMESTAMP_BUCKET',
|
| 498 |
+
'TIMESTAMP_DIFF',
|
| 499 |
+
'TIMESTAMP_FROM_UNIX_MICROS',
|
| 500 |
+
'TIMESTAMP_FROM_UNIX_MILLIS',
|
| 501 |
+
'TIMESTAMP_FROM_UNIX_SECONDS',
|
| 502 |
+
'TIMESTAMP_MICROS',
|
| 503 |
+
'TIMESTAMP_MILLIS',
|
| 504 |
+
'TIMESTAMP_SECONDS',
|
| 505 |
+
'TIMESTAMP_SUB',
|
| 506 |
+
'TIMESTAMP_TRUNC',
|
| 507 |
+
'TIME_ADD',
|
| 508 |
+
'TIME_DIFF',
|
| 509 |
+
'TIME_SUB',
|
| 510 |
+
'TIME_TRUNC',
|
| 511 |
+
'TO_BASE32',
|
| 512 |
+
'TO_BASE64',
|
| 513 |
+
'TO_CODE_POINTS',
|
| 514 |
+
'TO_HEX',
|
| 515 |
+
'TO_JSON',
|
| 516 |
+
'TO_JSON_STRING',
|
| 517 |
+
'TRANSLATE',
|
| 518 |
+
'TRIM',
|
| 519 |
+
'TRUNC',
|
| 520 |
+
'TYPEOF',
|
| 521 |
+
'UNICODE',
|
| 522 |
+
'UNIX_DATE',
|
| 523 |
+
'UNIX_MICROS',
|
| 524 |
+
'UNIX_MILLIS',
|
| 525 |
+
'UNIX_SECONDS',
|
| 526 |
+
'UNNEST',
|
| 527 |
+
'UNPIVOT',
|
| 528 |
+
'UPPER',
|
| 529 |
+
'VARIANCE',
|
| 530 |
+
'VAR_POP',
|
| 531 |
+
'VAR_SAMP',
|
| 532 |
+
'ZEROIFNULL',
|
| 533 |
+
]
|
| 534 |
+
|
| 535 |
+
keywords = [
|
| 536 |
+
'ABORT',
|
| 537 |
+
'ACCESS',
|
| 538 |
+
'ACTION',
|
| 539 |
+
'ACYCLIC',
|
| 540 |
+
'ADD',
|
| 541 |
+
'AFTER',
|
| 542 |
+
'AGGREGATE',
|
| 543 |
+
'ALL',
|
| 544 |
+
'ALTER',
|
| 545 |
+
'ALWAYS',
|
| 546 |
+
'ANALYZE',
|
| 547 |
+
'AND',
|
| 548 |
+
'ANY',
|
| 549 |
+
'APPROX',
|
| 550 |
+
'ARE',
|
| 551 |
+
'AS',
|
| 552 |
+
'ASC',
|
| 553 |
+
'ASCENDING',
|
| 554 |
+
'ASSERT',
|
| 555 |
+
'ASSERT_ROWS_MODIFIED',
|
| 556 |
+
'AT',
|
| 557 |
+
'BATCH',
|
| 558 |
+
'BEGIN',
|
| 559 |
+
'BETWEEN',
|
| 560 |
+
'BIGDECIMAL',
|
| 561 |
+
'BREAK',
|
| 562 |
+
'BY',
|
| 563 |
+
'CALL',
|
| 564 |
+
'CASCADE',
|
| 565 |
+
'CASE',
|
| 566 |
+
'CAST',
|
| 567 |
+
'CHECK',
|
| 568 |
+
'CLAMPED',
|
| 569 |
+
'CLONE',
|
| 570 |
+
'CLUSTER',
|
| 571 |
+
'COLLATE',
|
| 572 |
+
'COLUMN',
|
| 573 |
+
'COLUMNS',
|
| 574 |
+
'COMMIT',
|
| 575 |
+
'CONFLICT',
|
| 576 |
+
'CONNECTION',
|
| 577 |
+
'CONSTANT',
|
| 578 |
+
'CONSTRAINT',
|
| 579 |
+
'CONTAINS',
|
| 580 |
+
'CONTINUE',
|
| 581 |
+
'COPY',
|
| 582 |
+
'CORRESPONDING',
|
| 583 |
+
'CREATE',
|
| 584 |
+
'CROSS',
|
| 585 |
+
'CUBE',
|
| 586 |
+
'CURRENT',
|
| 587 |
+
'CYCLE',
|
| 588 |
+
'DATA',
|
| 589 |
+
'DATABASE',
|
| 590 |
+
'DAY',
|
| 591 |
+
'DAYOFWEEK',
|
| 592 |
+
'DAYOFYEAR',
|
| 593 |
+
'DECIMAL',
|
| 594 |
+
'DECLARE',
|
| 595 |
+
'DEFAULT',
|
| 596 |
+
'DEFINE',
|
| 597 |
+
'DEFINER',
|
| 598 |
+
'DELETE',
|
| 599 |
+
'DELETION',
|
| 600 |
+
'DEPTH',
|
| 601 |
+
'DESC',
|
| 602 |
+
'DESCENDING',
|
| 603 |
+
'DESCRIBE',
|
| 604 |
+
'DESCRIPTOR',
|
| 605 |
+
'DESTINATION',
|
| 606 |
+
'DETERMINISTIC',
|
| 607 |
+
'DISTINCT',
|
| 608 |
+
'DO',
|
| 609 |
+
'DROP',
|
| 610 |
+
'EDGE',
|
| 611 |
+
'ELSE',
|
| 612 |
+
'ELSEIF',
|
| 613 |
+
'END',
|
| 614 |
+
'ENFORCED',
|
| 615 |
+
'ERROR',
|
| 616 |
+
'ESCAPE',
|
| 617 |
+
'EXCEPT',
|
| 618 |
+
'EXCEPTION',
|
| 619 |
+
'EXCLUDE',
|
| 620 |
+
'EXECUTE',
|
| 621 |
+
'EXISTS',
|
| 622 |
+
'EXPLAIN',
|
| 623 |
+
'EXPORT',
|
| 624 |
+
'EXTEND',
|
| 625 |
+
'EXTERNAL',
|
| 626 |
+
'EXTRACT',
|
| 627 |
+
'FALSE',
|
| 628 |
+
'FETCH',
|
| 629 |
+
'FIELD',
|
| 630 |
+
'FILES',
|
| 631 |
+
'FILL',
|
| 632 |
+
'FILTER',
|
| 633 |
+
'FIRST',
|
| 634 |
+
'FOLLOWING',
|
| 635 |
+
'FOR',
|
| 636 |
+
'FOREIGN',
|
| 637 |
+
'FORK',
|
| 638 |
+
'FORMAT',
|
| 639 |
+
'FRIDAY',
|
| 640 |
+
'FROM',
|
| 641 |
+
'FULL',
|
| 642 |
+
'FUNCTION',
|
| 643 |
+
'GENERATED',
|
| 644 |
+
'GRANT',
|
| 645 |
+
'GRAPH',
|
| 646 |
+
'GRAPH_TABLE',
|
| 647 |
+
'GROUP',
|
| 648 |
+
'GROUPING',
|
| 649 |
+
'GROUPS',
|
| 650 |
+
'GROUP_ROWS',
|
| 651 |
+
'HAS',
|
| 652 |
+
'HASH',
|
| 653 |
+
'HAVING',
|
| 654 |
+
'HIDDEN',
|
| 655 |
+
'HOUR',
|
| 656 |
+
'IDENTITY',
|
| 657 |
+
'IF',
|
| 658 |
+
'IGNORE',
|
| 659 |
+
'IMMEDIATE',
|
| 660 |
+
'IMMUTABLE',
|
| 661 |
+
'IMPORT',
|
| 662 |
+
'IN',
|
| 663 |
+
'INCLUDE',
|
| 664 |
+
'INCREMENT',
|
| 665 |
+
'INDEX',
|
| 666 |
+
'INNER',
|
| 667 |
+
'INOUT',
|
| 668 |
+
'INPUT',
|
| 669 |
+
'INSERT',
|
| 670 |
+
'INTERLEAVE',
|
| 671 |
+
'INTERSECT',
|
| 672 |
+
'INTO',
|
| 673 |
+
'INVOKER',
|
| 674 |
+
'IS',
|
| 675 |
+
'ISOLATION',
|
| 676 |
+
'ISOWEEK ',
|
| 677 |
+
'ISOYEAR',
|
| 678 |
+
'ITERATE',
|
| 679 |
+
'JOIN',
|
| 680 |
+
'KEY',
|
| 681 |
+
'LABEL',
|
| 682 |
+
'LABELED',
|
| 683 |
+
'LANGUAGE',
|
| 684 |
+
'LAST',
|
| 685 |
+
'LATERAL',
|
| 686 |
+
'LEAVE',
|
| 687 |
+
'LEFT',
|
| 688 |
+
'LET',
|
| 689 |
+
'LEVEL',
|
| 690 |
+
'LIKE',
|
| 691 |
+
'LIMIT',
|
| 692 |
+
'LOAD',
|
| 693 |
+
'LOG',
|
| 694 |
+
'LOOKUP',
|
| 695 |
+
'LOOP',
|
| 696 |
+
'MACRO',
|
| 697 |
+
'MATCH',
|
| 698 |
+
'MATCHED',
|
| 699 |
+
'MATCH_RECOGNIZE',
|
| 700 |
+
'MATERIALIZED',
|
| 701 |
+
'MAX',
|
| 702 |
+
'MAXVALUE',
|
| 703 |
+
'MEASURES',
|
| 704 |
+
'MERGE',
|
| 705 |
+
'MESSAGE',
|
| 706 |
+
'METADATA',
|
| 707 |
+
'MICROSECOND',
|
| 708 |
+
'MILLISECOND',
|
| 709 |
+
'MIN',
|
| 710 |
+
'MINUTE',
|
| 711 |
+
'MINVALUE',
|
| 712 |
+
'MODEL',
|
| 713 |
+
'MODULE',
|
| 714 |
+
'MONDAY',
|
| 715 |
+
'MONTH',
|
| 716 |
+
'NAME',
|
| 717 |
+
'NANOSECOND',
|
| 718 |
+
'NATURAL',
|
| 719 |
+
'NEW',
|
| 720 |
+
'NEXT',
|
| 721 |
+
'NO',
|
| 722 |
+
'NODE',
|
| 723 |
+
'NOT',
|
| 724 |
+
'NOTHING',
|
| 725 |
+
'NULL',
|
| 726 |
+
'NULLS',
|
| 727 |
+
'NULL_FILTERED',
|
| 728 |
+
'OF',
|
| 729 |
+
'OFFSET',
|
| 730 |
+
'ON',
|
| 731 |
+
'ONEOF_CASE',
|
| 732 |
+
'ONLY',
|
| 733 |
+
'OPTIONAL',
|
| 734 |
+
'OPTIONS',
|
| 735 |
+
'OR',
|
| 736 |
+
'ORDER',
|
| 737 |
+
'OUT',
|
| 738 |
+
'OUTER',
|
| 739 |
+
'OUTPUT',
|
| 740 |
+
'OVER',
|
| 741 |
+
'OVERWRITE',
|
| 742 |
+
'PARENT',
|
| 743 |
+
'PARTITION',
|
| 744 |
+
'PARTITIONS',
|
| 745 |
+
'PAST',
|
| 746 |
+
'PATH',
|
| 747 |
+
'PATHS',
|
| 748 |
+
'PATTERN',
|
| 749 |
+
'PERCENT',
|
| 750 |
+
'PIVOT',
|
| 751 |
+
'POLICIES',
|
| 752 |
+
'POLICY',
|
| 753 |
+
'PRECEDING',
|
| 754 |
+
'PRIMARY',
|
| 755 |
+
'PRIVATE',
|
| 756 |
+
'PRIVILEGE',
|
| 757 |
+
'PRIVILEGES',
|
| 758 |
+
'PROCEDURE',
|
| 759 |
+
'PROJECT',
|
| 760 |
+
'PROPERTIES',
|
| 761 |
+
'PROPERTY',
|
| 762 |
+
'PUBLIC',
|
| 763 |
+
'QUALIFY',
|
| 764 |
+
'QUARTER',
|
| 765 |
+
'RAISE',
|
| 766 |
+
'RAW',
|
| 767 |
+
'READ',
|
| 768 |
+
'RECURSIVE',
|
| 769 |
+
'REFERENCES',
|
| 770 |
+
'REMOTE',
|
| 771 |
+
'REMOVE',
|
| 772 |
+
'RENAME',
|
| 773 |
+
'REPEAT',
|
| 774 |
+
'REPEATABLE',
|
| 775 |
+
'REPLACE',
|
| 776 |
+
'REPLACE_FIELDS',
|
| 777 |
+
'REPLICA',
|
| 778 |
+
'REPORT',
|
| 779 |
+
'RESPECT',
|
| 780 |
+
'RESTRICT',
|
| 781 |
+
'RESTRICTION',
|
| 782 |
+
'RETURN',
|
| 783 |
+
'RETURNS',
|
| 784 |
+
'REVOKE',
|
| 785 |
+
'RIGHT',
|
| 786 |
+
'ROLLBACK',
|
| 787 |
+
'ROLLUP',
|
| 788 |
+
'ROW',
|
| 789 |
+
'ROWS',
|
| 790 |
+
'RUN',
|
| 791 |
+
'SAFE_CAST',
|
| 792 |
+
'SATURDAY',
|
| 793 |
+
'SCHEMA',
|
| 794 |
+
'SEARCH',
|
| 795 |
+
'SECOND ',
|
| 796 |
+
'SECURITY',
|
| 797 |
+
'SELECT',
|
| 798 |
+
'SEQUENCE',
|
| 799 |
+
'SET',
|
| 800 |
+
'SETS',
|
| 801 |
+
'SHORTEST',
|
| 802 |
+
'SHOW',
|
| 803 |
+
'SIMPLE',
|
| 804 |
+
'SKIP',
|
| 805 |
+
'SNAPSHOT',
|
| 806 |
+
'SOME',
|
| 807 |
+
'SOURCE',
|
| 808 |
+
'SQL',
|
| 809 |
+
'STABLE',
|
| 810 |
+
'START',
|
| 811 |
+
'STATIC_DESCRIBE',
|
| 812 |
+
'STORED',
|
| 813 |
+
'STORING',
|
| 814 |
+
'STRICT',
|
| 815 |
+
'SUNDAY',
|
| 816 |
+
'SYSTEM',
|
| 817 |
+
'SYSTEM_TIME',
|
| 818 |
+
'TABLE',
|
| 819 |
+
'TABLES',
|
| 820 |
+
'TABLESAMPLE',
|
| 821 |
+
'TARGET',
|
| 822 |
+
'TEMP',
|
| 823 |
+
'TEMPORARY',
|
| 824 |
+
'THEN',
|
| 825 |
+
'THURSDAY',
|
| 826 |
+
'TO',
|
| 827 |
+
'TRAIL',
|
| 828 |
+
'TRANSACTION',
|
| 829 |
+
'TRANSFORM',
|
| 830 |
+
'TREAT',
|
| 831 |
+
'TRUE',
|
| 832 |
+
'TRUNCATE',
|
| 833 |
+
'TUESDAY',
|
| 834 |
+
'TYPE',
|
| 835 |
+
'UNBOUNDED',
|
| 836 |
+
'UNDROP',
|
| 837 |
+
'UNION',
|
| 838 |
+
'UNIQUE',
|
| 839 |
+
'UNKNOWN',
|
| 840 |
+
'UNNEST',
|
| 841 |
+
'UNPIVOT',
|
| 842 |
+
'UNTIL',
|
| 843 |
+
'UPDATE',
|
| 844 |
+
'USING',
|
| 845 |
+
'VALUE',
|
| 846 |
+
'VALUES',
|
| 847 |
+
'VECTOR',
|
| 848 |
+
'VIEW',
|
| 849 |
+
'VIEWS',
|
| 850 |
+
'VOLATILE',
|
| 851 |
+
'WALK',
|
| 852 |
+
'WEDNESDAY',
|
| 853 |
+
'WEEK',
|
| 854 |
+
'WEIGHT',
|
| 855 |
+
'WHEN',
|
| 856 |
+
'WHERE',
|
| 857 |
+
'WHILE',
|
| 858 |
+
'WINDOW',
|
| 859 |
+
'WITH',
|
| 860 |
+
'WITHIN',
|
| 861 |
+
'WRITE',
|
| 862 |
+
'YEAR',
|
| 863 |
+
'ZONE',
|
| 864 |
+
]
|
| 865 |
+
|
| 866 |
+
operators = [
|
| 867 |
+
'!=',
|
| 868 |
+
'&',
|
| 869 |
+
'*',
|
| 870 |
+
'+',
|
| 871 |
+
'-',
|
| 872 |
+
'/',
|
| 873 |
+
'<',
|
| 874 |
+
'<<',
|
| 875 |
+
'<=',
|
| 876 |
+
'=',
|
| 877 |
+
'>',
|
| 878 |
+
'>=',
|
| 879 |
+
'>>',
|
| 880 |
+
'^',
|
| 881 |
+
'|',
|
| 882 |
+
'||',
|
| 883 |
+
'~',
|
| 884 |
+
]
|
| 885 |
+
|
| 886 |
+
types = [
|
| 887 |
+
'ARRAY',
|
| 888 |
+
'BIGNUMERIC',
|
| 889 |
+
'BOOL',
|
| 890 |
+
'BYTES',
|
| 891 |
+
'DATE',
|
| 892 |
+
'DATETIME',
|
| 893 |
+
'DOUBLE',
|
| 894 |
+
'ENUM',
|
| 895 |
+
'EXTENDED',
|
| 896 |
+
'FLOAT',
|
| 897 |
+
'GEOGRAPHY',
|
| 898 |
+
'GRAPH_ELEMENT',
|
| 899 |
+
'GRAPH_PATH',
|
| 900 |
+
'INT32',
|
| 901 |
+
'INT64',
|
| 902 |
+
'INTERVAL',
|
| 903 |
+
'JSON',
|
| 904 |
+
'MAP',
|
| 905 |
+
'MEASURE',
|
| 906 |
+
'NUMERIC',
|
| 907 |
+
'PROTO',
|
| 908 |
+
'RANGE',
|
| 909 |
+
'STRING',
|
| 910 |
+
'STRUCT',
|
| 911 |
+
'TIME',
|
| 912 |
+
'TIMESTAMP',
|
| 913 |
+
'TIMESTAMP_PICOS',
|
| 914 |
+
'TOKENLIST',
|
| 915 |
+
'UINT32',
|
| 916 |
+
'UINT64',
|
| 917 |
+
'UUID',
|
| 918 |
+
]
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_julia_builtins.py
ADDED
|
@@ -0,0 +1,411 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._julia_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Julia builtins.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
# operators
|
| 12 |
+
# see https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm
|
| 13 |
+
# Julia v1.6.0-rc1
|
| 14 |
+
OPERATORS_LIST = [
|
| 15 |
+
# other
|
| 16 |
+
'->',
|
| 17 |
+
# prec-assignment
|
| 18 |
+
':=', '$=',
|
| 19 |
+
# prec-conditional, prec-lazy-or, prec-lazy-and
|
| 20 |
+
'?', '||', '&&',
|
| 21 |
+
# prec-colon
|
| 22 |
+
':',
|
| 23 |
+
# prec-plus
|
| 24 |
+
'$',
|
| 25 |
+
# prec-decl
|
| 26 |
+
'::',
|
| 27 |
+
]
|
| 28 |
+
DOTTED_OPERATORS_LIST = [
|
| 29 |
+
# prec-assignment
|
| 30 |
+
r'=', r'+=', r'-=', r'*=', r'/=', r'//=', r'\=', r'^=', r'÷=', r'%=', r'<<=',
|
| 31 |
+
r'>>=', r'>>>=', r'|=', r'&=', r'⊻=', r'≔', r'⩴', r"≕'", r'~',
|
| 32 |
+
# prec-pair
|
| 33 |
+
'=>',
|
| 34 |
+
# prec-arrow
|
| 35 |
+
r'→', r'↔', r'↚', r'↛', r'↞', r'↠', r'↢', r'↣', r'↦', r'↤', r'↮', r'⇎', r'⇍', r'⇏',
|
| 36 |
+
r'⇐', r'⇒', r'⇔', r'⇴', r'⇶', r'⇷', r'⇸', r'⇹', r'⇺', r'⇻', r'⇼', r'⇽', r'⇾', r'⇿',
|
| 37 |
+
r'⟵', r'⟶', r'⟷', r'⟹', r'⟺', r'⟻', r'⟼', r'⟽', r'⟾', r'⟿', r'⤀', r'⤁', r'⤂', r'⤃',
|
| 38 |
+
r'⤄', r'⤅', r'⤆', r'⤇', r'⤌', r'⤍', r'⤎', r'⤏', r'⤐', r'⤑', r'⤔', r'⤕', r'⤖', r'⤗',
|
| 39 |
+
r'⤘', r'⤝', r'⤞', r'⤟', r'⤠', r'⥄', r'⥅', r'⥆', r'⥇', r'⥈', r'⥊', r'⥋', r'⥎', r'⥐',
|
| 40 |
+
r'⥒', r'⥓', r'⥖', r'⥗', r'⥚', r'⥛', r'⥞', r'⥟', r'⥢', r'⥤', r'⥦', r'⥧', r'⥨', r'⥩',
|
| 41 |
+
r'⥪', r'⥫', r'⥬', r'⥭', r'⥰', r'⧴', r'⬱', r'⬰', r'⬲', r'⬳', r'⬴', r'⬵', r'⬶', r'⬷',
|
| 42 |
+
r'⬸', r'⬹', r'⬺', r'⬻', r'⬼', r'⬽', r'⬾', r'⬿', r'⭀', r'⭁', r'⭂', r'⭃', r'⭄', r'⭇',
|
| 43 |
+
r'⭈', r'⭉', r'⭊', r'⭋', r'⭌', r'←', r'→', r'⇜', r'⇝', r'↜', r'↝', r'↩', r'↪', r'↫',
|
| 44 |
+
r'↬', r'↼', r'↽', r'⇀', r'⇁', r'⇄', r'⇆', r'⇇', r'⇉', r'⇋', r'⇌', r'⇚', r'⇛', r'⇠',
|
| 45 |
+
r'⇢', r'↷', r'↶', r'↺', r'↻', r'-->', r'<--', r'<-->',
|
| 46 |
+
# prec-comparison
|
| 47 |
+
r'>', r'<', r'>=', r'≥', r'<=', r'≤', r'==', r'===', r'≡', r'!=', r'≠', r'!==',
|
| 48 |
+
r'≢', r'∈', r'∉', r'∋', r'∌', r'⊆', r'⊈', r'⊂', r'⊄', r'⊊', r'∝', r'∊', r'∍', r'∥',
|
| 49 |
+
r'∦', r'∷', r'∺', r'∻', r'∽', r'∾', r'≁', r'≃', r'≂', r'≄', r'≅', r'≆', r'≇', r'≈',
|
| 50 |
+
r'≉', r'≊', r'≋', r'≌', r'≍', r'≎', r'≐', r'≑', r'≒', r'≓', r'≖', r'≗', r'≘', r'≙',
|
| 51 |
+
r'≚', r'≛', r'≜', r'≝', r'≞', r'≟', r'≣', r'≦', r'≧', r'≨', r'≩', r'≪', r'≫', r'≬',
|
| 52 |
+
r'≭', r'≮', r'≯', r'≰', r'≱', r'≲', r'≳', r'≴', r'≵', r'≶', r'≷', r'≸', r'≹', r'≺',
|
| 53 |
+
r'≻', r'≼', r'≽', r'≾', r'≿', r'⊀', r'⊁', r'⊃', r'⊅', r'⊇', r'⊉', r'⊋', r'⊏', r'⊐',
|
| 54 |
+
r'⊑', r'⊒', r'⊜', r'⊩', r'⊬', r'⊮', r'⊰', r'⊱', r'⊲', r'⊳', r'⊴', r'⊵', r'⊶', r'⊷',
|
| 55 |
+
r'⋍', r'⋐', r'⋑', r'⋕', r'⋖', r'⋗', r'⋘', r'⋙', r'⋚', r'⋛', r'⋜', r'⋝', r'⋞', r'⋟',
|
| 56 |
+
r'⋠', r'⋡', r'⋢', r'⋣', r'⋤', r'⋥', r'⋦', r'⋧', r'⋨', r'⋩', r'⋪', r'⋫', r'⋬', r'⋭',
|
| 57 |
+
r'⋲', r'⋳', r'⋴', r'⋵', r'⋶', r'⋷', r'⋸', r'⋹', r'⋺', r'⋻', r'⋼', r'⋽', r'⋾', r'⋿',
|
| 58 |
+
r'⟈', r'⟉', r'⟒', r'⦷', r'⧀', r'⧁', r'⧡', r'⧣', r'⧤', r'⧥', r'⩦', r'⩧', r'⩪', r'⩫',
|
| 59 |
+
r'⩬', r'⩭', r'⩮', r'⩯', r'⩰', r'⩱', r'⩲', r'⩳', r'⩵', r'⩶', r'⩷', r'⩸', r'⩹', r'⩺',
|
| 60 |
+
r'⩻', r'⩼', r'⩽', r'⩾', r'⩿', r'⪀', r'⪁', r'⪂', r'⪃', r'⪄', r'⪅', r'⪆', r'⪇', r'⪈',
|
| 61 |
+
r'⪉', r'⪊', r'⪋', r'⪌', r'⪍', r'⪎', r'⪏', r'⪐', r'⪑', r'⪒', r'⪓', r'⪔', r'⪕', r'⪖',
|
| 62 |
+
r'⪗', r'⪘', r'⪙', r'⪚', r'⪛', r'⪜', r'⪝', r'⪞', r'⪟', r'⪠', r'⪡', r'⪢', r'⪣', r'⪤',
|
| 63 |
+
r'⪥', r'⪦', r'⪧', r'⪨', r'⪩', r'⪪', r'⪫', r'⪬', r'⪭', r'⪮', r'⪯', r'⪰', r'⪱', r'⪲',
|
| 64 |
+
r'⪳', r'⪴', r'⪵', r'⪶', r'⪷', r'⪸', r'⪹', r'⪺', r'⪻', r'⪼', r'⪽', r'⪾', r'⪿', r'⫀',
|
| 65 |
+
r'⫁', r'⫂', r'⫃', r'⫄', r'⫅', r'⫆', r'⫇', r'⫈', r'⫉', r'⫊', r'⫋', r'⫌', r'⫍', r'⫎',
|
| 66 |
+
r'⫏', r'⫐', r'⫑', r'⫒', r'⫓', r'⫔', r'⫕', r'⫖', r'⫗', r'⫘', r'⫙', r'⫷', r'⫸', r'⫹',
|
| 67 |
+
r'⫺', r'⊢', r'⊣', r'⟂', r'<:', r'>:',
|
| 68 |
+
# prec-pipe
|
| 69 |
+
'<|', '|>',
|
| 70 |
+
# prec-colon
|
| 71 |
+
r'…', r'⁝', r'⋮', r'⋱', r'⋰', r'⋯',
|
| 72 |
+
# prec-plus
|
| 73 |
+
r'+', r'-', r'¦', r'|', r'⊕', r'⊖', r'⊞', r'⊟', r'++', r'∪', r'∨', r'⊔', r'±', r'∓',
|
| 74 |
+
r'∔', r'∸', r'≏', r'⊎', r'⊻', r'⊽', r'⋎', r'⋓', r'⧺', r'⧻', r'⨈', r'⨢', r'⨣', r'⨤',
|
| 75 |
+
r'⨥', r'⨦', r'⨧', r'⨨', r'⨩', r'⨪', r'⨫', r'⨬', r'⨭', r'⨮', r'⨹', r'⨺', r'⩁', r'⩂',
|
| 76 |
+
r'⩅', r'⩊', r'⩌', r'⩏', r'⩐', r'⩒', r'⩔', r'⩖', r'⩗', r'⩛', r'⩝', r'⩡', r'⩢', r'⩣',
|
| 77 |
+
# prec-times
|
| 78 |
+
r'*', r'/', r'⌿', r'÷', r'%', r'&', r'⋅', r'∘', r'×', '\\', r'∩', r'∧', r'⊗', r'⊘',
|
| 79 |
+
r'⊙', r'⊚', r'⊛', r'⊠', r'⊡', r'⊓', r'∗', r'∙', r'∤', r'⅋', r'≀', r'⊼', r'⋄', r'⋆',
|
| 80 |
+
r'⋇', r'⋉', r'⋊', r'⋋', r'⋌', r'⋏', r'⋒', r'⟑', r'⦸', r'⦼', r'⦾', r'⦿', r'⧶', r'⧷',
|
| 81 |
+
r'⨇', r'⨰', r'⨱', r'⨲', r'⨳', r'⨴', r'⨵', r'⨶', r'⨷', r'⨸', r'⨻', r'⨼', r'⨽', r'⩀',
|
| 82 |
+
r'⩃', r'⩄', r'⩋', r'⩍', r'⩎', r'⩑', r'⩓', r'⩕', r'⩘', r'⩚', r'⩜', r'⩞', r'⩟', r'⩠',
|
| 83 |
+
r'⫛', r'⊍', r'▷', r'⨝', r'⟕', r'⟖', r'⟗', r'⨟',
|
| 84 |
+
# prec-rational, prec-bitshift
|
| 85 |
+
'//', '>>', '<<', '>>>',
|
| 86 |
+
# prec-power
|
| 87 |
+
r'^', r'↑', r'↓', r'⇵', r'⟰', r'⟱', r'⤈', r'⤉', r'⤊', r'⤋', r'⤒', r'⤓', r'⥉', r'⥌',
|
| 88 |
+
r'⥍', r'⥏', r'⥑', r'⥔', r'⥕', r'⥘', r'⥙', r'⥜', r'⥝', r'⥠', r'⥡', r'⥣', r'⥥', r'⥮',
|
| 89 |
+
r'⥯', r'↑', r'↓',
|
| 90 |
+
# unary-ops, excluding unary-and-binary-ops
|
| 91 |
+
'!', r'¬', r'√', r'∛', r'∜'
|
| 92 |
+
]
|
| 93 |
+
|
| 94 |
+
# Generated with the following in Julia v1.6.0-rc1
|
| 95 |
+
'''
|
| 96 |
+
#!/usr/bin/env julia
|
| 97 |
+
|
| 98 |
+
import REPL.REPLCompletions
|
| 99 |
+
res = String["in", "isa", "where"]
|
| 100 |
+
for kw in collect(x.keyword for x in REPLCompletions.complete_keyword(""))
|
| 101 |
+
if !(contains(kw, " ") || kw == "struct")
|
| 102 |
+
push!(res, kw)
|
| 103 |
+
end
|
| 104 |
+
end
|
| 105 |
+
sort!(unique!(setdiff!(res, ["true", "false"])))
|
| 106 |
+
foreach(x -> println("\'", x, "\',"), res)
|
| 107 |
+
'''
|
| 108 |
+
KEYWORD_LIST = (
|
| 109 |
+
'baremodule',
|
| 110 |
+
'begin',
|
| 111 |
+
'break',
|
| 112 |
+
'catch',
|
| 113 |
+
'ccall',
|
| 114 |
+
'const',
|
| 115 |
+
'continue',
|
| 116 |
+
'do',
|
| 117 |
+
'else',
|
| 118 |
+
'elseif',
|
| 119 |
+
'end',
|
| 120 |
+
'export',
|
| 121 |
+
'finally',
|
| 122 |
+
'for',
|
| 123 |
+
'function',
|
| 124 |
+
'global',
|
| 125 |
+
'if',
|
| 126 |
+
'import',
|
| 127 |
+
'in',
|
| 128 |
+
'isa',
|
| 129 |
+
'let',
|
| 130 |
+
'local',
|
| 131 |
+
'macro',
|
| 132 |
+
'module',
|
| 133 |
+
'quote',
|
| 134 |
+
'return',
|
| 135 |
+
'try',
|
| 136 |
+
'using',
|
| 137 |
+
'where',
|
| 138 |
+
'while',
|
| 139 |
+
)
|
| 140 |
+
|
| 141 |
+
# Generated with the following in Julia v1.6.0-rc1
|
| 142 |
+
'''
|
| 143 |
+
#!/usr/bin/env julia
|
| 144 |
+
|
| 145 |
+
import REPL.REPLCompletions
|
| 146 |
+
res = String[]
|
| 147 |
+
for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
|
| 148 |
+
REPLCompletions.completions("", 0)[1])
|
| 149 |
+
try
|
| 150 |
+
v = eval(Symbol(compl.mod))
|
| 151 |
+
if (v isa Type || v isa TypeVar) && (compl.mod != "=>")
|
| 152 |
+
push!(res, compl.mod)
|
| 153 |
+
end
|
| 154 |
+
catch e
|
| 155 |
+
end
|
| 156 |
+
end
|
| 157 |
+
sort!(unique!(res))
|
| 158 |
+
foreach(x -> println("\'", x, "\',"), res)
|
| 159 |
+
'''
|
| 160 |
+
BUILTIN_LIST = (
|
| 161 |
+
'AbstractArray',
|
| 162 |
+
'AbstractChannel',
|
| 163 |
+
'AbstractChar',
|
| 164 |
+
'AbstractDict',
|
| 165 |
+
'AbstractDisplay',
|
| 166 |
+
'AbstractFloat',
|
| 167 |
+
'AbstractIrrational',
|
| 168 |
+
'AbstractMatch',
|
| 169 |
+
'AbstractMatrix',
|
| 170 |
+
'AbstractPattern',
|
| 171 |
+
'AbstractRange',
|
| 172 |
+
'AbstractSet',
|
| 173 |
+
'AbstractString',
|
| 174 |
+
'AbstractUnitRange',
|
| 175 |
+
'AbstractVecOrMat',
|
| 176 |
+
'AbstractVector',
|
| 177 |
+
'Any',
|
| 178 |
+
'ArgumentError',
|
| 179 |
+
'Array',
|
| 180 |
+
'AssertionError',
|
| 181 |
+
'BigFloat',
|
| 182 |
+
'BigInt',
|
| 183 |
+
'BitArray',
|
| 184 |
+
'BitMatrix',
|
| 185 |
+
'BitSet',
|
| 186 |
+
'BitVector',
|
| 187 |
+
'Bool',
|
| 188 |
+
'BoundsError',
|
| 189 |
+
'CapturedException',
|
| 190 |
+
'CartesianIndex',
|
| 191 |
+
'CartesianIndices',
|
| 192 |
+
'Cchar',
|
| 193 |
+
'Cdouble',
|
| 194 |
+
'Cfloat',
|
| 195 |
+
'Channel',
|
| 196 |
+
'Char',
|
| 197 |
+
'Cint',
|
| 198 |
+
'Cintmax_t',
|
| 199 |
+
'Clong',
|
| 200 |
+
'Clonglong',
|
| 201 |
+
'Cmd',
|
| 202 |
+
'Colon',
|
| 203 |
+
'Complex',
|
| 204 |
+
'ComplexF16',
|
| 205 |
+
'ComplexF32',
|
| 206 |
+
'ComplexF64',
|
| 207 |
+
'ComposedFunction',
|
| 208 |
+
'CompositeException',
|
| 209 |
+
'Condition',
|
| 210 |
+
'Cptrdiff_t',
|
| 211 |
+
'Cshort',
|
| 212 |
+
'Csize_t',
|
| 213 |
+
'Cssize_t',
|
| 214 |
+
'Cstring',
|
| 215 |
+
'Cuchar',
|
| 216 |
+
'Cuint',
|
| 217 |
+
'Cuintmax_t',
|
| 218 |
+
'Culong',
|
| 219 |
+
'Culonglong',
|
| 220 |
+
'Cushort',
|
| 221 |
+
'Cvoid',
|
| 222 |
+
'Cwchar_t',
|
| 223 |
+
'Cwstring',
|
| 224 |
+
'DataType',
|
| 225 |
+
'DenseArray',
|
| 226 |
+
'DenseMatrix',
|
| 227 |
+
'DenseVecOrMat',
|
| 228 |
+
'DenseVector',
|
| 229 |
+
'Dict',
|
| 230 |
+
'DimensionMismatch',
|
| 231 |
+
'Dims',
|
| 232 |
+
'DivideError',
|
| 233 |
+
'DomainError',
|
| 234 |
+
'EOFError',
|
| 235 |
+
'Enum',
|
| 236 |
+
'ErrorException',
|
| 237 |
+
'Exception',
|
| 238 |
+
'ExponentialBackOff',
|
| 239 |
+
'Expr',
|
| 240 |
+
'Float16',
|
| 241 |
+
'Float32',
|
| 242 |
+
'Float64',
|
| 243 |
+
'Function',
|
| 244 |
+
'GlobalRef',
|
| 245 |
+
'HTML',
|
| 246 |
+
'IO',
|
| 247 |
+
'IOBuffer',
|
| 248 |
+
'IOContext',
|
| 249 |
+
'IOStream',
|
| 250 |
+
'IdDict',
|
| 251 |
+
'IndexCartesian',
|
| 252 |
+
'IndexLinear',
|
| 253 |
+
'IndexStyle',
|
| 254 |
+
'InexactError',
|
| 255 |
+
'InitError',
|
| 256 |
+
'Int',
|
| 257 |
+
'Int128',
|
| 258 |
+
'Int16',
|
| 259 |
+
'Int32',
|
| 260 |
+
'Int64',
|
| 261 |
+
'Int8',
|
| 262 |
+
'Integer',
|
| 263 |
+
'InterruptException',
|
| 264 |
+
'InvalidStateException',
|
| 265 |
+
'Irrational',
|
| 266 |
+
'KeyError',
|
| 267 |
+
'LinRange',
|
| 268 |
+
'LineNumberNode',
|
| 269 |
+
'LinearIndices',
|
| 270 |
+
'LoadError',
|
| 271 |
+
'MIME',
|
| 272 |
+
'Matrix',
|
| 273 |
+
'Method',
|
| 274 |
+
'MethodError',
|
| 275 |
+
'Missing',
|
| 276 |
+
'MissingException',
|
| 277 |
+
'Module',
|
| 278 |
+
'NTuple',
|
| 279 |
+
'NamedTuple',
|
| 280 |
+
'Nothing',
|
| 281 |
+
'Number',
|
| 282 |
+
'OrdinalRange',
|
| 283 |
+
'OutOfMemoryError',
|
| 284 |
+
'OverflowError',
|
| 285 |
+
'Pair',
|
| 286 |
+
'PartialQuickSort',
|
| 287 |
+
'PermutedDimsArray',
|
| 288 |
+
'Pipe',
|
| 289 |
+
'ProcessFailedException',
|
| 290 |
+
'Ptr',
|
| 291 |
+
'QuoteNode',
|
| 292 |
+
'Rational',
|
| 293 |
+
'RawFD',
|
| 294 |
+
'ReadOnlyMemoryError',
|
| 295 |
+
'Real',
|
| 296 |
+
'ReentrantLock',
|
| 297 |
+
'Ref',
|
| 298 |
+
'Regex',
|
| 299 |
+
'RegexMatch',
|
| 300 |
+
'RoundingMode',
|
| 301 |
+
'SegmentationFault',
|
| 302 |
+
'Set',
|
| 303 |
+
'Signed',
|
| 304 |
+
'Some',
|
| 305 |
+
'StackOverflowError',
|
| 306 |
+
'StepRange',
|
| 307 |
+
'StepRangeLen',
|
| 308 |
+
'StridedArray',
|
| 309 |
+
'StridedMatrix',
|
| 310 |
+
'StridedVecOrMat',
|
| 311 |
+
'StridedVector',
|
| 312 |
+
'String',
|
| 313 |
+
'StringIndexError',
|
| 314 |
+
'SubArray',
|
| 315 |
+
'SubString',
|
| 316 |
+
'SubstitutionString',
|
| 317 |
+
'Symbol',
|
| 318 |
+
'SystemError',
|
| 319 |
+
'Task',
|
| 320 |
+
'TaskFailedException',
|
| 321 |
+
'Text',
|
| 322 |
+
'TextDisplay',
|
| 323 |
+
'Timer',
|
| 324 |
+
'Tuple',
|
| 325 |
+
'Type',
|
| 326 |
+
'TypeError',
|
| 327 |
+
'TypeVar',
|
| 328 |
+
'UInt',
|
| 329 |
+
'UInt128',
|
| 330 |
+
'UInt16',
|
| 331 |
+
'UInt32',
|
| 332 |
+
'UInt64',
|
| 333 |
+
'UInt8',
|
| 334 |
+
'UndefInitializer',
|
| 335 |
+
'UndefKeywordError',
|
| 336 |
+
'UndefRefError',
|
| 337 |
+
'UndefVarError',
|
| 338 |
+
'Union',
|
| 339 |
+
'UnionAll',
|
| 340 |
+
'UnitRange',
|
| 341 |
+
'Unsigned',
|
| 342 |
+
'Val',
|
| 343 |
+
'Vararg',
|
| 344 |
+
'VecElement',
|
| 345 |
+
'VecOrMat',
|
| 346 |
+
'Vector',
|
| 347 |
+
'VersionNumber',
|
| 348 |
+
'WeakKeyDict',
|
| 349 |
+
'WeakRef',
|
| 350 |
+
)
|
| 351 |
+
|
| 352 |
+
# Generated with the following in Julia v1.6.0-rc1
|
| 353 |
+
'''
|
| 354 |
+
#!/usr/bin/env julia
|
| 355 |
+
|
| 356 |
+
import REPL.REPLCompletions
|
| 357 |
+
res = String["true", "false"]
|
| 358 |
+
for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
|
| 359 |
+
REPLCompletions.completions("", 0)[1])
|
| 360 |
+
try
|
| 361 |
+
v = eval(Symbol(compl.mod))
|
| 362 |
+
if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon)
|
| 363 |
+
push!(res, compl.mod)
|
| 364 |
+
end
|
| 365 |
+
catch e
|
| 366 |
+
end
|
| 367 |
+
end
|
| 368 |
+
sort!(unique!(res))
|
| 369 |
+
foreach(x -> println("\'", x, "\',"), res)
|
| 370 |
+
'''
|
| 371 |
+
LITERAL_LIST = (
|
| 372 |
+
'ARGS',
|
| 373 |
+
'C_NULL',
|
| 374 |
+
'DEPOT_PATH',
|
| 375 |
+
'ENDIAN_BOM',
|
| 376 |
+
'ENV',
|
| 377 |
+
'Inf',
|
| 378 |
+
'Inf16',
|
| 379 |
+
'Inf32',
|
| 380 |
+
'Inf64',
|
| 381 |
+
'InsertionSort',
|
| 382 |
+
'LOAD_PATH',
|
| 383 |
+
'MergeSort',
|
| 384 |
+
'NaN',
|
| 385 |
+
'NaN16',
|
| 386 |
+
'NaN32',
|
| 387 |
+
'NaN64',
|
| 388 |
+
'PROGRAM_FILE',
|
| 389 |
+
'QuickSort',
|
| 390 |
+
'RoundDown',
|
| 391 |
+
'RoundFromZero',
|
| 392 |
+
'RoundNearest',
|
| 393 |
+
'RoundNearestTiesAway',
|
| 394 |
+
'RoundNearestTiesUp',
|
| 395 |
+
'RoundToZero',
|
| 396 |
+
'RoundUp',
|
| 397 |
+
'VERSION',
|
| 398 |
+
'devnull',
|
| 399 |
+
'false',
|
| 400 |
+
'im',
|
| 401 |
+
'missing',
|
| 402 |
+
'nothing',
|
| 403 |
+
'pi',
|
| 404 |
+
'stderr',
|
| 405 |
+
'stdin',
|
| 406 |
+
'stdout',
|
| 407 |
+
'true',
|
| 408 |
+
'undef',
|
| 409 |
+
'π',
|
| 410 |
+
'ℯ',
|
| 411 |
+
)
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_lasso_builtins.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_lilypond_builtins.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_lua_builtins.py
ADDED
|
@@ -0,0 +1,285 @@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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._lua_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
This file contains the names and modules of lua functions
|
| 6 |
+
It is able to re-generate itself, but for adding new functions you
|
| 7 |
+
probably have to add some callbacks (see function module_callbacks).
|
| 8 |
+
|
| 9 |
+
Do not edit the MODULES dict by hand.
|
| 10 |
+
|
| 11 |
+
Run with `python -I` to regenerate.
|
| 12 |
+
|
| 13 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 14 |
+
:license: BSD, see LICENSE for details.
|
| 15 |
+
"""
|
| 16 |
+
|
| 17 |
+
MODULES = {'basic': ('_G',
|
| 18 |
+
'_VERSION',
|
| 19 |
+
'assert',
|
| 20 |
+
'collectgarbage',
|
| 21 |
+
'dofile',
|
| 22 |
+
'error',
|
| 23 |
+
'getmetatable',
|
| 24 |
+
'ipairs',
|
| 25 |
+
'load',
|
| 26 |
+
'loadfile',
|
| 27 |
+
'next',
|
| 28 |
+
'pairs',
|
| 29 |
+
'pcall',
|
| 30 |
+
'print',
|
| 31 |
+
'rawequal',
|
| 32 |
+
'rawget',
|
| 33 |
+
'rawlen',
|
| 34 |
+
'rawset',
|
| 35 |
+
'select',
|
| 36 |
+
'setmetatable',
|
| 37 |
+
'tonumber',
|
| 38 |
+
'tostring',
|
| 39 |
+
'type',
|
| 40 |
+
'warn',
|
| 41 |
+
'xpcall'),
|
| 42 |
+
'bit32': ('bit32.arshift',
|
| 43 |
+
'bit32.band',
|
| 44 |
+
'bit32.bnot',
|
| 45 |
+
'bit32.bor',
|
| 46 |
+
'bit32.btest',
|
| 47 |
+
'bit32.bxor',
|
| 48 |
+
'bit32.extract',
|
| 49 |
+
'bit32.lrotate',
|
| 50 |
+
'bit32.lshift',
|
| 51 |
+
'bit32.replace',
|
| 52 |
+
'bit32.rrotate',
|
| 53 |
+
'bit32.rshift'),
|
| 54 |
+
'coroutine': ('coroutine.close',
|
| 55 |
+
'coroutine.create',
|
| 56 |
+
'coroutine.isyieldable',
|
| 57 |
+
'coroutine.resume',
|
| 58 |
+
'coroutine.running',
|
| 59 |
+
'coroutine.status',
|
| 60 |
+
'coroutine.wrap',
|
| 61 |
+
'coroutine.yield'),
|
| 62 |
+
'debug': ('debug.debug',
|
| 63 |
+
'debug.gethook',
|
| 64 |
+
'debug.getinfo',
|
| 65 |
+
'debug.getlocal',
|
| 66 |
+
'debug.getmetatable',
|
| 67 |
+
'debug.getregistry',
|
| 68 |
+
'debug.getupvalue',
|
| 69 |
+
'debug.getuservalue',
|
| 70 |
+
'debug.sethook',
|
| 71 |
+
'debug.setlocal',
|
| 72 |
+
'debug.setmetatable',
|
| 73 |
+
'debug.setupvalue',
|
| 74 |
+
'debug.setuservalue',
|
| 75 |
+
'debug.traceback',
|
| 76 |
+
'debug.upvalueid',
|
| 77 |
+
'debug.upvaluejoin'),
|
| 78 |
+
'io': ('io.close',
|
| 79 |
+
'io.flush',
|
| 80 |
+
'io.input',
|
| 81 |
+
'io.lines',
|
| 82 |
+
'io.open',
|
| 83 |
+
'io.output',
|
| 84 |
+
'io.popen',
|
| 85 |
+
'io.read',
|
| 86 |
+
'io.stderr',
|
| 87 |
+
'io.stdin',
|
| 88 |
+
'io.stdout',
|
| 89 |
+
'io.tmpfile',
|
| 90 |
+
'io.type',
|
| 91 |
+
'io.write'),
|
| 92 |
+
'math': ('math.abs',
|
| 93 |
+
'math.acos',
|
| 94 |
+
'math.asin',
|
| 95 |
+
'math.atan',
|
| 96 |
+
'math.atan2',
|
| 97 |
+
'math.ceil',
|
| 98 |
+
'math.cos',
|
| 99 |
+
'math.cosh',
|
| 100 |
+
'math.deg',
|
| 101 |
+
'math.exp',
|
| 102 |
+
'math.floor',
|
| 103 |
+
'math.fmod',
|
| 104 |
+
'math.frexp',
|
| 105 |
+
'math.huge',
|
| 106 |
+
'math.ldexp',
|
| 107 |
+
'math.log',
|
| 108 |
+
'math.max',
|
| 109 |
+
'math.maxinteger',
|
| 110 |
+
'math.min',
|
| 111 |
+
'math.mininteger',
|
| 112 |
+
'math.modf',
|
| 113 |
+
'math.pi',
|
| 114 |
+
'math.pow',
|
| 115 |
+
'math.rad',
|
| 116 |
+
'math.random',
|
| 117 |
+
'math.randomseed',
|
| 118 |
+
'math.sin',
|
| 119 |
+
'math.sinh',
|
| 120 |
+
'math.sqrt',
|
| 121 |
+
'math.tan',
|
| 122 |
+
'math.tanh',
|
| 123 |
+
'math.tointeger',
|
| 124 |
+
'math.type',
|
| 125 |
+
'math.ult'),
|
| 126 |
+
'modules': ('package.config',
|
| 127 |
+
'package.cpath',
|
| 128 |
+
'package.loaded',
|
| 129 |
+
'package.loadlib',
|
| 130 |
+
'package.path',
|
| 131 |
+
'package.preload',
|
| 132 |
+
'package.searchers',
|
| 133 |
+
'package.searchpath',
|
| 134 |
+
'require'),
|
| 135 |
+
'os': ('os.clock',
|
| 136 |
+
'os.date',
|
| 137 |
+
'os.difftime',
|
| 138 |
+
'os.execute',
|
| 139 |
+
'os.exit',
|
| 140 |
+
'os.getenv',
|
| 141 |
+
'os.remove',
|
| 142 |
+
'os.rename',
|
| 143 |
+
'os.setlocale',
|
| 144 |
+
'os.time',
|
| 145 |
+
'os.tmpname'),
|
| 146 |
+
'string': ('string.byte',
|
| 147 |
+
'string.char',
|
| 148 |
+
'string.dump',
|
| 149 |
+
'string.find',
|
| 150 |
+
'string.format',
|
| 151 |
+
'string.gmatch',
|
| 152 |
+
'string.gsub',
|
| 153 |
+
'string.len',
|
| 154 |
+
'string.lower',
|
| 155 |
+
'string.match',
|
| 156 |
+
'string.pack',
|
| 157 |
+
'string.packsize',
|
| 158 |
+
'string.rep',
|
| 159 |
+
'string.reverse',
|
| 160 |
+
'string.sub',
|
| 161 |
+
'string.unpack',
|
| 162 |
+
'string.upper'),
|
| 163 |
+
'table': ('table.concat',
|
| 164 |
+
'table.insert',
|
| 165 |
+
'table.move',
|
| 166 |
+
'table.pack',
|
| 167 |
+
'table.remove',
|
| 168 |
+
'table.sort',
|
| 169 |
+
'table.unpack'),
|
| 170 |
+
'utf8': ('utf8.char',
|
| 171 |
+
'utf8.charpattern',
|
| 172 |
+
'utf8.codepoint',
|
| 173 |
+
'utf8.codes',
|
| 174 |
+
'utf8.len',
|
| 175 |
+
'utf8.offset')}
|
| 176 |
+
|
| 177 |
+
if __name__ == '__main__': # pragma: no cover
|
| 178 |
+
import re
|
| 179 |
+
from urllib.request import urlopen
|
| 180 |
+
import pprint
|
| 181 |
+
|
| 182 |
+
# you can't generally find out what module a function belongs to if you
|
| 183 |
+
# have only its name. Because of this, here are some callback functions
|
| 184 |
+
# that recognize if a gioven function belongs to a specific module
|
| 185 |
+
def module_callbacks():
|
| 186 |
+
def is_in_coroutine_module(name):
|
| 187 |
+
return name.startswith('coroutine.')
|
| 188 |
+
|
| 189 |
+
def is_in_modules_module(name):
|
| 190 |
+
if name in ['require', 'module'] or name.startswith('package'):
|
| 191 |
+
return True
|
| 192 |
+
else:
|
| 193 |
+
return False
|
| 194 |
+
|
| 195 |
+
def is_in_string_module(name):
|
| 196 |
+
return name.startswith('string.')
|
| 197 |
+
|
| 198 |
+
def is_in_table_module(name):
|
| 199 |
+
return name.startswith('table.')
|
| 200 |
+
|
| 201 |
+
def is_in_math_module(name):
|
| 202 |
+
return name.startswith('math')
|
| 203 |
+
|
| 204 |
+
def is_in_io_module(name):
|
| 205 |
+
return name.startswith('io.')
|
| 206 |
+
|
| 207 |
+
def is_in_os_module(name):
|
| 208 |
+
return name.startswith('os.')
|
| 209 |
+
|
| 210 |
+
def is_in_debug_module(name):
|
| 211 |
+
return name.startswith('debug.')
|
| 212 |
+
|
| 213 |
+
return {'coroutine': is_in_coroutine_module,
|
| 214 |
+
'modules': is_in_modules_module,
|
| 215 |
+
'string': is_in_string_module,
|
| 216 |
+
'table': is_in_table_module,
|
| 217 |
+
'math': is_in_math_module,
|
| 218 |
+
'io': is_in_io_module,
|
| 219 |
+
'os': is_in_os_module,
|
| 220 |
+
'debug': is_in_debug_module}
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
def get_newest_version():
|
| 225 |
+
f = urlopen('http://www.lua.org/manual/')
|
| 226 |
+
r = re.compile(r'^<A HREF="(\d\.\d)/">(Lua )?\1</A>')
|
| 227 |
+
for line in f:
|
| 228 |
+
m = r.match(line.decode('iso-8859-1'))
|
| 229 |
+
if m is not None:
|
| 230 |
+
return m.groups()[0]
|
| 231 |
+
|
| 232 |
+
def get_lua_functions(version):
|
| 233 |
+
f = urlopen(f'http://www.lua.org/manual/{version}/')
|
| 234 |
+
r = re.compile(r'^<A HREF="manual.html#pdf-(?!lua|LUA)([^:]+)">\1</A>')
|
| 235 |
+
functions = []
|
| 236 |
+
for line in f:
|
| 237 |
+
m = r.match(line.decode('iso-8859-1'))
|
| 238 |
+
if m is not None:
|
| 239 |
+
functions.append(m.groups()[0])
|
| 240 |
+
return functions
|
| 241 |
+
|
| 242 |
+
def get_function_module(name):
|
| 243 |
+
for mod, cb in module_callbacks().items():
|
| 244 |
+
if cb(name):
|
| 245 |
+
return mod
|
| 246 |
+
if '.' in name:
|
| 247 |
+
return name.split('.')[0]
|
| 248 |
+
else:
|
| 249 |
+
return 'basic'
|
| 250 |
+
|
| 251 |
+
def regenerate(filename, modules):
|
| 252 |
+
with open(filename, encoding='utf-8') as fp:
|
| 253 |
+
content = fp.read()
|
| 254 |
+
|
| 255 |
+
header = content[:content.find('MODULES = {')]
|
| 256 |
+
footer = content[content.find("if __name__ == '__main__':"):]
|
| 257 |
+
|
| 258 |
+
|
| 259 |
+
with open(filename, 'w', encoding='utf-8') as fp:
|
| 260 |
+
fp.write(header)
|
| 261 |
+
fp.write(f'MODULES = {pprint.pformat(modules)}\n\n')
|
| 262 |
+
fp.write(footer)
|
| 263 |
+
|
| 264 |
+
def run():
|
| 265 |
+
version = get_newest_version()
|
| 266 |
+
functions = set()
|
| 267 |
+
for v in ('5.2', version):
|
| 268 |
+
print(f'> Downloading function index for Lua {v}')
|
| 269 |
+
f = get_lua_functions(v)
|
| 270 |
+
print('> %d functions found, %d new:' %
|
| 271 |
+
(len(f), len(set(f) - functions)))
|
| 272 |
+
functions |= set(f)
|
| 273 |
+
|
| 274 |
+
functions = sorted(functions)
|
| 275 |
+
|
| 276 |
+
modules = {}
|
| 277 |
+
for full_function_name in functions:
|
| 278 |
+
print(f'>> {full_function_name}')
|
| 279 |
+
m = get_function_module(full_function_name)
|
| 280 |
+
modules.setdefault(m, []).append(full_function_name)
|
| 281 |
+
modules = {k: tuple(v) for k, v in modules.items()}
|
| 282 |
+
|
| 283 |
+
regenerate(__file__, modules)
|
| 284 |
+
|
| 285 |
+
run()
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_luau_builtins.py
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._luau_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Includes the builtins for Luau and Roblox.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
LUAU_BUILTINS = {
|
| 12 |
+
'bit32',
|
| 13 |
+
'buffer',
|
| 14 |
+
'coroutine',
|
| 15 |
+
'debug',
|
| 16 |
+
'math',
|
| 17 |
+
'os',
|
| 18 |
+
'string',
|
| 19 |
+
'table',
|
| 20 |
+
'utf8',
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
ROBLOX_BUILTINS = {
|
| 24 |
+
'task',
|
| 25 |
+
|
| 26 |
+
'Axes',
|
| 27 |
+
'BrickColor',
|
| 28 |
+
'CatalogSearchParams',
|
| 29 |
+
'CFrame',
|
| 30 |
+
'Color3',
|
| 31 |
+
'ColorSequence',
|
| 32 |
+
'ColorSequenceKeypoint',
|
| 33 |
+
'DateTime',
|
| 34 |
+
'DockWidgetPluginGuiInfo',
|
| 35 |
+
'Faces',
|
| 36 |
+
'FloatCurveKey',
|
| 37 |
+
'Font',
|
| 38 |
+
'Instance',
|
| 39 |
+
'NumberRange',
|
| 40 |
+
'NumberSequence',
|
| 41 |
+
'NumberSequenceKeypoint',
|
| 42 |
+
'OverlapParams',
|
| 43 |
+
'PathWaypoint',
|
| 44 |
+
'PhysicalProperties',
|
| 45 |
+
'Random',
|
| 46 |
+
'Ray',
|
| 47 |
+
'RaycastParams',
|
| 48 |
+
'RaycastResult',
|
| 49 |
+
'RBXScriptConnection',
|
| 50 |
+
'RBXScriptSignal',
|
| 51 |
+
'Rect',
|
| 52 |
+
'Region3',
|
| 53 |
+
'Region3int16',
|
| 54 |
+
'SharedTable',
|
| 55 |
+
'TweenInfo',
|
| 56 |
+
'UDim',
|
| 57 |
+
'UDim2',
|
| 58 |
+
'Vector2',
|
| 59 |
+
'Vector2int16',
|
| 60 |
+
'Vector3',
|
| 61 |
+
'Vector3int16',
|
| 62 |
+
}
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_mapping.py
ADDED
|
@@ -0,0 +1,603 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Automatically generated by scripts/gen_mapfiles.py.
|
| 2 |
+
# DO NOT EDIT BY HAND; run `tox -e mapfiles` instead.
|
| 3 |
+
|
| 4 |
+
LEXERS = {
|
| 5 |
+
'ABAPLexer': ('pygments.lexers.business', 'ABAP', ('abap',), ('*.abap', '*.ABAP'), ('text/x-abap',)),
|
| 6 |
+
'AMDGPULexer': ('pygments.lexers.amdgpu', 'AMDGPU', ('amdgpu',), ('*.isa',), ()),
|
| 7 |
+
'APLLexer': ('pygments.lexers.apl', 'APL', ('apl',), ('*.apl', '*.aplf', '*.aplo', '*.apln', '*.aplc', '*.apli', '*.dyalog'), ()),
|
| 8 |
+
'AbnfLexer': ('pygments.lexers.grammar_notation', 'ABNF', ('abnf',), ('*.abnf',), ('text/x-abnf',)),
|
| 9 |
+
'ActionScript3Lexer': ('pygments.lexers.actionscript', 'ActionScript 3', ('actionscript3', 'as3'), ('*.as',), ('application/x-actionscript3', 'text/x-actionscript3', 'text/actionscript3')),
|
| 10 |
+
'ActionScriptLexer': ('pygments.lexers.actionscript', 'ActionScript', ('actionscript', 'as'), ('*.as',), ('application/x-actionscript', 'text/x-actionscript', 'text/actionscript')),
|
| 11 |
+
'AdaLexer': ('pygments.lexers.ada', 'Ada', ('ada', 'ada95', 'ada2005'), ('*.adb', '*.ads', '*.ada'), ('text/x-ada',)),
|
| 12 |
+
'AdlLexer': ('pygments.lexers.archetype', 'ADL', ('adl',), ('*.adl', '*.adls', '*.adlf', '*.adlx'), ()),
|
| 13 |
+
'AgdaLexer': ('pygments.lexers.haskell', 'Agda', ('agda',), ('*.agda',), ('text/x-agda',)),
|
| 14 |
+
'AheuiLexer': ('pygments.lexers.esoteric', 'Aheui', ('aheui',), ('*.aheui',), ()),
|
| 15 |
+
'AlloyLexer': ('pygments.lexers.dsls', 'Alloy', ('alloy',), ('*.als',), ('text/x-alloy',)),
|
| 16 |
+
'AmbientTalkLexer': ('pygments.lexers.ambient', 'AmbientTalk', ('ambienttalk', 'ambienttalk/2', 'at'), ('*.at',), ('text/x-ambienttalk',)),
|
| 17 |
+
'AmplLexer': ('pygments.lexers.ampl', 'Ampl', ('ampl',), ('*.run',), ()),
|
| 18 |
+
'Angular2HtmlLexer': ('pygments.lexers.templates', 'HTML + Angular2', ('html+ng2',), ('*.ng2',), ()),
|
| 19 |
+
'Angular2Lexer': ('pygments.lexers.templates', 'Angular2', ('ng2',), (), ()),
|
| 20 |
+
'AntlrActionScriptLexer': ('pygments.lexers.parsers', 'ANTLR With ActionScript Target', ('antlr-actionscript', 'antlr-as'), ('*.G', '*.g'), ()),
|
| 21 |
+
'AntlrCSharpLexer': ('pygments.lexers.parsers', 'ANTLR With C# Target', ('antlr-csharp', 'antlr-c#'), ('*.G', '*.g'), ()),
|
| 22 |
+
'AntlrCppLexer': ('pygments.lexers.parsers', 'ANTLR With CPP Target', ('antlr-cpp',), ('*.G', '*.g'), ()),
|
| 23 |
+
'AntlrJavaLexer': ('pygments.lexers.parsers', 'ANTLR With Java Target', ('antlr-java',), ('*.G', '*.g'), ()),
|
| 24 |
+
'AntlrLexer': ('pygments.lexers.parsers', 'ANTLR', ('antlr',), (), ()),
|
| 25 |
+
'AntlrObjectiveCLexer': ('pygments.lexers.parsers', 'ANTLR With ObjectiveC Target', ('antlr-objc',), ('*.G', '*.g'), ()),
|
| 26 |
+
'AntlrPerlLexer': ('pygments.lexers.parsers', 'ANTLR With Perl Target', ('antlr-perl',), ('*.G', '*.g'), ()),
|
| 27 |
+
'AntlrPythonLexer': ('pygments.lexers.parsers', 'ANTLR With Python Target', ('antlr-python',), ('*.G', '*.g'), ()),
|
| 28 |
+
'AntlrRubyLexer': ('pygments.lexers.parsers', 'ANTLR With Ruby Target', ('antlr-ruby', 'antlr-rb'), ('*.G', '*.g'), ()),
|
| 29 |
+
'ApacheConfLexer': ('pygments.lexers.configs', 'ApacheConf', ('apacheconf', 'aconf', 'apache'), ('.htaccess', 'apache.conf', 'apache2.conf'), ('text/x-apacheconf',)),
|
| 30 |
+
'AppleScriptLexer': ('pygments.lexers.scripting', 'AppleScript', ('applescript',), ('*.applescript',), ()),
|
| 31 |
+
'ArduinoLexer': ('pygments.lexers.c_like', 'Arduino', ('arduino',), ('*.ino',), ('text/x-arduino',)),
|
| 32 |
+
'ArrowLexer': ('pygments.lexers.arrow', 'Arrow', ('arrow',), ('*.arw',), ()),
|
| 33 |
+
'ArturoLexer': ('pygments.lexers.arturo', 'Arturo', ('arturo', 'art'), ('*.art',), ()),
|
| 34 |
+
'AscLexer': ('pygments.lexers.asc', 'ASCII armored', ('asc', 'pem'), ('*.asc', '*.pem', 'id_dsa', 'id_ecdsa', 'id_ecdsa_sk', 'id_ed25519', 'id_ed25519_sk', 'id_rsa'), ('application/pgp-keys', 'application/pgp-encrypted', 'application/pgp-signature', 'application/pem-certificate-chain')),
|
| 35 |
+
'Asn1Lexer': ('pygments.lexers.asn1', 'ASN.1', ('asn1',), ('*.asn1',), ()),
|
| 36 |
+
'AspectJLexer': ('pygments.lexers.jvm', 'AspectJ', ('aspectj',), ('*.aj',), ('text/x-aspectj',)),
|
| 37 |
+
'AsymptoteLexer': ('pygments.lexers.graphics', 'Asymptote', ('asymptote', 'asy'), ('*.asy',), ('text/x-asymptote',)),
|
| 38 |
+
'AugeasLexer': ('pygments.lexers.configs', 'Augeas', ('augeas',), ('*.aug',), ()),
|
| 39 |
+
'AutoItLexer': ('pygments.lexers.automation', 'AutoIt', ('autoit',), ('*.au3',), ('text/x-autoit',)),
|
| 40 |
+
'AutohotkeyLexer': ('pygments.lexers.automation', 'autohotkey', ('autohotkey', 'ahk'), ('*.ahk', '*.ahkl'), ('text/x-autohotkey',)),
|
| 41 |
+
'AwkLexer': ('pygments.lexers.textedit', 'Awk', ('awk', 'gawk', 'mawk', 'nawk'), ('*.awk',), ('application/x-awk',)),
|
| 42 |
+
'BBCBasicLexer': ('pygments.lexers.basic', 'BBC Basic', ('bbcbasic',), ('*.bbc',), ()),
|
| 43 |
+
'BBCodeLexer': ('pygments.lexers.markup', 'BBCode', ('bbcode',), (), ('text/x-bbcode',)),
|
| 44 |
+
'BCLexer': ('pygments.lexers.algebra', 'BC', ('bc',), ('*.bc',), ()),
|
| 45 |
+
'BQNLexer': ('pygments.lexers.bqn', 'BQN', ('bqn',), ('*.bqn',), ()),
|
| 46 |
+
'BSTLexer': ('pygments.lexers.bibtex', 'BST', ('bst', 'bst-pybtex'), ('*.bst',), ()),
|
| 47 |
+
'BareLexer': ('pygments.lexers.bare', 'BARE', ('bare',), ('*.bare',), ()),
|
| 48 |
+
'BaseMakefileLexer': ('pygments.lexers.make', 'Base Makefile', ('basemake',), (), ()),
|
| 49 |
+
'BashLexer': ('pygments.lexers.shell', 'Bash', ('bash', 'sh', 'ksh', 'zsh', 'shell', 'openrc'), ('*.sh', '*.ksh', '*.bash', '*.ebuild', '*.eclass', '*.exheres-0', '*.exlib', '*.zsh', '.bashrc', 'bashrc', '.bash_*', 'bash_*', 'zshrc', '.zshrc', '.kshrc', 'kshrc', 'PKGBUILD'), ('application/x-sh', 'application/x-shellscript', 'text/x-shellscript')),
|
| 50 |
+
'BashSessionLexer': ('pygments.lexers.shell', 'Bash Session', ('console', 'shell-session'), ('*.sh-session', '*.shell-session'), ('application/x-shell-session', 'application/x-sh-session')),
|
| 51 |
+
'BatchLexer': ('pygments.lexers.shell', 'Batchfile', ('batch', 'bat', 'dosbatch', 'winbatch'), ('*.bat', '*.cmd'), ('application/x-dos-batch',)),
|
| 52 |
+
'BddLexer': ('pygments.lexers.bdd', 'Bdd', ('bdd',), ('*.feature',), ('text/x-bdd',)),
|
| 53 |
+
'BefungeLexer': ('pygments.lexers.esoteric', 'Befunge', ('befunge',), ('*.befunge',), ('application/x-befunge',)),
|
| 54 |
+
'BerryLexer': ('pygments.lexers.berry', 'Berry', ('berry', 'be'), ('*.be',), ('text/x-berry', 'application/x-berry')),
|
| 55 |
+
'BibTeXLexer': ('pygments.lexers.bibtex', 'BibTeX', ('bibtex', 'bib'), ('*.bib',), ('text/x-bibtex',)),
|
| 56 |
+
'BlitzBasicLexer': ('pygments.lexers.basic', 'BlitzBasic', ('blitzbasic', 'b3d', 'bplus'), ('*.bb', '*.decls'), ('text/x-bb',)),
|
| 57 |
+
'BlitzMaxLexer': ('pygments.lexers.basic', 'BlitzMax', ('blitzmax', 'bmax'), ('*.bmx',), ('text/x-bmx',)),
|
| 58 |
+
'BlueprintLexer': ('pygments.lexers.blueprint', 'Blueprint', ('blueprint',), ('*.blp',), ('text/x-blueprint',)),
|
| 59 |
+
'BnfLexer': ('pygments.lexers.grammar_notation', 'BNF', ('bnf',), ('*.bnf',), ('text/x-bnf',)),
|
| 60 |
+
'BoaLexer': ('pygments.lexers.boa', 'Boa', ('boa',), ('*.boa',), ()),
|
| 61 |
+
'BooLexer': ('pygments.lexers.dotnet', 'Boo', ('boo',), ('*.boo',), ('text/x-boo',)),
|
| 62 |
+
'BoogieLexer': ('pygments.lexers.verification', 'Boogie', ('boogie',), ('*.bpl',), ()),
|
| 63 |
+
'BrainfuckLexer': ('pygments.lexers.esoteric', 'Brainfuck', ('brainfuck', 'bf'), ('*.bf', '*.b'), ('application/x-brainfuck',)),
|
| 64 |
+
'BugsLexer': ('pygments.lexers.modeling', 'BUGS', ('bugs', 'winbugs', 'openbugs'), ('*.bug',), ()),
|
| 65 |
+
'CAmkESLexer': ('pygments.lexers.esoteric', 'CAmkES', ('camkes', 'idl4'), ('*.camkes', '*.idl4'), ()),
|
| 66 |
+
'CLexer': ('pygments.lexers.c_cpp', 'C', ('c',), ('*.c', '*.h', '*.idc', '*.x[bp]m'), ('text/x-chdr', 'text/x-csrc', 'image/x-xbitmap', 'image/x-xpixmap')),
|
| 67 |
+
'CMakeLexer': ('pygments.lexers.make', 'CMake', ('cmake',), ('*.cmake', 'CMakeLists.txt'), ('text/x-cmake',)),
|
| 68 |
+
'CObjdumpLexer': ('pygments.lexers.asm', 'c-objdump', ('c-objdump',), ('*.c-objdump',), ('text/x-c-objdump',)),
|
| 69 |
+
'CPSALexer': ('pygments.lexers.lisp', 'CPSA', ('cpsa',), ('*.cpsa',), ()),
|
| 70 |
+
'CSSUL4Lexer': ('pygments.lexers.ul4', 'CSS+UL4', ('css+ul4',), ('*.cssul4',), ()),
|
| 71 |
+
'CSharpAspxLexer': ('pygments.lexers.dotnet', 'aspx-cs', ('aspx-cs',), ('*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'), ()),
|
| 72 |
+
'CSharpLexer': ('pygments.lexers.dotnet', 'C#', ('csharp', 'c#', 'cs'), ('*.cs',), ('text/x-csharp',)),
|
| 73 |
+
'Ca65Lexer': ('pygments.lexers.asm', 'ca65 assembler', ('ca65',), ('*.s',), ()),
|
| 74 |
+
'CadlLexer': ('pygments.lexers.archetype', 'cADL', ('cadl',), ('*.cadl',), ()),
|
| 75 |
+
'CapDLLexer': ('pygments.lexers.esoteric', 'CapDL', ('capdl',), ('*.cdl',), ()),
|
| 76 |
+
'CapnProtoLexer': ('pygments.lexers.capnproto', "Cap'n Proto", ('capnp',), ('*.capnp',), ()),
|
| 77 |
+
'CarbonLexer': ('pygments.lexers.carbon', 'Carbon', ('carbon',), ('*.carbon',), ('text/x-carbon',)),
|
| 78 |
+
'CbmBasicV2Lexer': ('pygments.lexers.basic', 'CBM BASIC V2', ('cbmbas',), ('*.bas',), ()),
|
| 79 |
+
'CddlLexer': ('pygments.lexers.cddl', 'CDDL', ('cddl',), ('*.cddl',), ('text/x-cddl',)),
|
| 80 |
+
'CeylonLexer': ('pygments.lexers.jvm', 'Ceylon', ('ceylon',), ('*.ceylon',), ('text/x-ceylon',)),
|
| 81 |
+
'Cfengine3Lexer': ('pygments.lexers.configs', 'CFEngine3', ('cfengine3', 'cf3'), ('*.cf',), ()),
|
| 82 |
+
'ChaiscriptLexer': ('pygments.lexers.scripting', 'ChaiScript', ('chaiscript', 'chai'), ('*.chai',), ('text/x-chaiscript', 'application/x-chaiscript')),
|
| 83 |
+
'ChapelLexer': ('pygments.lexers.chapel', 'Chapel', ('chapel', 'chpl'), ('*.chpl',), ()),
|
| 84 |
+
'CharmciLexer': ('pygments.lexers.c_like', 'Charmci', ('charmci',), ('*.ci',), ()),
|
| 85 |
+
'CheetahHtmlLexer': ('pygments.lexers.templates', 'HTML+Cheetah', ('html+cheetah', 'html+spitfire', 'htmlcheetah'), (), ('text/html+cheetah', 'text/html+spitfire')),
|
| 86 |
+
'CheetahJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Cheetah', ('javascript+cheetah', 'js+cheetah', 'javascript+spitfire', 'js+spitfire'), (), ('application/x-javascript+cheetah', 'text/x-javascript+cheetah', 'text/javascript+cheetah', 'application/x-javascript+spitfire', 'text/x-javascript+spitfire', 'text/javascript+spitfire')),
|
| 87 |
+
'CheetahLexer': ('pygments.lexers.templates', 'Cheetah', ('cheetah', 'spitfire'), ('*.tmpl', '*.spt'), ('application/x-cheetah', 'application/x-spitfire')),
|
| 88 |
+
'CheetahXmlLexer': ('pygments.lexers.templates', 'XML+Cheetah', ('xml+cheetah', 'xml+spitfire'), (), ('application/xml+cheetah', 'application/xml+spitfire')),
|
| 89 |
+
'CirruLexer': ('pygments.lexers.webmisc', 'Cirru', ('cirru',), ('*.cirru',), ('text/x-cirru',)),
|
| 90 |
+
'ClayLexer': ('pygments.lexers.c_like', 'Clay', ('clay',), ('*.clay',), ('text/x-clay',)),
|
| 91 |
+
'CleanLexer': ('pygments.lexers.clean', 'Clean', ('clean',), ('*.icl', '*.dcl'), ()),
|
| 92 |
+
'ClojureLexer': ('pygments.lexers.jvm', 'Clojure', ('clojure', 'clj'), ('*.clj', '*.cljc'), ('text/x-clojure', 'application/x-clojure')),
|
| 93 |
+
'ClojureScriptLexer': ('pygments.lexers.jvm', 'ClojureScript', ('clojurescript', 'cljs'), ('*.cljs',), ('text/x-clojurescript', 'application/x-clojurescript')),
|
| 94 |
+
'CobolFreeformatLexer': ('pygments.lexers.business', 'COBOLFree', ('cobolfree',), ('*.cbl', '*.CBL'), ()),
|
| 95 |
+
'CobolLexer': ('pygments.lexers.business', 'COBOL', ('cobol',), ('*.cob', '*.COB', '*.cpy', '*.CPY'), ('text/x-cobol',)),
|
| 96 |
+
'CodeQLLexer': ('pygments.lexers.codeql', 'CodeQL', ('codeql', 'ql'), ('*.ql', '*.qll'), ()),
|
| 97 |
+
'CoffeeScriptLexer': ('pygments.lexers.javascript', 'CoffeeScript', ('coffeescript', 'coffee-script', 'coffee'), ('*.coffee',), ('text/coffeescript',)),
|
| 98 |
+
'ColdfusionCFCLexer': ('pygments.lexers.templates', 'Coldfusion CFC', ('cfc',), ('*.cfc',), ()),
|
| 99 |
+
'ColdfusionHtmlLexer': ('pygments.lexers.templates', 'Coldfusion HTML', ('cfm',), ('*.cfm', '*.cfml'), ('application/x-coldfusion',)),
|
| 100 |
+
'ColdfusionLexer': ('pygments.lexers.templates', 'cfstatement', ('cfs',), (), ()),
|
| 101 |
+
'Comal80Lexer': ('pygments.lexers.comal', 'COMAL-80', ('comal', 'comal80'), ('*.cml', '*.comal'), ()),
|
| 102 |
+
'CommonLispLexer': ('pygments.lexers.lisp', 'Common Lisp', ('common-lisp', 'cl', 'lisp'), ('*.cl', '*.lisp'), ('text/x-common-lisp',)),
|
| 103 |
+
'ComponentPascalLexer': ('pygments.lexers.oberon', 'Component Pascal', ('componentpascal', 'cp'), ('*.cp', '*.cps'), ('text/x-component-pascal',)),
|
| 104 |
+
'CplintLexer': ('pygments.lexers.cplint', 'cplint', ('cplint',), ('*.ecl', '*.prolog', '*.pro', '*.pl', '*.P', '*.lpad', '*.cpl'), ('text/x-cplint',)),
|
| 105 |
+
'CppLexer': ('pygments.lexers.c_cpp', 'C++', ('cpp', 'c++'), ('*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.C', '*.H', '*.cp', '*.CPP', '*.tpp', '*.cppm', '*.ixx', '*.mxx'), ('text/x-c++hdr', 'text/x-c++src')),
|
| 106 |
+
'CppObjdumpLexer': ('pygments.lexers.asm', 'cpp-objdump', ('cpp-objdump', 'c++-objdumb', 'cxx-objdump'), ('*.cpp-objdump', '*.c++-objdump', '*.cxx-objdump'), ('text/x-cpp-objdump',)),
|
| 107 |
+
'CrmshLexer': ('pygments.lexers.dsls', 'Crmsh', ('crmsh', 'pcmk'), ('*.crmsh', '*.pcmk'), ()),
|
| 108 |
+
'CrocLexer': ('pygments.lexers.d', 'Croc', ('croc',), ('*.croc',), ('text/x-crocsrc',)),
|
| 109 |
+
'CryptolLexer': ('pygments.lexers.haskell', 'Cryptol', ('cryptol', 'cry'), ('*.cry',), ('text/x-cryptol',)),
|
| 110 |
+
'CrystalLexer': ('pygments.lexers.crystal', 'Crystal', ('cr', 'crystal'), ('*.cr',), ('text/x-crystal',)),
|
| 111 |
+
'CsoundDocumentLexer': ('pygments.lexers.csound', 'Csound Document', ('csound-document', 'csound-csd'), ('*.csd',), ()),
|
| 112 |
+
'CsoundOrchestraLexer': ('pygments.lexers.csound', 'Csound Orchestra', ('csound', 'csound-orc'), ('*.orc', '*.udo'), ()),
|
| 113 |
+
'CsoundScoreLexer': ('pygments.lexers.csound', 'Csound Score', ('csound-score', 'csound-sco'), ('*.sco',), ()),
|
| 114 |
+
'CssDjangoLexer': ('pygments.lexers.templates', 'CSS+Django/Jinja', ('css+django', 'css+jinja'), ('*.css.j2', '*.css.jinja2'), ('text/css+django', 'text/css+jinja')),
|
| 115 |
+
'CssErbLexer': ('pygments.lexers.templates', 'CSS+Ruby', ('css+ruby', 'css+erb'), (), ('text/css+ruby',)),
|
| 116 |
+
'CssGenshiLexer': ('pygments.lexers.templates', 'CSS+Genshi Text', ('css+genshitext', 'css+genshi'), (), ('text/css+genshi',)),
|
| 117 |
+
'CssLexer': ('pygments.lexers.css', 'CSS', ('css',), ('*.css',), ('text/css',)),
|
| 118 |
+
'CssPhpLexer': ('pygments.lexers.templates', 'CSS+PHP', ('css+php',), (), ('text/css+php',)),
|
| 119 |
+
'CssSmartyLexer': ('pygments.lexers.templates', 'CSS+Smarty', ('css+smarty',), (), ('text/css+smarty',)),
|
| 120 |
+
'CudaLexer': ('pygments.lexers.c_like', 'CUDA', ('cuda', 'cu'), ('*.cu', '*.cuh'), ('text/x-cuda',)),
|
| 121 |
+
'CypherLexer': ('pygments.lexers.graph', 'Cypher', ('cypher',), ('*.cyp', '*.cypher'), ()),
|
| 122 |
+
'CythonLexer': ('pygments.lexers.python', 'Cython', ('cython', 'pyx', 'pyrex'), ('*.pyx', '*.pxd', '*.pxi'), ('text/x-cython', 'application/x-cython')),
|
| 123 |
+
'DLexer': ('pygments.lexers.d', 'D', ('d',), ('*.d', '*.di'), ('text/x-dsrc',)),
|
| 124 |
+
'DObjdumpLexer': ('pygments.lexers.asm', 'd-objdump', ('d-objdump',), ('*.d-objdump',), ('text/x-d-objdump',)),
|
| 125 |
+
'DarcsPatchLexer': ('pygments.lexers.diff', 'Darcs Patch', ('dpatch',), ('*.dpatch', '*.darcspatch'), ()),
|
| 126 |
+
'DartLexer': ('pygments.lexers.javascript', 'Dart', ('dart',), ('*.dart',), ('text/x-dart',)),
|
| 127 |
+
'Dasm16Lexer': ('pygments.lexers.asm', 'DASM16', ('dasm16',), ('*.dasm16', '*.dasm'), ('text/x-dasm16',)),
|
| 128 |
+
'DaxLexer': ('pygments.lexers.dax', 'Dax', ('dax',), ('*.dax',), ()),
|
| 129 |
+
'DebianControlLexer': ('pygments.lexers.installers', 'Debian Control file', ('debcontrol', 'control'), ('control',), ()),
|
| 130 |
+
'DebianSourcesLexer': ('pygments.lexers.installers', 'Debian Sources file', ('debian.sources',), ('*.sources',), ()),
|
| 131 |
+
'DelphiLexer': ('pygments.lexers.pascal', 'Delphi', ('delphi', 'pas', 'pascal', 'objectpascal'), ('*.pas', '*.dpr'), ('text/x-pascal',)),
|
| 132 |
+
'DesktopLexer': ('pygments.lexers.configs', 'Desktop file', ('desktop',), ('*.desktop',), ('application/x-desktop',)),
|
| 133 |
+
'DevicetreeLexer': ('pygments.lexers.devicetree', 'Devicetree', ('devicetree', 'dts'), ('*.dts', '*.dtsi'), ('text/x-c',)),
|
| 134 |
+
'DgLexer': ('pygments.lexers.python', 'dg', ('dg',), ('*.dg',), ('text/x-dg',)),
|
| 135 |
+
'DiffLexer': ('pygments.lexers.diff', 'Diff', ('diff', 'udiff'), ('*.diff', '*.patch'), ('text/x-diff', 'text/x-patch')),
|
| 136 |
+
'DjangoLexer': ('pygments.lexers.templates', 'Django/Jinja', ('django', 'jinja'), (), ('application/x-django-templating', 'application/x-jinja')),
|
| 137 |
+
'DnsZoneLexer': ('pygments.lexers.dns', 'Zone', ('zone',), ('*.zone',), ('text/dns',)),
|
| 138 |
+
'DockerLexer': ('pygments.lexers.configs', 'Docker', ('docker', 'dockerfile'), ('Dockerfile', '*.docker'), ('text/x-dockerfile-config',)),
|
| 139 |
+
'DtdLexer': ('pygments.lexers.html', 'DTD', ('dtd',), ('*.dtd',), ('application/xml-dtd',)),
|
| 140 |
+
'DuelLexer': ('pygments.lexers.webmisc', 'Duel', ('duel', 'jbst', 'jsonml+bst'), ('*.duel', '*.jbst'), ('text/x-duel', 'text/x-jbst')),
|
| 141 |
+
'DylanConsoleLexer': ('pygments.lexers.dylan', 'Dylan session', ('dylan-console', 'dylan-repl'), ('*.dylan-console',), ('text/x-dylan-console',)),
|
| 142 |
+
'DylanLexer': ('pygments.lexers.dylan', 'Dylan', ('dylan',), ('*.dylan', '*.dyl', '*.intr'), ('text/x-dylan',)),
|
| 143 |
+
'DylanLidLexer': ('pygments.lexers.dylan', 'DylanLID', ('dylan-lid', 'lid'), ('*.lid', '*.hdp'), ('text/x-dylan-lid',)),
|
| 144 |
+
'ECLLexer': ('pygments.lexers.ecl', 'ECL', ('ecl',), ('*.ecl',), ('application/x-ecl',)),
|
| 145 |
+
'ECLexer': ('pygments.lexers.c_like', 'eC', ('ec',), ('*.ec', '*.eh'), ('text/x-echdr', 'text/x-ecsrc')),
|
| 146 |
+
'EarlGreyLexer': ('pygments.lexers.javascript', 'Earl Grey', ('earl-grey', 'earlgrey', 'eg'), ('*.eg',), ('text/x-earl-grey',)),
|
| 147 |
+
'EasytrieveLexer': ('pygments.lexers.scripting', 'Easytrieve', ('easytrieve',), ('*.ezt', '*.mac'), ('text/x-easytrieve',)),
|
| 148 |
+
'EbnfLexer': ('pygments.lexers.parsers', 'EBNF', ('ebnf',), ('*.ebnf',), ('text/x-ebnf',)),
|
| 149 |
+
'EiffelLexer': ('pygments.lexers.eiffel', 'Eiffel', ('eiffel',), ('*.e',), ('text/x-eiffel',)),
|
| 150 |
+
'ElixirConsoleLexer': ('pygments.lexers.erlang', 'Elixir iex session', ('iex',), (), ('text/x-elixir-shellsession',)),
|
| 151 |
+
'ElixirLexer': ('pygments.lexers.erlang', 'Elixir', ('elixir', 'ex', 'exs'), ('*.ex', '*.eex', '*.exs', '*.leex'), ('text/x-elixir',)),
|
| 152 |
+
'ElmLexer': ('pygments.lexers.elm', 'Elm', ('elm',), ('*.elm',), ('text/x-elm',)),
|
| 153 |
+
'ElpiLexer': ('pygments.lexers.elpi', 'Elpi', ('elpi',), ('*.elpi',), ('text/x-elpi',)),
|
| 154 |
+
'EmacsLispLexer': ('pygments.lexers.lisp', 'EmacsLisp', ('emacs-lisp', 'elisp', 'emacs'), ('*.el',), ('text/x-elisp', 'application/x-elisp')),
|
| 155 |
+
'EmailLexer': ('pygments.lexers.email', 'E-mail', ('email', 'eml'), ('*.eml',), ('message/rfc822',)),
|
| 156 |
+
'ErbLexer': ('pygments.lexers.templates', 'ERB', ('erb',), (), ('application/x-ruby-templating',)),
|
| 157 |
+
'ErlangLexer': ('pygments.lexers.erlang', 'Erlang', ('erlang',), ('*.erl', '*.hrl', '*.es', '*.escript'), ('text/x-erlang',)),
|
| 158 |
+
'ErlangShellLexer': ('pygments.lexers.erlang', 'Erlang erl session', ('erl',), ('*.erl-sh',), ('text/x-erl-shellsession',)),
|
| 159 |
+
'EvoqueHtmlLexer': ('pygments.lexers.templates', 'HTML+Evoque', ('html+evoque',), (), ('text/html+evoque',)),
|
| 160 |
+
'EvoqueLexer': ('pygments.lexers.templates', 'Evoque', ('evoque',), ('*.evoque',), ('application/x-evoque',)),
|
| 161 |
+
'EvoqueXmlLexer': ('pygments.lexers.templates', 'XML+Evoque', ('xml+evoque',), (), ('application/xml+evoque',)),
|
| 162 |
+
'ExeclineLexer': ('pygments.lexers.shell', 'execline', ('execline',), ('*.exec',), ()),
|
| 163 |
+
'EzhilLexer': ('pygments.lexers.ezhil', 'Ezhil', ('ezhil',), ('*.n',), ('text/x-ezhil',)),
|
| 164 |
+
'FSharpLexer': ('pygments.lexers.dotnet', 'F#', ('fsharp', 'f#'), ('*.fs', '*.fsi', '*.fsx'), ('text/x-fsharp',)),
|
| 165 |
+
'FStarLexer': ('pygments.lexers.ml', 'FStar', ('fstar',), ('*.fst', '*.fsti'), ('text/x-fstar',)),
|
| 166 |
+
'FactorLexer': ('pygments.lexers.factor', 'Factor', ('factor',), ('*.factor',), ('text/x-factor',)),
|
| 167 |
+
'FancyLexer': ('pygments.lexers.ruby', 'Fancy', ('fancy', 'fy'), ('*.fy', '*.fancypack'), ('text/x-fancysrc',)),
|
| 168 |
+
'FantomLexer': ('pygments.lexers.fantom', 'Fantom', ('fan',), ('*.fan',), ('application/x-fantom',)),
|
| 169 |
+
'FelixLexer': ('pygments.lexers.felix', 'Felix', ('felix', 'flx'), ('*.flx', '*.flxh'), ('text/x-felix',)),
|
| 170 |
+
'FennelLexer': ('pygments.lexers.lisp', 'Fennel', ('fennel', 'fnl'), ('*.fnl', '*.fnlm'), ('text/x-fennel',)),
|
| 171 |
+
'FiftLexer': ('pygments.lexers.fift', 'Fift', ('fift', 'fif'), ('*.fif',), ()),
|
| 172 |
+
'FishShellLexer': ('pygments.lexers.shell', 'Fish', ('fish', 'fishshell'), ('*.fish', '*.load'), ('application/x-fish',)),
|
| 173 |
+
'FlatlineLexer': ('pygments.lexers.dsls', 'Flatline', ('flatline',), (), ('text/x-flatline',)),
|
| 174 |
+
'FloScriptLexer': ('pygments.lexers.floscript', 'FloScript', ('floscript', 'flo'), ('*.flo',), ()),
|
| 175 |
+
'ForthLexer': ('pygments.lexers.forth', 'Forth', ('forth',), ('*.frt', '*.fs'), ('application/x-forth',)),
|
| 176 |
+
'FortranFixedLexer': ('pygments.lexers.fortran', 'FortranFixed', ('fortranfixed',), ('*.f', '*.F'), ()),
|
| 177 |
+
'FortranLexer': ('pygments.lexers.fortran', 'Fortran', ('fortran', 'f90'), ('*.f03', '*.f90', '*.F03', '*.F90'), ('text/x-fortran',)),
|
| 178 |
+
'FoxProLexer': ('pygments.lexers.foxpro', 'FoxPro', ('foxpro', 'vfp', 'clipper', 'xbase'), ('*.PRG', '*.prg'), ()),
|
| 179 |
+
'FreeFemLexer': ('pygments.lexers.freefem', 'Freefem', ('freefem',), ('*.edp',), ('text/x-freefem',)),
|
| 180 |
+
'FuncLexer': ('pygments.lexers.func', 'FunC', ('func', 'fc'), ('*.fc', '*.func'), ()),
|
| 181 |
+
'FutharkLexer': ('pygments.lexers.futhark', 'Futhark', ('futhark',), ('*.fut',), ('text/x-futhark',)),
|
| 182 |
+
'GAPConsoleLexer': ('pygments.lexers.algebra', 'GAP session', ('gap-console', 'gap-repl'), ('*.tst',), ()),
|
| 183 |
+
'GAPLexer': ('pygments.lexers.algebra', 'GAP', ('gap',), ('*.g', '*.gd', '*.gi', '*.gap'), ()),
|
| 184 |
+
'GDScriptLexer': ('pygments.lexers.gdscript', 'GDScript', ('gdscript', 'gd'), ('*.gd',), ('text/x-gdscript', 'application/x-gdscript')),
|
| 185 |
+
'GLShaderLexer': ('pygments.lexers.graphics', 'GLSL', ('glsl',), ('*.vert', '*.frag', '*.geo'), ('text/x-glslsrc',)),
|
| 186 |
+
'GSQLLexer': ('pygments.lexers.gsql', 'GSQL', ('gsql',), ('*.gsql',), ()),
|
| 187 |
+
'GasLexer': ('pygments.lexers.asm', 'GAS', ('gas', 'asm'), ('*.s', '*.S'), ('text/x-gas',)),
|
| 188 |
+
'GcodeLexer': ('pygments.lexers.gcodelexer', 'g-code', ('gcode',), ('*.gcode',), ()),
|
| 189 |
+
'GenshiLexer': ('pygments.lexers.templates', 'Genshi', ('genshi', 'kid', 'xml+genshi', 'xml+kid'), ('*.kid',), ('application/x-genshi', 'application/x-kid')),
|
| 190 |
+
'GenshiTextLexer': ('pygments.lexers.templates', 'Genshi Text', ('genshitext',), (), ('application/x-genshi-text', 'text/x-genshi')),
|
| 191 |
+
'GettextLexer': ('pygments.lexers.textfmts', 'Gettext Catalog', ('pot', 'po'), ('*.pot', '*.po'), ('application/x-gettext', 'text/x-gettext', 'text/gettext')),
|
| 192 |
+
'GherkinLexer': ('pygments.lexers.testing', 'Gherkin', ('gherkin', 'cucumber'), ('*.feature',), ('text/x-gherkin',)),
|
| 193 |
+
'GleamLexer': ('pygments.lexers.gleam', 'Gleam', ('gleam',), ('*.gleam',), ('text/x-gleam',)),
|
| 194 |
+
'GnuplotLexer': ('pygments.lexers.graphics', 'Gnuplot', ('gnuplot',), ('*.plot', '*.plt'), ('text/x-gnuplot',)),
|
| 195 |
+
'GoLexer': ('pygments.lexers.go', 'Go', ('go', 'golang'), ('*.go',), ('text/x-gosrc',)),
|
| 196 |
+
'GoloLexer': ('pygments.lexers.jvm', 'Golo', ('golo',), ('*.golo',), ()),
|
| 197 |
+
'GoodDataCLLexer': ('pygments.lexers.business', 'GoodData-CL', ('gooddata-cl',), ('*.gdc',), ('text/x-gooddata-cl',)),
|
| 198 |
+
'GoogleSqlLexer': ('pygments.lexers.sql', 'GoogleSQL', ('googlesql', 'zetasql'), ('*.googlesql', '*.googlesql.sql'), ('text/x-google-sql', 'text/x-google-sql-aux')),
|
| 199 |
+
'GosuLexer': ('pygments.lexers.jvm', 'Gosu', ('gosu',), ('*.gs', '*.gsx', '*.gsp', '*.vark'), ('text/x-gosu',)),
|
| 200 |
+
'GosuTemplateLexer': ('pygments.lexers.jvm', 'Gosu Template', ('gst',), ('*.gst',), ('text/x-gosu-template',)),
|
| 201 |
+
'GraphQLLexer': ('pygments.lexers.graphql', 'GraphQL', ('graphql',), ('*.graphql',), ()),
|
| 202 |
+
'GraphvizLexer': ('pygments.lexers.graphviz', 'Graphviz', ('graphviz', 'dot'), ('*.gv', '*.dot'), ('text/x-graphviz', 'text/vnd.graphviz')),
|
| 203 |
+
'GroffLexer': ('pygments.lexers.markup', 'Groff', ('groff', 'nroff', 'man'), ('*.[1-9]', '*.man', '*.1p', '*.3pm'), ('application/x-troff', 'text/troff')),
|
| 204 |
+
'GroovyLexer': ('pygments.lexers.jvm', 'Groovy', ('groovy',), ('*.groovy', '*.gradle'), ('text/x-groovy',)),
|
| 205 |
+
'HLSLShaderLexer': ('pygments.lexers.graphics', 'HLSL', ('hlsl',), ('*.hlsl', '*.hlsli'), ('text/x-hlsl',)),
|
| 206 |
+
'HTMLUL4Lexer': ('pygments.lexers.ul4', 'HTML+UL4', ('html+ul4',), ('*.htmlul4',), ()),
|
| 207 |
+
'HamlLexer': ('pygments.lexers.html', 'Haml', ('haml',), ('*.haml',), ('text/x-haml',)),
|
| 208 |
+
'HandlebarsHtmlLexer': ('pygments.lexers.templates', 'HTML+Handlebars', ('html+handlebars',), ('*.handlebars', '*.hbs'), ('text/html+handlebars', 'text/x-handlebars-template')),
|
| 209 |
+
'HandlebarsLexer': ('pygments.lexers.templates', 'Handlebars', ('handlebars',), (), ()),
|
| 210 |
+
'HareLexer': ('pygments.lexers.hare', 'Hare', ('hare',), ('*.ha',), ('text/x-hare',)),
|
| 211 |
+
'HaskellLexer': ('pygments.lexers.haskell', 'Haskell', ('haskell', 'hs'), ('*.hs',), ('text/x-haskell',)),
|
| 212 |
+
'HaxeLexer': ('pygments.lexers.haxe', 'Haxe', ('haxe', 'hxsl', 'hx'), ('*.hx', '*.hxsl'), ('text/haxe', 'text/x-haxe', 'text/x-hx')),
|
| 213 |
+
'HexdumpLexer': ('pygments.lexers.hexdump', 'Hexdump', ('hexdump',), (), ()),
|
| 214 |
+
'HsailLexer': ('pygments.lexers.asm', 'HSAIL', ('hsail', 'hsa'), ('*.hsail',), ('text/x-hsail',)),
|
| 215 |
+
'HspecLexer': ('pygments.lexers.haskell', 'Hspec', ('hspec',), ('*Spec.hs',), ()),
|
| 216 |
+
'HtmlDjangoLexer': ('pygments.lexers.templates', 'HTML+Django/Jinja', ('html+django', 'html+jinja', 'htmldjango'), ('*.html.j2', '*.htm.j2', '*.xhtml.j2', '*.html.jinja2', '*.htm.jinja2', '*.xhtml.jinja2'), ('text/html+django', 'text/html+jinja')),
|
| 217 |
+
'HtmlGenshiLexer': ('pygments.lexers.templates', 'HTML+Genshi', ('html+genshi', 'html+kid'), (), ('text/html+genshi',)),
|
| 218 |
+
'HtmlLexer': ('pygments.lexers.html', 'HTML', ('html',), ('*.html', '*.htm', '*.xhtml', '*.xslt'), ('text/html', 'application/xhtml+xml')),
|
| 219 |
+
'HtmlPhpLexer': ('pygments.lexers.templates', 'HTML+PHP', ('html+php',), ('*.phtml',), ('application/x-php', 'application/x-httpd-php', 'application/x-httpd-php3', 'application/x-httpd-php4', 'application/x-httpd-php5')),
|
| 220 |
+
'HtmlSmartyLexer': ('pygments.lexers.templates', 'HTML+Smarty', ('html+smarty',), (), ('text/html+smarty',)),
|
| 221 |
+
'HttpLexer': ('pygments.lexers.textfmts', 'HTTP', ('http',), (), ()),
|
| 222 |
+
'HxmlLexer': ('pygments.lexers.haxe', 'Hxml', ('haxeml', 'hxml'), ('*.hxml',), ()),
|
| 223 |
+
'HyLexer': ('pygments.lexers.lisp', 'Hy', ('hylang', 'hy'), ('*.hy',), ('text/x-hy', 'application/x-hy')),
|
| 224 |
+
'HybrisLexer': ('pygments.lexers.scripting', 'Hybris', ('hybris',), ('*.hyb',), ('text/x-hybris', 'application/x-hybris')),
|
| 225 |
+
'IDLLexer': ('pygments.lexers.idl', 'IDL', ('idl',), ('*.pro',), ('text/idl',)),
|
| 226 |
+
'IconLexer': ('pygments.lexers.unicon', 'Icon', ('icon',), ('*.icon', '*.ICON'), ()),
|
| 227 |
+
'IdrisLexer': ('pygments.lexers.haskell', 'Idris', ('idris', 'idr'), ('*.idr',), ('text/x-idris',)),
|
| 228 |
+
'IgorLexer': ('pygments.lexers.igor', 'Igor', ('igor', 'igorpro'), ('*.ipf',), ('text/ipf',)),
|
| 229 |
+
'Inform6Lexer': ('pygments.lexers.int_fiction', 'Inform 6', ('inform6', 'i6'), ('*.inf',), ()),
|
| 230 |
+
'Inform6TemplateLexer': ('pygments.lexers.int_fiction', 'Inform 6 template', ('i6t',), ('*.i6t',), ()),
|
| 231 |
+
'Inform7Lexer': ('pygments.lexers.int_fiction', 'Inform 7', ('inform7', 'i7'), ('*.ni', '*.i7x'), ()),
|
| 232 |
+
'IniLexer': ('pygments.lexers.configs', 'INI', ('ini', 'cfg', 'dosini'), ('*.ini', '*.cfg', '*.inf', '.editorconfig'), ('text/x-ini', 'text/inf')),
|
| 233 |
+
'IoLexer': ('pygments.lexers.iolang', 'Io', ('io',), ('*.io',), ('text/x-iosrc',)),
|
| 234 |
+
'IokeLexer': ('pygments.lexers.jvm', 'Ioke', ('ioke', 'ik'), ('*.ik',), ('text/x-iokesrc',)),
|
| 235 |
+
'IrcLogsLexer': ('pygments.lexers.textfmts', 'IRC logs', ('irc',), ('*.weechatlog',), ('text/x-irclog',)),
|
| 236 |
+
'IsabelleLexer': ('pygments.lexers.theorem', 'Isabelle', ('isabelle',), ('*.thy',), ('text/x-isabelle',)),
|
| 237 |
+
'JLexer': ('pygments.lexers.j', 'J', ('j',), ('*.ijs',), ('text/x-j',)),
|
| 238 |
+
'JMESPathLexer': ('pygments.lexers.jmespath', 'JMESPath', ('jmespath', 'jp'), ('*.jp',), ()),
|
| 239 |
+
'JSLTLexer': ('pygments.lexers.jslt', 'JSLT', ('jslt',), ('*.jslt',), ('text/x-jslt',)),
|
| 240 |
+
'JagsLexer': ('pygments.lexers.modeling', 'JAGS', ('jags',), ('*.jag', '*.bug'), ()),
|
| 241 |
+
'JanetLexer': ('pygments.lexers.lisp', 'Janet', ('janet',), ('*.janet', '*.jdn'), ('text/x-janet', 'application/x-janet')),
|
| 242 |
+
'JasminLexer': ('pygments.lexers.jvm', 'Jasmin', ('jasmin', 'jasminxt'), ('*.j',), ()),
|
| 243 |
+
'JavaLexer': ('pygments.lexers.jvm', 'Java', ('java',), ('*.java',), ('text/x-java',)),
|
| 244 |
+
'JavascriptDjangoLexer': ('pygments.lexers.templates', 'JavaScript+Django/Jinja', ('javascript+django', 'js+django', 'javascript+jinja', 'js+jinja'), ('*.js.j2', '*.js.jinja2'), ('application/x-javascript+django', 'application/x-javascript+jinja', 'text/x-javascript+django', 'text/x-javascript+jinja', 'text/javascript+django', 'text/javascript+jinja')),
|
| 245 |
+
'JavascriptErbLexer': ('pygments.lexers.templates', 'JavaScript+Ruby', ('javascript+ruby', 'js+ruby', 'javascript+erb', 'js+erb'), (), ('application/x-javascript+ruby', 'text/x-javascript+ruby', 'text/javascript+ruby')),
|
| 246 |
+
'JavascriptGenshiLexer': ('pygments.lexers.templates', 'JavaScript+Genshi Text', ('js+genshitext', 'js+genshi', 'javascript+genshitext', 'javascript+genshi'), (), ('application/x-javascript+genshi', 'text/x-javascript+genshi', 'text/javascript+genshi')),
|
| 247 |
+
'JavascriptLexer': ('pygments.lexers.javascript', 'JavaScript', ('javascript', 'js'), ('*.js', '*.jsm', '*.mjs', '*.cjs'), ('application/javascript', 'application/x-javascript', 'text/x-javascript', 'text/javascript')),
|
| 248 |
+
'JavascriptPhpLexer': ('pygments.lexers.templates', 'JavaScript+PHP', ('javascript+php', 'js+php'), (), ('application/x-javascript+php', 'text/x-javascript+php', 'text/javascript+php')),
|
| 249 |
+
'JavascriptSmartyLexer': ('pygments.lexers.templates', 'JavaScript+Smarty', ('javascript+smarty', 'js+smarty'), (), ('application/x-javascript+smarty', 'text/x-javascript+smarty', 'text/javascript+smarty')),
|
| 250 |
+
'JavascriptUL4Lexer': ('pygments.lexers.ul4', 'Javascript+UL4', ('js+ul4',), ('*.jsul4',), ()),
|
| 251 |
+
'JclLexer': ('pygments.lexers.scripting', 'JCL', ('jcl',), ('*.jcl',), ('text/x-jcl',)),
|
| 252 |
+
'JsgfLexer': ('pygments.lexers.grammar_notation', 'JSGF', ('jsgf',), ('*.jsgf',), ('application/jsgf', 'application/x-jsgf', 'text/jsgf')),
|
| 253 |
+
'Json5Lexer': ('pygments.lexers.json5', 'JSON5', ('json5',), ('*.json5',), ()),
|
| 254 |
+
'JsonBareObjectLexer': ('pygments.lexers.data', 'JSONBareObject', (), (), ()),
|
| 255 |
+
'JsonLdLexer': ('pygments.lexers.data', 'JSON-LD', ('jsonld', 'json-ld'), ('*.jsonld',), ('application/ld+json',)),
|
| 256 |
+
'JsonLexer': ('pygments.lexers.data', 'JSON', ('json', 'json-object'), ('*.json', '*.jsonl', '*.ndjson', 'Pipfile.lock', '*.module', '*.xc'), ('application/json', 'application/json-object', 'application/x-ndjson', 'application/jsonl', 'application/json-seq')),
|
| 257 |
+
'JsonnetLexer': ('pygments.lexers.jsonnet', 'Jsonnet', ('jsonnet',), ('*.jsonnet', '*.libsonnet'), ()),
|
| 258 |
+
'JspLexer': ('pygments.lexers.templates', 'Java Server Page', ('jsp',), ('*.jsp',), ('application/x-jsp',)),
|
| 259 |
+
'JsxLexer': ('pygments.lexers.jsx', 'JSX', ('jsx', 'react'), ('*.jsx', '*.react'), ('text/jsx', 'text/typescript-jsx')),
|
| 260 |
+
'JuliaConsoleLexer': ('pygments.lexers.julia', 'Julia console', ('jlcon', 'julia-repl'), (), ()),
|
| 261 |
+
'JuliaLexer': ('pygments.lexers.julia', 'Julia', ('julia', 'jl'), ('*.jl',), ('text/x-julia', 'application/x-julia')),
|
| 262 |
+
'JuttleLexer': ('pygments.lexers.javascript', 'Juttle', ('juttle',), ('*.juttle',), ('application/juttle', 'application/x-juttle', 'text/x-juttle', 'text/juttle')),
|
| 263 |
+
'KLexer': ('pygments.lexers.q', 'K', ('k',), ('*.k',), ()),
|
| 264 |
+
'KalLexer': ('pygments.lexers.javascript', 'Kal', ('kal',), ('*.kal',), ('text/kal', 'application/kal')),
|
| 265 |
+
'KconfigLexer': ('pygments.lexers.configs', 'Kconfig', ('kconfig', 'menuconfig', 'linux-config', 'kernel-config'), ('Kconfig*', '*Config.in*', 'external.in*', 'standard-modules.in'), ('text/x-kconfig',)),
|
| 266 |
+
'KernelLogLexer': ('pygments.lexers.textfmts', 'Kernel log', ('kmsg', 'dmesg'), ('*.kmsg', '*.dmesg'), ()),
|
| 267 |
+
'KokaLexer': ('pygments.lexers.haskell', 'Koka', ('koka',), ('*.kk', '*.kki'), ('text/x-koka',)),
|
| 268 |
+
'KotlinLexer': ('pygments.lexers.jvm', 'Kotlin', ('kotlin',), ('*.kt', '*.kts'), ('text/x-kotlin',)),
|
| 269 |
+
'KuinLexer': ('pygments.lexers.kuin', 'Kuin', ('kuin',), ('*.kn',), ()),
|
| 270 |
+
'KustoLexer': ('pygments.lexers.kusto', 'Kusto', ('kql', 'kusto'), ('*.kql', '*.kusto', '.csl'), ()),
|
| 271 |
+
'LSLLexer': ('pygments.lexers.scripting', 'LSL', ('lsl',), ('*.lsl',), ('text/x-lsl',)),
|
| 272 |
+
'LassoCssLexer': ('pygments.lexers.templates', 'CSS+Lasso', ('css+lasso',), (), ('text/css+lasso',)),
|
| 273 |
+
'LassoHtmlLexer': ('pygments.lexers.templates', 'HTML+Lasso', ('html+lasso',), (), ('text/html+lasso', 'application/x-httpd-lasso', 'application/x-httpd-lasso[89]')),
|
| 274 |
+
'LassoJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Lasso', ('javascript+lasso', 'js+lasso'), (), ('application/x-javascript+lasso', 'text/x-javascript+lasso', 'text/javascript+lasso')),
|
| 275 |
+
'LassoLexer': ('pygments.lexers.javascript', 'Lasso', ('lasso', 'lassoscript'), ('*.lasso', '*.lasso[89]'), ('text/x-lasso',)),
|
| 276 |
+
'LassoXmlLexer': ('pygments.lexers.templates', 'XML+Lasso', ('xml+lasso',), (), ('application/xml+lasso',)),
|
| 277 |
+
'LdaprcLexer': ('pygments.lexers.ldap', 'LDAP configuration file', ('ldapconf', 'ldaprc'), ('.ldaprc', 'ldaprc', 'ldap.conf'), ('text/x-ldapconf',)),
|
| 278 |
+
'LdifLexer': ('pygments.lexers.ldap', 'LDIF', ('ldif',), ('*.ldif',), ('text/x-ldif',)),
|
| 279 |
+
'Lean3Lexer': ('pygments.lexers.lean', 'Lean', ('lean', 'lean3'), ('*.lean',), ('text/x-lean', 'text/x-lean3')),
|
| 280 |
+
'Lean4Lexer': ('pygments.lexers.lean', 'Lean4', ('lean4',), ('*.lean',), ('text/x-lean4',)),
|
| 281 |
+
'LessCssLexer': ('pygments.lexers.css', 'LessCss', ('less',), ('*.less',), ('text/x-less-css',)),
|
| 282 |
+
'LighttpdConfLexer': ('pygments.lexers.configs', 'Lighttpd configuration file', ('lighttpd', 'lighty'), ('lighttpd.conf',), ('text/x-lighttpd-conf',)),
|
| 283 |
+
'LilyPondLexer': ('pygments.lexers.lilypond', 'LilyPond', ('lilypond',), ('*.ly',), ()),
|
| 284 |
+
'LimboLexer': ('pygments.lexers.inferno', 'Limbo', ('limbo',), ('*.b',), ('text/limbo',)),
|
| 285 |
+
'LiquidLexer': ('pygments.lexers.templates', 'liquid', ('liquid',), ('*.liquid',), ()),
|
| 286 |
+
'LiterateAgdaLexer': ('pygments.lexers.haskell', 'Literate Agda', ('literate-agda', 'lagda'), ('*.lagda',), ('text/x-literate-agda',)),
|
| 287 |
+
'LiterateCryptolLexer': ('pygments.lexers.haskell', 'Literate Cryptol', ('literate-cryptol', 'lcryptol', 'lcry'), ('*.lcry',), ('text/x-literate-cryptol',)),
|
| 288 |
+
'LiterateHaskellLexer': ('pygments.lexers.haskell', 'Literate Haskell', ('literate-haskell', 'lhaskell', 'lhs'), ('*.lhs',), ('text/x-literate-haskell',)),
|
| 289 |
+
'LiterateIdrisLexer': ('pygments.lexers.haskell', 'Literate Idris', ('literate-idris', 'lidris', 'lidr'), ('*.lidr',), ('text/x-literate-idris',)),
|
| 290 |
+
'LiveScriptLexer': ('pygments.lexers.javascript', 'LiveScript', ('livescript', 'live-script'), ('*.ls',), ('text/livescript',)),
|
| 291 |
+
'LlvmLexer': ('pygments.lexers.asm', 'LLVM', ('llvm',), ('*.ll',), ('text/x-llvm',)),
|
| 292 |
+
'LlvmMirBodyLexer': ('pygments.lexers.asm', 'LLVM-MIR Body', ('llvm-mir-body',), (), ()),
|
| 293 |
+
'LlvmMirLexer': ('pygments.lexers.asm', 'LLVM-MIR', ('llvm-mir',), ('*.mir',), ()),
|
| 294 |
+
'LogosLexer': ('pygments.lexers.objective', 'Logos', ('logos',), ('*.x', '*.xi', '*.xm', '*.xmi'), ('text/x-logos',)),
|
| 295 |
+
'LogtalkLexer': ('pygments.lexers.prolog', 'Logtalk', ('logtalk',), ('*.lgt', '*.logtalk'), ('text/x-logtalk',)),
|
| 296 |
+
'LuaLexer': ('pygments.lexers.scripting', 'Lua', ('lua',), ('*.lua', '*.wlua'), ('text/x-lua', 'application/x-lua')),
|
| 297 |
+
'LuauLexer': ('pygments.lexers.scripting', 'Luau', ('luau',), ('*.luau',), ()),
|
| 298 |
+
'MCFunctionLexer': ('pygments.lexers.minecraft', 'MCFunction', ('mcfunction', 'mcf'), ('*.mcfunction',), ('text/mcfunction',)),
|
| 299 |
+
'MCSchemaLexer': ('pygments.lexers.minecraft', 'MCSchema', ('mcschema',), ('*.mcschema',), ('text/mcschema',)),
|
| 300 |
+
'MIMELexer': ('pygments.lexers.mime', 'MIME', ('mime',), (), ('multipart/mixed', 'multipart/related', 'multipart/alternative')),
|
| 301 |
+
'MIPSLexer': ('pygments.lexers.mips', 'MIPS', ('mips',), ('*.mips', '*.MIPS'), ()),
|
| 302 |
+
'MOOCodeLexer': ('pygments.lexers.scripting', 'MOOCode', ('moocode', 'moo'), ('*.moo',), ('text/x-moocode',)),
|
| 303 |
+
'MSDOSSessionLexer': ('pygments.lexers.shell', 'MSDOS Session', ('doscon',), (), ()),
|
| 304 |
+
'Macaulay2Lexer': ('pygments.lexers.macaulay2', 'Macaulay2', ('macaulay2',), ('*.m2',), ()),
|
| 305 |
+
'MakefileLexer': ('pygments.lexers.make', 'Makefile', ('make', 'makefile', 'mf', 'bsdmake'), ('*.mak', '*.mk', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'), ('text/x-makefile',)),
|
| 306 |
+
'MakoCssLexer': ('pygments.lexers.templates', 'CSS+Mako', ('css+mako',), (), ('text/css+mako',)),
|
| 307 |
+
'MakoHtmlLexer': ('pygments.lexers.templates', 'HTML+Mako', ('html+mako',), (), ('text/html+mako',)),
|
| 308 |
+
'MakoJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Mako', ('javascript+mako', 'js+mako'), (), ('application/x-javascript+mako', 'text/x-javascript+mako', 'text/javascript+mako')),
|
| 309 |
+
'MakoLexer': ('pygments.lexers.templates', 'Mako', ('mako',), ('*.mao',), ('application/x-mako',)),
|
| 310 |
+
'MakoXmlLexer': ('pygments.lexers.templates', 'XML+Mako', ('xml+mako',), (), ('application/xml+mako',)),
|
| 311 |
+
'MapleLexer': ('pygments.lexers.maple', 'Maple', ('maple',), ('*.mpl', '*.mi', '*.mm'), ('text/x-maple',)),
|
| 312 |
+
'MaqlLexer': ('pygments.lexers.business', 'MAQL', ('maql',), ('*.maql',), ('text/x-gooddata-maql', 'application/x-gooddata-maql')),
|
| 313 |
+
'MarkdownLexer': ('pygments.lexers.markup', 'Markdown', ('markdown', 'md'), ('*.md', '*.markdown'), ('text/x-markdown',)),
|
| 314 |
+
'MaskLexer': ('pygments.lexers.javascript', 'Mask', ('mask',), ('*.mask',), ('text/x-mask',)),
|
| 315 |
+
'MasonLexer': ('pygments.lexers.templates', 'Mason', ('mason',), ('*.m', '*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler'), ('application/x-mason',)),
|
| 316 |
+
'MathematicaLexer': ('pygments.lexers.algebra', 'Mathematica', ('mathematica', 'mma', 'nb', 'wl', 'wolfram'), ('*.nb', '*.cdf', '*.nbp', '*.ma', '*.wl', '*.wls'), ('application/mathematica', 'application/vnd.wolfram.mathematica', 'application/vnd.wolfram.mathematica.package', 'application/vnd.wolfram.cdf', 'application/vnd.wolfram.wl')),
|
| 317 |
+
'MatlabLexer': ('pygments.lexers.matlab', 'Matlab', ('matlab',), ('*.m',), ('text/matlab',)),
|
| 318 |
+
'MatlabSessionLexer': ('pygments.lexers.matlab', 'Matlab session', ('matlabsession',), (), ()),
|
| 319 |
+
'MaximaLexer': ('pygments.lexers.maxima', 'Maxima', ('maxima', 'macsyma'), ('*.mac', '*.max'), ()),
|
| 320 |
+
'MesonLexer': ('pygments.lexers.meson', 'Meson', ('meson', 'meson.build'), ('meson.build', 'meson.options', 'meson_options.txt'), ('text/x-meson',)),
|
| 321 |
+
'MiniDLexer': ('pygments.lexers.d', 'MiniD', ('minid',), (), ('text/x-minidsrc',)),
|
| 322 |
+
'MiniScriptLexer': ('pygments.lexers.scripting', 'MiniScript', ('miniscript', 'ms'), ('*.ms',), ('text/x-minicript', 'application/x-miniscript')),
|
| 323 |
+
'ModelicaLexer': ('pygments.lexers.modeling', 'Modelica', ('modelica',), ('*.mo',), ('text/x-modelica',)),
|
| 324 |
+
'Modula2Lexer': ('pygments.lexers.modula2', 'Modula-2', ('modula2', 'm2'), ('*.def', '*.mod'), ('text/x-modula2',)),
|
| 325 |
+
'MoinWikiLexer': ('pygments.lexers.markup', 'MoinMoin/Trac Wiki markup', ('trac-wiki', 'moin'), (), ('text/x-trac-wiki',)),
|
| 326 |
+
'MojoLexer': ('pygments.lexers.mojo', 'Mojo', ('mojo', '🔥'), ('*.mojo', '*.🔥'), ('text/x-mojo', 'application/x-mojo')),
|
| 327 |
+
'MonkeyLexer': ('pygments.lexers.basic', 'Monkey', ('monkey',), ('*.monkey',), ('text/x-monkey',)),
|
| 328 |
+
'MonteLexer': ('pygments.lexers.monte', 'Monte', ('monte',), ('*.mt',), ()),
|
| 329 |
+
'MoonScriptLexer': ('pygments.lexers.scripting', 'MoonScript', ('moonscript', 'moon'), ('*.moon',), ('text/x-moonscript', 'application/x-moonscript')),
|
| 330 |
+
'MoselLexer': ('pygments.lexers.mosel', 'Mosel', ('mosel',), ('*.mos',), ()),
|
| 331 |
+
'MozPreprocCssLexer': ('pygments.lexers.markup', 'CSS+mozpreproc', ('css+mozpreproc',), ('*.css.in',), ()),
|
| 332 |
+
'MozPreprocHashLexer': ('pygments.lexers.markup', 'mozhashpreproc', ('mozhashpreproc',), (), ()),
|
| 333 |
+
'MozPreprocJavascriptLexer': ('pygments.lexers.markup', 'Javascript+mozpreproc', ('javascript+mozpreproc',), ('*.js.in',), ()),
|
| 334 |
+
'MozPreprocPercentLexer': ('pygments.lexers.markup', 'mozpercentpreproc', ('mozpercentpreproc',), (), ()),
|
| 335 |
+
'MozPreprocXulLexer': ('pygments.lexers.markup', 'XUL+mozpreproc', ('xul+mozpreproc',), ('*.xul.in',), ()),
|
| 336 |
+
'MqlLexer': ('pygments.lexers.c_like', 'MQL', ('mql', 'mq4', 'mq5', 'mql4', 'mql5'), ('*.mq4', '*.mq5', '*.mqh'), ('text/x-mql',)),
|
| 337 |
+
'MscgenLexer': ('pygments.lexers.dsls', 'Mscgen', ('mscgen', 'msc'), ('*.msc',), ()),
|
| 338 |
+
'MuPADLexer': ('pygments.lexers.algebra', 'MuPAD', ('mupad',), ('*.mu',), ()),
|
| 339 |
+
'MxmlLexer': ('pygments.lexers.actionscript', 'MXML', ('mxml',), ('*.mxml',), ()),
|
| 340 |
+
'MySqlLexer': ('pygments.lexers.sql', 'MySQL', ('mysql',), (), ('text/x-mysql',)),
|
| 341 |
+
'MyghtyCssLexer': ('pygments.lexers.templates', 'CSS+Myghty', ('css+myghty',), (), ('text/css+myghty',)),
|
| 342 |
+
'MyghtyHtmlLexer': ('pygments.lexers.templates', 'HTML+Myghty', ('html+myghty',), (), ('text/html+myghty',)),
|
| 343 |
+
'MyghtyJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Myghty', ('javascript+myghty', 'js+myghty'), (), ('application/x-javascript+myghty', 'text/x-javascript+myghty', 'text/javascript+mygthy')),
|
| 344 |
+
'MyghtyLexer': ('pygments.lexers.templates', 'Myghty', ('myghty',), ('*.myt', 'autodelegate'), ('application/x-myghty',)),
|
| 345 |
+
'MyghtyXmlLexer': ('pygments.lexers.templates', 'XML+Myghty', ('xml+myghty',), (), ('application/xml+myghty',)),
|
| 346 |
+
'NCLLexer': ('pygments.lexers.ncl', 'NCL', ('ncl',), ('*.ncl',), ('text/ncl',)),
|
| 347 |
+
'NSISLexer': ('pygments.lexers.installers', 'NSIS', ('nsis', 'nsi', 'nsh'), ('*.nsi', '*.nsh'), ('text/x-nsis',)),
|
| 348 |
+
'NasmLexer': ('pygments.lexers.asm', 'NASM', ('nasm',), ('*.asm', '*.ASM', '*.nasm'), ('text/x-nasm',)),
|
| 349 |
+
'NasmObjdumpLexer': ('pygments.lexers.asm', 'objdump-nasm', ('objdump-nasm',), ('*.objdump-intel',), ('text/x-nasm-objdump',)),
|
| 350 |
+
'NemerleLexer': ('pygments.lexers.dotnet', 'Nemerle', ('nemerle',), ('*.n',), ('text/x-nemerle',)),
|
| 351 |
+
'NesCLexer': ('pygments.lexers.c_like', 'nesC', ('nesc',), ('*.nc',), ('text/x-nescsrc',)),
|
| 352 |
+
'NestedTextLexer': ('pygments.lexers.configs', 'NestedText', ('nestedtext', 'nt'), ('*.nt',), ()),
|
| 353 |
+
'NewLispLexer': ('pygments.lexers.lisp', 'NewLisp', ('newlisp',), ('*.lsp', '*.nl', '*.kif'), ('text/x-newlisp', 'application/x-newlisp')),
|
| 354 |
+
'NewspeakLexer': ('pygments.lexers.smalltalk', 'Newspeak', ('newspeak',), ('*.ns2',), ('text/x-newspeak',)),
|
| 355 |
+
'NginxConfLexer': ('pygments.lexers.configs', 'Nginx configuration file', ('nginx',), ('nginx.conf',), ('text/x-nginx-conf',)),
|
| 356 |
+
'NimrodLexer': ('pygments.lexers.nimrod', 'Nimrod', ('nimrod', 'nim'), ('*.nim', '*.nimrod'), ('text/x-nim',)),
|
| 357 |
+
'NitLexer': ('pygments.lexers.nit', 'Nit', ('nit',), ('*.nit',), ()),
|
| 358 |
+
'NixLexer': ('pygments.lexers.nix', 'Nix', ('nixos', 'nix'), ('*.nix',), ('text/x-nix',)),
|
| 359 |
+
'NodeConsoleLexer': ('pygments.lexers.javascript', 'Node.js REPL console session', ('nodejsrepl',), (), ('text/x-nodejsrepl',)),
|
| 360 |
+
'NotmuchLexer': ('pygments.lexers.textfmts', 'Notmuch', ('notmuch',), (), ()),
|
| 361 |
+
'NuSMVLexer': ('pygments.lexers.smv', 'NuSMV', ('nusmv',), ('*.smv',), ()),
|
| 362 |
+
'NumPyLexer': ('pygments.lexers.python', 'NumPy', ('numpy',), (), ()),
|
| 363 |
+
'NumbaIRLexer': ('pygments.lexers.numbair', 'Numba_IR', ('numba_ir', 'numbair'), ('*.numba_ir',), ('text/x-numba_ir', 'text/x-numbair')),
|
| 364 |
+
'ObjdumpLexer': ('pygments.lexers.asm', 'objdump', ('objdump',), ('*.objdump',), ('text/x-objdump',)),
|
| 365 |
+
'ObjectiveCLexer': ('pygments.lexers.objective', 'Objective-C', ('objective-c', 'objectivec', 'obj-c', 'objc'), ('*.m', '*.h'), ('text/x-objective-c',)),
|
| 366 |
+
'ObjectiveCppLexer': ('pygments.lexers.objective', 'Objective-C++', ('objective-c++', 'objectivec++', 'obj-c++', 'objc++'), ('*.mm', '*.hh'), ('text/x-objective-c++',)),
|
| 367 |
+
'ObjectiveJLexer': ('pygments.lexers.javascript', 'Objective-J', ('objective-j', 'objectivej', 'obj-j', 'objj'), ('*.j',), ('text/x-objective-j',)),
|
| 368 |
+
'OcamlLexer': ('pygments.lexers.ml', 'OCaml', ('ocaml',), ('*.ml', '*.mli', '*.mll', '*.mly'), ('text/x-ocaml',)),
|
| 369 |
+
'OctaveLexer': ('pygments.lexers.matlab', 'Octave', ('octave',), ('*.m',), ('text/octave',)),
|
| 370 |
+
'OdinLexer': ('pygments.lexers.archetype', 'ODIN', ('odin',), ('*.odin',), ('text/odin',)),
|
| 371 |
+
'OmgIdlLexer': ('pygments.lexers.c_like', 'OMG Interface Definition Language', ('omg-idl',), ('*.idl', '*.pidl'), ()),
|
| 372 |
+
'OocLexer': ('pygments.lexers.ooc', 'Ooc', ('ooc',), ('*.ooc',), ('text/x-ooc',)),
|
| 373 |
+
'OpaLexer': ('pygments.lexers.ml', 'Opa', ('opa',), ('*.opa',), ('text/x-opa',)),
|
| 374 |
+
'OpenEdgeLexer': ('pygments.lexers.business', 'OpenEdge ABL', ('openedge', 'abl', 'progress'), ('*.p', '*.cls'), ('text/x-openedge', 'application/x-openedge')),
|
| 375 |
+
'OpenScadLexer': ('pygments.lexers.openscad', 'OpenSCAD', ('openscad',), ('*.scad',), ('application/x-openscad',)),
|
| 376 |
+
'OrgLexer': ('pygments.lexers.markup', 'Org Mode', ('org', 'orgmode', 'org-mode'), ('*.org',), ('text/org',)),
|
| 377 |
+
'OutputLexer': ('pygments.lexers.special', 'Text output', ('output',), (), ()),
|
| 378 |
+
'PacmanConfLexer': ('pygments.lexers.configs', 'PacmanConf', ('pacmanconf',), ('pacman.conf',), ()),
|
| 379 |
+
'PanLexer': ('pygments.lexers.dsls', 'Pan', ('pan',), ('*.pan',), ()),
|
| 380 |
+
'ParaSailLexer': ('pygments.lexers.parasail', 'ParaSail', ('parasail',), ('*.psi', '*.psl'), ('text/x-parasail',)),
|
| 381 |
+
'PawnLexer': ('pygments.lexers.pawn', 'Pawn', ('pawn',), ('*.p', '*.pwn', '*.inc'), ('text/x-pawn',)),
|
| 382 |
+
'PddlLexer': ('pygments.lexers.pddl', 'PDDL', ('pddl',), ('*.pddl',), ()),
|
| 383 |
+
'PegLexer': ('pygments.lexers.grammar_notation', 'PEG', ('peg',), ('*.peg',), ('text/x-peg',)),
|
| 384 |
+
'Perl6Lexer': ('pygments.lexers.perl', 'Perl6', ('perl6', 'pl6', 'raku'), ('*.pl', '*.pm', '*.nqp', '*.p6', '*.6pl', '*.p6l', '*.pl6', '*.6pm', '*.p6m', '*.pm6', '*.t', '*.raku', '*.rakumod', '*.rakutest', '*.rakudoc'), ('text/x-perl6', 'application/x-perl6')),
|
| 385 |
+
'PerlLexer': ('pygments.lexers.perl', 'Perl', ('perl', 'pl'), ('*.pl', '*.pm', '*.t', '*.perl'), ('text/x-perl', 'application/x-perl')),
|
| 386 |
+
'PhixLexer': ('pygments.lexers.phix', 'Phix', ('phix',), ('*.exw',), ('text/x-phix',)),
|
| 387 |
+
'PhpLexer': ('pygments.lexers.php', 'PHP', ('php', 'php3', 'php4', 'php5'), ('*.php', '*.php[345]', '*.inc'), ('text/x-php',)),
|
| 388 |
+
'PigLexer': ('pygments.lexers.jvm', 'Pig', ('pig',), ('*.pig',), ('text/x-pig',)),
|
| 389 |
+
'PikeLexer': ('pygments.lexers.c_like', 'Pike', ('pike',), ('*.pike', '*.pmod'), ('text/x-pike',)),
|
| 390 |
+
'PkgConfigLexer': ('pygments.lexers.configs', 'PkgConfig', ('pkgconfig',), ('*.pc',), ()),
|
| 391 |
+
'PlPgsqlLexer': ('pygments.lexers.sql', 'PL/pgSQL', ('plpgsql',), (), ('text/x-plpgsql',)),
|
| 392 |
+
'PointlessLexer': ('pygments.lexers.pointless', 'Pointless', ('pointless',), ('*.ptls',), ()),
|
| 393 |
+
'PonyLexer': ('pygments.lexers.pony', 'Pony', ('pony',), ('*.pony',), ()),
|
| 394 |
+
'PortugolLexer': ('pygments.lexers.pascal', 'Portugol', ('portugol',), ('*.alg', '*.portugol'), ()),
|
| 395 |
+
'PostScriptLexer': ('pygments.lexers.graphics', 'PostScript', ('postscript', 'postscr'), ('*.ps', '*.eps'), ('application/postscript',)),
|
| 396 |
+
'PostgresConsoleLexer': ('pygments.lexers.sql', 'PostgreSQL console (psql)', ('psql', 'postgresql-console', 'postgres-console'), (), ('text/x-postgresql-psql',)),
|
| 397 |
+
'PostgresExplainLexer': ('pygments.lexers.sql', 'PostgreSQL EXPLAIN dialect', ('postgres-explain',), ('*.explain',), ('text/x-postgresql-explain',)),
|
| 398 |
+
'PostgresLexer': ('pygments.lexers.sql', 'PostgreSQL SQL dialect', ('postgresql', 'postgres'), (), ('text/x-postgresql',)),
|
| 399 |
+
'PovrayLexer': ('pygments.lexers.graphics', 'POVRay', ('pov',), ('*.pov', '*.inc'), ('text/x-povray',)),
|
| 400 |
+
'PowerShellLexer': ('pygments.lexers.shell', 'PowerShell', ('powershell', 'pwsh', 'posh', 'ps1', 'psm1'), ('*.ps1', '*.psm1'), ('text/x-powershell',)),
|
| 401 |
+
'PowerShellSessionLexer': ('pygments.lexers.shell', 'PowerShell Session', ('pwsh-session', 'ps1con'), (), ()),
|
| 402 |
+
'PraatLexer': ('pygments.lexers.praat', 'Praat', ('praat',), ('*.praat', '*.proc', '*.psc'), ()),
|
| 403 |
+
'ProcfileLexer': ('pygments.lexers.procfile', 'Procfile', ('procfile',), ('Procfile',), ()),
|
| 404 |
+
'PrologLexer': ('pygments.lexers.prolog', 'Prolog', ('prolog',), ('*.ecl', '*.prolog', '*.pro', '*.pl'), ('text/x-prolog',)),
|
| 405 |
+
'PromQLLexer': ('pygments.lexers.promql', 'PromQL', ('promql',), ('*.promql',), ()),
|
| 406 |
+
'PromelaLexer': ('pygments.lexers.c_like', 'Promela', ('promela',), ('*.pml', '*.prom', '*.prm', '*.promela', '*.pr', '*.pm'), ('text/x-promela',)),
|
| 407 |
+
'PropertiesLexer': ('pygments.lexers.configs', 'Properties', ('properties', 'jproperties'), ('*.properties',), ('text/x-java-properties',)),
|
| 408 |
+
'ProtoBufLexer': ('pygments.lexers.dsls', 'Protocol Buffer', ('protobuf', 'proto'), ('*.proto',), ()),
|
| 409 |
+
'PrqlLexer': ('pygments.lexers.prql', 'PRQL', ('prql',), ('*.prql',), ('application/prql', 'application/x-prql')),
|
| 410 |
+
'PsyshConsoleLexer': ('pygments.lexers.php', 'PsySH console session for PHP', ('psysh',), (), ()),
|
| 411 |
+
'PtxLexer': ('pygments.lexers.ptx', 'PTX', ('ptx',), ('*.ptx',), ('text/x-ptx',)),
|
| 412 |
+
'PugLexer': ('pygments.lexers.html', 'Pug', ('pug', 'jade'), ('*.pug', '*.jade'), ('text/x-pug', 'text/x-jade')),
|
| 413 |
+
'PuppetLexer': ('pygments.lexers.dsls', 'Puppet', ('puppet',), ('*.pp',), ()),
|
| 414 |
+
'PyPyLogLexer': ('pygments.lexers.console', 'PyPy Log', ('pypylog', 'pypy'), ('*.pypylog',), ('application/x-pypylog',)),
|
| 415 |
+
'Python2Lexer': ('pygments.lexers.python', 'Python 2.x', ('python2', 'py2'), (), ('text/x-python2', 'application/x-python2')),
|
| 416 |
+
'Python2TracebackLexer': ('pygments.lexers.python', 'Python 2.x Traceback', ('py2tb',), ('*.py2tb',), ('text/x-python2-traceback',)),
|
| 417 |
+
'PythonConsoleLexer': ('pygments.lexers.python', 'Python console session', ('pycon', 'python-console'), (), ('text/x-python-doctest',)),
|
| 418 |
+
'PythonLexer': ('pygments.lexers.python', 'Python', ('python', 'py', 'sage', 'python3', 'py3', 'bazel', 'starlark', 'pyi'), ('*.py', '*.pyw', '*.pyi', '*.jy', '*.sage', '*.sc', 'SConstruct', 'SConscript', '*.bzl', 'BUCK', 'BUILD', 'BUILD.bazel', 'WORKSPACE', '*.tac', '*.pye'), ('text/x-python', 'application/x-python', 'text/x-python3', 'application/x-python3')),
|
| 419 |
+
'PythonTracebackLexer': ('pygments.lexers.python', 'Python Traceback', ('pytb', 'py3tb'), ('*.pytb', '*.py3tb'), ('text/x-python-traceback', 'text/x-python3-traceback')),
|
| 420 |
+
'PythonUL4Lexer': ('pygments.lexers.ul4', 'Python+UL4', ('py+ul4',), ('*.pyul4',), ()),
|
| 421 |
+
'QBasicLexer': ('pygments.lexers.basic', 'QBasic', ('qbasic', 'basic'), ('*.BAS', '*.bas'), ('text/basic',)),
|
| 422 |
+
'QLexer': ('pygments.lexers.q', 'Q', ('q',), ('*.q',), ()),
|
| 423 |
+
'QVToLexer': ('pygments.lexers.qvt', 'QVTO', ('qvto', 'qvt'), ('*.qvto',), ()),
|
| 424 |
+
'QlikLexer': ('pygments.lexers.qlik', 'Qlik', ('qlik', 'qlikview', 'qliksense', 'qlikscript'), ('*.qvs', '*.qvw'), ()),
|
| 425 |
+
'QmlLexer': ('pygments.lexers.webmisc', 'QML', ('qml', 'qbs'), ('*.qml', '*.qbs'), ('application/x-qml', 'application/x-qt.qbs+qml')),
|
| 426 |
+
'RConsoleLexer': ('pygments.lexers.r', 'RConsole', ('rconsole', 'rout'), ('*.Rout',), ()),
|
| 427 |
+
'RNCCompactLexer': ('pygments.lexers.rnc', 'Relax-NG Compact', ('rng-compact', 'rnc'), ('*.rnc',), ()),
|
| 428 |
+
'RPMSpecLexer': ('pygments.lexers.installers', 'RPMSpec', ('spec',), ('*.spec',), ('text/x-rpm-spec',)),
|
| 429 |
+
'RacketLexer': ('pygments.lexers.lisp', 'Racket', ('racket', 'rkt'), ('*.rkt', '*.rktd', '*.rktl'), ('text/x-racket', 'application/x-racket')),
|
| 430 |
+
'RagelCLexer': ('pygments.lexers.parsers', 'Ragel in C Host', ('ragel-c',), ('*.rl',), ()),
|
| 431 |
+
'RagelCppLexer': ('pygments.lexers.parsers', 'Ragel in CPP Host', ('ragel-cpp',), ('*.rl',), ()),
|
| 432 |
+
'RagelDLexer': ('pygments.lexers.parsers', 'Ragel in D Host', ('ragel-d',), ('*.rl',), ()),
|
| 433 |
+
'RagelEmbeddedLexer': ('pygments.lexers.parsers', 'Embedded Ragel', ('ragel-em',), ('*.rl',), ()),
|
| 434 |
+
'RagelJavaLexer': ('pygments.lexers.parsers', 'Ragel in Java Host', ('ragel-java',), ('*.rl',), ()),
|
| 435 |
+
'RagelLexer': ('pygments.lexers.parsers', 'Ragel', ('ragel',), (), ()),
|
| 436 |
+
'RagelObjectiveCLexer': ('pygments.lexers.parsers', 'Ragel in Objective C Host', ('ragel-objc',), ('*.rl',), ()),
|
| 437 |
+
'RagelRubyLexer': ('pygments.lexers.parsers', 'Ragel in Ruby Host', ('ragel-ruby', 'ragel-rb'), ('*.rl',), ()),
|
| 438 |
+
'RawTokenLexer': ('pygments.lexers.special', 'Raw token data', (), (), ('application/x-pygments-tokens',)),
|
| 439 |
+
'RdLexer': ('pygments.lexers.r', 'Rd', ('rd',), ('*.Rd',), ('text/x-r-doc',)),
|
| 440 |
+
'ReasonLexer': ('pygments.lexers.ml', 'ReasonML', ('reasonml', 'reason'), ('*.re', '*.rei'), ('text/x-reasonml',)),
|
| 441 |
+
'RebolLexer': ('pygments.lexers.rebol', 'REBOL', ('rebol',), ('*.r', '*.r3', '*.reb'), ('text/x-rebol',)),
|
| 442 |
+
'RedLexer': ('pygments.lexers.rebol', 'Red', ('red', 'red/system'), ('*.red', '*.reds'), ('text/x-red', 'text/x-red-system')),
|
| 443 |
+
'RedcodeLexer': ('pygments.lexers.esoteric', 'Redcode', ('redcode',), ('*.cw',), ()),
|
| 444 |
+
'RegeditLexer': ('pygments.lexers.configs', 'reg', ('registry',), ('*.reg',), ('text/x-windows-registry',)),
|
| 445 |
+
'RegoLexer': ('pygments.lexers.rego', 'Rego', ('rego',), ('*.rego',), ('text/x-rego',)),
|
| 446 |
+
'RellLexer': ('pygments.lexers.rell', 'Rell', ('rell',), ('*.rell',), ('text/x-rell',)),
|
| 447 |
+
'ResourceLexer': ('pygments.lexers.resource', 'ResourceBundle', ('resourcebundle', 'resource'), (), ()),
|
| 448 |
+
'RexxLexer': ('pygments.lexers.scripting', 'Rexx', ('rexx', 'arexx'), ('*.rexx', '*.rex', '*.rx', '*.arexx'), ('text/x-rexx',)),
|
| 449 |
+
'RhtmlLexer': ('pygments.lexers.templates', 'RHTML', ('rhtml', 'html+erb', 'html+ruby'), ('*.rhtml',), ('text/html+ruby',)),
|
| 450 |
+
'RideLexer': ('pygments.lexers.ride', 'Ride', ('ride',), ('*.ride',), ('text/x-ride',)),
|
| 451 |
+
'RitaLexer': ('pygments.lexers.rita', 'Rita', ('rita',), ('*.rita',), ('text/rita',)),
|
| 452 |
+
'RoboconfGraphLexer': ('pygments.lexers.roboconf', 'Roboconf Graph', ('roboconf-graph',), ('*.graph',), ()),
|
| 453 |
+
'RoboconfInstancesLexer': ('pygments.lexers.roboconf', 'Roboconf Instances', ('roboconf-instances',), ('*.instances',), ()),
|
| 454 |
+
'RobotFrameworkLexer': ('pygments.lexers.robotframework', 'RobotFramework', ('robotframework',), ('*.robot', '*.resource'), ('text/x-robotframework',)),
|
| 455 |
+
'RocqLexer': ('pygments.lexers.theorem', 'Rocq Prover', ('coq', 'rocq', 'rocq-prover'), ('*.v',), ('text/x-coq', 'text/x-rocq')),
|
| 456 |
+
'RqlLexer': ('pygments.lexers.sql', 'RQL', ('rql',), ('*.rql',), ('text/x-rql',)),
|
| 457 |
+
'RslLexer': ('pygments.lexers.dsls', 'RSL', ('rsl',), ('*.rsl',), ('text/rsl',)),
|
| 458 |
+
'RstLexer': ('pygments.lexers.markup', 'reStructuredText', ('restructuredtext', 'rst', 'rest'), ('*.rst', '*.rest'), ('text/x-rst', 'text/prs.fallenstein.rst')),
|
| 459 |
+
'RtsLexer': ('pygments.lexers.trafficscript', 'TrafficScript', ('trafficscript', 'rts'), ('*.rts',), ()),
|
| 460 |
+
'RubyConsoleLexer': ('pygments.lexers.ruby', 'Ruby irb session', ('rbcon', 'irb'), (), ('text/x-ruby-shellsession',)),
|
| 461 |
+
'RubyLexer': ('pygments.lexers.ruby', 'Ruby', ('ruby', 'rb', 'duby'), ('*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec', '*.rbx', '*.duby', 'Gemfile', 'Vagrantfile'), ('text/x-ruby', 'application/x-ruby')),
|
| 462 |
+
'RustLexer': ('pygments.lexers.rust', 'Rust', ('rust', 'rs'), ('*.rs', '*.rs.in'), ('text/rust', 'text/x-rust')),
|
| 463 |
+
'SASLexer': ('pygments.lexers.sas', 'SAS', ('sas',), ('*.SAS', '*.sas'), ('text/x-sas', 'text/sas', 'application/x-sas')),
|
| 464 |
+
'SLexer': ('pygments.lexers.r', 'S', ('splus', 's', 'r'), ('*.S', '*.R', '.Rhistory', '.Rprofile', '.Renviron'), ('text/S-plus', 'text/S', 'text/x-r-source', 'text/x-r', 'text/x-R', 'text/x-r-history', 'text/x-r-profile')),
|
| 465 |
+
'SMLLexer': ('pygments.lexers.ml', 'Standard ML', ('sml',), ('*.sml', '*.sig', '*.fun'), ('text/x-standardml', 'application/x-standardml')),
|
| 466 |
+
'SNBTLexer': ('pygments.lexers.minecraft', 'SNBT', ('snbt',), ('*.snbt',), ('text/snbt',)),
|
| 467 |
+
'SarlLexer': ('pygments.lexers.jvm', 'SARL', ('sarl',), ('*.sarl',), ('text/x-sarl',)),
|
| 468 |
+
'SassLexer': ('pygments.lexers.css', 'Sass', ('sass',), ('*.sass',), ('text/x-sass',)),
|
| 469 |
+
'SaviLexer': ('pygments.lexers.savi', 'Savi', ('savi',), ('*.savi',), ()),
|
| 470 |
+
'ScalaLexer': ('pygments.lexers.jvm', 'Scala', ('scala',), ('*.scala',), ('text/x-scala',)),
|
| 471 |
+
'ScamlLexer': ('pygments.lexers.html', 'Scaml', ('scaml',), ('*.scaml',), ('text/x-scaml',)),
|
| 472 |
+
'ScdocLexer': ('pygments.lexers.scdoc', 'scdoc', ('scdoc', 'scd'), ('*.scd', '*.scdoc'), ()),
|
| 473 |
+
'SchemeLexer': ('pygments.lexers.lisp', 'Scheme', ('scheme', 'scm'), ('*.scm', '*.ss'), ('text/x-scheme', 'application/x-scheme')),
|
| 474 |
+
'ScilabLexer': ('pygments.lexers.matlab', 'Scilab', ('scilab',), ('*.sci', '*.sce', '*.tst'), ('text/scilab',)),
|
| 475 |
+
'ScssLexer': ('pygments.lexers.css', 'SCSS', ('scss',), ('*.scss',), ('text/x-scss',)),
|
| 476 |
+
'SedLexer': ('pygments.lexers.textedit', 'Sed', ('sed', 'gsed', 'ssed'), ('*.sed', '*.[gs]sed'), ('text/x-sed',)),
|
| 477 |
+
'ShExCLexer': ('pygments.lexers.rdf', 'ShExC', ('shexc', 'shex'), ('*.shex',), ('text/shex',)),
|
| 478 |
+
'ShenLexer': ('pygments.lexers.lisp', 'Shen', ('shen',), ('*.shen',), ('text/x-shen', 'application/x-shen')),
|
| 479 |
+
'SieveLexer': ('pygments.lexers.sieve', 'Sieve', ('sieve',), ('*.siv', '*.sieve'), ()),
|
| 480 |
+
'SilverLexer': ('pygments.lexers.verification', 'Silver', ('silver',), ('*.sil', '*.vpr'), ()),
|
| 481 |
+
'SingularityLexer': ('pygments.lexers.configs', 'Singularity', ('singularity',), ('*.def', 'Singularity'), ()),
|
| 482 |
+
'SlashLexer': ('pygments.lexers.slash', 'Slash', ('slash',), ('*.sla',), ()),
|
| 483 |
+
'SlimLexer': ('pygments.lexers.webmisc', 'Slim', ('slim',), ('*.slim',), ('text/x-slim',)),
|
| 484 |
+
'SlurmBashLexer': ('pygments.lexers.shell', 'Slurm', ('slurm', 'sbatch'), ('*.sl',), ()),
|
| 485 |
+
'SmaliLexer': ('pygments.lexers.dalvik', 'Smali', ('smali',), ('*.smali',), ('text/smali',)),
|
| 486 |
+
'SmalltalkLexer': ('pygments.lexers.smalltalk', 'Smalltalk', ('smalltalk', 'squeak', 'st'), ('*.st',), ('text/x-smalltalk',)),
|
| 487 |
+
'SmartGameFormatLexer': ('pygments.lexers.sgf', 'SmartGameFormat', ('sgf',), ('*.sgf',), ()),
|
| 488 |
+
'SmartyLexer': ('pygments.lexers.templates', 'Smarty', ('smarty',), ('*.tpl',), ('application/x-smarty',)),
|
| 489 |
+
'SmithyLexer': ('pygments.lexers.smithy', 'Smithy', ('smithy',), ('*.smithy',), ()),
|
| 490 |
+
'SnobolLexer': ('pygments.lexers.snobol', 'Snobol', ('snobol',), ('*.snobol',), ('text/x-snobol',)),
|
| 491 |
+
'SnowballLexer': ('pygments.lexers.dsls', 'Snowball', ('snowball',), ('*.sbl',), ()),
|
| 492 |
+
'SolidityLexer': ('pygments.lexers.solidity', 'Solidity', ('solidity',), ('*.sol',), ()),
|
| 493 |
+
'SoongLexer': ('pygments.lexers.soong', 'Soong', ('androidbp', 'bp', 'soong'), ('Android.bp',), ()),
|
| 494 |
+
'SophiaLexer': ('pygments.lexers.sophia', 'Sophia', ('sophia',), ('*.aes',), ()),
|
| 495 |
+
'SourcePawnLexer': ('pygments.lexers.pawn', 'SourcePawn', ('sp',), ('*.sp',), ('text/x-sourcepawn',)),
|
| 496 |
+
'SourcesListLexer': ('pygments.lexers.installers', 'Debian Sourcelist', ('debsources', 'sourceslist', 'sources.list'), ('sources.list',), ()),
|
| 497 |
+
'SparqlLexer': ('pygments.lexers.rdf', 'SPARQL', ('sparql',), ('*.rq', '*.sparql'), ('application/sparql-query',)),
|
| 498 |
+
'SpiceLexer': ('pygments.lexers.spice', 'Spice', ('spice', 'spicelang'), ('*.spice',), ('text/x-spice',)),
|
| 499 |
+
'SqlJinjaLexer': ('pygments.lexers.templates', 'SQL+Jinja', ('sql+jinja',), ('*.sql', '*.sql.j2', '*.sql.jinja2'), ()),
|
| 500 |
+
'SqlLexer': ('pygments.lexers.sql', 'SQL', ('sql',), ('*.sql',), ('text/x-sql',)),
|
| 501 |
+
'SqliteConsoleLexer': ('pygments.lexers.sql', 'sqlite3con', ('sqlite3',), ('*.sqlite3-console',), ('text/x-sqlite3-console',)),
|
| 502 |
+
'SquidConfLexer': ('pygments.lexers.configs', 'SquidConf', ('squidconf', 'squid.conf', 'squid'), ('squid.conf',), ('text/x-squidconf',)),
|
| 503 |
+
'SrcinfoLexer': ('pygments.lexers.srcinfo', 'Srcinfo', ('srcinfo',), ('.SRCINFO',), ()),
|
| 504 |
+
'SspLexer': ('pygments.lexers.templates', 'Scalate Server Page', ('ssp',), ('*.ssp',), ('application/x-ssp',)),
|
| 505 |
+
'StanLexer': ('pygments.lexers.modeling', 'Stan', ('stan',), ('*.stan',), ()),
|
| 506 |
+
'StataLexer': ('pygments.lexers.stata', 'Stata', ('stata', 'do'), ('*.do', '*.ado'), ('text/x-stata', 'text/stata', 'application/x-stata')),
|
| 507 |
+
'SuperColliderLexer': ('pygments.lexers.supercollider', 'SuperCollider', ('supercollider', 'sc'), ('*.sc', '*.scd'), ('application/supercollider', 'text/supercollider')),
|
| 508 |
+
'SwiftLexer': ('pygments.lexers.objective', 'Swift', ('swift',), ('*.swift',), ('text/x-swift',)),
|
| 509 |
+
'SwigLexer': ('pygments.lexers.c_like', 'SWIG', ('swig',), ('*.swg', '*.i'), ('text/swig',)),
|
| 510 |
+
'SystemVerilogLexer': ('pygments.lexers.hdl', 'systemverilog', ('systemverilog', 'sv'), ('*.sv', '*.svh'), ('text/x-systemverilog',)),
|
| 511 |
+
'SystemdLexer': ('pygments.lexers.configs', 'Systemd', ('systemd',), ('*.service', '*.socket', '*.device', '*.mount', '*.automount', '*.swap', '*.target', '*.path', '*.timer', '*.slice', '*.scope'), ()),
|
| 512 |
+
'TAPLexer': ('pygments.lexers.testing', 'TAP', ('tap',), ('*.tap',), ()),
|
| 513 |
+
'TNTLexer': ('pygments.lexers.tnt', 'Typographic Number Theory', ('tnt',), ('*.tnt',), ()),
|
| 514 |
+
'TOMLLexer': ('pygments.lexers.configs', 'TOML', ('toml',), ('*.toml', 'Pipfile', 'poetry.lock'), ('application/toml',)),
|
| 515 |
+
'TableGenLexer': ('pygments.lexers.tablegen', 'TableGen', ('tablegen', 'td'), ('*.td',), ()),
|
| 516 |
+
'TactLexer': ('pygments.lexers.tact', 'Tact', ('tact',), ('*.tact',), ()),
|
| 517 |
+
'Tads3Lexer': ('pygments.lexers.int_fiction', 'TADS 3', ('tads3',), ('*.t',), ()),
|
| 518 |
+
'TalLexer': ('pygments.lexers.tal', 'Tal', ('tal', 'uxntal'), ('*.tal',), ('text/x-uxntal',)),
|
| 519 |
+
'TasmLexer': ('pygments.lexers.asm', 'TASM', ('tasm',), ('*.asm', '*.ASM', '*.tasm'), ('text/x-tasm',)),
|
| 520 |
+
'TclLexer': ('pygments.lexers.tcl', 'Tcl', ('tcl',), ('*.tcl', '*.rvt'), ('text/x-tcl', 'text/x-script.tcl', 'application/x-tcl')),
|
| 521 |
+
'TcshLexer': ('pygments.lexers.shell', 'Tcsh', ('tcsh', 'csh'), ('*.tcsh', '*.csh'), ('application/x-csh',)),
|
| 522 |
+
'TcshSessionLexer': ('pygments.lexers.shell', 'Tcsh Session', ('tcshcon',), (), ()),
|
| 523 |
+
'TeaTemplateLexer': ('pygments.lexers.templates', 'Tea', ('tea',), ('*.tea',), ('text/x-tea',)),
|
| 524 |
+
'TealLexer': ('pygments.lexers.teal', 'teal', ('teal',), ('*.teal',), ()),
|
| 525 |
+
'TeraTermLexer': ('pygments.lexers.teraterm', 'Tera Term macro', ('teratermmacro', 'teraterm', 'ttl'), ('*.ttl',), ('text/x-teratermmacro',)),
|
| 526 |
+
'TermcapLexer': ('pygments.lexers.configs', 'Termcap', ('termcap',), ('termcap', 'termcap.src'), ()),
|
| 527 |
+
'TerminfoLexer': ('pygments.lexers.configs', 'Terminfo', ('terminfo',), ('terminfo', 'terminfo.src'), ()),
|
| 528 |
+
'TerraformLexer': ('pygments.lexers.configs', 'Terraform', ('terraform', 'tf', 'hcl'), ('*.tf', '*.hcl'), ('application/x-tf', 'application/x-terraform')),
|
| 529 |
+
'TexLexer': ('pygments.lexers.markup', 'TeX', ('tex', 'latex'), ('*.tex', '*.aux', '*.toc'), ('text/x-tex', 'text/x-latex')),
|
| 530 |
+
'TextLexer': ('pygments.lexers.special', 'Text only', ('text',), ('*.txt',), ('text/plain',)),
|
| 531 |
+
'ThingsDBLexer': ('pygments.lexers.thingsdb', 'ThingsDB', ('ti', 'thingsdb'), ('*.ti',), ()),
|
| 532 |
+
'ThriftLexer': ('pygments.lexers.dsls', 'Thrift', ('thrift',), ('*.thrift',), ('application/x-thrift',)),
|
| 533 |
+
'TiddlyWiki5Lexer': ('pygments.lexers.markup', 'tiddler', ('tid',), ('*.tid',), ('text/vnd.tiddlywiki',)),
|
| 534 |
+
'TlbLexer': ('pygments.lexers.tlb', 'Tl-b', ('tlb',), ('*.tlb',), ()),
|
| 535 |
+
'TlsLexer': ('pygments.lexers.tls', 'TLS Presentation Language', ('tls',), (), ()),
|
| 536 |
+
'TodotxtLexer': ('pygments.lexers.textfmts', 'Todotxt', ('todotxt',), ('todo.txt', '*.todotxt'), ('text/x-todo',)),
|
| 537 |
+
'TransactSqlLexer': ('pygments.lexers.sql', 'Transact-SQL', ('tsql', 't-sql'), ('*.sql',), ('text/x-tsql',)),
|
| 538 |
+
'TreetopLexer': ('pygments.lexers.parsers', 'Treetop', ('treetop',), ('*.treetop', '*.tt'), ()),
|
| 539 |
+
'TsxLexer': ('pygments.lexers.jsx', 'TSX', ('tsx',), ('*.tsx',), ('text/typescript-tsx',)),
|
| 540 |
+
'TurtleLexer': ('pygments.lexers.rdf', 'Turtle', ('turtle',), ('*.ttl',), ('text/turtle', 'application/x-turtle')),
|
| 541 |
+
'TwigHtmlLexer': ('pygments.lexers.templates', 'HTML+Twig', ('html+twig',), ('*.twig',), ('text/html+twig',)),
|
| 542 |
+
'TwigLexer': ('pygments.lexers.templates', 'Twig', ('twig',), (), ('application/x-twig',)),
|
| 543 |
+
'TypeScriptLexer': ('pygments.lexers.javascript', 'TypeScript', ('typescript', 'ts'), ('*.ts',), ('application/x-typescript', 'text/x-typescript')),
|
| 544 |
+
'TypoScriptCssDataLexer': ('pygments.lexers.typoscript', 'TypoScriptCssData', ('typoscriptcssdata',), (), ()),
|
| 545 |
+
'TypoScriptHtmlDataLexer': ('pygments.lexers.typoscript', 'TypoScriptHtmlData', ('typoscripthtmldata',), (), ()),
|
| 546 |
+
'TypoScriptLexer': ('pygments.lexers.typoscript', 'TypoScript', ('typoscript',), ('*.typoscript',), ('text/x-typoscript',)),
|
| 547 |
+
'TypstLexer': ('pygments.lexers.typst', 'Typst', ('typst',), ('*.typ',), ('text/x-typst',)),
|
| 548 |
+
'UL4Lexer': ('pygments.lexers.ul4', 'UL4', ('ul4',), ('*.ul4',), ()),
|
| 549 |
+
'UcodeLexer': ('pygments.lexers.unicon', 'ucode', ('ucode',), ('*.u', '*.u1', '*.u2'), ()),
|
| 550 |
+
'UniconLexer': ('pygments.lexers.unicon', 'Unicon', ('unicon',), ('*.icn',), ('text/unicon',)),
|
| 551 |
+
'UnixConfigLexer': ('pygments.lexers.configs', 'Unix/Linux config files', ('unixconfig', 'linuxconfig'), (), ()),
|
| 552 |
+
'UrbiscriptLexer': ('pygments.lexers.urbi', 'UrbiScript', ('urbiscript',), ('*.u',), ('application/x-urbiscript',)),
|
| 553 |
+
'UrlEncodedLexer': ('pygments.lexers.html', 'urlencoded', ('urlencoded',), (), ('application/x-www-form-urlencoded',)),
|
| 554 |
+
'UsdLexer': ('pygments.lexers.usd', 'USD', ('usd', 'usda'), ('*.usd', '*.usda'), ()),
|
| 555 |
+
'VBScriptLexer': ('pygments.lexers.basic', 'VBScript', ('vbscript',), ('*.vbs', '*.VBS'), ()),
|
| 556 |
+
'VCLLexer': ('pygments.lexers.varnish', 'VCL', ('vcl',), ('*.vcl',), ('text/x-vclsrc',)),
|
| 557 |
+
'VCLSnippetLexer': ('pygments.lexers.varnish', 'VCLSnippets', ('vclsnippets', 'vclsnippet'), (), ('text/x-vclsnippet',)),
|
| 558 |
+
'VCTreeStatusLexer': ('pygments.lexers.console', 'VCTreeStatus', ('vctreestatus',), (), ()),
|
| 559 |
+
'VGLLexer': ('pygments.lexers.dsls', 'VGL', ('vgl',), ('*.rpf',), ()),
|
| 560 |
+
'ValaLexer': ('pygments.lexers.c_like', 'Vala', ('vala', 'vapi'), ('*.vala', '*.vapi'), ('text/x-vala',)),
|
| 561 |
+
'VbNetAspxLexer': ('pygments.lexers.dotnet', 'aspx-vb', ('aspx-vb',), ('*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'), ()),
|
| 562 |
+
'VbNetLexer': ('pygments.lexers.dotnet', 'VB.net', ('vb.net', 'vbnet', 'lobas', 'oobas', 'sobas', 'visual-basic', 'visualbasic'), ('*.vb', '*.bas'), ('text/x-vbnet', 'text/x-vba')),
|
| 563 |
+
'VelocityHtmlLexer': ('pygments.lexers.templates', 'HTML+Velocity', ('html+velocity',), (), ('text/html+velocity',)),
|
| 564 |
+
'VelocityLexer': ('pygments.lexers.templates', 'Velocity', ('velocity',), ('*.vm', '*.fhtml'), ()),
|
| 565 |
+
'VelocityXmlLexer': ('pygments.lexers.templates', 'XML+Velocity', ('xml+velocity',), (), ('application/xml+velocity',)),
|
| 566 |
+
'VerifpalLexer': ('pygments.lexers.verifpal', 'Verifpal', ('verifpal',), ('*.vp',), ('text/x-verifpal',)),
|
| 567 |
+
'VerilogLexer': ('pygments.lexers.hdl', 'verilog', ('verilog', 'v'), ('*.v',), ('text/x-verilog',)),
|
| 568 |
+
'VhdlLexer': ('pygments.lexers.hdl', 'vhdl', ('vhdl',), ('*.vhdl', '*.vhd'), ('text/x-vhdl',)),
|
| 569 |
+
'VimLexer': ('pygments.lexers.textedit', 'VimL', ('vim',), ('*.vim', '.vimrc', '.exrc', '.gvimrc', '_vimrc', '_exrc', '_gvimrc', 'vimrc', 'gvimrc'), ('text/x-vim',)),
|
| 570 |
+
'VisualPrologGrammarLexer': ('pygments.lexers.vip', 'Visual Prolog Grammar', ('visualprologgrammar',), ('*.vipgrm',), ()),
|
| 571 |
+
'VisualPrologLexer': ('pygments.lexers.vip', 'Visual Prolog', ('visualprolog',), ('*.pro', '*.cl', '*.i', '*.pack', '*.ph'), ()),
|
| 572 |
+
'VueLexer': ('pygments.lexers.html', 'Vue', ('vue',), ('*.vue',), ()),
|
| 573 |
+
'VyperLexer': ('pygments.lexers.vyper', 'Vyper', ('vyper',), ('*.vy',), ()),
|
| 574 |
+
'WDiffLexer': ('pygments.lexers.diff', 'WDiff', ('wdiff',), ('*.wdiff',), ()),
|
| 575 |
+
'WatLexer': ('pygments.lexers.webassembly', 'WebAssembly', ('wast', 'wat'), ('*.wat', '*.wast'), ()),
|
| 576 |
+
'WebIDLLexer': ('pygments.lexers.webidl', 'Web IDL', ('webidl',), ('*.webidl',), ()),
|
| 577 |
+
'WgslLexer': ('pygments.lexers.wgsl', 'WebGPU Shading Language', ('wgsl',), ('*.wgsl',), ('text/wgsl',)),
|
| 578 |
+
'WhileyLexer': ('pygments.lexers.whiley', 'Whiley', ('whiley',), ('*.whiley',), ('text/x-whiley',)),
|
| 579 |
+
'WikitextLexer': ('pygments.lexers.markup', 'Wikitext', ('wikitext', 'mediawiki'), (), ('text/x-wiki',)),
|
| 580 |
+
'WoWTocLexer': ('pygments.lexers.wowtoc', 'World of Warcraft TOC', ('wowtoc',), ('*.toc',), ()),
|
| 581 |
+
'WrenLexer': ('pygments.lexers.wren', 'Wren', ('wren',), ('*.wren',), ()),
|
| 582 |
+
'X10Lexer': ('pygments.lexers.x10', 'X10', ('x10', 'xten'), ('*.x10',), ('text/x-x10',)),
|
| 583 |
+
'XMLUL4Lexer': ('pygments.lexers.ul4', 'XML+UL4', ('xml+ul4',), ('*.xmlul4',), ()),
|
| 584 |
+
'XQueryLexer': ('pygments.lexers.webmisc', 'XQuery', ('xquery', 'xqy', 'xq', 'xql', 'xqm'), ('*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'), ('text/xquery', 'application/xquery')),
|
| 585 |
+
'XmlDjangoLexer': ('pygments.lexers.templates', 'XML+Django/Jinja', ('xml+django', 'xml+jinja'), ('*.xml.j2', '*.xml.jinja2'), ('application/xml+django', 'application/xml+jinja')),
|
| 586 |
+
'XmlErbLexer': ('pygments.lexers.templates', 'XML+Ruby', ('xml+ruby', 'xml+erb'), (), ('application/xml+ruby',)),
|
| 587 |
+
'XmlLexer': ('pygments.lexers.html', 'XML', ('xml',), ('*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl', '*.wsf', '*.xbrl', '*.pom'), ('text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml')),
|
| 588 |
+
'XmlPhpLexer': ('pygments.lexers.templates', 'XML+PHP', ('xml+php',), (), ('application/xml+php',)),
|
| 589 |
+
'XmlSmartyLexer': ('pygments.lexers.templates', 'XML+Smarty', ('xml+smarty',), (), ('application/xml+smarty',)),
|
| 590 |
+
'XorgLexer': ('pygments.lexers.xorg', 'Xorg', ('xorg.conf',), ('xorg.conf',), ()),
|
| 591 |
+
'XppLexer': ('pygments.lexers.dotnet', 'X++', ('xpp', 'x++'), ('*.xpp',), ()),
|
| 592 |
+
'XsltLexer': ('pygments.lexers.html', 'XSLT', ('xslt',), ('*.xsl', '*.xslt', '*.xpl'), ('application/xsl+xml', 'application/xslt+xml')),
|
| 593 |
+
'XtendLexer': ('pygments.lexers.jvm', 'Xtend', ('xtend',), ('*.xtend',), ('text/x-xtend',)),
|
| 594 |
+
'XtlangLexer': ('pygments.lexers.lisp', 'xtlang', ('extempore',), ('*.xtm',), ()),
|
| 595 |
+
'YamlJinjaLexer': ('pygments.lexers.templates', 'YAML+Jinja', ('yaml+jinja', 'salt', 'sls'), ('*.sls', '*.yaml.j2', '*.yml.j2', '*.yaml.jinja2', '*.yml.jinja2'), ('text/x-yaml+jinja', 'text/x-sls')),
|
| 596 |
+
'YamlLexer': ('pygments.lexers.data', 'YAML', ('yaml',), ('*.yaml', '*.yml'), ('text/x-yaml',)),
|
| 597 |
+
'YangLexer': ('pygments.lexers.yang', 'YANG', ('yang',), ('*.yang',), ('application/yang',)),
|
| 598 |
+
'YaraLexer': ('pygments.lexers.yara', 'YARA', ('yara', 'yar'), ('*.yar',), ('text/x-yara',)),
|
| 599 |
+
'ZeekLexer': ('pygments.lexers.dsls', 'Zeek', ('zeek', 'bro'), ('*.zeek', '*.bro'), ()),
|
| 600 |
+
'ZephirLexer': ('pygments.lexers.php', 'Zephir', ('zephir',), ('*.zep',), ()),
|
| 601 |
+
'ZigLexer': ('pygments.lexers.zig', 'Zig', ('zig',), ('*.zig',), ('text/zig',)),
|
| 602 |
+
'apdlexer': ('pygments.lexers.apdlexer', 'ANSYS parametric design language', ('ansys', 'apdl'), ('*.ans',), ()),
|
| 603 |
+
}
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_mql_builtins.py
ADDED
|
@@ -0,0 +1,1171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._mql_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Builtins for the MqlLexer.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
types = (
|
| 11 |
+
'AccountBalance',
|
| 12 |
+
'AccountCompany',
|
| 13 |
+
'AccountCredit',
|
| 14 |
+
'AccountCurrency',
|
| 15 |
+
'AccountEquity',
|
| 16 |
+
'AccountFreeMarginCheck',
|
| 17 |
+
'AccountFreeMarginMode',
|
| 18 |
+
'AccountFreeMargin',
|
| 19 |
+
'AccountInfoDouble',
|
| 20 |
+
'AccountInfoInteger',
|
| 21 |
+
'AccountInfoString',
|
| 22 |
+
'AccountLeverage',
|
| 23 |
+
'AccountMargin',
|
| 24 |
+
'AccountName',
|
| 25 |
+
'AccountNumber',
|
| 26 |
+
'AccountProfit',
|
| 27 |
+
'AccountServer',
|
| 28 |
+
'AccountStopoutLevel',
|
| 29 |
+
'AccountStopoutMode',
|
| 30 |
+
'Alert',
|
| 31 |
+
'ArrayBsearch',
|
| 32 |
+
'ArrayCompare',
|
| 33 |
+
'ArrayCopyRates',
|
| 34 |
+
'ArrayCopySeries',
|
| 35 |
+
'ArrayCopy',
|
| 36 |
+
'ArrayDimension',
|
| 37 |
+
'ArrayFill',
|
| 38 |
+
'ArrayFree',
|
| 39 |
+
'ArrayGetAsSeries',
|
| 40 |
+
'ArrayInitialize',
|
| 41 |
+
'ArrayIsDynamic',
|
| 42 |
+
'ArrayIsSeries',
|
| 43 |
+
'ArrayMaximum',
|
| 44 |
+
'ArrayMinimum',
|
| 45 |
+
'ArrayRange',
|
| 46 |
+
'ArrayResize',
|
| 47 |
+
'ArraySetAsSeries',
|
| 48 |
+
'ArraySize',
|
| 49 |
+
'ArraySort',
|
| 50 |
+
'CharArrayToString',
|
| 51 |
+
'CharToString',
|
| 52 |
+
'CharToStr',
|
| 53 |
+
'CheckPointer',
|
| 54 |
+
'ColorToARGB',
|
| 55 |
+
'ColorToString',
|
| 56 |
+
'Comment',
|
| 57 |
+
'CopyClose',
|
| 58 |
+
'CopyHigh',
|
| 59 |
+
'CopyLow',
|
| 60 |
+
'CopyOpen',
|
| 61 |
+
'CopyRates',
|
| 62 |
+
'CopyRealVolume',
|
| 63 |
+
'CopySpread',
|
| 64 |
+
'CopyTickVolume',
|
| 65 |
+
'CopyTime',
|
| 66 |
+
'DayOfWeek',
|
| 67 |
+
'DayOfYear',
|
| 68 |
+
'Day',
|
| 69 |
+
'DebugBreak',
|
| 70 |
+
'Digits',
|
| 71 |
+
'DoubleToString',
|
| 72 |
+
'DoubleToStr',
|
| 73 |
+
'EnumToString',
|
| 74 |
+
'EventChartCustom',
|
| 75 |
+
'EventKillTimer',
|
| 76 |
+
'EventSetMillisecondTimer',
|
| 77 |
+
'EventSetTimer',
|
| 78 |
+
'ExpertRemove',
|
| 79 |
+
'FileClose',
|
| 80 |
+
'FileCopy',
|
| 81 |
+
'FileDelete',
|
| 82 |
+
'FileFindClose',
|
| 83 |
+
'FileFindFirst',
|
| 84 |
+
'FileFindNext',
|
| 85 |
+
'FileFlush',
|
| 86 |
+
'FileGetInteger',
|
| 87 |
+
'FileIsEnding',
|
| 88 |
+
'FileIsExist',
|
| 89 |
+
'FileIsLineEnding',
|
| 90 |
+
'FileMove',
|
| 91 |
+
'FileOpenHistory',
|
| 92 |
+
'FileOpen',
|
| 93 |
+
'FileReadArray',
|
| 94 |
+
'FileReadBool',
|
| 95 |
+
'FileReadDatetime',
|
| 96 |
+
'FileReadDouble',
|
| 97 |
+
'FileReadFloat',
|
| 98 |
+
'FileReadInteger',
|
| 99 |
+
'FileReadLong',
|
| 100 |
+
'FileReadNumber',
|
| 101 |
+
'FileReadString',
|
| 102 |
+
'FileReadStruct',
|
| 103 |
+
'FileSeek',
|
| 104 |
+
'FileSize',
|
| 105 |
+
'FileTell',
|
| 106 |
+
'FileWriteArray',
|
| 107 |
+
'FileWriteDouble',
|
| 108 |
+
'FileWriteFloat',
|
| 109 |
+
'FileWriteInteger',
|
| 110 |
+
'FileWriteLong',
|
| 111 |
+
'FileWriteString',
|
| 112 |
+
'FileWriteStruct',
|
| 113 |
+
'FileWrite',
|
| 114 |
+
'FolderClean',
|
| 115 |
+
'FolderCreate',
|
| 116 |
+
'FolderDelete',
|
| 117 |
+
'GetLastError',
|
| 118 |
+
'GetPointer',
|
| 119 |
+
'GetTickCount',
|
| 120 |
+
'GlobalVariableCheck',
|
| 121 |
+
'GlobalVariableDel',
|
| 122 |
+
'GlobalVariableGet',
|
| 123 |
+
'GlobalVariableName',
|
| 124 |
+
'GlobalVariableSetOnCondition',
|
| 125 |
+
'GlobalVariableSet',
|
| 126 |
+
'GlobalVariableTemp',
|
| 127 |
+
'GlobalVariableTime',
|
| 128 |
+
'GlobalVariablesDeleteAll',
|
| 129 |
+
'GlobalVariablesFlush',
|
| 130 |
+
'GlobalVariablesTotal',
|
| 131 |
+
'HideTestIndicators',
|
| 132 |
+
'Hour',
|
| 133 |
+
'IndicatorBuffers',
|
| 134 |
+
'IndicatorCounted',
|
| 135 |
+
'IndicatorDigits',
|
| 136 |
+
'IndicatorSetDouble',
|
| 137 |
+
'IndicatorSetInteger',
|
| 138 |
+
'IndicatorSetString',
|
| 139 |
+
'IndicatorShortName',
|
| 140 |
+
'IntegerToString',
|
| 141 |
+
'IsConnected',
|
| 142 |
+
'IsDemo',
|
| 143 |
+
'IsDllsAllowed',
|
| 144 |
+
'IsExpertEnabled',
|
| 145 |
+
'IsLibrariesAllowed',
|
| 146 |
+
'IsOptimization',
|
| 147 |
+
'IsStopped',
|
| 148 |
+
'IsTesting',
|
| 149 |
+
'IsTradeAllowed',
|
| 150 |
+
'IsTradeContextBusy',
|
| 151 |
+
'IsVisualMode',
|
| 152 |
+
'MQLInfoInteger',
|
| 153 |
+
'MQLInfoString',
|
| 154 |
+
'MarketInfo',
|
| 155 |
+
'MathAbs',
|
| 156 |
+
'MathArccos',
|
| 157 |
+
'MathArcsin',
|
| 158 |
+
'MathArctan',
|
| 159 |
+
'MathCeil',
|
| 160 |
+
'MathCos',
|
| 161 |
+
'MathExp',
|
| 162 |
+
'MathFloor',
|
| 163 |
+
'MathIsValidNumber',
|
| 164 |
+
'MathLog',
|
| 165 |
+
'MathMax',
|
| 166 |
+
'MathMin',
|
| 167 |
+
'MathMod',
|
| 168 |
+
'MathPow',
|
| 169 |
+
'MathRand',
|
| 170 |
+
'MathRound',
|
| 171 |
+
'MathSin',
|
| 172 |
+
'MathSqrt',
|
| 173 |
+
'MathSrand',
|
| 174 |
+
'MathTan',
|
| 175 |
+
'MessageBox',
|
| 176 |
+
'Minute',
|
| 177 |
+
'Month',
|
| 178 |
+
'NormalizeDouble',
|
| 179 |
+
'ObjectCreate',
|
| 180 |
+
'ObjectDelete',
|
| 181 |
+
'ObjectDescription',
|
| 182 |
+
'ObjectFind',
|
| 183 |
+
'ObjectGetDouble',
|
| 184 |
+
'ObjectGetFiboDescription',
|
| 185 |
+
'ObjectGetInteger',
|
| 186 |
+
'ObjectGetShiftByValue',
|
| 187 |
+
'ObjectGetString',
|
| 188 |
+
'ObjectGetTimeByValue',
|
| 189 |
+
'ObjectGetValueByShift',
|
| 190 |
+
'ObjectGetValueByTime',
|
| 191 |
+
'ObjectGet',
|
| 192 |
+
'ObjectMove',
|
| 193 |
+
'ObjectName',
|
| 194 |
+
'ObjectSetDouble',
|
| 195 |
+
'ObjectSetFiboDescription',
|
| 196 |
+
'ObjectSetInteger',
|
| 197 |
+
'ObjectSetString',
|
| 198 |
+
'ObjectSetText',
|
| 199 |
+
'ObjectSet',
|
| 200 |
+
'ObjectType',
|
| 201 |
+
'ObjectsDeleteAll',
|
| 202 |
+
'ObjectsTotal',
|
| 203 |
+
'OrderCloseBy',
|
| 204 |
+
'OrderClosePrice',
|
| 205 |
+
'OrderCloseTime',
|
| 206 |
+
'OrderClose',
|
| 207 |
+
'OrderComment',
|
| 208 |
+
'OrderCommission',
|
| 209 |
+
'OrderDelete',
|
| 210 |
+
'OrderExpiration',
|
| 211 |
+
'OrderLots',
|
| 212 |
+
'OrderMagicNumber',
|
| 213 |
+
'OrderModify',
|
| 214 |
+
'OrderOpenPrice',
|
| 215 |
+
'OrderOpenTime',
|
| 216 |
+
'OrderPrint',
|
| 217 |
+
'OrderProfit',
|
| 218 |
+
'OrderSelect',
|
| 219 |
+
'OrderSend',
|
| 220 |
+
'OrderStopLoss',
|
| 221 |
+
'OrderSwap',
|
| 222 |
+
'OrderSymbol',
|
| 223 |
+
'OrderTakeProfit',
|
| 224 |
+
'OrderTicket',
|
| 225 |
+
'OrderType',
|
| 226 |
+
'OrdersHistoryTotal',
|
| 227 |
+
'OrdersTotal',
|
| 228 |
+
'PeriodSeconds',
|
| 229 |
+
'Period',
|
| 230 |
+
'PlaySound',
|
| 231 |
+
'Point',
|
| 232 |
+
'PrintFormat',
|
| 233 |
+
'Print',
|
| 234 |
+
'RefreshRates',
|
| 235 |
+
'ResetLastError',
|
| 236 |
+
'ResourceCreate',
|
| 237 |
+
'ResourceFree',
|
| 238 |
+
'ResourceReadImage',
|
| 239 |
+
'ResourceSave',
|
| 240 |
+
'Seconds',
|
| 241 |
+
'SendFTP',
|
| 242 |
+
'SendMail',
|
| 243 |
+
'SendNotification',
|
| 244 |
+
'SeriesInfoInteger',
|
| 245 |
+
'SetIndexArrow',
|
| 246 |
+
'SetIndexBuffer',
|
| 247 |
+
'SetIndexDrawBegin',
|
| 248 |
+
'SetIndexEmptyValue',
|
| 249 |
+
'SetIndexLabel',
|
| 250 |
+
'SetIndexShift',
|
| 251 |
+
'SetIndexStyle',
|
| 252 |
+
'SetLevelStyle',
|
| 253 |
+
'SetLevelValue',
|
| 254 |
+
'ShortArrayToString',
|
| 255 |
+
'ShortToString',
|
| 256 |
+
'Sleep',
|
| 257 |
+
'StrToDouble',
|
| 258 |
+
'StrToInteger',
|
| 259 |
+
'StrToTime',
|
| 260 |
+
'StringAdd',
|
| 261 |
+
'StringBufferLen',
|
| 262 |
+
'StringCompare',
|
| 263 |
+
'StringConcatenate',
|
| 264 |
+
'StringFill',
|
| 265 |
+
'StringFind',
|
| 266 |
+
'StringFormat',
|
| 267 |
+
'StringGetCharacter',
|
| 268 |
+
'StringGetChar',
|
| 269 |
+
'StringInit',
|
| 270 |
+
'StringLen',
|
| 271 |
+
'StringReplace',
|
| 272 |
+
'StringSetCharacter',
|
| 273 |
+
'StringSetChar',
|
| 274 |
+
'StringSplit',
|
| 275 |
+
'StringSubstr',
|
| 276 |
+
'StringToCharArray',
|
| 277 |
+
'StringToColor',
|
| 278 |
+
'StringToDouble',
|
| 279 |
+
'StringToInteger',
|
| 280 |
+
'StringToLower',
|
| 281 |
+
'StringToShortArray',
|
| 282 |
+
'StringToTime',
|
| 283 |
+
'StringToUpper',
|
| 284 |
+
'StringTrimLeft',
|
| 285 |
+
'StringTrimRight',
|
| 286 |
+
'StructToTime',
|
| 287 |
+
'SymbolInfoDouble',
|
| 288 |
+
'SymbolInfoInteger',
|
| 289 |
+
'SymbolInfoSessionQuote',
|
| 290 |
+
'SymbolInfoSessionTrade',
|
| 291 |
+
'SymbolInfoString',
|
| 292 |
+
'SymbolInfoTick',
|
| 293 |
+
'SymbolIsSynchronized',
|
| 294 |
+
'SymbolName',
|
| 295 |
+
'SymbolSelect',
|
| 296 |
+
'SymbolsTotal',
|
| 297 |
+
'Symbol',
|
| 298 |
+
'TerminalClose',
|
| 299 |
+
'TerminalCompany',
|
| 300 |
+
'TerminalName',
|
| 301 |
+
'TerminalPath',
|
| 302 |
+
'TesterStatistics',
|
| 303 |
+
'TextGetSize',
|
| 304 |
+
'TextOut',
|
| 305 |
+
'TextSetFont',
|
| 306 |
+
'TimeCurrent',
|
| 307 |
+
'TimeDayOfWeek',
|
| 308 |
+
'TimeDayOfYear',
|
| 309 |
+
'TimeDaylightSavings',
|
| 310 |
+
'TimeDay',
|
| 311 |
+
'TimeGMTOffset',
|
| 312 |
+
'TimeGMT',
|
| 313 |
+
'TimeHour',
|
| 314 |
+
'TimeLocal',
|
| 315 |
+
'TimeMinute',
|
| 316 |
+
'TimeMonth',
|
| 317 |
+
'TimeSeconds',
|
| 318 |
+
'TimeToString',
|
| 319 |
+
'TimeToStruct',
|
| 320 |
+
'TimeToStr',
|
| 321 |
+
'TimeTradeServer',
|
| 322 |
+
'TimeYear',
|
| 323 |
+
'UninitializeReason',
|
| 324 |
+
'WindowBarsPerChart',
|
| 325 |
+
'WindowExpertName',
|
| 326 |
+
'WindowFind',
|
| 327 |
+
'WindowFirstVisibleBar',
|
| 328 |
+
'WindowHandle',
|
| 329 |
+
'WindowIsVisible',
|
| 330 |
+
'WindowOnDropped',
|
| 331 |
+
'WindowPriceMax',
|
| 332 |
+
'WindowPriceMin',
|
| 333 |
+
'WindowPriceOnDropped',
|
| 334 |
+
'WindowRedraw',
|
| 335 |
+
'WindowScreenShot',
|
| 336 |
+
'WindowTimeOnDropped',
|
| 337 |
+
'WindowXOnDropped',
|
| 338 |
+
'WindowYOnDropped',
|
| 339 |
+
'WindowsTotal',
|
| 340 |
+
'Year',
|
| 341 |
+
'ZeroMemory',
|
| 342 |
+
'iAC',
|
| 343 |
+
'iADX',
|
| 344 |
+
'iAD',
|
| 345 |
+
'iAO',
|
| 346 |
+
'iATR',
|
| 347 |
+
'iAlligator',
|
| 348 |
+
'iBWMFI',
|
| 349 |
+
'iBandsOnArray',
|
| 350 |
+
'iBands',
|
| 351 |
+
'iBarShift',
|
| 352 |
+
'iBars',
|
| 353 |
+
'iBearsPower',
|
| 354 |
+
'iBullsPower',
|
| 355 |
+
'iCCIOnArray',
|
| 356 |
+
'iCCI',
|
| 357 |
+
'iClose',
|
| 358 |
+
'iCustom',
|
| 359 |
+
'iDeMarker',
|
| 360 |
+
'iEnvelopesOnArray',
|
| 361 |
+
'iEnvelopes',
|
| 362 |
+
'iForce',
|
| 363 |
+
'iFractals',
|
| 364 |
+
'iGator',
|
| 365 |
+
'iHighest',
|
| 366 |
+
'iHigh',
|
| 367 |
+
'iIchimoku',
|
| 368 |
+
'iLowest',
|
| 369 |
+
'iLow',
|
| 370 |
+
'iMACD',
|
| 371 |
+
'iMAOnArray',
|
| 372 |
+
'iMA',
|
| 373 |
+
'iMFI',
|
| 374 |
+
'iMomentumOnArray',
|
| 375 |
+
'iMomentum',
|
| 376 |
+
'iOBV',
|
| 377 |
+
'iOpen',
|
| 378 |
+
'iOsMA',
|
| 379 |
+
'iRSIOnArray',
|
| 380 |
+
'iRSI',
|
| 381 |
+
'iRVI',
|
| 382 |
+
'iSAR',
|
| 383 |
+
'iStdDevOnArray',
|
| 384 |
+
'iStdDev',
|
| 385 |
+
'iStochastic',
|
| 386 |
+
'iTime',
|
| 387 |
+
'iVolume',
|
| 388 |
+
'iWPR',
|
| 389 |
+
)
|
| 390 |
+
|
| 391 |
+
constants = (
|
| 392 |
+
'ACCOUNT_BALANCE',
|
| 393 |
+
'ACCOUNT_COMPANY',
|
| 394 |
+
'ACCOUNT_CREDIT',
|
| 395 |
+
'ACCOUNT_CURRENCY',
|
| 396 |
+
'ACCOUNT_EQUITY',
|
| 397 |
+
'ACCOUNT_FREEMARGIN',
|
| 398 |
+
'ACCOUNT_LEVERAGE',
|
| 399 |
+
'ACCOUNT_LIMIT_ORDERS',
|
| 400 |
+
'ACCOUNT_LOGIN',
|
| 401 |
+
'ACCOUNT_MARGIN',
|
| 402 |
+
'ACCOUNT_MARGIN_LEVEL',
|
| 403 |
+
'ACCOUNT_MARGIN_SO_CALL',
|
| 404 |
+
'ACCOUNT_MARGIN_SO_MODE',
|
| 405 |
+
'ACCOUNT_MARGIN_SO_SO',
|
| 406 |
+
'ACCOUNT_NAME',
|
| 407 |
+
'ACCOUNT_PROFIT',
|
| 408 |
+
'ACCOUNT_SERVER',
|
| 409 |
+
'ACCOUNT_STOPOUT_MODE_MONEY',
|
| 410 |
+
'ACCOUNT_STOPOUT_MODE_PERCENT',
|
| 411 |
+
'ACCOUNT_TRADE_ALLOWED',
|
| 412 |
+
'ACCOUNT_TRADE_EXPERT',
|
| 413 |
+
'ACCOUNT_TRADE_MODE',
|
| 414 |
+
'ACCOUNT_TRADE_MODE_CONTEST',
|
| 415 |
+
'ACCOUNT_TRADE_MODE_DEMO',
|
| 416 |
+
'ACCOUNT_TRADE_MODE_REAL',
|
| 417 |
+
'ALIGN_CENTER',
|
| 418 |
+
'ALIGN_LEFT',
|
| 419 |
+
'ALIGN_RIGHT',
|
| 420 |
+
'ANCHOR_BOTTOM',
|
| 421 |
+
'ANCHOR_CENTER',
|
| 422 |
+
'ANCHOR_LEFT',
|
| 423 |
+
'ANCHOR_LEFT_LOWER',
|
| 424 |
+
'ANCHOR_LEFT_UPPER',
|
| 425 |
+
'ANCHOR_LOWER',
|
| 426 |
+
'ANCHOR_RIGHT',
|
| 427 |
+
'ANCHOR_RIGHT_LOWER',
|
| 428 |
+
'ANCHOR_RIGHT_UPPER',
|
| 429 |
+
'ANCHOR_TOP',
|
| 430 |
+
'ANCHOR_UPPER',
|
| 431 |
+
'BORDER_FLAT',
|
| 432 |
+
'BORDER_RAISED',
|
| 433 |
+
'BORDER_SUNKEN',
|
| 434 |
+
'CHARTEVENT_CHART_CHANGE',
|
| 435 |
+
'CHARTEVENT_CLICK',
|
| 436 |
+
'CHARTEVENT_CUSTOM',
|
| 437 |
+
'CHARTEVENT_CUSTOM_LAST',
|
| 438 |
+
'CHARTEVENT_KEYDOWN',
|
| 439 |
+
'CHARTEVENT_MOUSE_MOVE',
|
| 440 |
+
'CHARTEVENT_OBJECT_CHANGE',
|
| 441 |
+
'CHARTEVENT_OBJECT_CLICK',
|
| 442 |
+
'CHARTEVENT_OBJECT_CREATE',
|
| 443 |
+
'CHARTEVENT_OBJECT_DELETE',
|
| 444 |
+
'CHARTEVENT_OBJECT_DRAG',
|
| 445 |
+
'CHARTEVENT_OBJECT_ENDEDIT',
|
| 446 |
+
'CHARTS_MAX',
|
| 447 |
+
'CHART_AUTOSCROLL',
|
| 448 |
+
'CHART_BARS',
|
| 449 |
+
'CHART_BEGIN',
|
| 450 |
+
'CHART_BRING_TO_TOP',
|
| 451 |
+
'CHART_CANDLES',
|
| 452 |
+
'CHART_COLOR_ASK',
|
| 453 |
+
'CHART_COLOR_BACKGROUND',
|
| 454 |
+
'CHART_COLOR_BID',
|
| 455 |
+
'CHART_COLOR_CANDLE_BEAR',
|
| 456 |
+
'CHART_COLOR_CANDLE_BULL',
|
| 457 |
+
'CHART_COLOR_CHART_DOWN',
|
| 458 |
+
'CHART_COLOR_CHART_LINE',
|
| 459 |
+
'CHART_COLOR_CHART_UP',
|
| 460 |
+
'CHART_COLOR_FOREGROUND',
|
| 461 |
+
'CHART_COLOR_GRID',
|
| 462 |
+
'CHART_COLOR_LAST',
|
| 463 |
+
'CHART_COLOR_STOP_LEVEL',
|
| 464 |
+
'CHART_COLOR_VOLUME',
|
| 465 |
+
'CHART_COMMENT',
|
| 466 |
+
'CHART_CURRENT_POS',
|
| 467 |
+
'CHART_DRAG_TRADE_LEVELS',
|
| 468 |
+
'CHART_END',
|
| 469 |
+
'CHART_EVENT_MOUSE_MOVE',
|
| 470 |
+
'CHART_EVENT_OBJECT_CREATE',
|
| 471 |
+
'CHART_EVENT_OBJECT_DELETE',
|
| 472 |
+
'CHART_FIRST_VISIBLE_BAR',
|
| 473 |
+
'CHART_FIXED_MAX',
|
| 474 |
+
'CHART_FIXED_MIN',
|
| 475 |
+
'CHART_FIXED_POSITION',
|
| 476 |
+
'CHART_FOREGROUND',
|
| 477 |
+
'CHART_HEIGHT_IN_PIXELS',
|
| 478 |
+
'CHART_IS_OBJECT',
|
| 479 |
+
'CHART_LINE',
|
| 480 |
+
'CHART_MODE',
|
| 481 |
+
'CHART_MOUSE_SCROLL',
|
| 482 |
+
'CHART_POINTS_PER_BAR',
|
| 483 |
+
'CHART_PRICE_MAX',
|
| 484 |
+
'CHART_PRICE_MIN',
|
| 485 |
+
'CHART_SCALEFIX',
|
| 486 |
+
'CHART_SCALEFIX_11',
|
| 487 |
+
'CHART_SCALE',
|
| 488 |
+
'CHART_SCALE_PT_PER_BAR',
|
| 489 |
+
'CHART_SHIFT',
|
| 490 |
+
'CHART_SHIFT_SIZE',
|
| 491 |
+
'CHART_SHOW_ASK_LINE',
|
| 492 |
+
'CHART_SHOW_BID_LINE',
|
| 493 |
+
'CHART_SHOW_DATE_SCALE',
|
| 494 |
+
'CHART_SHOW_GRID',
|
| 495 |
+
'CHART_SHOW_LAST_LINE',
|
| 496 |
+
'CHART_SHOW_OBJECT_DESCR',
|
| 497 |
+
'CHART_SHOW_OHLC',
|
| 498 |
+
'CHART_SHOW_PERIOD_SEP',
|
| 499 |
+
'CHART_SHOW_PRICE_SCALE',
|
| 500 |
+
'CHART_SHOW_TRADE_LEVELS',
|
| 501 |
+
'CHART_SHOW_VOLUMES',
|
| 502 |
+
'CHART_VISIBLE_BARS',
|
| 503 |
+
'CHART_VOLUME_HIDE',
|
| 504 |
+
'CHART_VOLUME_REAL',
|
| 505 |
+
'CHART_VOLUME_TICK',
|
| 506 |
+
'CHART_WIDTH_IN_BARS',
|
| 507 |
+
'CHART_WIDTH_IN_PIXELS',
|
| 508 |
+
'CHART_WINDOWS_TOTAL',
|
| 509 |
+
'CHART_WINDOW_HANDLE',
|
| 510 |
+
'CHART_WINDOW_IS_VISIBLE',
|
| 511 |
+
'CHART_WINDOW_YDISTANCE',
|
| 512 |
+
'CHAR_MAX',
|
| 513 |
+
'CHAR_MIN',
|
| 514 |
+
'CLR_NONE',
|
| 515 |
+
'CORNER_LEFT_LOWER',
|
| 516 |
+
'CORNER_LEFT_UPPER',
|
| 517 |
+
'CORNER_RIGHT_LOWER',
|
| 518 |
+
'CORNER_RIGHT_UPPER',
|
| 519 |
+
'CP_ACP',
|
| 520 |
+
'CP_MACCP',
|
| 521 |
+
'CP_OEMCP',
|
| 522 |
+
'CP_SYMBOL',
|
| 523 |
+
'CP_THREAD_ACP',
|
| 524 |
+
'CP_UTF7',
|
| 525 |
+
'CP_UTF8',
|
| 526 |
+
'DBL_DIG',
|
| 527 |
+
'DBL_EPSILON',
|
| 528 |
+
'DBL_MANT_DIG',
|
| 529 |
+
'DBL_MAX',
|
| 530 |
+
'DBL_MAX_10_EXP',
|
| 531 |
+
'DBL_MAX_EXP',
|
| 532 |
+
'DBL_MIN',
|
| 533 |
+
'DBL_MIN_10_EXP',
|
| 534 |
+
'DBL_MIN_EXP',
|
| 535 |
+
'DRAW_ARROW',
|
| 536 |
+
'DRAW_FILLING',
|
| 537 |
+
'DRAW_HISTOGRAM',
|
| 538 |
+
'DRAW_LINE',
|
| 539 |
+
'DRAW_NONE',
|
| 540 |
+
'DRAW_SECTION',
|
| 541 |
+
'DRAW_ZIGZAG',
|
| 542 |
+
'EMPTY',
|
| 543 |
+
'EMPTY_VALUE',
|
| 544 |
+
'ERR_ACCOUNT_DISABLED',
|
| 545 |
+
'ERR_BROKER_BUSY',
|
| 546 |
+
'ERR_COMMON_ERROR',
|
| 547 |
+
'ERR_INVALID_ACCOUNT',
|
| 548 |
+
'ERR_INVALID_PRICE',
|
| 549 |
+
'ERR_INVALID_STOPS',
|
| 550 |
+
'ERR_INVALID_TRADE_PARAMETERS',
|
| 551 |
+
'ERR_INVALID_TRADE_VOLUME',
|
| 552 |
+
'ERR_LONG_POSITIONS_ONLY_ALLOWED',
|
| 553 |
+
'ERR_MALFUNCTIONAL_TRADE',
|
| 554 |
+
'ERR_MARKET_CLOSED',
|
| 555 |
+
'ERR_NOT_ENOUGH_MONEY',
|
| 556 |
+
'ERR_NOT_ENOUGH_RIGHTS',
|
| 557 |
+
'ERR_NO_CONNECTION',
|
| 558 |
+
'ERR_NO_ERROR',
|
| 559 |
+
'ERR_NO_RESULT',
|
| 560 |
+
'ERR_OFF_QUOTES',
|
| 561 |
+
'ERR_OLD_VERSION',
|
| 562 |
+
'ERR_ORDER_LOCKED',
|
| 563 |
+
'ERR_PRICE_CHANGED',
|
| 564 |
+
'ERR_REQUOTE',
|
| 565 |
+
'ERR_SERVER_BUSY',
|
| 566 |
+
'ERR_TOO_FREQUENT_REQUESTS',
|
| 567 |
+
'ERR_TOO_MANY_REQUESTS',
|
| 568 |
+
'ERR_TRADE_CONTEXT_BUSY',
|
| 569 |
+
'ERR_TRADE_DISABLED',
|
| 570 |
+
'ERR_TRADE_EXPIRATION_DENIED',
|
| 571 |
+
'ERR_TRADE_HEDGE_PROHIBITED',
|
| 572 |
+
'ERR_TRADE_MODIFY_DENIED',
|
| 573 |
+
'ERR_TRADE_PROHIBITED_BY_FIFO',
|
| 574 |
+
'ERR_TRADE_TIMEOUT',
|
| 575 |
+
'ERR_TRADE_TOO_MANY_ORDERS',
|
| 576 |
+
'FILE_ACCESS_DATE',
|
| 577 |
+
'FILE_ANSI',
|
| 578 |
+
'FILE_BIN',
|
| 579 |
+
'FILE_COMMON',
|
| 580 |
+
'FILE_CREATE_DATE',
|
| 581 |
+
'FILE_CSV',
|
| 582 |
+
'FILE_END',
|
| 583 |
+
'FILE_EXISTS',
|
| 584 |
+
'FILE_IS_ANSI',
|
| 585 |
+
'FILE_IS_BINARY',
|
| 586 |
+
'FILE_IS_COMMON',
|
| 587 |
+
'FILE_IS_CSV',
|
| 588 |
+
'FILE_IS_READABLE',
|
| 589 |
+
'FILE_IS_TEXT',
|
| 590 |
+
'FILE_IS_WRITABLE',
|
| 591 |
+
'FILE_LINE_END',
|
| 592 |
+
'FILE_MODIFY_DATE',
|
| 593 |
+
'FILE_POSITION',
|
| 594 |
+
'FILE_READ',
|
| 595 |
+
'FILE_REWRITE',
|
| 596 |
+
'FILE_SHARE_READ',
|
| 597 |
+
'FILE_SHARE_WRITE',
|
| 598 |
+
'FILE_SIZE',
|
| 599 |
+
'FILE_TXT',
|
| 600 |
+
'FILE_UNICODE',
|
| 601 |
+
'FILE_WRITE',
|
| 602 |
+
'FLT_DIG',
|
| 603 |
+
'FLT_EPSILON',
|
| 604 |
+
'FLT_MANT_DIG',
|
| 605 |
+
'FLT_MAX',
|
| 606 |
+
'FLT_MAX_10_EXP',
|
| 607 |
+
'FLT_MAX_EXP',
|
| 608 |
+
'FLT_MIN',
|
| 609 |
+
'FLT_MIN_10_EXP',
|
| 610 |
+
'FLT_MIN_EXP',
|
| 611 |
+
'FRIDAY',
|
| 612 |
+
'GANN_DOWN_TREND',
|
| 613 |
+
'GANN_UP_TREND',
|
| 614 |
+
'IDABORT',
|
| 615 |
+
'IDCANCEL',
|
| 616 |
+
'IDCONTINUE',
|
| 617 |
+
'IDIGNORE',
|
| 618 |
+
'IDNO',
|
| 619 |
+
'IDOK',
|
| 620 |
+
'IDRETRY',
|
| 621 |
+
'IDTRYAGAIN',
|
| 622 |
+
'IDYES',
|
| 623 |
+
'INDICATOR_CALCULATIONS',
|
| 624 |
+
'INDICATOR_COLOR_INDEX',
|
| 625 |
+
'INDICATOR_DATA',
|
| 626 |
+
'INDICATOR_DIGITS',
|
| 627 |
+
'INDICATOR_HEIGHT',
|
| 628 |
+
'INDICATOR_LEVELCOLOR',
|
| 629 |
+
'INDICATOR_LEVELSTYLE',
|
| 630 |
+
'INDICATOR_LEVELS',
|
| 631 |
+
'INDICATOR_LEVELTEXT',
|
| 632 |
+
'INDICATOR_LEVELVALUE',
|
| 633 |
+
'INDICATOR_LEVELWIDTH',
|
| 634 |
+
'INDICATOR_MAXIMUM',
|
| 635 |
+
'INDICATOR_MINIMUM',
|
| 636 |
+
'INDICATOR_SHORTNAME',
|
| 637 |
+
'INT_MAX',
|
| 638 |
+
'INT_MIN',
|
| 639 |
+
'INVALID_HANDLE',
|
| 640 |
+
'IS_DEBUG_MODE',
|
| 641 |
+
'IS_PROFILE_MODE',
|
| 642 |
+
'LICENSE_DEMO',
|
| 643 |
+
'LICENSE_FREE',
|
| 644 |
+
'LICENSE_FULL',
|
| 645 |
+
'LICENSE_TIME',
|
| 646 |
+
'LONG_MAX',
|
| 647 |
+
'LONG_MIN',
|
| 648 |
+
'MB_ABORTRETRYIGNORE',
|
| 649 |
+
'MB_CANCELTRYCONTINUE',
|
| 650 |
+
'MB_DEFBUTTON1',
|
| 651 |
+
'MB_DEFBUTTON2',
|
| 652 |
+
'MB_DEFBUTTON3',
|
| 653 |
+
'MB_DEFBUTTON4',
|
| 654 |
+
'MB_ICONASTERISK',
|
| 655 |
+
'MB_ICONERROR',
|
| 656 |
+
'MB_ICONEXCLAMATION',
|
| 657 |
+
'MB_ICONHAND',
|
| 658 |
+
'MB_ICONINFORMATION',
|
| 659 |
+
'MB_ICONQUESTION',
|
| 660 |
+
'MB_ICONSTOP',
|
| 661 |
+
'MB_ICONWARNING',
|
| 662 |
+
'MB_OKCANCEL',
|
| 663 |
+
'MB_OK',
|
| 664 |
+
'MB_RETRYCANCEL',
|
| 665 |
+
'MB_YESNOCANCEL',
|
| 666 |
+
'MB_YESNO',
|
| 667 |
+
'MODE_ASK',
|
| 668 |
+
'MODE_BID',
|
| 669 |
+
'MODE_CHINKOUSPAN',
|
| 670 |
+
'MODE_CLOSE',
|
| 671 |
+
'MODE_DIGITS',
|
| 672 |
+
'MODE_EMA',
|
| 673 |
+
'MODE_EXPIRATION',
|
| 674 |
+
'MODE_FREEZELEVEL',
|
| 675 |
+
'MODE_GATORJAW',
|
| 676 |
+
'MODE_GATORLIPS',
|
| 677 |
+
'MODE_GATORTEETH',
|
| 678 |
+
'MODE_HIGH',
|
| 679 |
+
'MODE_KIJUNSEN',
|
| 680 |
+
'MODE_LOTSIZE',
|
| 681 |
+
'MODE_LOTSTEP',
|
| 682 |
+
'MODE_LOWER',
|
| 683 |
+
'MODE_LOW',
|
| 684 |
+
'MODE_LWMA',
|
| 685 |
+
'MODE_MAIN',
|
| 686 |
+
'MODE_MARGINCALCMODE',
|
| 687 |
+
'MODE_MARGINHEDGED',
|
| 688 |
+
'MODE_MARGININIT',
|
| 689 |
+
'MODE_MARGINMAINTENANCE',
|
| 690 |
+
'MODE_MARGINREQUIRED',
|
| 691 |
+
'MODE_MAXLOT',
|
| 692 |
+
'MODE_MINLOT',
|
| 693 |
+
'MODE_MINUSDI',
|
| 694 |
+
'MODE_OPEN',
|
| 695 |
+
'MODE_PLUSDI',
|
| 696 |
+
'MODE_POINT',
|
| 697 |
+
'MODE_PROFITCALCMODE',
|
| 698 |
+
'MODE_SENKOUSPANA',
|
| 699 |
+
'MODE_SENKOUSPANB',
|
| 700 |
+
'MODE_SIGNAL',
|
| 701 |
+
'MODE_SMA',
|
| 702 |
+
'MODE_SMMA',
|
| 703 |
+
'MODE_SPREAD',
|
| 704 |
+
'MODE_STARTING',
|
| 705 |
+
'MODE_STOPLEVEL',
|
| 706 |
+
'MODE_SWAPLONG',
|
| 707 |
+
'MODE_SWAPSHORT',
|
| 708 |
+
'MODE_SWAPTYPE',
|
| 709 |
+
'MODE_TENKANSEN',
|
| 710 |
+
'MODE_TICKSIZE',
|
| 711 |
+
'MODE_TICKVALUE',
|
| 712 |
+
'MODE_TIME',
|
| 713 |
+
'MODE_TRADEALLOWED',
|
| 714 |
+
'MODE_UPPER',
|
| 715 |
+
'MODE_VOLUME',
|
| 716 |
+
'MONDAY',
|
| 717 |
+
'MQL_DEBUG',
|
| 718 |
+
'MQL_DLLS_ALLOWED',
|
| 719 |
+
'MQL_FRAME_MODE',
|
| 720 |
+
'MQL_LICENSE_TYPE',
|
| 721 |
+
'MQL_OPTIMIZATION',
|
| 722 |
+
'MQL_PROFILER',
|
| 723 |
+
'MQL_PROGRAM_NAME',
|
| 724 |
+
'MQL_PROGRAM_PATH',
|
| 725 |
+
'MQL_PROGRAM_TYPE',
|
| 726 |
+
'MQL_TESTER',
|
| 727 |
+
'MQL_TRADE_ALLOWED',
|
| 728 |
+
'MQL_VISUAL_MODE',
|
| 729 |
+
'M_1_PI',
|
| 730 |
+
'M_2_PI',
|
| 731 |
+
'M_2_SQRTPI',
|
| 732 |
+
'M_E',
|
| 733 |
+
'M_LN2',
|
| 734 |
+
'M_LN10',
|
| 735 |
+
'M_LOG2E',
|
| 736 |
+
'M_LOG10E',
|
| 737 |
+
'M_PI',
|
| 738 |
+
'M_PI_2',
|
| 739 |
+
'M_PI_4',
|
| 740 |
+
'M_SQRT1_2',
|
| 741 |
+
'M_SQRT2',
|
| 742 |
+
'NULL',
|
| 743 |
+
'OBJPROP_ALIGN',
|
| 744 |
+
'OBJPROP_ANCHOR',
|
| 745 |
+
'OBJPROP_ANGLE',
|
| 746 |
+
'OBJPROP_ARROWCODE',
|
| 747 |
+
'OBJPROP_BACK',
|
| 748 |
+
'OBJPROP_BGCOLOR',
|
| 749 |
+
'OBJPROP_BMPFILE',
|
| 750 |
+
'OBJPROP_BORDER_COLOR',
|
| 751 |
+
'OBJPROP_BORDER_TYPE',
|
| 752 |
+
'OBJPROP_CHART_ID',
|
| 753 |
+
'OBJPROP_CHART_SCALE',
|
| 754 |
+
'OBJPROP_COLOR',
|
| 755 |
+
'OBJPROP_CORNER',
|
| 756 |
+
'OBJPROP_CREATETIME',
|
| 757 |
+
'OBJPROP_DATE_SCALE',
|
| 758 |
+
'OBJPROP_DEVIATION',
|
| 759 |
+
'OBJPROP_DRAWLINES',
|
| 760 |
+
'OBJPROP_ELLIPSE',
|
| 761 |
+
'OBJPROP_FIBOLEVELS',
|
| 762 |
+
'OBJPROP_FILL',
|
| 763 |
+
'OBJPROP_FIRSTLEVEL',
|
| 764 |
+
'OBJPROP_FONTSIZE',
|
| 765 |
+
'OBJPROP_FONT',
|
| 766 |
+
'OBJPROP_HIDDEN',
|
| 767 |
+
'OBJPROP_LEVELCOLOR',
|
| 768 |
+
'OBJPROP_LEVELSTYLE',
|
| 769 |
+
'OBJPROP_LEVELS',
|
| 770 |
+
'OBJPROP_LEVELTEXT',
|
| 771 |
+
'OBJPROP_LEVELVALUE',
|
| 772 |
+
'OBJPROP_LEVELWIDTH',
|
| 773 |
+
'OBJPROP_NAME',
|
| 774 |
+
'OBJPROP_PERIOD',
|
| 775 |
+
'OBJPROP_PRICE1',
|
| 776 |
+
'OBJPROP_PRICE2',
|
| 777 |
+
'OBJPROP_PRICE3',
|
| 778 |
+
'OBJPROP_PRICE',
|
| 779 |
+
'OBJPROP_PRICE_SCALE',
|
| 780 |
+
'OBJPROP_RAY',
|
| 781 |
+
'OBJPROP_RAY_RIGHT',
|
| 782 |
+
'OBJPROP_READONLY',
|
| 783 |
+
'OBJPROP_SCALE',
|
| 784 |
+
'OBJPROP_SELECTABLE',
|
| 785 |
+
'OBJPROP_SELECTED',
|
| 786 |
+
'OBJPROP_STATE',
|
| 787 |
+
'OBJPROP_STYLE',
|
| 788 |
+
'OBJPROP_SYMBOL',
|
| 789 |
+
'OBJPROP_TEXT',
|
| 790 |
+
'OBJPROP_TIME1',
|
| 791 |
+
'OBJPROP_TIME2',
|
| 792 |
+
'OBJPROP_TIME3',
|
| 793 |
+
'OBJPROP_TIMEFRAMES',
|
| 794 |
+
'OBJPROP_TIME',
|
| 795 |
+
'OBJPROP_TOOLTIP',
|
| 796 |
+
'OBJPROP_TYPE',
|
| 797 |
+
'OBJPROP_WIDTH',
|
| 798 |
+
'OBJPROP_XDISTANCE',
|
| 799 |
+
'OBJPROP_XOFFSET',
|
| 800 |
+
'OBJPROP_XSIZE',
|
| 801 |
+
'OBJPROP_YDISTANCE',
|
| 802 |
+
'OBJPROP_YOFFSET',
|
| 803 |
+
'OBJPROP_YSIZE',
|
| 804 |
+
'OBJPROP_ZORDER',
|
| 805 |
+
'OBJ_ALL_PERIODS',
|
| 806 |
+
'OBJ_ARROW',
|
| 807 |
+
'OBJ_ARROW_BUY',
|
| 808 |
+
'OBJ_ARROW_CHECK',
|
| 809 |
+
'OBJ_ARROW_DOWN',
|
| 810 |
+
'OBJ_ARROW_LEFT_PRICE',
|
| 811 |
+
'OBJ_ARROW_RIGHT_PRICE',
|
| 812 |
+
'OBJ_ARROW_SELL',
|
| 813 |
+
'OBJ_ARROW_STOP',
|
| 814 |
+
'OBJ_ARROW_THUMB_DOWN',
|
| 815 |
+
'OBJ_ARROW_THUMB_UP',
|
| 816 |
+
'OBJ_ARROW_UP',
|
| 817 |
+
'OBJ_BITMAP',
|
| 818 |
+
'OBJ_BITMAP_LABEL',
|
| 819 |
+
'OBJ_BUTTON',
|
| 820 |
+
'OBJ_CHANNEL',
|
| 821 |
+
'OBJ_CYCLES',
|
| 822 |
+
'OBJ_EDIT',
|
| 823 |
+
'OBJ_ELLIPSE',
|
| 824 |
+
'OBJ_EVENT',
|
| 825 |
+
'OBJ_EXPANSION',
|
| 826 |
+
'OBJ_FIBOARC',
|
| 827 |
+
'OBJ_FIBOCHANNEL',
|
| 828 |
+
'OBJ_FIBOFAN',
|
| 829 |
+
'OBJ_FIBOTIMES',
|
| 830 |
+
'OBJ_FIBO',
|
| 831 |
+
'OBJ_GANNFAN',
|
| 832 |
+
'OBJ_GANNGRID',
|
| 833 |
+
'OBJ_GANNLINE',
|
| 834 |
+
'OBJ_HLINE',
|
| 835 |
+
'OBJ_LABEL',
|
| 836 |
+
'OBJ_NO_PERIODS',
|
| 837 |
+
'OBJ_PERIOD_D1',
|
| 838 |
+
'OBJ_PERIOD_H1',
|
| 839 |
+
'OBJ_PERIOD_H4',
|
| 840 |
+
'OBJ_PERIOD_M1',
|
| 841 |
+
'OBJ_PERIOD_M5',
|
| 842 |
+
'OBJ_PERIOD_M15',
|
| 843 |
+
'OBJ_PERIOD_M30',
|
| 844 |
+
'OBJ_PERIOD_MN1',
|
| 845 |
+
'OBJ_PERIOD_W1',
|
| 846 |
+
'OBJ_PITCHFORK',
|
| 847 |
+
'OBJ_RECTANGLE',
|
| 848 |
+
'OBJ_RECTANGLE_LABEL',
|
| 849 |
+
'OBJ_REGRESSION',
|
| 850 |
+
'OBJ_STDDEVCHANNEL',
|
| 851 |
+
'OBJ_TEXT',
|
| 852 |
+
'OBJ_TRENDBYANGLE',
|
| 853 |
+
'OBJ_TREND',
|
| 854 |
+
'OBJ_TRIANGLE',
|
| 855 |
+
'OBJ_VLINE',
|
| 856 |
+
'OP_BUYLIMIT',
|
| 857 |
+
'OP_BUYSTOP',
|
| 858 |
+
'OP_BUY',
|
| 859 |
+
'OP_SELLLIMIT',
|
| 860 |
+
'OP_SELLSTOP',
|
| 861 |
+
'OP_SELL',
|
| 862 |
+
'PERIOD_CURRENT',
|
| 863 |
+
'PERIOD_D1',
|
| 864 |
+
'PERIOD_H1',
|
| 865 |
+
'PERIOD_H2',
|
| 866 |
+
'PERIOD_H3',
|
| 867 |
+
'PERIOD_H4',
|
| 868 |
+
'PERIOD_H6',
|
| 869 |
+
'PERIOD_H8',
|
| 870 |
+
'PERIOD_H12',
|
| 871 |
+
'PERIOD_M1',
|
| 872 |
+
'PERIOD_M2',
|
| 873 |
+
'PERIOD_M3',
|
| 874 |
+
'PERIOD_M4',
|
| 875 |
+
'PERIOD_M5',
|
| 876 |
+
'PERIOD_M6',
|
| 877 |
+
'PERIOD_M10',
|
| 878 |
+
'PERIOD_M12',
|
| 879 |
+
'PERIOD_M15',
|
| 880 |
+
'PERIOD_M20',
|
| 881 |
+
'PERIOD_M30',
|
| 882 |
+
'PERIOD_MN1',
|
| 883 |
+
'PERIOD_W1',
|
| 884 |
+
'POINTER_AUTOMATIC',
|
| 885 |
+
'POINTER_DYNAMIC',
|
| 886 |
+
'POINTER_INVALID',
|
| 887 |
+
'PRICE_CLOSE',
|
| 888 |
+
'PRICE_HIGH',
|
| 889 |
+
'PRICE_LOW',
|
| 890 |
+
'PRICE_MEDIAN',
|
| 891 |
+
'PRICE_OPEN',
|
| 892 |
+
'PRICE_TYPICAL',
|
| 893 |
+
'PRICE_WEIGHTED',
|
| 894 |
+
'PROGRAM_EXPERT',
|
| 895 |
+
'PROGRAM_INDICATOR',
|
| 896 |
+
'PROGRAM_SCRIPT',
|
| 897 |
+
'REASON_ACCOUNT',
|
| 898 |
+
'REASON_CHARTCHANGE',
|
| 899 |
+
'REASON_CHARTCLOSE',
|
| 900 |
+
'REASON_CLOSE',
|
| 901 |
+
'REASON_INITFAILED',
|
| 902 |
+
'REASON_PARAMETERS',
|
| 903 |
+
'REASON_PROGRAM'
|
| 904 |
+
'REASON_RECOMPILE',
|
| 905 |
+
'REASON_REMOVE',
|
| 906 |
+
'REASON_TEMPLATE',
|
| 907 |
+
'SATURDAY',
|
| 908 |
+
'SEEK_CUR',
|
| 909 |
+
'SEEK_END',
|
| 910 |
+
'SEEK_SET',
|
| 911 |
+
'SERIES_BARS_COUNT',
|
| 912 |
+
'SERIES_FIRSTDATE',
|
| 913 |
+
'SERIES_LASTBAR_DATE',
|
| 914 |
+
'SERIES_SERVER_FIRSTDATE',
|
| 915 |
+
'SERIES_SYNCHRONIZED',
|
| 916 |
+
'SERIES_TERMINAL_FIRSTDATE',
|
| 917 |
+
'SHORT_MAX',
|
| 918 |
+
'SHORT_MIN',
|
| 919 |
+
'STAT_BALANCEDD_PERCENT',
|
| 920 |
+
'STAT_BALANCEMIN',
|
| 921 |
+
'STAT_BALANCE_DDREL_PERCENT',
|
| 922 |
+
'STAT_BALANCE_DD',
|
| 923 |
+
'STAT_BALANCE_DD_RELATIVE',
|
| 924 |
+
'STAT_CONLOSSMAX',
|
| 925 |
+
'STAT_CONLOSSMAX_TRADES',
|
| 926 |
+
'STAT_CONPROFITMAX',
|
| 927 |
+
'STAT_CONPROFITMAX_TRADES',
|
| 928 |
+
'STAT_CUSTOM_ONTESTER',
|
| 929 |
+
'STAT_DEALS',
|
| 930 |
+
'STAT_EQUITYDD_PERCENT',
|
| 931 |
+
'STAT_EQUITYMIN',
|
| 932 |
+
'STAT_EQUITY_DDREL_PERCENT',
|
| 933 |
+
'STAT_EQUITY_DD',
|
| 934 |
+
'STAT_EQUITY_DD_RELATIVE',
|
| 935 |
+
'STAT_EXPECTED_PAYOFF',
|
| 936 |
+
'STAT_GROSS_LOSS',
|
| 937 |
+
'STAT_GROSS_PROFIT',
|
| 938 |
+
'STAT_INITIAL_DEPOSIT',
|
| 939 |
+
'STAT_LONG_TRADES',
|
| 940 |
+
'STAT_LOSSTRADES_AVGCON',
|
| 941 |
+
'STAT_LOSS_TRADES',
|
| 942 |
+
'STAT_MAX_CONLOSSES',
|
| 943 |
+
'STAT_MAX_CONLOSS_TRADES',
|
| 944 |
+
'STAT_MAX_CONPROFIT_TRADES',
|
| 945 |
+
'STAT_MAX_CONWINS',
|
| 946 |
+
'STAT_MAX_LOSSTRADE',
|
| 947 |
+
'STAT_MAX_PROFITTRADE',
|
| 948 |
+
'STAT_MIN_MARGINLEVEL',
|
| 949 |
+
'STAT_PROFITTRADES_AVGCON',
|
| 950 |
+
'STAT_PROFIT',
|
| 951 |
+
'STAT_PROFIT_FACTOR',
|
| 952 |
+
'STAT_PROFIT_LONGTRADES',
|
| 953 |
+
'STAT_PROFIT_SHORTTRADES',
|
| 954 |
+
'STAT_PROFIT_TRADES',
|
| 955 |
+
'STAT_RECOVERY_FACTOR',
|
| 956 |
+
'STAT_SHARPE_RATIO',
|
| 957 |
+
'STAT_SHORT_TRADES',
|
| 958 |
+
'STAT_TRADES',
|
| 959 |
+
'STAT_WITHDRAWAL',
|
| 960 |
+
'STO_CLOSECLOSE',
|
| 961 |
+
'STO_LOWHIGH',
|
| 962 |
+
'STYLE_DASHDOTDOT',
|
| 963 |
+
'STYLE_DASHDOT',
|
| 964 |
+
'STYLE_DASH',
|
| 965 |
+
'STYLE_DOT',
|
| 966 |
+
'STYLE_SOLID',
|
| 967 |
+
'SUNDAY',
|
| 968 |
+
'SYMBOL_ARROWDOWN',
|
| 969 |
+
'SYMBOL_ARROWUP',
|
| 970 |
+
'SYMBOL_CHECKSIGN',
|
| 971 |
+
'SYMBOL_LEFTPRICE',
|
| 972 |
+
'SYMBOL_RIGHTPRICE',
|
| 973 |
+
'SYMBOL_STOPSIGN',
|
| 974 |
+
'SYMBOL_THUMBSDOWN',
|
| 975 |
+
'SYMBOL_THUMBSUP',
|
| 976 |
+
'TERMINAL_BUILD',
|
| 977 |
+
'TERMINAL_CODEPAGE',
|
| 978 |
+
'TERMINAL_COMMONDATA_PATH',
|
| 979 |
+
'TERMINAL_COMPANY',
|
| 980 |
+
'TERMINAL_CONNECTED',
|
| 981 |
+
'TERMINAL_CPU_CORES',
|
| 982 |
+
'TERMINAL_DATA_PATH',
|
| 983 |
+
'TERMINAL_DISK_SPACE',
|
| 984 |
+
'TERMINAL_DLLS_ALLOWED',
|
| 985 |
+
'TERMINAL_EMAIL_ENABLED',
|
| 986 |
+
'TERMINAL_FTP_ENABLED',
|
| 987 |
+
'TERMINAL_LANGUAGE',
|
| 988 |
+
'TERMINAL_MAXBARS',
|
| 989 |
+
'TERMINAL_MEMORY_AVAILABLE',
|
| 990 |
+
'TERMINAL_MEMORY_PHYSICAL',
|
| 991 |
+
'TERMINAL_MEMORY_TOTAL',
|
| 992 |
+
'TERMINAL_MEMORY_USED',
|
| 993 |
+
'TERMINAL_NAME',
|
| 994 |
+
'TERMINAL_OPENCL_SUPPORT',
|
| 995 |
+
'TERMINAL_PATH',
|
| 996 |
+
'TERMINAL_TRADE_ALLOWED',
|
| 997 |
+
'TERMINAL_X64',
|
| 998 |
+
'THURSDAY',
|
| 999 |
+
'TRADE_ACTION_DEAL',
|
| 1000 |
+
'TRADE_ACTION_MODIFY',
|
| 1001 |
+
'TRADE_ACTION_PENDING',
|
| 1002 |
+
'TRADE_ACTION_REMOVE',
|
| 1003 |
+
'TRADE_ACTION_SLTP',
|
| 1004 |
+
'TUESDAY',
|
| 1005 |
+
'UCHAR_MAX',
|
| 1006 |
+
'UINT_MAX',
|
| 1007 |
+
'ULONG_MAX',
|
| 1008 |
+
'USHORT_MAX',
|
| 1009 |
+
'VOLUME_REAL',
|
| 1010 |
+
'VOLUME_TICK',
|
| 1011 |
+
'WEDNESDAY',
|
| 1012 |
+
'WHOLE_ARRAY',
|
| 1013 |
+
'WRONG_VALUE',
|
| 1014 |
+
'clrNONE',
|
| 1015 |
+
'__DATETIME__',
|
| 1016 |
+
'__DATE__',
|
| 1017 |
+
'__FILE__',
|
| 1018 |
+
'__FUNCSIG__',
|
| 1019 |
+
'__FUNCTION__',
|
| 1020 |
+
'__LINE__',
|
| 1021 |
+
'__MQL4BUILD__',
|
| 1022 |
+
'__MQLBUILD__',
|
| 1023 |
+
'__PATH__',
|
| 1024 |
+
)
|
| 1025 |
+
|
| 1026 |
+
colors = (
|
| 1027 |
+
'AliceBlue',
|
| 1028 |
+
'AntiqueWhite',
|
| 1029 |
+
'Aquamarine',
|
| 1030 |
+
'Aqua',
|
| 1031 |
+
'Beige',
|
| 1032 |
+
'Bisque',
|
| 1033 |
+
'Black',
|
| 1034 |
+
'BlanchedAlmond',
|
| 1035 |
+
'BlueViolet',
|
| 1036 |
+
'Blue',
|
| 1037 |
+
'Brown',
|
| 1038 |
+
'BurlyWood',
|
| 1039 |
+
'CadetBlue',
|
| 1040 |
+
'Chartreuse',
|
| 1041 |
+
'Chocolate',
|
| 1042 |
+
'Coral',
|
| 1043 |
+
'CornflowerBlue',
|
| 1044 |
+
'Cornsilk',
|
| 1045 |
+
'Crimson',
|
| 1046 |
+
'DarkBlue',
|
| 1047 |
+
'DarkGoldenrod',
|
| 1048 |
+
'DarkGray',
|
| 1049 |
+
'DarkGreen',
|
| 1050 |
+
'DarkKhaki',
|
| 1051 |
+
'DarkOliveGreen',
|
| 1052 |
+
'DarkOrange',
|
| 1053 |
+
'DarkOrchid',
|
| 1054 |
+
'DarkSalmon',
|
| 1055 |
+
'DarkSeaGreen',
|
| 1056 |
+
'DarkSlateBlue',
|
| 1057 |
+
'DarkSlateGray',
|
| 1058 |
+
'DarkTurquoise',
|
| 1059 |
+
'DarkViolet',
|
| 1060 |
+
'DeepPink',
|
| 1061 |
+
'DeepSkyBlue',
|
| 1062 |
+
'DimGray',
|
| 1063 |
+
'DodgerBlue',
|
| 1064 |
+
'FireBrick',
|
| 1065 |
+
'ForestGreen',
|
| 1066 |
+
'Gainsboro',
|
| 1067 |
+
'Goldenrod',
|
| 1068 |
+
'Gold',
|
| 1069 |
+
'Gray',
|
| 1070 |
+
'GreenYellow',
|
| 1071 |
+
'Green',
|
| 1072 |
+
'Honeydew',
|
| 1073 |
+
'HotPink',
|
| 1074 |
+
'IndianRed',
|
| 1075 |
+
'Indigo',
|
| 1076 |
+
'Ivory',
|
| 1077 |
+
'Khaki',
|
| 1078 |
+
'LavenderBlush',
|
| 1079 |
+
'Lavender',
|
| 1080 |
+
'LawnGreen',
|
| 1081 |
+
'LemonChiffon',
|
| 1082 |
+
'LightBlue',
|
| 1083 |
+
'LightCoral',
|
| 1084 |
+
'LightCyan',
|
| 1085 |
+
'LightGoldenrod',
|
| 1086 |
+
'LightGray',
|
| 1087 |
+
'LightGreen',
|
| 1088 |
+
'LightPink',
|
| 1089 |
+
'LightSalmon',
|
| 1090 |
+
'LightSeaGreen',
|
| 1091 |
+
'LightSkyBlue',
|
| 1092 |
+
'LightSlateGray',
|
| 1093 |
+
'LightSteelBlue',
|
| 1094 |
+
'LightYellow',
|
| 1095 |
+
'LimeGreen',
|
| 1096 |
+
'Lime',
|
| 1097 |
+
'Linen',
|
| 1098 |
+
'Magenta',
|
| 1099 |
+
'Maroon',
|
| 1100 |
+
'MediumAquamarine',
|
| 1101 |
+
'MediumBlue',
|
| 1102 |
+
'MediumOrchid',
|
| 1103 |
+
'MediumPurple',
|
| 1104 |
+
'MediumSeaGreen',
|
| 1105 |
+
'MediumSlateBlue',
|
| 1106 |
+
'MediumSpringGreen',
|
| 1107 |
+
'MediumTurquoise',
|
| 1108 |
+
'MediumVioletRed',
|
| 1109 |
+
'MidnightBlue',
|
| 1110 |
+
'MintCream',
|
| 1111 |
+
'MistyRose',
|
| 1112 |
+
'Moccasin',
|
| 1113 |
+
'NavajoWhite',
|
| 1114 |
+
'Navy',
|
| 1115 |
+
'OldLace',
|
| 1116 |
+
'OliveDrab',
|
| 1117 |
+
'Olive',
|
| 1118 |
+
'OrangeRed',
|
| 1119 |
+
'Orange',
|
| 1120 |
+
'Orchid',
|
| 1121 |
+
'PaleGoldenrod',
|
| 1122 |
+
'PaleGreen',
|
| 1123 |
+
'PaleTurquoise',
|
| 1124 |
+
'PaleVioletRed',
|
| 1125 |
+
'PapayaWhip',
|
| 1126 |
+
'PeachPuff',
|
| 1127 |
+
'Peru',
|
| 1128 |
+
'Pink',
|
| 1129 |
+
'Plum',
|
| 1130 |
+
'PowderBlue',
|
| 1131 |
+
'Purple',
|
| 1132 |
+
'Red',
|
| 1133 |
+
'RosyBrown',
|
| 1134 |
+
'RoyalBlue',
|
| 1135 |
+
'SaddleBrown',
|
| 1136 |
+
'Salmon',
|
| 1137 |
+
'SandyBrown',
|
| 1138 |
+
'SeaGreen',
|
| 1139 |
+
'Seashell',
|
| 1140 |
+
'Sienna',
|
| 1141 |
+
'Silver',
|
| 1142 |
+
'SkyBlue',
|
| 1143 |
+
'SlateBlue',
|
| 1144 |
+
'SlateGray',
|
| 1145 |
+
'Snow',
|
| 1146 |
+
'SpringGreen',
|
| 1147 |
+
'SteelBlue',
|
| 1148 |
+
'Tan',
|
| 1149 |
+
'Teal',
|
| 1150 |
+
'Thistle',
|
| 1151 |
+
'Tomato',
|
| 1152 |
+
'Turquoise',
|
| 1153 |
+
'Violet',
|
| 1154 |
+
'Wheat',
|
| 1155 |
+
'WhiteSmoke',
|
| 1156 |
+
'White',
|
| 1157 |
+
'YellowGreen',
|
| 1158 |
+
'Yellow',
|
| 1159 |
+
)
|
| 1160 |
+
|
| 1161 |
+
keywords = (
|
| 1162 |
+
'input', '_Digits', '_Point', '_LastError', '_Period', '_RandomSeed',
|
| 1163 |
+
'_StopFlag', '_Symbol', '_UninitReason', 'Ask', 'Bars', 'Bid',
|
| 1164 |
+
'Close', 'Digits', 'High', 'Low', 'Open', 'Point', 'Time',
|
| 1165 |
+
'Volume',
|
| 1166 |
+
)
|
| 1167 |
+
c_types = (
|
| 1168 |
+
'void', 'char', 'uchar', 'bool', 'short', 'ushort', 'int', 'uint',
|
| 1169 |
+
'color', 'long', 'ulong', 'datetime', 'float', 'double',
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._mysql_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Self-updating data files for the MySQL lexer.
|
| 6 |
+
|
| 7 |
+
Run with `python -I` to update.
|
| 8 |
+
|
| 9 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 10 |
+
:license: BSD, see LICENSE for details.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
MYSQL_CONSTANTS = (
|
| 15 |
+
'false',
|
| 16 |
+
'null',
|
| 17 |
+
'true',
|
| 18 |
+
'unknown',
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
# At this time, no easily-parsed, definitive list of data types
|
| 23 |
+
# has been found in the MySQL source code or documentation. (The
|
| 24 |
+
# `sql/sql_yacc.yy` file is definitive but is difficult to parse.)
|
| 25 |
+
# Therefore these types are currently maintained manually.
|
| 26 |
+
#
|
| 27 |
+
# Some words in this list -- like "long", "national", "precision",
|
| 28 |
+
# and "varying" -- appear to only occur in combination with other
|
| 29 |
+
# data type keywords. Therefore they are included as separate words
|
| 30 |
+
# even though they do not naturally occur in syntax separately.
|
| 31 |
+
#
|
| 32 |
+
# This list is also used to strip data types out of the list of
|
| 33 |
+
# MySQL keywords, which is automatically updated later in the file.
|
| 34 |
+
#
|
| 35 |
+
# For future updates, these pages may be helpful references
|
| 36 |
+
# when looking for additional data types and aliases:
|
| 37 |
+
#
|
| 38 |
+
# https://dev.mysql.com/doc/refman/9.4/en/data-types.html
|
| 39 |
+
# https://dev.mysql.com/doc/refman/9.4/en/other-vendor-data-types.html
|
| 40 |
+
#
|
| 41 |
+
MYSQL_DATATYPES = (
|
| 42 |
+
# Numeric data types
|
| 43 |
+
'bigint',
|
| 44 |
+
'bit',
|
| 45 |
+
'bool',
|
| 46 |
+
'boolean',
|
| 47 |
+
'dec',
|
| 48 |
+
'decimal',
|
| 49 |
+
'double',
|
| 50 |
+
'fixed',
|
| 51 |
+
'float',
|
| 52 |
+
'float4',
|
| 53 |
+
'float8',
|
| 54 |
+
'int',
|
| 55 |
+
'int1',
|
| 56 |
+
'int2',
|
| 57 |
+
'int3',
|
| 58 |
+
'int4',
|
| 59 |
+
'int8',
|
| 60 |
+
'integer',
|
| 61 |
+
'mediumint',
|
| 62 |
+
'middleint',
|
| 63 |
+
'numeric',
|
| 64 |
+
'precision',
|
| 65 |
+
'real',
|
| 66 |
+
'serial',
|
| 67 |
+
'smallint',
|
| 68 |
+
'tinyint',
|
| 69 |
+
|
| 70 |
+
# Date and time data types
|
| 71 |
+
'date',
|
| 72 |
+
'datetime',
|
| 73 |
+
'time',
|
| 74 |
+
'timestamp',
|
| 75 |
+
'year',
|
| 76 |
+
|
| 77 |
+
# String data types
|
| 78 |
+
'binary',
|
| 79 |
+
'blob',
|
| 80 |
+
'byte',
|
| 81 |
+
'char',
|
| 82 |
+
'enum',
|
| 83 |
+
'long',
|
| 84 |
+
'longblob',
|
| 85 |
+
'longtext',
|
| 86 |
+
'mediumblob',
|
| 87 |
+
'mediumtext',
|
| 88 |
+
'national',
|
| 89 |
+
'nchar',
|
| 90 |
+
'nvarchar',
|
| 91 |
+
'set',
|
| 92 |
+
'text',
|
| 93 |
+
'tinyblob',
|
| 94 |
+
'tinytext',
|
| 95 |
+
'varbinary',
|
| 96 |
+
'varchar',
|
| 97 |
+
'varcharacter',
|
| 98 |
+
'varying',
|
| 99 |
+
|
| 100 |
+
# Spatial data types
|
| 101 |
+
'geometry',
|
| 102 |
+
'geometrycollection',
|
| 103 |
+
'linestring',
|
| 104 |
+
'multilinestring',
|
| 105 |
+
'multipoint',
|
| 106 |
+
'multipolygon',
|
| 107 |
+
'point',
|
| 108 |
+
'polygon',
|
| 109 |
+
|
| 110 |
+
# JSON data types
|
| 111 |
+
'json',
|
| 112 |
+
)
|
| 113 |
+
|
| 114 |
+
# Everything below this line is auto-generated from the MySQL source code.
|
| 115 |
+
# Run this file in Python and it will update itself.
|
| 116 |
+
# -----------------------------------------------------------------------------
|
| 117 |
+
|
| 118 |
+
MYSQL_FUNCTIONS = (
|
| 119 |
+
'abs',
|
| 120 |
+
'acos',
|
| 121 |
+
'adddate',
|
| 122 |
+
'addtime',
|
| 123 |
+
'aes_decrypt',
|
| 124 |
+
'aes_encrypt',
|
| 125 |
+
'any_value',
|
| 126 |
+
'asin',
|
| 127 |
+
'atan',
|
| 128 |
+
'atan2',
|
| 129 |
+
'benchmark',
|
| 130 |
+
'bin',
|
| 131 |
+
'bin_to_uuid',
|
| 132 |
+
'bit_and',
|
| 133 |
+
'bit_count',
|
| 134 |
+
'bit_length',
|
| 135 |
+
'bit_or',
|
| 136 |
+
'bit_xor',
|
| 137 |
+
'can_access_column',
|
| 138 |
+
'can_access_database',
|
| 139 |
+
'can_access_event',
|
| 140 |
+
'can_access_resource_group',
|
| 141 |
+
'can_access_routine',
|
| 142 |
+
'can_access_table',
|
| 143 |
+
'can_access_trigger',
|
| 144 |
+
'can_access_user',
|
| 145 |
+
'can_access_view',
|
| 146 |
+
'cast',
|
| 147 |
+
'ceil',
|
| 148 |
+
'ceiling',
|
| 149 |
+
'char_length',
|
| 150 |
+
'character_length',
|
| 151 |
+
'coercibility',
|
| 152 |
+
'compress',
|
| 153 |
+
'concat',
|
| 154 |
+
'concat_ws',
|
| 155 |
+
'connection_id',
|
| 156 |
+
'conv',
|
| 157 |
+
'convert_cpu_id_mask',
|
| 158 |
+
'convert_interval_to_user_interval',
|
| 159 |
+
'convert_tz',
|
| 160 |
+
'cos',
|
| 161 |
+
'cot',
|
| 162 |
+
'count',
|
| 163 |
+
'crc32',
|
| 164 |
+
'curdate',
|
| 165 |
+
'current_role',
|
| 166 |
+
'curtime',
|
| 167 |
+
'date_add',
|
| 168 |
+
'date_format',
|
| 169 |
+
'date_sub',
|
| 170 |
+
'datediff',
|
| 171 |
+
'dayname',
|
| 172 |
+
'dayofmonth',
|
| 173 |
+
'dayofweek',
|
| 174 |
+
'dayofyear',
|
| 175 |
+
'degrees',
|
| 176 |
+
'elt',
|
| 177 |
+
'etag',
|
| 178 |
+
'exp',
|
| 179 |
+
'export_set',
|
| 180 |
+
'extract',
|
| 181 |
+
'extractvalue',
|
| 182 |
+
'field',
|
| 183 |
+
'find_in_set',
|
| 184 |
+
'floor',
|
| 185 |
+
'format_bytes',
|
| 186 |
+
'format_pico_time',
|
| 187 |
+
'found_rows',
|
| 188 |
+
'from_base64',
|
| 189 |
+
'from_days',
|
| 190 |
+
'from_unixtime',
|
| 191 |
+
'from_vector',
|
| 192 |
+
'get_dd_column_privileges',
|
| 193 |
+
'get_dd_create_options',
|
| 194 |
+
'get_dd_index_private_data',
|
| 195 |
+
'get_dd_index_sub_part_length',
|
| 196 |
+
'get_dd_property_key_value',
|
| 197 |
+
'get_dd_schema_options',
|
| 198 |
+
'get_dd_tablespace_private_data',
|
| 199 |
+
'get_jdv_property_key_value',
|
| 200 |
+
'get_lock',
|
| 201 |
+
'greatest',
|
| 202 |
+
'group_concat',
|
| 203 |
+
'gtid_subset',
|
| 204 |
+
'gtid_subtract',
|
| 205 |
+
'hex',
|
| 206 |
+
'icu_version',
|
| 207 |
+
'ifnull',
|
| 208 |
+
'inet6_aton',
|
| 209 |
+
'inet6_ntoa',
|
| 210 |
+
'inet_aton',
|
| 211 |
+
'inet_ntoa',
|
| 212 |
+
'instr',
|
| 213 |
+
'internal_auto_increment',
|
| 214 |
+
'internal_avg_row_length',
|
| 215 |
+
'internal_check_time',
|
| 216 |
+
'internal_checksum',
|
| 217 |
+
'internal_data_free',
|
| 218 |
+
'internal_data_length',
|
| 219 |
+
'internal_dd_char_length',
|
| 220 |
+
'internal_get_comment_or_error',
|
| 221 |
+
'internal_get_dd_column_extra',
|
| 222 |
+
'internal_get_enabled_role_json',
|
| 223 |
+
'internal_get_hostname',
|
| 224 |
+
'internal_get_mandatory_roles_json',
|
| 225 |
+
'internal_get_partition_nodegroup',
|
| 226 |
+
'internal_get_username',
|
| 227 |
+
'internal_get_view_warning_or_error',
|
| 228 |
+
'internal_index_column_cardinality',
|
| 229 |
+
'internal_index_length',
|
| 230 |
+
'internal_is_enabled_role',
|
| 231 |
+
'internal_is_mandatory_role',
|
| 232 |
+
'internal_keys_disabled',
|
| 233 |
+
'internal_max_data_length',
|
| 234 |
+
'internal_table_rows',
|
| 235 |
+
'internal_tablespace_autoextend_size',
|
| 236 |
+
'internal_tablespace_data_free',
|
| 237 |
+
'internal_tablespace_extent_size',
|
| 238 |
+
'internal_tablespace_extra',
|
| 239 |
+
'internal_tablespace_free_extents',
|
| 240 |
+
'internal_tablespace_id',
|
| 241 |
+
'internal_tablespace_initial_size',
|
| 242 |
+
'internal_tablespace_logfile_group_name',
|
| 243 |
+
'internal_tablespace_logfile_group_number',
|
| 244 |
+
'internal_tablespace_maximum_size',
|
| 245 |
+
'internal_tablespace_row_format',
|
| 246 |
+
'internal_tablespace_status',
|
| 247 |
+
'internal_tablespace_total_extents',
|
| 248 |
+
'internal_tablespace_type',
|
| 249 |
+
'internal_tablespace_version',
|
| 250 |
+
'internal_update_time',
|
| 251 |
+
'internal_use_terminology_previous',
|
| 252 |
+
'is_free_lock',
|
| 253 |
+
'is_ipv4',
|
| 254 |
+
'is_ipv4_compat',
|
| 255 |
+
'is_ipv4_mapped',
|
| 256 |
+
'is_ipv6',
|
| 257 |
+
'is_used_lock',
|
| 258 |
+
'is_uuid',
|
| 259 |
+
'is_visible_dd_object',
|
| 260 |
+
'isnull',
|
| 261 |
+
'json_array',
|
| 262 |
+
'json_array_append',
|
| 263 |
+
'json_array_insert',
|
| 264 |
+
'json_arrayagg',
|
| 265 |
+
'json_contains',
|
| 266 |
+
'json_contains_path',
|
| 267 |
+
'json_depth',
|
| 268 |
+
'json_duality_object',
|
| 269 |
+
'json_extract',
|
| 270 |
+
'json_insert',
|
| 271 |
+
'json_keys',
|
| 272 |
+
'json_length',
|
| 273 |
+
'json_merge',
|
| 274 |
+
'json_merge_patch',
|
| 275 |
+
'json_merge_preserve',
|
| 276 |
+
'json_object',
|
| 277 |
+
'json_objectagg',
|
| 278 |
+
'json_overlaps',
|
| 279 |
+
'json_pretty',
|
| 280 |
+
'json_quote',
|
| 281 |
+
'json_remove',
|
| 282 |
+
'json_replace',
|
| 283 |
+
'json_schema_valid',
|
| 284 |
+
'json_schema_validation_report',
|
| 285 |
+
'json_search',
|
| 286 |
+
'json_set',
|
| 287 |
+
'json_storage_free',
|
| 288 |
+
'json_storage_size',
|
| 289 |
+
'json_type',
|
| 290 |
+
'json_unquote',
|
| 291 |
+
'json_valid',
|
| 292 |
+
'last_day',
|
| 293 |
+
'last_insert_id',
|
| 294 |
+
'lcase',
|
| 295 |
+
'least',
|
| 296 |
+
'length',
|
| 297 |
+
'like_range_max',
|
| 298 |
+
'like_range_min',
|
| 299 |
+
'ln',
|
| 300 |
+
'load_file',
|
| 301 |
+
'locate',
|
| 302 |
+
'log',
|
| 303 |
+
'log10',
|
| 304 |
+
'log2',
|
| 305 |
+
'lower',
|
| 306 |
+
'lpad',
|
| 307 |
+
'ltrim',
|
| 308 |
+
'make_set',
|
| 309 |
+
'makedate',
|
| 310 |
+
'maketime',
|
| 311 |
+
'master_pos_wait',
|
| 312 |
+
'max',
|
| 313 |
+
'mbrcontains',
|
| 314 |
+
'mbrcoveredby',
|
| 315 |
+
'mbrcovers',
|
| 316 |
+
'mbrdisjoint',
|
| 317 |
+
'mbrequals',
|
| 318 |
+
'mbrintersects',
|
| 319 |
+
'mbroverlaps',
|
| 320 |
+
'mbrtouches',
|
| 321 |
+
'mbrwithin',
|
| 322 |
+
'md5',
|
| 323 |
+
'mid',
|
| 324 |
+
'min',
|
| 325 |
+
'monthname',
|
| 326 |
+
'name_const',
|
| 327 |
+
'now',
|
| 328 |
+
'nullif',
|
| 329 |
+
'oct',
|
| 330 |
+
'octet_length',
|
| 331 |
+
'ord',
|
| 332 |
+
'period_add',
|
| 333 |
+
'period_diff',
|
| 334 |
+
'pi',
|
| 335 |
+
'position',
|
| 336 |
+
'pow',
|
| 337 |
+
'power',
|
| 338 |
+
'ps_current_thread_id',
|
| 339 |
+
'ps_thread_id',
|
| 340 |
+
'quote',
|
| 341 |
+
'radians',
|
| 342 |
+
'rand',
|
| 343 |
+
'random_bytes',
|
| 344 |
+
'regexp_instr',
|
| 345 |
+
'regexp_like',
|
| 346 |
+
'regexp_replace',
|
| 347 |
+
'regexp_substr',
|
| 348 |
+
'release_all_locks',
|
| 349 |
+
'release_lock',
|
| 350 |
+
'remove_dd_property_key',
|
| 351 |
+
'reverse',
|
| 352 |
+
'roles_graphml',
|
| 353 |
+
'round',
|
| 354 |
+
'rpad',
|
| 355 |
+
'rtrim',
|
| 356 |
+
'sec_to_time',
|
| 357 |
+
'session_user',
|
| 358 |
+
'sha',
|
| 359 |
+
'sha1',
|
| 360 |
+
'sha2',
|
| 361 |
+
'sign',
|
| 362 |
+
'sin',
|
| 363 |
+
'sleep',
|
| 364 |
+
'soundex',
|
| 365 |
+
'source_pos_wait',
|
| 366 |
+
'space',
|
| 367 |
+
'sqrt',
|
| 368 |
+
'st_area',
|
| 369 |
+
'st_asbinary',
|
| 370 |
+
'st_asgeojson',
|
| 371 |
+
'st_astext',
|
| 372 |
+
'st_aswkb',
|
| 373 |
+
'st_aswkt',
|
| 374 |
+
'st_buffer',
|
| 375 |
+
'st_buffer_strategy',
|
| 376 |
+
'st_centroid',
|
| 377 |
+
'st_collect',
|
| 378 |
+
'st_contains',
|
| 379 |
+
'st_convexhull',
|
| 380 |
+
'st_crosses',
|
| 381 |
+
'st_difference',
|
| 382 |
+
'st_dimension',
|
| 383 |
+
'st_disjoint',
|
| 384 |
+
'st_distance',
|
| 385 |
+
'st_distance_sphere',
|
| 386 |
+
'st_endpoint',
|
| 387 |
+
'st_envelope',
|
| 388 |
+
'st_equals',
|
| 389 |
+
'st_exteriorring',
|
| 390 |
+
'st_frechetdistance',
|
| 391 |
+
'st_geohash',
|
| 392 |
+
'st_geomcollfromtext',
|
| 393 |
+
'st_geomcollfromtxt',
|
| 394 |
+
'st_geomcollfromwkb',
|
| 395 |
+
'st_geometrycollectionfromtext',
|
| 396 |
+
'st_geometrycollectionfromwkb',
|
| 397 |
+
'st_geometryfromtext',
|
| 398 |
+
'st_geometryfromwkb',
|
| 399 |
+
'st_geometryn',
|
| 400 |
+
'st_geometrytype',
|
| 401 |
+
'st_geomfromgeojson',
|
| 402 |
+
'st_geomfromtext',
|
| 403 |
+
'st_geomfromwkb',
|
| 404 |
+
'st_hausdorffdistance',
|
| 405 |
+
'st_interiorringn',
|
| 406 |
+
'st_intersection',
|
| 407 |
+
'st_intersects',
|
| 408 |
+
'st_isclosed',
|
| 409 |
+
'st_isempty',
|
| 410 |
+
'st_issimple',
|
| 411 |
+
'st_isvalid',
|
| 412 |
+
'st_latfromgeohash',
|
| 413 |
+
'st_latitude',
|
| 414 |
+
'st_length',
|
| 415 |
+
'st_linefromtext',
|
| 416 |
+
'st_linefromwkb',
|
| 417 |
+
'st_lineinterpolatepoint',
|
| 418 |
+
'st_lineinterpolatepoints',
|
| 419 |
+
'st_linestringfromtext',
|
| 420 |
+
'st_linestringfromwkb',
|
| 421 |
+
'st_longfromgeohash',
|
| 422 |
+
'st_longitude',
|
| 423 |
+
'st_makeenvelope',
|
| 424 |
+
'st_mlinefromtext',
|
| 425 |
+
'st_mlinefromwkb',
|
| 426 |
+
'st_mpointfromtext',
|
| 427 |
+
'st_mpointfromwkb',
|
| 428 |
+
'st_mpolyfromtext',
|
| 429 |
+
'st_mpolyfromwkb',
|
| 430 |
+
'st_multilinestringfromtext',
|
| 431 |
+
'st_multilinestringfromwkb',
|
| 432 |
+
'st_multipointfromtext',
|
| 433 |
+
'st_multipointfromwkb',
|
| 434 |
+
'st_multipolygonfromtext',
|
| 435 |
+
'st_multipolygonfromwkb',
|
| 436 |
+
'st_numgeometries',
|
| 437 |
+
'st_numinteriorring',
|
| 438 |
+
'st_numinteriorrings',
|
| 439 |
+
'st_numpoints',
|
| 440 |
+
'st_overlaps',
|
| 441 |
+
'st_pointatdistance',
|
| 442 |
+
'st_pointfromgeohash',
|
| 443 |
+
'st_pointfromtext',
|
| 444 |
+
'st_pointfromwkb',
|
| 445 |
+
'st_pointn',
|
| 446 |
+
'st_polyfromtext',
|
| 447 |
+
'st_polyfromwkb',
|
| 448 |
+
'st_polygonfromtext',
|
| 449 |
+
'st_polygonfromwkb',
|
| 450 |
+
'st_simplify',
|
| 451 |
+
'st_srid',
|
| 452 |
+
'st_startpoint',
|
| 453 |
+
'st_swapxy',
|
| 454 |
+
'st_symdifference',
|
| 455 |
+
'st_touches',
|
| 456 |
+
'st_transform',
|
| 457 |
+
'st_union',
|
| 458 |
+
'st_validate',
|
| 459 |
+
'st_within',
|
| 460 |
+
'st_x',
|
| 461 |
+
'st_y',
|
| 462 |
+
'statement_digest',
|
| 463 |
+
'statement_digest_text',
|
| 464 |
+
'std',
|
| 465 |
+
'stddev',
|
| 466 |
+
'stddev_pop',
|
| 467 |
+
'stddev_samp',
|
| 468 |
+
'str_to_date',
|
| 469 |
+
'strcmp',
|
| 470 |
+
'string_to_vector',
|
| 471 |
+
'subdate',
|
| 472 |
+
'substr',
|
| 473 |
+
'substring',
|
| 474 |
+
'substring_index',
|
| 475 |
+
'subtime',
|
| 476 |
+
'sum',
|
| 477 |
+
'sysdate',
|
| 478 |
+
'system_user',
|
| 479 |
+
'tan',
|
| 480 |
+
'time_format',
|
| 481 |
+
'time_to_sec',
|
| 482 |
+
'timediff',
|
| 483 |
+
'to_base64',
|
| 484 |
+
'to_days',
|
| 485 |
+
'to_seconds',
|
| 486 |
+
'to_vector',
|
| 487 |
+
'trim',
|
| 488 |
+
'ucase',
|
| 489 |
+
'uncompress',
|
| 490 |
+
'uncompressed_length',
|
| 491 |
+
'unhex',
|
| 492 |
+
'unix_timestamp',
|
| 493 |
+
'updatexml',
|
| 494 |
+
'upper',
|
| 495 |
+
'uuid',
|
| 496 |
+
'uuid_short',
|
| 497 |
+
'uuid_to_bin',
|
| 498 |
+
'validate_password_strength',
|
| 499 |
+
'var_pop',
|
| 500 |
+
'var_samp',
|
| 501 |
+
'variance',
|
| 502 |
+
'vector_dim',
|
| 503 |
+
'vector_to_string',
|
| 504 |
+
'version',
|
| 505 |
+
'wait_for_executed_gtid_set',
|
| 506 |
+
'wait_until_sql_thread_after_gtids',
|
| 507 |
+
'weekday',
|
| 508 |
+
'weekofyear',
|
| 509 |
+
'yearweek',
|
| 510 |
+
)
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
MYSQL_OPTIMIZER_HINTS = (
|
| 514 |
+
'bka',
|
| 515 |
+
'bnl',
|
| 516 |
+
'derived_condition_pushdown',
|
| 517 |
+
'dupsweedout',
|
| 518 |
+
'firstmatch',
|
| 519 |
+
'group_index',
|
| 520 |
+
'hash_join',
|
| 521 |
+
'index',
|
| 522 |
+
'index_merge',
|
| 523 |
+
'intoexists',
|
| 524 |
+
'join_fixed_order',
|
| 525 |
+
'join_index',
|
| 526 |
+
'join_order',
|
| 527 |
+
'join_prefix',
|
| 528 |
+
'join_suffix',
|
| 529 |
+
'loosescan',
|
| 530 |
+
'materialization',
|
| 531 |
+
'max_execution_time',
|
| 532 |
+
'merge',
|
| 533 |
+
'mrr',
|
| 534 |
+
'no_bka',
|
| 535 |
+
'no_bnl',
|
| 536 |
+
'no_derived_condition_pushdown',
|
| 537 |
+
'no_group_index',
|
| 538 |
+
'no_hash_join',
|
| 539 |
+
'no_icp',
|
| 540 |
+
'no_index',
|
| 541 |
+
'no_index_merge',
|
| 542 |
+
'no_join_index',
|
| 543 |
+
'no_merge',
|
| 544 |
+
'no_mrr',
|
| 545 |
+
'no_order_index',
|
| 546 |
+
'no_range_optimization',
|
| 547 |
+
'no_semijoin',
|
| 548 |
+
'no_skip_scan',
|
| 549 |
+
'order_index',
|
| 550 |
+
'qb_name',
|
| 551 |
+
'resource_group',
|
| 552 |
+
'semijoin',
|
| 553 |
+
'set_var',
|
| 554 |
+
'skip_scan',
|
| 555 |
+
'subquery',
|
| 556 |
+
)
|
| 557 |
+
|
| 558 |
+
|
| 559 |
+
MYSQL_KEYWORDS = (
|
| 560 |
+
'absent',
|
| 561 |
+
'accessible',
|
| 562 |
+
'account',
|
| 563 |
+
'action',
|
| 564 |
+
'active',
|
| 565 |
+
'add',
|
| 566 |
+
'admin',
|
| 567 |
+
'after',
|
| 568 |
+
'against',
|
| 569 |
+
'aggregate',
|
| 570 |
+
'algorithm',
|
| 571 |
+
'all',
|
| 572 |
+
'allow_missing_files',
|
| 573 |
+
'alter',
|
| 574 |
+
'always',
|
| 575 |
+
'analyze',
|
| 576 |
+
'and',
|
| 577 |
+
'any',
|
| 578 |
+
'array',
|
| 579 |
+
'as',
|
| 580 |
+
'asc',
|
| 581 |
+
'ascii',
|
| 582 |
+
'asensitive',
|
| 583 |
+
'assign_gtids_to_anonymous_transactions',
|
| 584 |
+
'at',
|
| 585 |
+
'attribute',
|
| 586 |
+
'authentication',
|
| 587 |
+
'auto',
|
| 588 |
+
'auto_increment',
|
| 589 |
+
'auto_refresh',
|
| 590 |
+
'auto_refresh_source',
|
| 591 |
+
'autoextend_size',
|
| 592 |
+
'avg',
|
| 593 |
+
'avg_row_length',
|
| 594 |
+
'backup',
|
| 595 |
+
'before',
|
| 596 |
+
'begin',
|
| 597 |
+
'bernoulli',
|
| 598 |
+
'between',
|
| 599 |
+
'binlog',
|
| 600 |
+
'block',
|
| 601 |
+
'both',
|
| 602 |
+
'btree',
|
| 603 |
+
'buckets',
|
| 604 |
+
'bulk',
|
| 605 |
+
'by',
|
| 606 |
+
'cache',
|
| 607 |
+
'call',
|
| 608 |
+
'cascade',
|
| 609 |
+
'cascaded',
|
| 610 |
+
'case',
|
| 611 |
+
'catalog_name',
|
| 612 |
+
'chain',
|
| 613 |
+
'challenge_response',
|
| 614 |
+
'change',
|
| 615 |
+
'changed',
|
| 616 |
+
'channel',
|
| 617 |
+
'character',
|
| 618 |
+
'charset',
|
| 619 |
+
'check',
|
| 620 |
+
'checksum',
|
| 621 |
+
'cipher',
|
| 622 |
+
'class_origin',
|
| 623 |
+
'client',
|
| 624 |
+
'clone',
|
| 625 |
+
'close',
|
| 626 |
+
'coalesce',
|
| 627 |
+
'code',
|
| 628 |
+
'collate',
|
| 629 |
+
'collation',
|
| 630 |
+
'column',
|
| 631 |
+
'column_format',
|
| 632 |
+
'column_name',
|
| 633 |
+
'columns',
|
| 634 |
+
'comment',
|
| 635 |
+
'commit',
|
| 636 |
+
'committed',
|
| 637 |
+
'compact',
|
| 638 |
+
'completion',
|
| 639 |
+
'component',
|
| 640 |
+
'compressed',
|
| 641 |
+
'compression',
|
| 642 |
+
'concurrent',
|
| 643 |
+
'condition',
|
| 644 |
+
'connection',
|
| 645 |
+
'consistent',
|
| 646 |
+
'constraint',
|
| 647 |
+
'constraint_catalog',
|
| 648 |
+
'constraint_name',
|
| 649 |
+
'constraint_schema',
|
| 650 |
+
'contains',
|
| 651 |
+
'context',
|
| 652 |
+
'continue',
|
| 653 |
+
'convert',
|
| 654 |
+
'cpu',
|
| 655 |
+
'create',
|
| 656 |
+
'cross',
|
| 657 |
+
'cube',
|
| 658 |
+
'cume_dist',
|
| 659 |
+
'current',
|
| 660 |
+
'current_date',
|
| 661 |
+
'current_time',
|
| 662 |
+
'current_timestamp',
|
| 663 |
+
'current_user',
|
| 664 |
+
'cursor',
|
| 665 |
+
'cursor_name',
|
| 666 |
+
'data',
|
| 667 |
+
'database',
|
| 668 |
+
'databases',
|
| 669 |
+
'datafile',
|
| 670 |
+
'day',
|
| 671 |
+
'day_hour',
|
| 672 |
+
'day_microsecond',
|
| 673 |
+
'day_minute',
|
| 674 |
+
'day_second',
|
| 675 |
+
'deallocate',
|
| 676 |
+
'declare',
|
| 677 |
+
'default',
|
| 678 |
+
'default_auth',
|
| 679 |
+
'definer',
|
| 680 |
+
'definition',
|
| 681 |
+
'delay_key_write',
|
| 682 |
+
'delayed',
|
| 683 |
+
'delete',
|
| 684 |
+
'dense_rank',
|
| 685 |
+
'desc',
|
| 686 |
+
'describe',
|
| 687 |
+
'description',
|
| 688 |
+
'deterministic',
|
| 689 |
+
'diagnostics',
|
| 690 |
+
'directory',
|
| 691 |
+
'disable',
|
| 692 |
+
'discard',
|
| 693 |
+
'disk',
|
| 694 |
+
'distinct',
|
| 695 |
+
'distinctrow',
|
| 696 |
+
'div',
|
| 697 |
+
'do',
|
| 698 |
+
'drop',
|
| 699 |
+
'dual',
|
| 700 |
+
'duality',
|
| 701 |
+
'dumpfile',
|
| 702 |
+
'duplicate',
|
| 703 |
+
'dynamic',
|
| 704 |
+
'each',
|
| 705 |
+
'else',
|
| 706 |
+
'elseif',
|
| 707 |
+
'empty',
|
| 708 |
+
'enable',
|
| 709 |
+
'enclosed',
|
| 710 |
+
'encryption',
|
| 711 |
+
'end',
|
| 712 |
+
'ends',
|
| 713 |
+
'enforced',
|
| 714 |
+
'engine',
|
| 715 |
+
'engine_attribute',
|
| 716 |
+
'engines',
|
| 717 |
+
'error',
|
| 718 |
+
'errors',
|
| 719 |
+
'escape',
|
| 720 |
+
'escaped',
|
| 721 |
+
'event',
|
| 722 |
+
'events',
|
| 723 |
+
'every',
|
| 724 |
+
'except',
|
| 725 |
+
'exchange',
|
| 726 |
+
'exclude',
|
| 727 |
+
'execute',
|
| 728 |
+
'exists',
|
| 729 |
+
'exit',
|
| 730 |
+
'expansion',
|
| 731 |
+
'expire',
|
| 732 |
+
'explain',
|
| 733 |
+
'export',
|
| 734 |
+
'extended',
|
| 735 |
+
'extent_size',
|
| 736 |
+
'external',
|
| 737 |
+
'external_format',
|
| 738 |
+
'factor',
|
| 739 |
+
'failed_login_attempts',
|
| 740 |
+
'false',
|
| 741 |
+
'fast',
|
| 742 |
+
'faults',
|
| 743 |
+
'fetch',
|
| 744 |
+
'fields',
|
| 745 |
+
'file',
|
| 746 |
+
'file_block_size',
|
| 747 |
+
'file_format',
|
| 748 |
+
'file_name',
|
| 749 |
+
'file_pattern',
|
| 750 |
+
'file_prefix',
|
| 751 |
+
'files',
|
| 752 |
+
'filter',
|
| 753 |
+
'finish',
|
| 754 |
+
'first',
|
| 755 |
+
'first_value',
|
| 756 |
+
'flush',
|
| 757 |
+
'following',
|
| 758 |
+
'follows',
|
| 759 |
+
'for',
|
| 760 |
+
'force',
|
| 761 |
+
'foreign',
|
| 762 |
+
'format',
|
| 763 |
+
'found',
|
| 764 |
+
'from',
|
| 765 |
+
'full',
|
| 766 |
+
'fulltext',
|
| 767 |
+
'function',
|
| 768 |
+
'general',
|
| 769 |
+
'generate',
|
| 770 |
+
'generated',
|
| 771 |
+
'geomcollection',
|
| 772 |
+
'get',
|
| 773 |
+
'get_format',
|
| 774 |
+
'get_master_public_key',
|
| 775 |
+
'get_source_public_key',
|
| 776 |
+
'global',
|
| 777 |
+
'grant',
|
| 778 |
+
'grants',
|
| 779 |
+
'group',
|
| 780 |
+
'group_replication',
|
| 781 |
+
'grouping',
|
| 782 |
+
'groups',
|
| 783 |
+
'gtid_only',
|
| 784 |
+
'gtids',
|
| 785 |
+
'handler',
|
| 786 |
+
'hash',
|
| 787 |
+
'having',
|
| 788 |
+
'header',
|
| 789 |
+
'help',
|
| 790 |
+
'high_priority',
|
| 791 |
+
'histogram',
|
| 792 |
+
'history',
|
| 793 |
+
'host',
|
| 794 |
+
'hosts',
|
| 795 |
+
'hour',
|
| 796 |
+
'hour_microsecond',
|
| 797 |
+
'hour_minute',
|
| 798 |
+
'hour_second',
|
| 799 |
+
'identified',
|
| 800 |
+
'if',
|
| 801 |
+
'ignore',
|
| 802 |
+
'ignore_server_ids',
|
| 803 |
+
'import',
|
| 804 |
+
'in',
|
| 805 |
+
'inactive',
|
| 806 |
+
'index',
|
| 807 |
+
'indexes',
|
| 808 |
+
'infile',
|
| 809 |
+
'initial',
|
| 810 |
+
'initial_size',
|
| 811 |
+
'initiate',
|
| 812 |
+
'inner',
|
| 813 |
+
'inout',
|
| 814 |
+
'insensitive',
|
| 815 |
+
'insert',
|
| 816 |
+
'insert_method',
|
| 817 |
+
'install',
|
| 818 |
+
'instance',
|
| 819 |
+
'intersect',
|
| 820 |
+
'interval',
|
| 821 |
+
'into',
|
| 822 |
+
'invisible',
|
| 823 |
+
'invoker',
|
| 824 |
+
'io',
|
| 825 |
+
'io_after_gtids',
|
| 826 |
+
'io_before_gtids',
|
| 827 |
+
'io_thread',
|
| 828 |
+
'ipc',
|
| 829 |
+
'is',
|
| 830 |
+
'isolation',
|
| 831 |
+
'issuer',
|
| 832 |
+
'iterate',
|
| 833 |
+
'join',
|
| 834 |
+
'json_table',
|
| 835 |
+
'json_value',
|
| 836 |
+
'key',
|
| 837 |
+
'key_block_size',
|
| 838 |
+
'keyring',
|
| 839 |
+
'keys',
|
| 840 |
+
'kill',
|
| 841 |
+
'lag',
|
| 842 |
+
'language',
|
| 843 |
+
'last',
|
| 844 |
+
'last_value',
|
| 845 |
+
'lateral',
|
| 846 |
+
'lead',
|
| 847 |
+
'leading',
|
| 848 |
+
'leave',
|
| 849 |
+
'leaves',
|
| 850 |
+
'left',
|
| 851 |
+
'less',
|
| 852 |
+
'level',
|
| 853 |
+
'library',
|
| 854 |
+
'like',
|
| 855 |
+
'limit',
|
| 856 |
+
'linear',
|
| 857 |
+
'lines',
|
| 858 |
+
'list',
|
| 859 |
+
'load',
|
| 860 |
+
'local',
|
| 861 |
+
'localtime',
|
| 862 |
+
'localtimestamp',
|
| 863 |
+
'lock',
|
| 864 |
+
'locked',
|
| 865 |
+
'locks',
|
| 866 |
+
'log',
|
| 867 |
+
'logfile',
|
| 868 |
+
'logs',
|
| 869 |
+
'loop',
|
| 870 |
+
'low_priority',
|
| 871 |
+
'manual',
|
| 872 |
+
'master',
|
| 873 |
+
'master_auto_position',
|
| 874 |
+
'master_bind',
|
| 875 |
+
'master_compression_algorithms',
|
| 876 |
+
'master_connect_retry',
|
| 877 |
+
'master_delay',
|
| 878 |
+
'master_heartbeat_period',
|
| 879 |
+
'master_host',
|
| 880 |
+
'master_log_file',
|
| 881 |
+
'master_log_pos',
|
| 882 |
+
'master_password',
|
| 883 |
+
'master_port',
|
| 884 |
+
'master_public_key_path',
|
| 885 |
+
'master_retry_count',
|
| 886 |
+
'master_ssl',
|
| 887 |
+
'master_ssl_ca',
|
| 888 |
+
'master_ssl_capath',
|
| 889 |
+
'master_ssl_cert',
|
| 890 |
+
'master_ssl_cipher',
|
| 891 |
+
'master_ssl_crl',
|
| 892 |
+
'master_ssl_crlpath',
|
| 893 |
+
'master_ssl_key',
|
| 894 |
+
'master_ssl_verify_server_cert',
|
| 895 |
+
'master_tls_ciphersuites',
|
| 896 |
+
'master_tls_version',
|
| 897 |
+
'master_user',
|
| 898 |
+
'master_zstd_compression_level',
|
| 899 |
+
'match',
|
| 900 |
+
'max_connections_per_hour',
|
| 901 |
+
'max_queries_per_hour',
|
| 902 |
+
'max_rows',
|
| 903 |
+
'max_size',
|
| 904 |
+
'max_updates_per_hour',
|
| 905 |
+
'max_user_connections',
|
| 906 |
+
'maxvalue',
|
| 907 |
+
'medium',
|
| 908 |
+
'member',
|
| 909 |
+
'memory',
|
| 910 |
+
'merge',
|
| 911 |
+
'message_text',
|
| 912 |
+
'microsecond',
|
| 913 |
+
'migrate',
|
| 914 |
+
'min_rows',
|
| 915 |
+
'minute',
|
| 916 |
+
'minute_microsecond',
|
| 917 |
+
'minute_second',
|
| 918 |
+
'mod',
|
| 919 |
+
'mode',
|
| 920 |
+
'modifies',
|
| 921 |
+
'modify',
|
| 922 |
+
'month',
|
| 923 |
+
'mutex',
|
| 924 |
+
'mysql_errno',
|
| 925 |
+
'name',
|
| 926 |
+
'names',
|
| 927 |
+
'natural',
|
| 928 |
+
'ndb',
|
| 929 |
+
'ndbcluster',
|
| 930 |
+
'nested',
|
| 931 |
+
'network_namespace',
|
| 932 |
+
'never',
|
| 933 |
+
'new',
|
| 934 |
+
'next',
|
| 935 |
+
'no',
|
| 936 |
+
'no_wait',
|
| 937 |
+
'no_write_to_binlog',
|
| 938 |
+
'nodegroup',
|
| 939 |
+
'none',
|
| 940 |
+
'not',
|
| 941 |
+
'nowait',
|
| 942 |
+
'nth_value',
|
| 943 |
+
'ntile',
|
| 944 |
+
'null',
|
| 945 |
+
'nulls',
|
| 946 |
+
'number',
|
| 947 |
+
'of',
|
| 948 |
+
'off',
|
| 949 |
+
'offset',
|
| 950 |
+
'oj',
|
| 951 |
+
'old',
|
| 952 |
+
'on',
|
| 953 |
+
'one',
|
| 954 |
+
'only',
|
| 955 |
+
'open',
|
| 956 |
+
'optimize',
|
| 957 |
+
'optimizer_costs',
|
| 958 |
+
'option',
|
| 959 |
+
'optional',
|
| 960 |
+
'optionally',
|
| 961 |
+
'options',
|
| 962 |
+
'or',
|
| 963 |
+
'order',
|
| 964 |
+
'ordinality',
|
| 965 |
+
'organization',
|
| 966 |
+
'others',
|
| 967 |
+
'out',
|
| 968 |
+
'outer',
|
| 969 |
+
'outfile',
|
| 970 |
+
'over',
|
| 971 |
+
'owner',
|
| 972 |
+
'pack_keys',
|
| 973 |
+
'page',
|
| 974 |
+
'parallel',
|
| 975 |
+
'parameters',
|
| 976 |
+
'parse_tree',
|
| 977 |
+
'parser',
|
| 978 |
+
'partial',
|
| 979 |
+
'partition',
|
| 980 |
+
'partitioning',
|
| 981 |
+
'partitions',
|
| 982 |
+
'password',
|
| 983 |
+
'password_lock_time',
|
| 984 |
+
'path',
|
| 985 |
+
'percent_rank',
|
| 986 |
+
'persist',
|
| 987 |
+
'persist_only',
|
| 988 |
+
'phase',
|
| 989 |
+
'plugin',
|
| 990 |
+
'plugin_dir',
|
| 991 |
+
'plugins',
|
| 992 |
+
'port',
|
| 993 |
+
'precedes',
|
| 994 |
+
'preceding',
|
| 995 |
+
'prepare',
|
| 996 |
+
'preserve',
|
| 997 |
+
'prev',
|
| 998 |
+
'primary',
|
| 999 |
+
'privilege_checks_user',
|
| 1000 |
+
'privileges',
|
| 1001 |
+
'procedure',
|
| 1002 |
+
'process',
|
| 1003 |
+
'processlist',
|
| 1004 |
+
'profile',
|
| 1005 |
+
'profiles',
|
| 1006 |
+
'proxy',
|
| 1007 |
+
'purge',
|
| 1008 |
+
'qualify',
|
| 1009 |
+
'quarter',
|
| 1010 |
+
'query',
|
| 1011 |
+
'quick',
|
| 1012 |
+
'random',
|
| 1013 |
+
'range',
|
| 1014 |
+
'rank',
|
| 1015 |
+
'read',
|
| 1016 |
+
'read_only',
|
| 1017 |
+
'read_write',
|
| 1018 |
+
'reads',
|
| 1019 |
+
'rebuild',
|
| 1020 |
+
'recover',
|
| 1021 |
+
'recursive',
|
| 1022 |
+
'redo_buffer_size',
|
| 1023 |
+
'redundant',
|
| 1024 |
+
'reference',
|
| 1025 |
+
'references',
|
| 1026 |
+
'regexp',
|
| 1027 |
+
'registration',
|
| 1028 |
+
'relational',
|
| 1029 |
+
'relay',
|
| 1030 |
+
'relay_log_file',
|
| 1031 |
+
'relay_log_pos',
|
| 1032 |
+
'relay_thread',
|
| 1033 |
+
'relaylog',
|
| 1034 |
+
'release',
|
| 1035 |
+
'reload',
|
| 1036 |
+
'remove',
|
| 1037 |
+
'rename',
|
| 1038 |
+
'reorganize',
|
| 1039 |
+
'repair',
|
| 1040 |
+
'repeat',
|
| 1041 |
+
'repeatable',
|
| 1042 |
+
'replace',
|
| 1043 |
+
'replica',
|
| 1044 |
+
'replicas',
|
| 1045 |
+
'replicate_do_db',
|
| 1046 |
+
'replicate_do_table',
|
| 1047 |
+
'replicate_ignore_db',
|
| 1048 |
+
'replicate_ignore_table',
|
| 1049 |
+
'replicate_rewrite_db',
|
| 1050 |
+
'replicate_wild_do_table',
|
| 1051 |
+
'replicate_wild_ignore_table',
|
| 1052 |
+
'replication',
|
| 1053 |
+
'require',
|
| 1054 |
+
'require_row_format',
|
| 1055 |
+
'require_table_primary_key_check',
|
| 1056 |
+
'reset',
|
| 1057 |
+
'resignal',
|
| 1058 |
+
'resource',
|
| 1059 |
+
'respect',
|
| 1060 |
+
'restart',
|
| 1061 |
+
'restore',
|
| 1062 |
+
'restrict',
|
| 1063 |
+
'resume',
|
| 1064 |
+
'retain',
|
| 1065 |
+
'return',
|
| 1066 |
+
'returned_sqlstate',
|
| 1067 |
+
'returning',
|
| 1068 |
+
'returns',
|
| 1069 |
+
'reuse',
|
| 1070 |
+
'reverse',
|
| 1071 |
+
'revoke',
|
| 1072 |
+
'right',
|
| 1073 |
+
'rlike',
|
| 1074 |
+
'role',
|
| 1075 |
+
'rollback',
|
| 1076 |
+
'rollup',
|
| 1077 |
+
'rotate',
|
| 1078 |
+
'routine',
|
| 1079 |
+
'row',
|
| 1080 |
+
'row_count',
|
| 1081 |
+
'row_format',
|
| 1082 |
+
'row_number',
|
| 1083 |
+
'rows',
|
| 1084 |
+
'rtree',
|
| 1085 |
+
's3',
|
| 1086 |
+
'savepoint',
|
| 1087 |
+
'schedule',
|
| 1088 |
+
'schema',
|
| 1089 |
+
'schema_name',
|
| 1090 |
+
'schemas',
|
| 1091 |
+
'second',
|
| 1092 |
+
'second_microsecond',
|
| 1093 |
+
'secondary',
|
| 1094 |
+
'secondary_engine',
|
| 1095 |
+
'secondary_engine_attribute',
|
| 1096 |
+
'secondary_load',
|
| 1097 |
+
'secondary_unload',
|
| 1098 |
+
'security',
|
| 1099 |
+
'select',
|
| 1100 |
+
'sensitive',
|
| 1101 |
+
'separator',
|
| 1102 |
+
'serializable',
|
| 1103 |
+
'server',
|
| 1104 |
+
'session',
|
| 1105 |
+
'share',
|
| 1106 |
+
'show',
|
| 1107 |
+
'shutdown',
|
| 1108 |
+
'signal',
|
| 1109 |
+
'signed',
|
| 1110 |
+
'simple',
|
| 1111 |
+
'skip',
|
| 1112 |
+
'slave',
|
| 1113 |
+
'slow',
|
| 1114 |
+
'snapshot',
|
| 1115 |
+
'socket',
|
| 1116 |
+
'some',
|
| 1117 |
+
'soname',
|
| 1118 |
+
'sounds',
|
| 1119 |
+
'source',
|
| 1120 |
+
'source_auto_position',
|
| 1121 |
+
'source_bind',
|
| 1122 |
+
'source_compression_algorithms',
|
| 1123 |
+
'source_connect_retry',
|
| 1124 |
+
'source_connection_auto_failover',
|
| 1125 |
+
'source_delay',
|
| 1126 |
+
'source_heartbeat_period',
|
| 1127 |
+
'source_host',
|
| 1128 |
+
'source_log_file',
|
| 1129 |
+
'source_log_pos',
|
| 1130 |
+
'source_password',
|
| 1131 |
+
'source_port',
|
| 1132 |
+
'source_public_key_path',
|
| 1133 |
+
'source_retry_count',
|
| 1134 |
+
'source_ssl',
|
| 1135 |
+
'source_ssl_ca',
|
| 1136 |
+
'source_ssl_capath',
|
| 1137 |
+
'source_ssl_cert',
|
| 1138 |
+
'source_ssl_cipher',
|
| 1139 |
+
'source_ssl_crl',
|
| 1140 |
+
'source_ssl_crlpath',
|
| 1141 |
+
'source_ssl_key',
|
| 1142 |
+
'source_ssl_verify_server_cert',
|
| 1143 |
+
'source_tls_ciphersuites',
|
| 1144 |
+
'source_tls_version',
|
| 1145 |
+
'source_user',
|
| 1146 |
+
'source_zstd_compression_level',
|
| 1147 |
+
'spatial',
|
| 1148 |
+
'specific',
|
| 1149 |
+
'sql',
|
| 1150 |
+
'sql_after_gtids',
|
| 1151 |
+
'sql_after_mts_gaps',
|
| 1152 |
+
'sql_before_gtids',
|
| 1153 |
+
'sql_big_result',
|
| 1154 |
+
'sql_buffer_result',
|
| 1155 |
+
'sql_calc_found_rows',
|
| 1156 |
+
'sql_no_cache',
|
| 1157 |
+
'sql_small_result',
|
| 1158 |
+
'sql_thread',
|
| 1159 |
+
'sql_tsi_day',
|
| 1160 |
+
'sql_tsi_hour',
|
| 1161 |
+
'sql_tsi_minute',
|
| 1162 |
+
'sql_tsi_month',
|
| 1163 |
+
'sql_tsi_quarter',
|
| 1164 |
+
'sql_tsi_second',
|
| 1165 |
+
'sql_tsi_week',
|
| 1166 |
+
'sql_tsi_year',
|
| 1167 |
+
'sqlexception',
|
| 1168 |
+
'sqlstate',
|
| 1169 |
+
'sqlwarning',
|
| 1170 |
+
'srid',
|
| 1171 |
+
'ssl',
|
| 1172 |
+
'stacked',
|
| 1173 |
+
'start',
|
| 1174 |
+
'starting',
|
| 1175 |
+
'starts',
|
| 1176 |
+
'stats_auto_recalc',
|
| 1177 |
+
'stats_persistent',
|
| 1178 |
+
'stats_sample_pages',
|
| 1179 |
+
'status',
|
| 1180 |
+
'stop',
|
| 1181 |
+
'storage',
|
| 1182 |
+
'stored',
|
| 1183 |
+
'straight_join',
|
| 1184 |
+
'stream',
|
| 1185 |
+
'strict_load',
|
| 1186 |
+
'string',
|
| 1187 |
+
'subclass_origin',
|
| 1188 |
+
'subject',
|
| 1189 |
+
'subpartition',
|
| 1190 |
+
'subpartitions',
|
| 1191 |
+
'super',
|
| 1192 |
+
'suspend',
|
| 1193 |
+
'swaps',
|
| 1194 |
+
'switches',
|
| 1195 |
+
'system',
|
| 1196 |
+
'table',
|
| 1197 |
+
'table_checksum',
|
| 1198 |
+
'table_name',
|
| 1199 |
+
'tables',
|
| 1200 |
+
'tablesample',
|
| 1201 |
+
'tablespace',
|
| 1202 |
+
'temporary',
|
| 1203 |
+
'temptable',
|
| 1204 |
+
'terminated',
|
| 1205 |
+
'than',
|
| 1206 |
+
'then',
|
| 1207 |
+
'thread_priority',
|
| 1208 |
+
'ties',
|
| 1209 |
+
'timestampadd',
|
| 1210 |
+
'timestampdiff',
|
| 1211 |
+
'tls',
|
| 1212 |
+
'to',
|
| 1213 |
+
'trailing',
|
| 1214 |
+
'transaction',
|
| 1215 |
+
'trigger',
|
| 1216 |
+
'triggers',
|
| 1217 |
+
'true',
|
| 1218 |
+
'truncate',
|
| 1219 |
+
'type',
|
| 1220 |
+
'types',
|
| 1221 |
+
'unbounded',
|
| 1222 |
+
'uncommitted',
|
| 1223 |
+
'undefined',
|
| 1224 |
+
'undo',
|
| 1225 |
+
'undo_buffer_size',
|
| 1226 |
+
'undofile',
|
| 1227 |
+
'unicode',
|
| 1228 |
+
'uninstall',
|
| 1229 |
+
'union',
|
| 1230 |
+
'unique',
|
| 1231 |
+
'unknown',
|
| 1232 |
+
'unlock',
|
| 1233 |
+
'unregister',
|
| 1234 |
+
'unsigned',
|
| 1235 |
+
'until',
|
| 1236 |
+
'update',
|
| 1237 |
+
'upgrade',
|
| 1238 |
+
'uri',
|
| 1239 |
+
'url',
|
| 1240 |
+
'usage',
|
| 1241 |
+
'use',
|
| 1242 |
+
'use_frm',
|
| 1243 |
+
'user',
|
| 1244 |
+
'user_resources',
|
| 1245 |
+
'using',
|
| 1246 |
+
'utc_date',
|
| 1247 |
+
'utc_time',
|
| 1248 |
+
'utc_timestamp',
|
| 1249 |
+
'validation',
|
| 1250 |
+
'value',
|
| 1251 |
+
'values',
|
| 1252 |
+
'variables',
|
| 1253 |
+
'vcpu',
|
| 1254 |
+
'vector',
|
| 1255 |
+
'verify_key_constraints',
|
| 1256 |
+
'view',
|
| 1257 |
+
'virtual',
|
| 1258 |
+
'visible',
|
| 1259 |
+
'wait',
|
| 1260 |
+
'warnings',
|
| 1261 |
+
'week',
|
| 1262 |
+
'weight_string',
|
| 1263 |
+
'when',
|
| 1264 |
+
'where',
|
| 1265 |
+
'while',
|
| 1266 |
+
'window',
|
| 1267 |
+
'with',
|
| 1268 |
+
'without',
|
| 1269 |
+
'work',
|
| 1270 |
+
'wrapper',
|
| 1271 |
+
'write',
|
| 1272 |
+
'x509',
|
| 1273 |
+
'xa',
|
| 1274 |
+
'xid',
|
| 1275 |
+
'xml',
|
| 1276 |
+
'xor',
|
| 1277 |
+
'year_month',
|
| 1278 |
+
'zerofill',
|
| 1279 |
+
'zone',
|
| 1280 |
+
)
|
| 1281 |
+
|
| 1282 |
+
|
| 1283 |
+
if __name__ == '__main__': # pragma: no cover
|
| 1284 |
+
import re
|
| 1285 |
+
from urllib.request import urlopen
|
| 1286 |
+
|
| 1287 |
+
from pygments.util import format_lines
|
| 1288 |
+
|
| 1289 |
+
# MySQL source code
|
| 1290 |
+
SOURCE_URL = 'https://github.com/mysql/mysql-server/raw/trunk'
|
| 1291 |
+
LEX_URL = SOURCE_URL + '/sql/lex.h'
|
| 1292 |
+
ITEM_CREATE_URL = SOURCE_URL + '/sql/item_create.cc'
|
| 1293 |
+
|
| 1294 |
+
|
| 1295 |
+
def update_myself():
|
| 1296 |
+
# Pull content from lex.h.
|
| 1297 |
+
lex_file = urlopen(LEX_URL).read().decode('utf8', errors='ignore')
|
| 1298 |
+
keywords = parse_lex_keywords(lex_file)
|
| 1299 |
+
functions = parse_lex_functions(lex_file)
|
| 1300 |
+
optimizer_hints = parse_lex_optimizer_hints(lex_file)
|
| 1301 |
+
|
| 1302 |
+
# Parse content in item_create.cc.
|
| 1303 |
+
item_create_file = urlopen(ITEM_CREATE_URL).read().decode('utf8', errors='ignore')
|
| 1304 |
+
functions.update(parse_item_create_functions(item_create_file))
|
| 1305 |
+
|
| 1306 |
+
# Remove data types from the set of keywords.
|
| 1307 |
+
keywords -= set(MYSQL_DATATYPES)
|
| 1308 |
+
|
| 1309 |
+
update_content('MYSQL_FUNCTIONS', tuple(sorted(functions)))
|
| 1310 |
+
update_content('MYSQL_KEYWORDS', tuple(sorted(keywords)))
|
| 1311 |
+
update_content('MYSQL_OPTIMIZER_HINTS', tuple(sorted(optimizer_hints)))
|
| 1312 |
+
|
| 1313 |
+
|
| 1314 |
+
def parse_lex_keywords(f):
|
| 1315 |
+
"""Parse keywords in lex.h."""
|
| 1316 |
+
|
| 1317 |
+
results = set()
|
| 1318 |
+
for m in re.finditer(r'{SYM(?:_HK)?\("(?P<keyword>[a-z0-9_]+)",', f, flags=re.I):
|
| 1319 |
+
results.add(m.group('keyword').lower())
|
| 1320 |
+
|
| 1321 |
+
if not results:
|
| 1322 |
+
raise ValueError('No keywords found')
|
| 1323 |
+
|
| 1324 |
+
return results
|
| 1325 |
+
|
| 1326 |
+
|
| 1327 |
+
def parse_lex_optimizer_hints(f):
|
| 1328 |
+
"""Parse optimizer hints in lex.h."""
|
| 1329 |
+
|
| 1330 |
+
results = set()
|
| 1331 |
+
for m in re.finditer(r'{SYM_H\("(?P<keyword>[a-z0-9_]+)",', f, flags=re.I):
|
| 1332 |
+
results.add(m.group('keyword').lower())
|
| 1333 |
+
|
| 1334 |
+
if not results:
|
| 1335 |
+
raise ValueError('No optimizer hints found')
|
| 1336 |
+
|
| 1337 |
+
return results
|
| 1338 |
+
|
| 1339 |
+
|
| 1340 |
+
def parse_lex_functions(f):
|
| 1341 |
+
"""Parse MySQL function names from lex.h."""
|
| 1342 |
+
|
| 1343 |
+
results = set()
|
| 1344 |
+
for m in re.finditer(r'{SYM_FN?\("(?P<function>[a-z0-9_]+)",', f, flags=re.I):
|
| 1345 |
+
results.add(m.group('function').lower())
|
| 1346 |
+
|
| 1347 |
+
if not results:
|
| 1348 |
+
raise ValueError('No lex functions found')
|
| 1349 |
+
|
| 1350 |
+
return results
|
| 1351 |
+
|
| 1352 |
+
|
| 1353 |
+
def parse_item_create_functions(f):
|
| 1354 |
+
"""Parse MySQL function names from item_create.cc."""
|
| 1355 |
+
|
| 1356 |
+
results = set()
|
| 1357 |
+
for m in re.finditer(r'{"(?P<function>[^"]+?)",\s*SQL_F[^(]+?\(', f, flags=re.I):
|
| 1358 |
+
results.add(m.group('function').lower())
|
| 1359 |
+
|
| 1360 |
+
if not results:
|
| 1361 |
+
raise ValueError('No item_create functions found')
|
| 1362 |
+
|
| 1363 |
+
return results
|
| 1364 |
+
|
| 1365 |
+
|
| 1366 |
+
def update_content(field_name, content):
|
| 1367 |
+
"""Overwrite this file with content parsed from MySQL's source code."""
|
| 1368 |
+
|
| 1369 |
+
with open(__file__, encoding="utf-8") as f:
|
| 1370 |
+
data = f.read()
|
| 1371 |
+
|
| 1372 |
+
# Line to start/end inserting
|
| 1373 |
+
re_match = re.compile(rf'^{field_name}\s*=\s*\($.*?^\s*\)$', re.M | re.S)
|
| 1374 |
+
m = re_match.search(data)
|
| 1375 |
+
if not m:
|
| 1376 |
+
raise ValueError(f'Could not find an existing definition for {field_name}')
|
| 1377 |
+
|
| 1378 |
+
new_block = format_lines(field_name, content)
|
| 1379 |
+
data = data[:m.start()] + new_block + data[m.end():]
|
| 1380 |
+
|
| 1381 |
+
with open(__file__, 'w', encoding='utf-8', newline='\n') as f:
|
| 1382 |
+
f.write(data)
|
| 1383 |
+
|
| 1384 |
+
update_myself()
|
micromamba_root/envs/pytorch_env/Lib/site-packages/pygments/lexers/_openedge_builtins.py
ADDED
|
@@ -0,0 +1,2600 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
pygments.lexers._openedge_builtins
|
| 3 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| 4 |
+
|
| 5 |
+
Builtin list for the OpenEdgeLexer.
|
| 6 |
+
|
| 7 |
+
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
| 8 |
+
:license: BSD, see LICENSE for details.
|
| 9 |
+
"""
|
| 10 |
+
|
| 11 |
+
OPENEDGEKEYWORDS = (
|
| 12 |
+
'ABS',
|
| 13 |
+
'ABSO',
|
| 14 |
+
'ABSOL',
|
| 15 |
+
'ABSOLU',
|
| 16 |
+
'ABSOLUT',
|
| 17 |
+
'ABSOLUTE',
|
| 18 |
+
'ABSTRACT',
|
| 19 |
+
'ACCELERATOR',
|
| 20 |
+
'ACCUM',
|
| 21 |
+
'ACCUMU',
|
| 22 |
+
'ACCUMUL',
|
| 23 |
+
'ACCUMULA',
|
| 24 |
+
'ACCUMULAT',
|
| 25 |
+
'ACCUMULATE',
|
| 26 |
+
'ACTIVE-FORM',
|
| 27 |
+
'ACTIVE-WINDOW',
|
| 28 |
+
'ADD',
|
| 29 |
+
'ADD-BUFFER',
|
| 30 |
+
'ADD-CALC-COLUMN',
|
| 31 |
+
'ADD-COLUMNS-FROM',
|
| 32 |
+
'ADD-EVENTS-PROCEDURE',
|
| 33 |
+
'ADD-FIELDS-FROM',
|
| 34 |
+
'ADD-FIRST',
|
| 35 |
+
'ADD-INDEX-FIELD',
|
| 36 |
+
'ADD-LAST',
|
| 37 |
+
'ADD-LIKE-COLUMN',
|
| 38 |
+
'ADD-LIKE-FIELD',
|
| 39 |
+
'ADD-LIKE-INDEX',
|
| 40 |
+
'ADD-NEW-FIELD',
|
| 41 |
+
'ADD-NEW-INDEX',
|
| 42 |
+
'ADD-SCHEMA-LOCATION',
|
| 43 |
+
'ADD-SUPER-PROCEDURE',
|
| 44 |
+
'ADM-DATA',
|
| 45 |
+
'ADVISE',
|
| 46 |
+
'ALERT-BOX',
|
| 47 |
+
'ALIAS',
|
| 48 |
+
'ALL',
|
| 49 |
+
'ALLOW-COLUMN-SEARCHING',
|
| 50 |
+
'ALLOW-REPLICATION',
|
| 51 |
+
'ALTER',
|
| 52 |
+
'ALWAYS-ON-TOP',
|
| 53 |
+
'AMBIG',
|
| 54 |
+
'AMBIGU',
|
| 55 |
+
'AMBIGUO',
|
| 56 |
+
'AMBIGUOU',
|
| 57 |
+
'AMBIGUOUS',
|
| 58 |
+
'ANALYZ',
|
| 59 |
+
'ANALYZE',
|
| 60 |
+
'AND',
|
| 61 |
+
'ANSI-ONLY',
|
| 62 |
+
'ANY',
|
| 63 |
+
'ANYWHERE',
|
| 64 |
+
'APPEND',
|
| 65 |
+
'APPL-ALERT',
|
| 66 |
+
'APPL-ALERT-',
|
| 67 |
+
'APPL-ALERT-B',
|
| 68 |
+
'APPL-ALERT-BO',
|
| 69 |
+
'APPL-ALERT-BOX',
|
| 70 |
+
'APPL-ALERT-BOXE',
|
| 71 |
+
'APPL-ALERT-BOXES',
|
| 72 |
+
'APPL-CONTEXT-ID',
|
| 73 |
+
'APPLICATION',
|
| 74 |
+
'APPLY',
|
| 75 |
+
'APPSERVER-INFO',
|
| 76 |
+
'APPSERVER-PASSWORD',
|
| 77 |
+
'APPSERVER-USERID',
|
| 78 |
+
'ARRAY-MESSAGE',
|
| 79 |
+
'AS',
|
| 80 |
+
'ASC',
|
| 81 |
+
'ASCE',
|
| 82 |
+
'ASCEN',
|
| 83 |
+
'ASCEND',
|
| 84 |
+
'ASCENDI',
|
| 85 |
+
'ASCENDIN',
|
| 86 |
+
'ASCENDING',
|
| 87 |
+
'ASK-OVERWRITE',
|
| 88 |
+
'ASSEMBLY',
|
| 89 |
+
'ASSIGN',
|
| 90 |
+
'ASYNC-REQUEST-COUNT',
|
| 91 |
+
'ASYNC-REQUEST-HANDLE',
|
| 92 |
+
'ASYNCHRONOUS',
|
| 93 |
+
'AT',
|
| 94 |
+
'ATTACHED-PAIRLIST',
|
| 95 |
+
'ATTR',
|
| 96 |
+
'ATTR-SPACE',
|
| 97 |
+
'ATTRI',
|
| 98 |
+
'ATTRIB',
|
| 99 |
+
'ATTRIBU',
|
| 100 |
+
'ATTRIBUT',
|
| 101 |
+
'AUDIT-CONTROL',
|
| 102 |
+
'AUDIT-ENABLED',
|
| 103 |
+
'AUDIT-EVENT-CONTEXT',
|
| 104 |
+
'AUDIT-POLICY',
|
| 105 |
+
'AUTHENTICATION-FAILED',
|
| 106 |
+
'AUTHORIZATION',
|
| 107 |
+
'AUTO-COMP',
|
| 108 |
+
'AUTO-COMPL',
|
| 109 |
+
'AUTO-COMPLE',
|
| 110 |
+
'AUTO-COMPLET',
|
| 111 |
+
'AUTO-COMPLETI',
|
| 112 |
+
'AUTO-COMPLETIO',
|
| 113 |
+
'AUTO-COMPLETION',
|
| 114 |
+
'AUTO-END-KEY',
|
| 115 |
+
'AUTO-ENDKEY',
|
| 116 |
+
'AUTO-GO',
|
| 117 |
+
'AUTO-IND',
|
| 118 |
+
'AUTO-INDE',
|
| 119 |
+
'AUTO-INDEN',
|
| 120 |
+
'AUTO-INDENT',
|
| 121 |
+
'AUTO-RESIZE',
|
| 122 |
+
'AUTO-RET',
|
| 123 |
+
'AUTO-RETU',
|
| 124 |
+
'AUTO-RETUR',
|
| 125 |
+
'AUTO-RETURN',
|
| 126 |
+
'AUTO-SYNCHRONIZE',
|
| 127 |
+
'AUTO-Z',
|
| 128 |
+
'AUTO-ZA',
|
| 129 |
+
'AUTO-ZAP',
|
| 130 |
+
'AUTOMATIC',
|
| 131 |
+
'AVAIL',
|
| 132 |
+
'AVAILA',
|
| 133 |
+
'AVAILAB',
|
| 134 |
+
'AVAILABL',
|
| 135 |
+
'AVAILABLE',
|
| 136 |
+
'AVAILABLE-FORMATS',
|
| 137 |
+
'AVE',
|
| 138 |
+
'AVER',
|
| 139 |
+
'AVERA',
|
| 140 |
+
'AVERAG',
|
| 141 |
+
'AVERAGE',
|
| 142 |
+
'AVG',
|
| 143 |
+
'BACK',
|
| 144 |
+
'BACKG',
|
| 145 |
+
'BACKGR',
|
| 146 |
+
'BACKGRO',
|
| 147 |
+
'BACKGROU',
|
| 148 |
+
'BACKGROUN',
|
| 149 |
+
'BACKGROUND',
|
| 150 |
+
'BACKWARD',
|
| 151 |
+
'BACKWARDS',
|
| 152 |
+
'BASE64-DECODE',
|
| 153 |
+
'BASE64-ENCODE',
|
| 154 |
+
'BASE-ADE',
|
| 155 |
+
'BASE-KEY',
|
| 156 |
+
'BATCH',
|
| 157 |
+
'BATCH-',
|
| 158 |
+
'BATCH-M',
|
| 159 |
+
'BATCH-MO',
|
| 160 |
+
'BATCH-MOD',
|
| 161 |
+
'BATCH-MODE',
|
| 162 |
+
'BATCH-SIZE',
|
| 163 |
+
'BEFORE-H',
|
| 164 |
+
'BEFORE-HI',
|
| 165 |
+
'BEFORE-HID',
|
| 166 |
+
'BEFORE-HIDE',
|
| 167 |
+
'BEGIN-EVENT-GROUP',
|
| 168 |
+
'BEGINS',
|
| 169 |
+
'BELL',
|
| 170 |
+
'BETWEEN',
|
| 171 |
+
'BGC',
|
| 172 |
+
'BGCO',
|
| 173 |
+
'BGCOL',
|
| 174 |
+
'BGCOLO',
|
| 175 |
+
'BGCOLOR',
|
| 176 |
+
'BIG-ENDIAN',
|
| 177 |
+
'BINARY',
|
| 178 |
+
'BIND',
|
| 179 |
+
'BIND-WHERE',
|
| 180 |
+
'BLANK',
|
| 181 |
+
'BLOCK-ITERATION-DISPLAY',
|
| 182 |
+
'BLOCK-LEVEL',
|
| 183 |
+
'BORDER-B',
|
| 184 |
+
'BORDER-BO',
|
| 185 |
+
'BORDER-BOT',
|
| 186 |
+
'BORDER-BOTT',
|
| 187 |
+
'BORDER-BOTTO',
|
| 188 |
+
'BORDER-BOTTOM-CHARS',
|
| 189 |
+
'BORDER-BOTTOM-P',
|
| 190 |
+
'BORDER-BOTTOM-PI',
|
| 191 |
+
'BORDER-BOTTOM-PIX',
|
| 192 |
+
'BORDER-BOTTOM-PIXE',
|
| 193 |
+
'BORDER-BOTTOM-PIXEL',
|
| 194 |
+
'BORDER-BOTTOM-PIXELS',
|
| 195 |
+
'BORDER-L',
|
| 196 |
+
'BORDER-LE',
|
| 197 |
+
'BORDER-LEF',
|
| 198 |
+
'BORDER-LEFT',
|
| 199 |
+
'BORDER-LEFT-',
|
| 200 |
+
'BORDER-LEFT-C',
|
| 201 |
+
'BORDER-LEFT-CH',
|
| 202 |
+
'BORDER-LEFT-CHA',
|
| 203 |
+
'BORDER-LEFT-CHAR',
|
| 204 |
+
'BORDER-LEFT-CHARS',
|
| 205 |
+
'BORDER-LEFT-P',
|
| 206 |
+
'BORDER-LEFT-PI',
|
| 207 |
+
'BORDER-LEFT-PIX',
|
| 208 |
+
'BORDER-LEFT-PIXE',
|
| 209 |
+
'BORDER-LEFT-PIXEL',
|
| 210 |
+
'BORDER-LEFT-PIXELS',
|
| 211 |
+
'BORDER-R',
|
| 212 |
+
'BORDER-RI',
|
| 213 |
+
'BORDER-RIG',
|
| 214 |
+
'BORDER-RIGH',
|
| 215 |
+
'BORDER-RIGHT',
|
| 216 |
+
'BORDER-RIGHT-',
|
| 217 |
+
'BORDER-RIGHT-C',
|
| 218 |
+
'BORDER-RIGHT-CH',
|
| 219 |
+
'BORDER-RIGHT-CHA',
|
| 220 |
+
'BORDER-RIGHT-CHAR',
|
| 221 |
+
'BORDER-RIGHT-CHARS',
|
| 222 |
+
'BORDER-RIGHT-P',
|
| 223 |
+
'BORDER-RIGHT-PI',
|
| 224 |
+
'BORDER-RIGHT-PIX',
|
| 225 |
+
'BORDER-RIGHT-PIXE',
|
| 226 |
+
'BORDER-RIGHT-PIXEL',
|
| 227 |
+
'BORDER-RIGHT-PIXELS',
|
| 228 |
+
'BORDER-T',
|
| 229 |
+
'BORDER-TO',
|
| 230 |
+
'BORDER-TOP',
|
| 231 |
+
'BORDER-TOP-',
|
| 232 |
+
'BORDER-TOP-C',
|
| 233 |
+
'BORDER-TOP-CH',
|
| 234 |
+
'BORDER-TOP-CHA',
|
| 235 |
+
'BORDER-TOP-CHAR',
|
| 236 |
+
'BORDER-TOP-CHARS',
|
| 237 |
+
'BORDER-TOP-P',
|
| 238 |
+
'BORDER-TOP-PI',
|
| 239 |
+
'BORDER-TOP-PIX',
|
| 240 |
+
'BORDER-TOP-PIXE',
|
| 241 |
+
'BORDER-TOP-PIXEL',
|
| 242 |
+
'BORDER-TOP-PIXELS',
|
| 243 |
+
'BOX',
|
| 244 |
+
'BOX-SELECT',
|
| 245 |
+
'BOX-SELECTA',
|
| 246 |
+
'BOX-SELECTAB',
|
| 247 |
+
'BOX-SELECTABL',
|
| 248 |
+
'BOX-SELECTABLE',
|
| 249 |
+
'BREAK',
|
| 250 |
+
'BROWSE',
|
| 251 |
+
'BUFFER',
|
| 252 |
+
'BUFFER-CHARS',
|
| 253 |
+
'BUFFER-COMPARE',
|
| 254 |
+
'BUFFER-COPY',
|
| 255 |
+
'BUFFER-CREATE',
|
| 256 |
+
'BUFFER-DELETE',
|
| 257 |
+
'BUFFER-FIELD',
|
| 258 |
+
'BUFFER-HANDLE',
|
| 259 |
+
'BUFFER-LINES',
|
| 260 |
+
'BUFFER-NAME',
|
| 261 |
+
'BUFFER-PARTITION-ID',
|
| 262 |
+
'BUFFER-RELEASE',
|
| 263 |
+
'BUFFER-VALUE',
|
| 264 |
+
'BUTTON',
|
| 265 |
+
'BUTTONS',
|
| 266 |
+
'BY',
|
| 267 |
+
'BY-POINTER',
|
| 268 |
+
'BY-VARIANT-POINTER',
|
| 269 |
+
'CACHE',
|
| 270 |
+
'CACHE-SIZE',
|
| 271 |
+
'CALL',
|
| 272 |
+
'CALL-NAME',
|
| 273 |
+
'CALL-TYPE',
|
| 274 |
+
'CAN-CREATE',
|
| 275 |
+
'CAN-DELETE',
|
| 276 |
+
'CAN-DO',
|
| 277 |
+
'CAN-DO-DOMAIN-SUPPORT',
|
| 278 |
+
'CAN-FIND',
|
| 279 |
+
'CAN-QUERY',
|
| 280 |
+
'CAN-READ',
|
| 281 |
+
'CAN-SET',
|
| 282 |
+
'CAN-WRITE',
|
| 283 |
+
'CANCEL-BREAK',
|
| 284 |
+
'CANCEL-BUTTON',
|
| 285 |
+
'CAPS',
|
| 286 |
+
'CAREFUL-PAINT',
|
| 287 |
+
'CASE',
|
| 288 |
+
'CASE-SEN',
|
| 289 |
+
'CASE-SENS',
|
| 290 |
+
'CASE-SENSI',
|
| 291 |
+
'CASE-SENSIT',
|
| 292 |
+
'CASE-SENSITI',
|
| 293 |
+
'CASE-SENSITIV',
|
| 294 |
+
'CASE-SENSITIVE',
|
| 295 |
+
'CAST',
|
| 296 |
+
'CATCH',
|
| 297 |
+
'CDECL',
|
| 298 |
+
'CENTER',
|
| 299 |
+
'CENTERE',
|
| 300 |
+
'CENTERED',
|
| 301 |
+
'CHAINED',
|
| 302 |
+
'CHARACTER',
|
| 303 |
+
'CHARACTER_LENGTH',
|
| 304 |
+
'CHARSET',
|
| 305 |
+
'CHECK',
|
| 306 |
+
'CHECKED',
|
| 307 |
+
'CHOOSE',
|
| 308 |
+
'CHR',
|
| 309 |
+
'CLASS',
|
| 310 |
+
'CLASS-TYPE',
|
| 311 |
+
'CLEAR',
|
| 312 |
+
'CLEAR-APPL-CONTEXT',
|
| 313 |
+
'CLEAR-LOG',
|
| 314 |
+
'CLEAR-SELECT',
|
| 315 |
+
'CLEAR-SELECTI',
|
| 316 |
+
'CLEAR-SELECTIO',
|
| 317 |
+
'CLEAR-SELECTION',
|
| 318 |
+
'CLEAR-SORT-ARROW',
|
| 319 |
+
'CLEAR-SORT-ARROWS',
|
| 320 |
+
'CLIENT-CONNECTION-ID',
|
| 321 |
+
'CLIENT-PRINCIPAL',
|
| 322 |
+
'CLIENT-TTY',
|
| 323 |
+
'CLIENT-TYPE',
|
| 324 |
+
'CLIENT-WORKSTATION',
|
| 325 |
+
'CLIPBOARD',
|
| 326 |
+
'CLOSE',
|
| 327 |
+
'CLOSE-LOG',
|
| 328 |
+
'CODE',
|
| 329 |
+
'CODEBASE-LOCATOR',
|
| 330 |
+
'CODEPAGE',
|
| 331 |
+
'CODEPAGE-CONVERT',
|
| 332 |
+
'COL',
|
| 333 |
+
'COL-OF',
|
| 334 |
+
'COLLATE',
|
| 335 |
+
'COLON',
|
| 336 |
+
'COLON-ALIGN',
|
| 337 |
+
'COLON-ALIGNE',
|
| 338 |
+
'COLON-ALIGNED',
|
| 339 |
+
'COLOR',
|
| 340 |
+
'COLOR-TABLE',
|
| 341 |
+
'COLU',
|
| 342 |
+
'COLUM',
|
| 343 |
+
'COLUMN',
|
| 344 |
+
'COLUMN-BGCOLOR',
|
| 345 |
+
'COLUMN-DCOLOR',
|
| 346 |
+
'COLUMN-FGCOLOR',
|
| 347 |
+
'COLUMN-FONT',
|
| 348 |
+
'COLUMN-LAB',
|
| 349 |
+
'COLUMN-LABE',
|
| 350 |
+
'COLUMN-LABEL',
|
| 351 |
+
'COLUMN-MOVABLE',
|
| 352 |
+
'COLUMN-OF',
|
| 353 |
+
'COLUMN-PFCOLOR',
|
| 354 |
+
'COLUMN-READ-ONLY',
|
| 355 |
+
'COLUMN-RESIZABLE',
|
| 356 |
+
'COLUMN-SCROLLING',
|
| 357 |
+
'COLUMNS',
|
| 358 |
+
'COM-HANDLE',
|
| 359 |
+
'COM-SELF',
|
| 360 |
+
'COMBO-BOX',
|
| 361 |
+
'COMMAND',
|
| 362 |
+
'COMPARES',
|
| 363 |
+
'COMPILE',
|
| 364 |
+
'COMPILER',
|
| 365 |
+
'COMPLETE',
|
| 366 |
+
'CONFIG-NAME',
|
| 367 |
+
'CONNECT',
|
| 368 |
+
'CONNECTED',
|
| 369 |
+
'CONSTRUCTOR',
|
| 370 |
+
'CONTAINS',
|
| 371 |
+
'CONTENTS',
|
| 372 |
+
'CONTEXT',
|
| 373 |
+
'CONTEXT-HELP',
|
| 374 |
+
'CONTEXT-HELP-FILE',
|
| 375 |
+
'CONTEXT-HELP-ID',
|
| 376 |
+
'CONTEXT-POPUP',
|
| 377 |
+
'CONTROL',
|
| 378 |
+
'CONTROL-BOX',
|
| 379 |
+
'CONTROL-FRAME',
|
| 380 |
+
'CONVERT',
|
| 381 |
+
'CONVERT-3D-COLORS',
|
| 382 |
+
'CONVERT-TO-OFFS',
|
| 383 |
+
'CONVERT-TO-OFFSE',
|
| 384 |
+
'CONVERT-TO-OFFSET',
|
| 385 |
+
'COPY-DATASET',
|
| 386 |
+
'COPY-LOB',
|
| 387 |
+
'COPY-SAX-ATTRIBUTES',
|
| 388 |
+
'COPY-TEMP-TABLE',
|
| 389 |
+
'COUNT',
|
| 390 |
+
'COUNT-OF',
|
| 391 |
+
'CPCASE',
|
| 392 |
+
'CPCOLL',
|
| 393 |
+
'CPINTERNAL',
|
| 394 |
+
'CPLOG',
|
| 395 |
+
'CPPRINT',
|
| 396 |
+
'CPRCODEIN',
|
| 397 |
+
'CPRCODEOUT',
|
| 398 |
+
'CPSTREAM',
|
| 399 |
+
'CPTERM',
|
| 400 |
+
'CRC-VALUE',
|
| 401 |
+
'CREATE',
|
| 402 |
+
'CREATE-LIKE',
|
| 403 |
+
'CREATE-LIKE-SEQUENTIAL',
|
| 404 |
+
'CREATE-NODE-NAMESPACE',
|
| 405 |
+
'CREATE-RESULT-LIST-ENTRY',
|
| 406 |
+
'CREATE-TEST-FILE',
|
| 407 |
+
'CURRENT',
|
| 408 |
+
'CURRENT-CHANGED',
|
| 409 |
+
'CURRENT-COLUMN',
|
| 410 |
+
'CURRENT-ENV',
|
| 411 |
+
'CURRENT-ENVI',
|
| 412 |
+
'CURRENT-ENVIR',
|
| 413 |
+
'CURRENT-ENVIRO',
|
| 414 |
+
'CURRENT-ENVIRON',
|
| 415 |
+
'CURRENT-ENVIRONM',
|
| 416 |
+
'CURRENT-ENVIRONME',
|
| 417 |
+
'CURRENT-ENVIRONMEN',
|
| 418 |
+
'CURRENT-ENVIRONMENT',
|
| 419 |
+
'CURRENT-ITERATION',
|
| 420 |
+
'CURRENT-LANG',
|
| 421 |
+
'CURRENT-LANGU',
|
| 422 |
+
'CURRENT-LANGUA',
|
| 423 |
+
'CURRENT-LANGUAG',
|
| 424 |
+
'CURRENT-LANGUAGE',
|
| 425 |
+
'CURRENT-QUERY',
|
| 426 |
+
'CURRENT-REQUEST-INFO',
|
| 427 |
+
'CURRENT-RESPONSE-INFO',
|
| 428 |
+
'CURRENT-RESULT-ROW',
|
| 429 |
+
'CURRENT-ROW-MODIFIED',
|
| 430 |
+
'CURRENT-VALUE',
|
| 431 |
+
'CURRENT-WINDOW',
|
| 432 |
+
'CURRENT_DATE',
|
| 433 |
+
'CURS',
|
| 434 |
+
'CURSO',
|
| 435 |
+
'CURSOR',
|
| 436 |
+
'CURSOR-CHAR',
|
| 437 |
+
'CURSOR-LINE',
|
| 438 |
+
'CURSOR-OFFSET',
|
| 439 |
+
'DATA-BIND',
|
| 440 |
+
'DATA-ENTRY-RET',
|
| 441 |
+
'DATA-ENTRY-RETU',
|
| 442 |
+
'DATA-ENTRY-RETUR',
|
| 443 |
+
'DATA-ENTRY-RETURN',
|
| 444 |
+
'DATA-REL',
|
| 445 |
+
'DATA-RELA',
|
| 446 |
+
'DATA-RELAT',
|
| 447 |
+
'DATA-RELATI',
|
| 448 |
+
'DATA-RELATIO',
|
| 449 |
+
'DATA-RELATION',
|
| 450 |
+
'DATA-SOURCE',
|
| 451 |
+
'DATA-SOURCE-COMPLETE-MAP',
|
| 452 |
+
'DATA-SOURCE-MODIFIED',
|
| 453 |
+
'DATA-SOURCE-ROWID',
|
| 454 |
+
'DATA-T',
|
| 455 |
+
'DATA-TY',
|
| 456 |
+
'DATA-TYP',
|
| 457 |
+
'DATA-TYPE',
|
| 458 |
+
'DATABASE',
|
| 459 |
+
'DATASERVERS',
|
| 460 |
+
'DATASET',
|
| 461 |
+
'DATASET-HANDLE',
|
| 462 |
+
'DATE',
|
| 463 |
+
'DATE-F',
|
| 464 |
+
'DATE-FO',
|
| 465 |
+
'DATE-FOR',
|
| 466 |
+
'DATE-FORM',
|
| 467 |
+
'DATE-FORMA',
|
| 468 |
+
'DATE-FORMAT',
|
| 469 |
+
'DAY',
|
| 470 |
+
'DB-CONTEXT',
|
| 471 |
+
'DB-REFERENCES',
|
| 472 |
+
'DBCODEPAGE',
|
| 473 |
+
'DBCOLLATION',
|
| 474 |
+
'DBNAME',
|
| 475 |
+
'DBPARAM',
|
| 476 |
+
'DBREST',
|
| 477 |
+
'DBRESTR',
|
| 478 |
+
'DBRESTRI',
|
| 479 |
+
'DBRESTRIC',
|
| 480 |
+
'DBRESTRICT',
|
| 481 |
+
'DBRESTRICTI',
|
| 482 |
+
'DBRESTRICTIO',
|
| 483 |
+
'DBRESTRICTION',
|
| 484 |
+
'DBRESTRICTIONS',
|
| 485 |
+
'DBTASKID',
|
| 486 |
+
'DBTYPE',
|
| 487 |
+
'DBVERS',
|
| 488 |
+
'DBVERSI',
|
| 489 |
+
'DBVERSIO',
|
| 490 |
+
'DBVERSION',
|
| 491 |
+
'DCOLOR',
|
| 492 |
+
'DDE',
|
| 493 |
+
'DDE-ERROR',
|
| 494 |
+
'DDE-I',
|
| 495 |
+
'DDE-ID',
|
| 496 |
+
'DDE-ITEM',
|
| 497 |
+
'DDE-NAME',
|
| 498 |
+
'DDE-TOPIC',
|
| 499 |
+
'DEBLANK',
|
| 500 |
+
'DEBU',
|
| 501 |
+
'DEBUG',
|
| 502 |
+
'DEBUG-ALERT',
|
| 503 |
+
'DEBUG-LIST',
|
| 504 |
+
'DEBUGGER',
|
| 505 |
+
'DECIMAL',
|
| 506 |
+
'DECIMALS',
|
| 507 |
+
'DECLARE',
|
| 508 |
+
'DECLARE-NAMESPACE',
|
| 509 |
+
'DECRYPT',
|
| 510 |
+
'DEFAULT',
|
| 511 |
+
'DEFAULT-B',
|
| 512 |
+
'DEFAULT-BU',
|
| 513 |
+
'DEFAULT-BUFFER-HANDLE',
|
| 514 |
+
'DEFAULT-BUT',
|
| 515 |
+
'DEFAULT-BUTT',
|
| 516 |
+
'DEFAULT-BUTTO',
|
| 517 |
+
'DEFAULT-BUTTON',
|
| 518 |
+
'DEFAULT-COMMIT',
|
| 519 |
+
'DEFAULT-EX',
|
| 520 |
+
'DEFAULT-EXT',
|
| 521 |
+
'DEFAULT-EXTE',
|
| 522 |
+
'DEFAULT-EXTEN',
|
| 523 |
+
'DEFAULT-EXTENS',
|
| 524 |
+
'DEFAULT-EXTENSI',
|
| 525 |
+
'DEFAULT-EXTENSIO',
|
| 526 |
+
'DEFAULT-EXTENSION',
|
| 527 |
+
'DEFAULT-NOXL',
|
| 528 |
+
'DEFAULT-NOXLA',
|
| 529 |
+
'DEFAULT-NOXLAT',
|
| 530 |
+
'DEFAULT-NOXLATE',
|
| 531 |
+
'DEFAULT-VALUE',
|
| 532 |
+
'DEFAULT-WINDOW',
|
| 533 |
+
'DEFINE',
|
| 534 |
+
'DEFINE-USER-EVENT-MANAGER',
|
| 535 |
+
'DEFINED',
|
| 536 |
+
'DEL',
|
| 537 |
+
'DELE',
|
| 538 |
+
'DELEGATE',
|
| 539 |
+
'DELET',
|
| 540 |
+
'DELETE PROCEDURE',
|
| 541 |
+
'DELETE',
|
| 542 |
+
'DELETE-CHAR',
|
| 543 |
+
'DELETE-CHARA',
|
| 544 |
+
'DELETE-CHARAC',
|
| 545 |
+
'DELETE-CHARACT',
|
| 546 |
+
'DELETE-CHARACTE',
|
| 547 |
+
'DELETE-CHARACTER',
|
| 548 |
+
'DELETE-CURRENT-ROW',
|
| 549 |
+
'DELETE-LINE',
|
| 550 |
+
'DELETE-RESULT-LIST-ENTRY',
|
| 551 |
+
'DELETE-SELECTED-ROW',
|
| 552 |
+
'DELETE-SELECTED-ROWS',
|
| 553 |
+
'DELIMITER',
|
| 554 |
+
'DESC',
|
| 555 |
+
'DESCE',
|
| 556 |
+
'DESCEN',
|
| 557 |
+
'DESCEND',
|
| 558 |
+
'DESCENDI',
|
| 559 |
+
'DESCENDIN',
|
| 560 |
+
'DESCENDING',
|
| 561 |
+
'DESELECT-FOCUSED-ROW',
|
| 562 |
+
'DESELECT-ROWS',
|
| 563 |
+
'DESELECT-SELECTED-ROW',
|
| 564 |
+
'DESELECTION',
|
| 565 |
+
'DESTRUCTOR',
|
| 566 |
+
'DIALOG-BOX',
|
| 567 |
+
'DICT',
|
| 568 |
+
'DICTI',
|
| 569 |
+
'DICTIO',
|
| 570 |
+
'DICTION',
|
| 571 |
+
'DICTIONA',
|
| 572 |
+
'DICTIONAR',
|
| 573 |
+
'DICTIONARY',
|
| 574 |
+
'DIR',
|
| 575 |
+
'DISABLE',
|
| 576 |
+
'DISABLE-AUTO-ZAP',
|
| 577 |
+
'DISABLE-DUMP-TRIGGERS',
|
| 578 |
+
'DISABLE-LOAD-TRIGGERS',
|
| 579 |
+
'DISABLED',
|
| 580 |
+
'DISCON',
|
| 581 |
+
'DISCONN',
|
| 582 |
+
'DISCONNE',
|
| 583 |
+
'DISCONNEC',
|
| 584 |
+
'DISCONNECT',
|
| 585 |
+
'DISP',
|
| 586 |
+
'DISPL',
|
| 587 |
+
'DISPLA',
|
| 588 |
+
'DISPLAY',
|
| 589 |
+
'DISPLAY-MESSAGE',
|
| 590 |
+
'DISPLAY-T',
|
| 591 |
+
'DISPLAY-TY',
|
| 592 |
+
'DISPLAY-TYP',
|
| 593 |
+
'DISPLAY-TYPE',
|
| 594 |
+
'DISTINCT',
|
| 595 |
+
'DO',
|
| 596 |
+
'DOMAIN-DESCRIPTION',
|
| 597 |
+
'DOMAIN-NAME',
|
| 598 |
+
'DOMAIN-TYPE',
|
| 599 |
+
'DOS',
|
| 600 |
+
'DOUBLE',
|
| 601 |
+
'DOWN',
|
| 602 |
+
'DRAG-ENABLED',
|
| 603 |
+
'DROP',
|
| 604 |
+
'DROP-DOWN',
|
| 605 |
+
'DROP-DOWN-LIST',
|
| 606 |
+
'DROP-FILE-NOTIFY',
|
| 607 |
+
'DROP-TARGET',
|
| 608 |
+
'DS-CLOSE-CURSOR',
|
| 609 |
+
'DSLOG-MANAGER',
|
| 610 |
+
'DUMP',
|
| 611 |
+
'DYNAMIC',
|
| 612 |
+
'DYNAMIC-ENUM',
|
| 613 |
+
'DYNAMIC-FUNCTION',
|
| 614 |
+
'DYNAMIC-INVOKE',
|
| 615 |
+
'EACH',
|
| 616 |
+
'ECHO',
|
| 617 |
+
'EDGE',
|
| 618 |
+
'EDGE-',
|
| 619 |
+
'EDGE-C',
|
| 620 |
+
'EDGE-CH',
|
| 621 |
+
'EDGE-CHA',
|
| 622 |
+
'EDGE-CHAR',
|
| 623 |
+
'EDGE-CHARS',
|
| 624 |
+
'EDGE-P',
|
| 625 |
+
'EDGE-PI',
|
| 626 |
+
'EDGE-PIX',
|
| 627 |
+
'EDGE-PIXE',
|
| 628 |
+
'EDGE-PIXEL',
|
| 629 |
+
'EDGE-PIXELS',
|
| 630 |
+
'EDIT-CAN-PASTE',
|
| 631 |
+
'EDIT-CAN-UNDO',
|
| 632 |
+
'EDIT-CLEAR',
|
| 633 |
+
'EDIT-COPY',
|
| 634 |
+
'EDIT-CUT',
|
| 635 |
+
'EDIT-PASTE',
|
| 636 |
+
'EDIT-UNDO',
|
| 637 |
+
'EDITING',
|
| 638 |
+
'EDITOR',
|
| 639 |
+
'ELSE',
|
| 640 |
+
'EMPTY',
|
| 641 |
+
'EMPTY-TEMP-TABLE',
|
| 642 |
+
'ENABLE',
|
| 643 |
+
'ENABLED-FIELDS',
|
| 644 |
+
'ENCODE',
|
| 645 |
+
'ENCRYPT',
|
| 646 |
+
'ENCRYPT-AUDIT-MAC-KEY',
|
| 647 |
+
'ENCRYPTION-SALT',
|
| 648 |
+
'END',
|
| 649 |
+
'END-DOCUMENT',
|
| 650 |
+
'END-ELEMENT',
|
| 651 |
+
'END-EVENT-GROUP',
|
| 652 |
+
'END-FILE-DROP',
|
| 653 |
+
'END-KEY',
|
| 654 |
+
'END-MOVE',
|
| 655 |
+
'END-RESIZE',
|
| 656 |
+
'END-ROW-RESIZE',
|
| 657 |
+
'END-USER-PROMPT',
|
| 658 |
+
'ENDKEY',
|
| 659 |
+
'ENTERED',
|
| 660 |
+
'ENTITY-EXPANSION-LIMIT',
|
| 661 |
+
'ENTRY',
|
| 662 |
+
'ENUM',
|
| 663 |
+
'EQ',
|
| 664 |
+
'ERROR',
|
| 665 |
+
'ERROR-COL',
|
| 666 |
+
'ERROR-COLU',
|
| 667 |
+
'ERROR-COLUM',
|
| 668 |
+
'ERROR-COLUMN',
|
| 669 |
+
'ERROR-ROW',
|
| 670 |
+
'ERROR-STACK-TRACE',
|
| 671 |
+
'ERROR-STAT',
|
| 672 |
+
'ERROR-STATU',
|
| 673 |
+
'ERROR-STATUS',
|
| 674 |
+
'ESCAPE',
|
| 675 |
+
'ETIME',
|
| 676 |
+
'EVENT',
|
| 677 |
+
'EVENT-GROUP-ID',
|
| 678 |
+
'EVENT-PROCEDURE',
|
| 679 |
+
'EVENT-PROCEDURE-CONTEXT',
|
| 680 |
+
'EVENT-T',
|
| 681 |
+
'EVENT-TY',
|
| 682 |
+
'EVENT-TYP',
|
| 683 |
+
'EVENT-TYPE',
|
| 684 |
+
'EVENTS',
|
| 685 |
+
'EXCEPT',
|
| 686 |
+
'EXCLUSIVE',
|
| 687 |
+
'EXCLUSIVE-',
|
| 688 |
+
'EXCLUSIVE-ID',
|
| 689 |
+
'EXCLUSIVE-L',
|
| 690 |
+
'EXCLUSIVE-LO',
|
| 691 |
+
'EXCLUSIVE-LOC',
|
| 692 |
+
'EXCLUSIVE-LOCK',
|
| 693 |
+
'EXCLUSIVE-WEB-USER',
|
| 694 |
+
'EXECUTE',
|
| 695 |
+
'EXISTS',
|
| 696 |
+
'EXP',
|
| 697 |
+
'EXPAND',
|
| 698 |
+
'EXPANDABLE',
|
| 699 |
+
'EXPLICIT',
|
| 700 |
+
'EXPORT',
|
| 701 |
+
'EXPORT-PRINCIPAL',
|
| 702 |
+
'EXTENDED',
|
| 703 |
+
'EXTENT',
|
| 704 |
+
'EXTERNAL',
|
| 705 |
+
'FALSE',
|
| 706 |
+
'FETCH',
|
| 707 |
+
'FETCH-SELECTED-ROW',
|
| 708 |
+
'FGC',
|
| 709 |
+
'FGCO',
|
| 710 |
+
'FGCOL',
|
| 711 |
+
'FGCOLO',
|
| 712 |
+
'FGCOLOR',
|
| 713 |
+
'FIELD',
|
| 714 |
+
'FIELDS',
|
| 715 |
+
'FILE',
|
| 716 |
+
'FILE-CREATE-DATE',
|
| 717 |
+
'FILE-CREATE-TIME',
|
| 718 |
+
'FILE-INFO',
|
| 719 |
+
'FILE-INFOR',
|
| 720 |
+
'FILE-INFORM',
|
| 721 |
+
'FILE-INFORMA',
|
| 722 |
+
'FILE-INFORMAT',
|
| 723 |
+
'FILE-INFORMATI',
|
| 724 |
+
'FILE-INFORMATIO',
|
| 725 |
+
'FILE-INFORMATION',
|
| 726 |
+
'FILE-MOD-DATE',
|
| 727 |
+
'FILE-MOD-TIME',
|
| 728 |
+
'FILE-NAME',
|
| 729 |
+
'FILE-OFF',
|
| 730 |
+
'FILE-OFFS',
|
| 731 |
+
'FILE-OFFSE',
|
| 732 |
+
'FILE-OFFSET',
|
| 733 |
+
'FILE-SIZE',
|
| 734 |
+
'FILE-TYPE',
|
| 735 |
+
'FILENAME',
|
| 736 |
+
'FILL',
|
| 737 |
+
'FILL-IN',
|
| 738 |
+
'FILLED',
|
| 739 |
+
'FILTERS',
|
| 740 |
+
'FINAL',
|
| 741 |
+
'FINALLY',
|
| 742 |
+
'FIND',
|
| 743 |
+
'FIND-BY-ROWID',
|
| 744 |
+
'FIND-CASE-SENSITIVE',
|
| 745 |
+
'FIND-CURRENT',
|
| 746 |
+
'FIND-FIRST',
|
| 747 |
+
'FIND-GLOBAL',
|
| 748 |
+
'FIND-LAST',
|
| 749 |
+
'FIND-NEXT-OCCURRENCE',
|
| 750 |
+
'FIND-PREV-OCCURRENCE',
|
| 751 |
+
'FIND-SELECT',
|
| 752 |
+
'FIND-UNIQUE',
|
| 753 |
+
'FIND-WRAP-AROUND',
|
| 754 |
+
'FINDER',
|
| 755 |
+
'FIRST',
|
| 756 |
+
'FIRST-ASYNCH-REQUEST',
|
| 757 |
+
'FIRST-CHILD',
|
| 758 |
+
'FIRST-COLUMN',
|
| 759 |
+
'FIRST-FORM',
|
| 760 |
+
'FIRST-OBJECT',
|
| 761 |
+
'FIRST-OF',
|
| 762 |
+
'FIRST-PROC',
|
| 763 |
+
'FIRST-PROCE',
|
| 764 |
+
'FIRST-PROCED',
|
| 765 |
+
'FIRST-PROCEDU',
|
| 766 |
+
'FIRST-PROCEDUR',
|
| 767 |
+
'FIRST-PROCEDURE',
|
| 768 |
+
'FIRST-SERVER',
|
| 769 |
+
'FIRST-TAB-I',
|
| 770 |
+
'FIRST-TAB-IT',
|
| 771 |
+
'FIRST-TAB-ITE',
|
| 772 |
+
'FIRST-TAB-ITEM',
|
| 773 |
+
'FIT-LAST-COLUMN',
|
| 774 |
+
'FIXED-ONLY',
|
| 775 |
+
'FLAT-BUTTON',
|
| 776 |
+
'FLOAT',
|
| 777 |
+
'FOCUS',
|
| 778 |
+
'FOCUSED-ROW',
|
| 779 |
+
'FOCUSED-ROW-SELECTED',
|
| 780 |
+
'FONT',
|
| 781 |
+
'FONT-TABLE',
|
| 782 |
+
'FOR',
|
| 783 |
+
'FORCE-FILE',
|
| 784 |
+
'FORE',
|
| 785 |
+
'FOREG',
|
| 786 |
+
'FOREGR',
|
| 787 |
+
'FOREGRO',
|
| 788 |
+
'FOREGROU',
|
| 789 |
+
'FOREGROUN',
|
| 790 |
+
'FOREGROUND',
|
| 791 |
+
'FORM INPUT',
|
| 792 |
+
'FORM',
|
| 793 |
+
'FORM-LONG-INPUT',
|
| 794 |
+
'FORMA',
|
| 795 |
+
'FORMAT',
|
| 796 |
+
'FORMATTE',
|
| 797 |
+
'FORMATTED',
|
| 798 |
+
'FORWARD',
|
| 799 |
+
'FORWARDS',
|
| 800 |
+
'FRAGMEN',
|
| 801 |
+
'FRAGMENT',
|
| 802 |
+
'FRAM',
|
| 803 |
+
'FRAME',
|
| 804 |
+
'FRAME-COL',
|
| 805 |
+
'FRAME-DB',
|
| 806 |
+
'FRAME-DOWN',
|
| 807 |
+
'FRAME-FIELD',
|
| 808 |
+
'FRAME-FILE',
|
| 809 |
+
'FRAME-INDE',
|
| 810 |
+
'FRAME-INDEX',
|
| 811 |
+
'FRAME-LINE',
|
| 812 |
+
'FRAME-NAME',
|
| 813 |
+
'FRAME-ROW',
|
| 814 |
+
'FRAME-SPA',
|
| 815 |
+
'FRAME-SPAC',
|
| 816 |
+
'FRAME-SPACI',
|
| 817 |
+
'FRAME-SPACIN',
|
| 818 |
+
'FRAME-SPACING',
|
| 819 |
+
'FRAME-VAL',
|
| 820 |
+
'FRAME-VALU',
|
| 821 |
+
'FRAME-VALUE',
|
| 822 |
+
'FRAME-X',
|
| 823 |
+
'FRAME-Y',
|
| 824 |
+
'FREQUENCY',
|
| 825 |
+
'FROM',
|
| 826 |
+
'FROM-C',
|
| 827 |
+
'FROM-CH',
|
| 828 |
+
'FROM-CHA',
|
| 829 |
+
'FROM-CHAR',
|
| 830 |
+
'FROM-CHARS',
|
| 831 |
+
'FROM-CUR',
|
| 832 |
+
'FROM-CURR',
|
| 833 |
+
'FROM-CURRE',
|
| 834 |
+
'FROM-CURREN',
|
| 835 |
+
'FROM-CURRENT',
|
| 836 |
+
'FROM-P',
|
| 837 |
+
'FROM-PI',
|
| 838 |
+
'FROM-PIX',
|
| 839 |
+
'FROM-PIXE',
|
| 840 |
+
'FROM-PIXEL',
|
| 841 |
+
'FROM-PIXELS',
|
| 842 |
+
'FULL-HEIGHT',
|
| 843 |
+
'FULL-HEIGHT-',
|
| 844 |
+
'FULL-HEIGHT-C',
|
| 845 |
+
'FULL-HEIGHT-CH',
|
| 846 |
+
'FULL-HEIGHT-CHA',
|
| 847 |
+
'FULL-HEIGHT-CHAR',
|
| 848 |
+
'FULL-HEIGHT-CHARS',
|
| 849 |
+
'FULL-HEIGHT-P',
|
| 850 |
+
'FULL-HEIGHT-PI',
|
| 851 |
+
'FULL-HEIGHT-PIX',
|
| 852 |
+
'FULL-HEIGHT-PIXE',
|
| 853 |
+
'FULL-HEIGHT-PIXEL',
|
| 854 |
+
'FULL-HEIGHT-PIXELS',
|
| 855 |
+
'FULL-PATHN',
|
| 856 |
+
'FULL-PATHNA',
|
| 857 |
+
'FULL-PATHNAM',
|
| 858 |
+
'FULL-PATHNAME',
|
| 859 |
+
'FULL-WIDTH',
|
| 860 |
+
'FULL-WIDTH-',
|
| 861 |
+
'FULL-WIDTH-C',
|
| 862 |
+
'FULL-WIDTH-CH',
|
| 863 |
+
'FULL-WIDTH-CHA',
|
| 864 |
+
'FULL-WIDTH-CHAR',
|
| 865 |
+
'FULL-WIDTH-CHARS',
|
| 866 |
+
'FULL-WIDTH-P',
|
| 867 |
+
'FULL-WIDTH-PI',
|
| 868 |
+
'FULL-WIDTH-PIX',
|
| 869 |
+
'FULL-WIDTH-PIXE',
|
| 870 |
+
'FULL-WIDTH-PIXEL',
|
| 871 |
+
'FULL-WIDTH-PIXELS',
|
| 872 |
+
'FUNCTION',
|
| 873 |
+
'FUNCTION-CALL-TYPE',
|
| 874 |
+
'GATEWAY',
|
| 875 |
+
'GATEWAYS',
|
| 876 |
+
'GE',
|
| 877 |
+
'GENERATE-MD5',
|
| 878 |
+
'GENERATE-PBE-KEY',
|
| 879 |
+
'GENERATE-PBE-SALT',
|
| 880 |
+
'GENERATE-RANDOM-KEY',
|
| 881 |
+
'GENERATE-UUID',
|
| 882 |
+
'GET',
|
| 883 |
+
'GET-ATTR-CALL-TYPE',
|
| 884 |
+
'GET-ATTRIBUTE-NODE',
|
| 885 |
+
'GET-BINARY-DATA',
|
| 886 |
+
'GET-BLUE',
|
| 887 |
+
'GET-BLUE-',
|
| 888 |
+
'GET-BLUE-V',
|
| 889 |
+
'GET-BLUE-VA',
|
| 890 |
+
'GET-BLUE-VAL',
|
| 891 |
+
'GET-BLUE-VALU',
|
| 892 |
+
'GET-BLUE-VALUE',
|
| 893 |
+
'GET-BROWSE-COLUMN',
|
| 894 |
+
'GET-BUFFER-HANDLE',
|
| 895 |
+
'GET-BYTE',
|
| 896 |
+
'GET-CALLBACK-PROC-CONTEXT',
|
| 897 |
+
'GET-CALLBACK-PROC-NAME',
|
| 898 |
+
'GET-CGI-LIST',
|
| 899 |
+
'GET-CGI-LONG-VALUE',
|
| 900 |
+
'GET-CGI-VALUE',
|
| 901 |
+
'GET-CLASS',
|
| 902 |
+
'GET-CODEPAGES',
|
| 903 |
+
'GET-COLLATIONS',
|
| 904 |
+
'GET-CONFIG-VALUE',
|
| 905 |
+
'GET-CURRENT',
|
| 906 |
+
'GET-DOUBLE',
|
| 907 |
+
'GET-DROPPED-FILE',
|
| 908 |
+
'GET-DYNAMIC',
|
| 909 |
+
'GET-ERROR-COLUMN',
|
| 910 |
+
'GET-ERROR-ROW',
|
| 911 |
+
'GET-FILE',
|
| 912 |
+
'GET-FILE-NAME',
|
| 913 |
+
'GET-FILE-OFFSE',
|
| 914 |
+
'GET-FILE-OFFSET',
|
| 915 |
+
'GET-FIRST',
|
| 916 |
+
'GET-FLOAT',
|
| 917 |
+
'GET-GREEN',
|
| 918 |
+
'GET-GREEN-',
|
| 919 |
+
'GET-GREEN-V',
|
| 920 |
+
'GET-GREEN-VA',
|
| 921 |
+
'GET-GREEN-VAL',
|
| 922 |
+
'GET-GREEN-VALU',
|
| 923 |
+
'GET-GREEN-VALUE',
|
| 924 |
+
'GET-INDEX-BY-NAMESPACE-NAME',
|
| 925 |
+
'GET-INDEX-BY-QNAME',
|
| 926 |
+
'GET-INT64',
|
| 927 |
+
'GET-ITERATION',
|
| 928 |
+
'GET-KEY-VAL',
|
| 929 |
+
'GET-KEY-VALU',
|
| 930 |
+
'GET-KEY-VALUE',
|
| 931 |
+
'GET-LAST',
|
| 932 |
+
'GET-LOCALNAME-BY-INDEX',
|
| 933 |
+
'GET-LONG',
|
| 934 |
+
'GET-MESSAGE',
|
| 935 |
+
'GET-NEXT',
|
| 936 |
+
'GET-NUMBER',
|
| 937 |
+
'GET-POINTER-VALUE',
|
| 938 |
+
'GET-PREV',
|
| 939 |
+
'GET-PRINTERS',
|
| 940 |
+
'GET-PROPERTY',
|
| 941 |
+
'GET-QNAME-BY-INDEX',
|
| 942 |
+
'GET-RED',
|
| 943 |
+
'GET-RED-',
|
| 944 |
+
'GET-RED-V',
|
| 945 |
+
'GET-RED-VA',
|
| 946 |
+
'GET-RED-VAL',
|
| 947 |
+
'GET-RED-VALU',
|
| 948 |
+
'GET-RED-VALUE',
|
| 949 |
+
'GET-REPOSITIONED-ROW',
|
| 950 |
+
'GET-RGB-VALUE',
|
| 951 |
+
'GET-SELECTED',
|
| 952 |
+
'GET-SELECTED-',
|
| 953 |
+
'GET-SELECTED-W',
|
| 954 |
+
'GET-SELECTED-WI',
|
| 955 |
+
'GET-SELECTED-WID',
|
| 956 |
+
'GET-SELECTED-WIDG',
|
| 957 |
+
'GET-SELECTED-WIDGE',
|
| 958 |
+
'GET-SELECTED-WIDGET',
|
| 959 |
+
'GET-SHORT',
|
| 960 |
+
'GET-SIGNATURE',
|
| 961 |
+
'GET-SIZE',
|
| 962 |
+
'GET-STRING',
|
| 963 |
+
'GET-TAB-ITEM',
|
| 964 |
+
'GET-TEXT-HEIGHT',
|
| 965 |
+
'GET-TEXT-HEIGHT-',
|
| 966 |
+
'GET-TEXT-HEIGHT-C',
|
| 967 |
+
'GET-TEXT-HEIGHT-CH',
|
| 968 |
+
'GET-TEXT-HEIGHT-CHA',
|
| 969 |
+
'GET-TEXT-HEIGHT-CHAR',
|
| 970 |
+
'GET-TEXT-HEIGHT-CHARS',
|
| 971 |
+
'GET-TEXT-HEIGHT-P',
|
| 972 |
+
'GET-TEXT-HEIGHT-PI',
|
| 973 |
+
'GET-TEXT-HEIGHT-PIX',
|
| 974 |
+
'GET-TEXT-HEIGHT-PIXE',
|
| 975 |
+
'GET-TEXT-HEIGHT-PIXEL',
|
| 976 |
+
'GET-TEXT-HEIGHT-PIXELS',
|
| 977 |
+
'GET-TEXT-WIDTH',
|
| 978 |
+
'GET-TEXT-WIDTH-',
|
| 979 |
+
'GET-TEXT-WIDTH-C',
|
| 980 |
+
'GET-TEXT-WIDTH-CH',
|
| 981 |
+
'GET-TEXT-WIDTH-CHA',
|
| 982 |
+
'GET-TEXT-WIDTH-CHAR',
|
| 983 |
+
'GET-TEXT-WIDTH-CHARS',
|
| 984 |
+
'GET-TEXT-WIDTH-P',
|
| 985 |
+
'GET-TEXT-WIDTH-PI',
|
| 986 |
+
'GET-TEXT-WIDTH-PIX',
|
| 987 |
+
'GET-TEXT-WIDTH-PIXE',
|
| 988 |
+
'GET-TEXT-WIDTH-PIXEL',
|
| 989 |
+
'GET-TEXT-WIDTH-PIXELS',
|
| 990 |
+
'GET-TYPE-BY-INDEX',
|
| 991 |
+
'GET-TYPE-BY-NAMESPACE-NAME',
|
| 992 |
+
'GET-TYPE-BY-QNAME',
|
| 993 |
+
'GET-UNSIGNED-LONG',
|
| 994 |
+
'GET-UNSIGNED-SHORT',
|
| 995 |
+
'GET-URI-BY-INDEX',
|
| 996 |
+
'GET-VALUE-BY-INDEX',
|
| 997 |
+
'GET-VALUE-BY-NAMESPACE-NAME',
|
| 998 |
+
'GET-VALUE-BY-QNAME',
|
| 999 |
+
'GET-WAIT-STATE',
|
| 1000 |
+
'GETBYTE',
|
| 1001 |
+
'GLOBAL',
|
| 1002 |
+
'GO-ON',
|
| 1003 |
+
'GO-PEND',
|
| 1004 |
+
'GO-PENDI',
|
| 1005 |
+
'GO-PENDIN',
|
| 1006 |
+
'GO-PENDING',
|
| 1007 |
+
'GRANT',
|
| 1008 |
+
'GRAPHIC-E',
|
| 1009 |
+
'GRAPHIC-ED',
|
| 1010 |
+
'GRAPHIC-EDG',
|
| 1011 |
+
'GRAPHIC-EDGE',
|
| 1012 |
+
'GRID-FACTOR-H',
|
| 1013 |
+
'GRID-FACTOR-HO',
|
| 1014 |
+
'GRID-FACTOR-HOR',
|
| 1015 |
+
'GRID-FACTOR-HORI',
|
| 1016 |
+
'GRID-FACTOR-HORIZ',
|
| 1017 |
+
'GRID-FACTOR-HORIZO',
|
| 1018 |
+
'GRID-FACTOR-HORIZON',
|
| 1019 |
+
'GRID-FACTOR-HORIZONT',
|
| 1020 |
+
'GRID-FACTOR-HORIZONTA',
|
| 1021 |
+
'GRID-FACTOR-HORIZONTAL',
|
| 1022 |
+
'GRID-FACTOR-V',
|
| 1023 |
+
'GRID-FACTOR-VE',
|
| 1024 |
+
'GRID-FACTOR-VER',
|
| 1025 |
+
'GRID-FACTOR-VERT',
|
| 1026 |
+
'GRID-FACTOR-VERTI',
|
| 1027 |
+
'GRID-FACTOR-VERTIC',
|
| 1028 |
+
'GRID-FACTOR-VERTICA',
|
| 1029 |
+
'GRID-FACTOR-VERTICAL',
|
| 1030 |
+
'GRID-SNAP',
|
| 1031 |
+
'GRID-UNIT-HEIGHT',
|
| 1032 |
+
'GRID-UNIT-HEIGHT-',
|
| 1033 |
+
'GRID-UNIT-HEIGHT-C',
|
| 1034 |
+
'GRID-UNIT-HEIGHT-CH',
|
| 1035 |
+
'GRID-UNIT-HEIGHT-CHA',
|
| 1036 |
+
'GRID-UNIT-HEIGHT-CHARS',
|
| 1037 |
+
'GRID-UNIT-HEIGHT-P',
|
| 1038 |
+
'GRID-UNIT-HEIGHT-PI',
|
| 1039 |
+
'GRID-UNIT-HEIGHT-PIX',
|
| 1040 |
+
'GRID-UNIT-HEIGHT-PIXE',
|
| 1041 |
+
'GRID-UNIT-HEIGHT-PIXEL',
|
| 1042 |
+
'GRID-UNIT-HEIGHT-PIXELS',
|
| 1043 |
+
'GRID-UNIT-WIDTH',
|
| 1044 |
+
'GRID-UNIT-WIDTH-',
|
| 1045 |
+
'GRID-UNIT-WIDTH-C',
|
| 1046 |
+
'GRID-UNIT-WIDTH-CH',
|
| 1047 |
+
'GRID-UNIT-WIDTH-CHA',
|
| 1048 |
+
'GRID-UNIT-WIDTH-CHAR',
|
| 1049 |
+
'GRID-UNIT-WIDTH-CHARS',
|
| 1050 |
+
'GRID-UNIT-WIDTH-P',
|
| 1051 |
+
'GRID-UNIT-WIDTH-PI',
|
| 1052 |
+
'GRID-UNIT-WIDTH-PIX',
|
| 1053 |
+
'GRID-UNIT-WIDTH-PIXE',
|
| 1054 |
+
'GRID-UNIT-WIDTH-PIXEL',
|
| 1055 |
+
'GRID-UNIT-WIDTH-PIXELS',
|
| 1056 |
+
'GRID-VISIBLE',
|
| 1057 |
+
'GROUP',
|
| 1058 |
+
'GT',
|
| 1059 |
+
'GUID',
|
| 1060 |
+
'HANDLE',
|
| 1061 |
+
'HANDLER',
|
| 1062 |
+
'HAS-RECORDS',
|
| 1063 |
+
'HAVING',
|
| 1064 |
+
'HEADER',
|
| 1065 |
+
'HEIGHT',
|
| 1066 |
+
'HEIGHT-',
|
| 1067 |
+
'HEIGHT-C',
|
| 1068 |
+
'HEIGHT-CH',
|
| 1069 |
+
'HEIGHT-CHA',
|
| 1070 |
+
'HEIGHT-CHAR',
|
| 1071 |
+
'HEIGHT-CHARS',
|
| 1072 |
+
'HEIGHT-P',
|
| 1073 |
+
'HEIGHT-PI',
|
| 1074 |
+
'HEIGHT-PIX',
|
| 1075 |
+
'HEIGHT-PIXE',
|
| 1076 |
+
'HEIGHT-PIXEL',
|
| 1077 |
+
'HEIGHT-PIXELS',
|
| 1078 |
+
'HELP',
|
| 1079 |
+
'HEX-DECODE',
|
| 1080 |
+
'HEX-ENCODE',
|
| 1081 |
+
'HIDDEN',
|
| 1082 |
+
'HIDE',
|
| 1083 |
+
'HORI',
|
| 1084 |
+
'HORIZ',
|
| 1085 |
+
'HORIZO',
|
| 1086 |
+
'HORIZON',
|
| 1087 |
+
'HORIZONT',
|
| 1088 |
+
'HORIZONTA',
|
| 1089 |
+
'HORIZONTAL',
|
| 1090 |
+
'HOST-BYTE-ORDER',
|
| 1091 |
+
'HTML-CHARSET',
|
| 1092 |
+
'HTML-END-OF-LINE',
|
| 1093 |
+
'HTML-END-OF-PAGE',
|
| 1094 |
+
'HTML-FRAME-BEGIN',
|
| 1095 |
+
'HTML-FRAME-END',
|
| 1096 |
+
'HTML-HEADER-BEGIN',
|
| 1097 |
+
'HTML-HEADER-END',
|
| 1098 |
+
'HTML-TITLE-BEGIN',
|
| 1099 |
+
'HTML-TITLE-END',
|
| 1100 |
+
'HWND',
|
| 1101 |
+
'ICON',
|
| 1102 |
+
'IF',
|
| 1103 |
+
'IMAGE',
|
| 1104 |
+
'IMAGE-DOWN',
|
| 1105 |
+
'IMAGE-INSENSITIVE',
|
| 1106 |
+
'IMAGE-SIZE',
|
| 1107 |
+
'IMAGE-SIZE-C',
|
| 1108 |
+
'IMAGE-SIZE-CH',
|
| 1109 |
+
'IMAGE-SIZE-CHA',
|
| 1110 |
+
'IMAGE-SIZE-CHAR',
|
| 1111 |
+
'IMAGE-SIZE-CHARS',
|
| 1112 |
+
'IMAGE-SIZE-P',
|
| 1113 |
+
'IMAGE-SIZE-PI',
|
| 1114 |
+
'IMAGE-SIZE-PIX',
|
| 1115 |
+
'IMAGE-SIZE-PIXE',
|
| 1116 |
+
'IMAGE-SIZE-PIXEL',
|
| 1117 |
+
'IMAGE-SIZE-PIXELS',
|
| 1118 |
+
'IMAGE-UP',
|
| 1119 |
+
'IMMEDIATE-DISPLAY',
|
| 1120 |
+
'IMPLEMENTS',
|
| 1121 |
+
'IMPORT',
|
| 1122 |
+
'IMPORT-PRINCIPAL',
|
| 1123 |
+
'IN',
|
| 1124 |
+
'IN-HANDLE',
|
| 1125 |
+
'INCREMENT-EXCLUSIVE-ID',
|
| 1126 |
+
'INDEX',
|
| 1127 |
+
'INDEX-HINT',
|
| 1128 |
+
'INDEX-INFORMATION',
|
| 1129 |
+
'INDEXED-REPOSITION',
|
| 1130 |
+
'INDICATOR',
|
| 1131 |
+
'INFO',
|
| 1132 |
+
'INFOR',
|
| 1133 |
+
'INFORM',
|
| 1134 |
+
'INFORMA',
|
| 1135 |
+
'INFORMAT',
|
| 1136 |
+
'INFORMATI',
|
| 1137 |
+
'INFORMATIO',
|
| 1138 |
+
'INFORMATION',
|
| 1139 |
+
'INHERIT-BGC',
|
| 1140 |
+
'INHERIT-BGCO',
|
| 1141 |
+
'INHERIT-BGCOL',
|
| 1142 |
+
'INHERIT-BGCOLO',
|
| 1143 |
+
'INHERIT-BGCOLOR',
|
| 1144 |
+
'INHERIT-FGC',
|
| 1145 |
+
'INHERIT-FGCO',
|
| 1146 |
+
'INHERIT-FGCOL',
|
| 1147 |
+
'INHERIT-FGCOLO',
|
| 1148 |
+
'INHERIT-FGCOLOR',
|
| 1149 |
+
'INHERITS',
|
| 1150 |
+
'INIT',
|
| 1151 |
+
'INITI',
|
| 1152 |
+
'INITIA',
|
| 1153 |
+
'INITIAL',
|
| 1154 |
+
'INITIAL-DIR',
|
| 1155 |
+
'INITIAL-FILTER',
|
| 1156 |
+
'INITIALIZE-DOCUMENT-TYPE',
|
| 1157 |
+
'INITIATE',
|
| 1158 |
+
'INNER-CHARS',
|
| 1159 |
+
'INNER-LINES',
|
| 1160 |
+
'INPUT',
|
| 1161 |
+
'INPUT-O',
|
| 1162 |
+
'INPUT-OU',
|
| 1163 |
+
'INPUT-OUT',
|
| 1164 |
+
'INPUT-OUTP',
|
| 1165 |
+
'INPUT-OUTPU',
|
| 1166 |
+
'INPUT-OUTPUT',
|
| 1167 |
+
'INPUT-VALUE',
|
| 1168 |
+
'INSERT',
|
| 1169 |
+
'INSERT-ATTRIBUTE',
|
| 1170 |
+
'INSERT-B',
|
| 1171 |
+
'INSERT-BA',
|
| 1172 |
+
'INSERT-BAC',
|
| 1173 |
+
'INSERT-BACK',
|
| 1174 |
+
'INSERT-BACKT',
|
| 1175 |
+
'INSERT-BACKTA',
|
| 1176 |
+
'INSERT-BACKTAB',
|
| 1177 |
+
'INSERT-FILE',
|
| 1178 |
+
'INSERT-ROW',
|
| 1179 |
+
'INSERT-STRING',
|
| 1180 |
+
'INSERT-T',
|
| 1181 |
+
'INSERT-TA',
|
| 1182 |
+
'INSERT-TAB',
|
| 1183 |
+
'INT64',
|
| 1184 |
+
'INT',
|
| 1185 |
+
'INTEGER',
|
| 1186 |
+
'INTERFACE',
|
| 1187 |
+
'INTERNAL-ENTRIES',
|
| 1188 |
+
'INTO',
|
| 1189 |
+
'INVOKE',
|
| 1190 |
+
'IS',
|
| 1191 |
+
'IS-ATTR',
|
| 1192 |
+
'IS-ATTR-',
|
| 1193 |
+
'IS-ATTR-S',
|
| 1194 |
+
'IS-ATTR-SP',
|
| 1195 |
+
'IS-ATTR-SPA',
|
| 1196 |
+
'IS-ATTR-SPAC',
|
| 1197 |
+
'IS-ATTR-SPACE',
|
| 1198 |
+
'IS-CLASS',
|
| 1199 |
+
'IS-JSON',
|
| 1200 |
+
'IS-LEAD-BYTE',
|
| 1201 |
+
'IS-OPEN',
|
| 1202 |
+
'IS-PARAMETER-SET',
|
| 1203 |
+
'IS-PARTITIONED',
|
| 1204 |
+
'IS-ROW-SELECTED',
|
| 1205 |
+
'IS-SELECTED',
|
| 1206 |
+
'IS-XML',
|
| 1207 |
+
'ITEM',
|
| 1208 |
+
'ITEMS-PER-ROW',
|
| 1209 |
+
'JOIN',
|
| 1210 |
+
'JOIN-BY-SQLDB',
|
| 1211 |
+
'KBLABEL',
|
| 1212 |
+
'KEEP-CONNECTION-OPEN',
|
| 1213 |
+
'KEEP-FRAME-Z',
|
| 1214 |
+
'KEEP-FRAME-Z-',
|
| 1215 |
+
'KEEP-FRAME-Z-O',
|
| 1216 |
+
'KEEP-FRAME-Z-OR',
|
| 1217 |
+
'KEEP-FRAME-Z-ORD',
|
| 1218 |
+
'KEEP-FRAME-Z-ORDE',
|
| 1219 |
+
'KEEP-FRAME-Z-ORDER',
|
| 1220 |
+
'KEEP-MESSAGES',
|
| 1221 |
+
'KEEP-SECURITY-CACHE',
|
| 1222 |
+
'KEEP-TAB-ORDER',
|
| 1223 |
+
'KEY',
|
| 1224 |
+
'KEY-CODE',
|
| 1225 |
+
'KEY-FUNC',
|
| 1226 |
+
'KEY-FUNCT',
|
| 1227 |
+
'KEY-FUNCTI',
|
| 1228 |
+
'KEY-FUNCTIO',
|
| 1229 |
+
'KEY-FUNCTION',
|
| 1230 |
+
'KEY-LABEL',
|
| 1231 |
+
'KEYCODE',
|
| 1232 |
+
'KEYFUNC',
|
| 1233 |
+
'KEYFUNCT',
|
| 1234 |
+
'KEYFUNCTI',
|
| 1235 |
+
'KEYFUNCTIO',
|
| 1236 |
+
'KEYFUNCTION',
|
| 1237 |
+
'KEYLABEL',
|
| 1238 |
+
'KEYS',
|
| 1239 |
+
'KEYWORD',
|
| 1240 |
+
'KEYWORD-ALL',
|
| 1241 |
+
'LABEL',
|
| 1242 |
+
'LABEL-BGC',
|
| 1243 |
+
'LABEL-BGCO',
|
| 1244 |
+
'LABEL-BGCOL',
|
| 1245 |
+
'LABEL-BGCOLO',
|
| 1246 |
+
'LABEL-BGCOLOR',
|
| 1247 |
+
'LABEL-DC',
|
| 1248 |
+
'LABEL-DCO',
|
| 1249 |
+
'LABEL-DCOL',
|
| 1250 |
+
'LABEL-DCOLO',
|
| 1251 |
+
'LABEL-DCOLOR',
|
| 1252 |
+
'LABEL-FGC',
|
| 1253 |
+
'LABEL-FGCO',
|
| 1254 |
+
'LABEL-FGCOL',
|
| 1255 |
+
'LABEL-FGCOLO',
|
| 1256 |
+
'LABEL-FGCOLOR',
|
| 1257 |
+
'LABEL-FONT',
|
| 1258 |
+
'LABEL-PFC',
|
| 1259 |
+
'LABEL-PFCO',
|
| 1260 |
+
'LABEL-PFCOL',
|
| 1261 |
+
'LABEL-PFCOLO',
|
| 1262 |
+
'LABEL-PFCOLOR',
|
| 1263 |
+
'LABELS',
|
| 1264 |
+
'LABELS-HAVE-COLONS',
|
| 1265 |
+
'LANDSCAPE',
|
| 1266 |
+
'LANGUAGE',
|
| 1267 |
+
'LANGUAGES',
|
| 1268 |
+
'LARGE',
|
| 1269 |
+
'LARGE-TO-SMALL',
|
| 1270 |
+
'LAST',
|
| 1271 |
+
'LAST-ASYNCH-REQUEST',
|
| 1272 |
+
'LAST-BATCH',
|
| 1273 |
+
'LAST-CHILD',
|
| 1274 |
+
'LAST-EVEN',
|
| 1275 |
+
'LAST-EVENT',
|
| 1276 |
+
'LAST-FORM',
|
| 1277 |
+
'LAST-KEY',
|
| 1278 |
+
'LAST-OBJECT',
|
| 1279 |
+
'LAST-OF',
|
| 1280 |
+
'LAST-PROCE',
|
| 1281 |
+
'LAST-PROCED',
|
| 1282 |
+
'LAST-PROCEDU',
|
| 1283 |
+
'LAST-PROCEDUR',
|
| 1284 |
+
'LAST-PROCEDURE',
|
| 1285 |
+
'LAST-SERVER',
|
| 1286 |
+
'LAST-TAB-I',
|
| 1287 |
+
'LAST-TAB-IT',
|
| 1288 |
+
'LAST-TAB-ITE',
|
| 1289 |
+
'LAST-TAB-ITEM',
|
| 1290 |
+
'LASTKEY',
|
| 1291 |
+
'LC',
|
| 1292 |
+
'LDBNAME',
|
| 1293 |
+
'LE',
|
| 1294 |
+
'LEAVE',
|
| 1295 |
+
'LEFT-ALIGN',
|
| 1296 |
+
'LEFT-ALIGNE',
|
| 1297 |
+
'LEFT-ALIGNED',
|
| 1298 |
+
'LEFT-TRIM',
|
| 1299 |
+
'LENGTH',
|
| 1300 |
+
'LIBRARY',
|
| 1301 |
+
'LIKE',
|
| 1302 |
+
'LIKE-SEQUENTIAL',
|
| 1303 |
+
'LINE',
|
| 1304 |
+
'LINE-COUNT',
|
| 1305 |
+
'LINE-COUNTE',
|
| 1306 |
+
'LINE-COUNTER',
|
| 1307 |
+
'LIST-EVENTS',
|
| 1308 |
+
'LIST-ITEM-PAIRS',
|
| 1309 |
+
'LIST-ITEMS',
|
| 1310 |
+
'LIST-PROPERTY-NAMES',
|
| 1311 |
+
'LIST-QUERY-ATTRS',
|
| 1312 |
+
'LIST-SET-ATTRS',
|
| 1313 |
+
'LIST-WIDGETS',
|
| 1314 |
+
'LISTI',
|
| 1315 |
+
'LISTIN',
|
| 1316 |
+
'LISTING',
|
| 1317 |
+
'LITERAL-QUESTION',
|
| 1318 |
+
'LITTLE-ENDIAN',
|
| 1319 |
+
'LOAD',
|
| 1320 |
+
'LOAD-DOMAINS',
|
| 1321 |
+
'LOAD-ICON',
|
| 1322 |
+
'LOAD-IMAGE',
|
| 1323 |
+
'LOAD-IMAGE-DOWN',
|
| 1324 |
+
'LOAD-IMAGE-INSENSITIVE',
|
| 1325 |
+
'LOAD-IMAGE-UP',
|
| 1326 |
+
'LOAD-MOUSE-P',
|
| 1327 |
+
'LOAD-MOUSE-PO',
|
| 1328 |
+
'LOAD-MOUSE-POI',
|
| 1329 |
+
'LOAD-MOUSE-POIN',
|
| 1330 |
+
'LOAD-MOUSE-POINT',
|
| 1331 |
+
'LOAD-MOUSE-POINTE',
|
| 1332 |
+
'LOAD-MOUSE-POINTER',
|
| 1333 |
+
'LOAD-PICTURE',
|
| 1334 |
+
'LOAD-SMALL-ICON',
|
| 1335 |
+
'LOCAL-NAME',
|
| 1336 |
+
'LOCAL-VERSION-INFO',
|
| 1337 |
+
'LOCATOR-COLUMN-NUMBER',
|
| 1338 |
+
'LOCATOR-LINE-NUMBER',
|
| 1339 |
+
'LOCATOR-PUBLIC-ID',
|
| 1340 |
+
'LOCATOR-SYSTEM-ID',
|
| 1341 |
+
'LOCATOR-TYPE',
|
| 1342 |
+
'LOCK-REGISTRATION',
|
| 1343 |
+
'LOCKED',
|
| 1344 |
+
'LOG',
|
| 1345 |
+
'LOG-AUDIT-EVENT',
|
| 1346 |
+
'LOG-MANAGER',
|
| 1347 |
+
'LOGICAL',
|
| 1348 |
+
'LOGIN-EXPIRATION-TIMESTAMP',
|
| 1349 |
+
'LOGIN-HOST',
|
| 1350 |
+
'LOGIN-STATE',
|
| 1351 |
+
'LOGOUT',
|
| 1352 |
+
'LONGCHAR',
|
| 1353 |
+
'LOOKAHEAD',
|
| 1354 |
+
'LOOKUP',
|
| 1355 |
+
'LT',
|
| 1356 |
+
'MACHINE-CLASS',
|
| 1357 |
+
'MANDATORY',
|
| 1358 |
+
'MANUAL-HIGHLIGHT',
|
| 1359 |
+
'MAP',
|
| 1360 |
+
'MARGIN-EXTRA',
|
| 1361 |
+
'MARGIN-HEIGHT',
|
| 1362 |
+
'MARGIN-HEIGHT-',
|
| 1363 |
+
'MARGIN-HEIGHT-C',
|
| 1364 |
+
'MARGIN-HEIGHT-CH',
|
| 1365 |
+
'MARGIN-HEIGHT-CHA',
|
| 1366 |
+
'MARGIN-HEIGHT-CHAR',
|
| 1367 |
+
'MARGIN-HEIGHT-CHARS',
|
| 1368 |
+
'MARGIN-HEIGHT-P',
|
| 1369 |
+
'MARGIN-HEIGHT-PI',
|
| 1370 |
+
'MARGIN-HEIGHT-PIX',
|
| 1371 |
+
'MARGIN-HEIGHT-PIXE',
|
| 1372 |
+
'MARGIN-HEIGHT-PIXEL',
|
| 1373 |
+
'MARGIN-HEIGHT-PIXELS',
|
| 1374 |
+
'MARGIN-WIDTH',
|
| 1375 |
+
'MARGIN-WIDTH-',
|
| 1376 |
+
'MARGIN-WIDTH-C',
|
| 1377 |
+
'MARGIN-WIDTH-CH',
|
| 1378 |
+
'MARGIN-WIDTH-CHA',
|
| 1379 |
+
'MARGIN-WIDTH-CHAR',
|
| 1380 |
+
'MARGIN-WIDTH-CHARS',
|
| 1381 |
+
'MARGIN-WIDTH-P',
|
| 1382 |
+
'MARGIN-WIDTH-PI',
|
| 1383 |
+
'MARGIN-WIDTH-PIX',
|
| 1384 |
+
'MARGIN-WIDTH-PIXE',
|
| 1385 |
+
'MARGIN-WIDTH-PIXEL',
|
| 1386 |
+
'MARGIN-WIDTH-PIXELS',
|
| 1387 |
+
'MARK-NEW',
|
| 1388 |
+
'MARK-ROW-STATE',
|
| 1389 |
+
'MATCHES',
|
| 1390 |
+
'MAX',
|
| 1391 |
+
'MAX-BUTTON',
|
| 1392 |
+
'MAX-CHARS',
|
| 1393 |
+
'MAX-DATA-GUESS',
|
| 1394 |
+
'MAX-HEIGHT',
|
| 1395 |
+
'MAX-HEIGHT-C',
|
| 1396 |
+
'MAX-HEIGHT-CH',
|
| 1397 |
+
'MAX-HEIGHT-CHA',
|
| 1398 |
+
'MAX-HEIGHT-CHAR',
|
| 1399 |
+
'MAX-HEIGHT-CHARS',
|
| 1400 |
+
'MAX-HEIGHT-P',
|
| 1401 |
+
'MAX-HEIGHT-PI',
|
| 1402 |
+
'MAX-HEIGHT-PIX',
|
| 1403 |
+
'MAX-HEIGHT-PIXE',
|
| 1404 |
+
'MAX-HEIGHT-PIXEL',
|
| 1405 |
+
'MAX-HEIGHT-PIXELS',
|
| 1406 |
+
'MAX-ROWS',
|
| 1407 |
+
'MAX-SIZE',
|
| 1408 |
+
'MAX-VAL',
|
| 1409 |
+
'MAX-VALU',
|
| 1410 |
+
'MAX-VALUE',
|
| 1411 |
+
'MAX-WIDTH',
|
| 1412 |
+
'MAX-WIDTH-',
|
| 1413 |
+
'MAX-WIDTH-C',
|
| 1414 |
+
'MAX-WIDTH-CH',
|
| 1415 |
+
'MAX-WIDTH-CHA',
|
| 1416 |
+
'MAX-WIDTH-CHAR',
|
| 1417 |
+
'MAX-WIDTH-CHARS',
|
| 1418 |
+
'MAX-WIDTH-P',
|
| 1419 |
+
'MAX-WIDTH-PI',
|
| 1420 |
+
'MAX-WIDTH-PIX',
|
| 1421 |
+
'MAX-WIDTH-PIXE',
|
| 1422 |
+
'MAX-WIDTH-PIXEL',
|
| 1423 |
+
'MAX-WIDTH-PIXELS',
|
| 1424 |
+
'MAXI',
|
| 1425 |
+
'MAXIM',
|
| 1426 |
+
'MAXIMIZE',
|
| 1427 |
+
'MAXIMU',
|
| 1428 |
+
'MAXIMUM',
|
| 1429 |
+
'MAXIMUM-LEVEL',
|
| 1430 |
+
'MD5-DIGEST',
|
| 1431 |
+
'MEMBER',
|
| 1432 |
+
'MEMPTR-TO-NODE-VALUE',
|
| 1433 |
+
'MENU',
|
| 1434 |
+
'MENU-BAR',
|
| 1435 |
+
'MENU-ITEM',
|
| 1436 |
+
'MENU-K',
|
| 1437 |
+
'MENU-KE',
|
| 1438 |
+
'MENU-KEY',
|
| 1439 |
+
'MENU-M',
|
| 1440 |
+
'MENU-MO',
|
| 1441 |
+
'MENU-MOU',
|
| 1442 |
+
'MENU-MOUS',
|
| 1443 |
+
'MENU-MOUSE',
|
| 1444 |
+
'MENUBAR',
|
| 1445 |
+
'MERGE-BY-FIELD',
|
| 1446 |
+
'MESSAGE',
|
| 1447 |
+
'MESSAGE-AREA',
|
| 1448 |
+
'MESSAGE-AREA-FONT',
|
| 1449 |
+
'MESSAGE-LINES',
|
| 1450 |
+
'METHOD',
|
| 1451 |
+
'MIN',
|
| 1452 |
+
'MIN-BUTTON',
|
| 1453 |
+
'MIN-COLUMN-WIDTH-C',
|
| 1454 |
+
'MIN-COLUMN-WIDTH-CH',
|
| 1455 |
+
'MIN-COLUMN-WIDTH-CHA',
|
| 1456 |
+
'MIN-COLUMN-WIDTH-CHAR',
|
| 1457 |
+
'MIN-COLUMN-WIDTH-CHARS',
|
| 1458 |
+
'MIN-COLUMN-WIDTH-P',
|
| 1459 |
+
'MIN-COLUMN-WIDTH-PI',
|
| 1460 |
+
'MIN-COLUMN-WIDTH-PIX',
|
| 1461 |
+
'MIN-COLUMN-WIDTH-PIXE',
|
| 1462 |
+
'MIN-COLUMN-WIDTH-PIXEL',
|
| 1463 |
+
'MIN-COLUMN-WIDTH-PIXELS',
|
| 1464 |
+
'MIN-HEIGHT',
|
| 1465 |
+
'MIN-HEIGHT-',
|
| 1466 |
+
'MIN-HEIGHT-C',
|
| 1467 |
+
'MIN-HEIGHT-CH',
|
| 1468 |
+
'MIN-HEIGHT-CHA',
|
| 1469 |
+
'MIN-HEIGHT-CHAR',
|
| 1470 |
+
'MIN-HEIGHT-CHARS',
|
| 1471 |
+
'MIN-HEIGHT-P',
|
| 1472 |
+
'MIN-HEIGHT-PI',
|
| 1473 |
+
'MIN-HEIGHT-PIX',
|
| 1474 |
+
'MIN-HEIGHT-PIXE',
|
| 1475 |
+
'MIN-HEIGHT-PIXEL',
|
| 1476 |
+
'MIN-HEIGHT-PIXELS',
|
| 1477 |
+
'MIN-SIZE',
|
| 1478 |
+
'MIN-VAL',
|
| 1479 |
+
'MIN-VALU',
|
| 1480 |
+
'MIN-VALUE',
|
| 1481 |
+
'MIN-WIDTH',
|
| 1482 |
+
'MIN-WIDTH-',
|
| 1483 |
+
'MIN-WIDTH-C',
|
| 1484 |
+
'MIN-WIDTH-CH',
|
| 1485 |
+
'MIN-WIDTH-CHA',
|
| 1486 |
+
'MIN-WIDTH-CHAR',
|
| 1487 |
+
'MIN-WIDTH-CHARS',
|
| 1488 |
+
'MIN-WIDTH-P',
|
| 1489 |
+
'MIN-WIDTH-PI',
|
| 1490 |
+
'MIN-WIDTH-PIX',
|
| 1491 |
+
'MIN-WIDTH-PIXE',
|
| 1492 |
+
'MIN-WIDTH-PIXEL',
|
| 1493 |
+
'MIN-WIDTH-PIXELS',
|
| 1494 |
+
'MINI',
|
| 1495 |
+
'MINIM',
|
| 1496 |
+
'MINIMU',
|
| 1497 |
+
'MINIMUM',
|
| 1498 |
+
'MOD',
|
| 1499 |
+
'MODIFIED',
|
| 1500 |
+
'MODU',
|
| 1501 |
+
'MODUL',
|
| 1502 |
+
'MODULO',
|
| 1503 |
+
'MONTH',
|
| 1504 |
+
'MOUSE',
|
| 1505 |
+
'MOUSE-P',
|
| 1506 |
+
'MOUSE-PO',
|
| 1507 |
+
'MOUSE-POI',
|
| 1508 |
+
'MOUSE-POIN',
|
| 1509 |
+
'MOUSE-POINT',
|
| 1510 |
+
'MOUSE-POINTE',
|
| 1511 |
+
'MOUSE-POINTER',
|
| 1512 |
+
'MOVABLE',
|
| 1513 |
+
'MOVE-AFTER',
|
| 1514 |
+
'MOVE-AFTER-',
|
| 1515 |
+
'MOVE-AFTER-T',
|
| 1516 |
+
'MOVE-AFTER-TA',
|
| 1517 |
+
'MOVE-AFTER-TAB',
|
| 1518 |
+
'MOVE-AFTER-TAB-',
|
| 1519 |
+
'MOVE-AFTER-TAB-I',
|
| 1520 |
+
'MOVE-AFTER-TAB-IT',
|
| 1521 |
+
'MOVE-AFTER-TAB-ITE',
|
| 1522 |
+
'MOVE-AFTER-TAB-ITEM',
|
| 1523 |
+
'MOVE-BEFOR',
|
| 1524 |
+
'MOVE-BEFORE',
|
| 1525 |
+
'MOVE-BEFORE-',
|
| 1526 |
+
'MOVE-BEFORE-T',
|
| 1527 |
+
'MOVE-BEFORE-TA',
|
| 1528 |
+
'MOVE-BEFORE-TAB',
|
| 1529 |
+
'MOVE-BEFORE-TAB-',
|
| 1530 |
+
'MOVE-BEFORE-TAB-I',
|
| 1531 |
+
'MOVE-BEFORE-TAB-IT',
|
| 1532 |
+
'MOVE-BEFORE-TAB-ITE',
|
| 1533 |
+
'MOVE-BEFORE-TAB-ITEM',
|
| 1534 |
+
'MOVE-COL',
|
| 1535 |
+
'MOVE-COLU',
|
| 1536 |
+
'MOVE-COLUM',
|
| 1537 |
+
'MOVE-COLUMN',
|
| 1538 |
+
'MOVE-TO-B',
|
| 1539 |
+
'MOVE-TO-BO',
|
| 1540 |
+
'MOVE-TO-BOT',
|
| 1541 |
+
'MOVE-TO-BOTT',
|
| 1542 |
+
'MOVE-TO-BOTTO',
|
| 1543 |
+
'MOVE-TO-BOTTOM',
|
| 1544 |
+
'MOVE-TO-EOF',
|
| 1545 |
+
'MOVE-TO-T',
|
| 1546 |
+
'MOVE-TO-TO',
|
| 1547 |
+
'MOVE-TO-TOP',
|
| 1548 |
+
'MPE',
|
| 1549 |
+
'MTIME',
|
| 1550 |
+
'MULTI-COMPILE',
|
| 1551 |
+
'MULTIPLE',
|
| 1552 |
+
'MULTIPLE-KEY',
|
| 1553 |
+
'MULTITASKING-INTERVAL',
|
| 1554 |
+
'MUST-EXIST',
|
| 1555 |
+
'NAME',
|
| 1556 |
+
'NAMESPACE-PREFIX',
|
| 1557 |
+
'NAMESPACE-URI',
|
| 1558 |
+
'NATIVE',
|
| 1559 |
+
'NE',
|
| 1560 |
+
'NEEDS-APPSERVER-PROMPT',
|
| 1561 |
+
'NEEDS-PROMPT',
|
| 1562 |
+
'NEW',
|
| 1563 |
+
'NEW-INSTANCE',
|
| 1564 |
+
'NEW-ROW',
|
| 1565 |
+
'NEXT',
|
| 1566 |
+
'NEXT-COLUMN',
|
| 1567 |
+
'NEXT-PROMPT',
|
| 1568 |
+
'NEXT-ROWID',
|
| 1569 |
+
'NEXT-SIBLING',
|
| 1570 |
+
'NEXT-TAB-I',
|
| 1571 |
+
'NEXT-TAB-IT',
|
| 1572 |
+
'NEXT-TAB-ITE',
|
| 1573 |
+
'NEXT-TAB-ITEM',
|
| 1574 |
+
'NEXT-VALUE',
|
| 1575 |
+
'NO',
|
| 1576 |
+
'NO-APPLY',
|
| 1577 |
+
'NO-ARRAY-MESSAGE',
|
| 1578 |
+
'NO-ASSIGN',
|
| 1579 |
+
'NO-ATTR',
|
| 1580 |
+
'NO-ATTR-',
|
| 1581 |
+
'NO-ATTR-L',
|
| 1582 |
+
'NO-ATTR-LI',
|
| 1583 |
+
'NO-ATTR-LIS',
|
| 1584 |
+
'NO-ATTR-LIST',
|
| 1585 |
+
'NO-ATTR-S',
|
| 1586 |
+
'NO-ATTR-SP',
|
| 1587 |
+
'NO-ATTR-SPA',
|
| 1588 |
+
'NO-ATTR-SPAC',
|
| 1589 |
+
'NO-ATTR-SPACE',
|
| 1590 |
+
'NO-AUTO-VALIDATE',
|
| 1591 |
+
'NO-BIND-WHERE',
|
| 1592 |
+
'NO-BOX',
|
| 1593 |
+
'NO-CONSOLE',
|
| 1594 |
+
'NO-CONVERT',
|
| 1595 |
+
'NO-CONVERT-3D-COLORS',
|
| 1596 |
+
'NO-CURRENT-VALUE',
|
| 1597 |
+
'NO-DEBUG',
|
| 1598 |
+
'NO-DRAG',
|
| 1599 |
+
'NO-ECHO',
|
| 1600 |
+
'NO-EMPTY-SPACE',
|
| 1601 |
+
'NO-ERROR',
|
| 1602 |
+
'NO-F',
|
| 1603 |
+
'NO-FI',
|
| 1604 |
+
'NO-FIL',
|
| 1605 |
+
'NO-FILL',
|
| 1606 |
+
'NO-FOCUS',
|
| 1607 |
+
'NO-HELP',
|
| 1608 |
+
'NO-HIDE',
|
| 1609 |
+
'NO-INDEX-HINT',
|
| 1610 |
+
'NO-INHERIT-BGC',
|
| 1611 |
+
'NO-INHERIT-BGCO',
|
| 1612 |
+
'NO-INHERIT-BGCOLOR',
|
| 1613 |
+
'NO-INHERIT-FGC',
|
| 1614 |
+
'NO-INHERIT-FGCO',
|
| 1615 |
+
'NO-INHERIT-FGCOL',
|
| 1616 |
+
'NO-INHERIT-FGCOLO',
|
| 1617 |
+
'NO-INHERIT-FGCOLOR',
|
| 1618 |
+
'NO-JOIN-BY-SQLDB',
|
| 1619 |
+
'NO-LABE',
|
| 1620 |
+
'NO-LABELS',
|
| 1621 |
+
'NO-LOBS',
|
| 1622 |
+
'NO-LOCK',
|
| 1623 |
+
'NO-LOOKAHEAD',
|
| 1624 |
+
'NO-MAP',
|
| 1625 |
+
'NO-MES',
|
| 1626 |
+
'NO-MESS',
|
| 1627 |
+
'NO-MESSA',
|
| 1628 |
+
'NO-MESSAG',
|
| 1629 |
+
'NO-MESSAGE',
|
| 1630 |
+
'NO-PAUSE',
|
| 1631 |
+
'NO-PREFE',
|
| 1632 |
+
'NO-PREFET',
|
| 1633 |
+
'NO-PREFETC',
|
| 1634 |
+
'NO-PREFETCH',
|
| 1635 |
+
'NO-ROW-MARKERS',
|
| 1636 |
+
'NO-SCROLLBAR-VERTICAL',
|
| 1637 |
+
'NO-SEPARATE-CONNECTION',
|
| 1638 |
+
'NO-SEPARATORS',
|
| 1639 |
+
'NO-TAB-STOP',
|
| 1640 |
+
'NO-UND',
|
| 1641 |
+
'NO-UNDE',
|
| 1642 |
+
'NO-UNDER',
|
| 1643 |
+
'NO-UNDERL',
|
| 1644 |
+
'NO-UNDERLI',
|
| 1645 |
+
'NO-UNDERLIN',
|
| 1646 |
+
'NO-UNDERLINE',
|
| 1647 |
+
'NO-UNDO',
|
| 1648 |
+
'NO-VAL',
|
| 1649 |
+
'NO-VALI',
|
| 1650 |
+
'NO-VALID',
|
| 1651 |
+
'NO-VALIDA',
|
| 1652 |
+
'NO-VALIDAT',
|
| 1653 |
+
'NO-VALIDATE',
|
| 1654 |
+
'NO-WAIT',
|
| 1655 |
+
'NO-WORD-WRAP',
|
| 1656 |
+
'NODE-VALUE-TO-MEMPTR',
|
| 1657 |
+
'NONAMESPACE-SCHEMA-LOCATION',
|
| 1658 |
+
'NONE',
|
| 1659 |
+
'NORMALIZE',
|
| 1660 |
+
'NOT',
|
| 1661 |
+
'NOT-ACTIVE',
|
| 1662 |
+
'NOW',
|
| 1663 |
+
'NULL',
|
| 1664 |
+
'NUM-ALI',
|
| 1665 |
+
'NUM-ALIA',
|
| 1666 |
+
'NUM-ALIAS',
|
| 1667 |
+
'NUM-ALIASE',
|
| 1668 |
+
'NUM-ALIASES',
|
| 1669 |
+
'NUM-BUFFERS',
|
| 1670 |
+
'NUM-BUT',
|
| 1671 |
+
'NUM-BUTT',
|
| 1672 |
+
'NUM-BUTTO',
|
| 1673 |
+
'NUM-BUTTON',
|
| 1674 |
+
'NUM-BUTTONS',
|
| 1675 |
+
'NUM-COL',
|
| 1676 |
+
'NUM-COLU',
|
| 1677 |
+
'NUM-COLUM',
|
| 1678 |
+
'NUM-COLUMN',
|
| 1679 |
+
'NUM-COLUMNS',
|
| 1680 |
+
'NUM-COPIES',
|
| 1681 |
+
'NUM-DBS',
|
| 1682 |
+
'NUM-DROPPED-FILES',
|
| 1683 |
+
'NUM-ENTRIES',
|
| 1684 |
+
'NUM-FIELDS',
|
| 1685 |
+
'NUM-FORMATS',
|
| 1686 |
+
'NUM-ITEMS',
|
| 1687 |
+
'NUM-ITERATIONS',
|
| 1688 |
+
'NUM-LINES',
|
| 1689 |
+
'NUM-LOCKED-COL',
|
| 1690 |
+
'NUM-LOCKED-COLU',
|
| 1691 |
+
'NUM-LOCKED-COLUM',
|
| 1692 |
+
'NUM-LOCKED-COLUMN',
|
| 1693 |
+
'NUM-LOCKED-COLUMNS',
|
| 1694 |
+
'NUM-MESSAGES',
|
| 1695 |
+
'NUM-PARAMETERS',
|
| 1696 |
+
'NUM-REFERENCES',
|
| 1697 |
+
'NUM-REPLACED',
|
| 1698 |
+
'NUM-RESULTS',
|
| 1699 |
+
'NUM-SELECTED',
|
| 1700 |
+
'NUM-SELECTED-',
|
| 1701 |
+
'NUM-SELECTED-ROWS',
|
| 1702 |
+
'NUM-SELECTED-W',
|
| 1703 |
+
'NUM-SELECTED-WI',
|
| 1704 |
+
'NUM-SELECTED-WID',
|
| 1705 |
+
'NUM-SELECTED-WIDG',
|
| 1706 |
+
'NUM-SELECTED-WIDGE',
|
| 1707 |
+
'NUM-SELECTED-WIDGET',
|
| 1708 |
+
'NUM-SELECTED-WIDGETS',
|
| 1709 |
+
'NUM-TABS',
|
| 1710 |
+
'NUM-TO-RETAIN',
|
| 1711 |
+
'NUM-VISIBLE-COLUMNS',
|
| 1712 |
+
'NUMERIC',
|
| 1713 |
+
'NUMERIC-F',
|
| 1714 |
+
'NUMERIC-FO',
|
| 1715 |
+
'NUMERIC-FOR',
|
| 1716 |
+
'NUMERIC-FORM',
|
| 1717 |
+
'NUMERIC-FORMA',
|
| 1718 |
+
'NUMERIC-FORMAT',
|
| 1719 |
+
'OCTET-LENGTH',
|
| 1720 |
+
'OF',
|
| 1721 |
+
'OFF',
|
| 1722 |
+
'OK',
|
| 1723 |
+
'OK-CANCEL',
|
| 1724 |
+
'OLD',
|
| 1725 |
+
'ON',
|
| 1726 |
+
'ON-FRAME',
|
| 1727 |
+
'ON-FRAME-',
|
| 1728 |
+
'ON-FRAME-B',
|
| 1729 |
+
'ON-FRAME-BO',
|
| 1730 |
+
'ON-FRAME-BOR',
|
| 1731 |
+
'ON-FRAME-BORD',
|
| 1732 |
+
'ON-FRAME-BORDE',
|
| 1733 |
+
'ON-FRAME-BORDER',
|
| 1734 |
+
'OPEN',
|
| 1735 |
+
'OPSYS',
|
| 1736 |
+
'OPTION',
|
| 1737 |
+
'OR',
|
| 1738 |
+
'ORDERED-JOIN',
|
| 1739 |
+
'ORDINAL',
|
| 1740 |
+
'OS-APPEND',
|
| 1741 |
+
'OS-COMMAND',
|
| 1742 |
+
'OS-COPY',
|
| 1743 |
+
'OS-CREATE-DIR',
|
| 1744 |
+
'OS-DELETE',
|
| 1745 |
+
'OS-DIR',
|
| 1746 |
+
'OS-DRIVE',
|
| 1747 |
+
'OS-DRIVES',
|
| 1748 |
+
'OS-ERROR',
|
| 1749 |
+
'OS-GETENV',
|
| 1750 |
+
'OS-RENAME',
|
| 1751 |
+
'OTHERWISE',
|
| 1752 |
+
'OUTPUT',
|
| 1753 |
+
'OVERLAY',
|
| 1754 |
+
'OVERRIDE',
|
| 1755 |
+
'OWNER',
|
| 1756 |
+
'PAGE',
|
| 1757 |
+
'PAGE-BOT',
|
| 1758 |
+
'PAGE-BOTT',
|
| 1759 |
+
'PAGE-BOTTO',
|
| 1760 |
+
'PAGE-BOTTOM',
|
| 1761 |
+
'PAGE-NUM',
|
| 1762 |
+
'PAGE-NUMB',
|
| 1763 |
+
'PAGE-NUMBE',
|
| 1764 |
+
'PAGE-NUMBER',
|
| 1765 |
+
'PAGE-SIZE',
|
| 1766 |
+
'PAGE-TOP',
|
| 1767 |
+
'PAGE-WID',
|
| 1768 |
+
'PAGE-WIDT',
|
| 1769 |
+
'PAGE-WIDTH',
|
| 1770 |
+
'PAGED',
|
| 1771 |
+
'PARAM',
|
| 1772 |
+
'PARAME',
|
| 1773 |
+
'PARAMET',
|
| 1774 |
+
'PARAMETE',
|
| 1775 |
+
'PARAMETER',
|
| 1776 |
+
'PARENT',
|
| 1777 |
+
'PARSE-STATUS',
|
| 1778 |
+
'PARTIAL-KEY',
|
| 1779 |
+
'PASCAL',
|
| 1780 |
+
'PASSWORD-FIELD',
|
| 1781 |
+
'PATHNAME',
|
| 1782 |
+
'PAUSE',
|
| 1783 |
+
'PBE-HASH-ALG',
|
| 1784 |
+
'PBE-HASH-ALGO',
|
| 1785 |
+
'PBE-HASH-ALGOR',
|
| 1786 |
+
'PBE-HASH-ALGORI',
|
| 1787 |
+
'PBE-HASH-ALGORIT',
|
| 1788 |
+
'PBE-HASH-ALGORITH',
|
| 1789 |
+
'PBE-HASH-ALGORITHM',
|
| 1790 |
+
'PBE-KEY-ROUNDS',
|
| 1791 |
+
'PDBNAME',
|
| 1792 |
+
'PERSIST',
|
| 1793 |
+
'PERSISTE',
|
| 1794 |
+
'PERSISTEN',
|
| 1795 |
+
'PERSISTENT',
|
| 1796 |
+
'PERSISTENT-CACHE-DISABLED',
|
| 1797 |
+
'PFC',
|
| 1798 |
+
'PFCO',
|
| 1799 |
+
'PFCOL',
|
| 1800 |
+
'PFCOLO',
|
| 1801 |
+
'PFCOLOR',
|
| 1802 |
+
'PIXELS',
|
| 1803 |
+
'PIXELS-PER-COL',
|
| 1804 |
+
'PIXELS-PER-COLU',
|
| 1805 |
+
'PIXELS-PER-COLUM',
|
| 1806 |
+
'PIXELS-PER-COLUMN',
|
| 1807 |
+
'PIXELS-PER-ROW',
|
| 1808 |
+
'POPUP-M',
|
| 1809 |
+
'POPUP-ME',
|
| 1810 |
+
'POPUP-MEN',
|
| 1811 |
+
'POPUP-MENU',
|
| 1812 |
+
'POPUP-O',
|
| 1813 |
+
'POPUP-ON',
|
| 1814 |
+
'POPUP-ONL',
|
| 1815 |
+
'POPUP-ONLY',
|
| 1816 |
+
'PORTRAIT',
|
| 1817 |
+
'POSITION',
|
| 1818 |
+
'PRECISION',
|
| 1819 |
+
'PREFER-DATASET',
|
| 1820 |
+
'PREPARE-STRING',
|
| 1821 |
+
'PREPARED',
|
| 1822 |
+
'PREPROC',
|
| 1823 |
+
'PREPROCE',
|
| 1824 |
+
'PREPROCES',
|
| 1825 |
+
'PREPROCESS',
|
| 1826 |
+
'PRESEL',
|
| 1827 |
+
'PRESELE',
|
| 1828 |
+
'PRESELEC',
|
| 1829 |
+
'PRESELECT',
|
| 1830 |
+
'PREV',
|
| 1831 |
+
'PREV-COLUMN',
|
| 1832 |
+
'PREV-SIBLING',
|
| 1833 |
+
'PREV-TAB-I',
|
| 1834 |
+
'PREV-TAB-IT',
|
| 1835 |
+
'PREV-TAB-ITE',
|
| 1836 |
+
'PREV-TAB-ITEM',
|
| 1837 |
+
'PRIMARY',
|
| 1838 |
+
'PRINTER',
|
| 1839 |
+
'PRINTER-CONTROL-HANDLE',
|
| 1840 |
+
'PRINTER-HDC',
|
| 1841 |
+
'PRINTER-NAME',
|
| 1842 |
+
'PRINTER-PORT',
|
| 1843 |
+
'PRINTER-SETUP',
|
| 1844 |
+
'PRIVATE',
|
| 1845 |
+
'PRIVATE-D',
|
| 1846 |
+
'PRIVATE-DA',
|
| 1847 |
+
'PRIVATE-DAT',
|
| 1848 |
+
'PRIVATE-DATA',
|
| 1849 |
+
'PRIVILEGES',
|
| 1850 |
+
'PROC-HA',
|
| 1851 |
+
'PROC-HAN',
|
| 1852 |
+
'PROC-HAND',
|
| 1853 |
+
'PROC-HANDL',
|
| 1854 |
+
'PROC-HANDLE',
|
| 1855 |
+
'PROC-ST',
|
| 1856 |
+
'PROC-STA',
|
| 1857 |
+
'PROC-STAT',
|
| 1858 |
+
'PROC-STATU',
|
| 1859 |
+
'PROC-STATUS',
|
| 1860 |
+
'PROC-TEXT',
|
| 1861 |
+
'PROC-TEXT-BUFFER',
|
| 1862 |
+
'PROCE',
|
| 1863 |
+
'PROCED',
|
| 1864 |
+
'PROCEDU',
|
| 1865 |
+
'PROCEDUR',
|
| 1866 |
+
'PROCEDURE',
|
| 1867 |
+
'PROCEDURE-CALL-TYPE',
|
| 1868 |
+
'PROCEDURE-TYPE',
|
| 1869 |
+
'PROCESS',
|
| 1870 |
+
'PROFILER',
|
| 1871 |
+
'PROGRAM-NAME',
|
| 1872 |
+
'PROGRESS',
|
| 1873 |
+
'PROGRESS-S',
|
| 1874 |
+
'PROGRESS-SO',
|
| 1875 |
+
'PROGRESS-SOU',
|
| 1876 |
+
'PROGRESS-SOUR',
|
| 1877 |
+
'PROGRESS-SOURC',
|
| 1878 |
+
'PROGRESS-SOURCE',
|
| 1879 |
+
'PROMPT',
|
| 1880 |
+
'PROMPT-F',
|
| 1881 |
+
'PROMPT-FO',
|
| 1882 |
+
'PROMPT-FOR',
|
| 1883 |
+
'PROMSGS',
|
| 1884 |
+
'PROPATH',
|
| 1885 |
+
'PROPERTY',
|
| 1886 |
+
'PROTECTED',
|
| 1887 |
+
'PROVERS',
|
| 1888 |
+
'PROVERSI',
|
| 1889 |
+
'PROVERSIO',
|
| 1890 |
+
'PROVERSION',
|
| 1891 |
+
'PROXY',
|
| 1892 |
+
'PROXY-PASSWORD',
|
| 1893 |
+
'PROXY-USERID',
|
| 1894 |
+
'PUBLIC',
|
| 1895 |
+
'PUBLIC-ID',
|
| 1896 |
+
'PUBLISH',
|
| 1897 |
+
'PUBLISHED-EVENTS',
|
| 1898 |
+
'PUT',
|
| 1899 |
+
'PUT-BYTE',
|
| 1900 |
+
'PUT-DOUBLE',
|
| 1901 |
+
'PUT-FLOAT',
|
| 1902 |
+
'PUT-INT64',
|
| 1903 |
+
'PUT-KEY-VAL',
|
| 1904 |
+
'PUT-KEY-VALU',
|
| 1905 |
+
'PUT-KEY-VALUE',
|
| 1906 |
+
'PUT-LONG',
|
| 1907 |
+
'PUT-SHORT',
|
| 1908 |
+
'PUT-STRING',
|
| 1909 |
+
'PUT-UNSIGNED-LONG',
|
| 1910 |
+
'PUTBYTE',
|
| 1911 |
+
'QUERY',
|
| 1912 |
+
'QUERY-CLOSE',
|
| 1913 |
+
'QUERY-OFF-END',
|
| 1914 |
+
'QUERY-OPEN',
|
| 1915 |
+
'QUERY-PREPARE',
|
| 1916 |
+
'QUERY-TUNING',
|
| 1917 |
+
'QUESTION',
|
| 1918 |
+
'QUIT',
|
| 1919 |
+
'QUOTER',
|
| 1920 |
+
'R-INDEX',
|
| 1921 |
+
'RADIO-BUTTONS',
|
| 1922 |
+
'RADIO-SET',
|
| 1923 |
+
'RANDOM',
|
| 1924 |
+
'RAW',
|
| 1925 |
+
'RAW-TRANSFER',
|
| 1926 |
+
'RCODE-INFO',
|
| 1927 |
+
'RCODE-INFOR',
|
| 1928 |
+
'RCODE-INFORM',
|
| 1929 |
+
'RCODE-INFORMA',
|
| 1930 |
+
'RCODE-INFORMAT',
|
| 1931 |
+
'RCODE-INFORMATI',
|
| 1932 |
+
'RCODE-INFORMATIO',
|
| 1933 |
+
'RCODE-INFORMATION',
|
| 1934 |
+
'READ-AVAILABLE',
|
| 1935 |
+
'READ-EXACT-NUM',
|
| 1936 |
+
'READ-FILE',
|
| 1937 |
+
'READ-JSON',
|
| 1938 |
+
'READ-ONLY',
|
| 1939 |
+
'READ-XML',
|
| 1940 |
+
'READ-XMLSCHEMA',
|
| 1941 |
+
'READKEY',
|
| 1942 |
+
'REAL',
|
| 1943 |
+
'RECID',
|
| 1944 |
+
'RECORD-LENGTH',
|
| 1945 |
+
'RECT',
|
| 1946 |
+
'RECTA',
|
| 1947 |
+
'RECTAN',
|
| 1948 |
+
'RECTANG',
|
| 1949 |
+
'RECTANGL',
|
| 1950 |
+
'RECTANGLE',
|
| 1951 |
+
'RECURSIVE',
|
| 1952 |
+
'REFERENCE-ONLY',
|
| 1953 |
+
'REFRESH',
|
| 1954 |
+
'REFRESH-AUDIT-POLICY',
|
| 1955 |
+
'REFRESHABLE',
|
| 1956 |
+
'REGISTER-DOMAIN',
|
| 1957 |
+
'RELEASE',
|
| 1958 |
+
'REMOTE',
|
| 1959 |
+
'REMOVE-EVENTS-PROCEDURE',
|
| 1960 |
+
'REMOVE-SUPER-PROCEDURE',
|
| 1961 |
+
'REPEAT',
|
| 1962 |
+
'REPLACE',
|
| 1963 |
+
'REPLACE-SELECTION-TEXT',
|
| 1964 |
+
'REPOSITION',
|
| 1965 |
+
'REPOSITION-BACKWARD',
|
| 1966 |
+
'REPOSITION-FORWARD',
|
| 1967 |
+
'REPOSITION-MODE',
|
| 1968 |
+
'REPOSITION-TO-ROW',
|
| 1969 |
+
'REPOSITION-TO-ROWID',
|
| 1970 |
+
'REQUEST',
|
| 1971 |
+
'REQUEST-INFO',
|
| 1972 |
+
'RESET',
|
| 1973 |
+
'RESIZA',
|
| 1974 |
+
'RESIZAB',
|
| 1975 |
+
'RESIZABL',
|
| 1976 |
+
'RESIZABLE',
|
| 1977 |
+
'RESIZE',
|
| 1978 |
+
'RESPONSE-INFO',
|
| 1979 |
+
'RESTART-ROW',
|
| 1980 |
+
'RESTART-ROWID',
|
| 1981 |
+
'RETAIN',
|
| 1982 |
+
'RETAIN-SHAPE',
|
| 1983 |
+
'RETRY',
|
| 1984 |
+
'RETRY-CANCEL',
|
| 1985 |
+
'RETURN',
|
| 1986 |
+
'RETURN-ALIGN',
|
| 1987 |
+
'RETURN-ALIGNE',
|
| 1988 |
+
'RETURN-INS',
|
| 1989 |
+
'RETURN-INSE',
|
| 1990 |
+
'RETURN-INSER',
|
| 1991 |
+
'RETURN-INSERT',
|
| 1992 |
+
'RETURN-INSERTE',
|
| 1993 |
+
'RETURN-INSERTED',
|
| 1994 |
+
'RETURN-TO-START-DI',
|
| 1995 |
+
'RETURN-TO-START-DIR',
|
| 1996 |
+
'RETURN-VAL',
|
| 1997 |
+
'RETURN-VALU',
|
| 1998 |
+
'RETURN-VALUE',
|
| 1999 |
+
'RETURN-VALUE-DATA-TYPE',
|
| 2000 |
+
'RETURNS',
|
| 2001 |
+
'REVERSE-FROM',
|
| 2002 |
+
'REVERT',
|
| 2003 |
+
'REVOKE',
|
| 2004 |
+
'RGB-VALUE',
|
| 2005 |
+
'RIGHT-ALIGNED',
|
| 2006 |
+
'RIGHT-TRIM',
|
| 2007 |
+
'ROLES',
|
| 2008 |
+
'ROUND',
|
| 2009 |
+
'ROUTINE-LEVEL',
|
| 2010 |
+
'ROW',
|
| 2011 |
+
'ROW-HEIGHT-CHARS',
|
| 2012 |
+
'ROW-HEIGHT-PIXELS',
|
| 2013 |
+
'ROW-MARKERS',
|
| 2014 |
+
'ROW-OF',
|
| 2015 |
+
'ROW-RESIZABLE',
|
| 2016 |
+
'ROWID',
|
| 2017 |
+
'RULE',
|
| 2018 |
+
'RUN',
|
| 2019 |
+
'RUN-PROCEDURE',
|
| 2020 |
+
'SAVE CACHE',
|
| 2021 |
+
'SAVE',
|
| 2022 |
+
'SAVE-AS',
|
| 2023 |
+
'SAVE-FILE',
|
| 2024 |
+
'SAX-COMPLE',
|
| 2025 |
+
'SAX-COMPLET',
|
| 2026 |
+
'SAX-COMPLETE',
|
| 2027 |
+
'SAX-PARSE',
|
| 2028 |
+
'SAX-PARSE-FIRST',
|
| 2029 |
+
'SAX-PARSE-NEXT',
|
| 2030 |
+
'SAX-PARSER-ERROR',
|
| 2031 |
+
'SAX-RUNNING',
|
| 2032 |
+
'SAX-UNINITIALIZED',
|
| 2033 |
+
'SAX-WRITE-BEGIN',
|
| 2034 |
+
'SAX-WRITE-COMPLETE',
|
| 2035 |
+
'SAX-WRITE-CONTENT',
|
| 2036 |
+
'SAX-WRITE-ELEMENT',
|
| 2037 |
+
'SAX-WRITE-ERROR',
|
| 2038 |
+
'SAX-WRITE-IDLE',
|
| 2039 |
+
'SAX-WRITE-TAG',
|
| 2040 |
+
'SAX-WRITER',
|
| 2041 |
+
'SCHEMA',
|
| 2042 |
+
'SCHEMA-LOCATION',
|
| 2043 |
+
'SCHEMA-MARSHAL',
|
| 2044 |
+
'SCHEMA-PATH',
|
| 2045 |
+
'SCREEN',
|
| 2046 |
+
'SCREEN-IO',
|
| 2047 |
+
'SCREEN-LINES',
|
| 2048 |
+
'SCREEN-VAL',
|
| 2049 |
+
'SCREEN-VALU',
|
| 2050 |
+
'SCREEN-VALUE',
|
| 2051 |
+
'SCROLL',
|
| 2052 |
+
'SCROLL-BARS',
|
| 2053 |
+
'SCROLL-DELTA',
|
| 2054 |
+
'SCROLL-OFFSET',
|
| 2055 |
+
'SCROLL-TO-CURRENT-ROW',
|
| 2056 |
+
'SCROLL-TO-I',
|
| 2057 |
+
'SCROLL-TO-IT',
|
| 2058 |
+
'SCROLL-TO-ITE',
|
| 2059 |
+
'SCROLL-TO-ITEM',
|
| 2060 |
+
'SCROLL-TO-SELECTED-ROW',
|
| 2061 |
+
'SCROLLABLE',
|
| 2062 |
+
'SCROLLBAR-H',
|
| 2063 |
+
'SCROLLBAR-HO',
|
| 2064 |
+
'SCROLLBAR-HOR',
|
| 2065 |
+
'SCROLLBAR-HORI',
|
| 2066 |
+
'SCROLLBAR-HORIZ',
|
| 2067 |
+
'SCROLLBAR-HORIZO',
|
| 2068 |
+
'SCROLLBAR-HORIZON',
|
| 2069 |
+
'SCROLLBAR-HORIZONT',
|
| 2070 |
+
'SCROLLBAR-HORIZONTA',
|
| 2071 |
+
'SCROLLBAR-HORIZONTAL',
|
| 2072 |
+
'SCROLLBAR-V',
|
| 2073 |
+
'SCROLLBAR-VE',
|
| 2074 |
+
'SCROLLBAR-VER',
|
| 2075 |
+
'SCROLLBAR-VERT',
|
| 2076 |
+
'SCROLLBAR-VERTI',
|
| 2077 |
+
'SCROLLBAR-VERTIC',
|
| 2078 |
+
'SCROLLBAR-VERTICA',
|
| 2079 |
+
'SCROLLBAR-VERTICAL',
|
| 2080 |
+
'SCROLLED-ROW-POS',
|
| 2081 |
+
'SCROLLED-ROW-POSI',
|
| 2082 |
+
'SCROLLED-ROW-POSIT',
|
| 2083 |
+
'SCROLLED-ROW-POSITI',
|
| 2084 |
+
'SCROLLED-ROW-POSITIO',
|
| 2085 |
+
'SCROLLED-ROW-POSITION',
|
| 2086 |
+
'SCROLLING',
|
| 2087 |
+
'SDBNAME',
|
| 2088 |
+
'SEAL',
|
| 2089 |
+
'SEAL-TIMESTAMP',
|
| 2090 |
+
'SEARCH',
|
| 2091 |
+
'SEARCH-SELF',
|
| 2092 |
+
'SEARCH-TARGET',
|
| 2093 |
+
'SECTION',
|
| 2094 |
+
'SECURITY-POLICY',
|
| 2095 |
+
'SEEK',
|
| 2096 |
+
'SELECT',
|
| 2097 |
+
'SELECT-ALL',
|
| 2098 |
+
'SELECT-FOCUSED-ROW',
|
| 2099 |
+
'SELECT-NEXT-ROW',
|
| 2100 |
+
'SELECT-PREV-ROW',
|
| 2101 |
+
'SELECT-ROW',
|
| 2102 |
+
'SELECTABLE',
|
| 2103 |
+
'SELECTED',
|
| 2104 |
+
'SELECTION',
|
| 2105 |
+
'SELECTION-END',
|
| 2106 |
+
'SELECTION-LIST',
|
| 2107 |
+
'SELECTION-START',
|
| 2108 |
+
'SELECTION-TEXT',
|
| 2109 |
+
'SELF',
|
| 2110 |
+
'SEND',
|
| 2111 |
+
'SEND-SQL-STATEMENT',
|
| 2112 |
+
'SENSITIVE',
|
| 2113 |
+
'SEPARATE-CONNECTION',
|
| 2114 |
+
'SEPARATOR-FGCOLOR',
|
| 2115 |
+
'SEPARATORS',
|
| 2116 |
+
'SERIALIZABLE',
|
| 2117 |
+
'SERIALIZE-HIDDEN',
|
| 2118 |
+
'SERIALIZE-NAME',
|
| 2119 |
+
'SERVER',
|
| 2120 |
+
'SERVER-CONNECTION-BOUND',
|
| 2121 |
+
'SERVER-CONNECTION-BOUND-REQUEST',
|
| 2122 |
+
'SERVER-CONNECTION-CONTEXT',
|
| 2123 |
+
'SERVER-CONNECTION-ID',
|
| 2124 |
+
'SERVER-OPERATING-MODE',
|
| 2125 |
+
'SESSION',
|
| 2126 |
+
'SESSION-ID',
|
| 2127 |
+
'SET',
|
| 2128 |
+
'SET-APPL-CONTEXT',
|
| 2129 |
+
'SET-ATTR-CALL-TYPE',
|
| 2130 |
+
'SET-ATTRIBUTE-NODE',
|
| 2131 |
+
'SET-BLUE',
|
| 2132 |
+
'SET-BLUE-',
|
| 2133 |
+
'SET-BLUE-V',
|
| 2134 |
+
'SET-BLUE-VA',
|
| 2135 |
+
'SET-BLUE-VAL',
|
| 2136 |
+
'SET-BLUE-VALU',
|
| 2137 |
+
'SET-BLUE-VALUE',
|
| 2138 |
+
'SET-BREAK',
|
| 2139 |
+
'SET-BUFFERS',
|
| 2140 |
+
'SET-CALLBACK',
|
| 2141 |
+
'SET-CLIENT',
|
| 2142 |
+
'SET-COMMIT',
|
| 2143 |
+
'SET-CONTENTS',
|
| 2144 |
+
'SET-CURRENT-VALUE',
|
| 2145 |
+
'SET-DB-CLIENT',
|
| 2146 |
+
'SET-DYNAMIC',
|
| 2147 |
+
'SET-EVENT-MANAGER-OPTION',
|
| 2148 |
+
'SET-GREEN',
|
| 2149 |
+
'SET-GREEN-',
|
| 2150 |
+
'SET-GREEN-V',
|
| 2151 |
+
'SET-GREEN-VA',
|
| 2152 |
+
'SET-GREEN-VAL',
|
| 2153 |
+
'SET-GREEN-VALU',
|
| 2154 |
+
'SET-GREEN-VALUE',
|
| 2155 |
+
'SET-INPUT-SOURCE',
|
| 2156 |
+
'SET-OPTION',
|
| 2157 |
+
'SET-OUTPUT-DESTINATION',
|
| 2158 |
+
'SET-PARAMETER',
|
| 2159 |
+
'SET-POINTER-VALUE',
|
| 2160 |
+
'SET-PROPERTY',
|
| 2161 |
+
'SET-RED',
|
| 2162 |
+
'SET-RED-',
|
| 2163 |
+
'SET-RED-V',
|
| 2164 |
+
'SET-RED-VA',
|
| 2165 |
+
'SET-RED-VAL',
|
| 2166 |
+
'SET-RED-VALU',
|
| 2167 |
+
'SET-RED-VALUE',
|
| 2168 |
+
'SET-REPOSITIONED-ROW',
|
| 2169 |
+
'SET-RGB-VALUE',
|
| 2170 |
+
'SET-ROLLBACK',
|
| 2171 |
+
'SET-SELECTION',
|
| 2172 |
+
'SET-SIZE',
|
| 2173 |
+
'SET-SORT-ARROW',
|
| 2174 |
+
'SET-WAIT-STATE',
|
| 2175 |
+
'SETUSER',
|
| 2176 |
+
'SETUSERI',
|
| 2177 |
+
'SETUSERID',
|
| 2178 |
+
'SHA1-DIGEST',
|
| 2179 |
+
'SHARE',
|
| 2180 |
+
'SHARE-',
|
| 2181 |
+
'SHARE-L',
|
| 2182 |
+
'SHARE-LO',
|
| 2183 |
+
'SHARE-LOC',
|
| 2184 |
+
'SHARE-LOCK',
|
| 2185 |
+
'SHARED',
|
| 2186 |
+
'SHOW-IN-TASKBAR',
|
| 2187 |
+
'SHOW-STAT',
|
| 2188 |
+
'SHOW-STATS',
|
| 2189 |
+
'SIDE-LAB',
|
| 2190 |
+
'SIDE-LABE',
|
| 2191 |
+
'SIDE-LABEL',
|
| 2192 |
+
'SIDE-LABEL-H',
|
| 2193 |
+
'SIDE-LABEL-HA',
|
| 2194 |
+
'SIDE-LABEL-HAN',
|
| 2195 |
+
'SIDE-LABEL-HAND',
|
| 2196 |
+
'SIDE-LABEL-HANDL',
|
| 2197 |
+
'SIDE-LABEL-HANDLE',
|
| 2198 |
+
'SIDE-LABELS',
|
| 2199 |
+
'SIGNATURE',
|
| 2200 |
+
'SILENT',
|
| 2201 |
+
'SIMPLE',
|
| 2202 |
+
'SINGLE',
|
| 2203 |
+
'SINGLE-RUN',
|
| 2204 |
+
'SINGLETON',
|
| 2205 |
+
'SIZE',
|
| 2206 |
+
'SIZE-C',
|
| 2207 |
+
'SIZE-CH',
|
| 2208 |
+
'SIZE-CHA',
|
| 2209 |
+
'SIZE-CHAR',
|
| 2210 |
+
'SIZE-CHARS',
|
| 2211 |
+
'SIZE-P',
|
| 2212 |
+
'SIZE-PI',
|
| 2213 |
+
'SIZE-PIX',
|
| 2214 |
+
'SIZE-PIXE',
|
| 2215 |
+
'SIZE-PIXEL',
|
| 2216 |
+
'SIZE-PIXELS',
|
| 2217 |
+
'SKIP',
|
| 2218 |
+
'SKIP-DELETED-RECORD',
|
| 2219 |
+
'SLIDER',
|
| 2220 |
+
'SMALL-ICON',
|
| 2221 |
+
'SMALL-TITLE',
|
| 2222 |
+
'SMALLINT',
|
| 2223 |
+
'SOME',
|
| 2224 |
+
'SORT',
|
| 2225 |
+
'SORT-ASCENDING',
|
| 2226 |
+
'SORT-NUMBER',
|
| 2227 |
+
'SOURCE',
|
| 2228 |
+
'SOURCE-PROCEDURE',
|
| 2229 |
+
'SPACE',
|
| 2230 |
+
'SQL',
|
| 2231 |
+
'SQRT',
|
| 2232 |
+
'SSL-SERVER-NAME',
|
| 2233 |
+
'STANDALONE',
|
| 2234 |
+
'START',
|
| 2235 |
+
'START-DOCUMENT',
|
| 2236 |
+
'START-ELEMENT',
|
| 2237 |
+
'START-MOVE',
|
| 2238 |
+
'START-RESIZE',
|
| 2239 |
+
'START-ROW-RESIZE',
|
| 2240 |
+
'STATE-DETAIL',
|
| 2241 |
+
'STATIC',
|
| 2242 |
+
'STATUS',
|
| 2243 |
+
'STATUS-AREA',
|
| 2244 |
+
'STATUS-AREA-FONT',
|
| 2245 |
+
'STDCALL',
|
| 2246 |
+
'STOP',
|
| 2247 |
+
'STOP-AFTER',
|
| 2248 |
+
'STOP-PARSING',
|
| 2249 |
+
'STOPPE',
|
| 2250 |
+
'STOPPED',
|
| 2251 |
+
'STORED-PROC',
|
| 2252 |
+
'STORED-PROCE',
|
| 2253 |
+
'STORED-PROCED',
|
| 2254 |
+
'STORED-PROCEDU',
|
| 2255 |
+
'STORED-PROCEDUR',
|
| 2256 |
+
'STORED-PROCEDURE',
|
| 2257 |
+
'STREAM',
|
| 2258 |
+
'STREAM-HANDLE',
|
| 2259 |
+
'STREAM-IO',
|
| 2260 |
+
'STRETCH-TO-FIT',
|
| 2261 |
+
'STRICT',
|
| 2262 |
+
'STRICT-ENTITY-RESOLUTION',
|
| 2263 |
+
'STRING',
|
| 2264 |
+
'STRING-VALUE',
|
| 2265 |
+
'STRING-XREF',
|
| 2266 |
+
'SUB-AVE',
|
| 2267 |
+
'SUB-AVER',
|
| 2268 |
+
'SUB-AVERA',
|
| 2269 |
+
'SUB-AVERAG',
|
| 2270 |
+
'SUB-AVERAGE',
|
| 2271 |
+
'SUB-COUNT',
|
| 2272 |
+
'SUB-MAXIMUM',
|
| 2273 |
+
'SUB-MENU',
|
| 2274 |
+
'SUB-MIN',
|
| 2275 |
+
'SUB-MINIMUM',
|
| 2276 |
+
'SUB-TOTAL',
|
| 2277 |
+
'SUBSCRIBE',
|
| 2278 |
+
'SUBST',
|
| 2279 |
+
'SUBSTI',
|
| 2280 |
+
'SUBSTIT',
|
| 2281 |
+
'SUBSTITU',
|
| 2282 |
+
'SUBSTITUT',
|
| 2283 |
+
'SUBSTITUTE',
|
| 2284 |
+
'SUBSTR',
|
| 2285 |
+
'SUBSTRI',
|
| 2286 |
+
'SUBSTRIN',
|
| 2287 |
+
'SUBSTRING',
|
| 2288 |
+
'SUBTYPE',
|
| 2289 |
+
'SUM',
|
| 2290 |
+
'SUM-MAX',
|
| 2291 |
+
'SUM-MAXI',
|
| 2292 |
+
'SUM-MAXIM',
|
| 2293 |
+
'SUM-MAXIMU',
|
| 2294 |
+
'SUPER',
|
| 2295 |
+
'SUPER-PROCEDURES',
|
| 2296 |
+
'SUPPRESS-NAMESPACE-PROCESSING',
|
| 2297 |
+
'SUPPRESS-W',
|
| 2298 |
+
'SUPPRESS-WA',
|
| 2299 |
+
'SUPPRESS-WAR',
|
| 2300 |
+
'SUPPRESS-WARN',
|
| 2301 |
+
'SUPPRESS-WARNI',
|
| 2302 |
+
'SUPPRESS-WARNIN',
|
| 2303 |
+
'SUPPRESS-WARNING',
|
| 2304 |
+
'SUPPRESS-WARNINGS',
|
| 2305 |
+
'SYMMETRIC-ENCRYPTION-ALGORITHM',
|
| 2306 |
+
'SYMMETRIC-ENCRYPTION-IV',
|
| 2307 |
+
'SYMMETRIC-ENCRYPTION-KEY',
|
| 2308 |
+
'SYMMETRIC-SUPPORT',
|
| 2309 |
+
'SYSTEM-ALERT',
|
| 2310 |
+
'SYSTEM-ALERT-',
|
| 2311 |
+
'SYSTEM-ALERT-B',
|
| 2312 |
+
'SYSTEM-ALERT-BO',
|
| 2313 |
+
'SYSTEM-ALERT-BOX',
|
| 2314 |
+
'SYSTEM-ALERT-BOXE',
|
| 2315 |
+
'SYSTEM-ALERT-BOXES',
|
| 2316 |
+
'SYSTEM-DIALOG',
|
| 2317 |
+
'SYSTEM-HELP',
|
| 2318 |
+
'SYSTEM-ID',
|
| 2319 |
+
'TAB-POSITION',
|
| 2320 |
+
'TAB-STOP',
|
| 2321 |
+
'TABLE',
|
| 2322 |
+
'TABLE-HANDLE',
|
| 2323 |
+
'TABLE-NUMBER',
|
| 2324 |
+
'TABLE-SCAN',
|
| 2325 |
+
'TARGET',
|
| 2326 |
+
'TARGET-PROCEDURE',
|
| 2327 |
+
'TEMP-DIR',
|
| 2328 |
+
'TEMP-DIRE',
|
| 2329 |
+
'TEMP-DIREC',
|
| 2330 |
+
'TEMP-DIRECT',
|
| 2331 |
+
'TEMP-DIRECTO',
|
| 2332 |
+
'TEMP-DIRECTOR',
|
| 2333 |
+
'TEMP-DIRECTORY',
|
| 2334 |
+
'TEMP-TABLE',
|
| 2335 |
+
'TEMP-TABLE-PREPARE',
|
| 2336 |
+
'TERM',
|
| 2337 |
+
'TERMI',
|
| 2338 |
+
'TERMIN',
|
| 2339 |
+
'TERMINA',
|
| 2340 |
+
'TERMINAL',
|
| 2341 |
+
'TERMINATE',
|
| 2342 |
+
'TEXT',
|
| 2343 |
+
'TEXT-CURSOR',
|
| 2344 |
+
'TEXT-SEG-GROW',
|
| 2345 |
+
'TEXT-SELECTED',
|
| 2346 |
+
'THEN',
|
| 2347 |
+
'THIS-OBJECT',
|
| 2348 |
+
'THIS-PROCEDURE',
|
| 2349 |
+
'THREAD-SAFE',
|
| 2350 |
+
'THREE-D',
|
| 2351 |
+
'THROUGH',
|
| 2352 |
+
'THROW',
|
| 2353 |
+
'THRU',
|
| 2354 |
+
'TIC-MARKS',
|
| 2355 |
+
'TIME',
|
| 2356 |
+
'TIME-SOURCE',
|
| 2357 |
+
'TITLE',
|
| 2358 |
+
'TITLE-BGC',
|
| 2359 |
+
'TITLE-BGCO',
|
| 2360 |
+
'TITLE-BGCOL',
|
| 2361 |
+
'TITLE-BGCOLO',
|
| 2362 |
+
'TITLE-BGCOLOR',
|
| 2363 |
+
'TITLE-DC',
|
| 2364 |
+
'TITLE-DCO',
|
| 2365 |
+
'TITLE-DCOL',
|
| 2366 |
+
'TITLE-DCOLO',
|
| 2367 |
+
'TITLE-DCOLOR',
|
| 2368 |
+
'TITLE-FGC',
|
| 2369 |
+
'TITLE-FGCO',
|
| 2370 |
+
'TITLE-FGCOL',
|
| 2371 |
+
'TITLE-FGCOLO',
|
| 2372 |
+
'TITLE-FGCOLOR',
|
| 2373 |
+
'TITLE-FO',
|
| 2374 |
+
'TITLE-FON',
|
| 2375 |
+
'TITLE-FONT',
|
| 2376 |
+
'TO',
|
| 2377 |
+
'TO-ROWID',
|
| 2378 |
+
'TODAY',
|
| 2379 |
+
'TOGGLE-BOX',
|
| 2380 |
+
'TOOLTIP',
|
| 2381 |
+
'TOOLTIPS',
|
| 2382 |
+
'TOP-NAV-QUERY',
|
| 2383 |
+
'TOP-ONLY',
|
| 2384 |
+
'TOPIC',
|
| 2385 |
+
'TOTAL',
|
| 2386 |
+
'TRAILING',
|
| 2387 |
+
'TRANS',
|
| 2388 |
+
'TRANS-INIT-PROCEDURE',
|
| 2389 |
+
'TRANSACTION',
|
| 2390 |
+
'TRANSACTION-MODE',
|
| 2391 |
+
'TRANSPARENT',
|
| 2392 |
+
'TRIGGER',
|
| 2393 |
+
'TRIGGERS',
|
| 2394 |
+
'TRIM',
|
| 2395 |
+
'TRUE',
|
| 2396 |
+
'TRUNC',
|
| 2397 |
+
'TRUNCA',
|
| 2398 |
+
'TRUNCAT',
|
| 2399 |
+
'TRUNCATE',
|
| 2400 |
+
'TYPE',
|
| 2401 |
+
'TYPE-OF',
|
| 2402 |
+
'UNBOX',
|
| 2403 |
+
'UNBUFF',
|
| 2404 |
+
'UNBUFFE',
|
| 2405 |
+
'UNBUFFER',
|
| 2406 |
+
'UNBUFFERE',
|
| 2407 |
+
'UNBUFFERED',
|
| 2408 |
+
'UNDERL',
|
| 2409 |
+
'UNDERLI',
|
| 2410 |
+
'UNDERLIN',
|
| 2411 |
+
'UNDERLINE',
|
| 2412 |
+
'UNDO',
|
| 2413 |
+
'UNFORM',
|
| 2414 |
+
'UNFORMA',
|
| 2415 |
+
'UNFORMAT',
|
| 2416 |
+
'UNFORMATT',
|
| 2417 |
+
'UNFORMATTE',
|
| 2418 |
+
'UNFORMATTED',
|
| 2419 |
+
'UNION',
|
| 2420 |
+
'UNIQUE',
|
| 2421 |
+
'UNIQUE-ID',
|
| 2422 |
+
'UNIQUE-MATCH',
|
| 2423 |
+
'UNIX',
|
| 2424 |
+
'UNLESS-HIDDEN',
|
| 2425 |
+
'UNLOAD',
|
| 2426 |
+
'UNSIGNED-LONG',
|
| 2427 |
+
'UNSUBSCRIBE',
|
| 2428 |
+
'UP',
|
| 2429 |
+
'UPDATE',
|
| 2430 |
+
'UPDATE-ATTRIBUTE',
|
| 2431 |
+
'URL',
|
| 2432 |
+
'URL-DECODE',
|
| 2433 |
+
'URL-ENCODE',
|
| 2434 |
+
'URL-PASSWORD',
|
| 2435 |
+
'URL-USERID',
|
| 2436 |
+
'USE',
|
| 2437 |
+
'USE-DICT-EXPS',
|
| 2438 |
+
'USE-FILENAME',
|
| 2439 |
+
'USE-INDEX',
|
| 2440 |
+
'USE-REVVIDEO',
|
| 2441 |
+
'USE-TEXT',
|
| 2442 |
+
'USE-UNDERLINE',
|
| 2443 |
+
'USE-WIDGET-POOL',
|
| 2444 |
+
'USER',
|
| 2445 |
+
'USER-ID',
|
| 2446 |
+
'USERID',
|
| 2447 |
+
'USING',
|
| 2448 |
+
'V6DISPLAY',
|
| 2449 |
+
'V6FRAME',
|
| 2450 |
+
'VALID-EVENT',
|
| 2451 |
+
'VALID-HANDLE',
|
| 2452 |
+
'VALID-OBJECT',
|
| 2453 |
+
'VALIDATE',
|
| 2454 |
+
'VALIDATE-EXPRESSION',
|
| 2455 |
+
'VALIDATE-MESSAGE',
|
| 2456 |
+
'VALIDATE-SEAL',
|
| 2457 |
+
'VALIDATION-ENABLED',
|
| 2458 |
+
'VALUE',
|
| 2459 |
+
'VALUE-CHANGED',
|
| 2460 |
+
'VALUES',
|
| 2461 |
+
'VAR',
|
| 2462 |
+
'VARI',
|
| 2463 |
+
'VARIA',
|
| 2464 |
+
'VARIAB',
|
| 2465 |
+
'VARIABL',
|
| 2466 |
+
'VARIABLE',
|
| 2467 |
+
'VERBOSE',
|
| 2468 |
+
'VERSION',
|
| 2469 |
+
'VERT',
|
| 2470 |
+
'VERTI',
|
| 2471 |
+
'VERTIC',
|
| 2472 |
+
'VERTICA',
|
| 2473 |
+
'VERTICAL',
|
| 2474 |
+
'VIEW',
|
| 2475 |
+
'VIEW-AS',
|
| 2476 |
+
'VIEW-FIRST-COLUMN-ON-REOPEN',
|
| 2477 |
+
'VIRTUAL-HEIGHT',
|
| 2478 |
+
'VIRTUAL-HEIGHT-',
|
| 2479 |
+
'VIRTUAL-HEIGHT-C',
|
| 2480 |
+
'VIRTUAL-HEIGHT-CH',
|
| 2481 |
+
'VIRTUAL-HEIGHT-CHA',
|
| 2482 |
+
'VIRTUAL-HEIGHT-CHAR',
|
| 2483 |
+
'VIRTUAL-HEIGHT-CHARS',
|
| 2484 |
+
'VIRTUAL-HEIGHT-P',
|
| 2485 |
+
'VIRTUAL-HEIGHT-PI',
|
| 2486 |
+
'VIRTUAL-HEIGHT-PIX',
|
| 2487 |
+
'VIRTUAL-HEIGHT-PIXE',
|
| 2488 |
+
'VIRTUAL-HEIGHT-PIXEL',
|
| 2489 |
+
'VIRTUAL-HEIGHT-PIXELS',
|
| 2490 |
+
'VIRTUAL-WIDTH',
|
| 2491 |
+
'VIRTUAL-WIDTH-',
|
| 2492 |
+
'VIRTUAL-WIDTH-C',
|
| 2493 |
+
'VIRTUAL-WIDTH-CH',
|
| 2494 |
+
'VIRTUAL-WIDTH-CHA',
|
| 2495 |
+
'VIRTUAL-WIDTH-CHAR',
|
| 2496 |
+
'VIRTUAL-WIDTH-CHARS',
|
| 2497 |
+
'VIRTUAL-WIDTH-P',
|
| 2498 |
+
'VIRTUAL-WIDTH-PI',
|
| 2499 |
+
'VIRTUAL-WIDTH-PIX',
|
| 2500 |
+
'VIRTUAL-WIDTH-PIXE',
|
| 2501 |
+
'VIRTUAL-WIDTH-PIXEL',
|
| 2502 |
+
'VIRTUAL-WIDTH-PIXELS',
|
| 2503 |
+
'VISIBLE',
|
| 2504 |
+
'VOID',
|
| 2505 |
+
'WAIT',
|
| 2506 |
+
'WAIT-FOR',
|
| 2507 |
+
'WARNING',
|
| 2508 |
+
'WEB-CONTEXT',
|
| 2509 |
+
'WEEKDAY',
|
| 2510 |
+
'WHEN',
|
| 2511 |
+
'WHERE',
|
| 2512 |
+
'WHILE',
|
| 2513 |
+
'WIDGET',
|
| 2514 |
+
'WIDGET-E',
|
| 2515 |
+
'WIDGET-EN',
|
| 2516 |
+
'WIDGET-ENT',
|
| 2517 |
+
'WIDGET-ENTE',
|
| 2518 |
+
'WIDGET-ENTER',
|
| 2519 |
+
'WIDGET-ID',
|
| 2520 |
+
'WIDGET-L',
|
| 2521 |
+
'WIDGET-LE',
|
| 2522 |
+
'WIDGET-LEA',
|
| 2523 |
+
'WIDGET-LEAV',
|
| 2524 |
+
'WIDGET-LEAVE',
|
| 2525 |
+
'WIDGET-POOL',
|
| 2526 |
+
'WIDTH',
|
| 2527 |
+
'WIDTH-',
|
| 2528 |
+
'WIDTH-C',
|
| 2529 |
+
'WIDTH-CH',
|
| 2530 |
+
'WIDTH-CHA',
|
| 2531 |
+
'WIDTH-CHAR',
|
| 2532 |
+
'WIDTH-CHARS',
|
| 2533 |
+
'WIDTH-P',
|
| 2534 |
+
'WIDTH-PI',
|
| 2535 |
+
'WIDTH-PIX',
|
| 2536 |
+
'WIDTH-PIXE',
|
| 2537 |
+
'WIDTH-PIXEL',
|
| 2538 |
+
'WIDTH-PIXELS',
|
| 2539 |
+
'WINDOW',
|
| 2540 |
+
'WINDOW-MAXIM',
|
| 2541 |
+
'WINDOW-MAXIMI',
|
| 2542 |
+
'WINDOW-MAXIMIZ',
|
| 2543 |
+
'WINDOW-MAXIMIZE',
|
| 2544 |
+
'WINDOW-MAXIMIZED',
|
| 2545 |
+
'WINDOW-MINIM',
|
| 2546 |
+
'WINDOW-MINIMI',
|
| 2547 |
+
'WINDOW-MINIMIZ',
|
| 2548 |
+
'WINDOW-MINIMIZE',
|
| 2549 |
+
'WINDOW-MINIMIZED',
|
| 2550 |
+
'WINDOW-NAME',
|
| 2551 |
+
'WINDOW-NORMAL',
|
| 2552 |
+
'WINDOW-STA',
|
| 2553 |
+
'WINDOW-STAT',
|
| 2554 |
+
'WINDOW-STATE',
|
| 2555 |
+
'WINDOW-SYSTEM',
|
| 2556 |
+
'WITH',
|
| 2557 |
+
'WORD-INDEX',
|
| 2558 |
+
'WORD-WRAP',
|
| 2559 |
+
'WORK-AREA-HEIGHT-PIXELS',
|
| 2560 |
+
'WORK-AREA-WIDTH-PIXELS',
|
| 2561 |
+
'WORK-AREA-X',
|
| 2562 |
+
'WORK-AREA-Y',
|
| 2563 |
+
'WORK-TAB',
|
| 2564 |
+
'WORK-TABL',
|
| 2565 |
+
'WORK-TABLE',
|
| 2566 |
+
'WORKFILE',
|
| 2567 |
+
'WRITE',
|
| 2568 |
+
'WRITE-CDATA',
|
| 2569 |
+
'WRITE-CHARACTERS',
|
| 2570 |
+
'WRITE-COMMENT',
|
| 2571 |
+
'WRITE-DATA-ELEMENT',
|
| 2572 |
+
'WRITE-EMPTY-ELEMENT',
|
| 2573 |
+
'WRITE-ENTITY-REF',
|
| 2574 |
+
'WRITE-EXTERNAL-DTD',
|
| 2575 |
+
'WRITE-FRAGMENT',
|
| 2576 |
+
'WRITE-JSON',
|
| 2577 |
+
'WRITE-MESSAGE',
|
| 2578 |
+
'WRITE-PROCESSING-INSTRUCTION',
|
| 2579 |
+
'WRITE-STATUS',
|
| 2580 |
+
'WRITE-XML',
|
| 2581 |
+
'WRITE-XMLSCHEMA',
|
| 2582 |
+
'X',
|
| 2583 |
+
'X-OF',
|
| 2584 |
+
'XCODE',
|
| 2585 |
+
'XML-DATA-TYPE',
|
| 2586 |
+
'XML-ENTITY-EXPANSION-LIMIT',
|
| 2587 |
+
'XML-NODE-TYPE',
|
| 2588 |
+
'XML-SCHEMA-PATH',
|
| 2589 |
+
'XML-STRICT-ENTITY-RESOLUTION',
|
| 2590 |
+
'XML-SUPPRESS-NAMESPACE-PROCESSING',
|
| 2591 |
+
'XREF',
|
| 2592 |
+
'XREF-XML',
|
| 2593 |
+
'Y',
|
| 2594 |
+
'Y-OF',
|
| 2595 |
+
'YEAR',
|
| 2596 |
+
'YEAR-OFFSET',
|
| 2597 |
+
'YES',
|
| 2598 |
+
'YES-NO',
|
| 2599 |
+
'YES-NO-CANCEL'
|
| 2600 |
+
)
|