JustinTX commited on
Commit
d8a7c37
·
verified ·
1 Parent(s): 3774cd7

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. py311/lib/python3.11/site-packages/omegaconf/__pycache__/__init__.cpython-311.pyc +0 -0
  2. py311/lib/python3.11/site-packages/omegaconf/grammar/__init__.py +0 -0
  3. py311/lib/python3.11/site-packages/omegaconf/resolvers/__init__.py +5 -0
  4. py311/lib/python3.11/site-packages/pygments/__pycache__/__init__.cpython-311.pyc +0 -0
  5. py311/lib/python3.11/site-packages/pygments/__pycache__/filter.cpython-311.pyc +0 -0
  6. py311/lib/python3.11/site-packages/pygments/__pycache__/lexer.cpython-311.pyc +0 -0
  7. py311/lib/python3.11/site-packages/pygments/__pycache__/modeline.cpython-311.pyc +0 -0
  8. py311/lib/python3.11/site-packages/pygments/__pycache__/plugin.cpython-311.pyc +0 -0
  9. py311/lib/python3.11/site-packages/pygments/__pycache__/regexopt.cpython-311.pyc +0 -0
  10. py311/lib/python3.11/site-packages/pygments/__pycache__/style.cpython-311.pyc +0 -0
  11. py311/lib/python3.11/site-packages/pygments/__pycache__/token.cpython-311.pyc +0 -0
  12. py311/lib/python3.11/site-packages/pygments/__pycache__/util.cpython-311.pyc +0 -0
  13. py311/lib/python3.11/site-packages/pygments/filters/__init__.py +940 -0
  14. py311/lib/python3.11/site-packages/pygments/filters/__pycache__/__init__.cpython-311.pyc +0 -0
  15. py311/lib/python3.11/site-packages/pygments/formatters/__init__.py +157 -0
  16. py311/lib/python3.11/site-packages/pygments/formatters/_mapping.py +23 -0
  17. py311/lib/python3.11/site-packages/pygments/formatters/bbcode.py +108 -0
  18. py311/lib/python3.11/site-packages/pygments/formatters/groff.py +170 -0
  19. py311/lib/python3.11/site-packages/pygments/formatters/html.py +995 -0
  20. py311/lib/python3.11/site-packages/pygments/formatters/img.py +686 -0
  21. py311/lib/python3.11/site-packages/pygments/formatters/irc.py +154 -0
  22. py311/lib/python3.11/site-packages/pygments/formatters/latex.py +518 -0
  23. py311/lib/python3.11/site-packages/pygments/formatters/other.py +160 -0
  24. py311/lib/python3.11/site-packages/pygments/formatters/pangomarkup.py +83 -0
  25. py311/lib/python3.11/site-packages/pygments/formatters/rtf.py +349 -0
  26. py311/lib/python3.11/site-packages/pygments/formatters/svg.py +185 -0
  27. py311/lib/python3.11/site-packages/pygments/formatters/terminal.py +127 -0
  28. py311/lib/python3.11/site-packages/pygments/formatters/terminal256.py +338 -0
  29. py311/lib/python3.11/site-packages/pygments/lexers/__pycache__/_mapping.cpython-311.pyc +0 -0
  30. py311/lib/python3.11/site-packages/pygments/lexers/_ada_builtins.py +103 -0
  31. py311/lib/python3.11/site-packages/pygments/lexers/_asy_builtins.py +1644 -0
  32. py311/lib/python3.11/site-packages/pygments/lexers/_cl_builtins.py +231 -0
  33. py311/lib/python3.11/site-packages/pygments/lexers/_cocoa_builtins.py +0 -0
  34. py311/lib/python3.11/site-packages/pygments/lexers/_csound_builtins.py +1780 -0
  35. py311/lib/python3.11/site-packages/pygments/lexers/_css_builtins.py +558 -0
  36. py311/lib/python3.11/site-packages/pygments/lexers/_googlesql_builtins.py +918 -0
  37. py311/lib/python3.11/site-packages/pygments/lexers/_lasso_builtins.py +0 -0
  38. py311/lib/python3.11/site-packages/pygments/lexers/_lilypond_builtins.py +0 -0
  39. py311/lib/python3.11/site-packages/pygments/lexers/_lua_builtins.py +285 -0
  40. py311/lib/python3.11/site-packages/pygments/lexers/_luau_builtins.py +62 -0
  41. py311/lib/python3.11/site-packages/pygments/lexers/_mapping.py +602 -0
  42. py311/lib/python3.11/site-packages/pygments/lexers/_mql_builtins.py +1171 -0
  43. py311/lib/python3.11/site-packages/pygments/lexers/_mysql_builtins.py +1335 -0
  44. py311/lib/python3.11/site-packages/pygments/lexers/_openedge_builtins.py +2600 -0
  45. py311/lib/python3.11/site-packages/pygments/lexers/_php_builtins.py +0 -0
  46. py311/lib/python3.11/site-packages/pygments/lexers/_postgres_builtins.py +739 -0
  47. py311/lib/python3.11/site-packages/pygments/lexers/_qlik_builtins.py +666 -0
  48. py311/lib/python3.11/site-packages/pygments/lexers/_scheme_builtins.py +1609 -0
  49. py311/lib/python3.11/site-packages/pygments/lexers/_sourcemod_builtins.py +1151 -0
  50. py311/lib/python3.11/site-packages/pygments/lexers/_sql_builtins.py +106 -0
py311/lib/python3.11/site-packages/omegaconf/__pycache__/__init__.cpython-311.pyc ADDED
Binary file (1.53 kB). View file
 
py311/lib/python3.11/site-packages/omegaconf/grammar/__init__.py ADDED
File without changes
py311/lib/python3.11/site-packages/omegaconf/resolvers/__init__.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from omegaconf.resolvers import oc
2
+
3
+ __all__ = [
4
+ "oc",
5
+ ]
py311/lib/python3.11/site-packages/pygments/__pycache__/__init__.cpython-311.pyc ADDED
Binary file (3.8 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/filter.cpython-311.pyc ADDED
Binary file (3.49 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/lexer.cpython-311.pyc ADDED
Binary file (42.7 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/modeline.cpython-311.pyc ADDED
Binary file (1.72 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/plugin.cpython-311.pyc ADDED
Binary file (2.85 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/regexopt.cpython-311.pyc ADDED
Binary file (5.03 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/style.cpython-311.pyc ADDED
Binary file (7.45 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/token.cpython-311.pyc ADDED
Binary file (7.5 kB). View file
 
py311/lib/python3.11/site-packages/pygments/__pycache__/util.cpython-311.pyc ADDED
Binary file (15.8 kB). View file
 
py311/lib/python3.11/site-packages/pygments/filters/__init__.py ADDED
@@ -0,0 +1,940 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.filters
3
+ ~~~~~~~~~~~~~~~~
4
+
5
+ Module containing filter lookup functions and default
6
+ filters.
7
+
8
+ :copyright: Copyright 2006-2025 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 such as \\<longrightarrow> in Isabelle
99
+ or \\longrightarrow in LaTeX into Unicode characters.
100
+
101
+ This is mostly useful for HTML or console output when you want to
102
+ approximate the source rendering you'd see in an IDE.
103
+
104
+ Options accepted:
105
+
106
+ `lang` : string
107
+ The symbol language. Must be one of ``'isabelle'`` or
108
+ ``'latex'``. The default is ``'isabelle'``.
109
+ """
110
+
111
+ latex_symbols = {
112
+ '\\alpha' : '\U000003b1',
113
+ '\\beta' : '\U000003b2',
114
+ '\\gamma' : '\U000003b3',
115
+ '\\delta' : '\U000003b4',
116
+ '\\varepsilon' : '\U000003b5',
117
+ '\\zeta' : '\U000003b6',
118
+ '\\eta' : '\U000003b7',
119
+ '\\vartheta' : '\U000003b8',
120
+ '\\iota' : '\U000003b9',
121
+ '\\kappa' : '\U000003ba',
122
+ '\\lambda' : '\U000003bb',
123
+ '\\mu' : '\U000003bc',
124
+ '\\nu' : '\U000003bd',
125
+ '\\xi' : '\U000003be',
126
+ '\\pi' : '\U000003c0',
127
+ '\\varrho' : '\U000003c1',
128
+ '\\sigma' : '\U000003c3',
129
+ '\\tau' : '\U000003c4',
130
+ '\\upsilon' : '\U000003c5',
131
+ '\\varphi' : '\U000003c6',
132
+ '\\chi' : '\U000003c7',
133
+ '\\psi' : '\U000003c8',
134
+ '\\omega' : '\U000003c9',
135
+ '\\Gamma' : '\U00000393',
136
+ '\\Delta' : '\U00000394',
137
+ '\\Theta' : '\U00000398',
138
+ '\\Lambda' : '\U0000039b',
139
+ '\\Xi' : '\U0000039e',
140
+ '\\Pi' : '\U000003a0',
141
+ '\\Sigma' : '\U000003a3',
142
+ '\\Upsilon' : '\U000003a5',
143
+ '\\Phi' : '\U000003a6',
144
+ '\\Psi' : '\U000003a8',
145
+ '\\Omega' : '\U000003a9',
146
+ '\\leftarrow' : '\U00002190',
147
+ '\\longleftarrow' : '\U000027f5',
148
+ '\\rightarrow' : '\U00002192',
149
+ '\\longrightarrow' : '\U000027f6',
150
+ '\\Leftarrow' : '\U000021d0',
151
+ '\\Longleftarrow' : '\U000027f8',
152
+ '\\Rightarrow' : '\U000021d2',
153
+ '\\Longrightarrow' : '\U000027f9',
154
+ '\\leftrightarrow' : '\U00002194',
155
+ '\\longleftrightarrow' : '\U000027f7',
156
+ '\\Leftrightarrow' : '\U000021d4',
157
+ '\\Longleftrightarrow' : '\U000027fa',
158
+ '\\mapsto' : '\U000021a6',
159
+ '\\longmapsto' : '\U000027fc',
160
+ '\\relbar' : '\U00002500',
161
+ '\\Relbar' : '\U00002550',
162
+ '\\hookleftarrow' : '\U000021a9',
163
+ '\\hookrightarrow' : '\U000021aa',
164
+ '\\leftharpoondown' : '\U000021bd',
165
+ '\\rightharpoondown' : '\U000021c1',
166
+ '\\leftharpoonup' : '\U000021bc',
167
+ '\\rightharpoonup' : '\U000021c0',
168
+ '\\rightleftharpoons' : '\U000021cc',
169
+ '\\leadsto' : '\U0000219d',
170
+ '\\downharpoonleft' : '\U000021c3',
171
+ '\\downharpoonright' : '\U000021c2',
172
+ '\\upharpoonleft' : '\U000021bf',
173
+ '\\upharpoonright' : '\U000021be',
174
+ '\\restriction' : '\U000021be',
175
+ '\\uparrow' : '\U00002191',
176
+ '\\Uparrow' : '\U000021d1',
177
+ '\\downarrow' : '\U00002193',
178
+ '\\Downarrow' : '\U000021d3',
179
+ '\\updownarrow' : '\U00002195',
180
+ '\\Updownarrow' : '\U000021d5',
181
+ '\\langle' : '\U000027e8',
182
+ '\\rangle' : '\U000027e9',
183
+ '\\lceil' : '\U00002308',
184
+ '\\rceil' : '\U00002309',
185
+ '\\lfloor' : '\U0000230a',
186
+ '\\rfloor' : '\U0000230b',
187
+ '\\flqq' : '\U000000ab',
188
+ '\\frqq' : '\U000000bb',
189
+ '\\bot' : '\U000022a5',
190
+ '\\top' : '\U000022a4',
191
+ '\\wedge' : '\U00002227',
192
+ '\\bigwedge' : '\U000022c0',
193
+ '\\vee' : '\U00002228',
194
+ '\\bigvee' : '\U000022c1',
195
+ '\\forall' : '\U00002200',
196
+ '\\exists' : '\U00002203',
197
+ '\\nexists' : '\U00002204',
198
+ '\\neg' : '\U000000ac',
199
+ '\\Box' : '\U000025a1',
200
+ '\\Diamond' : '\U000025c7',
201
+ '\\vdash' : '\U000022a2',
202
+ '\\models' : '\U000022a8',
203
+ '\\dashv' : '\U000022a3',
204
+ '\\surd' : '\U0000221a',
205
+ '\\le' : '\U00002264',
206
+ '\\ge' : '\U00002265',
207
+ '\\ll' : '\U0000226a',
208
+ '\\gg' : '\U0000226b',
209
+ '\\lesssim' : '\U00002272',
210
+ '\\gtrsim' : '\U00002273',
211
+ '\\lessapprox' : '\U00002a85',
212
+ '\\gtrapprox' : '\U00002a86',
213
+ '\\in' : '\U00002208',
214
+ '\\notin' : '\U00002209',
215
+ '\\subset' : '\U00002282',
216
+ '\\supset' : '\U00002283',
217
+ '\\subseteq' : '\U00002286',
218
+ '\\supseteq' : '\U00002287',
219
+ '\\sqsubset' : '\U0000228f',
220
+ '\\sqsupset' : '\U00002290',
221
+ '\\sqsubseteq' : '\U00002291',
222
+ '\\sqsupseteq' : '\U00002292',
223
+ '\\cap' : '\U00002229',
224
+ '\\bigcap' : '\U000022c2',
225
+ '\\cup' : '\U0000222a',
226
+ '\\bigcup' : '\U000022c3',
227
+ '\\sqcup' : '\U00002294',
228
+ '\\bigsqcup' : '\U00002a06',
229
+ '\\sqcap' : '\U00002293',
230
+ '\\Bigsqcap' : '\U00002a05',
231
+ '\\setminus' : '\U00002216',
232
+ '\\propto' : '\U0000221d',
233
+ '\\uplus' : '\U0000228e',
234
+ '\\bigplus' : '\U00002a04',
235
+ '\\sim' : '\U0000223c',
236
+ '\\doteq' : '\U00002250',
237
+ '\\simeq' : '\U00002243',
238
+ '\\approx' : '\U00002248',
239
+ '\\asymp' : '\U0000224d',
240
+ '\\cong' : '\U00002245',
241
+ '\\equiv' : '\U00002261',
242
+ '\\Join' : '\U000022c8',
243
+ '\\bowtie' : '\U00002a1d',
244
+ '\\prec' : '\U0000227a',
245
+ '\\succ' : '\U0000227b',
246
+ '\\preceq' : '\U0000227c',
247
+ '\\succeq' : '\U0000227d',
248
+ '\\parallel' : '\U00002225',
249
+ '\\mid' : '\U000000a6',
250
+ '\\pm' : '\U000000b1',
251
+ '\\mp' : '\U00002213',
252
+ '\\times' : '\U000000d7',
253
+ '\\div' : '\U000000f7',
254
+ '\\cdot' : '\U000022c5',
255
+ '\\star' : '\U000022c6',
256
+ '\\circ' : '\U00002218',
257
+ '\\dagger' : '\U00002020',
258
+ '\\ddagger' : '\U00002021',
259
+ '\\lhd' : '\U000022b2',
260
+ '\\rhd' : '\U000022b3',
261
+ '\\unlhd' : '\U000022b4',
262
+ '\\unrhd' : '\U000022b5',
263
+ '\\triangleleft' : '\U000025c3',
264
+ '\\triangleright' : '\U000025b9',
265
+ '\\triangle' : '\U000025b3',
266
+ '\\triangleq' : '\U0000225c',
267
+ '\\oplus' : '\U00002295',
268
+ '\\bigoplus' : '\U00002a01',
269
+ '\\otimes' : '\U00002297',
270
+ '\\bigotimes' : '\U00002a02',
271
+ '\\odot' : '\U00002299',
272
+ '\\bigodot' : '\U00002a00',
273
+ '\\ominus' : '\U00002296',
274
+ '\\oslash' : '\U00002298',
275
+ '\\dots' : '\U00002026',
276
+ '\\cdots' : '\U000022ef',
277
+ '\\sum' : '\U00002211',
278
+ '\\prod' : '\U0000220f',
279
+ '\\coprod' : '\U00002210',
280
+ '\\infty' : '\U0000221e',
281
+ '\\int' : '\U0000222b',
282
+ '\\oint' : '\U0000222e',
283
+ '\\clubsuit' : '\U00002663',
284
+ '\\diamondsuit' : '\U00002662',
285
+ '\\heartsuit' : '\U00002661',
286
+ '\\spadesuit' : '\U00002660',
287
+ '\\aleph' : '\U00002135',
288
+ '\\emptyset' : '\U00002205',
289
+ '\\nabla' : '\U00002207',
290
+ '\\partial' : '\U00002202',
291
+ '\\flat' : '\U0000266d',
292
+ '\\natural' : '\U0000266e',
293
+ '\\sharp' : '\U0000266f',
294
+ '\\angle' : '\U00002220',
295
+ '\\copyright' : '\U000000a9',
296
+ '\\textregistered' : '\U000000ae',
297
+ '\\textonequarter' : '\U000000bc',
298
+ '\\textonehalf' : '\U000000bd',
299
+ '\\textthreequarters' : '\U000000be',
300
+ '\\textordfeminine' : '\U000000aa',
301
+ '\\textordmasculine' : '\U000000ba',
302
+ '\\euro' : '\U000020ac',
303
+ '\\pounds' : '\U000000a3',
304
+ '\\yen' : '\U000000a5',
305
+ '\\textcent' : '\U000000a2',
306
+ '\\textcurrency' : '\U000000a4',
307
+ '\\textdegree' : '\U000000b0',
308
+ }
309
+
310
+ isabelle_symbols = {
311
+ '\\<zero>' : '\U0001d7ec',
312
+ '\\<one>' : '\U0001d7ed',
313
+ '\\<two>' : '\U0001d7ee',
314
+ '\\<three>' : '\U0001d7ef',
315
+ '\\<four>' : '\U0001d7f0',
316
+ '\\<five>' : '\U0001d7f1',
317
+ '\\<six>' : '\U0001d7f2',
318
+ '\\<seven>' : '\U0001d7f3',
319
+ '\\<eight>' : '\U0001d7f4',
320
+ '\\<nine>' : '\U0001d7f5',
321
+ '\\<A>' : '\U0001d49c',
322
+ '\\<B>' : '\U0000212c',
323
+ '\\<C>' : '\U0001d49e',
324
+ '\\<D>' : '\U0001d49f',
325
+ '\\<E>' : '\U00002130',
326
+ '\\<F>' : '\U00002131',
327
+ '\\<G>' : '\U0001d4a2',
328
+ '\\<H>' : '\U0000210b',
329
+ '\\<I>' : '\U00002110',
330
+ '\\<J>' : '\U0001d4a5',
331
+ '\\<K>' : '\U0001d4a6',
332
+ '\\<L>' : '\U00002112',
333
+ '\\<M>' : '\U00002133',
334
+ '\\<N>' : '\U0001d4a9',
335
+ '\\<O>' : '\U0001d4aa',
336
+ '\\<P>' : '\U0001d4ab',
337
+ '\\<Q>' : '\U0001d4ac',
338
+ '\\<R>' : '\U0000211b',
339
+ '\\<S>' : '\U0001d4ae',
340
+ '\\<T>' : '\U0001d4af',
341
+ '\\<U>' : '\U0001d4b0',
342
+ '\\<V>' : '\U0001d4b1',
343
+ '\\<W>' : '\U0001d4b2',
344
+ '\\<X>' : '\U0001d4b3',
345
+ '\\<Y>' : '\U0001d4b4',
346
+ '\\<Z>' : '\U0001d4b5',
347
+ '\\<a>' : '\U0001d5ba',
348
+ '\\<b>' : '\U0001d5bb',
349
+ '\\<c>' : '\U0001d5bc',
350
+ '\\<d>' : '\U0001d5bd',
351
+ '\\<e>' : '\U0001d5be',
352
+ '\\<f>' : '\U0001d5bf',
353
+ '\\<g>' : '\U0001d5c0',
354
+ '\\<h>' : '\U0001d5c1',
355
+ '\\<i>' : '\U0001d5c2',
356
+ '\\<j>' : '\U0001d5c3',
357
+ '\\<k>' : '\U0001d5c4',
358
+ '\\<l>' : '\U0001d5c5',
359
+ '\\<m>' : '\U0001d5c6',
360
+ '\\<n>' : '\U0001d5c7',
361
+ '\\<o>' : '\U0001d5c8',
362
+ '\\<p>' : '\U0001d5c9',
363
+ '\\<q>' : '\U0001d5ca',
364
+ '\\<r>' : '\U0001d5cb',
365
+ '\\<s>' : '\U0001d5cc',
366
+ '\\<t>' : '\U0001d5cd',
367
+ '\\<u>' : '\U0001d5ce',
368
+ '\\<v>' : '\U0001d5cf',
369
+ '\\<w>' : '\U0001d5d0',
370
+ '\\<x>' : '\U0001d5d1',
371
+ '\\<y>' : '\U0001d5d2',
372
+ '\\<z>' : '\U0001d5d3',
373
+ '\\<AA>' : '\U0001d504',
374
+ '\\<BB>' : '\U0001d505',
375
+ '\\<CC>' : '\U0000212d',
376
+ '\\<DD>' : '\U0001d507',
377
+ '\\<EE>' : '\U0001d508',
378
+ '\\<FF>' : '\U0001d509',
379
+ '\\<GG>' : '\U0001d50a',
380
+ '\\<HH>' : '\U0000210c',
381
+ '\\<II>' : '\U00002111',
382
+ '\\<JJ>' : '\U0001d50d',
383
+ '\\<KK>' : '\U0001d50e',
384
+ '\\<LL>' : '\U0001d50f',
385
+ '\\<MM>' : '\U0001d510',
386
+ '\\<NN>' : '\U0001d511',
387
+ '\\<OO>' : '\U0001d512',
388
+ '\\<PP>' : '\U0001d513',
389
+ '\\<QQ>' : '\U0001d514',
390
+ '\\<RR>' : '\U0000211c',
391
+ '\\<SS>' : '\U0001d516',
392
+ '\\<TT>' : '\U0001d517',
393
+ '\\<UU>' : '\U0001d518',
394
+ '\\<VV>' : '\U0001d519',
395
+ '\\<WW>' : '\U0001d51a',
396
+ '\\<XX>' : '\U0001d51b',
397
+ '\\<YY>' : '\U0001d51c',
398
+ '\\<ZZ>' : '\U00002128',
399
+ '\\<aa>' : '\U0001d51e',
400
+ '\\<bb>' : '\U0001d51f',
401
+ '\\<cc>' : '\U0001d520',
402
+ '\\<dd>' : '\U0001d521',
403
+ '\\<ee>' : '\U0001d522',
404
+ '\\<ff>' : '\U0001d523',
405
+ '\\<gg>' : '\U0001d524',
406
+ '\\<hh>' : '\U0001d525',
407
+ '\\<ii>' : '\U0001d526',
408
+ '\\<jj>' : '\U0001d527',
409
+ '\\<kk>' : '\U0001d528',
410
+ '\\<ll>' : '\U0001d529',
411
+ '\\<mm>' : '\U0001d52a',
412
+ '\\<nn>' : '\U0001d52b',
413
+ '\\<oo>' : '\U0001d52c',
414
+ '\\<pp>' : '\U0001d52d',
415
+ '\\<qq>' : '\U0001d52e',
416
+ '\\<rr>' : '\U0001d52f',
417
+ '\\<ss>' : '\U0001d530',
418
+ '\\<tt>' : '\U0001d531',
419
+ '\\<uu>' : '\U0001d532',
420
+ '\\<vv>' : '\U0001d533',
421
+ '\\<ww>' : '\U0001d534',
422
+ '\\<xx>' : '\U0001d535',
423
+ '\\<yy>' : '\U0001d536',
424
+ '\\<zz>' : '\U0001d537',
425
+ '\\<alpha>' : '\U000003b1',
426
+ '\\<beta>' : '\U000003b2',
427
+ '\\<gamma>' : '\U000003b3',
428
+ '\\<delta>' : '\U000003b4',
429
+ '\\<epsilon>' : '\U000003b5',
430
+ '\\<zeta>' : '\U000003b6',
431
+ '\\<eta>' : '\U000003b7',
432
+ '\\<theta>' : '\U000003b8',
433
+ '\\<iota>' : '\U000003b9',
434
+ '\\<kappa>' : '\U000003ba',
435
+ '\\<lambda>' : '\U000003bb',
436
+ '\\<mu>' : '\U000003bc',
437
+ '\\<nu>' : '\U000003bd',
438
+ '\\<xi>' : '\U000003be',
439
+ '\\<pi>' : '\U000003c0',
440
+ '\\<rho>' : '\U000003c1',
441
+ '\\<sigma>' : '\U000003c3',
442
+ '\\<tau>' : '\U000003c4',
443
+ '\\<upsilon>' : '\U000003c5',
444
+ '\\<phi>' : '\U000003c6',
445
+ '\\<chi>' : '\U000003c7',
446
+ '\\<psi>' : '\U000003c8',
447
+ '\\<omega>' : '\U000003c9',
448
+ '\\<Gamma>' : '\U00000393',
449
+ '\\<Delta>' : '\U00000394',
450
+ '\\<Theta>' : '\U00000398',
451
+ '\\<Lambda>' : '\U0000039b',
452
+ '\\<Xi>' : '\U0000039e',
453
+ '\\<Pi>' : '\U000003a0',
454
+ '\\<Sigma>' : '\U000003a3',
455
+ '\\<Upsilon>' : '\U000003a5',
456
+ '\\<Phi>' : '\U000003a6',
457
+ '\\<Psi>' : '\U000003a8',
458
+ '\\<Omega>' : '\U000003a9',
459
+ '\\<bool>' : '\U0001d539',
460
+ '\\<complex>' : '\U00002102',
461
+ '\\<nat>' : '\U00002115',
462
+ '\\<rat>' : '\U0000211a',
463
+ '\\<real>' : '\U0000211d',
464
+ '\\<int>' : '\U00002124',
465
+ '\\<leftarrow>' : '\U00002190',
466
+ '\\<longleftarrow>' : '\U000027f5',
467
+ '\\<rightarrow>' : '\U00002192',
468
+ '\\<longrightarrow>' : '\U000027f6',
469
+ '\\<Leftarrow>' : '\U000021d0',
470
+ '\\<Longleftarrow>' : '\U000027f8',
471
+ '\\<Rightarrow>' : '\U000021d2',
472
+ '\\<Longrightarrow>' : '\U000027f9',
473
+ '\\<leftrightarrow>' : '\U00002194',
474
+ '\\<longleftrightarrow>' : '\U000027f7',
475
+ '\\<Leftrightarrow>' : '\U000021d4',
476
+ '\\<Longleftrightarrow>' : '\U000027fa',
477
+ '\\<mapsto>' : '\U000021a6',
478
+ '\\<longmapsto>' : '\U000027fc',
479
+ '\\<midarrow>' : '\U00002500',
480
+ '\\<Midarrow>' : '\U00002550',
481
+ '\\<hookleftarrow>' : '\U000021a9',
482
+ '\\<hookrightarrow>' : '\U000021aa',
483
+ '\\<leftharpoondown>' : '\U000021bd',
484
+ '\\<rightharpoondown>' : '\U000021c1',
485
+ '\\<leftharpoonup>' : '\U000021bc',
486
+ '\\<rightharpoonup>' : '\U000021c0',
487
+ '\\<rightleftharpoons>' : '\U000021cc',
488
+ '\\<leadsto>' : '\U0000219d',
489
+ '\\<downharpoonleft>' : '\U000021c3',
490
+ '\\<downharpoonright>' : '\U000021c2',
491
+ '\\<upharpoonleft>' : '\U000021bf',
492
+ '\\<upharpoonright>' : '\U000021be',
493
+ '\\<restriction>' : '\U000021be',
494
+ '\\<Colon>' : '\U00002237',
495
+ '\\<up>' : '\U00002191',
496
+ '\\<Up>' : '\U000021d1',
497
+ '\\<down>' : '\U00002193',
498
+ '\\<Down>' : '\U000021d3',
499
+ '\\<updown>' : '\U00002195',
500
+ '\\<Updown>' : '\U000021d5',
501
+ '\\<langle>' : '\U000027e8',
502
+ '\\<rangle>' : '\U000027e9',
503
+ '\\<lceil>' : '\U00002308',
504
+ '\\<rceil>' : '\U00002309',
505
+ '\\<lfloor>' : '\U0000230a',
506
+ '\\<rfloor>' : '\U0000230b',
507
+ '\\<lparr>' : '\U00002987',
508
+ '\\<rparr>' : '\U00002988',
509
+ '\\<lbrakk>' : '\U000027e6',
510
+ '\\<rbrakk>' : '\U000027e7',
511
+ '\\<lbrace>' : '\U00002983',
512
+ '\\<rbrace>' : '\U00002984',
513
+ '\\<guillemotleft>' : '\U000000ab',
514
+ '\\<guillemotright>' : '\U000000bb',
515
+ '\\<bottom>' : '\U000022a5',
516
+ '\\<top>' : '\U000022a4',
517
+ '\\<and>' : '\U00002227',
518
+ '\\<And>' : '\U000022c0',
519
+ '\\<or>' : '\U00002228',
520
+ '\\<Or>' : '\U000022c1',
521
+ '\\<forall>' : '\U00002200',
522
+ '\\<exists>' : '\U00002203',
523
+ '\\<nexists>' : '\U00002204',
524
+ '\\<not>' : '\U000000ac',
525
+ '\\<box>' : '\U000025a1',
526
+ '\\<diamond>' : '\U000025c7',
527
+ '\\<turnstile>' : '\U000022a2',
528
+ '\\<Turnstile>' : '\U000022a8',
529
+ '\\<tturnstile>' : '\U000022a9',
530
+ '\\<TTurnstile>' : '\U000022ab',
531
+ '\\<stileturn>' : '\U000022a3',
532
+ '\\<surd>' : '\U0000221a',
533
+ '\\<le>' : '\U00002264',
534
+ '\\<ge>' : '\U00002265',
535
+ '\\<lless>' : '\U0000226a',
536
+ '\\<ggreater>' : '\U0000226b',
537
+ '\\<lesssim>' : '\U00002272',
538
+ '\\<greatersim>' : '\U00002273',
539
+ '\\<lessapprox>' : '\U00002a85',
540
+ '\\<greaterapprox>' : '\U00002a86',
541
+ '\\<in>' : '\U00002208',
542
+ '\\<notin>' : '\U00002209',
543
+ '\\<subset>' : '\U00002282',
544
+ '\\<supset>' : '\U00002283',
545
+ '\\<subseteq>' : '\U00002286',
546
+ '\\<supseteq>' : '\U00002287',
547
+ '\\<sqsubset>' : '\U0000228f',
548
+ '\\<sqsupset>' : '\U00002290',
549
+ '\\<sqsubseteq>' : '\U00002291',
550
+ '\\<sqsupseteq>' : '\U00002292',
551
+ '\\<inter>' : '\U00002229',
552
+ '\\<Inter>' : '\U000022c2',
553
+ '\\<union>' : '\U0000222a',
554
+ '\\<Union>' : '\U000022c3',
555
+ '\\<squnion>' : '\U00002294',
556
+ '\\<Squnion>' : '\U00002a06',
557
+ '\\<sqinter>' : '\U00002293',
558
+ '\\<Sqinter>' : '\U00002a05',
559
+ '\\<setminus>' : '\U00002216',
560
+ '\\<propto>' : '\U0000221d',
561
+ '\\<uplus>' : '\U0000228e',
562
+ '\\<Uplus>' : '\U00002a04',
563
+ '\\<noteq>' : '\U00002260',
564
+ '\\<sim>' : '\U0000223c',
565
+ '\\<doteq>' : '\U00002250',
566
+ '\\<simeq>' : '\U00002243',
567
+ '\\<approx>' : '\U00002248',
568
+ '\\<asymp>' : '\U0000224d',
569
+ '\\<cong>' : '\U00002245',
570
+ '\\<smile>' : '\U00002323',
571
+ '\\<equiv>' : '\U00002261',
572
+ '\\<frown>' : '\U00002322',
573
+ '\\<Join>' : '\U000022c8',
574
+ '\\<bowtie>' : '\U00002a1d',
575
+ '\\<prec>' : '\U0000227a',
576
+ '\\<succ>' : '\U0000227b',
577
+ '\\<preceq>' : '\U0000227c',
578
+ '\\<succeq>' : '\U0000227d',
579
+ '\\<parallel>' : '\U00002225',
580
+ '\\<bar>' : '\U000000a6',
581
+ '\\<plusminus>' : '\U000000b1',
582
+ '\\<minusplus>' : '\U00002213',
583
+ '\\<times>' : '\U000000d7',
584
+ '\\<div>' : '\U000000f7',
585
+ '\\<cdot>' : '\U000022c5',
586
+ '\\<star>' : '\U000022c6',
587
+ '\\<bullet>' : '\U00002219',
588
+ '\\<circ>' : '\U00002218',
589
+ '\\<dagger>' : '\U00002020',
590
+ '\\<ddagger>' : '\U00002021',
591
+ '\\<lhd>' : '\U000022b2',
592
+ '\\<rhd>' : '\U000022b3',
593
+ '\\<unlhd>' : '\U000022b4',
594
+ '\\<unrhd>' : '\U000022b5',
595
+ '\\<triangleleft>' : '\U000025c3',
596
+ '\\<triangleright>' : '\U000025b9',
597
+ '\\<triangle>' : '\U000025b3',
598
+ '\\<triangleq>' : '\U0000225c',
599
+ '\\<oplus>' : '\U00002295',
600
+ '\\<Oplus>' : '\U00002a01',
601
+ '\\<otimes>' : '\U00002297',
602
+ '\\<Otimes>' : '\U00002a02',
603
+ '\\<odot>' : '\U00002299',
604
+ '\\<Odot>' : '\U00002a00',
605
+ '\\<ominus>' : '\U00002296',
606
+ '\\<oslash>' : '\U00002298',
607
+ '\\<dots>' : '\U00002026',
608
+ '\\<cdots>' : '\U000022ef',
609
+ '\\<Sum>' : '\U00002211',
610
+ '\\<Prod>' : '\U0000220f',
611
+ '\\<Coprod>' : '\U00002210',
612
+ '\\<infinity>' : '\U0000221e',
613
+ '\\<integral>' : '\U0000222b',
614
+ '\\<ointegral>' : '\U0000222e',
615
+ '\\<clubsuit>' : '\U00002663',
616
+ '\\<diamondsuit>' : '\U00002662',
617
+ '\\<heartsuit>' : '\U00002661',
618
+ '\\<spadesuit>' : '\U00002660',
619
+ '\\<aleph>' : '\U00002135',
620
+ '\\<emptyset>' : '\U00002205',
621
+ '\\<nabla>' : '\U00002207',
622
+ '\\<partial>' : '\U00002202',
623
+ '\\<flat>' : '\U0000266d',
624
+ '\\<natural>' : '\U0000266e',
625
+ '\\<sharp>' : '\U0000266f',
626
+ '\\<angle>' : '\U00002220',
627
+ '\\<copyright>' : '\U000000a9',
628
+ '\\<registered>' : '\U000000ae',
629
+ '\\<hyphen>' : '\U000000ad',
630
+ '\\<inverse>' : '\U000000af',
631
+ '\\<onequarter>' : '\U000000bc',
632
+ '\\<onehalf>' : '\U000000bd',
633
+ '\\<threequarters>' : '\U000000be',
634
+ '\\<ordfeminine>' : '\U000000aa',
635
+ '\\<ordmasculine>' : '\U000000ba',
636
+ '\\<section>' : '\U000000a7',
637
+ '\\<paragraph>' : '\U000000b6',
638
+ '\\<exclamdown>' : '\U000000a1',
639
+ '\\<questiondown>' : '\U000000bf',
640
+ '\\<euro>' : '\U000020ac',
641
+ '\\<pounds>' : '\U000000a3',
642
+ '\\<yen>' : '\U000000a5',
643
+ '\\<cent>' : '\U000000a2',
644
+ '\\<currency>' : '\U000000a4',
645
+ '\\<degree>' : '\U000000b0',
646
+ '\\<amalg>' : '\U00002a3f',
647
+ '\\<mho>' : '\U00002127',
648
+ '\\<lozenge>' : '\U000025ca',
649
+ '\\<wp>' : '\U00002118',
650
+ '\\<wrong>' : '\U00002240',
651
+ '\\<struct>' : '\U000022c4',
652
+ '\\<acute>' : '\U000000b4',
653
+ '\\<index>' : '\U00000131',
654
+ '\\<dieresis>' : '\U000000a8',
655
+ '\\<cedilla>' : '\U000000b8',
656
+ '\\<hungarumlaut>' : '\U000002dd',
657
+ '\\<some>' : '\U000003f5',
658
+ '\\<newline>' : '\U000023ce',
659
+ '\\<open>' : '\U00002039',
660
+ '\\<close>' : '\U0000203a',
661
+ '\\<here>' : '\U00002302',
662
+ '\\<^sub>' : '\U000021e9',
663
+ '\\<^sup>' : '\U000021e7',
664
+ '\\<^bold>' : '\U00002759',
665
+ '\\<^bsub>' : '\U000021d8',
666
+ '\\<^esub>' : '\U000021d9',
667
+ '\\<^bsup>' : '\U000021d7',
668
+ '\\<^esup>' : '\U000021d6',
669
+ }
670
+
671
+ lang_map = {'isabelle' : isabelle_symbols, 'latex' : latex_symbols}
672
+
673
+ def __init__(self, **options):
674
+ Filter.__init__(self, **options)
675
+ lang = get_choice_opt(options, 'lang',
676
+ ['isabelle', 'latex'], 'isabelle')
677
+ self.symbols = self.lang_map[lang]
678
+
679
+ def filter(self, lexer, stream):
680
+ for ttype, value in stream:
681
+ if value in self.symbols:
682
+ yield ttype, self.symbols[value]
683
+ else:
684
+ yield ttype, value
685
+
686
+
687
+ class KeywordCaseFilter(Filter):
688
+ """Convert keywords to lowercase or uppercase or capitalize them, which
689
+ means first letter uppercase, rest lowercase.
690
+
691
+ This can be useful e.g. if you highlight Pascal code and want to adapt the
692
+ code to your styleguide.
693
+
694
+ Options accepted:
695
+
696
+ `case` : string
697
+ The casing to convert keywords to. Must be one of ``'lower'``,
698
+ ``'upper'`` or ``'capitalize'``. The default is ``'lower'``.
699
+ """
700
+
701
+ def __init__(self, **options):
702
+ Filter.__init__(self, **options)
703
+ case = get_choice_opt(options, 'case',
704
+ ['lower', 'upper', 'capitalize'], 'lower')
705
+ self.convert = getattr(str, case)
706
+
707
+ def filter(self, lexer, stream):
708
+ for ttype, value in stream:
709
+ if ttype in Keyword:
710
+ yield ttype, self.convert(value)
711
+ else:
712
+ yield ttype, value
713
+
714
+
715
+ class NameHighlightFilter(Filter):
716
+ """Highlight a normal Name (and Name.*) token with a different token type.
717
+
718
+ Example::
719
+
720
+ filter = NameHighlightFilter(
721
+ names=['foo', 'bar', 'baz'],
722
+ tokentype=Name.Function,
723
+ )
724
+
725
+ This would highlight the names "foo", "bar" and "baz"
726
+ as functions. `Name.Function` is the default token type.
727
+
728
+ Options accepted:
729
+
730
+ `names` : list of strings
731
+ A list of names that should be given the different token type.
732
+ There is no default.
733
+ `tokentype` : TokenType or string
734
+ A token type or a string containing a token type name that is
735
+ used for highlighting the strings in `names`. The default is
736
+ `Name.Function`.
737
+ """
738
+
739
+ def __init__(self, **options):
740
+ Filter.__init__(self, **options)
741
+ self.names = set(get_list_opt(options, 'names', []))
742
+ tokentype = options.get('tokentype')
743
+ if tokentype:
744
+ self.tokentype = string_to_tokentype(tokentype)
745
+ else:
746
+ self.tokentype = Name.Function
747
+
748
+ def filter(self, lexer, stream):
749
+ for ttype, value in stream:
750
+ if ttype in Name and value in self.names:
751
+ yield self.tokentype, value
752
+ else:
753
+ yield ttype, value
754
+
755
+
756
+ class ErrorToken(Exception):
757
+ pass
758
+
759
+
760
+ class RaiseOnErrorTokenFilter(Filter):
761
+ """Raise an exception when the lexer generates an error token.
762
+
763
+ Options accepted:
764
+
765
+ `excclass` : Exception class
766
+ The exception class to raise.
767
+ The default is `pygments.filters.ErrorToken`.
768
+
769
+ .. versionadded:: 0.8
770
+ """
771
+
772
+ def __init__(self, **options):
773
+ Filter.__init__(self, **options)
774
+ self.exception = options.get('excclass', ErrorToken)
775
+ try:
776
+ # issubclass() will raise TypeError if first argument is not a class
777
+ if not issubclass(self.exception, Exception):
778
+ raise TypeError
779
+ except TypeError:
780
+ raise OptionError('excclass option is not an exception class')
781
+
782
+ def filter(self, lexer, stream):
783
+ for ttype, value in stream:
784
+ if ttype is Error:
785
+ raise self.exception(value)
786
+ yield ttype, value
787
+
788
+
789
+ class VisibleWhitespaceFilter(Filter):
790
+ """Convert tabs, newlines and/or spaces to visible characters.
791
+
792
+ Options accepted:
793
+
794
+ `spaces` : string or bool
795
+ If this is a one-character string, spaces will be replaces by this string.
796
+ If it is another true value, spaces will be replaced by ``·`` (unicode
797
+ MIDDLE DOT). If it is a false value, spaces will not be replaced. The
798
+ default is ``False``.
799
+ `tabs` : string or bool
800
+ The same as for `spaces`, but the default replacement character is ``»``
801
+ (unicode RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK). The default value
802
+ is ``False``. Note: this will not work if the `tabsize` option for the
803
+ lexer is nonzero, as tabs will already have been expanded then.
804
+ `tabsize` : int
805
+ If tabs are to be replaced by this filter (see the `tabs` option), this
806
+ is the total number of characters that a tab should be expanded to.
807
+ The default is ``8``.
808
+ `newlines` : string or bool
809
+ The same as for `spaces`, but the default replacement character is ``¶``
810
+ (unicode PILCROW SIGN). The default value is ``False``.
811
+ `wstokentype` : bool
812
+ If true, give whitespace the special `Whitespace` token type. This allows
813
+ styling the visible whitespace differently (e.g. greyed out), but it can
814
+ disrupt background colors. The default is ``True``.
815
+
816
+ .. versionadded:: 0.8
817
+ """
818
+
819
+ def __init__(self, **options):
820
+ Filter.__init__(self, **options)
821
+ for name, default in [('spaces', '·'),
822
+ ('tabs', '»'),
823
+ ('newlines', '¶')]:
824
+ opt = options.get(name, False)
825
+ if isinstance(opt, str) and len(opt) == 1:
826
+ setattr(self, name, opt)
827
+ else:
828
+ setattr(self, name, (opt and default or ''))
829
+ tabsize = get_int_opt(options, 'tabsize', 8)
830
+ if self.tabs:
831
+ self.tabs += ' ' * (tabsize - 1)
832
+ if self.newlines:
833
+ self.newlines += '\n'
834
+ self.wstt = get_bool_opt(options, 'wstokentype', True)
835
+
836
+ def filter(self, lexer, stream):
837
+ if self.wstt:
838
+ spaces = self.spaces or ' '
839
+ tabs = self.tabs or '\t'
840
+ newlines = self.newlines or '\n'
841
+ regex = re.compile(r'\s')
842
+
843
+ def replacefunc(wschar):
844
+ if wschar == ' ':
845
+ return spaces
846
+ elif wschar == '\t':
847
+ return tabs
848
+ elif wschar == '\n':
849
+ return newlines
850
+ return wschar
851
+
852
+ for ttype, value in stream:
853
+ yield from _replace_special(ttype, value, regex, Whitespace,
854
+ replacefunc)
855
+ else:
856
+ spaces, tabs, newlines = self.spaces, self.tabs, self.newlines
857
+ # simpler processing
858
+ for ttype, value in stream:
859
+ if spaces:
860
+ value = value.replace(' ', spaces)
861
+ if tabs:
862
+ value = value.replace('\t', tabs)
863
+ if newlines:
864
+ value = value.replace('\n', newlines)
865
+ yield ttype, value
866
+
867
+
868
+ class GobbleFilter(Filter):
869
+ """Gobbles source code lines (eats initial characters).
870
+
871
+ This filter drops the first ``n`` characters off every line of code. This
872
+ may be useful when the source code fed to the lexer is indented by a fixed
873
+ amount of space that isn't desired in the output.
874
+
875
+ Options accepted:
876
+
877
+ `n` : int
878
+ The number of characters to gobble.
879
+
880
+ .. versionadded:: 1.2
881
+ """
882
+ def __init__(self, **options):
883
+ Filter.__init__(self, **options)
884
+ self.n = get_int_opt(options, 'n', 0)
885
+
886
+ def gobble(self, value, left):
887
+ if left < len(value):
888
+ return value[left:], 0
889
+ else:
890
+ return '', left - len(value)
891
+
892
+ def filter(self, lexer, stream):
893
+ n = self.n
894
+ left = n # How many characters left to gobble.
895
+ for ttype, value in stream:
896
+ # Remove ``left`` tokens from first line, ``n`` from all others.
897
+ parts = value.split('\n')
898
+ (parts[0], left) = self.gobble(parts[0], left)
899
+ for i in range(1, len(parts)):
900
+ (parts[i], left) = self.gobble(parts[i], n)
901
+ value = '\n'.join(parts)
902
+
903
+ if value != '':
904
+ yield ttype, value
905
+
906
+
907
+ class TokenMergeFilter(Filter):
908
+ """Merges consecutive tokens with the same token type in the output
909
+ stream of a lexer.
910
+
911
+ .. versionadded:: 1.2
912
+ """
913
+ def __init__(self, **options):
914
+ Filter.__init__(self, **options)
915
+
916
+ def filter(self, lexer, stream):
917
+ current_type = None
918
+ current_value = None
919
+ for ttype, value in stream:
920
+ if ttype is current_type:
921
+ current_value += value
922
+ else:
923
+ if current_type is not None:
924
+ yield current_type, current_value
925
+ current_type = ttype
926
+ current_value = value
927
+ if current_type is not None:
928
+ yield current_type, current_value
929
+
930
+
931
+ FILTERS = {
932
+ 'codetagify': CodeTagFilter,
933
+ 'keywordcase': KeywordCaseFilter,
934
+ 'highlight': NameHighlightFilter,
935
+ 'raiseonerror': RaiseOnErrorTokenFilter,
936
+ 'whitespace': VisibleWhitespaceFilter,
937
+ 'gobble': GobbleFilter,
938
+ 'tokenmerge': TokenMergeFilter,
939
+ 'symbols': SymbolFilter,
940
+ }
py311/lib/python3.11/site-packages/pygments/filters/__pycache__/__init__.cpython-311.pyc ADDED
Binary file (40.1 kB). View file
 
py311/lib/python3.11/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-2025 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
py311/lib/python3.11/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
+ }
py311/lib/python3.11/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-2025 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')
py311/lib/python3.11/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-2025 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')
py311/lib/python3.11/site-packages/pygments/formatters/html.py ADDED
@@ -0,0 +1,995 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.formatters.html
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Formatter for HTML output.
6
+
7
+ :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
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
+ try:
22
+ import ctags
23
+ except ImportError:
24
+ ctags = None
25
+
26
+ __all__ = ['HtmlFormatter']
27
+
28
+
29
+ _escape_html_table = {
30
+ ord('&'): '&amp;',
31
+ ord('<'): '&lt;',
32
+ ord('>'): '&gt;',
33
+ ord('"'): '&quot;',
34
+ ord("'"): '&#39;',
35
+ }
36
+
37
+
38
+ def escape_html(text, table=_escape_html_table):
39
+ """Escape &, <, > as well as single and double quotes for HTML."""
40
+ return text.translate(table)
41
+
42
+
43
+ def webify(color):
44
+ if color.startswith('calc') or color.startswith('var'):
45
+ return color
46
+ else:
47
+ # Check if the color can be shortened from 6 to 3 characters
48
+ color = color.upper()
49
+ if (len(color) == 6 and
50
+ ( color[0] == color[1]
51
+ and color[2] == color[3]
52
+ and color[4] == color[5])):
53
+ return f'#{color[0]}{color[2]}{color[4]}'
54
+ else:
55
+ return f'#{color}'
56
+
57
+
58
+ def _get_ttype_class(ttype):
59
+ fname = STANDARD_TYPES.get(ttype)
60
+ if fname:
61
+ return fname
62
+ aname = ''
63
+ while fname is None:
64
+ aname = '-' + ttype[-1] + aname
65
+ ttype = ttype.parent
66
+ fname = STANDARD_TYPES.get(ttype)
67
+ return fname + aname
68
+
69
+
70
+ CSSFILE_TEMPLATE = '''\
71
+ /*
72
+ generated by Pygments <https://pygments.org/>
73
+ Copyright 2006-2025 by the Pygments team.
74
+ Licensed under the BSD license, see LICENSE for details.
75
+ */
76
+ %(styledefs)s
77
+ '''
78
+
79
+ DOC_HEADER = '''\
80
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
81
+ "http://www.w3.org/TR/html4/strict.dtd">
82
+ <!--
83
+ generated by Pygments <https://pygments.org/>
84
+ Copyright 2006-2025 by the Pygments team.
85
+ Licensed under the BSD license, see LICENSE for details.
86
+ -->
87
+ <html>
88
+ <head>
89
+ <title>%(title)s</title>
90
+ <meta http-equiv="content-type" content="text/html; charset=%(encoding)s">
91
+ <style type="text/css">
92
+ ''' + CSSFILE_TEMPLATE + '''
93
+ </style>
94
+ </head>
95
+ <body>
96
+ <h2>%(title)s</h2>
97
+
98
+ '''
99
+
100
+ DOC_HEADER_EXTERNALCSS = '''\
101
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
102
+ "http://www.w3.org/TR/html4/strict.dtd">
103
+
104
+ <html>
105
+ <head>
106
+ <title>%(title)s</title>
107
+ <meta http-equiv="content-type" content="text/html; charset=%(encoding)s">
108
+ <link rel="stylesheet" href="%(cssfile)s" type="text/css">
109
+ </head>
110
+ <body>
111
+ <h2>%(title)s</h2>
112
+
113
+ '''
114
+
115
+ DOC_FOOTER = '''\
116
+ </body>
117
+ </html>
118
+ '''
119
+
120
+
121
+ class HtmlFormatter(Formatter):
122
+ r"""
123
+ Format tokens as HTML 4 ``<span>`` tags. By default, the content is enclosed
124
+ in a ``<pre>`` tag, itself wrapped in a ``<div>`` tag (but see the `nowrap` option).
125
+ The ``<div>``'s CSS class can be set by the `cssclass` option.
126
+
127
+ If the `linenos` option is set to ``"table"``, the ``<pre>`` is
128
+ additionally wrapped inside a ``<table>`` which has one row and two
129
+ cells: one containing the line numbers and one containing the code.
130
+ Example:
131
+
132
+ .. sourcecode:: html
133
+
134
+ <div class="highlight" >
135
+ <table><tr>
136
+ <td class="linenos" title="click to toggle"
137
+ onclick="with (this.firstChild.style)
138
+ { display = (display == '') ? 'none' : '' }">
139
+ <pre>1
140
+ 2</pre>
141
+ </td>
142
+ <td class="code">
143
+ <pre><span class="Ke">def </span><span class="NaFu">foo</span>(bar):
144
+ <span class="Ke">pass</span>
145
+ </pre>
146
+ </td>
147
+ </tr></table></div>
148
+
149
+ (whitespace added to improve clarity).
150
+
151
+ A list of lines can be specified using the `hl_lines` option to make these
152
+ lines highlighted (as of Pygments 0.11).
153
+
154
+ With the `full` option, a complete HTML 4 document is output, including
155
+ the style definitions inside a ``<style>`` tag, or in a separate file if
156
+ the `cssfile` option is given.
157
+
158
+ When `tagsfile` is set to the path of a ctags index file, it is used to
159
+ generate hyperlinks from names to their definition. You must enable
160
+ `lineanchors` and run ctags with the `-n` option for this to work. The
161
+ `python-ctags` module from PyPI must be installed to use this feature;
162
+ otherwise a `RuntimeError` will be raised.
163
+
164
+ The `get_style_defs(arg='')` method of a `HtmlFormatter` returns a string
165
+ containing CSS rules for the CSS classes used by the formatter. The
166
+ argument `arg` can be used to specify additional CSS selectors that
167
+ are prepended to the classes. A call `fmter.get_style_defs('td .code')`
168
+ would result in the following CSS classes:
169
+
170
+ .. sourcecode:: css
171
+
172
+ td .code .kw { font-weight: bold; color: #00FF00 }
173
+ td .code .cm { color: #999999 }
174
+ ...
175
+
176
+ If you have Pygments 0.6 or higher, you can also pass a list or tuple to the
177
+ `get_style_defs()` method to request multiple prefixes for the tokens:
178
+
179
+ .. sourcecode:: python
180
+
181
+ formatter.get_style_defs(['div.syntax pre', 'pre.syntax'])
182
+
183
+ The output would then look like this:
184
+
185
+ .. sourcecode:: css
186
+
187
+ div.syntax pre .kw,
188
+ pre.syntax .kw { font-weight: bold; color: #00FF00 }
189
+ div.syntax pre .cm,
190
+ pre.syntax .cm { color: #999999 }
191
+ ...
192
+
193
+ Additional options accepted:
194
+
195
+ `nowrap`
196
+ If set to ``True``, don't add a ``<pre>`` and a ``<div>`` tag
197
+ around the tokens. This disables most other options (default: ``False``).
198
+
199
+ `full`
200
+ Tells the formatter to output a "full" document, i.e. a complete
201
+ self-contained document (default: ``False``).
202
+
203
+ `title`
204
+ If `full` is true, the title that should be used to caption the
205
+ document (default: ``''``).
206
+
207
+ `style`
208
+ The style to use, can be a string or a Style subclass (default:
209
+ ``'default'``). This option has no effect if the `cssfile`
210
+ and `noclobber_cssfile` option are given and the file specified in
211
+ `cssfile` exists.
212
+
213
+ `noclasses`
214
+ If set to true, token ``<span>`` tags (as well as line number elements)
215
+ will not use CSS classes, but inline styles. This is not recommended
216
+ for larger pieces of code since it increases output size by quite a bit
217
+ (default: ``False``).
218
+
219
+ `classprefix`
220
+ Since the token types use relatively short class names, they may clash
221
+ with some of your own class names. In this case you can use the
222
+ `classprefix` option to give a string to prepend to all Pygments-generated
223
+ CSS class names for token types.
224
+ Note that this option also affects the output of `get_style_defs()`.
225
+
226
+ `cssclass`
227
+ CSS class for the wrapping ``<div>`` tag (default: ``'highlight'``).
228
+ If you set this option, the default selector for `get_style_defs()`
229
+ will be this class.
230
+
231
+ .. versionadded:: 0.9
232
+ If you select the ``'table'`` line numbers, the wrapping table will
233
+ have a CSS class of this string plus ``'table'``, the default is
234
+ accordingly ``'highlighttable'``.
235
+
236
+ `cssstyles`
237
+ Inline CSS styles for the wrapping ``<div>`` tag (default: ``''``).
238
+
239
+ `prestyles`
240
+ Inline CSS styles for the ``<pre>`` tag (default: ``''``).
241
+
242
+ .. versionadded:: 0.11
243
+
244
+ `cssfile`
245
+ If the `full` option is true and this option is given, it must be the
246
+ name of an external file. If the filename does not include an absolute
247
+ path, the file's path will be assumed to be relative to the main output
248
+ file's path, if the latter can be found. The stylesheet is then written
249
+ to this file instead of the HTML file.
250
+
251
+ .. versionadded:: 0.6
252
+
253
+ `noclobber_cssfile`
254
+ If `cssfile` is given and the specified file exists, the css file will
255
+ not be overwritten. This allows the use of the `full` option in
256
+ combination with a user specified css file. Default is ``False``.
257
+
258
+ .. versionadded:: 1.1
259
+
260
+ `linenos`
261
+ If set to ``'table'``, output line numbers as a table with two cells,
262
+ one containing the line numbers, the other the whole code. This is
263
+ copy-and-paste-friendly, but may cause alignment problems with some
264
+ browsers or fonts. If set to ``'inline'``, the line numbers will be
265
+ integrated in the ``<pre>`` tag that contains the code (that setting
266
+ is *new in Pygments 0.8*).
267
+
268
+ For compatibility with Pygments 0.7 and earlier, every true value
269
+ except ``'inline'`` means the same as ``'table'`` (in particular, that
270
+ means also ``True``).
271
+
272
+ The default value is ``False``, which means no line numbers at all.
273
+
274
+ **Note:** with the default ("table") line number mechanism, the line
275
+ numbers and code can have different line heights in Internet Explorer
276
+ unless you give the enclosing ``<pre>`` tags an explicit ``line-height``
277
+ CSS property (you get the default line spacing with ``line-height:
278
+ 125%``).
279
+
280
+ `hl_lines`
281
+ Specify a list of lines to be highlighted. The line numbers are always
282
+ relative to the input (i.e. the first line is line 1) and are
283
+ independent of `linenostart`.
284
+
285
+ .. versionadded:: 0.11
286
+
287
+ `linenostart`
288
+ The line number for the first line (default: ``1``).
289
+
290
+ `linenostep`
291
+ If set to a number n > 1, only every nth line number is printed.
292
+
293
+ `linenospecial`
294
+ If set to a number n > 0, every nth line number is given the CSS
295
+ class ``"special"`` (default: ``0``).
296
+
297
+ `nobackground`
298
+ If set to ``True``, the formatter won't output the background color
299
+ for the wrapping element (this automatically defaults to ``False``
300
+ when there is no wrapping element [eg: no argument for the
301
+ `get_syntax_defs` method given]) (default: ``False``).
302
+
303
+ .. versionadded:: 0.6
304
+
305
+ `lineseparator`
306
+ This string is output between lines of code. It defaults to ``"\n"``,
307
+ which is enough to break a line inside ``<pre>`` tags, but you can
308
+ e.g. set it to ``"<br>"`` to get HTML line breaks.
309
+
310
+ .. versionadded:: 0.7
311
+
312
+ `lineanchors`
313
+ If set to a nonempty string, e.g. ``foo``, the formatter will wrap each
314
+ output line in an anchor tag with an ``id`` (and `name`) of ``foo-linenumber``.
315
+ This allows easy linking to certain lines.
316
+
317
+ .. versionadded:: 0.9
318
+
319
+ `linespans`
320
+ If set to a nonempty string, e.g. ``foo``, the formatter will wrap each
321
+ output line in a span tag with an ``id`` of ``foo-linenumber``.
322
+ This allows easy access to lines via javascript.
323
+
324
+ .. versionadded:: 1.6
325
+
326
+ `anchorlinenos`
327
+ If set to `True`, will wrap line numbers in <a> tags. Used in
328
+ combination with `linenos` and `lineanchors`.
329
+
330
+ `tagsfile`
331
+ If set to the path of a ctags file, wrap names in anchor tags that
332
+ link to their definitions. `lineanchors` should be used, and the
333
+ tags file should specify line numbers (see the `-n` option to ctags).
334
+ The tags file is assumed to be encoded in UTF-8.
335
+
336
+ .. versionadded:: 1.6
337
+
338
+ `tagurlformat`
339
+ A string formatting pattern used to generate links to ctags definitions.
340
+ Available variables are `%(path)s`, `%(fname)s` and `%(fext)s`.
341
+ Defaults to an empty string, resulting in just `#prefix-number` links.
342
+
343
+ .. versionadded:: 1.6
344
+
345
+ `filename`
346
+ A string used to generate a filename when rendering ``<pre>`` blocks,
347
+ for example if displaying source code. If `linenos` is set to
348
+ ``'table'`` then the filename will be rendered in an initial row
349
+ containing a single `<th>` which spans both columns.
350
+
351
+ .. versionadded:: 2.1
352
+
353
+ `wrapcode`
354
+ Wrap the code inside ``<pre>`` blocks using ``<code>``, as recommended
355
+ by the HTML5 specification.
356
+
357
+ .. versionadded:: 2.4
358
+
359
+ `debug_token_types`
360
+ Add ``title`` attributes to all token ``<span>`` tags that show the
361
+ name of the token.
362
+
363
+ .. versionadded:: 2.10
364
+
365
+
366
+ **Subclassing the HTML formatter**
367
+
368
+ .. versionadded:: 0.7
369
+
370
+ The HTML formatter is now built in a way that allows easy subclassing, thus
371
+ customizing the output HTML code. The `format()` method calls
372
+ `self._format_lines()` which returns a generator that yields tuples of ``(1,
373
+ line)``, where the ``1`` indicates that the ``line`` is a line of the
374
+ formatted source code.
375
+
376
+ If the `nowrap` option is set, the generator is the iterated over and the
377
+ resulting HTML is output.
378
+
379
+ Otherwise, `format()` calls `self.wrap()`, which wraps the generator with
380
+ other generators. These may add some HTML code to the one generated by
381
+ `_format_lines()`, either by modifying the lines generated by the latter,
382
+ then yielding them again with ``(1, line)``, and/or by yielding other HTML
383
+ code before or after the lines, with ``(0, html)``. The distinction between
384
+ source lines and other code makes it possible to wrap the generator multiple
385
+ times.
386
+
387
+ The default `wrap()` implementation adds a ``<div>`` and a ``<pre>`` tag.
388
+
389
+ A custom `HtmlFormatter` subclass could look like this:
390
+
391
+ .. sourcecode:: python
392
+
393
+ class CodeHtmlFormatter(HtmlFormatter):
394
+
395
+ def wrap(self, source, *, include_div):
396
+ return self._wrap_code(source)
397
+
398
+ def _wrap_code(self, source):
399
+ yield 0, '<code>'
400
+ for i, t in source:
401
+ if i == 1:
402
+ # it's a line of formatted code
403
+ t += '<br>'
404
+ yield i, t
405
+ yield 0, '</code>'
406
+
407
+ This results in wrapping the formatted lines with a ``<code>`` tag, where the
408
+ source lines are broken using ``<br>`` tags.
409
+
410
+ After calling `wrap()`, the `format()` method also adds the "line numbers"
411
+ and/or "full document" wrappers if the respective options are set. Then, all
412
+ HTML yielded by the wrapped generator is output.
413
+ """
414
+
415
+ name = 'HTML'
416
+ aliases = ['html']
417
+ filenames = ['*.html', '*.htm']
418
+
419
+ def __init__(self, **options):
420
+ Formatter.__init__(self, **options)
421
+ self.title = self._decodeifneeded(self.title)
422
+ self.nowrap = get_bool_opt(options, 'nowrap', False)
423
+ self.noclasses = get_bool_opt(options, 'noclasses', False)
424
+ self.classprefix = options.get('classprefix', '')
425
+ self.cssclass = self._decodeifneeded(options.get('cssclass', 'highlight'))
426
+ self.cssstyles = self._decodeifneeded(options.get('cssstyles', ''))
427
+ self.prestyles = self._decodeifneeded(options.get('prestyles', ''))
428
+ self.cssfile = self._decodeifneeded(options.get('cssfile', ''))
429
+ self.noclobber_cssfile = get_bool_opt(options, 'noclobber_cssfile', False)
430
+ self.tagsfile = self._decodeifneeded(options.get('tagsfile', ''))
431
+ self.tagurlformat = self._decodeifneeded(options.get('tagurlformat', ''))
432
+ self.filename = self._decodeifneeded(options.get('filename', ''))
433
+ self.wrapcode = get_bool_opt(options, 'wrapcode', False)
434
+ self.span_element_openers = {}
435
+ self.debug_token_types = get_bool_opt(options, 'debug_token_types', False)
436
+
437
+ if self.tagsfile:
438
+ if not ctags:
439
+ raise RuntimeError('The "ctags" package must to be installed '
440
+ 'to be able to use the "tagsfile" feature.')
441
+ self._ctags = ctags.CTags(self.tagsfile)
442
+
443
+ linenos = options.get('linenos', False)
444
+ if linenos == 'inline':
445
+ self.linenos = 2
446
+ elif linenos:
447
+ # compatibility with <= 0.7
448
+ self.linenos = 1
449
+ else:
450
+ self.linenos = 0
451
+ self.linenostart = abs(get_int_opt(options, 'linenostart', 1))
452
+ self.linenostep = abs(get_int_opt(options, 'linenostep', 1))
453
+ self.linenospecial = abs(get_int_opt(options, 'linenospecial', 0))
454
+ self.nobackground = get_bool_opt(options, 'nobackground', False)
455
+ self.lineseparator = options.get('lineseparator', '\n')
456
+ self.lineanchors = options.get('lineanchors', '')
457
+ self.linespans = options.get('linespans', '')
458
+ self.anchorlinenos = get_bool_opt(options, 'anchorlinenos', False)
459
+ self.hl_lines = set()
460
+ for lineno in get_list_opt(options, 'hl_lines', []):
461
+ try:
462
+ self.hl_lines.add(int(lineno))
463
+ except ValueError:
464
+ pass
465
+
466
+ self._create_stylesheet()
467
+
468
+ def _get_css_class(self, ttype):
469
+ """Return the css class of this token type prefixed with
470
+ the classprefix option."""
471
+ ttypeclass = _get_ttype_class(ttype)
472
+ if ttypeclass:
473
+ return self.classprefix + ttypeclass
474
+ return ''
475
+
476
+ def _get_css_classes(self, ttype):
477
+ """Return the CSS classes of this token type prefixed with the classprefix option."""
478
+ cls = self._get_css_class(ttype)
479
+ while ttype not in STANDARD_TYPES:
480
+ ttype = ttype.parent
481
+ cls = self._get_css_class(ttype) + ' ' + cls
482
+ return cls or ''
483
+
484
+ def _get_css_inline_styles(self, ttype):
485
+ """Return the inline CSS styles for this token type."""
486
+ cclass = self.ttype2class.get(ttype)
487
+ while cclass is None:
488
+ ttype = ttype.parent
489
+ cclass = self.ttype2class.get(ttype)
490
+ return cclass or ''
491
+
492
+ def _create_stylesheet(self):
493
+ t2c = self.ttype2class = {Token: ''}
494
+ c2s = self.class2style = {}
495
+ for ttype, ndef in self.style:
496
+ name = self._get_css_class(ttype)
497
+ style = ''
498
+ if ndef['color']:
499
+ style += 'color: {}; '.format(webify(ndef['color']))
500
+ if ndef['bold']:
501
+ style += 'font-weight: bold; '
502
+ if ndef['italic']:
503
+ style += 'font-style: italic; '
504
+ if ndef['underline']:
505
+ style += 'text-decoration: underline; '
506
+ if ndef['bgcolor']:
507
+ style += 'background-color: {}; '.format(webify(ndef['bgcolor']))
508
+ if ndef['border']:
509
+ style += 'border: 1px solid {}; '.format(webify(ndef['border']))
510
+ if style:
511
+ t2c[ttype] = name
512
+ # save len(ttype) to enable ordering the styles by
513
+ # hierarchy (necessary for CSS cascading rules!)
514
+ c2s[name] = (style[:-2], ttype, len(ttype))
515
+
516
+ def get_style_defs(self, arg=None):
517
+ """
518
+ Return CSS style definitions for the classes produced by the current
519
+ highlighting style. ``arg`` can be a string or list of selectors to
520
+ insert before the token type classes.
521
+ """
522
+ style_lines = []
523
+
524
+ style_lines.extend(self.get_linenos_style_defs())
525
+ style_lines.extend(self.get_background_style_defs(arg))
526
+ style_lines.extend(self.get_token_style_defs(arg))
527
+
528
+ return '\n'.join(style_lines)
529
+
530
+ def get_token_style_defs(self, arg=None):
531
+ prefix = self.get_css_prefix(arg)
532
+
533
+ styles = [
534
+ (level, ttype, cls, style)
535
+ for cls, (style, ttype, level) in self.class2style.items()
536
+ if cls and style
537
+ ]
538
+ styles.sort()
539
+
540
+ lines = [
541
+ f'{prefix(cls)} {{ {style} }} /* {repr(ttype)[6:]} */'
542
+ for (level, ttype, cls, style) in styles
543
+ ]
544
+
545
+ return lines
546
+
547
+ def get_background_style_defs(self, arg=None):
548
+ prefix = self.get_css_prefix(arg)
549
+ bg_color = self.style.background_color
550
+ hl_color = self.style.highlight_color
551
+
552
+ lines = []
553
+
554
+ if arg and not self.nobackground and bg_color is not None:
555
+ text_style = ''
556
+ if Text in self.ttype2class:
557
+ text_style = ' ' + self.class2style[self.ttype2class[Text]][0]
558
+ lines.insert(
559
+ 0, '{}{{ background: {};{} }}'.format(
560
+ prefix(''), bg_color, text_style
561
+ )
562
+ )
563
+ if hl_color is not None:
564
+ lines.insert(
565
+ 0, '{} {{ background-color: {} }}'.format(prefix('hll'), hl_color)
566
+ )
567
+
568
+ return lines
569
+
570
+ def get_linenos_style_defs(self):
571
+ lines = [
572
+ f'pre {{ {self._pre_style} }}',
573
+ f'td.linenos .normal {{ {self._linenos_style} }}',
574
+ f'span.linenos {{ {self._linenos_style} }}',
575
+ f'td.linenos .special {{ {self._linenos_special_style} }}',
576
+ f'span.linenos.special {{ {self._linenos_special_style} }}',
577
+ ]
578
+
579
+ return lines
580
+
581
+ def get_css_prefix(self, arg):
582
+ if arg is None:
583
+ arg = ('cssclass' in self.options and '.'+self.cssclass or '')
584
+ if isinstance(arg, str):
585
+ args = [arg]
586
+ else:
587
+ args = list(arg)
588
+
589
+ def prefix(cls):
590
+ if cls:
591
+ cls = '.' + cls
592
+ tmp = []
593
+ for arg in args:
594
+ tmp.append((arg and arg + ' ' or '') + cls)
595
+ return ', '.join(tmp)
596
+
597
+ return prefix
598
+
599
+ @property
600
+ def _pre_style(self):
601
+ return 'line-height: 125%;'
602
+
603
+ @property
604
+ def _linenos_style(self):
605
+ color = self.style.line_number_color
606
+ background_color = self.style.line_number_background_color
607
+ return f'color: {color}; background-color: {background_color}; padding-left: 5px; padding-right: 5px;'
608
+
609
+ @property
610
+ def _linenos_special_style(self):
611
+ color = self.style.line_number_special_color
612
+ background_color = self.style.line_number_special_background_color
613
+ return f'color: {color}; background-color: {background_color}; padding-left: 5px; padding-right: 5px;'
614
+
615
+ def _decodeifneeded(self, value):
616
+ if isinstance(value, bytes):
617
+ if self.encoding:
618
+ return value.decode(self.encoding)
619
+ return value.decode()
620
+ return value
621
+
622
+ def _wrap_full(self, inner, outfile):
623
+ if self.cssfile:
624
+ if os.path.isabs(self.cssfile):
625
+ # it's an absolute filename
626
+ cssfilename = self.cssfile
627
+ else:
628
+ try:
629
+ filename = outfile.name
630
+ if not filename or filename[0] == '<':
631
+ # pseudo files, e.g. name == '<fdopen>'
632
+ raise AttributeError
633
+ cssfilename = os.path.join(os.path.dirname(filename),
634
+ self.cssfile)
635
+ except AttributeError:
636
+ print('Note: Cannot determine output file name, '
637
+ 'using current directory as base for the CSS file name',
638
+ file=sys.stderr)
639
+ cssfilename = self.cssfile
640
+ # write CSS file only if noclobber_cssfile isn't given as an option.
641
+ try:
642
+ if not os.path.exists(cssfilename) or not self.noclobber_cssfile:
643
+ with open(cssfilename, "w", encoding="utf-8") as cf:
644
+ cf.write(CSSFILE_TEMPLATE %
645
+ {'styledefs': self.get_style_defs('body')})
646
+ except OSError as err:
647
+ err.strerror = 'Error writing CSS file: ' + err.strerror
648
+ raise
649
+
650
+ yield 0, (DOC_HEADER_EXTERNALCSS %
651
+ dict(title=self.title,
652
+ cssfile=self.cssfile,
653
+ encoding=self.encoding))
654
+ else:
655
+ yield 0, (DOC_HEADER %
656
+ dict(title=self.title,
657
+ styledefs=self.get_style_defs('body'),
658
+ encoding=self.encoding))
659
+
660
+ yield from inner
661
+ yield 0, DOC_FOOTER
662
+
663
+ def _wrap_tablelinenos(self, inner):
664
+ dummyoutfile = StringIO()
665
+ lncount = 0
666
+ for t, line in inner:
667
+ if t:
668
+ lncount += 1
669
+ dummyoutfile.write(line)
670
+
671
+ fl = self.linenostart
672
+ mw = len(str(lncount + fl - 1))
673
+ sp = self.linenospecial
674
+ st = self.linenostep
675
+ anchor_name = self.lineanchors or self.linespans
676
+ aln = self.anchorlinenos
677
+ nocls = self.noclasses
678
+
679
+ lines = []
680
+
681
+ for i in range(fl, fl+lncount):
682
+ print_line = i % st == 0
683
+ special_line = sp and i % sp == 0
684
+
685
+ if print_line:
686
+ line = '%*d' % (mw, i)
687
+ if aln:
688
+ line = '<a href="#%s-%d">%s</a>' % (anchor_name, i, line)
689
+ else:
690
+ line = ' ' * mw
691
+
692
+ if nocls:
693
+ if special_line:
694
+ style = f' style="{self._linenos_special_style}"'
695
+ else:
696
+ style = f' style="{self._linenos_style}"'
697
+ else:
698
+ if special_line:
699
+ style = ' class="special"'
700
+ else:
701
+ style = ' class="normal"'
702
+
703
+ if style:
704
+ line = f'<span{style}>{line}</span>'
705
+
706
+ lines.append(line)
707
+
708
+ ls = '\n'.join(lines)
709
+
710
+ # If a filename was specified, we can't put it into the code table as it
711
+ # would misalign the line numbers. Hence we emit a separate row for it.
712
+ filename_tr = ""
713
+ if self.filename:
714
+ filename_tr = (
715
+ '<tr><th colspan="2" class="filename">'
716
+ '<span class="filename">' + self.filename + '</span>'
717
+ '</th></tr>')
718
+
719
+ # in case you wonder about the seemingly redundant <div> here: since the
720
+ # content in the other cell also is wrapped in a div, some browsers in
721
+ # some configurations seem to mess up the formatting...
722
+ yield 0, (f'<table class="{self.cssclass}table">' + filename_tr +
723
+ '<tr><td class="linenos"><div class="linenodiv"><pre>' +
724
+ ls + '</pre></div></td><td class="code">')
725
+ yield 0, '<div>'
726
+ yield 0, dummyoutfile.getvalue()
727
+ yield 0, '</div>'
728
+ yield 0, '</td></tr></table>'
729
+
730
+
731
+ def _wrap_inlinelinenos(self, inner):
732
+ # need a list of lines since we need the width of a single number :(
733
+ inner_lines = list(inner)
734
+ sp = self.linenospecial
735
+ st = self.linenostep
736
+ num = self.linenostart
737
+ mw = len(str(len(inner_lines) + num - 1))
738
+ anchor_name = self.lineanchors or self.linespans
739
+ aln = self.anchorlinenos
740
+ nocls = self.noclasses
741
+
742
+ for _, inner_line in inner_lines:
743
+ print_line = num % st == 0
744
+ special_line = sp and num % sp == 0
745
+
746
+ if print_line:
747
+ line = '%*d' % (mw, num)
748
+ else:
749
+ line = ' ' * mw
750
+
751
+ if nocls:
752
+ if special_line:
753
+ style = f' style="{self._linenos_special_style}"'
754
+ else:
755
+ style = f' style="{self._linenos_style}"'
756
+ else:
757
+ if special_line:
758
+ style = ' class="linenos special"'
759
+ else:
760
+ style = ' class="linenos"'
761
+
762
+ if style:
763
+ linenos = f'<span{style}>{line}</span>'
764
+ else:
765
+ linenos = line
766
+
767
+ if aln:
768
+ yield 1, ('<a href="#%s-%d">%s</a>' % (anchor_name, num, linenos) +
769
+ inner_line)
770
+ else:
771
+ yield 1, linenos + inner_line
772
+ num += 1
773
+
774
+ def _wrap_lineanchors(self, inner):
775
+ s = self.lineanchors
776
+ # subtract 1 since we have to increment i *before* yielding
777
+ i = self.linenostart - 1
778
+ for t, line in inner:
779
+ if t:
780
+ i += 1
781
+ href = "" if self.linenos else ' href="#%s-%d"' % (s, i)
782
+ yield 1, '<a id="%s-%d" name="%s-%d"%s></a>' % (s, i, s, i, href) + line
783
+ else:
784
+ yield 0, line
785
+
786
+ def _wrap_linespans(self, inner):
787
+ s = self.linespans
788
+ i = self.linenostart - 1
789
+ for t, line in inner:
790
+ if t:
791
+ i += 1
792
+ yield 1, '<span id="%s-%d">%s</span>' % (s, i, line)
793
+ else:
794
+ yield 0, line
795
+
796
+ def _wrap_div(self, inner):
797
+ style = []
798
+ if (self.noclasses and not self.nobackground and
799
+ self.style.background_color is not None):
800
+ style.append(f'background: {self.style.background_color}')
801
+ if self.cssstyles:
802
+ style.append(self.cssstyles)
803
+ style = '; '.join(style)
804
+
805
+ yield 0, ('<div' + (self.cssclass and f' class="{self.cssclass}"') +
806
+ (style and (f' style="{style}"')) + '>')
807
+ yield from inner
808
+ yield 0, '</div>\n'
809
+
810
+ def _wrap_pre(self, inner):
811
+ style = []
812
+ if self.prestyles:
813
+ style.append(self.prestyles)
814
+ if self.noclasses:
815
+ style.append(self._pre_style)
816
+ style = '; '.join(style)
817
+
818
+ if self.filename and self.linenos != 1:
819
+ yield 0, ('<span class="filename">' + self.filename + '</span>')
820
+
821
+ # the empty span here is to keep leading empty lines from being
822
+ # ignored by HTML parsers
823
+ yield 0, ('<pre' + (style and f' style="{style}"') + '><span></span>')
824
+ yield from inner
825
+ yield 0, '</pre>'
826
+
827
+ def _wrap_code(self, inner):
828
+ yield 0, '<code>'
829
+ yield from inner
830
+ yield 0, '</code>'
831
+
832
+ @functools.lru_cache(maxsize=100)
833
+ def _translate_parts(self, value):
834
+ """HTML-escape a value and split it by newlines."""
835
+ return value.translate(_escape_html_table).split('\n')
836
+
837
+ def _format_lines(self, tokensource):
838
+ """
839
+ Just format the tokens, without any wrapping tags.
840
+ Yield individual lines.
841
+ """
842
+ nocls = self.noclasses
843
+ lsep = self.lineseparator
844
+ tagsfile = self.tagsfile
845
+
846
+ lspan = ''
847
+ line = []
848
+ for ttype, value in tokensource:
849
+ try:
850
+ cspan = self.span_element_openers[ttype]
851
+ except KeyError:
852
+ title = ' title="{}"'.format('.'.join(ttype)) if self.debug_token_types else ''
853
+ if nocls:
854
+ css_style = self._get_css_inline_styles(ttype)
855
+ if css_style:
856
+ css_style = self.class2style[css_style][0]
857
+ cspan = f'<span style="{css_style}"{title}>'
858
+ else:
859
+ cspan = ''
860
+ else:
861
+ css_class = self._get_css_classes(ttype)
862
+ if css_class:
863
+ cspan = f'<span class="{css_class}"{title}>'
864
+ else:
865
+ cspan = ''
866
+ self.span_element_openers[ttype] = cspan
867
+
868
+ parts = self._translate_parts(value)
869
+
870
+ if tagsfile and ttype in Token.Name:
871
+ filename, linenumber = self._lookup_ctag(value)
872
+ if linenumber:
873
+ base, filename = os.path.split(filename)
874
+ if base:
875
+ base += '/'
876
+ filename, extension = os.path.splitext(filename)
877
+ url = self.tagurlformat % {'path': base, 'fname': filename,
878
+ 'fext': extension}
879
+ parts[0] = "<a href=\"%s#%s-%d\">%s" % \
880
+ (url, self.lineanchors, linenumber, parts[0])
881
+ parts[-1] = parts[-1] + "</a>"
882
+
883
+ # for all but the last line
884
+ for part in parts[:-1]:
885
+ if line:
886
+ # Also check for part being non-empty, so we avoid creating
887
+ # empty <span> tags
888
+ if lspan != cspan and part:
889
+ line.extend(((lspan and '</span>'), cspan, part,
890
+ (cspan and '</span>'), lsep))
891
+ else: # both are the same, or the current part was empty
892
+ line.extend((part, (lspan and '</span>'), lsep))
893
+ yield 1, ''.join(line)
894
+ line = []
895
+ elif part:
896
+ yield 1, ''.join((cspan, part, (cspan and '</span>'), lsep))
897
+ else:
898
+ yield 1, lsep
899
+ # for the last line
900
+ if line and parts[-1]:
901
+ if lspan != cspan:
902
+ line.extend(((lspan and '</span>'), cspan, parts[-1]))
903
+ lspan = cspan
904
+ else:
905
+ line.append(parts[-1])
906
+ elif parts[-1]:
907
+ line = [cspan, parts[-1]]
908
+ lspan = cspan
909
+ # else we neither have to open a new span nor set lspan
910
+
911
+ if line:
912
+ line.extend(((lspan and '</span>'), lsep))
913
+ yield 1, ''.join(line)
914
+
915
+ def _lookup_ctag(self, token):
916
+ entry = ctags.TagEntry()
917
+ if self._ctags.find(entry, token.encode(), 0):
918
+ return entry['file'].decode(), entry['lineNumber']
919
+ else:
920
+ return None, None
921
+
922
+ def _highlight_lines(self, tokensource):
923
+ """
924
+ Highlighted the lines specified in the `hl_lines` option by
925
+ post-processing the token stream coming from `_format_lines`.
926
+ """
927
+ hls = self.hl_lines
928
+
929
+ for i, (t, value) in enumerate(tokensource):
930
+ if t != 1:
931
+ yield t, value
932
+ if i + 1 in hls: # i + 1 because Python indexes start at 0
933
+ if self.noclasses:
934
+ style = ''
935
+ if self.style.highlight_color is not None:
936
+ style = (f' style="background-color: {self.style.highlight_color}"')
937
+ yield 1, f'<span{style}>{value}</span>'
938
+ else:
939
+ yield 1, f'<span class="hll">{value}</span>'
940
+ else:
941
+ yield 1, value
942
+
943
+ def wrap(self, source):
944
+ """
945
+ Wrap the ``source``, which is a generator yielding
946
+ individual lines, in custom generators. See docstring
947
+ for `format`. Can be overridden.
948
+ """
949
+
950
+ output = source
951
+ if self.wrapcode:
952
+ output = self._wrap_code(output)
953
+
954
+ output = self._wrap_pre(output)
955
+
956
+ return output
957
+
958
+ def format_unencoded(self, tokensource, outfile):
959
+ """
960
+ The formatting process uses several nested generators; which of
961
+ them are used is determined by the user's options.
962
+
963
+ Each generator should take at least one argument, ``inner``,
964
+ and wrap the pieces of text generated by this.
965
+
966
+ Always yield 2-tuples: (code, text). If "code" is 1, the text
967
+ is part of the original tokensource being highlighted, if it's
968
+ 0, the text is some piece of wrapping. This makes it possible to
969
+ use several different wrappers that process the original source
970
+ linewise, e.g. line number generators.
971
+ """
972
+ source = self._format_lines(tokensource)
973
+
974
+ # As a special case, we wrap line numbers before line highlighting
975
+ # so the line numbers get wrapped in the highlighting tag.
976
+ if not self.nowrap and self.linenos == 2:
977
+ source = self._wrap_inlinelinenos(source)
978
+
979
+ if self.hl_lines:
980
+ source = self._highlight_lines(source)
981
+
982
+ if not self.nowrap:
983
+ if self.lineanchors:
984
+ source = self._wrap_lineanchors(source)
985
+ if self.linespans:
986
+ source = self._wrap_linespans(source)
987
+ source = self.wrap(source)
988
+ if self.linenos == 1:
989
+ source = self._wrap_tablelinenos(source)
990
+ source = self._wrap_div(source)
991
+ if self.full:
992
+ source = self._wrap_full(source, outfile)
993
+
994
+ for t, piece in source:
995
+ outfile.write(piece)
py311/lib/python3.11/site-packages/pygments/formatters/img.py ADDED
@@ -0,0 +1,686 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.formatters.img
3
+ ~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Formatter for Pixmap output.
6
+
7
+ :copyright: Copyright 2006-2025 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'
py311/lib/python3.11/site-packages/pygments/formatters/irc.py ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.formatters.irc
3
+ ~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Formatter for IRC output
6
+
7
+ :copyright: Copyright 2006-2025 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
+ return '<'+add+'>'+text+'</'+sub+'>'
95
+
96
+
97
+ class IRCFormatter(Formatter):
98
+ r"""
99
+ Format tokens with IRC color sequences
100
+
101
+ The `get_style_defs()` method doesn't do anything special since there is
102
+ no support for common styles.
103
+
104
+ Options accepted:
105
+
106
+ `bg`
107
+ Set to ``"light"`` or ``"dark"`` depending on the terminal's background
108
+ (default: ``"light"``).
109
+
110
+ `colorscheme`
111
+ A dictionary mapping token types to (lightbg, darkbg) color names or
112
+ ``None`` (default: ``None`` = use builtin colorscheme).
113
+
114
+ `linenos`
115
+ Set to ``True`` to have line numbers in the output as well
116
+ (default: ``False`` = no line numbers).
117
+ """
118
+ name = 'IRC'
119
+ aliases = ['irc', 'IRC']
120
+ filenames = []
121
+
122
+ def __init__(self, **options):
123
+ Formatter.__init__(self, **options)
124
+ self.darkbg = get_choice_opt(options, 'bg',
125
+ ['light', 'dark'], 'light') == 'dark'
126
+ self.colorscheme = options.get('colorscheme', None) or IRC_COLORS
127
+ self.linenos = options.get('linenos', False)
128
+ self._lineno = 0
129
+
130
+ def _write_lineno(self, outfile):
131
+ if self.linenos:
132
+ self._lineno += 1
133
+ outfile.write("%04d: " % self._lineno)
134
+
135
+ def format_unencoded(self, tokensource, outfile):
136
+ self._write_lineno(outfile)
137
+
138
+ for ttype, value in tokensource:
139
+ color = self.colorscheme.get(ttype)
140
+ while color is None:
141
+ ttype = ttype[:-1]
142
+ color = self.colorscheme.get(ttype)
143
+ if color:
144
+ color = color[self.darkbg]
145
+ spl = value.split('\n')
146
+ for line in spl[:-1]:
147
+ if line:
148
+ outfile.write(ircformat(color, line))
149
+ outfile.write('\n')
150
+ self._write_lineno(outfile)
151
+ if spl[-1]:
152
+ outfile.write(ircformat(color, spl[-1]))
153
+ else:
154
+ outfile.write(value)
py311/lib/python3.11/site-packages/pygments/formatters/latex.py ADDED
@@ -0,0 +1,518 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.formatters.latex
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Formatter for LaTeX fancyvrb output.
6
+
7
+ :copyright: Copyright 2006-2025 by the Pygments team, 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
py311/lib/python3.11/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-2025 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()
py311/lib/python3.11/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-2025 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('&'): '&amp;',
19
+ ord('<'): '&lt;',
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>')
py311/lib/python3.11/site-packages/pygments/formatters/rtf.py ADDED
@@ -0,0 +1,349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.formatters.rtf
3
+ ~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ A formatter that generates RTF files.
6
+
7
+ :copyright: Copyright 2006-2025 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')
py311/lib/python3.11/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-2025 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('&', '&amp;'). \
21
+ replace('<', '&lt;'). \
22
+ replace('>', '&gt;'). \
23
+ replace('"', '&quot;'). \
24
+ replace("'", '&#39;')
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 ``&#160;``, 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(' ', '&#160;')
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
py311/lib/python3.11/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-2025 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")
py311/lib/python3.11/site-packages/pygments/formatters/terminal256.py ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-2025 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..232: the 6x6x6 color cube
173
+
174
+ valuerange = (0x00, 0x5f, 0x87, 0xaf, 0xd7, 0xff)
175
+
176
+ for i in range(217):
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 233..253: grayscale
183
+
184
+ for i in range(1, 22):
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, 254):
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.reset_string())
py311/lib/python3.11/site-packages/pygments/lexers/__pycache__/_mapping.cpython-311.pyc ADDED
Binary file (67.4 kB). View file
 
py311/lib/python3.11/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-2025 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
+ )
py311/lib/python3.11/site-packages/pygments/lexers/_asy_builtins.py ADDED
@@ -0,0 +1,1644 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-2025 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
+ }
py311/lib/python3.11/site-packages/pygments/lexers/_cl_builtins.py ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._cl_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ ANSI Common Lisp builtins.
6
+
7
+ :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
8
+ :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
+ }
py311/lib/python3.11/site-packages/pygments/lexers/_cocoa_builtins.py ADDED
The diff for this file is too large to render. See raw diff
 
py311/lib/python3.11/site-packages/pygments/lexers/_csound_builtins.py ADDED
@@ -0,0 +1,1780 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._csound_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ :copyright: Copyright 2006-2025 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())
py311/lib/python3.11/site-packages/pygments/lexers/_css_builtins.py ADDED
@@ -0,0 +1,558 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._css_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ This file is autogenerated by scripts/get_css_properties.py
6
+
7
+ :copyright: Copyright 2006-2025 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
+ )
py311/lib/python3.11/site-packages/pygments/lexers/_googlesql_builtins.py ADDED
@@ -0,0 +1,918 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._googlesql_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Autogenerated data files for the GoogleSQL lexer.
6
+
7
+ :copyright: Copyright 2006-2025 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
+ ]
py311/lib/python3.11/site-packages/pygments/lexers/_lasso_builtins.py ADDED
The diff for this file is too large to render. See raw diff
 
py311/lib/python3.11/site-packages/pygments/lexers/_lilypond_builtins.py ADDED
The diff for this file is too large to render. See raw diff
 
py311/lib/python3.11/site-packages/pygments/lexers/_lua_builtins.py ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-2025 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()
py311/lib/python3.11/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-2025 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
+ }
py311/lib/python3.11/site-packages/pygments/lexers/_mapping.py ADDED
@@ -0,0 +1,602 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 'CoqLexer': ('pygments.lexers.theorem', 'Coq', ('coq',), ('*.v',), ('text/x-coq',)),
105
+ 'CplintLexer': ('pygments.lexers.cplint', 'cplint', ('cplint',), ('*.ecl', '*.prolog', '*.pro', '*.pl', '*.P', '*.lpad', '*.cpl'), ('text/x-cplint',)),
106
+ 'CppLexer': ('pygments.lexers.c_cpp', 'C++', ('cpp', 'c++'), ('*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.C', '*.H', '*.cp', '*.CPP', '*.tpp'), ('text/x-c++hdr', 'text/x-c++src')),
107
+ 'CppObjdumpLexer': ('pygments.lexers.asm', 'cpp-objdump', ('cpp-objdump', 'c++-objdumb', 'cxx-objdump'), ('*.cpp-objdump', '*.c++-objdump', '*.cxx-objdump'), ('text/x-cpp-objdump',)),
108
+ 'CrmshLexer': ('pygments.lexers.dsls', 'Crmsh', ('crmsh', 'pcmk'), ('*.crmsh', '*.pcmk'), ()),
109
+ 'CrocLexer': ('pygments.lexers.d', 'Croc', ('croc',), ('*.croc',), ('text/x-crocsrc',)),
110
+ 'CryptolLexer': ('pygments.lexers.haskell', 'Cryptol', ('cryptol', 'cry'), ('*.cry',), ('text/x-cryptol',)),
111
+ 'CrystalLexer': ('pygments.lexers.crystal', 'Crystal', ('cr', 'crystal'), ('*.cr',), ('text/x-crystal',)),
112
+ 'CsoundDocumentLexer': ('pygments.lexers.csound', 'Csound Document', ('csound-document', 'csound-csd'), ('*.csd',), ()),
113
+ 'CsoundOrchestraLexer': ('pygments.lexers.csound', 'Csound Orchestra', ('csound', 'csound-orc'), ('*.orc', '*.udo'), ()),
114
+ 'CsoundScoreLexer': ('pygments.lexers.csound', 'Csound Score', ('csound-score', 'csound-sco'), ('*.sco',), ()),
115
+ 'CssDjangoLexer': ('pygments.lexers.templates', 'CSS+Django/Jinja', ('css+django', 'css+jinja'), ('*.css.j2', '*.css.jinja2'), ('text/css+django', 'text/css+jinja')),
116
+ 'CssErbLexer': ('pygments.lexers.templates', 'CSS+Ruby', ('css+ruby', 'css+erb'), (), ('text/css+ruby',)),
117
+ 'CssGenshiLexer': ('pygments.lexers.templates', 'CSS+Genshi Text', ('css+genshitext', 'css+genshi'), (), ('text/css+genshi',)),
118
+ 'CssLexer': ('pygments.lexers.css', 'CSS', ('css',), ('*.css',), ('text/css',)),
119
+ 'CssPhpLexer': ('pygments.lexers.templates', 'CSS+PHP', ('css+php',), (), ('text/css+php',)),
120
+ 'CssSmartyLexer': ('pygments.lexers.templates', 'CSS+Smarty', ('css+smarty',), (), ('text/css+smarty',)),
121
+ 'CudaLexer': ('pygments.lexers.c_like', 'CUDA', ('cuda', 'cu'), ('*.cu', '*.cuh'), ('text/x-cuda',)),
122
+ 'CypherLexer': ('pygments.lexers.graph', 'Cypher', ('cypher',), ('*.cyp', '*.cypher'), ()),
123
+ 'CythonLexer': ('pygments.lexers.python', 'Cython', ('cython', 'pyx', 'pyrex'), ('*.pyx', '*.pxd', '*.pxi'), ('text/x-cython', 'application/x-cython')),
124
+ 'DLexer': ('pygments.lexers.d', 'D', ('d',), ('*.d', '*.di'), ('text/x-dsrc',)),
125
+ 'DObjdumpLexer': ('pygments.lexers.asm', 'd-objdump', ('d-objdump',), ('*.d-objdump',), ('text/x-d-objdump',)),
126
+ 'DarcsPatchLexer': ('pygments.lexers.diff', 'Darcs Patch', ('dpatch',), ('*.dpatch', '*.darcspatch'), ()),
127
+ 'DartLexer': ('pygments.lexers.javascript', 'Dart', ('dart',), ('*.dart',), ('text/x-dart',)),
128
+ 'Dasm16Lexer': ('pygments.lexers.asm', 'DASM16', ('dasm16',), ('*.dasm16', '*.dasm'), ('text/x-dasm16',)),
129
+ 'DaxLexer': ('pygments.lexers.dax', 'Dax', ('dax',), ('*.dax',), ()),
130
+ 'DebianControlLexer': ('pygments.lexers.installers', 'Debian Control file', ('debcontrol', 'control'), ('control',), ()),
131
+ 'DebianSourcesLexer': ('pygments.lexers.installers', 'Debian Sources file', ('debian.sources',), ('*.sources',), ()),
132
+ 'DelphiLexer': ('pygments.lexers.pascal', 'Delphi', ('delphi', 'pas', 'pascal', 'objectpascal'), ('*.pas', '*.dpr'), ('text/x-pascal',)),
133
+ 'DesktopLexer': ('pygments.lexers.configs', 'Desktop file', ('desktop',), ('*.desktop',), ('application/x-desktop',)),
134
+ 'DevicetreeLexer': ('pygments.lexers.devicetree', 'Devicetree', ('devicetree', 'dts'), ('*.dts', '*.dtsi'), ('text/x-c',)),
135
+ 'DgLexer': ('pygments.lexers.python', 'dg', ('dg',), ('*.dg',), ('text/x-dg',)),
136
+ 'DiffLexer': ('pygments.lexers.diff', 'Diff', ('diff', 'udiff'), ('*.diff', '*.patch'), ('text/x-diff', 'text/x-patch')),
137
+ 'DjangoLexer': ('pygments.lexers.templates', 'Django/Jinja', ('django', 'jinja'), (), ('application/x-django-templating', 'application/x-jinja')),
138
+ 'DnsZoneLexer': ('pygments.lexers.dns', 'Zone', ('zone',), ('*.zone',), ('text/dns',)),
139
+ 'DockerLexer': ('pygments.lexers.configs', 'Docker', ('docker', 'dockerfile'), ('Dockerfile', '*.docker'), ('text/x-dockerfile-config',)),
140
+ 'DtdLexer': ('pygments.lexers.html', 'DTD', ('dtd',), ('*.dtd',), ('application/xml-dtd',)),
141
+ 'DuelLexer': ('pygments.lexers.webmisc', 'Duel', ('duel', 'jbst', 'jsonml+bst'), ('*.duel', '*.jbst'), ('text/x-duel', 'text/x-jbst')),
142
+ 'DylanConsoleLexer': ('pygments.lexers.dylan', 'Dylan session', ('dylan-console', 'dylan-repl'), ('*.dylan-console',), ('text/x-dylan-console',)),
143
+ 'DylanLexer': ('pygments.lexers.dylan', 'Dylan', ('dylan',), ('*.dylan', '*.dyl', '*.intr'), ('text/x-dylan',)),
144
+ 'DylanLidLexer': ('pygments.lexers.dylan', 'DylanLID', ('dylan-lid', 'lid'), ('*.lid', '*.hdp'), ('text/x-dylan-lid',)),
145
+ 'ECLLexer': ('pygments.lexers.ecl', 'ECL', ('ecl',), ('*.ecl',), ('application/x-ecl',)),
146
+ 'ECLexer': ('pygments.lexers.c_like', 'eC', ('ec',), ('*.ec', '*.eh'), ('text/x-echdr', 'text/x-ecsrc')),
147
+ 'EarlGreyLexer': ('pygments.lexers.javascript', 'Earl Grey', ('earl-grey', 'earlgrey', 'eg'), ('*.eg',), ('text/x-earl-grey',)),
148
+ 'EasytrieveLexer': ('pygments.lexers.scripting', 'Easytrieve', ('easytrieve',), ('*.ezt', '*.mac'), ('text/x-easytrieve',)),
149
+ 'EbnfLexer': ('pygments.lexers.parsers', 'EBNF', ('ebnf',), ('*.ebnf',), ('text/x-ebnf',)),
150
+ 'EiffelLexer': ('pygments.lexers.eiffel', 'Eiffel', ('eiffel',), ('*.e',), ('text/x-eiffel',)),
151
+ 'ElixirConsoleLexer': ('pygments.lexers.erlang', 'Elixir iex session', ('iex',), (), ('text/x-elixir-shellsession',)),
152
+ 'ElixirLexer': ('pygments.lexers.erlang', 'Elixir', ('elixir', 'ex', 'exs'), ('*.ex', '*.eex', '*.exs', '*.leex'), ('text/x-elixir',)),
153
+ 'ElmLexer': ('pygments.lexers.elm', 'Elm', ('elm',), ('*.elm',), ('text/x-elm',)),
154
+ 'ElpiLexer': ('pygments.lexers.elpi', 'Elpi', ('elpi',), ('*.elpi',), ('text/x-elpi',)),
155
+ 'EmacsLispLexer': ('pygments.lexers.lisp', 'EmacsLisp', ('emacs-lisp', 'elisp', 'emacs'), ('*.el',), ('text/x-elisp', 'application/x-elisp')),
156
+ 'EmailLexer': ('pygments.lexers.email', 'E-mail', ('email', 'eml'), ('*.eml',), ('message/rfc822',)),
157
+ 'ErbLexer': ('pygments.lexers.templates', 'ERB', ('erb',), (), ('application/x-ruby-templating',)),
158
+ 'ErlangLexer': ('pygments.lexers.erlang', 'Erlang', ('erlang',), ('*.erl', '*.hrl', '*.es', '*.escript'), ('text/x-erlang',)),
159
+ 'ErlangShellLexer': ('pygments.lexers.erlang', 'Erlang erl session', ('erl',), ('*.erl-sh',), ('text/x-erl-shellsession',)),
160
+ 'EvoqueHtmlLexer': ('pygments.lexers.templates', 'HTML+Evoque', ('html+evoque',), (), ('text/html+evoque',)),
161
+ 'EvoqueLexer': ('pygments.lexers.templates', 'Evoque', ('evoque',), ('*.evoque',), ('application/x-evoque',)),
162
+ 'EvoqueXmlLexer': ('pygments.lexers.templates', 'XML+Evoque', ('xml+evoque',), (), ('application/xml+evoque',)),
163
+ 'ExeclineLexer': ('pygments.lexers.shell', 'execline', ('execline',), ('*.exec',), ()),
164
+ 'EzhilLexer': ('pygments.lexers.ezhil', 'Ezhil', ('ezhil',), ('*.n',), ('text/x-ezhil',)),
165
+ 'FSharpLexer': ('pygments.lexers.dotnet', 'F#', ('fsharp', 'f#'), ('*.fs', '*.fsi', '*.fsx'), ('text/x-fsharp',)),
166
+ 'FStarLexer': ('pygments.lexers.ml', 'FStar', ('fstar',), ('*.fst', '*.fsti'), ('text/x-fstar',)),
167
+ 'FactorLexer': ('pygments.lexers.factor', 'Factor', ('factor',), ('*.factor',), ('text/x-factor',)),
168
+ 'FancyLexer': ('pygments.lexers.ruby', 'Fancy', ('fancy', 'fy'), ('*.fy', '*.fancypack'), ('text/x-fancysrc',)),
169
+ 'FantomLexer': ('pygments.lexers.fantom', 'Fantom', ('fan',), ('*.fan',), ('application/x-fantom',)),
170
+ 'FelixLexer': ('pygments.lexers.felix', 'Felix', ('felix', 'flx'), ('*.flx', '*.flxh'), ('text/x-felix',)),
171
+ 'FennelLexer': ('pygments.lexers.lisp', 'Fennel', ('fennel', 'fnl'), ('*.fnl',), ()),
172
+ 'FiftLexer': ('pygments.lexers.fift', 'Fift', ('fift', 'fif'), ('*.fif',), ()),
173
+ 'FishShellLexer': ('pygments.lexers.shell', 'Fish', ('fish', 'fishshell'), ('*.fish', '*.load'), ('application/x-fish',)),
174
+ 'FlatlineLexer': ('pygments.lexers.dsls', 'Flatline', ('flatline',), (), ('text/x-flatline',)),
175
+ 'FloScriptLexer': ('pygments.lexers.floscript', 'FloScript', ('floscript', 'flo'), ('*.flo',), ()),
176
+ 'ForthLexer': ('pygments.lexers.forth', 'Forth', ('forth',), ('*.frt', '*.fs'), ('application/x-forth',)),
177
+ 'FortranFixedLexer': ('pygments.lexers.fortran', 'FortranFixed', ('fortranfixed',), ('*.f', '*.F'), ()),
178
+ 'FortranLexer': ('pygments.lexers.fortran', 'Fortran', ('fortran', 'f90'), ('*.f03', '*.f90', '*.F03', '*.F90'), ('text/x-fortran',)),
179
+ 'FoxProLexer': ('pygments.lexers.foxpro', 'FoxPro', ('foxpro', 'vfp', 'clipper', 'xbase'), ('*.PRG', '*.prg'), ()),
180
+ 'FreeFemLexer': ('pygments.lexers.freefem', 'Freefem', ('freefem',), ('*.edp',), ('text/x-freefem',)),
181
+ 'FuncLexer': ('pygments.lexers.func', 'FunC', ('func', 'fc'), ('*.fc', '*.func'), ()),
182
+ 'FutharkLexer': ('pygments.lexers.futhark', 'Futhark', ('futhark',), ('*.fut',), ('text/x-futhark',)),
183
+ 'GAPConsoleLexer': ('pygments.lexers.algebra', 'GAP session', ('gap-console', 'gap-repl'), ('*.tst',), ()),
184
+ 'GAPLexer': ('pygments.lexers.algebra', 'GAP', ('gap',), ('*.g', '*.gd', '*.gi', '*.gap'), ()),
185
+ 'GDScriptLexer': ('pygments.lexers.gdscript', 'GDScript', ('gdscript', 'gd'), ('*.gd',), ('text/x-gdscript', 'application/x-gdscript')),
186
+ 'GLShaderLexer': ('pygments.lexers.graphics', 'GLSL', ('glsl',), ('*.vert', '*.frag', '*.geo'), ('text/x-glslsrc',)),
187
+ 'GSQLLexer': ('pygments.lexers.gsql', 'GSQL', ('gsql',), ('*.gsql',), ()),
188
+ 'GasLexer': ('pygments.lexers.asm', 'GAS', ('gas', 'asm'), ('*.s', '*.S'), ('text/x-gas',)),
189
+ 'GcodeLexer': ('pygments.lexers.gcodelexer', 'g-code', ('gcode',), ('*.gcode',), ()),
190
+ 'GenshiLexer': ('pygments.lexers.templates', 'Genshi', ('genshi', 'kid', 'xml+genshi', 'xml+kid'), ('*.kid',), ('application/x-genshi', 'application/x-kid')),
191
+ 'GenshiTextLexer': ('pygments.lexers.templates', 'Genshi Text', ('genshitext',), (), ('application/x-genshi-text', 'text/x-genshi')),
192
+ 'GettextLexer': ('pygments.lexers.textfmts', 'Gettext Catalog', ('pot', 'po'), ('*.pot', '*.po'), ('application/x-gettext', 'text/x-gettext', 'text/gettext')),
193
+ 'GherkinLexer': ('pygments.lexers.testing', 'Gherkin', ('gherkin', 'cucumber'), ('*.feature',), ('text/x-gherkin',)),
194
+ 'GleamLexer': ('pygments.lexers.gleam', 'Gleam', ('gleam',), ('*.gleam',), ('text/x-gleam',)),
195
+ 'GnuplotLexer': ('pygments.lexers.graphics', 'Gnuplot', ('gnuplot',), ('*.plot', '*.plt'), ('text/x-gnuplot',)),
196
+ 'GoLexer': ('pygments.lexers.go', 'Go', ('go', 'golang'), ('*.go',), ('text/x-gosrc',)),
197
+ 'GoloLexer': ('pygments.lexers.jvm', 'Golo', ('golo',), ('*.golo',), ()),
198
+ 'GoodDataCLLexer': ('pygments.lexers.business', 'GoodData-CL', ('gooddata-cl',), ('*.gdc',), ('text/x-gooddata-cl',)),
199
+ 'GoogleSqlLexer': ('pygments.lexers.sql', 'GoogleSQL', ('googlesql', 'zetasql'), ('*.googlesql', '*.googlesql.sql'), ('text/x-google-sql', 'text/x-google-sql-aux')),
200
+ 'GosuLexer': ('pygments.lexers.jvm', 'Gosu', ('gosu',), ('*.gs', '*.gsx', '*.gsp', '*.vark'), ('text/x-gosu',)),
201
+ 'GosuTemplateLexer': ('pygments.lexers.jvm', 'Gosu Template', ('gst',), ('*.gst',), ('text/x-gosu-template',)),
202
+ 'GraphQLLexer': ('pygments.lexers.graphql', 'GraphQL', ('graphql',), ('*.graphql',), ()),
203
+ 'GraphvizLexer': ('pygments.lexers.graphviz', 'Graphviz', ('graphviz', 'dot'), ('*.gv', '*.dot'), ('text/x-graphviz', 'text/vnd.graphviz')),
204
+ 'GroffLexer': ('pygments.lexers.markup', 'Groff', ('groff', 'nroff', 'man'), ('*.[1-9]', '*.man', '*.1p', '*.3pm'), ('application/x-troff', 'text/troff')),
205
+ 'GroovyLexer': ('pygments.lexers.jvm', 'Groovy', ('groovy',), ('*.groovy', '*.gradle'), ('text/x-groovy',)),
206
+ 'HLSLShaderLexer': ('pygments.lexers.graphics', 'HLSL', ('hlsl',), ('*.hlsl', '*.hlsli'), ('text/x-hlsl',)),
207
+ 'HTMLUL4Lexer': ('pygments.lexers.ul4', 'HTML+UL4', ('html+ul4',), ('*.htmlul4',), ()),
208
+ 'HamlLexer': ('pygments.lexers.html', 'Haml', ('haml',), ('*.haml',), ('text/x-haml',)),
209
+ 'HandlebarsHtmlLexer': ('pygments.lexers.templates', 'HTML+Handlebars', ('html+handlebars',), ('*.handlebars', '*.hbs'), ('text/html+handlebars', 'text/x-handlebars-template')),
210
+ 'HandlebarsLexer': ('pygments.lexers.templates', 'Handlebars', ('handlebars',), (), ()),
211
+ 'HareLexer': ('pygments.lexers.hare', 'Hare', ('hare',), ('*.ha',), ('text/x-hare',)),
212
+ 'HaskellLexer': ('pygments.lexers.haskell', 'Haskell', ('haskell', 'hs'), ('*.hs',), ('text/x-haskell',)),
213
+ 'HaxeLexer': ('pygments.lexers.haxe', 'Haxe', ('haxe', 'hxsl', 'hx'), ('*.hx', '*.hxsl'), ('text/haxe', 'text/x-haxe', 'text/x-hx')),
214
+ 'HexdumpLexer': ('pygments.lexers.hexdump', 'Hexdump', ('hexdump',), (), ()),
215
+ 'HsailLexer': ('pygments.lexers.asm', 'HSAIL', ('hsail', 'hsa'), ('*.hsail',), ('text/x-hsail',)),
216
+ 'HspecLexer': ('pygments.lexers.haskell', 'Hspec', ('hspec',), ('*Spec.hs',), ()),
217
+ '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')),
218
+ 'HtmlGenshiLexer': ('pygments.lexers.templates', 'HTML+Genshi', ('html+genshi', 'html+kid'), (), ('text/html+genshi',)),
219
+ 'HtmlLexer': ('pygments.lexers.html', 'HTML', ('html',), ('*.html', '*.htm', '*.xhtml', '*.xslt'), ('text/html', 'application/xhtml+xml')),
220
+ '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')),
221
+ 'HtmlSmartyLexer': ('pygments.lexers.templates', 'HTML+Smarty', ('html+smarty',), (), ('text/html+smarty',)),
222
+ 'HttpLexer': ('pygments.lexers.textfmts', 'HTTP', ('http',), (), ()),
223
+ 'HxmlLexer': ('pygments.lexers.haxe', 'Hxml', ('haxeml', 'hxml'), ('*.hxml',), ()),
224
+ 'HyLexer': ('pygments.lexers.lisp', 'Hy', ('hylang', 'hy'), ('*.hy',), ('text/x-hy', 'application/x-hy')),
225
+ 'HybrisLexer': ('pygments.lexers.scripting', 'Hybris', ('hybris',), ('*.hyb',), ('text/x-hybris', 'application/x-hybris')),
226
+ 'IDLLexer': ('pygments.lexers.idl', 'IDL', ('idl',), ('*.pro',), ('text/idl',)),
227
+ 'IconLexer': ('pygments.lexers.unicon', 'Icon', ('icon',), ('*.icon', '*.ICON'), ()),
228
+ 'IdrisLexer': ('pygments.lexers.haskell', 'Idris', ('idris', 'idr'), ('*.idr',), ('text/x-idris',)),
229
+ 'IgorLexer': ('pygments.lexers.igor', 'Igor', ('igor', 'igorpro'), ('*.ipf',), ('text/ipf',)),
230
+ 'Inform6Lexer': ('pygments.lexers.int_fiction', 'Inform 6', ('inform6', 'i6'), ('*.inf',), ()),
231
+ 'Inform6TemplateLexer': ('pygments.lexers.int_fiction', 'Inform 6 template', ('i6t',), ('*.i6t',), ()),
232
+ 'Inform7Lexer': ('pygments.lexers.int_fiction', 'Inform 7', ('inform7', 'i7'), ('*.ni', '*.i7x'), ()),
233
+ 'IniLexer': ('pygments.lexers.configs', 'INI', ('ini', 'cfg', 'dosini'), ('*.ini', '*.cfg', '*.inf', '.editorconfig'), ('text/x-ini', 'text/inf')),
234
+ 'IoLexer': ('pygments.lexers.iolang', 'Io', ('io',), ('*.io',), ('text/x-iosrc',)),
235
+ 'IokeLexer': ('pygments.lexers.jvm', 'Ioke', ('ioke', 'ik'), ('*.ik',), ('text/x-iokesrc',)),
236
+ 'IrcLogsLexer': ('pygments.lexers.textfmts', 'IRC logs', ('irc',), ('*.weechatlog',), ('text/x-irclog',)),
237
+ 'IsabelleLexer': ('pygments.lexers.theorem', 'Isabelle', ('isabelle',), ('*.thy',), ('text/x-isabelle',)),
238
+ 'JLexer': ('pygments.lexers.j', 'J', ('j',), ('*.ijs',), ('text/x-j',)),
239
+ 'JMESPathLexer': ('pygments.lexers.jmespath', 'JMESPath', ('jmespath', 'jp'), ('*.jp',), ()),
240
+ 'JSLTLexer': ('pygments.lexers.jslt', 'JSLT', ('jslt',), ('*.jslt',), ('text/x-jslt',)),
241
+ 'JagsLexer': ('pygments.lexers.modeling', 'JAGS', ('jags',), ('*.jag', '*.bug'), ()),
242
+ 'JanetLexer': ('pygments.lexers.lisp', 'Janet', ('janet',), ('*.janet', '*.jdn'), ('text/x-janet', 'application/x-janet')),
243
+ 'JasminLexer': ('pygments.lexers.jvm', 'Jasmin', ('jasmin', 'jasminxt'), ('*.j',), ()),
244
+ 'JavaLexer': ('pygments.lexers.jvm', 'Java', ('java',), ('*.java',), ('text/x-java',)),
245
+ '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')),
246
+ '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')),
247
+ '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')),
248
+ 'JavascriptLexer': ('pygments.lexers.javascript', 'JavaScript', ('javascript', 'js'), ('*.js', '*.jsm', '*.mjs', '*.cjs'), ('application/javascript', 'application/x-javascript', 'text/x-javascript', 'text/javascript')),
249
+ 'JavascriptPhpLexer': ('pygments.lexers.templates', 'JavaScript+PHP', ('javascript+php', 'js+php'), (), ('application/x-javascript+php', 'text/x-javascript+php', 'text/javascript+php')),
250
+ 'JavascriptSmartyLexer': ('pygments.lexers.templates', 'JavaScript+Smarty', ('javascript+smarty', 'js+smarty'), (), ('application/x-javascript+smarty', 'text/x-javascript+smarty', 'text/javascript+smarty')),
251
+ 'JavascriptUL4Lexer': ('pygments.lexers.ul4', 'Javascript+UL4', ('js+ul4',), ('*.jsul4',), ()),
252
+ 'JclLexer': ('pygments.lexers.scripting', 'JCL', ('jcl',), ('*.jcl',), ('text/x-jcl',)),
253
+ 'JsgfLexer': ('pygments.lexers.grammar_notation', 'JSGF', ('jsgf',), ('*.jsgf',), ('application/jsgf', 'application/x-jsgf', 'text/jsgf')),
254
+ 'Json5Lexer': ('pygments.lexers.json5', 'JSON5', ('json5',), ('*.json5',), ()),
255
+ 'JsonBareObjectLexer': ('pygments.lexers.data', 'JSONBareObject', (), (), ()),
256
+ 'JsonLdLexer': ('pygments.lexers.data', 'JSON-LD', ('jsonld', 'json-ld'), ('*.jsonld',), ('application/ld+json',)),
257
+ 'JsonLexer': ('pygments.lexers.data', 'JSON', ('json', 'json-object'), ('*.json', '*.jsonl', '*.ndjson', 'Pipfile.lock'), ('application/json', 'application/json-object', 'application/x-ndjson', 'application/jsonl', 'application/json-seq')),
258
+ 'JsonnetLexer': ('pygments.lexers.jsonnet', 'Jsonnet', ('jsonnet',), ('*.jsonnet', '*.libsonnet'), ()),
259
+ 'JspLexer': ('pygments.lexers.templates', 'Java Server Page', ('jsp',), ('*.jsp',), ('application/x-jsp',)),
260
+ 'JsxLexer': ('pygments.lexers.jsx', 'JSX', ('jsx', 'react'), ('*.jsx', '*.react'), ('text/jsx', 'text/typescript-jsx')),
261
+ 'JuliaConsoleLexer': ('pygments.lexers.julia', 'Julia console', ('jlcon', 'julia-repl'), (), ()),
262
+ 'JuliaLexer': ('pygments.lexers.julia', 'Julia', ('julia', 'jl'), ('*.jl',), ('text/x-julia', 'application/x-julia')),
263
+ 'JuttleLexer': ('pygments.lexers.javascript', 'Juttle', ('juttle',), ('*.juttle',), ('application/juttle', 'application/x-juttle', 'text/x-juttle', 'text/juttle')),
264
+ 'KLexer': ('pygments.lexers.q', 'K', ('k',), ('*.k',), ()),
265
+ 'KalLexer': ('pygments.lexers.javascript', 'Kal', ('kal',), ('*.kal',), ('text/kal', 'application/kal')),
266
+ 'KconfigLexer': ('pygments.lexers.configs', 'Kconfig', ('kconfig', 'menuconfig', 'linux-config', 'kernel-config'), ('Kconfig*', '*Config.in*', 'external.in*', 'standard-modules.in'), ('text/x-kconfig',)),
267
+ 'KernelLogLexer': ('pygments.lexers.textfmts', 'Kernel log', ('kmsg', 'dmesg'), ('*.kmsg', '*.dmesg'), ()),
268
+ 'KokaLexer': ('pygments.lexers.haskell', 'Koka', ('koka',), ('*.kk', '*.kki'), ('text/x-koka',)),
269
+ 'KotlinLexer': ('pygments.lexers.jvm', 'Kotlin', ('kotlin',), ('*.kt', '*.kts'), ('text/x-kotlin',)),
270
+ 'KuinLexer': ('pygments.lexers.kuin', 'Kuin', ('kuin',), ('*.kn',), ()),
271
+ 'KustoLexer': ('pygments.lexers.kusto', 'Kusto', ('kql', 'kusto'), ('*.kql', '*.kusto', '.csl'), ()),
272
+ 'LSLLexer': ('pygments.lexers.scripting', 'LSL', ('lsl',), ('*.lsl',), ('text/x-lsl',)),
273
+ 'LassoCssLexer': ('pygments.lexers.templates', 'CSS+Lasso', ('css+lasso',), (), ('text/css+lasso',)),
274
+ 'LassoHtmlLexer': ('pygments.lexers.templates', 'HTML+Lasso', ('html+lasso',), (), ('text/html+lasso', 'application/x-httpd-lasso', 'application/x-httpd-lasso[89]')),
275
+ 'LassoJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Lasso', ('javascript+lasso', 'js+lasso'), (), ('application/x-javascript+lasso', 'text/x-javascript+lasso', 'text/javascript+lasso')),
276
+ 'LassoLexer': ('pygments.lexers.javascript', 'Lasso', ('lasso', 'lassoscript'), ('*.lasso', '*.lasso[89]'), ('text/x-lasso',)),
277
+ 'LassoXmlLexer': ('pygments.lexers.templates', 'XML+Lasso', ('xml+lasso',), (), ('application/xml+lasso',)),
278
+ 'LdaprcLexer': ('pygments.lexers.ldap', 'LDAP configuration file', ('ldapconf', 'ldaprc'), ('.ldaprc', 'ldaprc', 'ldap.conf'), ('text/x-ldapconf',)),
279
+ 'LdifLexer': ('pygments.lexers.ldap', 'LDIF', ('ldif',), ('*.ldif',), ('text/x-ldif',)),
280
+ 'Lean3Lexer': ('pygments.lexers.lean', 'Lean', ('lean', 'lean3'), ('*.lean',), ('text/x-lean', 'text/x-lean3')),
281
+ 'Lean4Lexer': ('pygments.lexers.lean', 'Lean4', ('lean4',), ('*.lean',), ('text/x-lean4',)),
282
+ 'LessCssLexer': ('pygments.lexers.css', 'LessCss', ('less',), ('*.less',), ('text/x-less-css',)),
283
+ 'LighttpdConfLexer': ('pygments.lexers.configs', 'Lighttpd configuration file', ('lighttpd', 'lighty'), ('lighttpd.conf',), ('text/x-lighttpd-conf',)),
284
+ 'LilyPondLexer': ('pygments.lexers.lilypond', 'LilyPond', ('lilypond',), ('*.ly',), ()),
285
+ 'LimboLexer': ('pygments.lexers.inferno', 'Limbo', ('limbo',), ('*.b',), ('text/limbo',)),
286
+ 'LiquidLexer': ('pygments.lexers.templates', 'liquid', ('liquid',), ('*.liquid',), ()),
287
+ 'LiterateAgdaLexer': ('pygments.lexers.haskell', 'Literate Agda', ('literate-agda', 'lagda'), ('*.lagda',), ('text/x-literate-agda',)),
288
+ 'LiterateCryptolLexer': ('pygments.lexers.haskell', 'Literate Cryptol', ('literate-cryptol', 'lcryptol', 'lcry'), ('*.lcry',), ('text/x-literate-cryptol',)),
289
+ 'LiterateHaskellLexer': ('pygments.lexers.haskell', 'Literate Haskell', ('literate-haskell', 'lhaskell', 'lhs'), ('*.lhs',), ('text/x-literate-haskell',)),
290
+ 'LiterateIdrisLexer': ('pygments.lexers.haskell', 'Literate Idris', ('literate-idris', 'lidris', 'lidr'), ('*.lidr',), ('text/x-literate-idris',)),
291
+ 'LiveScriptLexer': ('pygments.lexers.javascript', 'LiveScript', ('livescript', 'live-script'), ('*.ls',), ('text/livescript',)),
292
+ 'LlvmLexer': ('pygments.lexers.asm', 'LLVM', ('llvm',), ('*.ll',), ('text/x-llvm',)),
293
+ 'LlvmMirBodyLexer': ('pygments.lexers.asm', 'LLVM-MIR Body', ('llvm-mir-body',), (), ()),
294
+ 'LlvmMirLexer': ('pygments.lexers.asm', 'LLVM-MIR', ('llvm-mir',), ('*.mir',), ()),
295
+ 'LogosLexer': ('pygments.lexers.objective', 'Logos', ('logos',), ('*.x', '*.xi', '*.xm', '*.xmi'), ('text/x-logos',)),
296
+ 'LogtalkLexer': ('pygments.lexers.prolog', 'Logtalk', ('logtalk',), ('*.lgt', '*.logtalk'), ('text/x-logtalk',)),
297
+ 'LuaLexer': ('pygments.lexers.scripting', 'Lua', ('lua',), ('*.lua', '*.wlua'), ('text/x-lua', 'application/x-lua')),
298
+ 'LuauLexer': ('pygments.lexers.scripting', 'Luau', ('luau',), ('*.luau',), ()),
299
+ 'MCFunctionLexer': ('pygments.lexers.minecraft', 'MCFunction', ('mcfunction', 'mcf'), ('*.mcfunction',), ('text/mcfunction',)),
300
+ 'MCSchemaLexer': ('pygments.lexers.minecraft', 'MCSchema', ('mcschema',), ('*.mcschema',), ('text/mcschema',)),
301
+ 'MIMELexer': ('pygments.lexers.mime', 'MIME', ('mime',), (), ('multipart/mixed', 'multipart/related', 'multipart/alternative')),
302
+ 'MIPSLexer': ('pygments.lexers.mips', 'MIPS', ('mips',), ('*.mips', '*.MIPS'), ()),
303
+ 'MOOCodeLexer': ('pygments.lexers.scripting', 'MOOCode', ('moocode', 'moo'), ('*.moo',), ('text/x-moocode',)),
304
+ 'MSDOSSessionLexer': ('pygments.lexers.shell', 'MSDOS Session', ('doscon',), (), ()),
305
+ 'Macaulay2Lexer': ('pygments.lexers.macaulay2', 'Macaulay2', ('macaulay2',), ('*.m2',), ()),
306
+ 'MakefileLexer': ('pygments.lexers.make', 'Makefile', ('make', 'makefile', 'mf', 'bsdmake'), ('*.mak', '*.mk', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'), ('text/x-makefile',)),
307
+ 'MakoCssLexer': ('pygments.lexers.templates', 'CSS+Mako', ('css+mako',), (), ('text/css+mako',)),
308
+ 'MakoHtmlLexer': ('pygments.lexers.templates', 'HTML+Mako', ('html+mako',), (), ('text/html+mako',)),
309
+ 'MakoJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Mako', ('javascript+mako', 'js+mako'), (), ('application/x-javascript+mako', 'text/x-javascript+mako', 'text/javascript+mako')),
310
+ 'MakoLexer': ('pygments.lexers.templates', 'Mako', ('mako',), ('*.mao',), ('application/x-mako',)),
311
+ 'MakoXmlLexer': ('pygments.lexers.templates', 'XML+Mako', ('xml+mako',), (), ('application/xml+mako',)),
312
+ 'MapleLexer': ('pygments.lexers.maple', 'Maple', ('maple',), ('*.mpl', '*.mi', '*.mm'), ('text/x-maple',)),
313
+ 'MaqlLexer': ('pygments.lexers.business', 'MAQL', ('maql',), ('*.maql',), ('text/x-gooddata-maql', 'application/x-gooddata-maql')),
314
+ 'MarkdownLexer': ('pygments.lexers.markup', 'Markdown', ('markdown', 'md'), ('*.md', '*.markdown'), ('text/x-markdown',)),
315
+ 'MaskLexer': ('pygments.lexers.javascript', 'Mask', ('mask',), ('*.mask',), ('text/x-mask',)),
316
+ 'MasonLexer': ('pygments.lexers.templates', 'Mason', ('mason',), ('*.m', '*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler'), ('application/x-mason',)),
317
+ 'MathematicaLexer': ('pygments.lexers.algebra', 'Mathematica', ('mathematica', 'mma', 'nb'), ('*.nb', '*.cdf', '*.nbp', '*.ma'), ('application/mathematica', 'application/vnd.wolfram.mathematica', 'application/vnd.wolfram.mathematica.package', 'application/vnd.wolfram.cdf')),
318
+ 'MatlabLexer': ('pygments.lexers.matlab', 'Matlab', ('matlab',), ('*.m',), ('text/matlab',)),
319
+ 'MatlabSessionLexer': ('pygments.lexers.matlab', 'Matlab session', ('matlabsession',), (), ()),
320
+ 'MaximaLexer': ('pygments.lexers.maxima', 'Maxima', ('maxima', 'macsyma'), ('*.mac', '*.max'), ()),
321
+ 'MesonLexer': ('pygments.lexers.meson', 'Meson', ('meson', 'meson.build'), ('meson.build', 'meson_options.txt'), ('text/x-meson',)),
322
+ 'MiniDLexer': ('pygments.lexers.d', 'MiniD', ('minid',), (), ('text/x-minidsrc',)),
323
+ 'MiniScriptLexer': ('pygments.lexers.scripting', 'MiniScript', ('miniscript', 'ms'), ('*.ms',), ('text/x-minicript', 'application/x-miniscript')),
324
+ 'ModelicaLexer': ('pygments.lexers.modeling', 'Modelica', ('modelica',), ('*.mo',), ('text/x-modelica',)),
325
+ 'Modula2Lexer': ('pygments.lexers.modula2', 'Modula-2', ('modula2', 'm2'), ('*.def', '*.mod'), ('text/x-modula2',)),
326
+ 'MoinWikiLexer': ('pygments.lexers.markup', 'MoinMoin/Trac Wiki markup', ('trac-wiki', 'moin'), (), ('text/x-trac-wiki',)),
327
+ 'MojoLexer': ('pygments.lexers.mojo', 'Mojo', ('mojo', '🔥'), ('*.mojo', '*.🔥'), ('text/x-mojo', 'application/x-mojo')),
328
+ 'MonkeyLexer': ('pygments.lexers.basic', 'Monkey', ('monkey',), ('*.monkey',), ('text/x-monkey',)),
329
+ 'MonteLexer': ('pygments.lexers.monte', 'Monte', ('monte',), ('*.mt',), ()),
330
+ 'MoonScriptLexer': ('pygments.lexers.scripting', 'MoonScript', ('moonscript', 'moon'), ('*.moon',), ('text/x-moonscript', 'application/x-moonscript')),
331
+ 'MoselLexer': ('pygments.lexers.mosel', 'Mosel', ('mosel',), ('*.mos',), ()),
332
+ 'MozPreprocCssLexer': ('pygments.lexers.markup', 'CSS+mozpreproc', ('css+mozpreproc',), ('*.css.in',), ()),
333
+ 'MozPreprocHashLexer': ('pygments.lexers.markup', 'mozhashpreproc', ('mozhashpreproc',), (), ()),
334
+ 'MozPreprocJavascriptLexer': ('pygments.lexers.markup', 'Javascript+mozpreproc', ('javascript+mozpreproc',), ('*.js.in',), ()),
335
+ 'MozPreprocPercentLexer': ('pygments.lexers.markup', 'mozpercentpreproc', ('mozpercentpreproc',), (), ()),
336
+ 'MozPreprocXulLexer': ('pygments.lexers.markup', 'XUL+mozpreproc', ('xul+mozpreproc',), ('*.xul.in',), ()),
337
+ 'MqlLexer': ('pygments.lexers.c_like', 'MQL', ('mql', 'mq4', 'mq5', 'mql4', 'mql5'), ('*.mq4', '*.mq5', '*.mqh'), ('text/x-mql',)),
338
+ 'MscgenLexer': ('pygments.lexers.dsls', 'Mscgen', ('mscgen', 'msc'), ('*.msc',), ()),
339
+ 'MuPADLexer': ('pygments.lexers.algebra', 'MuPAD', ('mupad',), ('*.mu',), ()),
340
+ 'MxmlLexer': ('pygments.lexers.actionscript', 'MXML', ('mxml',), ('*.mxml',), ()),
341
+ 'MySqlLexer': ('pygments.lexers.sql', 'MySQL', ('mysql',), (), ('text/x-mysql',)),
342
+ 'MyghtyCssLexer': ('pygments.lexers.templates', 'CSS+Myghty', ('css+myghty',), (), ('text/css+myghty',)),
343
+ 'MyghtyHtmlLexer': ('pygments.lexers.templates', 'HTML+Myghty', ('html+myghty',), (), ('text/html+myghty',)),
344
+ 'MyghtyJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Myghty', ('javascript+myghty', 'js+myghty'), (), ('application/x-javascript+myghty', 'text/x-javascript+myghty', 'text/javascript+mygthy')),
345
+ 'MyghtyLexer': ('pygments.lexers.templates', 'Myghty', ('myghty',), ('*.myt', 'autodelegate'), ('application/x-myghty',)),
346
+ 'MyghtyXmlLexer': ('pygments.lexers.templates', 'XML+Myghty', ('xml+myghty',), (), ('application/xml+myghty',)),
347
+ 'NCLLexer': ('pygments.lexers.ncl', 'NCL', ('ncl',), ('*.ncl',), ('text/ncl',)),
348
+ 'NSISLexer': ('pygments.lexers.installers', 'NSIS', ('nsis', 'nsi', 'nsh'), ('*.nsi', '*.nsh'), ('text/x-nsis',)),
349
+ 'NasmLexer': ('pygments.lexers.asm', 'NASM', ('nasm',), ('*.asm', '*.ASM', '*.nasm'), ('text/x-nasm',)),
350
+ 'NasmObjdumpLexer': ('pygments.lexers.asm', 'objdump-nasm', ('objdump-nasm',), ('*.objdump-intel',), ('text/x-nasm-objdump',)),
351
+ 'NemerleLexer': ('pygments.lexers.dotnet', 'Nemerle', ('nemerle',), ('*.n',), ('text/x-nemerle',)),
352
+ 'NesCLexer': ('pygments.lexers.c_like', 'nesC', ('nesc',), ('*.nc',), ('text/x-nescsrc',)),
353
+ 'NestedTextLexer': ('pygments.lexers.configs', 'NestedText', ('nestedtext', 'nt'), ('*.nt',), ()),
354
+ 'NewLispLexer': ('pygments.lexers.lisp', 'NewLisp', ('newlisp',), ('*.lsp', '*.nl', '*.kif'), ('text/x-newlisp', 'application/x-newlisp')),
355
+ 'NewspeakLexer': ('pygments.lexers.smalltalk', 'Newspeak', ('newspeak',), ('*.ns2',), ('text/x-newspeak',)),
356
+ 'NginxConfLexer': ('pygments.lexers.configs', 'Nginx configuration file', ('nginx',), ('nginx.conf',), ('text/x-nginx-conf',)),
357
+ 'NimrodLexer': ('pygments.lexers.nimrod', 'Nimrod', ('nimrod', 'nim'), ('*.nim', '*.nimrod'), ('text/x-nim',)),
358
+ 'NitLexer': ('pygments.lexers.nit', 'Nit', ('nit',), ('*.nit',), ()),
359
+ 'NixLexer': ('pygments.lexers.nix', 'Nix', ('nixos', 'nix'), ('*.nix',), ('text/x-nix',)),
360
+ 'NodeConsoleLexer': ('pygments.lexers.javascript', 'Node.js REPL console session', ('nodejsrepl',), (), ('text/x-nodejsrepl',)),
361
+ 'NotmuchLexer': ('pygments.lexers.textfmts', 'Notmuch', ('notmuch',), (), ()),
362
+ 'NuSMVLexer': ('pygments.lexers.smv', 'NuSMV', ('nusmv',), ('*.smv',), ()),
363
+ 'NumPyLexer': ('pygments.lexers.python', 'NumPy', ('numpy',), (), ()),
364
+ 'NumbaIRLexer': ('pygments.lexers.numbair', 'Numba_IR', ('numba_ir', 'numbair'), ('*.numba_ir',), ('text/x-numba_ir', 'text/x-numbair')),
365
+ 'ObjdumpLexer': ('pygments.lexers.asm', 'objdump', ('objdump',), ('*.objdump',), ('text/x-objdump',)),
366
+ 'ObjectiveCLexer': ('pygments.lexers.objective', 'Objective-C', ('objective-c', 'objectivec', 'obj-c', 'objc'), ('*.m', '*.h'), ('text/x-objective-c',)),
367
+ 'ObjectiveCppLexer': ('pygments.lexers.objective', 'Objective-C++', ('objective-c++', 'objectivec++', 'obj-c++', 'objc++'), ('*.mm', '*.hh'), ('text/x-objective-c++',)),
368
+ 'ObjectiveJLexer': ('pygments.lexers.javascript', 'Objective-J', ('objective-j', 'objectivej', 'obj-j', 'objj'), ('*.j',), ('text/x-objective-j',)),
369
+ 'OcamlLexer': ('pygments.lexers.ml', 'OCaml', ('ocaml',), ('*.ml', '*.mli', '*.mll', '*.mly'), ('text/x-ocaml',)),
370
+ 'OctaveLexer': ('pygments.lexers.matlab', 'Octave', ('octave',), ('*.m',), ('text/octave',)),
371
+ 'OdinLexer': ('pygments.lexers.archetype', 'ODIN', ('odin',), ('*.odin',), ('text/odin',)),
372
+ 'OmgIdlLexer': ('pygments.lexers.c_like', 'OMG Interface Definition Language', ('omg-idl',), ('*.idl', '*.pidl'), ()),
373
+ 'OocLexer': ('pygments.lexers.ooc', 'Ooc', ('ooc',), ('*.ooc',), ('text/x-ooc',)),
374
+ 'OpaLexer': ('pygments.lexers.ml', 'Opa', ('opa',), ('*.opa',), ('text/x-opa',)),
375
+ 'OpenEdgeLexer': ('pygments.lexers.business', 'OpenEdge ABL', ('openedge', 'abl', 'progress'), ('*.p', '*.cls'), ('text/x-openedge', 'application/x-openedge')),
376
+ 'OpenScadLexer': ('pygments.lexers.openscad', 'OpenSCAD', ('openscad',), ('*.scad',), ('application/x-openscad',)),
377
+ 'OrgLexer': ('pygments.lexers.markup', 'Org Mode', ('org', 'orgmode', 'org-mode'), ('*.org',), ('text/org',)),
378
+ 'OutputLexer': ('pygments.lexers.special', 'Text output', ('output',), (), ()),
379
+ 'PacmanConfLexer': ('pygments.lexers.configs', 'PacmanConf', ('pacmanconf',), ('pacman.conf',), ()),
380
+ 'PanLexer': ('pygments.lexers.dsls', 'Pan', ('pan',), ('*.pan',), ()),
381
+ 'ParaSailLexer': ('pygments.lexers.parasail', 'ParaSail', ('parasail',), ('*.psi', '*.psl'), ('text/x-parasail',)),
382
+ 'PawnLexer': ('pygments.lexers.pawn', 'Pawn', ('pawn',), ('*.p', '*.pwn', '*.inc'), ('text/x-pawn',)),
383
+ 'PddlLexer': ('pygments.lexers.pddl', 'PDDL', ('pddl',), ('*.pddl',), ()),
384
+ 'PegLexer': ('pygments.lexers.grammar_notation', 'PEG', ('peg',), ('*.peg',), ('text/x-peg',)),
385
+ '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')),
386
+ 'PerlLexer': ('pygments.lexers.perl', 'Perl', ('perl', 'pl'), ('*.pl', '*.pm', '*.t', '*.perl'), ('text/x-perl', 'application/x-perl')),
387
+ 'PhixLexer': ('pygments.lexers.phix', 'Phix', ('phix',), ('*.exw',), ('text/x-phix',)),
388
+ 'PhpLexer': ('pygments.lexers.php', 'PHP', ('php', 'php3', 'php4', 'php5'), ('*.php', '*.php[345]', '*.inc'), ('text/x-php',)),
389
+ 'PigLexer': ('pygments.lexers.jvm', 'Pig', ('pig',), ('*.pig',), ('text/x-pig',)),
390
+ 'PikeLexer': ('pygments.lexers.c_like', 'Pike', ('pike',), ('*.pike', '*.pmod'), ('text/x-pike',)),
391
+ 'PkgConfigLexer': ('pygments.lexers.configs', 'PkgConfig', ('pkgconfig',), ('*.pc',), ()),
392
+ 'PlPgsqlLexer': ('pygments.lexers.sql', 'PL/pgSQL', ('plpgsql',), (), ('text/x-plpgsql',)),
393
+ 'PointlessLexer': ('pygments.lexers.pointless', 'Pointless', ('pointless',), ('*.ptls',), ()),
394
+ 'PonyLexer': ('pygments.lexers.pony', 'Pony', ('pony',), ('*.pony',), ()),
395
+ 'PortugolLexer': ('pygments.lexers.pascal', 'Portugol', ('portugol',), ('*.alg', '*.portugol'), ()),
396
+ 'PostScriptLexer': ('pygments.lexers.graphics', 'PostScript', ('postscript', 'postscr'), ('*.ps', '*.eps'), ('application/postscript',)),
397
+ 'PostgresConsoleLexer': ('pygments.lexers.sql', 'PostgreSQL console (psql)', ('psql', 'postgresql-console', 'postgres-console'), (), ('text/x-postgresql-psql',)),
398
+ 'PostgresExplainLexer': ('pygments.lexers.sql', 'PostgreSQL EXPLAIN dialect', ('postgres-explain',), ('*.explain',), ('text/x-postgresql-explain',)),
399
+ 'PostgresLexer': ('pygments.lexers.sql', 'PostgreSQL SQL dialect', ('postgresql', 'postgres'), (), ('text/x-postgresql',)),
400
+ 'PovrayLexer': ('pygments.lexers.graphics', 'POVRay', ('pov',), ('*.pov', '*.inc'), ('text/x-povray',)),
401
+ 'PowerShellLexer': ('pygments.lexers.shell', 'PowerShell', ('powershell', 'pwsh', 'posh', 'ps1', 'psm1'), ('*.ps1', '*.psm1'), ('text/x-powershell',)),
402
+ 'PowerShellSessionLexer': ('pygments.lexers.shell', 'PowerShell Session', ('pwsh-session', 'ps1con'), (), ()),
403
+ 'PraatLexer': ('pygments.lexers.praat', 'Praat', ('praat',), ('*.praat', '*.proc', '*.psc'), ()),
404
+ 'ProcfileLexer': ('pygments.lexers.procfile', 'Procfile', ('procfile',), ('Procfile',), ()),
405
+ 'PrologLexer': ('pygments.lexers.prolog', 'Prolog', ('prolog',), ('*.ecl', '*.prolog', '*.pro', '*.pl'), ('text/x-prolog',)),
406
+ 'PromQLLexer': ('pygments.lexers.promql', 'PromQL', ('promql',), ('*.promql',), ()),
407
+ 'PromelaLexer': ('pygments.lexers.c_like', 'Promela', ('promela',), ('*.pml', '*.prom', '*.prm', '*.promela', '*.pr', '*.pm'), ('text/x-promela',)),
408
+ 'PropertiesLexer': ('pygments.lexers.configs', 'Properties', ('properties', 'jproperties'), ('*.properties',), ('text/x-java-properties',)),
409
+ 'ProtoBufLexer': ('pygments.lexers.dsls', 'Protocol Buffer', ('protobuf', 'proto'), ('*.proto',), ()),
410
+ 'PrqlLexer': ('pygments.lexers.prql', 'PRQL', ('prql',), ('*.prql',), ('application/prql', 'application/x-prql')),
411
+ 'PsyshConsoleLexer': ('pygments.lexers.php', 'PsySH console session for PHP', ('psysh',), (), ()),
412
+ 'PtxLexer': ('pygments.lexers.ptx', 'PTX', ('ptx',), ('*.ptx',), ('text/x-ptx',)),
413
+ 'PugLexer': ('pygments.lexers.html', 'Pug', ('pug', 'jade'), ('*.pug', '*.jade'), ('text/x-pug', 'text/x-jade')),
414
+ 'PuppetLexer': ('pygments.lexers.dsls', 'Puppet', ('puppet',), ('*.pp',), ()),
415
+ 'PyPyLogLexer': ('pygments.lexers.console', 'PyPy Log', ('pypylog', 'pypy'), ('*.pypylog',), ('application/x-pypylog',)),
416
+ 'Python2Lexer': ('pygments.lexers.python', 'Python 2.x', ('python2', 'py2'), (), ('text/x-python2', 'application/x-python2')),
417
+ 'Python2TracebackLexer': ('pygments.lexers.python', 'Python 2.x Traceback', ('py2tb',), ('*.py2tb',), ('text/x-python2-traceback',)),
418
+ 'PythonConsoleLexer': ('pygments.lexers.python', 'Python console session', ('pycon', 'python-console'), (), ('text/x-python-doctest',)),
419
+ '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'), ('text/x-python', 'application/x-python', 'text/x-python3', 'application/x-python3')),
420
+ 'PythonTracebackLexer': ('pygments.lexers.python', 'Python Traceback', ('pytb', 'py3tb'), ('*.pytb', '*.py3tb'), ('text/x-python-traceback', 'text/x-python3-traceback')),
421
+ 'PythonUL4Lexer': ('pygments.lexers.ul4', 'Python+UL4', ('py+ul4',), ('*.pyul4',), ()),
422
+ 'QBasicLexer': ('pygments.lexers.basic', 'QBasic', ('qbasic', 'basic'), ('*.BAS', '*.bas'), ('text/basic',)),
423
+ 'QLexer': ('pygments.lexers.q', 'Q', ('q',), ('*.q',), ()),
424
+ 'QVToLexer': ('pygments.lexers.qvt', 'QVTO', ('qvto', 'qvt'), ('*.qvto',), ()),
425
+ 'QlikLexer': ('pygments.lexers.qlik', 'Qlik', ('qlik', 'qlikview', 'qliksense', 'qlikscript'), ('*.qvs', '*.qvw'), ()),
426
+ 'QmlLexer': ('pygments.lexers.webmisc', 'QML', ('qml', 'qbs'), ('*.qml', '*.qbs'), ('application/x-qml', 'application/x-qt.qbs+qml')),
427
+ 'RConsoleLexer': ('pygments.lexers.r', 'RConsole', ('rconsole', 'rout'), ('*.Rout',), ()),
428
+ 'RNCCompactLexer': ('pygments.lexers.rnc', 'Relax-NG Compact', ('rng-compact', 'rnc'), ('*.rnc',), ()),
429
+ 'RPMSpecLexer': ('pygments.lexers.installers', 'RPMSpec', ('spec',), ('*.spec',), ('text/x-rpm-spec',)),
430
+ 'RacketLexer': ('pygments.lexers.lisp', 'Racket', ('racket', 'rkt'), ('*.rkt', '*.rktd', '*.rktl'), ('text/x-racket', 'application/x-racket')),
431
+ 'RagelCLexer': ('pygments.lexers.parsers', 'Ragel in C Host', ('ragel-c',), ('*.rl',), ()),
432
+ 'RagelCppLexer': ('pygments.lexers.parsers', 'Ragel in CPP Host', ('ragel-cpp',), ('*.rl',), ()),
433
+ 'RagelDLexer': ('pygments.lexers.parsers', 'Ragel in D Host', ('ragel-d',), ('*.rl',), ()),
434
+ 'RagelEmbeddedLexer': ('pygments.lexers.parsers', 'Embedded Ragel', ('ragel-em',), ('*.rl',), ()),
435
+ 'RagelJavaLexer': ('pygments.lexers.parsers', 'Ragel in Java Host', ('ragel-java',), ('*.rl',), ()),
436
+ 'RagelLexer': ('pygments.lexers.parsers', 'Ragel', ('ragel',), (), ()),
437
+ 'RagelObjectiveCLexer': ('pygments.lexers.parsers', 'Ragel in Objective C Host', ('ragel-objc',), ('*.rl',), ()),
438
+ 'RagelRubyLexer': ('pygments.lexers.parsers', 'Ragel in Ruby Host', ('ragel-ruby', 'ragel-rb'), ('*.rl',), ()),
439
+ 'RawTokenLexer': ('pygments.lexers.special', 'Raw token data', (), (), ('application/x-pygments-tokens',)),
440
+ 'RdLexer': ('pygments.lexers.r', 'Rd', ('rd',), ('*.Rd',), ('text/x-r-doc',)),
441
+ 'ReasonLexer': ('pygments.lexers.ml', 'ReasonML', ('reasonml', 'reason'), ('*.re', '*.rei'), ('text/x-reasonml',)),
442
+ 'RebolLexer': ('pygments.lexers.rebol', 'REBOL', ('rebol',), ('*.r', '*.r3', '*.reb'), ('text/x-rebol',)),
443
+ 'RedLexer': ('pygments.lexers.rebol', 'Red', ('red', 'red/system'), ('*.red', '*.reds'), ('text/x-red', 'text/x-red-system')),
444
+ 'RedcodeLexer': ('pygments.lexers.esoteric', 'Redcode', ('redcode',), ('*.cw',), ()),
445
+ 'RegeditLexer': ('pygments.lexers.configs', 'reg', ('registry',), ('*.reg',), ('text/x-windows-registry',)),
446
+ 'RegoLexer': ('pygments.lexers.rego', 'Rego', ('rego',), ('*.rego',), ('text/x-rego',)),
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
+ 'RqlLexer': ('pygments.lexers.sql', 'RQL', ('rql',), ('*.rql',), ('text/x-rql',)),
456
+ 'RslLexer': ('pygments.lexers.dsls', 'RSL', ('rsl',), ('*.rsl',), ('text/rsl',)),
457
+ 'RstLexer': ('pygments.lexers.markup', 'reStructuredText', ('restructuredtext', 'rst', 'rest'), ('*.rst', '*.rest'), ('text/x-rst', 'text/prs.fallenstein.rst')),
458
+ 'RtsLexer': ('pygments.lexers.trafficscript', 'TrafficScript', ('trafficscript', 'rts'), ('*.rts',), ()),
459
+ 'RubyConsoleLexer': ('pygments.lexers.ruby', 'Ruby irb session', ('rbcon', 'irb'), (), ('text/x-ruby-shellsession',)),
460
+ 'RubyLexer': ('pygments.lexers.ruby', 'Ruby', ('ruby', 'rb', 'duby'), ('*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec', '*.rbx', '*.duby', 'Gemfile', 'Vagrantfile'), ('text/x-ruby', 'application/x-ruby')),
461
+ 'RustLexer': ('pygments.lexers.rust', 'Rust', ('rust', 'rs'), ('*.rs', '*.rs.in'), ('text/rust', 'text/x-rust')),
462
+ 'SASLexer': ('pygments.lexers.sas', 'SAS', ('sas',), ('*.SAS', '*.sas'), ('text/x-sas', 'text/sas', 'application/x-sas')),
463
+ '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')),
464
+ 'SMLLexer': ('pygments.lexers.ml', 'Standard ML', ('sml',), ('*.sml', '*.sig', '*.fun'), ('text/x-standardml', 'application/x-standardml')),
465
+ 'SNBTLexer': ('pygments.lexers.minecraft', 'SNBT', ('snbt',), ('*.snbt',), ('text/snbt',)),
466
+ 'SarlLexer': ('pygments.lexers.jvm', 'SARL', ('sarl',), ('*.sarl',), ('text/x-sarl',)),
467
+ 'SassLexer': ('pygments.lexers.css', 'Sass', ('sass',), ('*.sass',), ('text/x-sass',)),
468
+ 'SaviLexer': ('pygments.lexers.savi', 'Savi', ('savi',), ('*.savi',), ()),
469
+ 'ScalaLexer': ('pygments.lexers.jvm', 'Scala', ('scala',), ('*.scala',), ('text/x-scala',)),
470
+ 'ScamlLexer': ('pygments.lexers.html', 'Scaml', ('scaml',), ('*.scaml',), ('text/x-scaml',)),
471
+ 'ScdocLexer': ('pygments.lexers.scdoc', 'scdoc', ('scdoc', 'scd'), ('*.scd', '*.scdoc'), ()),
472
+ 'SchemeLexer': ('pygments.lexers.lisp', 'Scheme', ('scheme', 'scm'), ('*.scm', '*.ss'), ('text/x-scheme', 'application/x-scheme')),
473
+ 'ScilabLexer': ('pygments.lexers.matlab', 'Scilab', ('scilab',), ('*.sci', '*.sce', '*.tst'), ('text/scilab',)),
474
+ 'ScssLexer': ('pygments.lexers.css', 'SCSS', ('scss',), ('*.scss',), ('text/x-scss',)),
475
+ 'SedLexer': ('pygments.lexers.textedit', 'Sed', ('sed', 'gsed', 'ssed'), ('*.sed', '*.[gs]sed'), ('text/x-sed',)),
476
+ 'ShExCLexer': ('pygments.lexers.rdf', 'ShExC', ('shexc', 'shex'), ('*.shex',), ('text/shex',)),
477
+ 'ShenLexer': ('pygments.lexers.lisp', 'Shen', ('shen',), ('*.shen',), ('text/x-shen', 'application/x-shen')),
478
+ 'SieveLexer': ('pygments.lexers.sieve', 'Sieve', ('sieve',), ('*.siv', '*.sieve'), ()),
479
+ 'SilverLexer': ('pygments.lexers.verification', 'Silver', ('silver',), ('*.sil', '*.vpr'), ()),
480
+ 'SingularityLexer': ('pygments.lexers.configs', 'Singularity', ('singularity',), ('*.def', 'Singularity'), ()),
481
+ 'SlashLexer': ('pygments.lexers.slash', 'Slash', ('slash',), ('*.sla',), ()),
482
+ 'SlimLexer': ('pygments.lexers.webmisc', 'Slim', ('slim',), ('*.slim',), ('text/x-slim',)),
483
+ 'SlurmBashLexer': ('pygments.lexers.shell', 'Slurm', ('slurm', 'sbatch'), ('*.sl',), ()),
484
+ 'SmaliLexer': ('pygments.lexers.dalvik', 'Smali', ('smali',), ('*.smali',), ('text/smali',)),
485
+ 'SmalltalkLexer': ('pygments.lexers.smalltalk', 'Smalltalk', ('smalltalk', 'squeak', 'st'), ('*.st',), ('text/x-smalltalk',)),
486
+ 'SmartGameFormatLexer': ('pygments.lexers.sgf', 'SmartGameFormat', ('sgf',), ('*.sgf',), ()),
487
+ 'SmartyLexer': ('pygments.lexers.templates', 'Smarty', ('smarty',), ('*.tpl',), ('application/x-smarty',)),
488
+ 'SmithyLexer': ('pygments.lexers.smithy', 'Smithy', ('smithy',), ('*.smithy',), ()),
489
+ 'SnobolLexer': ('pygments.lexers.snobol', 'Snobol', ('snobol',), ('*.snobol',), ('text/x-snobol',)),
490
+ 'SnowballLexer': ('pygments.lexers.dsls', 'Snowball', ('snowball',), ('*.sbl',), ()),
491
+ 'SolidityLexer': ('pygments.lexers.solidity', 'Solidity', ('solidity',), ('*.sol',), ()),
492
+ 'SoongLexer': ('pygments.lexers.soong', 'Soong', ('androidbp', 'bp', 'soong'), ('Android.bp',), ()),
493
+ 'SophiaLexer': ('pygments.lexers.sophia', 'Sophia', ('sophia',), ('*.aes',), ()),
494
+ 'SourcePawnLexer': ('pygments.lexers.pawn', 'SourcePawn', ('sp',), ('*.sp',), ('text/x-sourcepawn',)),
495
+ 'SourcesListLexer': ('pygments.lexers.installers', 'Debian Sourcelist', ('debsources', 'sourceslist', 'sources.list'), ('sources.list',), ()),
496
+ 'SparqlLexer': ('pygments.lexers.rdf', 'SPARQL', ('sparql',), ('*.rq', '*.sparql'), ('application/sparql-query',)),
497
+ 'SpiceLexer': ('pygments.lexers.spice', 'Spice', ('spice', 'spicelang'), ('*.spice',), ('text/x-spice',)),
498
+ 'SqlJinjaLexer': ('pygments.lexers.templates', 'SQL+Jinja', ('sql+jinja',), ('*.sql', '*.sql.j2', '*.sql.jinja2'), ()),
499
+ 'SqlLexer': ('pygments.lexers.sql', 'SQL', ('sql',), ('*.sql',), ('text/x-sql',)),
500
+ 'SqliteConsoleLexer': ('pygments.lexers.sql', 'sqlite3con', ('sqlite3',), ('*.sqlite3-console',), ('text/x-sqlite3-console',)),
501
+ 'SquidConfLexer': ('pygments.lexers.configs', 'SquidConf', ('squidconf', 'squid.conf', 'squid'), ('squid.conf',), ('text/x-squidconf',)),
502
+ 'SrcinfoLexer': ('pygments.lexers.srcinfo', 'Srcinfo', ('srcinfo',), ('.SRCINFO',), ()),
503
+ 'SspLexer': ('pygments.lexers.templates', 'Scalate Server Page', ('ssp',), ('*.ssp',), ('application/x-ssp',)),
504
+ 'StanLexer': ('pygments.lexers.modeling', 'Stan', ('stan',), ('*.stan',), ()),
505
+ 'StataLexer': ('pygments.lexers.stata', 'Stata', ('stata', 'do'), ('*.do', '*.ado'), ('text/x-stata', 'text/stata', 'application/x-stata')),
506
+ 'SuperColliderLexer': ('pygments.lexers.supercollider', 'SuperCollider', ('supercollider', 'sc'), ('*.sc', '*.scd'), ('application/supercollider', 'text/supercollider')),
507
+ 'SwiftLexer': ('pygments.lexers.objective', 'Swift', ('swift',), ('*.swift',), ('text/x-swift',)),
508
+ 'SwigLexer': ('pygments.lexers.c_like', 'SWIG', ('swig',), ('*.swg', '*.i'), ('text/swig',)),
509
+ 'SystemVerilogLexer': ('pygments.lexers.hdl', 'systemverilog', ('systemverilog', 'sv'), ('*.sv', '*.svh'), ('text/x-systemverilog',)),
510
+ 'SystemdLexer': ('pygments.lexers.configs', 'Systemd', ('systemd',), ('*.service', '*.socket', '*.device', '*.mount', '*.automount', '*.swap', '*.target', '*.path', '*.timer', '*.slice', '*.scope'), ()),
511
+ 'TAPLexer': ('pygments.lexers.testing', 'TAP', ('tap',), ('*.tap',), ()),
512
+ 'TNTLexer': ('pygments.lexers.tnt', 'Typographic Number Theory', ('tnt',), ('*.tnt',), ()),
513
+ 'TOMLLexer': ('pygments.lexers.configs', 'TOML', ('toml',), ('*.toml', 'Pipfile', 'poetry.lock'), ('application/toml',)),
514
+ 'TableGenLexer': ('pygments.lexers.tablegen', 'TableGen', ('tablegen', 'td'), ('*.td',), ()),
515
+ 'TactLexer': ('pygments.lexers.tact', 'Tact', ('tact',), ('*.tact',), ()),
516
+ 'Tads3Lexer': ('pygments.lexers.int_fiction', 'TADS 3', ('tads3',), ('*.t',), ()),
517
+ 'TalLexer': ('pygments.lexers.tal', 'Tal', ('tal', 'uxntal'), ('*.tal',), ('text/x-uxntal',)),
518
+ 'TasmLexer': ('pygments.lexers.asm', 'TASM', ('tasm',), ('*.asm', '*.ASM', '*.tasm'), ('text/x-tasm',)),
519
+ 'TclLexer': ('pygments.lexers.tcl', 'Tcl', ('tcl',), ('*.tcl', '*.rvt'), ('text/x-tcl', 'text/x-script.tcl', 'application/x-tcl')),
520
+ 'TcshLexer': ('pygments.lexers.shell', 'Tcsh', ('tcsh', 'csh'), ('*.tcsh', '*.csh'), ('application/x-csh',)),
521
+ 'TcshSessionLexer': ('pygments.lexers.shell', 'Tcsh Session', ('tcshcon',), (), ()),
522
+ 'TeaTemplateLexer': ('pygments.lexers.templates', 'Tea', ('tea',), ('*.tea',), ('text/x-tea',)),
523
+ 'TealLexer': ('pygments.lexers.teal', 'teal', ('teal',), ('*.teal',), ()),
524
+ 'TeraTermLexer': ('pygments.lexers.teraterm', 'Tera Term macro', ('teratermmacro', 'teraterm', 'ttl'), ('*.ttl',), ('text/x-teratermmacro',)),
525
+ 'TermcapLexer': ('pygments.lexers.configs', 'Termcap', ('termcap',), ('termcap', 'termcap.src'), ()),
526
+ 'TerminfoLexer': ('pygments.lexers.configs', 'Terminfo', ('terminfo',), ('terminfo', 'terminfo.src'), ()),
527
+ 'TerraformLexer': ('pygments.lexers.configs', 'Terraform', ('terraform', 'tf', 'hcl'), ('*.tf', '*.hcl'), ('application/x-tf', 'application/x-terraform')),
528
+ 'TexLexer': ('pygments.lexers.markup', 'TeX', ('tex', 'latex'), ('*.tex', '*.aux', '*.toc'), ('text/x-tex', 'text/x-latex')),
529
+ 'TextLexer': ('pygments.lexers.special', 'Text only', ('text',), ('*.txt',), ('text/plain',)),
530
+ 'ThingsDBLexer': ('pygments.lexers.thingsdb', 'ThingsDB', ('ti', 'thingsdb'), ('*.ti',), ()),
531
+ 'ThriftLexer': ('pygments.lexers.dsls', 'Thrift', ('thrift',), ('*.thrift',), ('application/x-thrift',)),
532
+ 'TiddlyWiki5Lexer': ('pygments.lexers.markup', 'tiddler', ('tid',), ('*.tid',), ('text/vnd.tiddlywiki',)),
533
+ 'TlbLexer': ('pygments.lexers.tlb', 'Tl-b', ('tlb',), ('*.tlb',), ()),
534
+ 'TlsLexer': ('pygments.lexers.tls', 'TLS Presentation Language', ('tls',), (), ()),
535
+ 'TodotxtLexer': ('pygments.lexers.textfmts', 'Todotxt', ('todotxt',), ('todo.txt', '*.todotxt'), ('text/x-todo',)),
536
+ 'TransactSqlLexer': ('pygments.lexers.sql', 'Transact-SQL', ('tsql', 't-sql'), ('*.sql',), ('text/x-tsql',)),
537
+ 'TreetopLexer': ('pygments.lexers.parsers', 'Treetop', ('treetop',), ('*.treetop', '*.tt'), ()),
538
+ 'TsxLexer': ('pygments.lexers.jsx', 'TSX', ('tsx',), ('*.tsx',), ('text/typescript-tsx',)),
539
+ 'TurtleLexer': ('pygments.lexers.rdf', 'Turtle', ('turtle',), ('*.ttl',), ('text/turtle', 'application/x-turtle')),
540
+ 'TwigHtmlLexer': ('pygments.lexers.templates', 'HTML+Twig', ('html+twig',), ('*.twig',), ('text/html+twig',)),
541
+ 'TwigLexer': ('pygments.lexers.templates', 'Twig', ('twig',), (), ('application/x-twig',)),
542
+ 'TypeScriptLexer': ('pygments.lexers.javascript', 'TypeScript', ('typescript', 'ts'), ('*.ts',), ('application/x-typescript', 'text/x-typescript')),
543
+ 'TypoScriptCssDataLexer': ('pygments.lexers.typoscript', 'TypoScriptCssData', ('typoscriptcssdata',), (), ()),
544
+ 'TypoScriptHtmlDataLexer': ('pygments.lexers.typoscript', 'TypoScriptHtmlData', ('typoscripthtmldata',), (), ()),
545
+ 'TypoScriptLexer': ('pygments.lexers.typoscript', 'TypoScript', ('typoscript',), ('*.typoscript',), ('text/x-typoscript',)),
546
+ 'TypstLexer': ('pygments.lexers.typst', 'Typst', ('typst',), ('*.typ',), ('text/x-typst',)),
547
+ 'UL4Lexer': ('pygments.lexers.ul4', 'UL4', ('ul4',), ('*.ul4',), ()),
548
+ 'UcodeLexer': ('pygments.lexers.unicon', 'ucode', ('ucode',), ('*.u', '*.u1', '*.u2'), ()),
549
+ 'UniconLexer': ('pygments.lexers.unicon', 'Unicon', ('unicon',), ('*.icn',), ('text/unicon',)),
550
+ 'UnixConfigLexer': ('pygments.lexers.configs', 'Unix/Linux config files', ('unixconfig', 'linuxconfig'), (), ()),
551
+ 'UrbiscriptLexer': ('pygments.lexers.urbi', 'UrbiScript', ('urbiscript',), ('*.u',), ('application/x-urbiscript',)),
552
+ 'UrlEncodedLexer': ('pygments.lexers.html', 'urlencoded', ('urlencoded',), (), ('application/x-www-form-urlencoded',)),
553
+ 'UsdLexer': ('pygments.lexers.usd', 'USD', ('usd', 'usda'), ('*.usd', '*.usda'), ()),
554
+ 'VBScriptLexer': ('pygments.lexers.basic', 'VBScript', ('vbscript',), ('*.vbs', '*.VBS'), ()),
555
+ 'VCLLexer': ('pygments.lexers.varnish', 'VCL', ('vcl',), ('*.vcl',), ('text/x-vclsrc',)),
556
+ 'VCLSnippetLexer': ('pygments.lexers.varnish', 'VCLSnippets', ('vclsnippets', 'vclsnippet'), (), ('text/x-vclsnippet',)),
557
+ 'VCTreeStatusLexer': ('pygments.lexers.console', 'VCTreeStatus', ('vctreestatus',), (), ()),
558
+ 'VGLLexer': ('pygments.lexers.dsls', 'VGL', ('vgl',), ('*.rpf',), ()),
559
+ 'ValaLexer': ('pygments.lexers.c_like', 'Vala', ('vala', 'vapi'), ('*.vala', '*.vapi'), ('text/x-vala',)),
560
+ 'VbNetAspxLexer': ('pygments.lexers.dotnet', 'aspx-vb', ('aspx-vb',), ('*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'), ()),
561
+ 'VbNetLexer': ('pygments.lexers.dotnet', 'VB.net', ('vb.net', 'vbnet', 'lobas', 'oobas', 'sobas', 'visual-basic', 'visualbasic'), ('*.vb', '*.bas'), ('text/x-vbnet', 'text/x-vba')),
562
+ 'VelocityHtmlLexer': ('pygments.lexers.templates', 'HTML+Velocity', ('html+velocity',), (), ('text/html+velocity',)),
563
+ 'VelocityLexer': ('pygments.lexers.templates', 'Velocity', ('velocity',), ('*.vm', '*.fhtml'), ()),
564
+ 'VelocityXmlLexer': ('pygments.lexers.templates', 'XML+Velocity', ('xml+velocity',), (), ('application/xml+velocity',)),
565
+ 'VerifpalLexer': ('pygments.lexers.verifpal', 'Verifpal', ('verifpal',), ('*.vp',), ('text/x-verifpal',)),
566
+ 'VerilogLexer': ('pygments.lexers.hdl', 'verilog', ('verilog', 'v'), ('*.v',), ('text/x-verilog',)),
567
+ 'VhdlLexer': ('pygments.lexers.hdl', 'vhdl', ('vhdl',), ('*.vhdl', '*.vhd'), ('text/x-vhdl',)),
568
+ 'VimLexer': ('pygments.lexers.textedit', 'VimL', ('vim',), ('*.vim', '.vimrc', '.exrc', '.gvimrc', '_vimrc', '_exrc', '_gvimrc', 'vimrc', 'gvimrc'), ('text/x-vim',)),
569
+ 'VisualPrologGrammarLexer': ('pygments.lexers.vip', 'Visual Prolog Grammar', ('visualprologgrammar',), ('*.vipgrm',), ()),
570
+ 'VisualPrologLexer': ('pygments.lexers.vip', 'Visual Prolog', ('visualprolog',), ('*.pro', '*.cl', '*.i', '*.pack', '*.ph'), ()),
571
+ 'VueLexer': ('pygments.lexers.html', 'Vue', ('vue',), ('*.vue',), ()),
572
+ 'VyperLexer': ('pygments.lexers.vyper', 'Vyper', ('vyper',), ('*.vy',), ()),
573
+ 'WDiffLexer': ('pygments.lexers.diff', 'WDiff', ('wdiff',), ('*.wdiff',), ()),
574
+ 'WatLexer': ('pygments.lexers.webassembly', 'WebAssembly', ('wast', 'wat'), ('*.wat', '*.wast'), ()),
575
+ 'WebIDLLexer': ('pygments.lexers.webidl', 'Web IDL', ('webidl',), ('*.webidl',), ()),
576
+ 'WgslLexer': ('pygments.lexers.wgsl', 'WebGPU Shading Language', ('wgsl',), ('*.wgsl',), ('text/wgsl',)),
577
+ 'WhileyLexer': ('pygments.lexers.whiley', 'Whiley', ('whiley',), ('*.whiley',), ('text/x-whiley',)),
578
+ 'WikitextLexer': ('pygments.lexers.markup', 'Wikitext', ('wikitext', 'mediawiki'), (), ('text/x-wiki',)),
579
+ 'WoWTocLexer': ('pygments.lexers.wowtoc', 'World of Warcraft TOC', ('wowtoc',), ('*.toc',), ()),
580
+ 'WrenLexer': ('pygments.lexers.wren', 'Wren', ('wren',), ('*.wren',), ()),
581
+ 'X10Lexer': ('pygments.lexers.x10', 'X10', ('x10', 'xten'), ('*.x10',), ('text/x-x10',)),
582
+ 'XMLUL4Lexer': ('pygments.lexers.ul4', 'XML+UL4', ('xml+ul4',), ('*.xmlul4',), ()),
583
+ 'XQueryLexer': ('pygments.lexers.webmisc', 'XQuery', ('xquery', 'xqy', 'xq', 'xql', 'xqm'), ('*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'), ('text/xquery', 'application/xquery')),
584
+ 'XmlDjangoLexer': ('pygments.lexers.templates', 'XML+Django/Jinja', ('xml+django', 'xml+jinja'), ('*.xml.j2', '*.xml.jinja2'), ('application/xml+django', 'application/xml+jinja')),
585
+ 'XmlErbLexer': ('pygments.lexers.templates', 'XML+Ruby', ('xml+ruby', 'xml+erb'), (), ('application/xml+ruby',)),
586
+ 'XmlLexer': ('pygments.lexers.html', 'XML', ('xml',), ('*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl', '*.wsf'), ('text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml')),
587
+ 'XmlPhpLexer': ('pygments.lexers.templates', 'XML+PHP', ('xml+php',), (), ('application/xml+php',)),
588
+ 'XmlSmartyLexer': ('pygments.lexers.templates', 'XML+Smarty', ('xml+smarty',), (), ('application/xml+smarty',)),
589
+ 'XorgLexer': ('pygments.lexers.xorg', 'Xorg', ('xorg.conf',), ('xorg.conf',), ()),
590
+ 'XppLexer': ('pygments.lexers.dotnet', 'X++', ('xpp', 'x++'), ('*.xpp',), ()),
591
+ 'XsltLexer': ('pygments.lexers.html', 'XSLT', ('xslt',), ('*.xsl', '*.xslt', '*.xpl'), ('application/xsl+xml', 'application/xslt+xml')),
592
+ 'XtendLexer': ('pygments.lexers.jvm', 'Xtend', ('xtend',), ('*.xtend',), ('text/x-xtend',)),
593
+ 'XtlangLexer': ('pygments.lexers.lisp', 'xtlang', ('extempore',), ('*.xtm',), ()),
594
+ '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')),
595
+ 'YamlLexer': ('pygments.lexers.data', 'YAML', ('yaml',), ('*.yaml', '*.yml'), ('text/x-yaml',)),
596
+ 'YangLexer': ('pygments.lexers.yang', 'YANG', ('yang',), ('*.yang',), ('application/yang',)),
597
+ 'YaraLexer': ('pygments.lexers.yara', 'YARA', ('yara', 'yar'), ('*.yar',), ('text/x-yara',)),
598
+ 'ZeekLexer': ('pygments.lexers.dsls', 'Zeek', ('zeek', 'bro'), ('*.zeek', '*.bro'), ()),
599
+ 'ZephirLexer': ('pygments.lexers.php', 'Zephir', ('zephir',), ('*.zep',), ()),
600
+ 'ZigLexer': ('pygments.lexers.zig', 'Zig', ('zig',), ('*.zig',), ('text/zig',)),
601
+ 'apdlexer': ('pygments.lexers.apdlexer', 'ANSYS parametric design language', ('ansys', 'apdl'), ('*.ans',), ()),
602
+ }
py311/lib/python3.11/site-packages/pygments/lexers/_mql_builtins.py ADDED
@@ -0,0 +1,1171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._mql_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Builtins for the MqlLexer.
6
+
7
+ :copyright: Copyright 2006-2025 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',
1170
+ 'string',
1171
+ )
py311/lib/python3.11/site-packages/pygments/lexers/_mysql_builtins.py ADDED
@@ -0,0 +1,1335 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-2025 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
+ MYSQL_DATATYPES = (
36
+ # Numeric data types
37
+ 'bigint',
38
+ 'bit',
39
+ 'bool',
40
+ 'boolean',
41
+ 'dec',
42
+ 'decimal',
43
+ 'double',
44
+ 'fixed',
45
+ 'float',
46
+ 'float4',
47
+ 'float8',
48
+ 'int',
49
+ 'int1',
50
+ 'int2',
51
+ 'int3',
52
+ 'int4',
53
+ 'int8',
54
+ 'integer',
55
+ 'mediumint',
56
+ 'middleint',
57
+ 'numeric',
58
+ 'precision',
59
+ 'real',
60
+ 'serial',
61
+ 'smallint',
62
+ 'tinyint',
63
+
64
+ # Date and time data types
65
+ 'date',
66
+ 'datetime',
67
+ 'time',
68
+ 'timestamp',
69
+ 'year',
70
+
71
+ # String data types
72
+ 'binary',
73
+ 'blob',
74
+ 'char',
75
+ 'enum',
76
+ 'long',
77
+ 'longblob',
78
+ 'longtext',
79
+ 'mediumblob',
80
+ 'mediumtext',
81
+ 'national',
82
+ 'nchar',
83
+ 'nvarchar',
84
+ 'set',
85
+ 'text',
86
+ 'tinyblob',
87
+ 'tinytext',
88
+ 'varbinary',
89
+ 'varchar',
90
+ 'varcharacter',
91
+ 'varying',
92
+
93
+ # Spatial data types
94
+ 'geometry',
95
+ 'geometrycollection',
96
+ 'linestring',
97
+ 'multilinestring',
98
+ 'multipoint',
99
+ 'multipolygon',
100
+ 'point',
101
+ 'polygon',
102
+
103
+ # JSON data types
104
+ 'json',
105
+ )
106
+
107
+ # Everything below this line is auto-generated from the MySQL source code.
108
+ # Run this file in Python and it will update itself.
109
+ # -----------------------------------------------------------------------------
110
+
111
+ MYSQL_FUNCTIONS = (
112
+ 'abs',
113
+ 'acos',
114
+ 'adddate',
115
+ 'addtime',
116
+ 'aes_decrypt',
117
+ 'aes_encrypt',
118
+ 'any_value',
119
+ 'asin',
120
+ 'atan',
121
+ 'atan2',
122
+ 'benchmark',
123
+ 'bin',
124
+ 'bin_to_uuid',
125
+ 'bit_and',
126
+ 'bit_count',
127
+ 'bit_length',
128
+ 'bit_or',
129
+ 'bit_xor',
130
+ 'can_access_column',
131
+ 'can_access_database',
132
+ 'can_access_event',
133
+ 'can_access_resource_group',
134
+ 'can_access_routine',
135
+ 'can_access_table',
136
+ 'can_access_trigger',
137
+ 'can_access_user',
138
+ 'can_access_view',
139
+ 'cast',
140
+ 'ceil',
141
+ 'ceiling',
142
+ 'char_length',
143
+ 'character_length',
144
+ 'coercibility',
145
+ 'compress',
146
+ 'concat',
147
+ 'concat_ws',
148
+ 'connection_id',
149
+ 'conv',
150
+ 'convert_cpu_id_mask',
151
+ 'convert_interval_to_user_interval',
152
+ 'convert_tz',
153
+ 'cos',
154
+ 'cot',
155
+ 'count',
156
+ 'crc32',
157
+ 'curdate',
158
+ 'current_role',
159
+ 'curtime',
160
+ 'date_add',
161
+ 'date_format',
162
+ 'date_sub',
163
+ 'datediff',
164
+ 'dayname',
165
+ 'dayofmonth',
166
+ 'dayofweek',
167
+ 'dayofyear',
168
+ 'degrees',
169
+ 'elt',
170
+ 'exp',
171
+ 'export_set',
172
+ 'extract',
173
+ 'extractvalue',
174
+ 'field',
175
+ 'find_in_set',
176
+ 'floor',
177
+ 'format_bytes',
178
+ 'format_pico_time',
179
+ 'found_rows',
180
+ 'from_base64',
181
+ 'from_days',
182
+ 'from_unixtime',
183
+ 'get_dd_column_privileges',
184
+ 'get_dd_create_options',
185
+ 'get_dd_index_private_data',
186
+ 'get_dd_index_sub_part_length',
187
+ 'get_dd_property_key_value',
188
+ 'get_dd_schema_options',
189
+ 'get_dd_tablespace_private_data',
190
+ 'get_lock',
191
+ 'greatest',
192
+ 'group_concat',
193
+ 'gtid_subset',
194
+ 'gtid_subtract',
195
+ 'hex',
196
+ 'icu_version',
197
+ 'ifnull',
198
+ 'inet6_aton',
199
+ 'inet6_ntoa',
200
+ 'inet_aton',
201
+ 'inet_ntoa',
202
+ 'instr',
203
+ 'internal_auto_increment',
204
+ 'internal_avg_row_length',
205
+ 'internal_check_time',
206
+ 'internal_checksum',
207
+ 'internal_data_free',
208
+ 'internal_data_length',
209
+ 'internal_dd_char_length',
210
+ 'internal_get_comment_or_error',
211
+ 'internal_get_dd_column_extra',
212
+ 'internal_get_enabled_role_json',
213
+ 'internal_get_hostname',
214
+ 'internal_get_mandatory_roles_json',
215
+ 'internal_get_partition_nodegroup',
216
+ 'internal_get_username',
217
+ 'internal_get_view_warning_or_error',
218
+ 'internal_index_column_cardinality',
219
+ 'internal_index_length',
220
+ 'internal_is_enabled_role',
221
+ 'internal_is_mandatory_role',
222
+ 'internal_keys_disabled',
223
+ 'internal_max_data_length',
224
+ 'internal_table_rows',
225
+ 'internal_tablespace_autoextend_size',
226
+ 'internal_tablespace_data_free',
227
+ 'internal_tablespace_extent_size',
228
+ 'internal_tablespace_extra',
229
+ 'internal_tablespace_free_extents',
230
+ 'internal_tablespace_id',
231
+ 'internal_tablespace_initial_size',
232
+ 'internal_tablespace_logfile_group_name',
233
+ 'internal_tablespace_logfile_group_number',
234
+ 'internal_tablespace_maximum_size',
235
+ 'internal_tablespace_row_format',
236
+ 'internal_tablespace_status',
237
+ 'internal_tablespace_total_extents',
238
+ 'internal_tablespace_type',
239
+ 'internal_tablespace_version',
240
+ 'internal_update_time',
241
+ 'is_free_lock',
242
+ 'is_ipv4',
243
+ 'is_ipv4_compat',
244
+ 'is_ipv4_mapped',
245
+ 'is_ipv6',
246
+ 'is_used_lock',
247
+ 'is_uuid',
248
+ 'is_visible_dd_object',
249
+ 'isnull',
250
+ 'json_array',
251
+ 'json_array_append',
252
+ 'json_array_insert',
253
+ 'json_arrayagg',
254
+ 'json_contains',
255
+ 'json_contains_path',
256
+ 'json_depth',
257
+ 'json_extract',
258
+ 'json_insert',
259
+ 'json_keys',
260
+ 'json_length',
261
+ 'json_merge',
262
+ 'json_merge_patch',
263
+ 'json_merge_preserve',
264
+ 'json_object',
265
+ 'json_objectagg',
266
+ 'json_overlaps',
267
+ 'json_pretty',
268
+ 'json_quote',
269
+ 'json_remove',
270
+ 'json_replace',
271
+ 'json_schema_valid',
272
+ 'json_schema_validation_report',
273
+ 'json_search',
274
+ 'json_set',
275
+ 'json_storage_free',
276
+ 'json_storage_size',
277
+ 'json_type',
278
+ 'json_unquote',
279
+ 'json_valid',
280
+ 'last_day',
281
+ 'last_insert_id',
282
+ 'lcase',
283
+ 'least',
284
+ 'length',
285
+ 'like_range_max',
286
+ 'like_range_min',
287
+ 'ln',
288
+ 'load_file',
289
+ 'locate',
290
+ 'log',
291
+ 'log10',
292
+ 'log2',
293
+ 'lower',
294
+ 'lpad',
295
+ 'ltrim',
296
+ 'make_set',
297
+ 'makedate',
298
+ 'maketime',
299
+ 'master_pos_wait',
300
+ 'max',
301
+ 'mbrcontains',
302
+ 'mbrcoveredby',
303
+ 'mbrcovers',
304
+ 'mbrdisjoint',
305
+ 'mbrequals',
306
+ 'mbrintersects',
307
+ 'mbroverlaps',
308
+ 'mbrtouches',
309
+ 'mbrwithin',
310
+ 'md5',
311
+ 'mid',
312
+ 'min',
313
+ 'monthname',
314
+ 'name_const',
315
+ 'now',
316
+ 'nullif',
317
+ 'oct',
318
+ 'octet_length',
319
+ 'ord',
320
+ 'period_add',
321
+ 'period_diff',
322
+ 'pi',
323
+ 'position',
324
+ 'pow',
325
+ 'power',
326
+ 'ps_current_thread_id',
327
+ 'ps_thread_id',
328
+ 'quote',
329
+ 'radians',
330
+ 'rand',
331
+ 'random_bytes',
332
+ 'regexp_instr',
333
+ 'regexp_like',
334
+ 'regexp_replace',
335
+ 'regexp_substr',
336
+ 'release_all_locks',
337
+ 'release_lock',
338
+ 'remove_dd_property_key',
339
+ 'reverse',
340
+ 'roles_graphml',
341
+ 'round',
342
+ 'rpad',
343
+ 'rtrim',
344
+ 'sec_to_time',
345
+ 'session_user',
346
+ 'sha',
347
+ 'sha1',
348
+ 'sha2',
349
+ 'sign',
350
+ 'sin',
351
+ 'sleep',
352
+ 'soundex',
353
+ 'source_pos_wait',
354
+ 'space',
355
+ 'sqrt',
356
+ 'st_area',
357
+ 'st_asbinary',
358
+ 'st_asgeojson',
359
+ 'st_astext',
360
+ 'st_aswkb',
361
+ 'st_aswkt',
362
+ 'st_buffer',
363
+ 'st_buffer_strategy',
364
+ 'st_centroid',
365
+ 'st_collect',
366
+ 'st_contains',
367
+ 'st_convexhull',
368
+ 'st_crosses',
369
+ 'st_difference',
370
+ 'st_dimension',
371
+ 'st_disjoint',
372
+ 'st_distance',
373
+ 'st_distance_sphere',
374
+ 'st_endpoint',
375
+ 'st_envelope',
376
+ 'st_equals',
377
+ 'st_exteriorring',
378
+ 'st_frechetdistance',
379
+ 'st_geohash',
380
+ 'st_geomcollfromtext',
381
+ 'st_geomcollfromtxt',
382
+ 'st_geomcollfromwkb',
383
+ 'st_geometrycollectionfromtext',
384
+ 'st_geometrycollectionfromwkb',
385
+ 'st_geometryfromtext',
386
+ 'st_geometryfromwkb',
387
+ 'st_geometryn',
388
+ 'st_geometrytype',
389
+ 'st_geomfromgeojson',
390
+ 'st_geomfromtext',
391
+ 'st_geomfromwkb',
392
+ 'st_hausdorffdistance',
393
+ 'st_interiorringn',
394
+ 'st_intersection',
395
+ 'st_intersects',
396
+ 'st_isclosed',
397
+ 'st_isempty',
398
+ 'st_issimple',
399
+ 'st_isvalid',
400
+ 'st_latfromgeohash',
401
+ 'st_latitude',
402
+ 'st_length',
403
+ 'st_linefromtext',
404
+ 'st_linefromwkb',
405
+ 'st_lineinterpolatepoint',
406
+ 'st_lineinterpolatepoints',
407
+ 'st_linestringfromtext',
408
+ 'st_linestringfromwkb',
409
+ 'st_longfromgeohash',
410
+ 'st_longitude',
411
+ 'st_makeenvelope',
412
+ 'st_mlinefromtext',
413
+ 'st_mlinefromwkb',
414
+ 'st_mpointfromtext',
415
+ 'st_mpointfromwkb',
416
+ 'st_mpolyfromtext',
417
+ 'st_mpolyfromwkb',
418
+ 'st_multilinestringfromtext',
419
+ 'st_multilinestringfromwkb',
420
+ 'st_multipointfromtext',
421
+ 'st_multipointfromwkb',
422
+ 'st_multipolygonfromtext',
423
+ 'st_multipolygonfromwkb',
424
+ 'st_numgeometries',
425
+ 'st_numinteriorring',
426
+ 'st_numinteriorrings',
427
+ 'st_numpoints',
428
+ 'st_overlaps',
429
+ 'st_pointatdistance',
430
+ 'st_pointfromgeohash',
431
+ 'st_pointfromtext',
432
+ 'st_pointfromwkb',
433
+ 'st_pointn',
434
+ 'st_polyfromtext',
435
+ 'st_polyfromwkb',
436
+ 'st_polygonfromtext',
437
+ 'st_polygonfromwkb',
438
+ 'st_simplify',
439
+ 'st_srid',
440
+ 'st_startpoint',
441
+ 'st_swapxy',
442
+ 'st_symdifference',
443
+ 'st_touches',
444
+ 'st_transform',
445
+ 'st_union',
446
+ 'st_validate',
447
+ 'st_within',
448
+ 'st_x',
449
+ 'st_y',
450
+ 'statement_digest',
451
+ 'statement_digest_text',
452
+ 'std',
453
+ 'stddev',
454
+ 'stddev_pop',
455
+ 'stddev_samp',
456
+ 'str_to_date',
457
+ 'strcmp',
458
+ 'subdate',
459
+ 'substr',
460
+ 'substring',
461
+ 'substring_index',
462
+ 'subtime',
463
+ 'sum',
464
+ 'sysdate',
465
+ 'system_user',
466
+ 'tan',
467
+ 'time_format',
468
+ 'time_to_sec',
469
+ 'timediff',
470
+ 'to_base64',
471
+ 'to_days',
472
+ 'to_seconds',
473
+ 'trim',
474
+ 'ucase',
475
+ 'uncompress',
476
+ 'uncompressed_length',
477
+ 'unhex',
478
+ 'unix_timestamp',
479
+ 'updatexml',
480
+ 'upper',
481
+ 'uuid',
482
+ 'uuid_short',
483
+ 'uuid_to_bin',
484
+ 'validate_password_strength',
485
+ 'var_pop',
486
+ 'var_samp',
487
+ 'variance',
488
+ 'version',
489
+ 'wait_for_executed_gtid_set',
490
+ 'wait_until_sql_thread_after_gtids',
491
+ 'weekday',
492
+ 'weekofyear',
493
+ 'yearweek',
494
+ )
495
+
496
+
497
+ MYSQL_OPTIMIZER_HINTS = (
498
+ 'bka',
499
+ 'bnl',
500
+ 'derived_condition_pushdown',
501
+ 'dupsweedout',
502
+ 'firstmatch',
503
+ 'group_index',
504
+ 'hash_join',
505
+ 'index',
506
+ 'index_merge',
507
+ 'intoexists',
508
+ 'join_fixed_order',
509
+ 'join_index',
510
+ 'join_order',
511
+ 'join_prefix',
512
+ 'join_suffix',
513
+ 'loosescan',
514
+ 'materialization',
515
+ 'max_execution_time',
516
+ 'merge',
517
+ 'mrr',
518
+ 'no_bka',
519
+ 'no_bnl',
520
+ 'no_derived_condition_pushdown',
521
+ 'no_group_index',
522
+ 'no_hash_join',
523
+ 'no_icp',
524
+ 'no_index',
525
+ 'no_index_merge',
526
+ 'no_join_index',
527
+ 'no_merge',
528
+ 'no_mrr',
529
+ 'no_order_index',
530
+ 'no_range_optimization',
531
+ 'no_semijoin',
532
+ 'no_skip_scan',
533
+ 'order_index',
534
+ 'qb_name',
535
+ 'resource_group',
536
+ 'semijoin',
537
+ 'set_var',
538
+ 'skip_scan',
539
+ 'subquery',
540
+ )
541
+
542
+
543
+ MYSQL_KEYWORDS = (
544
+ 'accessible',
545
+ 'account',
546
+ 'action',
547
+ 'active',
548
+ 'add',
549
+ 'admin',
550
+ 'after',
551
+ 'against',
552
+ 'aggregate',
553
+ 'algorithm',
554
+ 'all',
555
+ 'alter',
556
+ 'always',
557
+ 'analyze',
558
+ 'and',
559
+ 'any',
560
+ 'array',
561
+ 'as',
562
+ 'asc',
563
+ 'ascii',
564
+ 'asensitive',
565
+ 'assign_gtids_to_anonymous_transactions',
566
+ 'at',
567
+ 'attribute',
568
+ 'authentication',
569
+ 'auto_increment',
570
+ 'autoextend_size',
571
+ 'avg',
572
+ 'avg_row_length',
573
+ 'backup',
574
+ 'before',
575
+ 'begin',
576
+ 'between',
577
+ 'binlog',
578
+ 'block',
579
+ 'both',
580
+ 'btree',
581
+ 'buckets',
582
+ 'by',
583
+ 'byte',
584
+ 'cache',
585
+ 'call',
586
+ 'cascade',
587
+ 'cascaded',
588
+ 'case',
589
+ 'catalog_name',
590
+ 'chain',
591
+ 'challenge_response',
592
+ 'change',
593
+ 'changed',
594
+ 'channel',
595
+ 'character',
596
+ 'charset',
597
+ 'check',
598
+ 'checksum',
599
+ 'cipher',
600
+ 'class_origin',
601
+ 'client',
602
+ 'clone',
603
+ 'close',
604
+ 'coalesce',
605
+ 'code',
606
+ 'collate',
607
+ 'collation',
608
+ 'column',
609
+ 'column_format',
610
+ 'column_name',
611
+ 'columns',
612
+ 'comment',
613
+ 'commit',
614
+ 'committed',
615
+ 'compact',
616
+ 'completion',
617
+ 'component',
618
+ 'compressed',
619
+ 'compression',
620
+ 'concurrent',
621
+ 'condition',
622
+ 'connection',
623
+ 'consistent',
624
+ 'constraint',
625
+ 'constraint_catalog',
626
+ 'constraint_name',
627
+ 'constraint_schema',
628
+ 'contains',
629
+ 'context',
630
+ 'continue',
631
+ 'convert',
632
+ 'cpu',
633
+ 'create',
634
+ 'cross',
635
+ 'cube',
636
+ 'cume_dist',
637
+ 'current',
638
+ 'current_date',
639
+ 'current_time',
640
+ 'current_timestamp',
641
+ 'current_user',
642
+ 'cursor',
643
+ 'cursor_name',
644
+ 'data',
645
+ 'database',
646
+ 'databases',
647
+ 'datafile',
648
+ 'day',
649
+ 'day_hour',
650
+ 'day_microsecond',
651
+ 'day_minute',
652
+ 'day_second',
653
+ 'deallocate',
654
+ 'declare',
655
+ 'default',
656
+ 'default_auth',
657
+ 'definer',
658
+ 'definition',
659
+ 'delay_key_write',
660
+ 'delayed',
661
+ 'delete',
662
+ 'dense_rank',
663
+ 'desc',
664
+ 'describe',
665
+ 'description',
666
+ 'deterministic',
667
+ 'diagnostics',
668
+ 'directory',
669
+ 'disable',
670
+ 'discard',
671
+ 'disk',
672
+ 'distinct',
673
+ 'distinctrow',
674
+ 'div',
675
+ 'do',
676
+ 'drop',
677
+ 'dual',
678
+ 'dumpfile',
679
+ 'duplicate',
680
+ 'dynamic',
681
+ 'each',
682
+ 'else',
683
+ 'elseif',
684
+ 'empty',
685
+ 'enable',
686
+ 'enclosed',
687
+ 'encryption',
688
+ 'end',
689
+ 'ends',
690
+ 'enforced',
691
+ 'engine',
692
+ 'engine_attribute',
693
+ 'engines',
694
+ 'error',
695
+ 'errors',
696
+ 'escape',
697
+ 'escaped',
698
+ 'event',
699
+ 'events',
700
+ 'every',
701
+ 'except',
702
+ 'exchange',
703
+ 'exclude',
704
+ 'execute',
705
+ 'exists',
706
+ 'exit',
707
+ 'expansion',
708
+ 'expire',
709
+ 'explain',
710
+ 'export',
711
+ 'extended',
712
+ 'extent_size',
713
+ 'factor',
714
+ 'failed_login_attempts',
715
+ 'false',
716
+ 'fast',
717
+ 'faults',
718
+ 'fetch',
719
+ 'fields',
720
+ 'file',
721
+ 'file_block_size',
722
+ 'filter',
723
+ 'finish',
724
+ 'first',
725
+ 'first_value',
726
+ 'flush',
727
+ 'following',
728
+ 'follows',
729
+ 'for',
730
+ 'force',
731
+ 'foreign',
732
+ 'format',
733
+ 'found',
734
+ 'from',
735
+ 'full',
736
+ 'fulltext',
737
+ 'function',
738
+ 'general',
739
+ 'generated',
740
+ 'geomcollection',
741
+ 'get',
742
+ 'get_format',
743
+ 'get_master_public_key',
744
+ 'get_source_public_key',
745
+ 'global',
746
+ 'grant',
747
+ 'grants',
748
+ 'group',
749
+ 'group_replication',
750
+ 'grouping',
751
+ 'groups',
752
+ 'gtid_only',
753
+ 'handler',
754
+ 'hash',
755
+ 'having',
756
+ 'help',
757
+ 'high_priority',
758
+ 'histogram',
759
+ 'history',
760
+ 'host',
761
+ 'hosts',
762
+ 'hour',
763
+ 'hour_microsecond',
764
+ 'hour_minute',
765
+ 'hour_second',
766
+ 'identified',
767
+ 'if',
768
+ 'ignore',
769
+ 'ignore_server_ids',
770
+ 'import',
771
+ 'in',
772
+ 'inactive',
773
+ 'index',
774
+ 'indexes',
775
+ 'infile',
776
+ 'initial',
777
+ 'initial_size',
778
+ 'initiate',
779
+ 'inner',
780
+ 'inout',
781
+ 'insensitive',
782
+ 'insert',
783
+ 'insert_method',
784
+ 'install',
785
+ 'instance',
786
+ 'interval',
787
+ 'into',
788
+ 'invisible',
789
+ 'invoker',
790
+ 'io',
791
+ 'io_after_gtids',
792
+ 'io_before_gtids',
793
+ 'io_thread',
794
+ 'ipc',
795
+ 'is',
796
+ 'isolation',
797
+ 'issuer',
798
+ 'iterate',
799
+ 'join',
800
+ 'json_table',
801
+ 'json_value',
802
+ 'key',
803
+ 'key_block_size',
804
+ 'keyring',
805
+ 'keys',
806
+ 'kill',
807
+ 'lag',
808
+ 'language',
809
+ 'last',
810
+ 'last_value',
811
+ 'lateral',
812
+ 'lead',
813
+ 'leading',
814
+ 'leave',
815
+ 'leaves',
816
+ 'left',
817
+ 'less',
818
+ 'level',
819
+ 'like',
820
+ 'limit',
821
+ 'linear',
822
+ 'lines',
823
+ 'list',
824
+ 'load',
825
+ 'local',
826
+ 'localtime',
827
+ 'localtimestamp',
828
+ 'lock',
829
+ 'locked',
830
+ 'locks',
831
+ 'logfile',
832
+ 'logs',
833
+ 'loop',
834
+ 'low_priority',
835
+ 'master',
836
+ 'master_auto_position',
837
+ 'master_bind',
838
+ 'master_compression_algorithms',
839
+ 'master_connect_retry',
840
+ 'master_delay',
841
+ 'master_heartbeat_period',
842
+ 'master_host',
843
+ 'master_log_file',
844
+ 'master_log_pos',
845
+ 'master_password',
846
+ 'master_port',
847
+ 'master_public_key_path',
848
+ 'master_retry_count',
849
+ 'master_ssl',
850
+ 'master_ssl_ca',
851
+ 'master_ssl_capath',
852
+ 'master_ssl_cert',
853
+ 'master_ssl_cipher',
854
+ 'master_ssl_crl',
855
+ 'master_ssl_crlpath',
856
+ 'master_ssl_key',
857
+ 'master_ssl_verify_server_cert',
858
+ 'master_tls_ciphersuites',
859
+ 'master_tls_version',
860
+ 'master_user',
861
+ 'master_zstd_compression_level',
862
+ 'match',
863
+ 'max_connections_per_hour',
864
+ 'max_queries_per_hour',
865
+ 'max_rows',
866
+ 'max_size',
867
+ 'max_updates_per_hour',
868
+ 'max_user_connections',
869
+ 'maxvalue',
870
+ 'medium',
871
+ 'member',
872
+ 'memory',
873
+ 'merge',
874
+ 'message_text',
875
+ 'microsecond',
876
+ 'migrate',
877
+ 'min_rows',
878
+ 'minute',
879
+ 'minute_microsecond',
880
+ 'minute_second',
881
+ 'mod',
882
+ 'mode',
883
+ 'modifies',
884
+ 'modify',
885
+ 'month',
886
+ 'mutex',
887
+ 'mysql_errno',
888
+ 'name',
889
+ 'names',
890
+ 'natural',
891
+ 'ndb',
892
+ 'ndbcluster',
893
+ 'nested',
894
+ 'network_namespace',
895
+ 'never',
896
+ 'new',
897
+ 'next',
898
+ 'no',
899
+ 'no_wait',
900
+ 'no_write_to_binlog',
901
+ 'nodegroup',
902
+ 'none',
903
+ 'not',
904
+ 'nowait',
905
+ 'nth_value',
906
+ 'ntile',
907
+ 'null',
908
+ 'nulls',
909
+ 'number',
910
+ 'of',
911
+ 'off',
912
+ 'offset',
913
+ 'oj',
914
+ 'old',
915
+ 'on',
916
+ 'one',
917
+ 'only',
918
+ 'open',
919
+ 'optimize',
920
+ 'optimizer_costs',
921
+ 'option',
922
+ 'optional',
923
+ 'optionally',
924
+ 'options',
925
+ 'or',
926
+ 'order',
927
+ 'ordinality',
928
+ 'organization',
929
+ 'others',
930
+ 'out',
931
+ 'outer',
932
+ 'outfile',
933
+ 'over',
934
+ 'owner',
935
+ 'pack_keys',
936
+ 'page',
937
+ 'parser',
938
+ 'partial',
939
+ 'partition',
940
+ 'partitioning',
941
+ 'partitions',
942
+ 'password',
943
+ 'password_lock_time',
944
+ 'path',
945
+ 'percent_rank',
946
+ 'persist',
947
+ 'persist_only',
948
+ 'phase',
949
+ 'plugin',
950
+ 'plugin_dir',
951
+ 'plugins',
952
+ 'port',
953
+ 'precedes',
954
+ 'preceding',
955
+ 'prepare',
956
+ 'preserve',
957
+ 'prev',
958
+ 'primary',
959
+ 'privilege_checks_user',
960
+ 'privileges',
961
+ 'procedure',
962
+ 'process',
963
+ 'processlist',
964
+ 'profile',
965
+ 'profiles',
966
+ 'proxy',
967
+ 'purge',
968
+ 'quarter',
969
+ 'query',
970
+ 'quick',
971
+ 'random',
972
+ 'range',
973
+ 'rank',
974
+ 'read',
975
+ 'read_only',
976
+ 'read_write',
977
+ 'reads',
978
+ 'rebuild',
979
+ 'recover',
980
+ 'recursive',
981
+ 'redo_buffer_size',
982
+ 'redundant',
983
+ 'reference',
984
+ 'references',
985
+ 'regexp',
986
+ 'registration',
987
+ 'relay',
988
+ 'relay_log_file',
989
+ 'relay_log_pos',
990
+ 'relay_thread',
991
+ 'relaylog',
992
+ 'release',
993
+ 'reload',
994
+ 'remove',
995
+ 'rename',
996
+ 'reorganize',
997
+ 'repair',
998
+ 'repeat',
999
+ 'repeatable',
1000
+ 'replace',
1001
+ 'replica',
1002
+ 'replicas',
1003
+ 'replicate_do_db',
1004
+ 'replicate_do_table',
1005
+ 'replicate_ignore_db',
1006
+ 'replicate_ignore_table',
1007
+ 'replicate_rewrite_db',
1008
+ 'replicate_wild_do_table',
1009
+ 'replicate_wild_ignore_table',
1010
+ 'replication',
1011
+ 'require',
1012
+ 'require_row_format',
1013
+ 'require_table_primary_key_check',
1014
+ 'reset',
1015
+ 'resignal',
1016
+ 'resource',
1017
+ 'respect',
1018
+ 'restart',
1019
+ 'restore',
1020
+ 'restrict',
1021
+ 'resume',
1022
+ 'retain',
1023
+ 'return',
1024
+ 'returned_sqlstate',
1025
+ 'returning',
1026
+ 'returns',
1027
+ 'reuse',
1028
+ 'reverse',
1029
+ 'revoke',
1030
+ 'right',
1031
+ 'rlike',
1032
+ 'role',
1033
+ 'rollback',
1034
+ 'rollup',
1035
+ 'rotate',
1036
+ 'routine',
1037
+ 'row',
1038
+ 'row_count',
1039
+ 'row_format',
1040
+ 'row_number',
1041
+ 'rows',
1042
+ 'rtree',
1043
+ 'savepoint',
1044
+ 'schedule',
1045
+ 'schema',
1046
+ 'schema_name',
1047
+ 'schemas',
1048
+ 'second',
1049
+ 'second_microsecond',
1050
+ 'secondary',
1051
+ 'secondary_engine',
1052
+ 'secondary_engine_attribute',
1053
+ 'secondary_load',
1054
+ 'secondary_unload',
1055
+ 'security',
1056
+ 'select',
1057
+ 'sensitive',
1058
+ 'separator',
1059
+ 'serializable',
1060
+ 'server',
1061
+ 'session',
1062
+ 'share',
1063
+ 'show',
1064
+ 'shutdown',
1065
+ 'signal',
1066
+ 'signed',
1067
+ 'simple',
1068
+ 'skip',
1069
+ 'slave',
1070
+ 'slow',
1071
+ 'snapshot',
1072
+ 'socket',
1073
+ 'some',
1074
+ 'soname',
1075
+ 'sounds',
1076
+ 'source',
1077
+ 'source_auto_position',
1078
+ 'source_bind',
1079
+ 'source_compression_algorithms',
1080
+ 'source_connect_retry',
1081
+ 'source_connection_auto_failover',
1082
+ 'source_delay',
1083
+ 'source_heartbeat_period',
1084
+ 'source_host',
1085
+ 'source_log_file',
1086
+ 'source_log_pos',
1087
+ 'source_password',
1088
+ 'source_port',
1089
+ 'source_public_key_path',
1090
+ 'source_retry_count',
1091
+ 'source_ssl',
1092
+ 'source_ssl_ca',
1093
+ 'source_ssl_capath',
1094
+ 'source_ssl_cert',
1095
+ 'source_ssl_cipher',
1096
+ 'source_ssl_crl',
1097
+ 'source_ssl_crlpath',
1098
+ 'source_ssl_key',
1099
+ 'source_ssl_verify_server_cert',
1100
+ 'source_tls_ciphersuites',
1101
+ 'source_tls_version',
1102
+ 'source_user',
1103
+ 'source_zstd_compression_level',
1104
+ 'spatial',
1105
+ 'specific',
1106
+ 'sql',
1107
+ 'sql_after_gtids',
1108
+ 'sql_after_mts_gaps',
1109
+ 'sql_before_gtids',
1110
+ 'sql_big_result',
1111
+ 'sql_buffer_result',
1112
+ 'sql_calc_found_rows',
1113
+ 'sql_no_cache',
1114
+ 'sql_small_result',
1115
+ 'sql_thread',
1116
+ 'sql_tsi_day',
1117
+ 'sql_tsi_hour',
1118
+ 'sql_tsi_minute',
1119
+ 'sql_tsi_month',
1120
+ 'sql_tsi_quarter',
1121
+ 'sql_tsi_second',
1122
+ 'sql_tsi_week',
1123
+ 'sql_tsi_year',
1124
+ 'sqlexception',
1125
+ 'sqlstate',
1126
+ 'sqlwarning',
1127
+ 'srid',
1128
+ 'ssl',
1129
+ 'stacked',
1130
+ 'start',
1131
+ 'starting',
1132
+ 'starts',
1133
+ 'stats_auto_recalc',
1134
+ 'stats_persistent',
1135
+ 'stats_sample_pages',
1136
+ 'status',
1137
+ 'stop',
1138
+ 'storage',
1139
+ 'stored',
1140
+ 'straight_join',
1141
+ 'stream',
1142
+ 'string',
1143
+ 'subclass_origin',
1144
+ 'subject',
1145
+ 'subpartition',
1146
+ 'subpartitions',
1147
+ 'super',
1148
+ 'suspend',
1149
+ 'swaps',
1150
+ 'switches',
1151
+ 'system',
1152
+ 'table',
1153
+ 'table_checksum',
1154
+ 'table_name',
1155
+ 'tables',
1156
+ 'tablespace',
1157
+ 'temporary',
1158
+ 'temptable',
1159
+ 'terminated',
1160
+ 'than',
1161
+ 'then',
1162
+ 'thread_priority',
1163
+ 'ties',
1164
+ 'timestampadd',
1165
+ 'timestampdiff',
1166
+ 'tls',
1167
+ 'to',
1168
+ 'trailing',
1169
+ 'transaction',
1170
+ 'trigger',
1171
+ 'triggers',
1172
+ 'true',
1173
+ 'truncate',
1174
+ 'type',
1175
+ 'types',
1176
+ 'unbounded',
1177
+ 'uncommitted',
1178
+ 'undefined',
1179
+ 'undo',
1180
+ 'undo_buffer_size',
1181
+ 'undofile',
1182
+ 'unicode',
1183
+ 'uninstall',
1184
+ 'union',
1185
+ 'unique',
1186
+ 'unknown',
1187
+ 'unlock',
1188
+ 'unregister',
1189
+ 'unsigned',
1190
+ 'until',
1191
+ 'update',
1192
+ 'upgrade',
1193
+ 'usage',
1194
+ 'use',
1195
+ 'use_frm',
1196
+ 'user',
1197
+ 'user_resources',
1198
+ 'using',
1199
+ 'utc_date',
1200
+ 'utc_time',
1201
+ 'utc_timestamp',
1202
+ 'validation',
1203
+ 'value',
1204
+ 'values',
1205
+ 'variables',
1206
+ 'vcpu',
1207
+ 'view',
1208
+ 'virtual',
1209
+ 'visible',
1210
+ 'wait',
1211
+ 'warnings',
1212
+ 'week',
1213
+ 'weight_string',
1214
+ 'when',
1215
+ 'where',
1216
+ 'while',
1217
+ 'window',
1218
+ 'with',
1219
+ 'without',
1220
+ 'work',
1221
+ 'wrapper',
1222
+ 'write',
1223
+ 'x509',
1224
+ 'xa',
1225
+ 'xid',
1226
+ 'xml',
1227
+ 'xor',
1228
+ 'year_month',
1229
+ 'zerofill',
1230
+ 'zone',
1231
+ )
1232
+
1233
+
1234
+ if __name__ == '__main__': # pragma: no cover
1235
+ import re
1236
+ from urllib.request import urlopen
1237
+
1238
+ from pygments.util import format_lines
1239
+
1240
+ # MySQL source code
1241
+ SOURCE_URL = 'https://github.com/mysql/mysql-server/raw/8.0'
1242
+ LEX_URL = SOURCE_URL + '/sql/lex.h'
1243
+ ITEM_CREATE_URL = SOURCE_URL + '/sql/item_create.cc'
1244
+
1245
+
1246
+ def update_myself():
1247
+ # Pull content from lex.h.
1248
+ lex_file = urlopen(LEX_URL).read().decode('utf8', errors='ignore')
1249
+ keywords = parse_lex_keywords(lex_file)
1250
+ functions = parse_lex_functions(lex_file)
1251
+ optimizer_hints = parse_lex_optimizer_hints(lex_file)
1252
+
1253
+ # Parse content in item_create.cc.
1254
+ item_create_file = urlopen(ITEM_CREATE_URL).read().decode('utf8', errors='ignore')
1255
+ functions.update(parse_item_create_functions(item_create_file))
1256
+
1257
+ # Remove data types from the set of keywords.
1258
+ keywords -= set(MYSQL_DATATYPES)
1259
+
1260
+ update_content('MYSQL_FUNCTIONS', tuple(sorted(functions)))
1261
+ update_content('MYSQL_KEYWORDS', tuple(sorted(keywords)))
1262
+ update_content('MYSQL_OPTIMIZER_HINTS', tuple(sorted(optimizer_hints)))
1263
+
1264
+
1265
+ def parse_lex_keywords(f):
1266
+ """Parse keywords in lex.h."""
1267
+
1268
+ results = set()
1269
+ for m in re.finditer(r'{SYM(?:_HK)?\("(?P<keyword>[a-z0-9_]+)",', f, flags=re.I):
1270
+ results.add(m.group('keyword').lower())
1271
+
1272
+ if not results:
1273
+ raise ValueError('No keywords found')
1274
+
1275
+ return results
1276
+
1277
+
1278
+ def parse_lex_optimizer_hints(f):
1279
+ """Parse optimizer hints in lex.h."""
1280
+
1281
+ results = set()
1282
+ for m in re.finditer(r'{SYM_H\("(?P<keyword>[a-z0-9_]+)",', f, flags=re.I):
1283
+ results.add(m.group('keyword').lower())
1284
+
1285
+ if not results:
1286
+ raise ValueError('No optimizer hints found')
1287
+
1288
+ return results
1289
+
1290
+
1291
+ def parse_lex_functions(f):
1292
+ """Parse MySQL function names from lex.h."""
1293
+
1294
+ results = set()
1295
+ for m in re.finditer(r'{SYM_FN?\("(?P<function>[a-z0-9_]+)",', f, flags=re.I):
1296
+ results.add(m.group('function').lower())
1297
+
1298
+ if not results:
1299
+ raise ValueError('No lex functions found')
1300
+
1301
+ return results
1302
+
1303
+
1304
+ def parse_item_create_functions(f):
1305
+ """Parse MySQL function names from item_create.cc."""
1306
+
1307
+ results = set()
1308
+ for m in re.finditer(r'{"(?P<function>[^"]+?)",\s*SQL_F[^(]+?\(', f, flags=re.I):
1309
+ results.add(m.group('function').lower())
1310
+
1311
+ if not results:
1312
+ raise ValueError('No item_create functions found')
1313
+
1314
+ return results
1315
+
1316
+
1317
+ def update_content(field_name, content):
1318
+ """Overwrite this file with content parsed from MySQL's source code."""
1319
+
1320
+ with open(__file__, encoding="utf-8") as f:
1321
+ data = f.read()
1322
+
1323
+ # Line to start/end inserting
1324
+ re_match = re.compile(rf'^{field_name}\s*=\s*\($.*?^\s*\)$', re.M | re.S)
1325
+ m = re_match.search(data)
1326
+ if not m:
1327
+ raise ValueError(f'Could not find an existing definition for {field_name}')
1328
+
1329
+ new_block = format_lines(field_name, content)
1330
+ data = data[:m.start()] + new_block + data[m.end():]
1331
+
1332
+ with open(__file__, 'w', encoding='utf-8', newline='\n') as f:
1333
+ f.write(data)
1334
+
1335
+ update_myself()
py311/lib/python3.11/site-packages/pygments/lexers/_openedge_builtins.py ADDED
@@ -0,0 +1,2600 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._openedge_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Builtin list for the OpenEdgeLexer.
6
+
7
+ :copyright: Copyright 2006-2025 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
+ )
py311/lib/python3.11/site-packages/pygments/lexers/_php_builtins.py ADDED
The diff for this file is too large to render. See raw diff
 
py311/lib/python3.11/site-packages/pygments/lexers/_postgres_builtins.py ADDED
@@ -0,0 +1,739 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._postgres_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Self-updating data files for PostgreSQL lexer.
6
+
7
+ Run with `python -I` to update itself.
8
+
9
+ :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
10
+ :license: BSD, see LICENSE for details.
11
+ """
12
+
13
+ # Autogenerated: please edit them if you like wasting your time.
14
+
15
+ KEYWORDS = (
16
+ 'ABORT',
17
+ 'ABSOLUTE',
18
+ 'ACCESS',
19
+ 'ACTION',
20
+ 'ADD',
21
+ 'ADMIN',
22
+ 'AFTER',
23
+ 'AGGREGATE',
24
+ 'ALL',
25
+ 'ALSO',
26
+ 'ALTER',
27
+ 'ALWAYS',
28
+ 'ANALYSE',
29
+ 'ANALYZE',
30
+ 'AND',
31
+ 'ANY',
32
+ 'ARRAY',
33
+ 'AS',
34
+ 'ASC',
35
+ 'ASENSITIVE',
36
+ 'ASSERTION',
37
+ 'ASSIGNMENT',
38
+ 'ASYMMETRIC',
39
+ 'AT',
40
+ 'ATOMIC',
41
+ 'ATTACH',
42
+ 'ATTRIBUTE',
43
+ 'AUTHORIZATION',
44
+ 'BACKWARD',
45
+ 'BEFORE',
46
+ 'BEGIN',
47
+ 'BETWEEN',
48
+ 'BIGINT',
49
+ 'BINARY',
50
+ 'BIT',
51
+ 'BOOLEAN',
52
+ 'BOTH',
53
+ 'BREADTH',
54
+ 'BY',
55
+ 'CACHE',
56
+ 'CALL',
57
+ 'CALLED',
58
+ 'CASCADE',
59
+ 'CASCADED',
60
+ 'CASE',
61
+ 'CAST',
62
+ 'CATALOG',
63
+ 'CHAIN',
64
+ 'CHAR',
65
+ 'CHARACTER',
66
+ 'CHARACTERISTICS',
67
+ 'CHECK',
68
+ 'CHECKPOINT',
69
+ 'CLASS',
70
+ 'CLOSE',
71
+ 'CLUSTER',
72
+ 'COALESCE',
73
+ 'COLLATE',
74
+ 'COLLATION',
75
+ 'COLUMN',
76
+ 'COLUMNS',
77
+ 'COMMENT',
78
+ 'COMMENTS',
79
+ 'COMMIT',
80
+ 'COMMITTED',
81
+ 'COMPRESSION',
82
+ 'CONCURRENTLY',
83
+ 'CONFIGURATION',
84
+ 'CONFLICT',
85
+ 'CONNECTION',
86
+ 'CONSTRAINT',
87
+ 'CONSTRAINTS',
88
+ 'CONTENT',
89
+ 'CONTINUE',
90
+ 'CONVERSION',
91
+ 'COPY',
92
+ 'COST',
93
+ 'CREATE',
94
+ 'CROSS',
95
+ 'CSV',
96
+ 'CUBE',
97
+ 'CURRENT',
98
+ 'CURRENT_CATALOG',
99
+ 'CURRENT_DATE',
100
+ 'CURRENT_ROLE',
101
+ 'CURRENT_SCHEMA',
102
+ 'CURRENT_TIME',
103
+ 'CURRENT_TIMESTAMP',
104
+ 'CURRENT_USER',
105
+ 'CURSOR',
106
+ 'CYCLE',
107
+ 'DATA',
108
+ 'DATABASE',
109
+ 'DAY',
110
+ 'DEALLOCATE',
111
+ 'DEC',
112
+ 'DECIMAL',
113
+ 'DECLARE',
114
+ 'DEFAULT',
115
+ 'DEFAULTS',
116
+ 'DEFERRABLE',
117
+ 'DEFERRED',
118
+ 'DEFINER',
119
+ 'DELETE',
120
+ 'DELIMITER',
121
+ 'DELIMITERS',
122
+ 'DEPENDS',
123
+ 'DEPTH',
124
+ 'DESC',
125
+ 'DETACH',
126
+ 'DICTIONARY',
127
+ 'DISABLE',
128
+ 'DISCARD',
129
+ 'DISTINCT',
130
+ 'DO',
131
+ 'DOCUMENT',
132
+ 'DOMAIN',
133
+ 'DOUBLE',
134
+ 'DROP',
135
+ 'EACH',
136
+ 'ELSE',
137
+ 'ENABLE',
138
+ 'ENCODING',
139
+ 'ENCRYPTED',
140
+ 'END',
141
+ 'ENUM',
142
+ 'ESCAPE',
143
+ 'EVENT',
144
+ 'EXCEPT',
145
+ 'EXCLUDE',
146
+ 'EXCLUDING',
147
+ 'EXCLUSIVE',
148
+ 'EXECUTE',
149
+ 'EXISTS',
150
+ 'EXPLAIN',
151
+ 'EXPRESSION',
152
+ 'EXTENSION',
153
+ 'EXTERNAL',
154
+ 'EXTRACT',
155
+ 'FALSE',
156
+ 'FAMILY',
157
+ 'FETCH',
158
+ 'FILTER',
159
+ 'FINALIZE',
160
+ 'FIRST',
161
+ 'FLOAT',
162
+ 'FOLLOWING',
163
+ 'FOR',
164
+ 'FORCE',
165
+ 'FOREIGN',
166
+ 'FORWARD',
167
+ 'FREEZE',
168
+ 'FROM',
169
+ 'FULL',
170
+ 'FUNCTION',
171
+ 'FUNCTIONS',
172
+ 'GENERATED',
173
+ 'GLOBAL',
174
+ 'GRANT',
175
+ 'GRANTED',
176
+ 'GREATEST',
177
+ 'GROUP',
178
+ 'GROUPING',
179
+ 'GROUPS',
180
+ 'HANDLER',
181
+ 'HAVING',
182
+ 'HEADER',
183
+ 'HOLD',
184
+ 'HOUR',
185
+ 'IDENTITY',
186
+ 'IF',
187
+ 'ILIKE',
188
+ 'IMMEDIATE',
189
+ 'IMMUTABLE',
190
+ 'IMPLICIT',
191
+ 'IMPORT',
192
+ 'IN',
193
+ 'INCLUDE',
194
+ 'INCLUDING',
195
+ 'INCREMENT',
196
+ 'INDEX',
197
+ 'INDEXES',
198
+ 'INHERIT',
199
+ 'INHERITS',
200
+ 'INITIALLY',
201
+ 'INLINE',
202
+ 'INNER',
203
+ 'INOUT',
204
+ 'INPUT',
205
+ 'INSENSITIVE',
206
+ 'INSERT',
207
+ 'INSTEAD',
208
+ 'INT',
209
+ 'INTEGER',
210
+ 'INTERSECT',
211
+ 'INTERVAL',
212
+ 'INTO',
213
+ 'INVOKER',
214
+ 'IS',
215
+ 'ISNULL',
216
+ 'ISOLATION',
217
+ 'JOIN',
218
+ 'KEY',
219
+ 'LABEL',
220
+ 'LANGUAGE',
221
+ 'LARGE',
222
+ 'LAST',
223
+ 'LATERAL',
224
+ 'LEADING',
225
+ 'LEAKPROOF',
226
+ 'LEAST',
227
+ 'LEFT',
228
+ 'LEVEL',
229
+ 'LIKE',
230
+ 'LIMIT',
231
+ 'LISTEN',
232
+ 'LOAD',
233
+ 'LOCAL',
234
+ 'LOCALTIME',
235
+ 'LOCALTIMESTAMP',
236
+ 'LOCATION',
237
+ 'LOCK',
238
+ 'LOCKED',
239
+ 'LOGGED',
240
+ 'MAPPING',
241
+ 'MATCH',
242
+ 'MATERIALIZED',
243
+ 'MAXVALUE',
244
+ 'METHOD',
245
+ 'MINUTE',
246
+ 'MINVALUE',
247
+ 'MODE',
248
+ 'MONTH',
249
+ 'MOVE',
250
+ 'NAME',
251
+ 'NAMES',
252
+ 'NATIONAL',
253
+ 'NATURAL',
254
+ 'NCHAR',
255
+ 'NEW',
256
+ 'NEXT',
257
+ 'NFC',
258
+ 'NFD',
259
+ 'NFKC',
260
+ 'NFKD',
261
+ 'NO',
262
+ 'NONE',
263
+ 'NORMALIZE',
264
+ 'NORMALIZED',
265
+ 'NOT',
266
+ 'NOTHING',
267
+ 'NOTIFY',
268
+ 'NOTNULL',
269
+ 'NOWAIT',
270
+ 'NULL',
271
+ 'NULLIF',
272
+ 'NULLS',
273
+ 'NUMERIC',
274
+ 'OBJECT',
275
+ 'OF',
276
+ 'OFF',
277
+ 'OFFSET',
278
+ 'OIDS',
279
+ 'OLD',
280
+ 'ON',
281
+ 'ONLY',
282
+ 'OPERATOR',
283
+ 'OPTION',
284
+ 'OPTIONS',
285
+ 'OR',
286
+ 'ORDER',
287
+ 'ORDINALITY',
288
+ 'OTHERS',
289
+ 'OUT',
290
+ 'OUTER',
291
+ 'OVER',
292
+ 'OVERLAPS',
293
+ 'OVERLAY',
294
+ 'OVERRIDING',
295
+ 'OWNED',
296
+ 'OWNER',
297
+ 'PARALLEL',
298
+ 'PARSER',
299
+ 'PARTIAL',
300
+ 'PARTITION',
301
+ 'PASSING',
302
+ 'PASSWORD',
303
+ 'PLACING',
304
+ 'PLANS',
305
+ 'POLICY',
306
+ 'POSITION',
307
+ 'PRECEDING',
308
+ 'PRECISION',
309
+ 'PREPARE',
310
+ 'PREPARED',
311
+ 'PRESERVE',
312
+ 'PRIMARY',
313
+ 'PRIOR',
314
+ 'PRIVILEGES',
315
+ 'PROCEDURAL',
316
+ 'PROCEDURE',
317
+ 'PROCEDURES',
318
+ 'PROGRAM',
319
+ 'PUBLICATION',
320
+ 'QUOTE',
321
+ 'RANGE',
322
+ 'READ',
323
+ 'REAL',
324
+ 'REASSIGN',
325
+ 'RECHECK',
326
+ 'RECURSIVE',
327
+ 'REF',
328
+ 'REFERENCES',
329
+ 'REFERENCING',
330
+ 'REFRESH',
331
+ 'REINDEX',
332
+ 'RELATIVE',
333
+ 'RELEASE',
334
+ 'RENAME',
335
+ 'REPEATABLE',
336
+ 'REPLACE',
337
+ 'REPLICA',
338
+ 'RESET',
339
+ 'RESTART',
340
+ 'RESTRICT',
341
+ 'RETURN',
342
+ 'RETURNING',
343
+ 'RETURNS',
344
+ 'REVOKE',
345
+ 'RIGHT',
346
+ 'ROLE',
347
+ 'ROLLBACK',
348
+ 'ROLLUP',
349
+ 'ROUTINE',
350
+ 'ROUTINES',
351
+ 'ROW',
352
+ 'ROWS',
353
+ 'RULE',
354
+ 'SAVEPOINT',
355
+ 'SCHEMA',
356
+ 'SCHEMAS',
357
+ 'SCROLL',
358
+ 'SEARCH',
359
+ 'SECOND',
360
+ 'SECURITY',
361
+ 'SELECT',
362
+ 'SEQUENCE',
363
+ 'SEQUENCES',
364
+ 'SERIALIZABLE',
365
+ 'SERVER',
366
+ 'SESSION',
367
+ 'SESSION_USER',
368
+ 'SET',
369
+ 'SETOF',
370
+ 'SETS',
371
+ 'SHARE',
372
+ 'SHOW',
373
+ 'SIMILAR',
374
+ 'SIMPLE',
375
+ 'SKIP',
376
+ 'SMALLINT',
377
+ 'SNAPSHOT',
378
+ 'SOME',
379
+ 'SQL',
380
+ 'STABLE',
381
+ 'STANDALONE',
382
+ 'START',
383
+ 'STATEMENT',
384
+ 'STATISTICS',
385
+ 'STDIN',
386
+ 'STDOUT',
387
+ 'STORAGE',
388
+ 'STORED',
389
+ 'STRICT',
390
+ 'STRIP',
391
+ 'SUBSCRIPTION',
392
+ 'SUBSTRING',
393
+ 'SUPPORT',
394
+ 'SYMMETRIC',
395
+ 'SYSID',
396
+ 'SYSTEM',
397
+ 'TABLE',
398
+ 'TABLES',
399
+ 'TABLESAMPLE',
400
+ 'TABLESPACE',
401
+ 'TEMP',
402
+ 'TEMPLATE',
403
+ 'TEMPORARY',
404
+ 'TEXT',
405
+ 'THEN',
406
+ 'TIES',
407
+ 'TIME',
408
+ 'TIMESTAMP',
409
+ 'TO',
410
+ 'TRAILING',
411
+ 'TRANSACTION',
412
+ 'TRANSFORM',
413
+ 'TREAT',
414
+ 'TRIGGER',
415
+ 'TRIM',
416
+ 'TRUE',
417
+ 'TRUNCATE',
418
+ 'TRUSTED',
419
+ 'TYPE',
420
+ 'TYPES',
421
+ 'UESCAPE',
422
+ 'UNBOUNDED',
423
+ 'UNCOMMITTED',
424
+ 'UNENCRYPTED',
425
+ 'UNION',
426
+ 'UNIQUE',
427
+ 'UNKNOWN',
428
+ 'UNLISTEN',
429
+ 'UNLOGGED',
430
+ 'UNTIL',
431
+ 'UPDATE',
432
+ 'USER',
433
+ 'USING',
434
+ 'VACUUM',
435
+ 'VALID',
436
+ 'VALIDATE',
437
+ 'VALIDATOR',
438
+ 'VALUE',
439
+ 'VALUES',
440
+ 'VARCHAR',
441
+ 'VARIADIC',
442
+ 'VARYING',
443
+ 'VERBOSE',
444
+ 'VERSION',
445
+ 'VIEW',
446
+ 'VIEWS',
447
+ 'VOLATILE',
448
+ 'WHEN',
449
+ 'WHERE',
450
+ 'WHITESPACE',
451
+ 'WINDOW',
452
+ 'WITH',
453
+ 'WITHIN',
454
+ 'WITHOUT',
455
+ 'WORK',
456
+ 'WRAPPER',
457
+ 'WRITE',
458
+ 'XML',
459
+ 'XMLATTRIBUTES',
460
+ 'XMLCONCAT',
461
+ 'XMLELEMENT',
462
+ 'XMLEXISTS',
463
+ 'XMLFOREST',
464
+ 'XMLNAMESPACES',
465
+ 'XMLPARSE',
466
+ 'XMLPI',
467
+ 'XMLROOT',
468
+ 'XMLSERIALIZE',
469
+ 'XMLTABLE',
470
+ 'YEAR',
471
+ 'YES',
472
+ 'ZONE',
473
+ )
474
+
475
+ DATATYPES = (
476
+ 'bigint',
477
+ 'bigserial',
478
+ 'bit',
479
+ 'bit varying',
480
+ 'bool',
481
+ 'boolean',
482
+ 'box',
483
+ 'bytea',
484
+ 'char',
485
+ 'character',
486
+ 'character varying',
487
+ 'cidr',
488
+ 'circle',
489
+ 'date',
490
+ 'decimal',
491
+ 'double precision',
492
+ 'float4',
493
+ 'float8',
494
+ 'inet',
495
+ 'int',
496
+ 'int2',
497
+ 'int4',
498
+ 'int8',
499
+ 'integer',
500
+ 'interval',
501
+ 'json',
502
+ 'jsonb',
503
+ 'line',
504
+ 'lseg',
505
+ 'macaddr',
506
+ 'macaddr8',
507
+ 'money',
508
+ 'numeric',
509
+ 'path',
510
+ 'pg_lsn',
511
+ 'pg_snapshot',
512
+ 'point',
513
+ 'polygon',
514
+ 'real',
515
+ 'serial',
516
+ 'serial2',
517
+ 'serial4',
518
+ 'serial8',
519
+ 'smallint',
520
+ 'smallserial',
521
+ 'text',
522
+ 'time',
523
+ 'timestamp',
524
+ 'timestamptz',
525
+ 'timetz',
526
+ 'tsquery',
527
+ 'tsvector',
528
+ 'txid_snapshot',
529
+ 'uuid',
530
+ 'varbit',
531
+ 'varchar',
532
+ 'with time zone',
533
+ 'without time zone',
534
+ 'xml',
535
+ )
536
+
537
+ PSEUDO_TYPES = (
538
+ 'any',
539
+ 'anyarray',
540
+ 'anycompatible',
541
+ 'anycompatiblearray',
542
+ 'anycompatiblemultirange',
543
+ 'anycompatiblenonarray',
544
+ 'anycompatiblerange',
545
+ 'anyelement',
546
+ 'anyenum',
547
+ 'anymultirange',
548
+ 'anynonarray',
549
+ 'anyrange',
550
+ 'cstring',
551
+ 'event_trigger',
552
+ 'fdw_handler',
553
+ 'index_am_handler',
554
+ 'internal',
555
+ 'language_handler',
556
+ 'pg_ddl_command',
557
+ 'record',
558
+ 'table_am_handler',
559
+ 'trigger',
560
+ 'tsm_handler',
561
+ 'unknown',
562
+ 'void',
563
+ )
564
+
565
+ # Remove 'trigger' from types
566
+ PSEUDO_TYPES = tuple(sorted(set(PSEUDO_TYPES) - set(map(str.lower, KEYWORDS))))
567
+
568
+ PLPGSQL_KEYWORDS = (
569
+ 'ALIAS', 'CONSTANT', 'DIAGNOSTICS', 'ELSIF', 'EXCEPTION', 'EXIT',
570
+ 'FOREACH', 'GET', 'LOOP', 'NOTICE', 'OPEN', 'PERFORM', 'QUERY', 'RAISE',
571
+ 'RETURN', 'REVERSE', 'SQLSTATE', 'WHILE',
572
+ )
573
+
574
+ # Most of these keywords are from ExplainNode function
575
+ # in src/backend/commands/explain.c
576
+
577
+ EXPLAIN_KEYWORDS = (
578
+ 'Aggregate',
579
+ 'Append',
580
+ 'Bitmap Heap Scan',
581
+ 'Bitmap Index Scan',
582
+ 'BitmapAnd',
583
+ 'BitmapOr',
584
+ 'CTE Scan',
585
+ 'Custom Scan',
586
+ 'Delete',
587
+ 'Foreign Scan',
588
+ 'Function Scan',
589
+ 'Gather Merge',
590
+ 'Gather',
591
+ 'Group',
592
+ 'GroupAggregate',
593
+ 'Hash Join',
594
+ 'Hash',
595
+ 'HashAggregate',
596
+ 'Incremental Sort',
597
+ 'Index Only Scan',
598
+ 'Index Scan',
599
+ 'Insert',
600
+ 'Limit',
601
+ 'LockRows',
602
+ 'Materialize',
603
+ 'Memoize',
604
+ 'Merge Append',
605
+ 'Merge Join',
606
+ 'Merge',
607
+ 'MixedAggregate',
608
+ 'Named Tuplestore Scan',
609
+ 'Nested Loop',
610
+ 'ProjectSet',
611
+ 'Recursive Union',
612
+ 'Result',
613
+ 'Sample Scan',
614
+ 'Seq Scan',
615
+ 'SetOp',
616
+ 'Sort',
617
+ 'SubPlan',
618
+ 'Subquery Scan',
619
+ 'Table Function Scan',
620
+ 'Tid Range Scan',
621
+ 'Tid Scan',
622
+ 'Unique',
623
+ 'Update',
624
+ 'Values Scan',
625
+ 'WindowAgg',
626
+ 'WorkTable Scan',
627
+ )
628
+
629
+
630
+ if __name__ == '__main__': # pragma: no cover
631
+ import re
632
+ from urllib.request import urlopen
633
+
634
+ from pygments.util import format_lines
635
+
636
+ # One man's constant is another man's variable.
637
+ SOURCE_URL = 'https://github.com/postgres/postgres/raw/master'
638
+ KEYWORDS_URL = SOURCE_URL + '/src/include/parser/kwlist.h'
639
+ DATATYPES_URL = SOURCE_URL + '/doc/src/sgml/datatype.sgml'
640
+
641
+ def update_myself():
642
+ content = urlopen(DATATYPES_URL).read().decode('utf-8', errors='ignore')
643
+ data_file = list(content.splitlines())
644
+ datatypes = parse_datatypes(data_file)
645
+ pseudos = parse_pseudos(data_file)
646
+
647
+ content = urlopen(KEYWORDS_URL).read().decode('utf-8', errors='ignore')
648
+ keywords = parse_keywords(content)
649
+
650
+ update_consts(__file__, 'DATATYPES', datatypes)
651
+ update_consts(__file__, 'PSEUDO_TYPES', pseudos)
652
+ update_consts(__file__, 'KEYWORDS', keywords)
653
+
654
+ def parse_keywords(f):
655
+ kw = []
656
+ for m in re.finditer(r'PG_KEYWORD\("(.+?)"', f):
657
+ kw.append(m.group(1).upper())
658
+
659
+ if not kw:
660
+ raise ValueError('no keyword found')
661
+
662
+ kw.sort()
663
+ return kw
664
+
665
+ def parse_datatypes(f):
666
+ dt = set()
667
+ for line in f:
668
+ if '<sect1' in line:
669
+ break
670
+ if '<entry><type>' not in line:
671
+ continue
672
+
673
+ # Parse a string such as
674
+ # time [ (<replaceable>p</replaceable>) ] [ without time zone ]
675
+ # into types "time" and "without time zone"
676
+
677
+ # remove all the tags
678
+ line = re.sub("<replaceable>[^<]+</replaceable>", "", line)
679
+ line = re.sub("<[^>]+>", "", line)
680
+
681
+ # Drop the parts containing braces
682
+ for tmp in [t for tmp in line.split('[')
683
+ for t in tmp.split(']') if "(" not in t]:
684
+ for t in tmp.split(','):
685
+ t = t.strip()
686
+ if not t:
687
+ continue
688
+ dt.add(" ".join(t.split()))
689
+
690
+ dt = list(dt)
691
+ dt.sort()
692
+ return dt
693
+
694
+ def parse_pseudos(f):
695
+ dt = []
696
+ re_start = re.compile(r'\s*<table id="datatype-pseudotypes-table">')
697
+ re_entry = re.compile(r'\s*<entry><type>(.+?)</type></entry>')
698
+ re_end = re.compile(r'\s*</table>')
699
+
700
+ f = iter(f)
701
+ for line in f:
702
+ if re_start.match(line) is not None:
703
+ break
704
+ else:
705
+ raise ValueError('pseudo datatypes table not found')
706
+
707
+ for line in f:
708
+ m = re_entry.match(line)
709
+ if m is not None:
710
+ dt.append(m.group(1))
711
+
712
+ if re_end.match(line) is not None:
713
+ break
714
+ else:
715
+ raise ValueError('end of pseudo datatypes table not found')
716
+
717
+ if not dt:
718
+ raise ValueError('pseudo datatypes not found')
719
+
720
+ dt.sort()
721
+ return dt
722
+
723
+ def update_consts(filename, constname, content):
724
+ with open(filename, encoding='utf-8') as f:
725
+ data = f.read()
726
+
727
+ # Line to start/end inserting
728
+ re_match = re.compile(rf'^{constname}\s*=\s*\($.*?^\s*\)$', re.M | re.S)
729
+ m = re_match.search(data)
730
+ if not m:
731
+ raise ValueError(f'Could not find existing definition for {constname}')
732
+
733
+ new_block = format_lines(constname, content)
734
+ data = data[:m.start()] + new_block + data[m.end():]
735
+
736
+ with open(filename, 'w', encoding='utf-8', newline='\n') as f:
737
+ f.write(data)
738
+
739
+ update_myself()
py311/lib/python3.11/site-packages/pygments/lexers/_qlik_builtins.py ADDED
@@ -0,0 +1,666 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._qlik_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Qlik builtins.
6
+
7
+ :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
8
+ :license: BSD, see LICENSE for details.
9
+ """
10
+
11
+ # operators
12
+ # see https://help.qlik.com/en-US/sense/August2021/Subsystems/Hub/Content/Sense_Hub/Scripting/Operators/operators.htm
13
+ OPERATORS_LIST = {
14
+ "words": [
15
+ # Bit operators
16
+ "bitnot",
17
+ "bitand",
18
+ "bitor",
19
+ "bitxor",
20
+ # Logical operators
21
+ "and",
22
+ "or",
23
+ "not",
24
+ "xor",
25
+ # Relational operators
26
+ "precedes",
27
+ "follows",
28
+ # String operators
29
+ "like",
30
+ ],
31
+ "symbols": [
32
+ # Bit operators
33
+ ">>",
34
+ "<<",
35
+ # Logical operators
36
+ # Numeric operators
37
+ "+",
38
+ "-",
39
+ "/",
40
+ "*",
41
+ # Relational operators
42
+ "<",
43
+ "<=",
44
+ ">",
45
+ ">=",
46
+ "=",
47
+ "<>",
48
+ # String operators
49
+ "&",
50
+ ],
51
+ }
52
+
53
+ # SCRIPT STATEMENTS
54
+ # see https://help.qlik.com/en-US/sense/August2021/Subsystems/Hub/Content/Sense_Hub/Scripting/
55
+ STATEMENT_LIST = [
56
+ # control statements
57
+ "for",
58
+ "each",
59
+ "in",
60
+ "next",
61
+ "do",
62
+ "while",
63
+ "until",
64
+ "unless",
65
+ "loop",
66
+ "return",
67
+ "switch",
68
+ "case",
69
+ "default",
70
+ "if",
71
+ "else",
72
+ "endif",
73
+ "then",
74
+ "end",
75
+ "exit",
76
+ "script",
77
+ "switch",
78
+ # prefixes
79
+ "Add",
80
+ "Buffer",
81
+ "Concatenate",
82
+ "Crosstable",
83
+ "First",
84
+ "Generic",
85
+ "Hierarchy",
86
+ "HierarchyBelongsTo",
87
+ "Inner",
88
+ "IntervalMatch",
89
+ "Join",
90
+ "Keep",
91
+ "Left",
92
+ "Mapping",
93
+ "Merge",
94
+ "NoConcatenate",
95
+ "Outer",
96
+ "Partial reload",
97
+ "Replace",
98
+ "Right",
99
+ "Sample",
100
+ "Semantic",
101
+ "Unless",
102
+ "When",
103
+ # regular statements
104
+ "Alias", # alias ... as ...
105
+ "as",
106
+ "AutoNumber",
107
+ "Binary",
108
+ "Comment field", # comment fields ... using ...
109
+ "Comment fields", # comment field ... with ...
110
+ "using",
111
+ "with",
112
+ "Comment table", # comment table ... with ...
113
+ "Comment tables", # comment tables ... using ...
114
+ "Connect",
115
+ "ODBC", # ODBC CONNECT TO ...
116
+ "OLEBD", # OLEDB CONNECT TO ...
117
+ "CUSTOM", # CUSTOM CONNECT TO ...
118
+ "LIB", # LIB CONNECT TO ...
119
+ "Declare",
120
+ "Derive",
121
+ "From",
122
+ "explicit",
123
+ "implicit",
124
+ "Direct Query",
125
+ "dimension",
126
+ "measure",
127
+ "Directory",
128
+ "Disconnect",
129
+ "Drop field",
130
+ "Drop fields",
131
+ "Drop table",
132
+ "Drop tables",
133
+ "Execute",
134
+ "FlushLog",
135
+ "Force",
136
+ "capitalization",
137
+ "case upper",
138
+ "case lower",
139
+ "case mixed",
140
+ "Load",
141
+ "distinct",
142
+ "from",
143
+ "inline",
144
+ "resident",
145
+ "from_field",
146
+ "autogenerate",
147
+ "extension",
148
+ "where",
149
+ "group by",
150
+ "order by",
151
+ "asc",
152
+ "desc",
153
+ "Let",
154
+ "Loosen Table",
155
+ "Map",
156
+ "NullAsNull",
157
+ "NullAsValue",
158
+ "Qualify",
159
+ "Rem",
160
+ "Rename field",
161
+ "Rename fields",
162
+ "Rename table",
163
+ "Rename tables",
164
+ "Search",
165
+ "include",
166
+ "exclude",
167
+ "Section",
168
+ "access",
169
+ "application",
170
+ "Select",
171
+ "Set",
172
+ "Sleep",
173
+ "SQL",
174
+ "SQLColumns",
175
+ "SQLTables",
176
+ "SQLTypes",
177
+ "Star",
178
+ "Store",
179
+ "Tag",
180
+ "Trace",
181
+ "Unmap",
182
+ "Unqualify",
183
+ "Untag",
184
+ # Qualifiers
185
+ "total",
186
+ ]
187
+
188
+ # Script functions
189
+ # see https://help.qlik.com/en-US/sense/August2021/Subsystems/Hub/Content/Sense_Hub/Scripting/functions-in-scripts-chart-expressions.htm
190
+ SCRIPT_FUNCTIONS = [
191
+ # Basic aggregation functions in the data load script
192
+ "FirstSortedValue",
193
+ "Max",
194
+ "Min",
195
+ "Mode",
196
+ "Only",
197
+ "Sum",
198
+ # Counter aggregation functions in the data load script
199
+ "Count",
200
+ "MissingCount",
201
+ "NullCount",
202
+ "NumericCount",
203
+ "TextCount",
204
+ # Financial aggregation functions in the data load script
205
+ "IRR",
206
+ "XIRR",
207
+ "NPV",
208
+ "XNPV",
209
+ # Statistical aggregation functions in the data load script
210
+ "Avg",
211
+ "Correl",
212
+ "Fractile",
213
+ "FractileExc",
214
+ "Kurtosis",
215
+ "LINEST_B" "LINEST_df",
216
+ "LINEST_f",
217
+ "LINEST_m",
218
+ "LINEST_r2",
219
+ "LINEST_seb",
220
+ "LINEST_sem",
221
+ "LINEST_sey",
222
+ "LINEST_ssreg",
223
+ "Linest_ssresid",
224
+ "Median",
225
+ "Skew",
226
+ "Stdev",
227
+ "Sterr",
228
+ "STEYX",
229
+ # Statistical test functions
230
+ "Chi2Test_chi2",
231
+ "Chi2Test_df",
232
+ "Chi2Test_p",
233
+ # Two independent samples t-tests
234
+ "ttest_conf",
235
+ "ttest_df",
236
+ "ttest_dif",
237
+ "ttest_lower",
238
+ "ttest_sig",
239
+ "ttest_sterr",
240
+ "ttest_t",
241
+ "ttest_upper",
242
+ # Two independent weighted samples t-tests
243
+ "ttestw_conf",
244
+ "ttestw_df",
245
+ "ttestw_dif",
246
+ "ttestw_lower",
247
+ "ttestw_sig",
248
+ "ttestw_sterr",
249
+ "ttestw_t",
250
+ "ttestw_upper",
251
+ # One sample t-tests
252
+ "ttest1_conf",
253
+ "ttest1_df",
254
+ "ttest1_dif",
255
+ "ttest1_lower",
256
+ "ttest1_sig",
257
+ "ttest1_sterr",
258
+ "ttest1_t",
259
+ "ttest1_upper",
260
+ # One weighted sample t-tests
261
+ "ttest1w_conf",
262
+ "ttest1w_df",
263
+ "ttest1w_dif",
264
+ "ttest1w_lower",
265
+ "ttest1w_sig",
266
+ "ttest1w_sterr",
267
+ "ttest1w_t",
268
+ "ttest1w_upper",
269
+ # One column format functions
270
+ "ztest_conf",
271
+ "ztest_dif",
272
+ "ztest_sig",
273
+ "ztest_sterr",
274
+ "ztest_z",
275
+ "ztest_lower",
276
+ "ztest_upper",
277
+ # Weighted two-column format functions
278
+ "ztestw_conf",
279
+ "ztestw_dif",
280
+ "ztestw_lower",
281
+ "ztestw_sig",
282
+ "ztestw_sterr",
283
+ "ztestw_upper",
284
+ "ztestw_z",
285
+ # String aggregation functions in the data load script
286
+ "Concat",
287
+ "FirstValue",
288
+ "LastValue",
289
+ "MaxString",
290
+ "MinString",
291
+ # Synthetic dimension functions
292
+ "ValueList",
293
+ "ValueLoop",
294
+ # Color functions
295
+ "ARGB",
296
+ "HSL",
297
+ "RGB",
298
+ "Color",
299
+ "Colormix1",
300
+ "Colormix2",
301
+ "SysColor",
302
+ "ColorMapHue",
303
+ "ColorMapJet",
304
+ "black",
305
+ "blue",
306
+ "brown",
307
+ "cyan",
308
+ "darkgray",
309
+ "green",
310
+ "lightblue",
311
+ "lightcyan",
312
+ "lightgray",
313
+ "lightgreen",
314
+ "lightmagenta",
315
+ "lightred",
316
+ "magenta",
317
+ "red",
318
+ "white",
319
+ "yellow",
320
+ # Conditional functions
321
+ "alt",
322
+ "class",
323
+ "coalesce",
324
+ "if",
325
+ "match",
326
+ "mixmatch",
327
+ "pick",
328
+ "wildmatch",
329
+ # Counter functions
330
+ "autonumber",
331
+ "autonumberhash128",
332
+ "autonumberhash256",
333
+ "IterNo",
334
+ "RecNo",
335
+ "RowNo",
336
+ # Integer expressions of time
337
+ "second",
338
+ "minute",
339
+ "hour",
340
+ "day",
341
+ "week",
342
+ "month",
343
+ "year",
344
+ "weekyear",
345
+ "weekday",
346
+ # Timestamp functions
347
+ "now",
348
+ "today",
349
+ "LocalTime",
350
+ # Make functions
351
+ "makedate",
352
+ "makeweekdate",
353
+ "maketime",
354
+ # Other date functions
355
+ "AddMonths",
356
+ "AddYears",
357
+ "yeartodate",
358
+ # Timezone functions
359
+ "timezone",
360
+ "GMT",
361
+ "UTC",
362
+ "daylightsaving",
363
+ "converttolocaltime",
364
+ # Set time functions
365
+ "setdateyear",
366
+ "setdateyearmonth",
367
+ # In... functions
368
+ "inyear",
369
+ "inyeartodate",
370
+ "inquarter",
371
+ "inquartertodate",
372
+ "inmonth",
373
+ "inmonthtodate",
374
+ "inmonths",
375
+ "inmonthstodate",
376
+ "inweek",
377
+ "inweektodate",
378
+ "inlunarweek",
379
+ "inlunarweektodate",
380
+ "inday",
381
+ "indaytotime",
382
+ # Start ... end functions
383
+ "yearstart",
384
+ "yearend",
385
+ "yearname",
386
+ "quarterstart",
387
+ "quarterend",
388
+ "quartername",
389
+ "monthstart",
390
+ "monthend",
391
+ "monthname",
392
+ "monthsstart",
393
+ "monthsend",
394
+ "monthsname",
395
+ "weekstart",
396
+ "weekend",
397
+ "weekname",
398
+ "lunarweekstart",
399
+ "lunarweekend",
400
+ "lunarweekname",
401
+ "daystart",
402
+ "dayend",
403
+ "dayname",
404
+ # Day numbering functions
405
+ "age",
406
+ "networkdays",
407
+ "firstworkdate",
408
+ "lastworkdate",
409
+ "daynumberofyear",
410
+ "daynumberofquarter",
411
+ # Exponential and logarithmic
412
+ "exp",
413
+ "log",
414
+ "log10",
415
+ "pow",
416
+ "sqr",
417
+ "sqrt",
418
+ # Count functions
419
+ "GetAlternativeCount",
420
+ "GetExcludedCount",
421
+ "GetNotSelectedCount",
422
+ "GetPossibleCount",
423
+ "GetSelectedCount",
424
+ # Field and selection functions
425
+ "GetCurrentSelections",
426
+ "GetFieldSelections",
427
+ "GetObjectDimension",
428
+ "GetObjectField",
429
+ "GetObjectMeasure",
430
+ # File functions
431
+ "Attribute",
432
+ "ConnectString",
433
+ "FileBaseName",
434
+ "FileDir",
435
+ "FileExtension",
436
+ "FileName",
437
+ "FilePath",
438
+ "FileSize",
439
+ "FileTime",
440
+ "GetFolderPath",
441
+ "QvdCreateTime",
442
+ "QvdFieldName",
443
+ "QvdNoOfFields",
444
+ "QvdNoOfRecords",
445
+ "QvdTableName",
446
+ # Financial functions
447
+ "FV",
448
+ "nPer",
449
+ "Pmt",
450
+ "PV",
451
+ "Rate",
452
+ # Formatting functions
453
+ "ApplyCodepage",
454
+ "Date",
455
+ "Dual",
456
+ "Interval",
457
+ "Money",
458
+ "Num",
459
+ "Time",
460
+ "Timestamp",
461
+ # General numeric functions
462
+ "bitcount",
463
+ "div",
464
+ "fabs",
465
+ "fact",
466
+ "frac",
467
+ "sign",
468
+ # Combination and permutation functions
469
+ "combin",
470
+ "permut",
471
+ # Modulo functions
472
+ "fmod",
473
+ "mod",
474
+ # Parity functions
475
+ "even",
476
+ "odd",
477
+ # Rounding functions
478
+ "ceil",
479
+ "floor",
480
+ "round",
481
+ # Geospatial functions
482
+ "GeoAggrGeometry",
483
+ "GeoBoundingBox",
484
+ "GeoCountVertex",
485
+ "GeoInvProjectGeometry",
486
+ "GeoProjectGeometry",
487
+ "GeoReduceGeometry",
488
+ "GeoGetBoundingBox",
489
+ "GeoGetPolygonCenter",
490
+ "GeoMakePoint",
491
+ "GeoProject",
492
+ # Interpretation functions
493
+ "Date#",
494
+ "Interval#",
495
+ "Money#",
496
+ "Num#",
497
+ "Text",
498
+ "Time#",
499
+ "Timestamp#",
500
+ # Field functions
501
+ "FieldIndex",
502
+ "FieldValue",
503
+ "FieldValueCount",
504
+ # Inter-record functions in the data load script
505
+ "Exists",
506
+ "LookUp",
507
+ "Peek",
508
+ "Previous",
509
+ # Logical functions
510
+ "IsNum",
511
+ "IsText",
512
+ # Mapping functions
513
+ "ApplyMap",
514
+ "MapSubstring",
515
+ # Mathematical functions
516
+ "e",
517
+ "false",
518
+ "pi",
519
+ "rand",
520
+ "true",
521
+ # NULL functions
522
+ "EmptyIsNull",
523
+ "IsNull",
524
+ "Null",
525
+ # Basic range functions
526
+ "RangeMax",
527
+ "RangeMaxString",
528
+ "RangeMin",
529
+ "RangeMinString",
530
+ "RangeMode",
531
+ "RangeOnly",
532
+ "RangeSum",
533
+ # Counter range functions
534
+ "RangeCount",
535
+ "RangeMissingCount",
536
+ "RangeNullCount",
537
+ "RangeNumericCount",
538
+ "RangeTextCount",
539
+ # Statistical range functions
540
+ "RangeAvg",
541
+ "RangeCorrel",
542
+ "RangeFractile",
543
+ "RangeKurtosis",
544
+ "RangeSkew",
545
+ "RangeStdev",
546
+ # Financial range functions
547
+ "RangeIRR",
548
+ "RangeNPV",
549
+ "RangeXIRR",
550
+ "RangeXNPV",
551
+ # Statistical distribution
552
+ "CHIDIST",
553
+ "CHIINV",
554
+ "NORMDIST",
555
+ "NORMINV",
556
+ "TDIST",
557
+ "TINV",
558
+ "FDIST",
559
+ "FINV",
560
+ # String functions
561
+ "Capitalize",
562
+ "Chr",
563
+ "Evaluate",
564
+ "FindOneOf",
565
+ "Hash128",
566
+ "Hash160",
567
+ "Hash256",
568
+ "Index",
569
+ "KeepChar",
570
+ "Left",
571
+ "Len",
572
+ "LevenshteinDist",
573
+ "Lower",
574
+ "LTrim",
575
+ "Mid",
576
+ "Ord",
577
+ "PurgeChar",
578
+ "Repeat",
579
+ "Replace",
580
+ "Right",
581
+ "RTrim",
582
+ "SubField",
583
+ "SubStringCount",
584
+ "TextBetween",
585
+ "Trim",
586
+ "Upper",
587
+ # System functions
588
+ "Author",
589
+ "ClientPlatform",
590
+ "ComputerName",
591
+ "DocumentName",
592
+ "DocumentPath",
593
+ "DocumentTitle",
594
+ "EngineVersion",
595
+ "GetCollationLocale",
596
+ "GetObjectField",
597
+ "GetRegistryString",
598
+ "IsPartialReload",
599
+ "OSUser",
600
+ "ProductVersion",
601
+ "ReloadTime",
602
+ "StateName",
603
+ # Table functions
604
+ "FieldName",
605
+ "FieldNumber",
606
+ "NoOfFields",
607
+ "NoOfRows",
608
+ "NoOfTables",
609
+ "TableName",
610
+ "TableNumber",
611
+ ]
612
+
613
+ # System variables and constants
614
+ # see https://help.qlik.com/en-US/sense/August2021/Subsystems/Hub/Content/Sense_Hub/Scripting/work-with-variables-in-data-load-editor.htm
615
+ CONSTANT_LIST = [
616
+ # System Variables
617
+ "floppy",
618
+ "cd",
619
+ "include",
620
+ "must_include",
621
+ "hideprefix",
622
+ "hidesuffix",
623
+ "qvpath",
624
+ "qvroot",
625
+ "QvWorkPath",
626
+ "QvWorkRoot",
627
+ "StripComments",
628
+ "Verbatim",
629
+ "OpenUrlTimeout",
630
+ "WinPath",
631
+ "WinRoot",
632
+ "CollationLocale",
633
+ "CreateSearchIndexOnReload",
634
+ # value handling variables
635
+ "NullDisplay",
636
+ "NullInterpret",
637
+ "NullValue",
638
+ "OtherSymbol",
639
+ # Currency formatting
640
+ "MoneyDecimalSep",
641
+ "MoneyFormat",
642
+ "MoneyThousandSep",
643
+ # Number formatting
644
+ "DecimalSep",
645
+ "ThousandSep",
646
+ "NumericalAbbreviation",
647
+ # Time formatting
648
+ "DateFormat",
649
+ "TimeFormat",
650
+ "TimestampFormat",
651
+ "MonthNames",
652
+ "LongMonthNames",
653
+ "DayNames",
654
+ "LongDayNames",
655
+ "FirstWeekDay",
656
+ "BrokenWeeks",
657
+ "ReferenceDay",
658
+ "FirstMonthOfYear",
659
+ # Error variables
660
+ "errormode",
661
+ "scripterror",
662
+ "scripterrorcount",
663
+ "scripterrorlist",
664
+ # Other
665
+ "null",
666
+ ]
py311/lib/python3.11/site-packages/pygments/lexers/_scheme_builtins.py ADDED
@@ -0,0 +1,1609 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._scheme_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Scheme builtins.
6
+
7
+ :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
8
+ :license: BSD, see LICENSE for details.
9
+ """
10
+
11
+ # Autogenerated by external/scheme-builtins-generator.scm
12
+ # using Guile 3.0.5.130-5a1e7.
13
+
14
+ scheme_keywords = {
15
+ "*unspecified*",
16
+ "...",
17
+ "=>",
18
+ "@",
19
+ "@@",
20
+ "_",
21
+ "add-to-load-path",
22
+ "and",
23
+ "begin",
24
+ "begin-deprecated",
25
+ "case",
26
+ "case-lambda",
27
+ "case-lambda*",
28
+ "cond",
29
+ "cond-expand",
30
+ "current-filename",
31
+ "current-source-location",
32
+ "debug-set!",
33
+ "define",
34
+ "define*",
35
+ "define-inlinable",
36
+ "define-library",
37
+ "define-macro",
38
+ "define-module",
39
+ "define-once",
40
+ "define-option-interface",
41
+ "define-private",
42
+ "define-public",
43
+ "define-record-type",
44
+ "define-syntax",
45
+ "define-syntax-parameter",
46
+ "define-syntax-rule",
47
+ "define-values",
48
+ "defmacro",
49
+ "defmacro-public",
50
+ "delay",
51
+ "do",
52
+ "else",
53
+ "eval-when",
54
+ "export",
55
+ "export!",
56
+ "export-syntax",
57
+ "false-if-exception",
58
+ "identifier-syntax",
59
+ "if",
60
+ "import",
61
+ "include",
62
+ "include-ci",
63
+ "include-from-path",
64
+ "include-library-declarations",
65
+ "lambda",
66
+ "lambda*",
67
+ "let",
68
+ "let*",
69
+ "let*-values",
70
+ "let-syntax",
71
+ "let-values",
72
+ "letrec",
73
+ "letrec*",
74
+ "letrec-syntax",
75
+ "library",
76
+ "load",
77
+ "match",
78
+ "match-lambda",
79
+ "match-lambda*",
80
+ "match-let",
81
+ "match-let*",
82
+ "match-letrec",
83
+ "or",
84
+ "parameterize",
85
+ "print-set!",
86
+ "quasiquote",
87
+ "quasisyntax",
88
+ "quote",
89
+ "quote-syntax",
90
+ "re-export",
91
+ "re-export-syntax",
92
+ "read-set!",
93
+ "require-extension",
94
+ "set!",
95
+ "start-stack",
96
+ "syntax",
97
+ "syntax-case",
98
+ "syntax-error",
99
+ "syntax-parameterize",
100
+ "syntax-rules",
101
+ "unless",
102
+ "unquote",
103
+ "unquote-splicing",
104
+ "unsyntax",
105
+ "unsyntax-splicing",
106
+ "use-modules",
107
+ "when",
108
+ "while",
109
+ "with-ellipsis",
110
+ "with-fluids",
111
+ "with-syntax",
112
+ "λ",
113
+ }
114
+
115
+ scheme_builtins = {
116
+ "$sc-dispatch",
117
+ "%char-set-dump",
118
+ "%get-pre-modules-obarray",
119
+ "%get-stack-size",
120
+ "%global-site-dir",
121
+ "%init-rdelim-builtins",
122
+ "%init-rw-builtins",
123
+ "%library-dir",
124
+ "%load-announce",
125
+ "%load-hook",
126
+ "%make-void-port",
127
+ "%package-data-dir",
128
+ "%port-property",
129
+ "%print-module",
130
+ "%resolve-variable",
131
+ "%search-load-path",
132
+ "%set-port-property!",
133
+ "%site-ccache-dir",
134
+ "%site-dir",
135
+ "%start-stack",
136
+ "%string-dump",
137
+ "%symbol-dump",
138
+ "%warn-auto-compilation-enabled",
139
+ "*",
140
+ "+",
141
+ "-",
142
+ "->bool",
143
+ "->char-set",
144
+ "/",
145
+ "1+",
146
+ "1-",
147
+ "<",
148
+ "<=",
149
+ "=",
150
+ ">",
151
+ ">=",
152
+ "abort-to-prompt",
153
+ "abort-to-prompt*",
154
+ "abs",
155
+ "absolute-file-name?",
156
+ "accept",
157
+ "access?",
158
+ "acons",
159
+ "acos",
160
+ "acosh",
161
+ "add-hook!",
162
+ "addrinfo:addr",
163
+ "addrinfo:canonname",
164
+ "addrinfo:fam",
165
+ "addrinfo:flags",
166
+ "addrinfo:protocol",
167
+ "addrinfo:socktype",
168
+ "adjust-port-revealed!",
169
+ "alarm",
170
+ "alist-cons",
171
+ "alist-copy",
172
+ "alist-delete",
173
+ "alist-delete!",
174
+ "allocate-struct",
175
+ "and-map",
176
+ "and=>",
177
+ "angle",
178
+ "any",
179
+ "append",
180
+ "append!",
181
+ "append-map",
182
+ "append-map!",
183
+ "append-reverse",
184
+ "append-reverse!",
185
+ "apply",
186
+ "array->list",
187
+ "array-cell-ref",
188
+ "array-cell-set!",
189
+ "array-contents",
190
+ "array-copy!",
191
+ "array-copy-in-order!",
192
+ "array-dimensions",
193
+ "array-equal?",
194
+ "array-fill!",
195
+ "array-for-each",
196
+ "array-in-bounds?",
197
+ "array-index-map!",
198
+ "array-length",
199
+ "array-map!",
200
+ "array-map-in-order!",
201
+ "array-rank",
202
+ "array-ref",
203
+ "array-set!",
204
+ "array-shape",
205
+ "array-slice",
206
+ "array-slice-for-each",
207
+ "array-slice-for-each-in-order",
208
+ "array-type",
209
+ "array-type-code",
210
+ "array?",
211
+ "ash",
212
+ "asin",
213
+ "asinh",
214
+ "assert-load-verbosity",
215
+ "assoc",
216
+ "assoc-ref",
217
+ "assoc-remove!",
218
+ "assoc-set!",
219
+ "assq",
220
+ "assq-ref",
221
+ "assq-remove!",
222
+ "assq-set!",
223
+ "assv",
224
+ "assv-ref",
225
+ "assv-remove!",
226
+ "assv-set!",
227
+ "atan",
228
+ "atanh",
229
+ "autoload-done!",
230
+ "autoload-done-or-in-progress?",
231
+ "autoload-in-progress!",
232
+ "backtrace",
233
+ "basename",
234
+ "batch-mode?",
235
+ "beautify-user-module!",
236
+ "bind",
237
+ "bind-textdomain-codeset",
238
+ "bindtextdomain",
239
+ "bit-count",
240
+ "bit-count*",
241
+ "bit-extract",
242
+ "bit-invert!",
243
+ "bit-position",
244
+ "bit-set*!",
245
+ "bitvector",
246
+ "bitvector->list",
247
+ "bitvector-bit-clear?",
248
+ "bitvector-bit-set?",
249
+ "bitvector-clear-all-bits!",
250
+ "bitvector-clear-bit!",
251
+ "bitvector-clear-bits!",
252
+ "bitvector-count",
253
+ "bitvector-count-bits",
254
+ "bitvector-fill!",
255
+ "bitvector-flip-all-bits!",
256
+ "bitvector-length",
257
+ "bitvector-position",
258
+ "bitvector-ref",
259
+ "bitvector-set!",
260
+ "bitvector-set-all-bits!",
261
+ "bitvector-set-bit!",
262
+ "bitvector-set-bits!",
263
+ "bitvector?",
264
+ "boolean?",
265
+ "bound-identifier=?",
266
+ "break",
267
+ "break!",
268
+ "caaaar",
269
+ "caaadr",
270
+ "caaar",
271
+ "caadar",
272
+ "caaddr",
273
+ "caadr",
274
+ "caar",
275
+ "cadaar",
276
+ "cadadr",
277
+ "cadar",
278
+ "caddar",
279
+ "cadddr",
280
+ "caddr",
281
+ "cadr",
282
+ "call-with-blocked-asyncs",
283
+ "call-with-current-continuation",
284
+ "call-with-deferred-observers",
285
+ "call-with-include-port",
286
+ "call-with-input-file",
287
+ "call-with-input-string",
288
+ "call-with-module-autoload-lock",
289
+ "call-with-output-file",
290
+ "call-with-output-string",
291
+ "call-with-port",
292
+ "call-with-prompt",
293
+ "call-with-unblocked-asyncs",
294
+ "call-with-values",
295
+ "call/cc",
296
+ "canonicalize-path",
297
+ "car",
298
+ "car+cdr",
299
+ "catch",
300
+ "cdaaar",
301
+ "cdaadr",
302
+ "cdaar",
303
+ "cdadar",
304
+ "cdaddr",
305
+ "cdadr",
306
+ "cdar",
307
+ "cddaar",
308
+ "cddadr",
309
+ "cddar",
310
+ "cdddar",
311
+ "cddddr",
312
+ "cdddr",
313
+ "cddr",
314
+ "cdr",
315
+ "ceiling",
316
+ "ceiling-quotient",
317
+ "ceiling-remainder",
318
+ "ceiling/",
319
+ "centered-quotient",
320
+ "centered-remainder",
321
+ "centered/",
322
+ "char->integer",
323
+ "char-alphabetic?",
324
+ "char-ci<=?",
325
+ "char-ci<?",
326
+ "char-ci=?",
327
+ "char-ci>=?",
328
+ "char-ci>?",
329
+ "char-downcase",
330
+ "char-general-category",
331
+ "char-is-both?",
332
+ "char-lower-case?",
333
+ "char-numeric?",
334
+ "char-ready?",
335
+ "char-set",
336
+ "char-set->list",
337
+ "char-set->string",
338
+ "char-set-adjoin",
339
+ "char-set-adjoin!",
340
+ "char-set-any",
341
+ "char-set-complement",
342
+ "char-set-complement!",
343
+ "char-set-contains?",
344
+ "char-set-copy",
345
+ "char-set-count",
346
+ "char-set-cursor",
347
+ "char-set-cursor-next",
348
+ "char-set-delete",
349
+ "char-set-delete!",
350
+ "char-set-diff+intersection",
351
+ "char-set-diff+intersection!",
352
+ "char-set-difference",
353
+ "char-set-difference!",
354
+ "char-set-every",
355
+ "char-set-filter",
356
+ "char-set-filter!",
357
+ "char-set-fold",
358
+ "char-set-for-each",
359
+ "char-set-hash",
360
+ "char-set-intersection",
361
+ "char-set-intersection!",
362
+ "char-set-map",
363
+ "char-set-ref",
364
+ "char-set-size",
365
+ "char-set-unfold",
366
+ "char-set-unfold!",
367
+ "char-set-union",
368
+ "char-set-union!",
369
+ "char-set-xor",
370
+ "char-set-xor!",
371
+ "char-set<=",
372
+ "char-set=",
373
+ "char-set?",
374
+ "char-titlecase",
375
+ "char-upcase",
376
+ "char-upper-case?",
377
+ "char-whitespace?",
378
+ "char<=?",
379
+ "char<?",
380
+ "char=?",
381
+ "char>=?",
382
+ "char>?",
383
+ "char?",
384
+ "chdir",
385
+ "chmod",
386
+ "chown",
387
+ "chroot",
388
+ "circular-list",
389
+ "circular-list?",
390
+ "close",
391
+ "close-fdes",
392
+ "close-input-port",
393
+ "close-output-port",
394
+ "close-port",
395
+ "closedir",
396
+ "command-line",
397
+ "complex?",
398
+ "compose",
399
+ "concatenate",
400
+ "concatenate!",
401
+ "cond-expand-provide",
402
+ "connect",
403
+ "cons",
404
+ "cons*",
405
+ "cons-source",
406
+ "const",
407
+ "convert-assignment",
408
+ "copy-file",
409
+ "copy-random-state",
410
+ "copy-tree",
411
+ "cos",
412
+ "cosh",
413
+ "count",
414
+ "crypt",
415
+ "ctermid",
416
+ "current-dynamic-state",
417
+ "current-error-port",
418
+ "current-input-port",
419
+ "current-language",
420
+ "current-load-port",
421
+ "current-module",
422
+ "current-output-port",
423
+ "current-time",
424
+ "current-warning-port",
425
+ "datum->random-state",
426
+ "datum->syntax",
427
+ "debug-disable",
428
+ "debug-enable",
429
+ "debug-options",
430
+ "debug-options-interface",
431
+ "default-duplicate-binding-handler",
432
+ "default-duplicate-binding-procedures",
433
+ "default-prompt-tag",
434
+ "define!",
435
+ "define-module*",
436
+ "defined?",
437
+ "delete",
438
+ "delete!",
439
+ "delete-duplicates",
440
+ "delete-duplicates!",
441
+ "delete-file",
442
+ "delete1!",
443
+ "delq",
444
+ "delq!",
445
+ "delq1!",
446
+ "delv",
447
+ "delv!",
448
+ "delv1!",
449
+ "denominator",
450
+ "directory-stream?",
451
+ "dirname",
452
+ "display",
453
+ "display-application",
454
+ "display-backtrace",
455
+ "display-error",
456
+ "dotted-list?",
457
+ "doubly-weak-hash-table?",
458
+ "drain-input",
459
+ "drop",
460
+ "drop-right",
461
+ "drop-right!",
462
+ "drop-while",
463
+ "dup",
464
+ "dup->fdes",
465
+ "dup->inport",
466
+ "dup->outport",
467
+ "dup->port",
468
+ "dup2",
469
+ "duplicate-port",
470
+ "dynamic-call",
471
+ "dynamic-func",
472
+ "dynamic-link",
473
+ "dynamic-object?",
474
+ "dynamic-pointer",
475
+ "dynamic-state?",
476
+ "dynamic-unlink",
477
+ "dynamic-wind",
478
+ "effective-version",
479
+ "eighth",
480
+ "end-of-char-set?",
481
+ "endgrent",
482
+ "endhostent",
483
+ "endnetent",
484
+ "endprotoent",
485
+ "endpwent",
486
+ "endservent",
487
+ "ensure-batch-mode!",
488
+ "environ",
489
+ "eof-object?",
490
+ "eq?",
491
+ "equal?",
492
+ "eqv?",
493
+ "error",
494
+ "euclidean-quotient",
495
+ "euclidean-remainder",
496
+ "euclidean/",
497
+ "eval",
498
+ "eval-string",
499
+ "even?",
500
+ "every",
501
+ "exact->inexact",
502
+ "exact-integer-sqrt",
503
+ "exact-integer?",
504
+ "exact?",
505
+ "exception-accessor",
506
+ "exception-args",
507
+ "exception-kind",
508
+ "exception-predicate",
509
+ "exception-type?",
510
+ "exception?",
511
+ "execl",
512
+ "execle",
513
+ "execlp",
514
+ "exit",
515
+ "exp",
516
+ "expt",
517
+ "f32vector",
518
+ "f32vector->list",
519
+ "f32vector-length",
520
+ "f32vector-ref",
521
+ "f32vector-set!",
522
+ "f32vector?",
523
+ "f64vector",
524
+ "f64vector->list",
525
+ "f64vector-length",
526
+ "f64vector-ref",
527
+ "f64vector-set!",
528
+ "f64vector?",
529
+ "fcntl",
530
+ "fdes->inport",
531
+ "fdes->outport",
532
+ "fdes->ports",
533
+ "fdopen",
534
+ "fifth",
535
+ "file-encoding",
536
+ "file-exists?",
537
+ "file-is-directory?",
538
+ "file-name-separator?",
539
+ "file-port?",
540
+ "file-position",
541
+ "file-set-position",
542
+ "fileno",
543
+ "filter",
544
+ "filter!",
545
+ "filter-map",
546
+ "find",
547
+ "find-tail",
548
+ "finite?",
549
+ "first",
550
+ "flock",
551
+ "floor",
552
+ "floor-quotient",
553
+ "floor-remainder",
554
+ "floor/",
555
+ "fluid->parameter",
556
+ "fluid-bound?",
557
+ "fluid-ref",
558
+ "fluid-ref*",
559
+ "fluid-set!",
560
+ "fluid-thread-local?",
561
+ "fluid-unset!",
562
+ "fluid?",
563
+ "flush-all-ports",
564
+ "fold",
565
+ "fold-right",
566
+ "for-each",
567
+ "force",
568
+ "force-output",
569
+ "format",
570
+ "fourth",
571
+ "frame-address",
572
+ "frame-arguments",
573
+ "frame-dynamic-link",
574
+ "frame-instruction-pointer",
575
+ "frame-previous",
576
+ "frame-procedure-name",
577
+ "frame-return-address",
578
+ "frame-source",
579
+ "frame-stack-pointer",
580
+ "frame?",
581
+ "free-identifier=?",
582
+ "fsync",
583
+ "ftell",
584
+ "gai-strerror",
585
+ "gc",
586
+ "gc-disable",
587
+ "gc-dump",
588
+ "gc-enable",
589
+ "gc-run-time",
590
+ "gc-stats",
591
+ "gcd",
592
+ "generate-temporaries",
593
+ "gensym",
594
+ "get-internal-real-time",
595
+ "get-internal-run-time",
596
+ "get-output-string",
597
+ "get-print-state",
598
+ "getaddrinfo",
599
+ "getaffinity",
600
+ "getcwd",
601
+ "getegid",
602
+ "getenv",
603
+ "geteuid",
604
+ "getgid",
605
+ "getgr",
606
+ "getgrent",
607
+ "getgrgid",
608
+ "getgrnam",
609
+ "getgroups",
610
+ "gethost",
611
+ "gethostbyaddr",
612
+ "gethostbyname",
613
+ "gethostent",
614
+ "gethostname",
615
+ "getitimer",
616
+ "getlogin",
617
+ "getnet",
618
+ "getnetbyaddr",
619
+ "getnetbyname",
620
+ "getnetent",
621
+ "getpass",
622
+ "getpeername",
623
+ "getpgrp",
624
+ "getpid",
625
+ "getppid",
626
+ "getpriority",
627
+ "getproto",
628
+ "getprotobyname",
629
+ "getprotobynumber",
630
+ "getprotoent",
631
+ "getpw",
632
+ "getpwent",
633
+ "getpwnam",
634
+ "getpwuid",
635
+ "getrlimit",
636
+ "getserv",
637
+ "getservbyname",
638
+ "getservbyport",
639
+ "getservent",
640
+ "getsid",
641
+ "getsockname",
642
+ "getsockopt",
643
+ "gettext",
644
+ "gettimeofday",
645
+ "getuid",
646
+ "gmtime",
647
+ "group:gid",
648
+ "group:mem",
649
+ "group:name",
650
+ "group:passwd",
651
+ "hash",
652
+ "hash-clear!",
653
+ "hash-count",
654
+ "hash-create-handle!",
655
+ "hash-fold",
656
+ "hash-for-each",
657
+ "hash-for-each-handle",
658
+ "hash-get-handle",
659
+ "hash-map->list",
660
+ "hash-ref",
661
+ "hash-remove!",
662
+ "hash-set!",
663
+ "hash-table?",
664
+ "hashq",
665
+ "hashq-create-handle!",
666
+ "hashq-get-handle",
667
+ "hashq-ref",
668
+ "hashq-remove!",
669
+ "hashq-set!",
670
+ "hashv",
671
+ "hashv-create-handle!",
672
+ "hashv-get-handle",
673
+ "hashv-ref",
674
+ "hashv-remove!",
675
+ "hashv-set!",
676
+ "hashx-create-handle!",
677
+ "hashx-get-handle",
678
+ "hashx-ref",
679
+ "hashx-remove!",
680
+ "hashx-set!",
681
+ "hook->list",
682
+ "hook-empty?",
683
+ "hook?",
684
+ "hostent:addr-list",
685
+ "hostent:addrtype",
686
+ "hostent:aliases",
687
+ "hostent:length",
688
+ "hostent:name",
689
+ "identifier?",
690
+ "identity",
691
+ "imag-part",
692
+ "in-vicinity",
693
+ "include-deprecated-features",
694
+ "inet-lnaof",
695
+ "inet-makeaddr",
696
+ "inet-netof",
697
+ "inet-ntop",
698
+ "inet-pton",
699
+ "inexact->exact",
700
+ "inexact?",
701
+ "inf",
702
+ "inf?",
703
+ "inherit-print-state",
704
+ "input-port?",
705
+ "install-r6rs!",
706
+ "install-r7rs!",
707
+ "integer->char",
708
+ "integer-expt",
709
+ "integer-length",
710
+ "integer?",
711
+ "interaction-environment",
712
+ "iota",
713
+ "isatty?",
714
+ "issue-deprecation-warning",
715
+ "keyword->symbol",
716
+ "keyword-like-symbol->keyword",
717
+ "keyword?",
718
+ "kill",
719
+ "kw-arg-ref",
720
+ "last",
721
+ "last-pair",
722
+ "lcm",
723
+ "length",
724
+ "length+",
725
+ "link",
726
+ "list",
727
+ "list->array",
728
+ "list->bitvector",
729
+ "list->char-set",
730
+ "list->char-set!",
731
+ "list->f32vector",
732
+ "list->f64vector",
733
+ "list->s16vector",
734
+ "list->s32vector",
735
+ "list->s64vector",
736
+ "list->s8vector",
737
+ "list->string",
738
+ "list->symbol",
739
+ "list->typed-array",
740
+ "list->u16vector",
741
+ "list->u32vector",
742
+ "list->u64vector",
743
+ "list->u8vector",
744
+ "list->vector",
745
+ "list-cdr-ref",
746
+ "list-cdr-set!",
747
+ "list-copy",
748
+ "list-head",
749
+ "list-index",
750
+ "list-ref",
751
+ "list-set!",
752
+ "list-tabulate",
753
+ "list-tail",
754
+ "list=",
755
+ "list?",
756
+ "listen",
757
+ "load-compiled",
758
+ "load-extension",
759
+ "load-from-path",
760
+ "load-in-vicinity",
761
+ "load-user-init",
762
+ "local-define",
763
+ "local-define-module",
764
+ "local-ref",
765
+ "local-ref-module",
766
+ "local-remove",
767
+ "local-set!",
768
+ "localtime",
769
+ "log",
770
+ "log10",
771
+ "logand",
772
+ "logbit?",
773
+ "logcount",
774
+ "logior",
775
+ "lognot",
776
+ "logtest",
777
+ "logxor",
778
+ "lookup-duplicates-handlers",
779
+ "lset-adjoin",
780
+ "lset-diff+intersection",
781
+ "lset-diff+intersection!",
782
+ "lset-difference",
783
+ "lset-difference!",
784
+ "lset-intersection",
785
+ "lset-intersection!",
786
+ "lset-union",
787
+ "lset-union!",
788
+ "lset-xor",
789
+ "lset-xor!",
790
+ "lset<=",
791
+ "lset=",
792
+ "lstat",
793
+ "macro-binding",
794
+ "macro-name",
795
+ "macro-transformer",
796
+ "macro-type",
797
+ "macro?",
798
+ "macroexpand",
799
+ "macroexpanded?",
800
+ "magnitude",
801
+ "major-version",
802
+ "make-array",
803
+ "make-autoload-interface",
804
+ "make-bitvector",
805
+ "make-doubly-weak-hash-table",
806
+ "make-exception",
807
+ "make-exception-from-throw",
808
+ "make-exception-type",
809
+ "make-f32vector",
810
+ "make-f64vector",
811
+ "make-fluid",
812
+ "make-fresh-user-module",
813
+ "make-generalized-vector",
814
+ "make-guardian",
815
+ "make-hash-table",
816
+ "make-hook",
817
+ "make-list",
818
+ "make-module",
819
+ "make-modules-in",
820
+ "make-mutable-parameter",
821
+ "make-object-property",
822
+ "make-parameter",
823
+ "make-polar",
824
+ "make-procedure-with-setter",
825
+ "make-promise",
826
+ "make-prompt-tag",
827
+ "make-record-type",
828
+ "make-rectangular",
829
+ "make-regexp",
830
+ "make-s16vector",
831
+ "make-s32vector",
832
+ "make-s64vector",
833
+ "make-s8vector",
834
+ "make-shared-array",
835
+ "make-socket-address",
836
+ "make-soft-port",
837
+ "make-srfi-4-vector",
838
+ "make-stack",
839
+ "make-string",
840
+ "make-struct-layout",
841
+ "make-struct/no-tail",
842
+ "make-struct/simple",
843
+ "make-symbol",
844
+ "make-syntax-transformer",
845
+ "make-thread-local-fluid",
846
+ "make-typed-array",
847
+ "make-u16vector",
848
+ "make-u32vector",
849
+ "make-u64vector",
850
+ "make-u8vector",
851
+ "make-unbound-fluid",
852
+ "make-undefined-variable",
853
+ "make-variable",
854
+ "make-variable-transformer",
855
+ "make-vector",
856
+ "make-vtable",
857
+ "make-weak-key-hash-table",
858
+ "make-weak-value-hash-table",
859
+ "map",
860
+ "map!",
861
+ "map-in-order",
862
+ "max",
863
+ "member",
864
+ "memoize-expression",
865
+ "memoized-typecode",
866
+ "memq",
867
+ "memv",
868
+ "merge",
869
+ "merge!",
870
+ "micro-version",
871
+ "min",
872
+ "minor-version",
873
+ "mkdir",
874
+ "mkdtemp",
875
+ "mknod",
876
+ "mkstemp",
877
+ "mkstemp!",
878
+ "mktime",
879
+ "module-add!",
880
+ "module-autoload!",
881
+ "module-binder",
882
+ "module-bound?",
883
+ "module-call-observers",
884
+ "module-clear!",
885
+ "module-constructor",
886
+ "module-declarative?",
887
+ "module-defer-observers",
888
+ "module-define!",
889
+ "module-define-submodule!",
890
+ "module-defined?",
891
+ "module-duplicates-handlers",
892
+ "module-ensure-local-variable!",
893
+ "module-export!",
894
+ "module-export-all!",
895
+ "module-filename",
896
+ "module-for-each",
897
+ "module-generate-unique-id!",
898
+ "module-gensym",
899
+ "module-import-interface",
900
+ "module-import-obarray",
901
+ "module-kind",
902
+ "module-local-variable",
903
+ "module-locally-bound?",
904
+ "module-make-local-var!",
905
+ "module-map",
906
+ "module-modified",
907
+ "module-name",
908
+ "module-next-unique-id",
909
+ "module-obarray",
910
+ "module-obarray-get-handle",
911
+ "module-obarray-ref",
912
+ "module-obarray-remove!",
913
+ "module-obarray-set!",
914
+ "module-observe",
915
+ "module-observe-weak",
916
+ "module-observers",
917
+ "module-public-interface",
918
+ "module-re-export!",
919
+ "module-ref",
920
+ "module-ref-submodule",
921
+ "module-remove!",
922
+ "module-replace!",
923
+ "module-replacements",
924
+ "module-reverse-lookup",
925
+ "module-search",
926
+ "module-set!",
927
+ "module-submodule-binder",
928
+ "module-submodules",
929
+ "module-symbol-binding",
930
+ "module-symbol-interned?",
931
+ "module-symbol-local-binding",
932
+ "module-symbol-locally-interned?",
933
+ "module-transformer",
934
+ "module-unobserve",
935
+ "module-use!",
936
+ "module-use-interfaces!",
937
+ "module-uses",
938
+ "module-variable",
939
+ "module-version",
940
+ "module-weak-observers",
941
+ "module?",
942
+ "modulo",
943
+ "modulo-expt",
944
+ "move->fdes",
945
+ "nan",
946
+ "nan?",
947
+ "negate",
948
+ "negative?",
949
+ "nested-define!",
950
+ "nested-define-module!",
951
+ "nested-ref",
952
+ "nested-ref-module",
953
+ "nested-remove!",
954
+ "nested-set!",
955
+ "netent:addrtype",
956
+ "netent:aliases",
957
+ "netent:name",
958
+ "netent:net",
959
+ "newline",
960
+ "ngettext",
961
+ "nice",
962
+ "nil?",
963
+ "ninth",
964
+ "noop",
965
+ "not",
966
+ "not-pair?",
967
+ "null-environment",
968
+ "null-list?",
969
+ "null?",
970
+ "number->string",
971
+ "number?",
972
+ "numerator",
973
+ "object->string",
974
+ "object-address",
975
+ "object-properties",
976
+ "object-property",
977
+ "odd?",
978
+ "open",
979
+ "open-fdes",
980
+ "open-file",
981
+ "open-input-file",
982
+ "open-input-string",
983
+ "open-io-file",
984
+ "open-output-file",
985
+ "open-output-string",
986
+ "opendir",
987
+ "or-map",
988
+ "output-port?",
989
+ "pair-fold",
990
+ "pair-fold-right",
991
+ "pair-for-each",
992
+ "pair?",
993
+ "parameter-converter",
994
+ "parameter-fluid",
995
+ "parameter?",
996
+ "parse-path",
997
+ "parse-path-with-ellipsis",
998
+ "partition",
999
+ "partition!",
1000
+ "passwd:dir",
1001
+ "passwd:gecos",
1002
+ "passwd:gid",
1003
+ "passwd:name",
1004
+ "passwd:passwd",
1005
+ "passwd:shell",
1006
+ "passwd:uid",
1007
+ "pause",
1008
+ "peek",
1009
+ "peek-char",
1010
+ "pipe",
1011
+ "pk",
1012
+ "port->fdes",
1013
+ "port-closed?",
1014
+ "port-column",
1015
+ "port-conversion-strategy",
1016
+ "port-encoding",
1017
+ "port-filename",
1018
+ "port-for-each",
1019
+ "port-line",
1020
+ "port-mode",
1021
+ "port-revealed",
1022
+ "port-with-print-state",
1023
+ "port?",
1024
+ "positive?",
1025
+ "primitive-_exit",
1026
+ "primitive-eval",
1027
+ "primitive-exit",
1028
+ "primitive-fork",
1029
+ "primitive-load",
1030
+ "primitive-load-path",
1031
+ "primitive-move->fdes",
1032
+ "primitive-read",
1033
+ "print-disable",
1034
+ "print-enable",
1035
+ "print-exception",
1036
+ "print-options",
1037
+ "print-options-interface",
1038
+ "procedure",
1039
+ "procedure-documentation",
1040
+ "procedure-minimum-arity",
1041
+ "procedure-name",
1042
+ "procedure-properties",
1043
+ "procedure-property",
1044
+ "procedure-source",
1045
+ "procedure-with-setter?",
1046
+ "procedure?",
1047
+ "process-use-modules",
1048
+ "program-arguments",
1049
+ "promise?",
1050
+ "proper-list?",
1051
+ "protoent:aliases",
1052
+ "protoent:name",
1053
+ "protoent:proto",
1054
+ "provide",
1055
+ "provided?",
1056
+ "purify-module!",
1057
+ "putenv",
1058
+ "quit",
1059
+ "quotient",
1060
+ "raise",
1061
+ "raise-exception",
1062
+ "random",
1063
+ "random-state->datum",
1064
+ "random-state-from-platform",
1065
+ "random:exp",
1066
+ "random:hollow-sphere!",
1067
+ "random:normal",
1068
+ "random:normal-vector!",
1069
+ "random:solid-sphere!",
1070
+ "random:uniform",
1071
+ "rational?",
1072
+ "rationalize",
1073
+ "read",
1074
+ "read-char",
1075
+ "read-disable",
1076
+ "read-enable",
1077
+ "read-hash-extend",
1078
+ "read-hash-procedure",
1079
+ "read-hash-procedures",
1080
+ "read-options",
1081
+ "read-options-interface",
1082
+ "read-syntax",
1083
+ "readdir",
1084
+ "readlink",
1085
+ "real-part",
1086
+ "real?",
1087
+ "record-accessor",
1088
+ "record-constructor",
1089
+ "record-modifier",
1090
+ "record-predicate",
1091
+ "record-type-constructor",
1092
+ "record-type-descriptor",
1093
+ "record-type-extensible?",
1094
+ "record-type-fields",
1095
+ "record-type-has-parent?",
1096
+ "record-type-mutable-fields",
1097
+ "record-type-name",
1098
+ "record-type-opaque?",
1099
+ "record-type-parent",
1100
+ "record-type-parents",
1101
+ "record-type-properties",
1102
+ "record-type-uid",
1103
+ "record-type?",
1104
+ "record?",
1105
+ "recv!",
1106
+ "recvfrom!",
1107
+ "redirect-port",
1108
+ "reduce",
1109
+ "reduce-right",
1110
+ "regexp-exec",
1111
+ "regexp?",
1112
+ "release-port-handle",
1113
+ "reload-module",
1114
+ "remainder",
1115
+ "remove",
1116
+ "remove!",
1117
+ "remove-hook!",
1118
+ "rename-file",
1119
+ "repl-reader",
1120
+ "reset-hook!",
1121
+ "resolve-interface",
1122
+ "resolve-module",
1123
+ "resolve-r6rs-interface",
1124
+ "restore-signals",
1125
+ "restricted-vector-sort!",
1126
+ "reverse",
1127
+ "reverse!",
1128
+ "reverse-list->string",
1129
+ "rewinddir",
1130
+ "rmdir",
1131
+ "round",
1132
+ "round-ash",
1133
+ "round-quotient",
1134
+ "round-remainder",
1135
+ "round/",
1136
+ "run-hook",
1137
+ "s16vector",
1138
+ "s16vector->list",
1139
+ "s16vector-length",
1140
+ "s16vector-ref",
1141
+ "s16vector-set!",
1142
+ "s16vector?",
1143
+ "s32vector",
1144
+ "s32vector->list",
1145
+ "s32vector-length",
1146
+ "s32vector-ref",
1147
+ "s32vector-set!",
1148
+ "s32vector?",
1149
+ "s64vector",
1150
+ "s64vector->list",
1151
+ "s64vector-length",
1152
+ "s64vector-ref",
1153
+ "s64vector-set!",
1154
+ "s64vector?",
1155
+ "s8vector",
1156
+ "s8vector->list",
1157
+ "s8vector-length",
1158
+ "s8vector-ref",
1159
+ "s8vector-set!",
1160
+ "s8vector?",
1161
+ "save-module-excursion",
1162
+ "scheme-report-environment",
1163
+ "scm-error",
1164
+ "search-path",
1165
+ "second",
1166
+ "seed->random-state",
1167
+ "seek",
1168
+ "select",
1169
+ "self-evaluating?",
1170
+ "send",
1171
+ "sendfile",
1172
+ "sendto",
1173
+ "servent:aliases",
1174
+ "servent:name",
1175
+ "servent:port",
1176
+ "servent:proto",
1177
+ "set-autoloaded!",
1178
+ "set-car!",
1179
+ "set-cdr!",
1180
+ "set-current-dynamic-state",
1181
+ "set-current-error-port",
1182
+ "set-current-input-port",
1183
+ "set-current-module",
1184
+ "set-current-output-port",
1185
+ "set-exception-printer!",
1186
+ "set-module-binder!",
1187
+ "set-module-declarative?!",
1188
+ "set-module-duplicates-handlers!",
1189
+ "set-module-filename!",
1190
+ "set-module-kind!",
1191
+ "set-module-name!",
1192
+ "set-module-next-unique-id!",
1193
+ "set-module-obarray!",
1194
+ "set-module-observers!",
1195
+ "set-module-public-interface!",
1196
+ "set-module-submodule-binder!",
1197
+ "set-module-submodules!",
1198
+ "set-module-transformer!",
1199
+ "set-module-uses!",
1200
+ "set-module-version!",
1201
+ "set-object-properties!",
1202
+ "set-object-property!",
1203
+ "set-port-column!",
1204
+ "set-port-conversion-strategy!",
1205
+ "set-port-encoding!",
1206
+ "set-port-filename!",
1207
+ "set-port-line!",
1208
+ "set-port-revealed!",
1209
+ "set-procedure-minimum-arity!",
1210
+ "set-procedure-properties!",
1211
+ "set-procedure-property!",
1212
+ "set-program-arguments",
1213
+ "set-source-properties!",
1214
+ "set-source-property!",
1215
+ "set-struct-vtable-name!",
1216
+ "set-symbol-property!",
1217
+ "set-tm:gmtoff",
1218
+ "set-tm:hour",
1219
+ "set-tm:isdst",
1220
+ "set-tm:mday",
1221
+ "set-tm:min",
1222
+ "set-tm:mon",
1223
+ "set-tm:sec",
1224
+ "set-tm:wday",
1225
+ "set-tm:yday",
1226
+ "set-tm:year",
1227
+ "set-tm:zone",
1228
+ "setaffinity",
1229
+ "setegid",
1230
+ "setenv",
1231
+ "seteuid",
1232
+ "setgid",
1233
+ "setgr",
1234
+ "setgrent",
1235
+ "setgroups",
1236
+ "sethost",
1237
+ "sethostent",
1238
+ "sethostname",
1239
+ "setitimer",
1240
+ "setlocale",
1241
+ "setnet",
1242
+ "setnetent",
1243
+ "setpgid",
1244
+ "setpriority",
1245
+ "setproto",
1246
+ "setprotoent",
1247
+ "setpw",
1248
+ "setpwent",
1249
+ "setrlimit",
1250
+ "setserv",
1251
+ "setservent",
1252
+ "setsid",
1253
+ "setsockopt",
1254
+ "setter",
1255
+ "setuid",
1256
+ "setvbuf",
1257
+ "seventh",
1258
+ "shared-array-increments",
1259
+ "shared-array-offset",
1260
+ "shared-array-root",
1261
+ "shutdown",
1262
+ "sigaction",
1263
+ "simple-exceptions",
1264
+ "simple-format",
1265
+ "sin",
1266
+ "sinh",
1267
+ "sixth",
1268
+ "sleep",
1269
+ "sloppy-assoc",
1270
+ "sloppy-assq",
1271
+ "sloppy-assv",
1272
+ "sockaddr:addr",
1273
+ "sockaddr:fam",
1274
+ "sockaddr:flowinfo",
1275
+ "sockaddr:path",
1276
+ "sockaddr:port",
1277
+ "sockaddr:scopeid",
1278
+ "socket",
1279
+ "socketpair",
1280
+ "sort",
1281
+ "sort!",
1282
+ "sort-list",
1283
+ "sort-list!",
1284
+ "sorted?",
1285
+ "source-properties",
1286
+ "source-property",
1287
+ "span",
1288
+ "span!",
1289
+ "split-at",
1290
+ "split-at!",
1291
+ "sqrt",
1292
+ "stable-sort",
1293
+ "stable-sort!",
1294
+ "stack-id",
1295
+ "stack-length",
1296
+ "stack-ref",
1297
+ "stack?",
1298
+ "stat",
1299
+ "stat:atime",
1300
+ "stat:atimensec",
1301
+ "stat:blksize",
1302
+ "stat:blocks",
1303
+ "stat:ctime",
1304
+ "stat:ctimensec",
1305
+ "stat:dev",
1306
+ "stat:gid",
1307
+ "stat:ino",
1308
+ "stat:mode",
1309
+ "stat:mtime",
1310
+ "stat:mtimensec",
1311
+ "stat:nlink",
1312
+ "stat:perms",
1313
+ "stat:rdev",
1314
+ "stat:size",
1315
+ "stat:type",
1316
+ "stat:uid",
1317
+ "status:exit-val",
1318
+ "status:stop-sig",
1319
+ "status:term-sig",
1320
+ "strerror",
1321
+ "strftime",
1322
+ "string",
1323
+ "string->char-set",
1324
+ "string->char-set!",
1325
+ "string->list",
1326
+ "string->number",
1327
+ "string->symbol",
1328
+ "string-any",
1329
+ "string-any-c-code",
1330
+ "string-append",
1331
+ "string-append/shared",
1332
+ "string-bytes-per-char",
1333
+ "string-capitalize",
1334
+ "string-capitalize!",
1335
+ "string-ci->symbol",
1336
+ "string-ci<",
1337
+ "string-ci<=",
1338
+ "string-ci<=?",
1339
+ "string-ci<>",
1340
+ "string-ci<?",
1341
+ "string-ci=",
1342
+ "string-ci=?",
1343
+ "string-ci>",
1344
+ "string-ci>=",
1345
+ "string-ci>=?",
1346
+ "string-ci>?",
1347
+ "string-compare",
1348
+ "string-compare-ci",
1349
+ "string-concatenate",
1350
+ "string-concatenate-reverse",
1351
+ "string-concatenate-reverse/shared",
1352
+ "string-concatenate/shared",
1353
+ "string-contains",
1354
+ "string-contains-ci",
1355
+ "string-copy",
1356
+ "string-copy!",
1357
+ "string-count",
1358
+ "string-delete",
1359
+ "string-downcase",
1360
+ "string-downcase!",
1361
+ "string-drop",
1362
+ "string-drop-right",
1363
+ "string-every",
1364
+ "string-every-c-code",
1365
+ "string-fill!",
1366
+ "string-filter",
1367
+ "string-fold",
1368
+ "string-fold-right",
1369
+ "string-for-each",
1370
+ "string-for-each-index",
1371
+ "string-hash",
1372
+ "string-hash-ci",
1373
+ "string-index",
1374
+ "string-index-right",
1375
+ "string-join",
1376
+ "string-length",
1377
+ "string-map",
1378
+ "string-map!",
1379
+ "string-normalize-nfc",
1380
+ "string-normalize-nfd",
1381
+ "string-normalize-nfkc",
1382
+ "string-normalize-nfkd",
1383
+ "string-null?",
1384
+ "string-pad",
1385
+ "string-pad-right",
1386
+ "string-prefix-ci?",
1387
+ "string-prefix-length",
1388
+ "string-prefix-length-ci",
1389
+ "string-prefix?",
1390
+ "string-ref",
1391
+ "string-replace",
1392
+ "string-reverse",
1393
+ "string-reverse!",
1394
+ "string-rindex",
1395
+ "string-set!",
1396
+ "string-skip",
1397
+ "string-skip-right",
1398
+ "string-split",
1399
+ "string-suffix-ci?",
1400
+ "string-suffix-length",
1401
+ "string-suffix-length-ci",
1402
+ "string-suffix?",
1403
+ "string-tabulate",
1404
+ "string-take",
1405
+ "string-take-right",
1406
+ "string-titlecase",
1407
+ "string-titlecase!",
1408
+ "string-tokenize",
1409
+ "string-trim",
1410
+ "string-trim-both",
1411
+ "string-trim-right",
1412
+ "string-unfold",
1413
+ "string-unfold-right",
1414
+ "string-upcase",
1415
+ "string-upcase!",
1416
+ "string-utf8-length",
1417
+ "string-xcopy!",
1418
+ "string<",
1419
+ "string<=",
1420
+ "string<=?",
1421
+ "string<>",
1422
+ "string<?",
1423
+ "string=",
1424
+ "string=?",
1425
+ "string>",
1426
+ "string>=",
1427
+ "string>=?",
1428
+ "string>?",
1429
+ "string?",
1430
+ "strptime",
1431
+ "struct-layout",
1432
+ "struct-ref",
1433
+ "struct-ref/unboxed",
1434
+ "struct-set!",
1435
+ "struct-set!/unboxed",
1436
+ "struct-vtable",
1437
+ "struct-vtable-name",
1438
+ "struct-vtable?",
1439
+ "struct?",
1440
+ "substring",
1441
+ "substring-fill!",
1442
+ "substring-move!",
1443
+ "substring/copy",
1444
+ "substring/read-only",
1445
+ "substring/shared",
1446
+ "supports-source-properties?",
1447
+ "symbol",
1448
+ "symbol->keyword",
1449
+ "symbol->string",
1450
+ "symbol-append",
1451
+ "symbol-fref",
1452
+ "symbol-fset!",
1453
+ "symbol-hash",
1454
+ "symbol-interned?",
1455
+ "symbol-pref",
1456
+ "symbol-prefix-proc",
1457
+ "symbol-property",
1458
+ "symbol-property-remove!",
1459
+ "symbol-pset!",
1460
+ "symbol?",
1461
+ "symlink",
1462
+ "sync",
1463
+ "syntax->datum",
1464
+ "syntax-source",
1465
+ "syntax-violation",
1466
+ "system",
1467
+ "system*",
1468
+ "system-async-mark",
1469
+ "system-error-errno",
1470
+ "system-file-name-convention",
1471
+ "take",
1472
+ "take!",
1473
+ "take-right",
1474
+ "take-while",
1475
+ "take-while!",
1476
+ "tan",
1477
+ "tanh",
1478
+ "tcgetpgrp",
1479
+ "tcsetpgrp",
1480
+ "tenth",
1481
+ "textdomain",
1482
+ "third",
1483
+ "throw",
1484
+ "thunk?",
1485
+ "times",
1486
+ "tm:gmtoff",
1487
+ "tm:hour",
1488
+ "tm:isdst",
1489
+ "tm:mday",
1490
+ "tm:min",
1491
+ "tm:mon",
1492
+ "tm:sec",
1493
+ "tm:wday",
1494
+ "tm:yday",
1495
+ "tm:year",
1496
+ "tm:zone",
1497
+ "tmpfile",
1498
+ "tmpnam",
1499
+ "tms:clock",
1500
+ "tms:cstime",
1501
+ "tms:cutime",
1502
+ "tms:stime",
1503
+ "tms:utime",
1504
+ "transpose-array",
1505
+ "truncate",
1506
+ "truncate-file",
1507
+ "truncate-quotient",
1508
+ "truncate-remainder",
1509
+ "truncate/",
1510
+ "try-load-module",
1511
+ "try-module-autoload",
1512
+ "ttyname",
1513
+ "typed-array?",
1514
+ "tzset",
1515
+ "u16vector",
1516
+ "u16vector->list",
1517
+ "u16vector-length",
1518
+ "u16vector-ref",
1519
+ "u16vector-set!",
1520
+ "u16vector?",
1521
+ "u32vector",
1522
+ "u32vector->list",
1523
+ "u32vector-length",
1524
+ "u32vector-ref",
1525
+ "u32vector-set!",
1526
+ "u32vector?",
1527
+ "u64vector",
1528
+ "u64vector->list",
1529
+ "u64vector-length",
1530
+ "u64vector-ref",
1531
+ "u64vector-set!",
1532
+ "u64vector?",
1533
+ "u8vector",
1534
+ "u8vector->list",
1535
+ "u8vector-length",
1536
+ "u8vector-ref",
1537
+ "u8vector-set!",
1538
+ "u8vector?",
1539
+ "ucs-range->char-set",
1540
+ "ucs-range->char-set!",
1541
+ "umask",
1542
+ "uname",
1543
+ "unfold",
1544
+ "unfold-right",
1545
+ "unmemoize-expression",
1546
+ "unread-char",
1547
+ "unread-string",
1548
+ "unsetenv",
1549
+ "unspecified?",
1550
+ "unzip1",
1551
+ "unzip2",
1552
+ "unzip3",
1553
+ "unzip4",
1554
+ "unzip5",
1555
+ "use-srfis",
1556
+ "user-modules-declarative?",
1557
+ "using-readline?",
1558
+ "usleep",
1559
+ "utime",
1560
+ "utsname:machine",
1561
+ "utsname:nodename",
1562
+ "utsname:release",
1563
+ "utsname:sysname",
1564
+ "utsname:version",
1565
+ "values",
1566
+ "variable-bound?",
1567
+ "variable-ref",
1568
+ "variable-set!",
1569
+ "variable-unset!",
1570
+ "variable?",
1571
+ "vector",
1572
+ "vector->list",
1573
+ "vector-copy",
1574
+ "vector-fill!",
1575
+ "vector-length",
1576
+ "vector-move-left!",
1577
+ "vector-move-right!",
1578
+ "vector-ref",
1579
+ "vector-set!",
1580
+ "vector?",
1581
+ "version",
1582
+ "version-matches?",
1583
+ "waitpid",
1584
+ "warn",
1585
+ "weak-key-hash-table?",
1586
+ "weak-value-hash-table?",
1587
+ "with-continuation-barrier",
1588
+ "with-dynamic-state",
1589
+ "with-error-to-file",
1590
+ "with-error-to-port",
1591
+ "with-error-to-string",
1592
+ "with-exception-handler",
1593
+ "with-fluid*",
1594
+ "with-fluids*",
1595
+ "with-input-from-file",
1596
+ "with-input-from-port",
1597
+ "with-input-from-string",
1598
+ "with-output-to-file",
1599
+ "with-output-to-port",
1600
+ "with-output-to-string",
1601
+ "with-throw-handler",
1602
+ "write",
1603
+ "write-char",
1604
+ "xcons",
1605
+ "xsubstring",
1606
+ "zero?",
1607
+ "zip",
1608
+ }
1609
+
py311/lib/python3.11/site-packages/pygments/lexers/_sourcemod_builtins.py ADDED
@@ -0,0 +1,1151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._sourcemod_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ This file contains the names of SourceMod functions.
6
+
7
+ Do not edit the FUNCTIONS list by hand.
8
+
9
+ Run with `python -I` to regenerate.
10
+
11
+ :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
12
+ :license: BSD, see LICENSE for details.
13
+ """
14
+
15
+ FUNCTIONS = (
16
+ 'OnEntityCreated',
17
+ 'OnEntityDestroyed',
18
+ 'OnGetGameDescription',
19
+ 'OnLevelInit',
20
+ 'SDKHook',
21
+ 'SDKHookEx',
22
+ 'SDKUnhook',
23
+ 'SDKHooks_TakeDamage',
24
+ 'SDKHooks_DropWeapon',
25
+ 'TopMenuHandler',
26
+ 'CreateTopMenu',
27
+ 'LoadTopMenuConfig',
28
+ 'AddToTopMenu',
29
+ 'GetTopMenuInfoString',
30
+ 'GetTopMenuObjName',
31
+ 'RemoveFromTopMenu',
32
+ 'DisplayTopMenu',
33
+ 'DisplayTopMenuCategory',
34
+ 'FindTopMenuCategory',
35
+ 'SetTopMenuTitleCaching',
36
+ 'OnAdminMenuCreated',
37
+ 'OnAdminMenuReady',
38
+ 'GetAdminTopMenu',
39
+ 'AddTargetsToMenu',
40
+ 'AddTargetsToMenu2',
41
+ 'RedisplayAdminMenu',
42
+ 'TEHook',
43
+ 'AddTempEntHook',
44
+ 'RemoveTempEntHook',
45
+ 'TE_Start',
46
+ 'TE_IsValidProp',
47
+ 'TE_WriteNum',
48
+ 'TE_ReadNum',
49
+ 'TE_WriteFloat',
50
+ 'TE_ReadFloat',
51
+ 'TE_WriteVector',
52
+ 'TE_ReadVector',
53
+ 'TE_WriteAngles',
54
+ 'TE_WriteFloatArray',
55
+ 'TE_Send',
56
+ 'TE_WriteEncodedEnt',
57
+ 'TE_SendToAll',
58
+ 'TE_SendToClient',
59
+ 'CreateKeyValues',
60
+ 'KvSetString',
61
+ 'KvSetNum',
62
+ 'KvSetUInt64',
63
+ 'KvSetFloat',
64
+ 'KvSetColor',
65
+ 'KvSetVector',
66
+ 'KvGetString',
67
+ 'KvGetNum',
68
+ 'KvGetFloat',
69
+ 'KvGetColor',
70
+ 'KvGetUInt64',
71
+ 'KvGetVector',
72
+ 'KvJumpToKey',
73
+ 'KvJumpToKeySymbol',
74
+ 'KvGotoFirstSubKey',
75
+ 'KvGotoNextKey',
76
+ 'KvSavePosition',
77
+ 'KvDeleteKey',
78
+ 'KvDeleteThis',
79
+ 'KvGoBack',
80
+ 'KvRewind',
81
+ 'KvGetSectionName',
82
+ 'KvSetSectionName',
83
+ 'KvGetDataType',
84
+ 'KeyValuesToFile',
85
+ 'FileToKeyValues',
86
+ 'StringToKeyValues',
87
+ 'KvSetEscapeSequences',
88
+ 'KvNodesInStack',
89
+ 'KvCopySubkeys',
90
+ 'KvFindKeyById',
91
+ 'KvGetNameSymbol',
92
+ 'KvGetSectionSymbol',
93
+ 'TE_SetupSparks',
94
+ 'TE_SetupSmoke',
95
+ 'TE_SetupDust',
96
+ 'TE_SetupMuzzleFlash',
97
+ 'TE_SetupMetalSparks',
98
+ 'TE_SetupEnergySplash',
99
+ 'TE_SetupArmorRicochet',
100
+ 'TE_SetupGlowSprite',
101
+ 'TE_SetupExplosion',
102
+ 'TE_SetupBloodSprite',
103
+ 'TE_SetupBeamRingPoint',
104
+ 'TE_SetupBeamPoints',
105
+ 'TE_SetupBeamLaser',
106
+ 'TE_SetupBeamRing',
107
+ 'TE_SetupBeamFollow',
108
+ 'HookEvent',
109
+ 'HookEventEx',
110
+ 'UnhookEvent',
111
+ 'CreateEvent',
112
+ 'FireEvent',
113
+ 'CancelCreatedEvent',
114
+ 'GetEventBool',
115
+ 'SetEventBool',
116
+ 'GetEventInt',
117
+ 'SetEventInt',
118
+ 'GetEventFloat',
119
+ 'SetEventFloat',
120
+ 'GetEventString',
121
+ 'SetEventString',
122
+ 'GetEventName',
123
+ 'SetEventBroadcast',
124
+ 'GetUserMessageType',
125
+ 'GetUserMessageId',
126
+ 'GetUserMessageName',
127
+ 'StartMessage',
128
+ 'StartMessageEx',
129
+ 'EndMessage',
130
+ 'MsgHook',
131
+ 'MsgPostHook',
132
+ 'HookUserMessage',
133
+ 'UnhookUserMessage',
134
+ 'StartMessageAll',
135
+ 'StartMessageOne',
136
+ 'InactivateClient',
137
+ 'ReconnectClient',
138
+ 'GetMaxEntities',
139
+ 'GetEntityCount',
140
+ 'IsValidEntity',
141
+ 'IsValidEdict',
142
+ 'IsEntNetworkable',
143
+ 'CreateEdict',
144
+ 'RemoveEdict',
145
+ 'GetEdictFlags',
146
+ 'SetEdictFlags',
147
+ 'GetEdictClassname',
148
+ 'GetEntityNetClass',
149
+ 'ChangeEdictState',
150
+ 'GetEntData',
151
+ 'SetEntData',
152
+ 'GetEntDataFloat',
153
+ 'SetEntDataFloat',
154
+ 'GetEntDataEnt2',
155
+ 'SetEntDataEnt2',
156
+ 'GetEntDataVector',
157
+ 'SetEntDataVector',
158
+ 'GetEntDataString',
159
+ 'SetEntDataString',
160
+ 'FindSendPropOffs',
161
+ 'FindSendPropInfo',
162
+ 'FindDataMapOffs',
163
+ 'FindDataMapInfo',
164
+ 'GetEntSendPropOffs',
165
+ 'GetEntProp',
166
+ 'SetEntProp',
167
+ 'GetEntPropFloat',
168
+ 'SetEntPropFloat',
169
+ 'GetEntPropEnt',
170
+ 'SetEntPropEnt',
171
+ 'GetEntPropVector',
172
+ 'SetEntPropVector',
173
+ 'GetEntPropString',
174
+ 'SetEntPropString',
175
+ 'GetEntPropArraySize',
176
+ 'GetEntDataArray',
177
+ 'SetEntDataArray',
178
+ 'GetEntityAddress',
179
+ 'GetEntityClassname',
180
+ 'float',
181
+ 'FloatMul',
182
+ 'FloatDiv',
183
+ 'FloatAdd',
184
+ 'FloatSub',
185
+ 'FloatFraction',
186
+ 'RoundToZero',
187
+ 'RoundToCeil',
188
+ 'RoundToFloor',
189
+ 'RoundToNearest',
190
+ 'FloatCompare',
191
+ 'SquareRoot',
192
+ 'Pow',
193
+ 'Exponential',
194
+ 'Logarithm',
195
+ 'Sine',
196
+ 'Cosine',
197
+ 'Tangent',
198
+ 'FloatAbs',
199
+ 'ArcTangent',
200
+ 'ArcCosine',
201
+ 'ArcSine',
202
+ 'ArcTangent2',
203
+ 'RoundFloat',
204
+ 'operator%',
205
+ 'DegToRad',
206
+ 'RadToDeg',
207
+ 'GetURandomInt',
208
+ 'GetURandomFloat',
209
+ 'SetURandomSeed',
210
+ 'SetURandomSeedSimple',
211
+ 'RemovePlayerItem',
212
+ 'GivePlayerItem',
213
+ 'GetPlayerWeaponSlot',
214
+ 'IgniteEntity',
215
+ 'ExtinguishEntity',
216
+ 'TeleportEntity',
217
+ 'ForcePlayerSuicide',
218
+ 'SlapPlayer',
219
+ 'FindEntityByClassname',
220
+ 'GetClientEyeAngles',
221
+ 'CreateEntityByName',
222
+ 'DispatchSpawn',
223
+ 'DispatchKeyValue',
224
+ 'DispatchKeyValueFloat',
225
+ 'DispatchKeyValueVector',
226
+ 'GetClientAimTarget',
227
+ 'GetTeamCount',
228
+ 'GetTeamName',
229
+ 'GetTeamScore',
230
+ 'SetTeamScore',
231
+ 'GetTeamClientCount',
232
+ 'SetEntityModel',
233
+ 'GetPlayerDecalFile',
234
+ 'GetPlayerJingleFile',
235
+ 'GetServerNetStats',
236
+ 'EquipPlayerWeapon',
237
+ 'ActivateEntity',
238
+ 'SetClientInfo',
239
+ 'GivePlayerAmmo',
240
+ 'SetClientListeningFlags',
241
+ 'GetClientListeningFlags',
242
+ 'SetListenOverride',
243
+ 'GetListenOverride',
244
+ 'IsClientMuted',
245
+ 'TR_GetPointContents',
246
+ 'TR_GetPointContentsEnt',
247
+ 'TR_TraceRay',
248
+ 'TR_TraceHull',
249
+ 'TR_TraceRayFilter',
250
+ 'TR_TraceHullFilter',
251
+ 'TR_TraceRayEx',
252
+ 'TR_TraceHullEx',
253
+ 'TR_TraceRayFilterEx',
254
+ 'TR_TraceHullFilterEx',
255
+ 'TR_GetFraction',
256
+ 'TR_GetEndPosition',
257
+ 'TR_GetEntityIndex',
258
+ 'TR_DidHit',
259
+ 'TR_GetHitGroup',
260
+ 'TR_GetPlaneNormal',
261
+ 'TR_PointOutsideWorld',
262
+ 'SortIntegers',
263
+ 'SortFloats',
264
+ 'SortStrings',
265
+ 'SortFunc1D',
266
+ 'SortCustom1D',
267
+ 'SortCustom2D',
268
+ 'SortADTArray',
269
+ 'SortFuncADTArray',
270
+ 'SortADTArrayCustom',
271
+ 'CompileRegex',
272
+ 'MatchRegex',
273
+ 'GetRegexSubString',
274
+ 'SimpleRegexMatch',
275
+ 'TF2_GetPlayerClass',
276
+ 'TF2_SetPlayerClass',
277
+ 'TF2_RemoveWeaponSlot',
278
+ 'TF2_RemoveAllWeapons',
279
+ 'TF2_IsPlayerInCondition',
280
+ 'TF2_GetObjectType',
281
+ 'TF2_GetObjectMode',
282
+ 'NominateMap',
283
+ 'RemoveNominationByMap',
284
+ 'RemoveNominationByOwner',
285
+ 'GetExcludeMapList',
286
+ 'GetNominatedMapList',
287
+ 'CanMapChooserStartVote',
288
+ 'InitiateMapChooserVote',
289
+ 'HasEndOfMapVoteFinished',
290
+ 'EndOfMapVoteEnabled',
291
+ 'OnNominationRemoved',
292
+ 'OnMapVoteStarted',
293
+ 'CreateTimer',
294
+ 'KillTimer',
295
+ 'TriggerTimer',
296
+ 'GetTickedTime',
297
+ 'GetMapTimeLeft',
298
+ 'GetMapTimeLimit',
299
+ 'ExtendMapTimeLimit',
300
+ 'GetTickInterval',
301
+ 'OnMapTimeLeftChanged',
302
+ 'IsServerProcessing',
303
+ 'CreateDataTimer',
304
+ 'ByteCountToCells',
305
+ 'CreateArray',
306
+ 'ClearArray',
307
+ 'CloneArray',
308
+ 'ResizeArray',
309
+ 'GetArraySize',
310
+ 'PushArrayCell',
311
+ 'PushArrayString',
312
+ 'PushArrayArray',
313
+ 'GetArrayCell',
314
+ 'GetArrayString',
315
+ 'GetArrayArray',
316
+ 'SetArrayCell',
317
+ 'SetArrayString',
318
+ 'SetArrayArray',
319
+ 'ShiftArrayUp',
320
+ 'RemoveFromArray',
321
+ 'SwapArrayItems',
322
+ 'FindStringInArray',
323
+ 'FindValueInArray',
324
+ 'ProcessTargetString',
325
+ 'ReplyToTargetError',
326
+ 'MultiTargetFilter',
327
+ 'AddMultiTargetFilter',
328
+ 'RemoveMultiTargetFilter',
329
+ 'OnBanClient',
330
+ 'OnBanIdentity',
331
+ 'OnRemoveBan',
332
+ 'BanClient',
333
+ 'BanIdentity',
334
+ 'RemoveBan',
335
+ 'CreateTrie',
336
+ 'SetTrieValue',
337
+ 'SetTrieArray',
338
+ 'SetTrieString',
339
+ 'GetTrieValue',
340
+ 'GetTrieArray',
341
+ 'GetTrieString',
342
+ 'RemoveFromTrie',
343
+ 'ClearTrie',
344
+ 'GetTrieSize',
345
+ 'GetFunctionByName',
346
+ 'CreateGlobalForward',
347
+ 'CreateForward',
348
+ 'GetForwardFunctionCount',
349
+ 'AddToForward',
350
+ 'RemoveFromForward',
351
+ 'RemoveAllFromForward',
352
+ 'Call_StartForward',
353
+ 'Call_StartFunction',
354
+ 'Call_PushCell',
355
+ 'Call_PushCellRef',
356
+ 'Call_PushFloat',
357
+ 'Call_PushFloatRef',
358
+ 'Call_PushArray',
359
+ 'Call_PushArrayEx',
360
+ 'Call_PushString',
361
+ 'Call_PushStringEx',
362
+ 'Call_Finish',
363
+ 'Call_Cancel',
364
+ 'NativeCall',
365
+ 'CreateNative',
366
+ 'ThrowNativeError',
367
+ 'GetNativeStringLength',
368
+ 'GetNativeString',
369
+ 'SetNativeString',
370
+ 'GetNativeCell',
371
+ 'GetNativeCellRef',
372
+ 'SetNativeCellRef',
373
+ 'GetNativeArray',
374
+ 'SetNativeArray',
375
+ 'FormatNativeString',
376
+ 'RequestFrameCallback',
377
+ 'RequestFrame',
378
+ 'OnRebuildAdminCache',
379
+ 'DumpAdminCache',
380
+ 'AddCommandOverride',
381
+ 'GetCommandOverride',
382
+ 'UnsetCommandOverride',
383
+ 'CreateAdmGroup',
384
+ 'FindAdmGroup',
385
+ 'SetAdmGroupAddFlag',
386
+ 'GetAdmGroupAddFlag',
387
+ 'GetAdmGroupAddFlags',
388
+ 'SetAdmGroupImmuneFrom',
389
+ 'GetAdmGroupImmuneCount',
390
+ 'GetAdmGroupImmuneFrom',
391
+ 'AddAdmGroupCmdOverride',
392
+ 'GetAdmGroupCmdOverride',
393
+ 'RegisterAuthIdentType',
394
+ 'CreateAdmin',
395
+ 'GetAdminUsername',
396
+ 'BindAdminIdentity',
397
+ 'SetAdminFlag',
398
+ 'GetAdminFlag',
399
+ 'GetAdminFlags',
400
+ 'AdminInheritGroup',
401
+ 'GetAdminGroupCount',
402
+ 'GetAdminGroup',
403
+ 'SetAdminPassword',
404
+ 'GetAdminPassword',
405
+ 'FindAdminByIdentity',
406
+ 'RemoveAdmin',
407
+ 'FlagBitsToBitArray',
408
+ 'FlagBitArrayToBits',
409
+ 'FlagArrayToBits',
410
+ 'FlagBitsToArray',
411
+ 'FindFlagByName',
412
+ 'FindFlagByChar',
413
+ 'FindFlagChar',
414
+ 'ReadFlagString',
415
+ 'CanAdminTarget',
416
+ 'CreateAuthMethod',
417
+ 'SetAdmGroupImmunityLevel',
418
+ 'GetAdmGroupImmunityLevel',
419
+ 'SetAdminImmunityLevel',
420
+ 'GetAdminImmunityLevel',
421
+ 'FlagToBit',
422
+ 'BitToFlag',
423
+ 'ServerCommand',
424
+ 'ServerCommandEx',
425
+ 'InsertServerCommand',
426
+ 'ServerExecute',
427
+ 'ClientCommand',
428
+ 'FakeClientCommand',
429
+ 'FakeClientCommandEx',
430
+ 'PrintToServer',
431
+ 'PrintToConsole',
432
+ 'ReplyToCommand',
433
+ 'GetCmdReplySource',
434
+ 'SetCmdReplySource',
435
+ 'IsChatTrigger',
436
+ 'ShowActivity2',
437
+ 'ShowActivity',
438
+ 'ShowActivityEx',
439
+ 'FormatActivitySource',
440
+ 'SrvCmd',
441
+ 'RegServerCmd',
442
+ 'ConCmd',
443
+ 'RegConsoleCmd',
444
+ 'RegAdminCmd',
445
+ 'GetCmdArgs',
446
+ 'GetCmdArg',
447
+ 'GetCmdArgString',
448
+ 'CreateConVar',
449
+ 'FindConVar',
450
+ 'ConVarChanged',
451
+ 'HookConVarChange',
452
+ 'UnhookConVarChange',
453
+ 'GetConVarBool',
454
+ 'SetConVarBool',
455
+ 'GetConVarInt',
456
+ 'SetConVarInt',
457
+ 'GetConVarFloat',
458
+ 'SetConVarFloat',
459
+ 'GetConVarString',
460
+ 'SetConVarString',
461
+ 'ResetConVar',
462
+ 'GetConVarDefault',
463
+ 'GetConVarFlags',
464
+ 'SetConVarFlags',
465
+ 'GetConVarBounds',
466
+ 'SetConVarBounds',
467
+ 'GetConVarName',
468
+ 'QueryClientConVar',
469
+ 'GetCommandIterator',
470
+ 'ReadCommandIterator',
471
+ 'CheckCommandAccess',
472
+ 'CheckAccess',
473
+ 'IsValidConVarChar',
474
+ 'GetCommandFlags',
475
+ 'SetCommandFlags',
476
+ 'FindFirstConCommand',
477
+ 'FindNextConCommand',
478
+ 'SendConVarValue',
479
+ 'AddServerTag',
480
+ 'RemoveServerTag',
481
+ 'CommandListener',
482
+ 'AddCommandListener',
483
+ 'RemoveCommandListener',
484
+ 'CommandExists',
485
+ 'OnClientSayCommand',
486
+ 'OnClientSayCommand_Post',
487
+ 'TF2_IgnitePlayer',
488
+ 'TF2_RespawnPlayer',
489
+ 'TF2_RegeneratePlayer',
490
+ 'TF2_AddCondition',
491
+ 'TF2_RemoveCondition',
492
+ 'TF2_SetPlayerPowerPlay',
493
+ 'TF2_DisguisePlayer',
494
+ 'TF2_RemovePlayerDisguise',
495
+ 'TF2_StunPlayer',
496
+ 'TF2_MakeBleed',
497
+ 'TF2_GetClass',
498
+ 'TF2_CalcIsAttackCritical',
499
+ 'TF2_OnIsHolidayActive',
500
+ 'TF2_IsHolidayActive',
501
+ 'TF2_IsPlayerInDuel',
502
+ 'TF2_RemoveWearable',
503
+ 'TF2_OnConditionAdded',
504
+ 'TF2_OnConditionRemoved',
505
+ 'TF2_OnWaitingForPlayersStart',
506
+ 'TF2_OnWaitingForPlayersEnd',
507
+ 'TF2_OnPlayerTeleport',
508
+ 'SQL_Connect',
509
+ 'SQL_DefConnect',
510
+ 'SQL_ConnectCustom',
511
+ 'SQLite_UseDatabase',
512
+ 'SQL_CheckConfig',
513
+ 'SQL_GetDriver',
514
+ 'SQL_ReadDriver',
515
+ 'SQL_GetDriverIdent',
516
+ 'SQL_GetDriverProduct',
517
+ 'SQL_SetCharset',
518
+ 'SQL_GetAffectedRows',
519
+ 'SQL_GetInsertId',
520
+ 'SQL_GetError',
521
+ 'SQL_EscapeString',
522
+ 'SQL_QuoteString',
523
+ 'SQL_FastQuery',
524
+ 'SQL_Query',
525
+ 'SQL_PrepareQuery',
526
+ 'SQL_FetchMoreResults',
527
+ 'SQL_HasResultSet',
528
+ 'SQL_GetRowCount',
529
+ 'SQL_GetFieldCount',
530
+ 'SQL_FieldNumToName',
531
+ 'SQL_FieldNameToNum',
532
+ 'SQL_FetchRow',
533
+ 'SQL_MoreRows',
534
+ 'SQL_Rewind',
535
+ 'SQL_FetchString',
536
+ 'SQL_FetchFloat',
537
+ 'SQL_FetchInt',
538
+ 'SQL_IsFieldNull',
539
+ 'SQL_FetchSize',
540
+ 'SQL_BindParamInt',
541
+ 'SQL_BindParamFloat',
542
+ 'SQL_BindParamString',
543
+ 'SQL_Execute',
544
+ 'SQL_LockDatabase',
545
+ 'SQL_UnlockDatabase',
546
+ 'SQLTCallback',
547
+ 'SQL_IsSameConnection',
548
+ 'SQL_TConnect',
549
+ 'SQL_TQuery',
550
+ 'SQL_CreateTransaction',
551
+ 'SQL_AddQuery',
552
+ 'SQLTxnSuccess',
553
+ 'SQLTxnFailure',
554
+ 'SQL_ExecuteTransaction',
555
+ 'CloseHandle',
556
+ 'CloneHandle',
557
+ 'MenuHandler',
558
+ 'CreateMenu',
559
+ 'DisplayMenu',
560
+ 'DisplayMenuAtItem',
561
+ 'AddMenuItem',
562
+ 'InsertMenuItem',
563
+ 'RemoveMenuItem',
564
+ 'RemoveAllMenuItems',
565
+ 'GetMenuItem',
566
+ 'GetMenuSelectionPosition',
567
+ 'GetMenuItemCount',
568
+ 'SetMenuPagination',
569
+ 'GetMenuPagination',
570
+ 'GetMenuStyle',
571
+ 'SetMenuTitle',
572
+ 'GetMenuTitle',
573
+ 'CreatePanelFromMenu',
574
+ 'GetMenuExitButton',
575
+ 'SetMenuExitButton',
576
+ 'GetMenuExitBackButton',
577
+ 'SetMenuExitBackButton',
578
+ 'SetMenuNoVoteButton',
579
+ 'CancelMenu',
580
+ 'GetMenuOptionFlags',
581
+ 'SetMenuOptionFlags',
582
+ 'IsVoteInProgress',
583
+ 'CancelVote',
584
+ 'VoteMenu',
585
+ 'VoteMenuToAll',
586
+ 'VoteHandler',
587
+ 'SetVoteResultCallback',
588
+ 'CheckVoteDelay',
589
+ 'IsClientInVotePool',
590
+ 'RedrawClientVoteMenu',
591
+ 'GetMenuStyleHandle',
592
+ 'CreatePanel',
593
+ 'CreateMenuEx',
594
+ 'GetClientMenu',
595
+ 'CancelClientMenu',
596
+ 'GetMaxPageItems',
597
+ 'GetPanelStyle',
598
+ 'SetPanelTitle',
599
+ 'DrawPanelItem',
600
+ 'DrawPanelText',
601
+ 'CanPanelDrawFlags',
602
+ 'SetPanelKeys',
603
+ 'SendPanelToClient',
604
+ 'GetPanelTextRemaining',
605
+ 'GetPanelCurrentKey',
606
+ 'SetPanelCurrentKey',
607
+ 'RedrawMenuItem',
608
+ 'InternalShowMenu',
609
+ 'GetMenuVoteInfo',
610
+ 'IsNewVoteAllowed',
611
+ 'PrefetchSound',
612
+ 'EmitAmbientSound',
613
+ 'FadeClientVolume',
614
+ 'StopSound',
615
+ 'EmitSound',
616
+ 'EmitSentence',
617
+ 'GetDistGainFromSoundLevel',
618
+ 'AmbientSHook',
619
+ 'NormalSHook',
620
+ 'AddAmbientSoundHook',
621
+ 'AddNormalSoundHook',
622
+ 'RemoveAmbientSoundHook',
623
+ 'RemoveNormalSoundHook',
624
+ 'EmitSoundToClient',
625
+ 'EmitSoundToAll',
626
+ 'ATTN_TO_SNDLEVEL',
627
+ 'GetGameSoundParams',
628
+ 'EmitGameSound',
629
+ 'EmitAmbientGameSound',
630
+ 'EmitGameSoundToClient',
631
+ 'EmitGameSoundToAll',
632
+ 'PrecacheScriptSound',
633
+ 'strlen',
634
+ 'StrContains',
635
+ 'strcmp',
636
+ 'strncmp',
637
+ 'StrEqual',
638
+ 'strcopy',
639
+ 'Format',
640
+ 'FormatEx',
641
+ 'VFormat',
642
+ 'StringToInt',
643
+ 'StringToIntEx',
644
+ 'IntToString',
645
+ 'StringToFloat',
646
+ 'StringToFloatEx',
647
+ 'FloatToString',
648
+ 'BreakString',
649
+ 'TrimString',
650
+ 'SplitString',
651
+ 'ReplaceString',
652
+ 'ReplaceStringEx',
653
+ 'GetCharBytes',
654
+ 'IsCharAlpha',
655
+ 'IsCharNumeric',
656
+ 'IsCharSpace',
657
+ 'IsCharMB',
658
+ 'IsCharUpper',
659
+ 'IsCharLower',
660
+ 'StripQuotes',
661
+ 'CharToUpper',
662
+ 'CharToLower',
663
+ 'FindCharInString',
664
+ 'StrCat',
665
+ 'ExplodeString',
666
+ 'ImplodeStrings',
667
+ 'GetVectorLength',
668
+ 'GetVectorDistance',
669
+ 'GetVectorDotProduct',
670
+ 'GetVectorCrossProduct',
671
+ 'NormalizeVector',
672
+ 'GetAngleVectors',
673
+ 'GetVectorAngles',
674
+ 'GetVectorVectors',
675
+ 'AddVectors',
676
+ 'SubtractVectors',
677
+ 'ScaleVector',
678
+ 'NegateVector',
679
+ 'MakeVectorFromPoints',
680
+ 'BaseComm_IsClientGagged',
681
+ 'BaseComm_IsClientMuted',
682
+ 'BaseComm_SetClientGag',
683
+ 'BaseComm_SetClientMute',
684
+ 'FormatUserLogText',
685
+ 'FindPluginByFile',
686
+ 'FindTarget',
687
+ 'AcceptEntityInput',
688
+ 'SetVariantBool',
689
+ 'SetVariantString',
690
+ 'SetVariantInt',
691
+ 'SetVariantFloat',
692
+ 'SetVariantVector3D',
693
+ 'SetVariantPosVector3D',
694
+ 'SetVariantColor',
695
+ 'SetVariantEntity',
696
+ 'GameRules_GetProp',
697
+ 'GameRules_SetProp',
698
+ 'GameRules_GetPropFloat',
699
+ 'GameRules_SetPropFloat',
700
+ 'GameRules_GetPropEnt',
701
+ 'GameRules_SetPropEnt',
702
+ 'GameRules_GetPropVector',
703
+ 'GameRules_SetPropVector',
704
+ 'GameRules_GetPropString',
705
+ 'GameRules_SetPropString',
706
+ 'GameRules_GetRoundState',
707
+ 'OnClientConnect',
708
+ 'OnClientConnected',
709
+ 'OnClientPutInServer',
710
+ 'OnClientDisconnect',
711
+ 'OnClientDisconnect_Post',
712
+ 'OnClientCommand',
713
+ 'OnClientSettingsChanged',
714
+ 'OnClientAuthorized',
715
+ 'OnClientPreAdminCheck',
716
+ 'OnClientPostAdminFilter',
717
+ 'OnClientPostAdminCheck',
718
+ 'GetMaxClients',
719
+ 'GetMaxHumanPlayers',
720
+ 'GetClientCount',
721
+ 'GetClientName',
722
+ 'GetClientIP',
723
+ 'GetClientAuthString',
724
+ 'GetClientAuthId',
725
+ 'GetSteamAccountID',
726
+ 'GetClientUserId',
727
+ 'IsClientConnected',
728
+ 'IsClientInGame',
729
+ 'IsClientInKickQueue',
730
+ 'IsClientAuthorized',
731
+ 'IsFakeClient',
732
+ 'IsClientSourceTV',
733
+ 'IsClientReplay',
734
+ 'IsClientObserver',
735
+ 'IsPlayerAlive',
736
+ 'GetClientInfo',
737
+ 'GetClientTeam',
738
+ 'SetUserAdmin',
739
+ 'GetUserAdmin',
740
+ 'AddUserFlags',
741
+ 'RemoveUserFlags',
742
+ 'SetUserFlagBits',
743
+ 'GetUserFlagBits',
744
+ 'CanUserTarget',
745
+ 'RunAdminCacheChecks',
746
+ 'NotifyPostAdminCheck',
747
+ 'CreateFakeClient',
748
+ 'SetFakeClientConVar',
749
+ 'GetClientHealth',
750
+ 'GetClientModel',
751
+ 'GetClientWeapon',
752
+ 'GetClientMaxs',
753
+ 'GetClientMins',
754
+ 'GetClientAbsAngles',
755
+ 'GetClientAbsOrigin',
756
+ 'GetClientArmor',
757
+ 'GetClientDeaths',
758
+ 'GetClientFrags',
759
+ 'GetClientDataRate',
760
+ 'IsClientTimingOut',
761
+ 'GetClientTime',
762
+ 'GetClientLatency',
763
+ 'GetClientAvgLatency',
764
+ 'GetClientAvgLoss',
765
+ 'GetClientAvgChoke',
766
+ 'GetClientAvgData',
767
+ 'GetClientAvgPackets',
768
+ 'GetClientOfUserId',
769
+ 'KickClient',
770
+ 'KickClientEx',
771
+ 'ChangeClientTeam',
772
+ 'GetClientSerial',
773
+ 'GetClientFromSerial',
774
+ 'FindStringTable',
775
+ 'GetNumStringTables',
776
+ 'GetStringTableNumStrings',
777
+ 'GetStringTableMaxStrings',
778
+ 'GetStringTableName',
779
+ 'FindStringIndex',
780
+ 'ReadStringTable',
781
+ 'GetStringTableDataLength',
782
+ 'GetStringTableData',
783
+ 'SetStringTableData',
784
+ 'AddToStringTable',
785
+ 'LockStringTables',
786
+ 'AddFileToDownloadsTable',
787
+ 'GetEntityFlags',
788
+ 'SetEntityFlags',
789
+ 'GetEntityMoveType',
790
+ 'SetEntityMoveType',
791
+ 'GetEntityRenderMode',
792
+ 'SetEntityRenderMode',
793
+ 'GetEntityRenderFx',
794
+ 'SetEntityRenderFx',
795
+ 'SetEntityRenderColor',
796
+ 'GetEntityGravity',
797
+ 'SetEntityGravity',
798
+ 'SetEntityHealth',
799
+ 'GetClientButtons',
800
+ 'EntityOutput',
801
+ 'HookEntityOutput',
802
+ 'UnhookEntityOutput',
803
+ 'HookSingleEntityOutput',
804
+ 'UnhookSingleEntityOutput',
805
+ 'SMC_CreateParser',
806
+ 'SMC_ParseFile',
807
+ 'SMC_GetErrorString',
808
+ 'SMC_ParseStart',
809
+ 'SMC_SetParseStart',
810
+ 'SMC_ParseEnd',
811
+ 'SMC_SetParseEnd',
812
+ 'SMC_NewSection',
813
+ 'SMC_KeyValue',
814
+ 'SMC_EndSection',
815
+ 'SMC_SetReaders',
816
+ 'SMC_RawLine',
817
+ 'SMC_SetRawLine',
818
+ 'BfWriteBool',
819
+ 'BfWriteByte',
820
+ 'BfWriteChar',
821
+ 'BfWriteShort',
822
+ 'BfWriteWord',
823
+ 'BfWriteNum',
824
+ 'BfWriteFloat',
825
+ 'BfWriteString',
826
+ 'BfWriteEntity',
827
+ 'BfWriteAngle',
828
+ 'BfWriteCoord',
829
+ 'BfWriteVecCoord',
830
+ 'BfWriteVecNormal',
831
+ 'BfWriteAngles',
832
+ 'BfReadBool',
833
+ 'BfReadByte',
834
+ 'BfReadChar',
835
+ 'BfReadShort',
836
+ 'BfReadWord',
837
+ 'BfReadNum',
838
+ 'BfReadFloat',
839
+ 'BfReadString',
840
+ 'BfReadEntity',
841
+ 'BfReadAngle',
842
+ 'BfReadCoord',
843
+ 'BfReadVecCoord',
844
+ 'BfReadVecNormal',
845
+ 'BfReadAngles',
846
+ 'BfGetNumBytesLeft',
847
+ 'CreateProfiler',
848
+ 'StartProfiling',
849
+ 'StopProfiling',
850
+ 'GetProfilerTime',
851
+ 'OnPluginStart',
852
+ 'AskPluginLoad2',
853
+ 'OnPluginEnd',
854
+ 'OnPluginPauseChange',
855
+ 'OnGameFrame',
856
+ 'OnMapStart',
857
+ 'OnMapEnd',
858
+ 'OnConfigsExecuted',
859
+ 'OnAutoConfigsBuffered',
860
+ 'OnAllPluginsLoaded',
861
+ 'GetMyHandle',
862
+ 'GetPluginIterator',
863
+ 'MorePlugins',
864
+ 'ReadPlugin',
865
+ 'GetPluginStatus',
866
+ 'GetPluginFilename',
867
+ 'IsPluginDebugging',
868
+ 'GetPluginInfo',
869
+ 'FindPluginByNumber',
870
+ 'SetFailState',
871
+ 'ThrowError',
872
+ 'GetTime',
873
+ 'FormatTime',
874
+ 'LoadGameConfigFile',
875
+ 'GameConfGetOffset',
876
+ 'GameConfGetKeyValue',
877
+ 'GameConfGetAddress',
878
+ 'GetSysTickCount',
879
+ 'AutoExecConfig',
880
+ 'RegPluginLibrary',
881
+ 'LibraryExists',
882
+ 'GetExtensionFileStatus',
883
+ 'OnLibraryAdded',
884
+ 'OnLibraryRemoved',
885
+ 'ReadMapList',
886
+ 'SetMapListCompatBind',
887
+ 'OnClientFloodCheck',
888
+ 'OnClientFloodResult',
889
+ 'CanTestFeatures',
890
+ 'GetFeatureStatus',
891
+ 'RequireFeature',
892
+ 'LoadFromAddress',
893
+ 'StoreToAddress',
894
+ 'CreateStack',
895
+ 'PushStackCell',
896
+ 'PushStackString',
897
+ 'PushStackArray',
898
+ 'PopStackCell',
899
+ 'PopStackString',
900
+ 'PopStackArray',
901
+ 'IsStackEmpty',
902
+ 'PopStack',
903
+ 'OnPlayerRunCmd',
904
+ 'BuildPath',
905
+ 'OpenDirectory',
906
+ 'ReadDirEntry',
907
+ 'OpenFile',
908
+ 'DeleteFile',
909
+ 'ReadFileLine',
910
+ 'ReadFile',
911
+ 'ReadFileString',
912
+ 'WriteFile',
913
+ 'WriteFileString',
914
+ 'WriteFileLine',
915
+ 'ReadFileCell',
916
+ 'WriteFileCell',
917
+ 'IsEndOfFile',
918
+ 'FileSeek',
919
+ 'FilePosition',
920
+ 'FileExists',
921
+ 'RenameFile',
922
+ 'DirExists',
923
+ 'FileSize',
924
+ 'FlushFile',
925
+ 'RemoveDir',
926
+ 'CreateDirectory',
927
+ 'GetFileTime',
928
+ 'LogToOpenFile',
929
+ 'LogToOpenFileEx',
930
+ 'PbReadInt',
931
+ 'PbReadFloat',
932
+ 'PbReadBool',
933
+ 'PbReadString',
934
+ 'PbReadColor',
935
+ 'PbReadAngle',
936
+ 'PbReadVector',
937
+ 'PbReadVector2D',
938
+ 'PbGetRepeatedFieldCount',
939
+ 'PbSetInt',
940
+ 'PbSetFloat',
941
+ 'PbSetBool',
942
+ 'PbSetString',
943
+ 'PbSetColor',
944
+ 'PbSetAngle',
945
+ 'PbSetVector',
946
+ 'PbSetVector2D',
947
+ 'PbAddInt',
948
+ 'PbAddFloat',
949
+ 'PbAddBool',
950
+ 'PbAddString',
951
+ 'PbAddColor',
952
+ 'PbAddAngle',
953
+ 'PbAddVector',
954
+ 'PbAddVector2D',
955
+ 'PbRemoveRepeatedFieldValue',
956
+ 'PbReadMessage',
957
+ 'PbReadRepeatedMessage',
958
+ 'PbAddMessage',
959
+ 'SetNextMap',
960
+ 'GetNextMap',
961
+ 'ForceChangeLevel',
962
+ 'GetMapHistorySize',
963
+ 'GetMapHistory',
964
+ 'GeoipCode2',
965
+ 'GeoipCode3',
966
+ 'GeoipCountry',
967
+ 'MarkNativeAsOptional',
968
+ 'RegClientCookie',
969
+ 'FindClientCookie',
970
+ 'SetClientCookie',
971
+ 'GetClientCookie',
972
+ 'SetAuthIdCookie',
973
+ 'AreClientCookiesCached',
974
+ 'OnClientCookiesCached',
975
+ 'CookieMenuHandler',
976
+ 'SetCookiePrefabMenu',
977
+ 'SetCookieMenuItem',
978
+ 'ShowCookieMenu',
979
+ 'GetCookieIterator',
980
+ 'ReadCookieIterator',
981
+ 'GetCookieAccess',
982
+ 'GetClientCookieTime',
983
+ 'LoadTranslations',
984
+ 'SetGlobalTransTarget',
985
+ 'GetClientLanguage',
986
+ 'GetServerLanguage',
987
+ 'GetLanguageCount',
988
+ 'GetLanguageInfo',
989
+ 'SetClientLanguage',
990
+ 'GetLanguageByCode',
991
+ 'GetLanguageByName',
992
+ 'CS_OnBuyCommand',
993
+ 'CS_OnCSWeaponDrop',
994
+ 'CS_OnGetWeaponPrice',
995
+ 'CS_OnTerminateRound',
996
+ 'CS_RespawnPlayer',
997
+ 'CS_SwitchTeam',
998
+ 'CS_DropWeapon',
999
+ 'CS_TerminateRound',
1000
+ 'CS_GetTranslatedWeaponAlias',
1001
+ 'CS_GetWeaponPrice',
1002
+ 'CS_GetClientClanTag',
1003
+ 'CS_SetClientClanTag',
1004
+ 'CS_GetTeamScore',
1005
+ 'CS_SetTeamScore',
1006
+ 'CS_GetMVPCount',
1007
+ 'CS_SetMVPCount',
1008
+ 'CS_GetClientContributionScore',
1009
+ 'CS_SetClientContributionScore',
1010
+ 'CS_GetClientAssists',
1011
+ 'CS_SetClientAssists',
1012
+ 'CS_AliasToWeaponID',
1013
+ 'CS_WeaponIDToAlias',
1014
+ 'CS_IsValidWeaponID',
1015
+ 'CS_UpdateClientModel',
1016
+ 'LogToGame',
1017
+ 'SetRandomSeed',
1018
+ 'GetRandomFloat',
1019
+ 'GetRandomInt',
1020
+ 'IsMapValid',
1021
+ 'IsDedicatedServer',
1022
+ 'GetEngineTime',
1023
+ 'GetGameTime',
1024
+ 'GetGameTickCount',
1025
+ 'GetGameDescription',
1026
+ 'GetGameFolderName',
1027
+ 'GetCurrentMap',
1028
+ 'PrecacheModel',
1029
+ 'PrecacheSentenceFile',
1030
+ 'PrecacheDecal',
1031
+ 'PrecacheGeneric',
1032
+ 'IsModelPrecached',
1033
+ 'IsDecalPrecached',
1034
+ 'IsGenericPrecached',
1035
+ 'PrecacheSound',
1036
+ 'IsSoundPrecached',
1037
+ 'CreateDialog',
1038
+ 'GetEngineVersion',
1039
+ 'PrintToChat',
1040
+ 'PrintToChatAll',
1041
+ 'PrintCenterText',
1042
+ 'PrintCenterTextAll',
1043
+ 'PrintHintText',
1044
+ 'PrintHintTextToAll',
1045
+ 'ShowVGUIPanel',
1046
+ 'CreateHudSynchronizer',
1047
+ 'SetHudTextParams',
1048
+ 'SetHudTextParamsEx',
1049
+ 'ShowSyncHudText',
1050
+ 'ClearSyncHud',
1051
+ 'ShowHudText',
1052
+ 'ShowMOTDPanel',
1053
+ 'DisplayAskConnectBox',
1054
+ 'EntIndexToEntRef',
1055
+ 'EntRefToEntIndex',
1056
+ 'MakeCompatEntRef',
1057
+ 'SetClientViewEntity',
1058
+ 'SetLightStyle',
1059
+ 'GetClientEyePosition',
1060
+ 'CreateDataPack',
1061
+ 'WritePackCell',
1062
+ 'WritePackFloat',
1063
+ 'WritePackString',
1064
+ 'ReadPackCell',
1065
+ 'ReadPackFloat',
1066
+ 'ReadPackString',
1067
+ 'ResetPack',
1068
+ 'GetPackPosition',
1069
+ 'SetPackPosition',
1070
+ 'IsPackReadable',
1071
+ 'LogMessage',
1072
+ 'LogToFile',
1073
+ 'LogToFileEx',
1074
+ 'LogAction',
1075
+ 'LogError',
1076
+ 'OnLogAction',
1077
+ 'GameLogHook',
1078
+ 'AddGameLogHook',
1079
+ 'RemoveGameLogHook',
1080
+ 'FindTeamByName',
1081
+ 'StartPrepSDKCall',
1082
+ 'PrepSDKCall_SetVirtual',
1083
+ 'PrepSDKCall_SetSignature',
1084
+ 'PrepSDKCall_SetAddress',
1085
+ 'PrepSDKCall_SetFromConf',
1086
+ 'PrepSDKCall_SetReturnInfo',
1087
+ 'PrepSDKCall_AddParameter',
1088
+ 'EndPrepSDKCall',
1089
+ 'SDKCall',
1090
+ 'GetPlayerResourceEntity',
1091
+ )
1092
+
1093
+
1094
+ if __name__ == '__main__': # pragma: no cover
1095
+ import re
1096
+ from urllib.request import FancyURLopener
1097
+
1098
+ from pygments.util import format_lines
1099
+
1100
+ class Opener(FancyURLopener):
1101
+ version = 'Mozilla/5.0 (Pygments Sourcemod Builtins Update)'
1102
+
1103
+ opener = Opener()
1104
+
1105
+ def get_version():
1106
+ f = opener.open('http://docs.sourcemod.net/api/index.php')
1107
+ r = re.compile(r'SourceMod v\.<b>([\d\.]+(?:-\w+)?)</td>')
1108
+ for line in f:
1109
+ m = r.search(line.decode())
1110
+ if m is not None:
1111
+ return m.groups()[0]
1112
+ raise ValueError('No version in api docs')
1113
+
1114
+ def get_sm_functions():
1115
+ f = opener.open('http://docs.sourcemod.net/api/SMfuncs.js')
1116
+ r = re.compile(r'SMfunctions\[\d+\] = Array \("(?:public )?([^,]+)",".+"\);')
1117
+ functions = []
1118
+ for line in f:
1119
+ m = r.match(line.decode())
1120
+ if m is not None:
1121
+ functions.append(m.groups()[0])
1122
+ return functions
1123
+
1124
+ def regenerate(filename, natives):
1125
+ with open(filename, encoding='utf-8') as fp:
1126
+ content = fp.read()
1127
+
1128
+ header = content[:content.find('FUNCTIONS = (')]
1129
+ footer = content[content.find("if __name__ == '__main__':")-1:]
1130
+
1131
+
1132
+ with open(filename, 'w', encoding='utf-8') as fp:
1133
+ fp.write(header)
1134
+ fp.write(format_lines('FUNCTIONS', natives))
1135
+ fp.write('\n\n' + footer)
1136
+
1137
+ def run():
1138
+ version = get_version()
1139
+ print(f'> Downloading function index for SourceMod {version}')
1140
+ functions = get_sm_functions()
1141
+ print('> %d functions found:' % len(functions))
1142
+
1143
+ functionlist = []
1144
+ for full_function_name in functions:
1145
+ print(f'>> {full_function_name}')
1146
+ functionlist.append(full_function_name)
1147
+
1148
+ regenerate(__file__, functionlist)
1149
+
1150
+
1151
+ run()
py311/lib/python3.11/site-packages/pygments/lexers/_sql_builtins.py ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pygments.lexers._sql_builtins
3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+
5
+ Data files for the SQL lexer.
6
+
7
+ :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
8
+ :license: BSD, see LICENSE for details.
9
+ """
10
+
11
+ KEYWORDS = (
12
+ 'ABORT', 'ABS', 'ABSOLUTE', 'ACCESS', 'ADA', 'ADD', 'ADMIN', 'AFTER',
13
+ 'AGGREGATE', 'ALIAS', 'ALL', 'ALLOCATE', 'ALTER', 'ANALYSE', 'ANALYZE',
14
+ 'AND', 'ANY', 'ARE', 'AS', 'ASC', 'ASENSITIVE', 'ASSERTION', 'ASSIGNMENT',
15
+ 'ASYMMETRIC', 'AT', 'ATOMIC', 'AUTHORIZATION', 'AVG', 'BACKWARD',
16
+ 'BEFORE', 'BEGIN', 'BETWEEN', 'BITVAR', 'BIT_LENGTH', 'BOTH', 'BREADTH',
17
+ 'BY', 'C', 'CACHE', 'CALL', 'CALLED', 'CARDINALITY', 'CASCADE',
18
+ 'CASCADED', 'CASE', 'CAST', 'CATALOG', 'CATALOG_NAME', 'CHAIN',
19
+ 'CHARACTERISTICS', 'CHARACTER_LENGTH', 'CHARACTER_SET_CATALOG',
20
+ 'CHARACTER_SET_NAME', 'CHARACTER_SET_SCHEMA', 'CHAR_LENGTH', 'CHECK',
21
+ 'CHECKED', 'CHECKPOINT', 'CLASS', 'CLASS_ORIGIN', 'CLOB', 'CLOSE',
22
+ 'CLUSTER', 'COALESCE', 'COBOL', 'COLLATE', 'COLLATION',
23
+ 'COLLATION_CATALOG', 'COLLATION_NAME', 'COLLATION_SCHEMA', 'COLUMN',
24
+ 'COLUMN_NAME', 'COMMAND_FUNCTION', 'COMMAND_FUNCTION_CODE', 'COMMENT',
25
+ 'COMMIT', 'COMMITTED', 'COMPLETION', 'CONDITION_NUMBER', 'CONNECT',
26
+ 'CONNECTION', 'CONNECTION_NAME', 'CONSTRAINT', 'CONSTRAINTS',
27
+ 'CONSTRAINT_CATALOG', 'CONSTRAINT_NAME', 'CONSTRAINT_SCHEMA',
28
+ 'CONSTRUCTOR', 'CONTAINS', 'CONTINUE', 'CONVERSION', 'CONVERT',
29
+ 'COPY', 'CORRESPONDING', 'COUNT', 'CREATE', 'CREATEDB', 'CREATEUSER',
30
+ 'CROSS', 'CUBE', 'CURRENT', 'CURRENT_DATE', 'CURRENT_PATH',
31
+ 'CURRENT_ROLE', 'CURRENT_TIME', 'CURRENT_TIMESTAMP', 'CURRENT_USER',
32
+ 'CURSOR', 'CURSOR_NAME', 'CYCLE', 'DATA', 'DATABASE',
33
+ 'DATETIME_INTERVAL_CODE', 'DATETIME_INTERVAL_PRECISION', 'DAY',
34
+ 'DEALLOCATE', 'DECLARE', 'DEFAULT', 'DEFAULTS', 'DEFERRABLE',
35
+ 'DEFERRED', 'DEFINED', 'DEFINER', 'DELETE', 'DELIMITER', 'DELIMITERS',
36
+ 'DEREF', 'DESC', 'DESCRIBE', 'DESCRIPTOR', 'DESTROY', 'DESTRUCTOR',
37
+ 'DETERMINISTIC', 'DIAGNOSTICS', 'DICTIONARY', 'DISCONNECT', 'DISPATCH',
38
+ 'DISTINCT', 'DO', 'DOMAIN', 'DROP', 'DYNAMIC', 'DYNAMIC_FUNCTION',
39
+ 'DYNAMIC_FUNCTION_CODE', 'EACH', 'ELSE', 'ELSIF', 'ENCODING',
40
+ 'ENCRYPTED', 'END', 'END-EXEC', 'EQUALS', 'ESCAPE', 'EVERY', 'EXCEPTION',
41
+ 'EXCEPT', 'EXCLUDING', 'EXCLUSIVE', 'EXEC', 'EXECUTE', 'EXISTING',
42
+ 'EXISTS', 'EXPLAIN', 'EXTERNAL', 'EXTRACT', 'FALSE', 'FETCH', 'FINAL',
43
+ 'FIRST', 'FOR', 'FORCE', 'FOREIGN', 'FORTRAN', 'FORWARD', 'FOUND', 'FREE',
44
+ 'FREEZE', 'FROM', 'FULL', 'FUNCTION', 'G', 'GENERAL', 'GENERATED', 'GET',
45
+ 'GLOBAL', 'GO', 'GOTO', 'GRANT', 'GRANTED', 'GROUP', 'GROUPING',
46
+ 'HANDLER', 'HAVING', 'HIERARCHY', 'HOLD', 'HOST', 'IDENTITY', 'IF',
47
+ 'IGNORE', 'ILIKE', 'IMMEDIATE', 'IMMEDIATELY', 'IMMUTABLE', 'IMPLEMENTATION', 'IMPLICIT',
48
+ 'IN', 'INCLUDING', 'INCREMENT', 'INDEX', 'INDITCATOR', 'INFIX',
49
+ 'INHERITS', 'INITIALIZE', 'INITIALLY', 'INNER', 'INOUT', 'INPUT',
50
+ 'INSENSITIVE', 'INSERT', 'INSTANTIABLE', 'INSTEAD', 'INTERSECT', 'INTO',
51
+ 'INVOKER', 'IS', 'ISNULL', 'ISOLATION', 'ITERATE', 'JOIN', 'KEY',
52
+ 'KEY_MEMBER', 'KEY_TYPE', 'LANCOMPILER', 'LANGUAGE', 'LARGE', 'LAST',
53
+ 'LATERAL', 'LEADING', 'LEFT', 'LENGTH', 'LESS', 'LEVEL', 'LIKE', 'LIMIT',
54
+ 'LISTEN', 'LOAD', 'LOCAL', 'LOCALTIME', 'LOCALTIMESTAMP', 'LOCATION',
55
+ 'LOCATOR', 'LOCK', 'LOWER', 'MAP', 'MATCH', 'MAX', 'MAXVALUE',
56
+ 'MESSAGE_LENGTH', 'MESSAGE_OCTET_LENGTH', 'MESSAGE_TEXT', 'METHOD', 'MIN',
57
+ 'MINUTE', 'MINVALUE', 'MOD', 'MODE', 'MODIFIES', 'MODIFY', 'MONTH',
58
+ 'MORE', 'MOVE', 'MUMPS', 'NAMES', 'NATIONAL', 'NATURAL', 'NCHAR', 'NCLOB',
59
+ 'NEW', 'NEXT', 'NO', 'NOCREATEDB', 'NOCREATEUSER', 'NONE', 'NOT',
60
+ 'NOTHING', 'NOTIFY', 'NOTNULL', 'NULL', 'NULLABLE', 'NULLIF', 'OBJECT',
61
+ 'OCTET_LENGTH', 'OF', 'OFF', 'OFFSET', 'OIDS', 'OLD', 'ON', 'ONLY',
62
+ 'OPEN', 'OPERATION', 'OPERATOR', 'OPTION', 'OPTIONS', 'OR', 'ORDER',
63
+ 'ORDINALITY', 'OUT', 'OUTER', 'OUTPUT', 'OVERLAPS', 'OVERLAY',
64
+ 'OVERRIDING', 'OWNER', 'PAD', 'PARAMETER', 'PARAMETERS', 'PARAMETER_MODE',
65
+ 'PARAMETER_NAME', 'PARAMETER_ORDINAL_POSITION',
66
+ 'PARAMETER_SPECIFIC_CATALOG', 'PARAMETER_SPECIFIC_NAME',
67
+ 'PARAMETER_SPECIFIC_SCHEMA', 'PARTIAL', 'PASCAL', 'PENDANT', 'PERIOD', 'PLACING',
68
+ 'PLI', 'POSITION', 'POSTFIX', 'PRECEEDS', 'PRECISION', 'PREFIX', 'PREORDER',
69
+ 'PREPARE', 'PRESERVE', 'PRIMARY', 'PRIOR', 'PRIVILEGES', 'PROCEDURAL',
70
+ 'PROCEDURE', 'PUBLIC', 'READ', 'READS', 'RECHECK', 'RECURSIVE', 'REF',
71
+ 'REFERENCES', 'REFERENCING', 'REINDEX', 'RELATIVE', 'RENAME',
72
+ 'REPEATABLE', 'REPLACE', 'RESET', 'RESTART', 'RESTRICT', 'RESULT',
73
+ 'RETURN', 'RETURNED_LENGTH', 'RETURNED_OCTET_LENGTH', 'RETURNED_SQLSTATE',
74
+ 'RETURNS', 'REVOKE', 'RIGHT', 'ROLE', 'ROLLBACK', 'ROLLUP', 'ROUTINE',
75
+ 'ROUTINE_CATALOG', 'ROUTINE_NAME', 'ROUTINE_SCHEMA', 'ROW', 'ROWS',
76
+ 'ROW_COUNT', 'RULE', 'SAVE_POINT', 'SCALE', 'SCHEMA', 'SCHEMA_NAME',
77
+ 'SCOPE', 'SCROLL', 'SEARCH', 'SECOND', 'SECURITY', 'SELECT', 'SELF',
78
+ 'SENSITIVE', 'SERIALIZABLE', 'SERVER_NAME', 'SESSION', 'SESSION_USER',
79
+ 'SET', 'SETOF', 'SETS', 'SHARE', 'SHOW', 'SIMILAR', 'SIMPLE', 'SIZE',
80
+ 'SOME', 'SOURCE', 'SPACE', 'SPECIFIC', 'SPECIFICTYPE', 'SPECIFIC_NAME',
81
+ 'SQL', 'SQLCODE', 'SQLERROR', 'SQLEXCEPTION', 'SQLSTATE', 'SQLWARNINIG',
82
+ 'STABLE', 'START', 'STATE', 'STATEMENT', 'STATIC', 'STATISTICS', 'STDIN',
83
+ 'STDOUT', 'STORAGE', 'STRICT', 'STRUCTURE', 'STYPE', 'SUBCLASS_ORIGIN',
84
+ 'SUBLIST', 'SUBSTRING', 'SUCCEEDS', 'SUM', 'SYMMETRIC', 'SYSID', 'SYSTEM',
85
+ 'SYSTEM_USER', 'TABLE', 'TABLE_NAME', ' TEMP', 'TEMPLATE', 'TEMPORARY',
86
+ 'TERMINATE', 'THAN', 'THEN', 'TIME', 'TIMESTAMP', 'TIMEZONE_HOUR',
87
+ 'TIMEZONE_MINUTE', 'TO', 'TOAST', 'TRAILING', 'TRANSACTION',
88
+ 'TRANSACTIONS_COMMITTED', 'TRANSACTIONS_ROLLED_BACK', 'TRANSACTION_ACTIVE',
89
+ 'TRANSFORM', 'TRANSFORMS', 'TRANSLATE', 'TRANSLATION', 'TREAT', 'TRIGGER',
90
+ 'TRIGGER_CATALOG', 'TRIGGER_NAME', 'TRIGGER_SCHEMA', 'TRIM', 'TRUE',
91
+ 'TRUNCATE', 'TRUSTED', 'TYPE', 'UNCOMMITTED', 'UNDER', 'UNENCRYPTED',
92
+ 'UNION', 'UNIQUE', 'UNKNOWN', 'UNLISTEN', 'UNNAMED', 'UNNEST', 'UNTIL',
93
+ 'UPDATE', 'UPPER', 'USAGE', 'USER', 'USER_DEFINED_TYPE_CATALOG',
94
+ 'USER_DEFINED_TYPE_NAME', 'USER_DEFINED_TYPE_SCHEMA', 'USING', 'VACUUM',
95
+ 'VALID', 'VALIDATOR', 'VALUES', 'VARIABLE', 'VERBOSE',
96
+ 'VERSION', 'VERSIONS', 'VERSIONING', 'VIEW',
97
+ 'VOLATILE', 'WHEN', 'WHENEVER', 'WHERE', 'WITH', 'WITHOUT', 'WORK',
98
+ 'WRITE', 'YEAR', 'ZONE'
99
+ )
100
+
101
+ DATATYPES = (
102
+ 'ARRAY', 'BIGINT', 'BINARY', 'BIT', 'BLOB', 'BOOLEAN', 'CHAR',
103
+ 'CHARACTER', 'DATE', 'DEC', 'DECIMAL', 'FLOAT', 'INT', 'INTEGER',
104
+ 'INTERVAL', 'NUMBER', 'NUMERIC', 'REAL', 'SERIAL', 'SMALLINT',
105
+ 'VARCHAR', 'VARYING', 'INT8', 'SERIAL8', 'TEXT'
106
+ )