ZTWHHH commited on
Commit
d74dc7d
·
verified ·
1 Parent(s): afee4b8

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. .gitattributes +2 -0
  2. parrot/lib/libssl.so.3 +3 -0
  3. parrot/lib/python3.10/site-packages/cv2/qt/fonts/DejaVuSansCondensed-BoldOblique.ttf +3 -0
  4. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/ambient.cpython-310.pyc +0 -0
  5. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/apl.cpython-310.pyc +0 -0
  6. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/clean.cpython-310.pyc +0 -0
  7. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/dalvik.cpython-310.pyc +0 -0
  8. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/forth.cpython-310.pyc +0 -0
  9. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/other.cpython-310.pyc +0 -0
  10. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/robotframework.cpython-310.pyc +0 -0
  11. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/sql.cpython-310.pyc +0 -0
  12. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_asy_builtins.py +1645 -0
  13. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_cl_builtins.py +232 -0
  14. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_cocoa_builtins.py +72 -0
  15. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_csound_builtins.py +1346 -0
  16. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_lasso_builtins.py +0 -0
  17. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_lua_builtins.py +295 -0
  18. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_mapping.py +500 -0
  19. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_mql_builtins.py +1172 -0
  20. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_openedge_builtins.py +2547 -0
  21. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_php_builtins.py +0 -0
  22. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_postgres_builtins.py +621 -0
  23. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_stata_builtins.py +419 -0
  24. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/actionscript.py +240 -0
  25. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/agile.py +24 -0
  26. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/archetype.py +318 -0
  27. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/asm.py +641 -0
  28. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/automation.py +374 -0
  29. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/basic.py +500 -0
  30. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/business.py +612 -0
  31. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/c_cpp.py +252 -0
  32. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/chapel.py +102 -0
  33. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/clean.py +288 -0
  34. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/compiled.py +34 -0
  35. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/console.py +114 -0
  36. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/crystal.py +393 -0
  37. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/d.py +251 -0
  38. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/ecl.py +125 -0
  39. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/eiffel.py +65 -0
  40. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/elm.py +121 -0
  41. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/erlang.py +533 -0
  42. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/esoteric.py +277 -0
  43. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/fantom.py +250 -0
  44. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/forth.py +177 -0
  45. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/functional.py +21 -0
  46. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/go.py +101 -0
  47. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/haxe.py +936 -0
  48. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/hdl.py +382 -0
  49. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/hexdump.py +103 -0
  50. parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/html.py +602 -0
.gitattributes CHANGED
@@ -135,3 +135,5 @@ parrot/lib/python3.10/site-packages/cv2/qt/fonts/DejaVuSansCondensed-Oblique.ttf
135
  parrot/lib/python3.10/site-packages/cv2/qt/fonts/DejaVuSans-Oblique.ttf filter=lfs diff=lfs merge=lfs -text
136
  parrot/lib/python3.10/site-packages/numpy.libs/libquadmath-96973f99-934c22de.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
137
  parrot/lib/python3.10/site-packages/google/_upb/_message.abi3.so filter=lfs diff=lfs merge=lfs -text
 
 
 
135
  parrot/lib/python3.10/site-packages/cv2/qt/fonts/DejaVuSans-Oblique.ttf filter=lfs diff=lfs merge=lfs -text
136
  parrot/lib/python3.10/site-packages/numpy.libs/libquadmath-96973f99-934c22de.so.0.0.0 filter=lfs diff=lfs merge=lfs -text
137
  parrot/lib/python3.10/site-packages/google/_upb/_message.abi3.so filter=lfs diff=lfs merge=lfs -text
138
+ parrot/lib/libssl.so.3 filter=lfs diff=lfs merge=lfs -text
139
+ parrot/lib/python3.10/site-packages/cv2/qt/fonts/DejaVuSansCondensed-BoldOblique.ttf filter=lfs diff=lfs merge=lfs -text
parrot/lib/libssl.so.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3480c91df4e0c1a33514955568641405e37924f680e8ba42f494a209640516c6
3
+ size 775712
parrot/lib/python3.10/site-packages/cv2/qt/fonts/DejaVuSansCondensed-BoldOblique.ttf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6657693a18ecefee2667d9d0ecb1abb68524d627999bd8365039c19e04b42381
3
+ size 580168
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/ambient.cpython-310.pyc ADDED
Binary file (2.25 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/apl.cpython-310.pyc ADDED
Binary file (1.81 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/clean.cpython-310.pyc ADDED
Binary file (6.69 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/dalvik.cpython-310.pyc ADDED
Binary file (3.35 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/forth.cpython-310.pyc ADDED
Binary file (4.62 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/other.cpython-310.pyc ADDED
Binary file (2.37 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/robotframework.cpython-310.pyc ADDED
Binary file (19.4 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/__pycache__/sql.cpython-310.pyc ADDED
Binary file (21.8 kB). View file
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_asy_builtins.py ADDED
@@ -0,0 +1,1645 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._asy_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ This file contains the asy-function names and asy-variable names of
7
+ Asymptote.
8
+
9
+ Do not edit the ASYFUNCNAME and ASYVARNAME sets by hand.
10
+ TODO: perl/python script in Asymptote SVN similar to asy-list.pl but only
11
+ for function and variable names.
12
+
13
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
14
+ :license: BSD, see LICENSE for details.
15
+ """
16
+
17
+ ASYFUNCNAME = set((
18
+ 'AND',
19
+ 'Arc',
20
+ 'ArcArrow',
21
+ 'ArcArrows',
22
+ 'Arrow',
23
+ 'Arrows',
24
+ 'Automatic',
25
+ 'AvantGarde',
26
+ 'BBox',
27
+ 'BWRainbow',
28
+ 'BWRainbow2',
29
+ 'Bar',
30
+ 'Bars',
31
+ 'BeginArcArrow',
32
+ 'BeginArrow',
33
+ 'BeginBar',
34
+ 'BeginDotMargin',
35
+ 'BeginMargin',
36
+ 'BeginPenMargin',
37
+ 'Blank',
38
+ 'Bookman',
39
+ 'Bottom',
40
+ 'BottomTop',
41
+ 'Bounds',
42
+ 'Break',
43
+ 'Broken',
44
+ 'BrokenLog',
45
+ 'Ceil',
46
+ 'Circle',
47
+ 'CircleBarIntervalMarker',
48
+ 'Cos',
49
+ 'Courier',
50
+ 'CrossIntervalMarker',
51
+ 'DefaultFormat',
52
+ 'DefaultLogFormat',
53
+ 'Degrees',
54
+ 'Dir',
55
+ 'DotMargin',
56
+ 'DotMargins',
57
+ 'Dotted',
58
+ 'Draw',
59
+ 'Drawline',
60
+ 'Embed',
61
+ 'EndArcArrow',
62
+ 'EndArrow',
63
+ 'EndBar',
64
+ 'EndDotMargin',
65
+ 'EndMargin',
66
+ 'EndPenMargin',
67
+ 'Fill',
68
+ 'FillDraw',
69
+ 'Floor',
70
+ 'Format',
71
+ 'Full',
72
+ 'Gaussian',
73
+ 'Gaussrand',
74
+ 'Gaussrandpair',
75
+ 'Gradient',
76
+ 'Grayscale',
77
+ 'Helvetica',
78
+ 'Hermite',
79
+ 'HookHead',
80
+ 'InOutTicks',
81
+ 'InTicks',
82
+ 'J',
83
+ 'Label',
84
+ 'Landscape',
85
+ 'Left',
86
+ 'LeftRight',
87
+ 'LeftTicks',
88
+ 'Legend',
89
+ 'Linear',
90
+ 'Link',
91
+ 'Log',
92
+ 'LogFormat',
93
+ 'Margin',
94
+ 'Margins',
95
+ 'Mark',
96
+ 'MidArcArrow',
97
+ 'MidArrow',
98
+ 'NOT',
99
+ 'NewCenturySchoolBook',
100
+ 'NoBox',
101
+ 'NoMargin',
102
+ 'NoModifier',
103
+ 'NoTicks',
104
+ 'NoTicks3',
105
+ 'NoZero',
106
+ 'NoZeroFormat',
107
+ 'None',
108
+ 'OR',
109
+ 'OmitFormat',
110
+ 'OmitTick',
111
+ 'OutTicks',
112
+ 'Ox',
113
+ 'Oy',
114
+ 'Palatino',
115
+ 'PaletteTicks',
116
+ 'Pen',
117
+ 'PenMargin',
118
+ 'PenMargins',
119
+ 'Pentype',
120
+ 'Portrait',
121
+ 'RadialShade',
122
+ 'Rainbow',
123
+ 'Range',
124
+ 'Relative',
125
+ 'Right',
126
+ 'RightTicks',
127
+ 'Rotate',
128
+ 'Round',
129
+ 'SQR',
130
+ 'Scale',
131
+ 'ScaleX',
132
+ 'ScaleY',
133
+ 'ScaleZ',
134
+ 'Seascape',
135
+ 'Shift',
136
+ 'Sin',
137
+ 'Slant',
138
+ 'Spline',
139
+ 'StickIntervalMarker',
140
+ 'Straight',
141
+ 'Symbol',
142
+ 'Tan',
143
+ 'TeXify',
144
+ 'Ticks',
145
+ 'Ticks3',
146
+ 'TildeIntervalMarker',
147
+ 'TimesRoman',
148
+ 'Top',
149
+ 'TrueMargin',
150
+ 'UnFill',
151
+ 'UpsideDown',
152
+ 'Wheel',
153
+ 'X',
154
+ 'XEquals',
155
+ 'XOR',
156
+ 'XY',
157
+ 'XYEquals',
158
+ 'XYZero',
159
+ 'XYgrid',
160
+ 'XZEquals',
161
+ 'XZZero',
162
+ 'XZero',
163
+ 'XZgrid',
164
+ 'Y',
165
+ 'YEquals',
166
+ 'YXgrid',
167
+ 'YZ',
168
+ 'YZEquals',
169
+ 'YZZero',
170
+ 'YZero',
171
+ 'YZgrid',
172
+ 'Z',
173
+ 'ZX',
174
+ 'ZXgrid',
175
+ 'ZYgrid',
176
+ 'ZapfChancery',
177
+ 'ZapfDingbats',
178
+ '_cputime',
179
+ '_draw',
180
+ '_eval',
181
+ '_image',
182
+ '_labelpath',
183
+ '_projection',
184
+ '_strokepath',
185
+ '_texpath',
186
+ 'aCos',
187
+ 'aSin',
188
+ 'aTan',
189
+ 'abort',
190
+ 'abs',
191
+ 'accel',
192
+ 'acos',
193
+ 'acosh',
194
+ 'acot',
195
+ 'acsc',
196
+ 'add',
197
+ 'addArrow',
198
+ 'addMargins',
199
+ 'addSaveFunction',
200
+ 'addnode',
201
+ 'addnodes',
202
+ 'addpenarc',
203
+ 'addpenline',
204
+ 'addseg',
205
+ 'adjust',
206
+ 'alias',
207
+ 'align',
208
+ 'all',
209
+ 'altitude',
210
+ 'angabscissa',
211
+ 'angle',
212
+ 'angpoint',
213
+ 'animate',
214
+ 'annotate',
215
+ 'anticomplementary',
216
+ 'antipedal',
217
+ 'apply',
218
+ 'approximate',
219
+ 'arc',
220
+ 'arcarrowsize',
221
+ 'arccircle',
222
+ 'arcdir',
223
+ 'arcfromcenter',
224
+ 'arcfromfocus',
225
+ 'arclength',
226
+ 'arcnodesnumber',
227
+ 'arcpoint',
228
+ 'arcsubtended',
229
+ 'arcsubtendedcenter',
230
+ 'arctime',
231
+ 'arctopath',
232
+ 'array',
233
+ 'arrow',
234
+ 'arrow2',
235
+ 'arrowbase',
236
+ 'arrowbasepoints',
237
+ 'arrowsize',
238
+ 'asec',
239
+ 'asin',
240
+ 'asinh',
241
+ 'ask',
242
+ 'assert',
243
+ 'asy',
244
+ 'asycode',
245
+ 'asydir',
246
+ 'asyfigure',
247
+ 'asyfilecode',
248
+ 'asyinclude',
249
+ 'asywrite',
250
+ 'atan',
251
+ 'atan2',
252
+ 'atanh',
253
+ 'atbreakpoint',
254
+ 'atexit',
255
+ 'atime',
256
+ 'attach',
257
+ 'attract',
258
+ 'atupdate',
259
+ 'autoformat',
260
+ 'autoscale',
261
+ 'autoscale3',
262
+ 'axes',
263
+ 'axes3',
264
+ 'axialshade',
265
+ 'axis',
266
+ 'axiscoverage',
267
+ 'azimuth',
268
+ 'babel',
269
+ 'background',
270
+ 'bangles',
271
+ 'bar',
272
+ 'barmarksize',
273
+ 'barsize',
274
+ 'basealign',
275
+ 'baseline',
276
+ 'bbox',
277
+ 'beep',
278
+ 'begin',
279
+ 'beginclip',
280
+ 'begingroup',
281
+ 'beginpoint',
282
+ 'between',
283
+ 'bevel',
284
+ 'bezier',
285
+ 'bezierP',
286
+ 'bezierPP',
287
+ 'bezierPPP',
288
+ 'bezulate',
289
+ 'bibliography',
290
+ 'bibliographystyle',
291
+ 'binarytree',
292
+ 'binarytreeNode',
293
+ 'binomial',
294
+ 'binput',
295
+ 'bins',
296
+ 'bisector',
297
+ 'bisectorpoint',
298
+ 'blend',
299
+ 'boutput',
300
+ 'box',
301
+ 'bqe',
302
+ 'breakpoint',
303
+ 'breakpoints',
304
+ 'brick',
305
+ 'buildRestoreDefaults',
306
+ 'buildRestoreThunk',
307
+ 'buildcycle',
308
+ 'bulletcolor',
309
+ 'canonical',
310
+ 'canonicalcartesiansystem',
311
+ 'cartesiansystem',
312
+ 'case1',
313
+ 'case2',
314
+ 'case3',
315
+ 'cbrt',
316
+ 'cd',
317
+ 'ceil',
318
+ 'center',
319
+ 'centerToFocus',
320
+ 'centroid',
321
+ 'cevian',
322
+ 'change2',
323
+ 'changecoordsys',
324
+ 'checkSegment',
325
+ 'checkconditionlength',
326
+ 'checker',
327
+ 'checklengths',
328
+ 'checkposition',
329
+ 'checktriangle',
330
+ 'choose',
331
+ 'circle',
332
+ 'circlebarframe',
333
+ 'circlemarkradius',
334
+ 'circlenodesnumber',
335
+ 'circumcenter',
336
+ 'circumcircle',
337
+ 'clamped',
338
+ 'clear',
339
+ 'clip',
340
+ 'clipdraw',
341
+ 'close',
342
+ 'cmyk',
343
+ 'code',
344
+ 'colatitude',
345
+ 'collect',
346
+ 'collinear',
347
+ 'color',
348
+ 'colorless',
349
+ 'colors',
350
+ 'colorspace',
351
+ 'comma',
352
+ 'compassmark',
353
+ 'complement',
354
+ 'complementary',
355
+ 'concat',
356
+ 'concurrent',
357
+ 'cone',
358
+ 'conic',
359
+ 'conicnodesnumber',
360
+ 'conictype',
361
+ 'conj',
362
+ 'connect',
363
+ 'containmentTree',
364
+ 'contains',
365
+ 'contour',
366
+ 'contour3',
367
+ 'controlSpecifier',
368
+ 'convert',
369
+ 'coordinates',
370
+ 'coordsys',
371
+ 'copy',
372
+ 'cos',
373
+ 'cosh',
374
+ 'cot',
375
+ 'countIntersections',
376
+ 'cputime',
377
+ 'crop',
378
+ 'cropcode',
379
+ 'cross',
380
+ 'crossframe',
381
+ 'crosshatch',
382
+ 'crossmarksize',
383
+ 'csc',
384
+ 'cubicroots',
385
+ 'curabscissa',
386
+ 'curlSpecifier',
387
+ 'curpoint',
388
+ 'currentarrow',
389
+ 'currentexitfunction',
390
+ 'currentmomarrow',
391
+ 'currentpolarconicroutine',
392
+ 'curve',
393
+ 'cut',
394
+ 'cutafter',
395
+ 'cutbefore',
396
+ 'cyclic',
397
+ 'cylinder',
398
+ 'debugger',
399
+ 'deconstruct',
400
+ 'defaultdir',
401
+ 'defaultformat',
402
+ 'defaultpen',
403
+ 'defined',
404
+ 'degenerate',
405
+ 'degrees',
406
+ 'delete',
407
+ 'deletepreamble',
408
+ 'determinant',
409
+ 'diagonal',
410
+ 'diamond',
411
+ 'diffdiv',
412
+ 'dir',
413
+ 'dirSpecifier',
414
+ 'dirtime',
415
+ 'display',
416
+ 'distance',
417
+ 'divisors',
418
+ 'do_overpaint',
419
+ 'dot',
420
+ 'dotframe',
421
+ 'dotsize',
422
+ 'downcase',
423
+ 'draw',
424
+ 'drawAll',
425
+ 'drawDoubleLine',
426
+ 'drawFermion',
427
+ 'drawGhost',
428
+ 'drawGluon',
429
+ 'drawMomArrow',
430
+ 'drawPhoton',
431
+ 'drawScalar',
432
+ 'drawVertex',
433
+ 'drawVertexBox',
434
+ 'drawVertexBoxO',
435
+ 'drawVertexBoxX',
436
+ 'drawVertexO',
437
+ 'drawVertexOX',
438
+ 'drawVertexTriangle',
439
+ 'drawVertexTriangleO',
440
+ 'drawVertexX',
441
+ 'drawarrow',
442
+ 'drawarrow2',
443
+ 'drawline',
444
+ 'drawtick',
445
+ 'duplicate',
446
+ 'elle',
447
+ 'ellipse',
448
+ 'ellipsenodesnumber',
449
+ 'embed',
450
+ 'embed3',
451
+ 'empty',
452
+ 'enclose',
453
+ 'end',
454
+ 'endScript',
455
+ 'endclip',
456
+ 'endgroup',
457
+ 'endl',
458
+ 'endpoint',
459
+ 'endpoints',
460
+ 'eof',
461
+ 'eol',
462
+ 'equation',
463
+ 'equations',
464
+ 'erase',
465
+ 'erasestep',
466
+ 'erf',
467
+ 'erfc',
468
+ 'error',
469
+ 'errorbar',
470
+ 'errorbars',
471
+ 'eval',
472
+ 'excenter',
473
+ 'excircle',
474
+ 'exit',
475
+ 'exitXasyMode',
476
+ 'exitfunction',
477
+ 'exp',
478
+ 'expfactors',
479
+ 'expi',
480
+ 'expm1',
481
+ 'exradius',
482
+ 'extend',
483
+ 'extension',
484
+ 'extouch',
485
+ 'fabs',
486
+ 'factorial',
487
+ 'fermat',
488
+ 'fft',
489
+ 'fhorner',
490
+ 'figure',
491
+ 'file',
492
+ 'filecode',
493
+ 'fill',
494
+ 'filldraw',
495
+ 'filloutside',
496
+ 'fillrule',
497
+ 'filltype',
498
+ 'find',
499
+ 'finite',
500
+ 'finiteDifferenceJacobian',
501
+ 'firstcut',
502
+ 'firstframe',
503
+ 'fit',
504
+ 'fit2',
505
+ 'fixedscaling',
506
+ 'floor',
507
+ 'flush',
508
+ 'fmdefaults',
509
+ 'fmod',
510
+ 'focusToCenter',
511
+ 'font',
512
+ 'fontcommand',
513
+ 'fontsize',
514
+ 'foot',
515
+ 'format',
516
+ 'frac',
517
+ 'frequency',
518
+ 'fromCenter',
519
+ 'fromFocus',
520
+ 'fspline',
521
+ 'functionshade',
522
+ 'gamma',
523
+ 'generate_random_backtrace',
524
+ 'generateticks',
525
+ 'gergonne',
526
+ 'getc',
527
+ 'getint',
528
+ 'getpair',
529
+ 'getreal',
530
+ 'getstring',
531
+ 'gettriple',
532
+ 'gluon',
533
+ 'gouraudshade',
534
+ 'graph',
535
+ 'graphic',
536
+ 'gray',
537
+ 'grestore',
538
+ 'grid',
539
+ 'grid3',
540
+ 'gsave',
541
+ 'halfbox',
542
+ 'hatch',
543
+ 'hdiffdiv',
544
+ 'hermite',
545
+ 'hex',
546
+ 'histogram',
547
+ 'history',
548
+ 'hline',
549
+ 'hprojection',
550
+ 'hsv',
551
+ 'hyperbola',
552
+ 'hyperbolanodesnumber',
553
+ 'hyperlink',
554
+ 'hypot',
555
+ 'identity',
556
+ 'image',
557
+ 'incenter',
558
+ 'incentral',
559
+ 'incircle',
560
+ 'increasing',
561
+ 'incrementposition',
562
+ 'indexedTransform',
563
+ 'indexedfigure',
564
+ 'initXasyMode',
565
+ 'initdefaults',
566
+ 'input',
567
+ 'inradius',
568
+ 'insert',
569
+ 'inside',
570
+ 'integrate',
571
+ 'interactive',
572
+ 'interior',
573
+ 'interp',
574
+ 'interpolate',
575
+ 'intersect',
576
+ 'intersection',
577
+ 'intersectionpoint',
578
+ 'intersectionpoints',
579
+ 'intersections',
580
+ 'intouch',
581
+ 'inverse',
582
+ 'inversion',
583
+ 'invisible',
584
+ 'is3D',
585
+ 'isDuplicate',
586
+ 'isogonal',
587
+ 'isogonalconjugate',
588
+ 'isotomic',
589
+ 'isotomicconjugate',
590
+ 'isparabola',
591
+ 'italic',
592
+ 'item',
593
+ 'key',
594
+ 'kurtosis',
595
+ 'kurtosisexcess',
596
+ 'label',
597
+ 'labelaxis',
598
+ 'labelmargin',
599
+ 'labelpath',
600
+ 'labels',
601
+ 'labeltick',
602
+ 'labelx',
603
+ 'labelx3',
604
+ 'labely',
605
+ 'labely3',
606
+ 'labelz',
607
+ 'labelz3',
608
+ 'lastcut',
609
+ 'latex',
610
+ 'latitude',
611
+ 'latticeshade',
612
+ 'layer',
613
+ 'layout',
614
+ 'ldexp',
615
+ 'leastsquares',
616
+ 'legend',
617
+ 'legenditem',
618
+ 'length',
619
+ 'lift',
620
+ 'light',
621
+ 'limits',
622
+ 'line',
623
+ 'linear',
624
+ 'linecap',
625
+ 'lineinversion',
626
+ 'linejoin',
627
+ 'linemargin',
628
+ 'lineskip',
629
+ 'linetype',
630
+ 'linewidth',
631
+ 'link',
632
+ 'list',
633
+ 'lm_enorm',
634
+ 'lm_evaluate_default',
635
+ 'lm_lmdif',
636
+ 'lm_lmpar',
637
+ 'lm_minimize',
638
+ 'lm_print_default',
639
+ 'lm_print_quiet',
640
+ 'lm_qrfac',
641
+ 'lm_qrsolv',
642
+ 'locale',
643
+ 'locate',
644
+ 'locatefile',
645
+ 'location',
646
+ 'log',
647
+ 'log10',
648
+ 'log1p',
649
+ 'logaxiscoverage',
650
+ 'longitude',
651
+ 'lookup',
652
+ 'magnetize',
653
+ 'makeNode',
654
+ 'makedraw',
655
+ 'makepen',
656
+ 'map',
657
+ 'margin',
658
+ 'markangle',
659
+ 'markangleradius',
660
+ 'markanglespace',
661
+ 'markarc',
662
+ 'marker',
663
+ 'markinterval',
664
+ 'marknodes',
665
+ 'markrightangle',
666
+ 'markuniform',
667
+ 'mass',
668
+ 'masscenter',
669
+ 'massformat',
670
+ 'math',
671
+ 'max',
672
+ 'max3',
673
+ 'maxbezier',
674
+ 'maxbound',
675
+ 'maxcoords',
676
+ 'maxlength',
677
+ 'maxratio',
678
+ 'maxtimes',
679
+ 'mean',
680
+ 'medial',
681
+ 'median',
682
+ 'midpoint',
683
+ 'min',
684
+ 'min3',
685
+ 'minbezier',
686
+ 'minbound',
687
+ 'minipage',
688
+ 'minratio',
689
+ 'mintimes',
690
+ 'miterlimit',
691
+ 'momArrowPath',
692
+ 'momarrowsize',
693
+ 'monotonic',
694
+ 'multifigure',
695
+ 'nativeformat',
696
+ 'natural',
697
+ 'needshipout',
698
+ 'newl',
699
+ 'newpage',
700
+ 'newslide',
701
+ 'newton',
702
+ 'newtree',
703
+ 'nextframe',
704
+ 'nextnormal',
705
+ 'nextpage',
706
+ 'nib',
707
+ 'nodabscissa',
708
+ 'none',
709
+ 'norm',
710
+ 'normalvideo',
711
+ 'notaknot',
712
+ 'nowarn',
713
+ 'numberpage',
714
+ 'nurb',
715
+ 'object',
716
+ 'offset',
717
+ 'onpath',
718
+ 'opacity',
719
+ 'opposite',
720
+ 'orientation',
721
+ 'orig_circlenodesnumber',
722
+ 'orig_circlenodesnumber1',
723
+ 'orig_draw',
724
+ 'orig_ellipsenodesnumber',
725
+ 'orig_ellipsenodesnumber1',
726
+ 'orig_hyperbolanodesnumber',
727
+ 'orig_parabolanodesnumber',
728
+ 'origin',
729
+ 'orthic',
730
+ 'orthocentercenter',
731
+ 'outformat',
732
+ 'outline',
733
+ 'outprefix',
734
+ 'output',
735
+ 'overloadedMessage',
736
+ 'overwrite',
737
+ 'pack',
738
+ 'pad',
739
+ 'pairs',
740
+ 'palette',
741
+ 'parabola',
742
+ 'parabolanodesnumber',
743
+ 'parallel',
744
+ 'partialsum',
745
+ 'path',
746
+ 'path3',
747
+ 'pattern',
748
+ 'pause',
749
+ 'pdf',
750
+ 'pedal',
751
+ 'periodic',
752
+ 'perp',
753
+ 'perpendicular',
754
+ 'perpendicularmark',
755
+ 'phantom',
756
+ 'phi1',
757
+ 'phi2',
758
+ 'phi3',
759
+ 'photon',
760
+ 'piecewisestraight',
761
+ 'point',
762
+ 'polar',
763
+ 'polarconicroutine',
764
+ 'polargraph',
765
+ 'polygon',
766
+ 'postcontrol',
767
+ 'postscript',
768
+ 'pow10',
769
+ 'ppoint',
770
+ 'prc',
771
+ 'prc0',
772
+ 'precision',
773
+ 'precontrol',
774
+ 'prepend',
775
+ 'print_random_addresses',
776
+ 'project',
777
+ 'projection',
778
+ 'purge',
779
+ 'pwhermite',
780
+ 'quadrant',
781
+ 'quadraticroots',
782
+ 'quantize',
783
+ 'quarticroots',
784
+ 'quotient',
785
+ 'radialshade',
786
+ 'radians',
787
+ 'radicalcenter',
788
+ 'radicalline',
789
+ 'radius',
790
+ 'rand',
791
+ 'randompath',
792
+ 'rd',
793
+ 'readline',
794
+ 'realmult',
795
+ 'realquarticroots',
796
+ 'rectangle',
797
+ 'rectangular',
798
+ 'rectify',
799
+ 'reflect',
800
+ 'relabscissa',
801
+ 'relative',
802
+ 'relativedistance',
803
+ 'reldir',
804
+ 'relpoint',
805
+ 'reltime',
806
+ 'remainder',
807
+ 'remark',
808
+ 'removeDuplicates',
809
+ 'rename',
810
+ 'replace',
811
+ 'report',
812
+ 'resetdefaultpen',
813
+ 'restore',
814
+ 'restoredefaults',
815
+ 'reverse',
816
+ 'reversevideo',
817
+ 'rf',
818
+ 'rfind',
819
+ 'rgb',
820
+ 'rgba',
821
+ 'rgbint',
822
+ 'rms',
823
+ 'rotate',
824
+ 'rotateO',
825
+ 'rotation',
826
+ 'round',
827
+ 'roundbox',
828
+ 'roundedpath',
829
+ 'roundrectangle',
830
+ 'samecoordsys',
831
+ 'sameside',
832
+ 'sample',
833
+ 'save',
834
+ 'savedefaults',
835
+ 'saveline',
836
+ 'scale',
837
+ 'scale3',
838
+ 'scaleO',
839
+ 'scaleT',
840
+ 'scaleless',
841
+ 'scientific',
842
+ 'search',
843
+ 'searchtree',
844
+ 'sec',
845
+ 'secondaryX',
846
+ 'secondaryY',
847
+ 'seconds',
848
+ 'section',
849
+ 'sector',
850
+ 'seek',
851
+ 'seekeof',
852
+ 'segment',
853
+ 'sequence',
854
+ 'setpens',
855
+ 'sgn',
856
+ 'sgnd',
857
+ 'sharpangle',
858
+ 'sharpdegrees',
859
+ 'shift',
860
+ 'shiftless',
861
+ 'shipout',
862
+ 'shipout3',
863
+ 'show',
864
+ 'side',
865
+ 'simeq',
866
+ 'simpson',
867
+ 'sin',
868
+ 'single',
869
+ 'sinh',
870
+ 'size',
871
+ 'size3',
872
+ 'skewness',
873
+ 'skip',
874
+ 'slant',
875
+ 'sleep',
876
+ 'slope',
877
+ 'slopefield',
878
+ 'solve',
879
+ 'solveBVP',
880
+ 'sort',
881
+ 'sourceline',
882
+ 'sphere',
883
+ 'split',
884
+ 'sqrt',
885
+ 'square',
886
+ 'srand',
887
+ 'standardizecoordsys',
888
+ 'startScript',
889
+ 'startTrembling',
890
+ 'stdev',
891
+ 'step',
892
+ 'stickframe',
893
+ 'stickmarksize',
894
+ 'stickmarkspace',
895
+ 'stop',
896
+ 'straight',
897
+ 'straightness',
898
+ 'string',
899
+ 'stripdirectory',
900
+ 'stripextension',
901
+ 'stripfile',
902
+ 'strokepath',
903
+ 'subdivide',
904
+ 'subitem',
905
+ 'subpath',
906
+ 'substr',
907
+ 'sum',
908
+ 'surface',
909
+ 'symmedial',
910
+ 'symmedian',
911
+ 'system',
912
+ 'tab',
913
+ 'tableau',
914
+ 'tan',
915
+ 'tangent',
916
+ 'tangential',
917
+ 'tangents',
918
+ 'tanh',
919
+ 'tell',
920
+ 'tensionSpecifier',
921
+ 'tensorshade',
922
+ 'tex',
923
+ 'texcolor',
924
+ 'texify',
925
+ 'texpath',
926
+ 'texpreamble',
927
+ 'texreset',
928
+ 'texshipout',
929
+ 'texsize',
930
+ 'textpath',
931
+ 'thick',
932
+ 'thin',
933
+ 'tick',
934
+ 'tickMax',
935
+ 'tickMax3',
936
+ 'tickMin',
937
+ 'tickMin3',
938
+ 'ticklabelshift',
939
+ 'ticklocate',
940
+ 'tildeframe',
941
+ 'tildemarksize',
942
+ 'tile',
943
+ 'tiling',
944
+ 'time',
945
+ 'times',
946
+ 'title',
947
+ 'titlepage',
948
+ 'topbox',
949
+ 'transform',
950
+ 'transformation',
951
+ 'transpose',
952
+ 'tremble',
953
+ 'trembleFuzz',
954
+ 'tremble_circlenodesnumber',
955
+ 'tremble_circlenodesnumber1',
956
+ 'tremble_draw',
957
+ 'tremble_ellipsenodesnumber',
958
+ 'tremble_ellipsenodesnumber1',
959
+ 'tremble_hyperbolanodesnumber',
960
+ 'tremble_marknodes',
961
+ 'tremble_markuniform',
962
+ 'tremble_parabolanodesnumber',
963
+ 'triangle',
964
+ 'triangleAbc',
965
+ 'triangleabc',
966
+ 'triangulate',
967
+ 'tricoef',
968
+ 'tridiagonal',
969
+ 'trilinear',
970
+ 'trim',
971
+ 'trueMagnetize',
972
+ 'truepoint',
973
+ 'tube',
974
+ 'uncycle',
975
+ 'unfill',
976
+ 'uniform',
977
+ 'unit',
978
+ 'unitrand',
979
+ 'unitsize',
980
+ 'unityroot',
981
+ 'unstraighten',
982
+ 'upcase',
983
+ 'updatefunction',
984
+ 'uperiodic',
985
+ 'upscale',
986
+ 'uptodate',
987
+ 'usepackage',
988
+ 'usersetting',
989
+ 'usetypescript',
990
+ 'usleep',
991
+ 'value',
992
+ 'variance',
993
+ 'variancebiased',
994
+ 'vbox',
995
+ 'vector',
996
+ 'vectorfield',
997
+ 'verbatim',
998
+ 'view',
999
+ 'vline',
1000
+ 'vperiodic',
1001
+ 'vprojection',
1002
+ 'warn',
1003
+ 'warning',
1004
+ 'windingnumber',
1005
+ 'write',
1006
+ 'xaxis',
1007
+ 'xaxis3',
1008
+ 'xaxis3At',
1009
+ 'xaxisAt',
1010
+ 'xequals',
1011
+ 'xinput',
1012
+ 'xlimits',
1013
+ 'xoutput',
1014
+ 'xpart',
1015
+ 'xscale',
1016
+ 'xscaleO',
1017
+ 'xtick',
1018
+ 'xtick3',
1019
+ 'xtrans',
1020
+ 'yaxis',
1021
+ 'yaxis3',
1022
+ 'yaxis3At',
1023
+ 'yaxisAt',
1024
+ 'yequals',
1025
+ 'ylimits',
1026
+ 'ypart',
1027
+ 'yscale',
1028
+ 'yscaleO',
1029
+ 'ytick',
1030
+ 'ytick3',
1031
+ 'ytrans',
1032
+ 'zaxis3',
1033
+ 'zaxis3At',
1034
+ 'zero',
1035
+ 'zero3',
1036
+ 'zlimits',
1037
+ 'zpart',
1038
+ 'ztick',
1039
+ 'ztick3',
1040
+ 'ztrans'
1041
+ ))
1042
+
1043
+ ASYVARNAME = set((
1044
+ 'AliceBlue',
1045
+ 'Align',
1046
+ 'Allow',
1047
+ 'AntiqueWhite',
1048
+ 'Apricot',
1049
+ 'Aqua',
1050
+ 'Aquamarine',
1051
+ 'Aspect',
1052
+ 'Azure',
1053
+ 'BeginPoint',
1054
+ 'Beige',
1055
+ 'Bisque',
1056
+ 'Bittersweet',
1057
+ 'Black',
1058
+ 'BlanchedAlmond',
1059
+ 'Blue',
1060
+ 'BlueGreen',
1061
+ 'BlueViolet',
1062
+ 'Both',
1063
+ 'Break',
1064
+ 'BrickRed',
1065
+ 'Brown',
1066
+ 'BurlyWood',
1067
+ 'BurntOrange',
1068
+ 'CCW',
1069
+ 'CW',
1070
+ 'CadetBlue',
1071
+ 'CarnationPink',
1072
+ 'Center',
1073
+ 'Centered',
1074
+ 'Cerulean',
1075
+ 'Chartreuse',
1076
+ 'Chocolate',
1077
+ 'Coeff',
1078
+ 'Coral',
1079
+ 'CornflowerBlue',
1080
+ 'Cornsilk',
1081
+ 'Crimson',
1082
+ 'Crop',
1083
+ 'Cyan',
1084
+ 'Dandelion',
1085
+ 'DarkBlue',
1086
+ 'DarkCyan',
1087
+ 'DarkGoldenrod',
1088
+ 'DarkGray',
1089
+ 'DarkGreen',
1090
+ 'DarkKhaki',
1091
+ 'DarkMagenta',
1092
+ 'DarkOliveGreen',
1093
+ 'DarkOrange',
1094
+ 'DarkOrchid',
1095
+ 'DarkRed',
1096
+ 'DarkSalmon',
1097
+ 'DarkSeaGreen',
1098
+ 'DarkSlateBlue',
1099
+ 'DarkSlateGray',
1100
+ 'DarkTurquoise',
1101
+ 'DarkViolet',
1102
+ 'DeepPink',
1103
+ 'DeepSkyBlue',
1104
+ 'DefaultHead',
1105
+ 'DimGray',
1106
+ 'DodgerBlue',
1107
+ 'Dotted',
1108
+ 'Draw',
1109
+ 'E',
1110
+ 'ENE',
1111
+ 'EPS',
1112
+ 'ESE',
1113
+ 'E_Euler',
1114
+ 'E_PC',
1115
+ 'E_RK2',
1116
+ 'E_RK3BS',
1117
+ 'Emerald',
1118
+ 'EndPoint',
1119
+ 'Euler',
1120
+ 'Fill',
1121
+ 'FillDraw',
1122
+ 'FireBrick',
1123
+ 'FloralWhite',
1124
+ 'ForestGreen',
1125
+ 'Fuchsia',
1126
+ 'Gainsboro',
1127
+ 'GhostWhite',
1128
+ 'Gold',
1129
+ 'Goldenrod',
1130
+ 'Gray',
1131
+ 'Green',
1132
+ 'GreenYellow',
1133
+ 'Honeydew',
1134
+ 'HookHead',
1135
+ 'Horizontal',
1136
+ 'HotPink',
1137
+ 'I',
1138
+ 'IgnoreAspect',
1139
+ 'IndianRed',
1140
+ 'Indigo',
1141
+ 'Ivory',
1142
+ 'JOIN_IN',
1143
+ 'JOIN_OUT',
1144
+ 'JungleGreen',
1145
+ 'Khaki',
1146
+ 'LM_DWARF',
1147
+ 'LM_MACHEP',
1148
+ 'LM_SQRT_DWARF',
1149
+ 'LM_SQRT_GIANT',
1150
+ 'LM_USERTOL',
1151
+ 'Label',
1152
+ 'Lavender',
1153
+ 'LavenderBlush',
1154
+ 'LawnGreen',
1155
+ 'LeftJustified',
1156
+ 'LeftSide',
1157
+ 'LemonChiffon',
1158
+ 'LightBlue',
1159
+ 'LightCoral',
1160
+ 'LightCyan',
1161
+ 'LightGoldenrodYellow',
1162
+ 'LightGreen',
1163
+ 'LightGrey',
1164
+ 'LightPink',
1165
+ 'LightSalmon',
1166
+ 'LightSeaGreen',
1167
+ 'LightSkyBlue',
1168
+ 'LightSlateGray',
1169
+ 'LightSteelBlue',
1170
+ 'LightYellow',
1171
+ 'Lime',
1172
+ 'LimeGreen',
1173
+ 'Linear',
1174
+ 'Linen',
1175
+ 'Log',
1176
+ 'Logarithmic',
1177
+ 'Magenta',
1178
+ 'Mahogany',
1179
+ 'Mark',
1180
+ 'MarkFill',
1181
+ 'Maroon',
1182
+ 'Max',
1183
+ 'MediumAquamarine',
1184
+ 'MediumBlue',
1185
+ 'MediumOrchid',
1186
+ 'MediumPurple',
1187
+ 'MediumSeaGreen',
1188
+ 'MediumSlateBlue',
1189
+ 'MediumSpringGreen',
1190
+ 'MediumTurquoise',
1191
+ 'MediumVioletRed',
1192
+ 'Melon',
1193
+ 'MidPoint',
1194
+ 'MidnightBlue',
1195
+ 'Min',
1196
+ 'MintCream',
1197
+ 'MistyRose',
1198
+ 'Moccasin',
1199
+ 'Move',
1200
+ 'MoveQuiet',
1201
+ 'Mulberry',
1202
+ 'N',
1203
+ 'NE',
1204
+ 'NNE',
1205
+ 'NNW',
1206
+ 'NW',
1207
+ 'NavajoWhite',
1208
+ 'Navy',
1209
+ 'NavyBlue',
1210
+ 'NoAlign',
1211
+ 'NoCrop',
1212
+ 'NoFill',
1213
+ 'NoSide',
1214
+ 'OldLace',
1215
+ 'Olive',
1216
+ 'OliveDrab',
1217
+ 'OliveGreen',
1218
+ 'Orange',
1219
+ 'OrangeRed',
1220
+ 'Orchid',
1221
+ 'Ox',
1222
+ 'Oy',
1223
+ 'PC',
1224
+ 'PaleGoldenrod',
1225
+ 'PaleGreen',
1226
+ 'PaleTurquoise',
1227
+ 'PaleVioletRed',
1228
+ 'PapayaWhip',
1229
+ 'Peach',
1230
+ 'PeachPuff',
1231
+ 'Periwinkle',
1232
+ 'Peru',
1233
+ 'PineGreen',
1234
+ 'Pink',
1235
+ 'Plum',
1236
+ 'PowderBlue',
1237
+ 'ProcessBlue',
1238
+ 'Purple',
1239
+ 'RK2',
1240
+ 'RK3',
1241
+ 'RK3BS',
1242
+ 'RK4',
1243
+ 'RK5',
1244
+ 'RK5DP',
1245
+ 'RK5F',
1246
+ 'RawSienna',
1247
+ 'Red',
1248
+ 'RedOrange',
1249
+ 'RedViolet',
1250
+ 'Rhodamine',
1251
+ 'RightJustified',
1252
+ 'RightSide',
1253
+ 'RosyBrown',
1254
+ 'RoyalBlue',
1255
+ 'RoyalPurple',
1256
+ 'RubineRed',
1257
+ 'S',
1258
+ 'SE',
1259
+ 'SSE',
1260
+ 'SSW',
1261
+ 'SW',
1262
+ 'SaddleBrown',
1263
+ 'Salmon',
1264
+ 'SandyBrown',
1265
+ 'SeaGreen',
1266
+ 'Seashell',
1267
+ 'Sepia',
1268
+ 'Sienna',
1269
+ 'Silver',
1270
+ 'SimpleHead',
1271
+ 'SkyBlue',
1272
+ 'SlateBlue',
1273
+ 'SlateGray',
1274
+ 'Snow',
1275
+ 'SpringGreen',
1276
+ 'SteelBlue',
1277
+ 'Suppress',
1278
+ 'SuppressQuiet',
1279
+ 'Tan',
1280
+ 'TeXHead',
1281
+ 'Teal',
1282
+ 'TealBlue',
1283
+ 'Thistle',
1284
+ 'Ticksize',
1285
+ 'Tomato',
1286
+ 'Turquoise',
1287
+ 'UnFill',
1288
+ 'VERSION',
1289
+ 'Value',
1290
+ 'Vertical',
1291
+ 'Violet',
1292
+ 'VioletRed',
1293
+ 'W',
1294
+ 'WNW',
1295
+ 'WSW',
1296
+ 'Wheat',
1297
+ 'White',
1298
+ 'WhiteSmoke',
1299
+ 'WildStrawberry',
1300
+ 'XYAlign',
1301
+ 'YAlign',
1302
+ 'Yellow',
1303
+ 'YellowGreen',
1304
+ 'YellowOrange',
1305
+ 'addpenarc',
1306
+ 'addpenline',
1307
+ 'align',
1308
+ 'allowstepping',
1309
+ 'angularsystem',
1310
+ 'animationdelay',
1311
+ 'appendsuffix',
1312
+ 'arcarrowangle',
1313
+ 'arcarrowfactor',
1314
+ 'arrow2sizelimit',
1315
+ 'arrowangle',
1316
+ 'arrowbarb',
1317
+ 'arrowdir',
1318
+ 'arrowfactor',
1319
+ 'arrowhookfactor',
1320
+ 'arrowlength',
1321
+ 'arrowsizelimit',
1322
+ 'arrowtexfactor',
1323
+ 'authorpen',
1324
+ 'axis',
1325
+ 'axiscoverage',
1326
+ 'axislabelfactor',
1327
+ 'background',
1328
+ 'backgroundcolor',
1329
+ 'backgroundpen',
1330
+ 'barfactor',
1331
+ 'barmarksizefactor',
1332
+ 'basealign',
1333
+ 'baselinetemplate',
1334
+ 'beveljoin',
1335
+ 'bigvertexpen',
1336
+ 'bigvertexsize',
1337
+ 'black',
1338
+ 'blue',
1339
+ 'bm',
1340
+ 'bottom',
1341
+ 'bp',
1342
+ 'brown',
1343
+ 'bullet',
1344
+ 'byfoci',
1345
+ 'byvertices',
1346
+ 'camerafactor',
1347
+ 'chartreuse',
1348
+ 'circlemarkradiusfactor',
1349
+ 'circlenodesnumberfactor',
1350
+ 'circleprecision',
1351
+ 'circlescale',
1352
+ 'cm',
1353
+ 'codefile',
1354
+ 'codepen',
1355
+ 'codeskip',
1356
+ 'colorPen',
1357
+ 'coloredNodes',
1358
+ 'coloredSegments',
1359
+ 'conditionlength',
1360
+ 'conicnodesfactor',
1361
+ 'count',
1362
+ 'cputimeformat',
1363
+ 'crossmarksizefactor',
1364
+ 'currentcoordsys',
1365
+ 'currentlight',
1366
+ 'currentpatterns',
1367
+ 'currentpen',
1368
+ 'currentpicture',
1369
+ 'currentposition',
1370
+ 'currentprojection',
1371
+ 'curvilinearsystem',
1372
+ 'cuttings',
1373
+ 'cyan',
1374
+ 'darkblue',
1375
+ 'darkbrown',
1376
+ 'darkcyan',
1377
+ 'darkgray',
1378
+ 'darkgreen',
1379
+ 'darkgrey',
1380
+ 'darkmagenta',
1381
+ 'darkolive',
1382
+ 'darkred',
1383
+ 'dashdotted',
1384
+ 'dashed',
1385
+ 'datepen',
1386
+ 'dateskip',
1387
+ 'debuggerlines',
1388
+ 'debugging',
1389
+ 'deepblue',
1390
+ 'deepcyan',
1391
+ 'deepgray',
1392
+ 'deepgreen',
1393
+ 'deepgrey',
1394
+ 'deepmagenta',
1395
+ 'deepred',
1396
+ 'default',
1397
+ 'defaultControl',
1398
+ 'defaultS',
1399
+ 'defaultbackpen',
1400
+ 'defaultcoordsys',
1401
+ 'defaultfilename',
1402
+ 'defaultformat',
1403
+ 'defaultmassformat',
1404
+ 'defaultpen',
1405
+ 'diagnostics',
1406
+ 'differentlengths',
1407
+ 'dot',
1408
+ 'dotfactor',
1409
+ 'dotframe',
1410
+ 'dotted',
1411
+ 'doublelinepen',
1412
+ 'doublelinespacing',
1413
+ 'down',
1414
+ 'duplicateFuzz',
1415
+ 'ellipsenodesnumberfactor',
1416
+ 'eps',
1417
+ 'epsgeo',
1418
+ 'epsilon',
1419
+ 'evenodd',
1420
+ 'extendcap',
1421
+ 'fermionpen',
1422
+ 'figureborder',
1423
+ 'figuremattpen',
1424
+ 'firstnode',
1425
+ 'firststep',
1426
+ 'foregroundcolor',
1427
+ 'fuchsia',
1428
+ 'fuzz',
1429
+ 'gapfactor',
1430
+ 'ghostpen',
1431
+ 'gluonamplitude',
1432
+ 'gluonpen',
1433
+ 'gluonratio',
1434
+ 'gray',
1435
+ 'green',
1436
+ 'grey',
1437
+ 'hatchepsilon',
1438
+ 'havepagenumber',
1439
+ 'heavyblue',
1440
+ 'heavycyan',
1441
+ 'heavygray',
1442
+ 'heavygreen',
1443
+ 'heavygrey',
1444
+ 'heavymagenta',
1445
+ 'heavyred',
1446
+ 'hline',
1447
+ 'hwratio',
1448
+ 'hyperbolanodesnumberfactor',
1449
+ 'identity4',
1450
+ 'ignore',
1451
+ 'inXasyMode',
1452
+ 'inch',
1453
+ 'inches',
1454
+ 'includegraphicscommand',
1455
+ 'inf',
1456
+ 'infinity',
1457
+ 'institutionpen',
1458
+ 'intMax',
1459
+ 'intMin',
1460
+ 'invert',
1461
+ 'invisible',
1462
+ 'itempen',
1463
+ 'itemskip',
1464
+ 'itemstep',
1465
+ 'labelmargin',
1466
+ 'landscape',
1467
+ 'lastnode',
1468
+ 'left',
1469
+ 'legendhskip',
1470
+ 'legendlinelength',
1471
+ 'legendmargin',
1472
+ 'legendmarkersize',
1473
+ 'legendmaxrelativewidth',
1474
+ 'legendvskip',
1475
+ 'lightblue',
1476
+ 'lightcyan',
1477
+ 'lightgray',
1478
+ 'lightgreen',
1479
+ 'lightgrey',
1480
+ 'lightmagenta',
1481
+ 'lightolive',
1482
+ 'lightred',
1483
+ 'lightyellow',
1484
+ 'linemargin',
1485
+ 'lm_infmsg',
1486
+ 'lm_shortmsg',
1487
+ 'longdashdotted',
1488
+ 'longdashed',
1489
+ 'magenta',
1490
+ 'magneticPoints',
1491
+ 'magneticRadius',
1492
+ 'mantissaBits',
1493
+ 'markangleradius',
1494
+ 'markangleradiusfactor',
1495
+ 'markanglespace',
1496
+ 'markanglespacefactor',
1497
+ 'mediumblue',
1498
+ 'mediumcyan',
1499
+ 'mediumgray',
1500
+ 'mediumgreen',
1501
+ 'mediumgrey',
1502
+ 'mediummagenta',
1503
+ 'mediumred',
1504
+ 'mediumyellow',
1505
+ 'middle',
1506
+ 'minDistDefault',
1507
+ 'minblockheight',
1508
+ 'minblockwidth',
1509
+ 'mincirclediameter',
1510
+ 'minipagemargin',
1511
+ 'minipagewidth',
1512
+ 'minvertexangle',
1513
+ 'miterjoin',
1514
+ 'mm',
1515
+ 'momarrowfactor',
1516
+ 'momarrowlength',
1517
+ 'momarrowmargin',
1518
+ 'momarrowoffset',
1519
+ 'momarrowpen',
1520
+ 'monoPen',
1521
+ 'morepoints',
1522
+ 'nCircle',
1523
+ 'newbulletcolor',
1524
+ 'ngraph',
1525
+ 'nil',
1526
+ 'nmesh',
1527
+ 'nobasealign',
1528
+ 'nodeMarginDefault',
1529
+ 'nodesystem',
1530
+ 'nomarker',
1531
+ 'nopoint',
1532
+ 'noprimary',
1533
+ 'nullpath',
1534
+ 'nullpen',
1535
+ 'numarray',
1536
+ 'ocgindex',
1537
+ 'oldbulletcolor',
1538
+ 'olive',
1539
+ 'orange',
1540
+ 'origin',
1541
+ 'overpaint',
1542
+ 'page',
1543
+ 'pageheight',
1544
+ 'pagemargin',
1545
+ 'pagenumberalign',
1546
+ 'pagenumberpen',
1547
+ 'pagenumberposition',
1548
+ 'pagewidth',
1549
+ 'paleblue',
1550
+ 'palecyan',
1551
+ 'palegray',
1552
+ 'palegreen',
1553
+ 'palegrey',
1554
+ 'palemagenta',
1555
+ 'palered',
1556
+ 'paleyellow',
1557
+ 'parabolanodesnumberfactor',
1558
+ 'perpfactor',
1559
+ 'phi',
1560
+ 'photonamplitude',
1561
+ 'photonpen',
1562
+ 'photonratio',
1563
+ 'pi',
1564
+ 'pink',
1565
+ 'plain',
1566
+ 'plus',
1567
+ 'preamblenodes',
1568
+ 'pt',
1569
+ 'purple',
1570
+ 'r3',
1571
+ 'r4a',
1572
+ 'r4b',
1573
+ 'randMax',
1574
+ 'realDigits',
1575
+ 'realEpsilon',
1576
+ 'realMax',
1577
+ 'realMin',
1578
+ 'red',
1579
+ 'relativesystem',
1580
+ 'reverse',
1581
+ 'right',
1582
+ 'roundcap',
1583
+ 'roundjoin',
1584
+ 'royalblue',
1585
+ 'salmon',
1586
+ 'saveFunctions',
1587
+ 'scalarpen',
1588
+ 'sequencereal',
1589
+ 'settings',
1590
+ 'shipped',
1591
+ 'signedtrailingzero',
1592
+ 'solid',
1593
+ 'springgreen',
1594
+ 'sqrtEpsilon',
1595
+ 'squarecap',
1596
+ 'squarepen',
1597
+ 'startposition',
1598
+ 'stdin',
1599
+ 'stdout',
1600
+ 'stepfactor',
1601
+ 'stepfraction',
1602
+ 'steppagenumberpen',
1603
+ 'stepping',
1604
+ 'stickframe',
1605
+ 'stickmarksizefactor',
1606
+ 'stickmarkspacefactor',
1607
+ 'textpen',
1608
+ 'ticksize',
1609
+ 'tildeframe',
1610
+ 'tildemarksizefactor',
1611
+ 'tinv',
1612
+ 'titlealign',
1613
+ 'titlepagepen',
1614
+ 'titlepageposition',
1615
+ 'titlepen',
1616
+ 'titleskip',
1617
+ 'top',
1618
+ 'trailingzero',
1619
+ 'treeLevelStep',
1620
+ 'treeMinNodeWidth',
1621
+ 'treeNodeStep',
1622
+ 'trembleAngle',
1623
+ 'trembleFrequency',
1624
+ 'trembleRandom',
1625
+ 'tremblingMode',
1626
+ 'undefined',
1627
+ 'unitcircle',
1628
+ 'unitsquare',
1629
+ 'up',
1630
+ 'urlpen',
1631
+ 'urlskip',
1632
+ 'version',
1633
+ 'vertexpen',
1634
+ 'vertexsize',
1635
+ 'viewportmargin',
1636
+ 'viewportsize',
1637
+ 'vline',
1638
+ 'white',
1639
+ 'wye',
1640
+ 'xformStack',
1641
+ 'yellow',
1642
+ 'ylabelwidth',
1643
+ 'zerotickfuzz',
1644
+ 'zerowinding'
1645
+ ))
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_cl_builtins.py ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._cl_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ ANSI Common Lisp builtins.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ BUILTIN_FUNCTIONS = set(( # 638 functions
13
+ '<', '<=', '=', '>', '>=', '-', '/', '/=', '*', '+', '1-', '1+',
14
+ 'abort', 'abs', 'acons', 'acos', 'acosh', 'add-method', 'adjoin',
15
+ 'adjustable-array-p', 'adjust-array', 'allocate-instance',
16
+ 'alpha-char-p', 'alphanumericp', 'append', 'apply', 'apropos',
17
+ 'apropos-list', 'aref', 'arithmetic-error-operands',
18
+ 'arithmetic-error-operation', 'array-dimension', 'array-dimensions',
19
+ 'array-displacement', 'array-element-type', 'array-has-fill-pointer-p',
20
+ 'array-in-bounds-p', 'arrayp', 'array-rank', 'array-row-major-index',
21
+ 'array-total-size', 'ash', 'asin', 'asinh', 'assoc', 'assoc-if',
22
+ 'assoc-if-not', 'atan', 'atanh', 'atom', 'bit', 'bit-and', 'bit-andc1',
23
+ 'bit-andc2', 'bit-eqv', 'bit-ior', 'bit-nand', 'bit-nor', 'bit-not',
24
+ 'bit-orc1', 'bit-orc2', 'bit-vector-p', 'bit-xor', 'boole',
25
+ 'both-case-p', 'boundp', 'break', 'broadcast-stream-streams',
26
+ 'butlast', 'byte', 'byte-position', 'byte-size', 'caaaar', 'caaadr',
27
+ 'caaar', 'caadar', 'caaddr', 'caadr', 'caar', 'cadaar', 'cadadr',
28
+ 'cadar', 'caddar', 'cadddr', 'caddr', 'cadr', 'call-next-method', 'car',
29
+ 'cdaaar', 'cdaadr', 'cdaar', 'cdadar', 'cdaddr', 'cdadr', 'cdar',
30
+ 'cddaar', 'cddadr', 'cddar', 'cdddar', 'cddddr', 'cdddr', 'cddr', 'cdr',
31
+ 'ceiling', 'cell-error-name', 'cerror', 'change-class', 'char', 'char<',
32
+ 'char<=', 'char=', 'char>', 'char>=', 'char/=', 'character',
33
+ 'characterp', 'char-code', 'char-downcase', 'char-equal',
34
+ 'char-greaterp', 'char-int', 'char-lessp', 'char-name',
35
+ 'char-not-equal', 'char-not-greaterp', 'char-not-lessp', 'char-upcase',
36
+ 'cis', 'class-name', 'class-of', 'clear-input', 'clear-output',
37
+ 'close', 'clrhash', 'code-char', 'coerce', 'compile',
38
+ 'compiled-function-p', 'compile-file', 'compile-file-pathname',
39
+ 'compiler-macro-function', 'complement', 'complex', 'complexp',
40
+ 'compute-applicable-methods', 'compute-restarts', 'concatenate',
41
+ 'concatenated-stream-streams', 'conjugate', 'cons', 'consp',
42
+ 'constantly', 'constantp', 'continue', 'copy-alist', 'copy-list',
43
+ 'copy-pprint-dispatch', 'copy-readtable', 'copy-seq', 'copy-structure',
44
+ 'copy-symbol', 'copy-tree', 'cos', 'cosh', 'count', 'count-if',
45
+ 'count-if-not', 'decode-float', 'decode-universal-time', 'delete',
46
+ 'delete-duplicates', 'delete-file', 'delete-if', 'delete-if-not',
47
+ 'delete-package', 'denominator', 'deposit-field', 'describe',
48
+ 'describe-object', 'digit-char', 'digit-char-p', 'directory',
49
+ 'directory-namestring', 'disassemble', 'documentation', 'dpb',
50
+ 'dribble', 'echo-stream-input-stream', 'echo-stream-output-stream',
51
+ 'ed', 'eighth', 'elt', 'encode-universal-time', 'endp',
52
+ 'enough-namestring', 'ensure-directories-exist',
53
+ 'ensure-generic-function', 'eq', 'eql', 'equal', 'equalp', 'error',
54
+ 'eval', 'evenp', 'every', 'exp', 'export', 'expt', 'fboundp',
55
+ 'fceiling', 'fdefinition', 'ffloor', 'fifth', 'file-author',
56
+ 'file-error-pathname', 'file-length', 'file-namestring',
57
+ 'file-position', 'file-string-length', 'file-write-date',
58
+ 'fill', 'fill-pointer', 'find', 'find-all-symbols', 'find-class',
59
+ 'find-if', 'find-if-not', 'find-method', 'find-package', 'find-restart',
60
+ 'find-symbol', 'finish-output', 'first', 'float', 'float-digits',
61
+ 'floatp', 'float-precision', 'float-radix', 'float-sign', 'floor',
62
+ 'fmakunbound', 'force-output', 'format', 'fourth', 'fresh-line',
63
+ 'fround', 'ftruncate', 'funcall', 'function-keywords',
64
+ 'function-lambda-expression', 'functionp', 'gcd', 'gensym', 'gentemp',
65
+ 'get', 'get-decoded-time', 'get-dispatch-macro-character', 'getf',
66
+ 'gethash', 'get-internal-real-time', 'get-internal-run-time',
67
+ 'get-macro-character', 'get-output-stream-string', 'get-properties',
68
+ 'get-setf-expansion', 'get-universal-time', 'graphic-char-p',
69
+ 'hash-table-count', 'hash-table-p', 'hash-table-rehash-size',
70
+ 'hash-table-rehash-threshold', 'hash-table-size', 'hash-table-test',
71
+ 'host-namestring', 'identity', 'imagpart', 'import',
72
+ 'initialize-instance', 'input-stream-p', 'inspect',
73
+ 'integer-decode-float', 'integer-length', 'integerp',
74
+ 'interactive-stream-p', 'intern', 'intersection',
75
+ 'invalid-method-error', 'invoke-debugger', 'invoke-restart',
76
+ 'invoke-restart-interactively', 'isqrt', 'keywordp', 'last', 'lcm',
77
+ 'ldb', 'ldb-test', 'ldiff', 'length', 'lisp-implementation-type',
78
+ 'lisp-implementation-version', 'list', 'list*', 'list-all-packages',
79
+ 'listen', 'list-length', 'listp', 'load',
80
+ 'load-logical-pathname-translations', 'log', 'logand', 'logandc1',
81
+ 'logandc2', 'logbitp', 'logcount', 'logeqv', 'logical-pathname',
82
+ 'logical-pathname-translations', 'logior', 'lognand', 'lognor',
83
+ 'lognot', 'logorc1', 'logorc2', 'logtest', 'logxor', 'long-site-name',
84
+ 'lower-case-p', 'machine-instance', 'machine-type', 'machine-version',
85
+ 'macroexpand', 'macroexpand-1', 'macro-function', 'make-array',
86
+ 'make-broadcast-stream', 'make-concatenated-stream', 'make-condition',
87
+ 'make-dispatch-macro-character', 'make-echo-stream', 'make-hash-table',
88
+ 'make-instance', 'make-instances-obsolete', 'make-list',
89
+ 'make-load-form', 'make-load-form-saving-slots', 'make-package',
90
+ 'make-pathname', 'make-random-state', 'make-sequence', 'make-string',
91
+ 'make-string-input-stream', 'make-string-output-stream', 'make-symbol',
92
+ 'make-synonym-stream', 'make-two-way-stream', 'makunbound', 'map',
93
+ 'mapc', 'mapcan', 'mapcar', 'mapcon', 'maphash', 'map-into', 'mapl',
94
+ 'maplist', 'mask-field', 'max', 'member', 'member-if', 'member-if-not',
95
+ 'merge', 'merge-pathnames', 'method-combination-error',
96
+ 'method-qualifiers', 'min', 'minusp', 'mismatch', 'mod',
97
+ 'muffle-warning', 'name-char', 'namestring', 'nbutlast', 'nconc',
98
+ 'next-method-p', 'nintersection', 'ninth', 'no-applicable-method',
99
+ 'no-next-method', 'not', 'notany', 'notevery', 'nreconc', 'nreverse',
100
+ 'nset-difference', 'nset-exclusive-or', 'nstring-capitalize',
101
+ 'nstring-downcase', 'nstring-upcase', 'nsublis', 'nsubst', 'nsubst-if',
102
+ 'nsubst-if-not', 'nsubstitute', 'nsubstitute-if', 'nsubstitute-if-not',
103
+ 'nth', 'nthcdr', 'null', 'numberp', 'numerator', 'nunion', 'oddp',
104
+ 'open', 'open-stream-p', 'output-stream-p', 'package-error-package',
105
+ 'package-name', 'package-nicknames', 'packagep',
106
+ 'package-shadowing-symbols', 'package-used-by-list', 'package-use-list',
107
+ 'pairlis', 'parse-integer', 'parse-namestring', 'pathname',
108
+ 'pathname-device', 'pathname-directory', 'pathname-host',
109
+ 'pathname-match-p', 'pathname-name', 'pathnamep', 'pathname-type',
110
+ 'pathname-version', 'peek-char', 'phase', 'plusp', 'position',
111
+ 'position-if', 'position-if-not', 'pprint', 'pprint-dispatch',
112
+ 'pprint-fill', 'pprint-indent', 'pprint-linear', 'pprint-newline',
113
+ 'pprint-tab', 'pprint-tabular', 'prin1', 'prin1-to-string', 'princ',
114
+ 'princ-to-string', 'print', 'print-object', 'probe-file', 'proclaim',
115
+ 'provide', 'random', 'random-state-p', 'rassoc', 'rassoc-if',
116
+ 'rassoc-if-not', 'rational', 'rationalize', 'rationalp', 'read',
117
+ 'read-byte', 'read-char', 'read-char-no-hang', 'read-delimited-list',
118
+ 'read-from-string', 'read-line', 'read-preserving-whitespace',
119
+ 'read-sequence', 'readtable-case', 'readtablep', 'realp', 'realpart',
120
+ 'reduce', 'reinitialize-instance', 'rem', 'remhash', 'remove',
121
+ 'remove-duplicates', 'remove-if', 'remove-if-not', 'remove-method',
122
+ 'remprop', 'rename-file', 'rename-package', 'replace', 'require',
123
+ 'rest', 'restart-name', 'revappend', 'reverse', 'room', 'round',
124
+ 'row-major-aref', 'rplaca', 'rplacd', 'sbit', 'scale-float', 'schar',
125
+ 'search', 'second', 'set', 'set-difference',
126
+ 'set-dispatch-macro-character', 'set-exclusive-or',
127
+ 'set-macro-character', 'set-pprint-dispatch', 'set-syntax-from-char',
128
+ 'seventh', 'shadow', 'shadowing-import', 'shared-initialize',
129
+ 'short-site-name', 'signal', 'signum', 'simple-bit-vector-p',
130
+ 'simple-condition-format-arguments', 'simple-condition-format-control',
131
+ 'simple-string-p', 'simple-vector-p', 'sin', 'sinh', 'sixth', 'sleep',
132
+ 'slot-boundp', 'slot-exists-p', 'slot-makunbound', 'slot-missing',
133
+ 'slot-unbound', 'slot-value', 'software-type', 'software-version',
134
+ 'some', 'sort', 'special-operator-p', 'sqrt', 'stable-sort',
135
+ 'standard-char-p', 'store-value', 'stream-element-type',
136
+ 'stream-error-stream', 'stream-external-format', 'streamp', 'string',
137
+ 'string<', 'string<=', 'string=', 'string>', 'string>=', 'string/=',
138
+ 'string-capitalize', 'string-downcase', 'string-equal',
139
+ 'string-greaterp', 'string-left-trim', 'string-lessp',
140
+ 'string-not-equal', 'string-not-greaterp', 'string-not-lessp',
141
+ 'stringp', 'string-right-trim', 'string-trim', 'string-upcase',
142
+ 'sublis', 'subseq', 'subsetp', 'subst', 'subst-if', 'subst-if-not',
143
+ 'substitute', 'substitute-if', 'substitute-if-not', 'subtypep','svref',
144
+ 'sxhash', 'symbol-function', 'symbol-name', 'symbolp', 'symbol-package',
145
+ 'symbol-plist', 'symbol-value', 'synonym-stream-symbol', 'syntax:',
146
+ 'tailp', 'tan', 'tanh', 'tenth', 'terpri', 'third',
147
+ 'translate-logical-pathname', 'translate-pathname', 'tree-equal',
148
+ 'truename', 'truncate', 'two-way-stream-input-stream',
149
+ 'two-way-stream-output-stream', 'type-error-datum',
150
+ 'type-error-expected-type', 'type-of', 'typep', 'unbound-slot-instance',
151
+ 'unexport', 'unintern', 'union', 'unread-char', 'unuse-package',
152
+ 'update-instance-for-different-class',
153
+ 'update-instance-for-redefined-class', 'upgraded-array-element-type',
154
+ 'upgraded-complex-part-type', 'upper-case-p', 'use-package',
155
+ 'user-homedir-pathname', 'use-value', 'values', 'values-list', 'vector',
156
+ 'vectorp', 'vector-pop', 'vector-push', 'vector-push-extend', 'warn',
157
+ 'wild-pathname-p', 'write', 'write-byte', 'write-char', 'write-line',
158
+ 'write-sequence', 'write-string', 'write-to-string', 'yes-or-no-p',
159
+ 'y-or-n-p', 'zerop',
160
+ ))
161
+
162
+ SPECIAL_FORMS = set((
163
+ 'block', 'catch', 'declare', 'eval-when', 'flet', 'function', 'go', 'if',
164
+ 'labels', 'lambda', 'let', 'let*', 'load-time-value', 'locally', 'macrolet',
165
+ 'multiple-value-call', 'multiple-value-prog1', 'progn', 'progv', 'quote',
166
+ 'return-from', 'setq', 'symbol-macrolet', 'tagbody', 'the', 'throw',
167
+ 'unwind-protect',
168
+ ))
169
+
170
+ MACROS = set((
171
+ 'and', 'assert', 'call-method', 'case', 'ccase', 'check-type', 'cond',
172
+ 'ctypecase', 'decf', 'declaim', 'defclass', 'defconstant', 'defgeneric',
173
+ 'define-compiler-macro', 'define-condition', 'define-method-combination',
174
+ 'define-modify-macro', 'define-setf-expander', 'define-symbol-macro',
175
+ 'defmacro', 'defmethod', 'defpackage', 'defparameter', 'defsetf',
176
+ 'defstruct', 'deftype', 'defun', 'defvar', 'destructuring-bind', 'do',
177
+ 'do*', 'do-all-symbols', 'do-external-symbols', 'dolist', 'do-symbols',
178
+ 'dotimes', 'ecase', 'etypecase', 'formatter', 'handler-bind',
179
+ 'handler-case', 'ignore-errors', 'incf', 'in-package', 'lambda', 'loop',
180
+ 'loop-finish', 'make-method', 'multiple-value-bind', 'multiple-value-list',
181
+ 'multiple-value-setq', 'nth-value', 'or', 'pop',
182
+ 'pprint-exit-if-list-exhausted', 'pprint-logical-block', 'pprint-pop',
183
+ 'print-unreadable-object', 'prog', 'prog*', 'prog1', 'prog2', 'psetf',
184
+ 'psetq', 'push', 'pushnew', 'remf', 'restart-bind', 'restart-case',
185
+ 'return', 'rotatef', 'setf', 'shiftf', 'step', 'time', 'trace', 'typecase',
186
+ 'unless', 'untrace', 'when', 'with-accessors', 'with-compilation-unit',
187
+ 'with-condition-restarts', 'with-hash-table-iterator',
188
+ 'with-input-from-string', 'with-open-file', 'with-open-stream',
189
+ 'with-output-to-string', 'with-package-iterator', 'with-simple-restart',
190
+ 'with-slots', 'with-standard-io-syntax',
191
+ ))
192
+
193
+ LAMBDA_LIST_KEYWORDS = set((
194
+ '&allow-other-keys', '&aux', '&body', '&environment', '&key', '&optional',
195
+ '&rest', '&whole',
196
+ ))
197
+
198
+ DECLARATIONS = set((
199
+ 'dynamic-extent', 'ignore', 'optimize', 'ftype', 'inline', 'special',
200
+ 'ignorable', 'notinline', 'type',
201
+ ))
202
+
203
+ BUILTIN_TYPES = set((
204
+ 'atom', 'boolean', 'base-char', 'base-string', 'bignum', 'bit',
205
+ 'compiled-function', 'extended-char', 'fixnum', 'keyword', 'nil',
206
+ 'signed-byte', 'short-float', 'single-float', 'double-float', 'long-float',
207
+ 'simple-array', 'simple-base-string', 'simple-bit-vector', 'simple-string',
208
+ 'simple-vector', 'standard-char', 'unsigned-byte',
209
+
210
+ # Condition Types
211
+ 'arithmetic-error', 'cell-error', 'condition', 'control-error',
212
+ 'division-by-zero', 'end-of-file', 'error', 'file-error',
213
+ 'floating-point-inexact', 'floating-point-overflow',
214
+ 'floating-point-underflow', 'floating-point-invalid-operation',
215
+ 'parse-error', 'package-error', 'print-not-readable', 'program-error',
216
+ 'reader-error', 'serious-condition', 'simple-condition', 'simple-error',
217
+ 'simple-type-error', 'simple-warning', 'stream-error', 'storage-condition',
218
+ 'style-warning', 'type-error', 'unbound-variable', 'unbound-slot',
219
+ 'undefined-function', 'warning',
220
+ ))
221
+
222
+ BUILTIN_CLASSES = set((
223
+ 'array', 'broadcast-stream', 'bit-vector', 'built-in-class', 'character',
224
+ 'class', 'complex', 'concatenated-stream', 'cons', 'echo-stream',
225
+ 'file-stream', 'float', 'function', 'generic-function', 'hash-table',
226
+ 'integer', 'list', 'logical-pathname', 'method-combination', 'method',
227
+ 'null', 'number', 'package', 'pathname', 'ratio', 'rational', 'readtable',
228
+ 'real', 'random-state', 'restart', 'sequence', 'standard-class',
229
+ 'standard-generic-function', 'standard-method', 'standard-object',
230
+ 'string-stream', 'stream', 'string', 'structure-class', 'structure-object',
231
+ 'symbol', 'synonym-stream', 't', 'two-way-stream', 'vector',
232
+ ))
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_cocoa_builtins.py ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._cocoa_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ This file defines a set of types used across Cocoa frameworks from Apple.
7
+ There is a list of @interfaces, @protocols and some other (structs, unions)
8
+
9
+ File may be also used as standalone generator for aboves.
10
+
11
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
12
+ :license: BSD, see LICENSE for details.
13
+ """
14
+
15
+ from __future__ import print_function
16
+
17
+ COCOA_INTERFACES = set(['UITableViewCell', 'HKCorrelationQuery', 'NSURLSessionDataTask', 'PHFetchOptions', 'NSLinguisticTagger', 'NSStream', 'AVAudioUnitDelay', 'GCMotion', 'SKPhysicsWorld', 'NSString', 'CMAttitude', 'AVAudioEnvironmentDistanceAttenuationParameters', 'HKStatisticsCollection', 'SCNPlane', 'CBPeer', 'JSContext', 'SCNTransaction', 'SCNTorus', 'AVAudioUnitEffect', 'UICollectionReusableView', 'MTLSamplerDescriptor', 'AVAssetReaderSampleReferenceOutput', 'AVMutableCompositionTrack', 'GKLeaderboard', 'NSFetchedResultsController', 'SKRange', 'MKTileOverlayRenderer', 'MIDINetworkSession', 'UIVisualEffectView', 'CIWarpKernel', 'PKObject', 'MKRoute', 'MPVolumeView', 'UIPrintInfo', 'SCNText', 'ADClient', 'PKPayment', 'AVMutableAudioMix', 'GLKEffectPropertyLight', 'WKScriptMessage', 'AVMIDIPlayer', 'PHCollectionListChangeRequest', 'UICollectionViewLayout', 'NSMutableCharacterSet', 'SKPaymentTransaction', 'NEOnDemandRuleConnect', 'NSShadow', 'SCNView', 'NSURLSessionConfiguration', 'MTLVertexAttributeDescriptor', 'CBCharacteristic', 'HKQuantityType', 'CKLocationSortDescriptor', 'NEVPNIKEv2SecurityAssociationParameters', 'CMStepCounter', 'NSNetService', 'AVAssetWriterInputMetadataAdaptor', 'UICollectionView', 'UIViewPrintFormatter', 'SCNLevelOfDetail', 'CAShapeLayer', 'MCPeerID', 'MPRatingCommand', 'WKNavigation', 'NSDictionary', 'NSFileVersion', 'CMGyroData', 'AVAudioUnitDistortion', 'CKFetchRecordsOperation', 'SKPhysicsJointSpring', 'SCNHitTestResult', 'AVAudioTime', 'CIFilter', 'UIView', 'SCNConstraint', 'CAPropertyAnimation', 'MKMapItem', 'MPRemoteCommandCenter', 'PKPaymentSummaryItem', 'UICollectionViewFlowLayoutInvalidationContext', 'UIInputViewController', 'PKPass', 'SCNPhysicsBehavior', 'MTLRenderPassColorAttachmentDescriptor', 'MKPolygonRenderer', 'CKNotification', 'JSValue', 'PHCollectionList', 'CLGeocoder', 'NSByteCountFormatter', 'AVCaptureScreenInput', 'MPFeedbackCommand', 'CAAnimation', 'MKOverlayPathView', 'UIActionSheet', 'UIMotionEffectGroup', 'NSLengthFormatter', 'UIBarItem', 'SKProduct', 'AVAssetExportSession', 'NSKeyedUnarchiver', 'NSMutableSet', 'SCNPyramid', 'PHAssetCollection', 'MKMapView', 'HMHomeManager', 'CATransition', 'MTLCompileOptions', 'UIVibrancyEffect', 'CLCircularRegion', 'MKTileOverlay', 'SCNShape', 'ACAccountCredential', 'SKPhysicsJointLimit', 'MKMapSnapshotter', 'AVMediaSelectionGroup', 'NSIndexSet', 'CBPeripheralManager', 'CKRecordZone', 'AVAudioRecorder', 'NSURL', 'CBCentral', 'NSNumber', 'AVAudioOutputNode', 'MTLVertexAttributeDescriptorArray', 'MKETAResponse', 'SKTransition', 'SSReadingList', 'HKSourceQuery', 'UITableViewRowAction', 'UITableView', 'SCNParticlePropertyController', 'AVCaptureStillImageOutput', 'GCController', 'AVAudioPlayerNode', 'AVAudioSessionPortDescription', 'NSHTTPURLResponse', 'NEOnDemandRuleEvaluateConnection', 'SKEffectNode', 'HKQuantity', 'GCControllerElement', 'AVPlayerItemAccessLogEvent', 'SCNBox', 'NSExtensionContext', 'MKOverlayRenderer', 'SCNPhysicsVehicle', 'NSDecimalNumber', 'EKReminder', 'MKPolylineView', 'CKQuery', 'AVAudioMixerNode', 'GKAchievementDescription', 'EKParticipant', 'NSBlockOperation', 'UIActivityItemProvider', 'CLLocation', 'NSBatchUpdateRequest', 'PHContentEditingOutput', 'PHObjectChangeDetails', 'HKWorkoutType', 'MPMoviePlayerController', 'AVAudioFormat', 'HMTrigger', 'MTLRenderPassDepthAttachmentDescriptor', 'SCNRenderer', 'GKScore', 'UISplitViewController', 'HKSource', 'NSURLConnection', 'ABUnknownPersonViewController', 'SCNTechnique', 'UIMenuController', 'NSEvent', 'SKTextureAtlas', 'NSKeyedArchiver', 'GKLeaderboardSet', 'NSSimpleCString', 'AVAudioPCMBuffer', 'CBATTRequest', 'GKMatchRequest', 'AVMetadataObject', 'SKProductsRequest', 'UIAlertView', 'NSIncrementalStore', 'MFMailComposeViewController', 'SCNFloor', 'NSSortDescriptor', 'CKFetchNotificationChangesOperation', 'MPMovieAccessLog', 'NSManagedObjectContext', 'AVAudioUnitGenerator', 'WKBackForwardList', 'SKMutableTexture', 'AVCaptureAudioDataOutput', 'ACAccount', 'AVMetadataItem', 'MPRatingCommandEvent', 'AVCaptureDeviceInputSource', 'CLLocationManager', 'MPRemoteCommand', 'AVCaptureSession', 'UIStepper', 'UIRefreshControl', 'NEEvaluateConnectionRule', 'CKModifyRecordsOperation', 'UICollectionViewTransitionLayout', 'CBCentralManager', 'NSPurgeableData', 'PKShippingMethod', 'SLComposeViewController', 'NSHashTable', 'MKUserTrackingBarButtonItem', 'UILexiconEntry', 'CMMotionActivity', 'SKAction', 'SKShader', 'AVPlayerItemOutput', 'MTLRenderPassAttachmentDescriptor', 'UIDocumentInteractionController', 'UIDynamicItemBehavior', 'NSMutableDictionary', 'UILabel', 'AVCaptureInputPort', 'NSExpression', 'CAInterAppAudioTransportView', 'SKMutablePayment', 'UIImage', 'PHCachingImageManager', 'SCNTransformConstraint', 'HKCorrelationType', 'UIColor', 'SCNGeometrySource', 'AVCaptureAutoExposureBracketedStillImageSettings', 'UIPopoverBackgroundView', 'UIToolbar', 'NSNotificationCenter', 'UICollectionViewLayoutAttributes', 'AVAssetReaderOutputMetadataAdaptor', 'NSEntityMigrationPolicy', 'HMUser', 'NSLocale', 'NSURLSession', 'SCNCamera', 'NSTimeZone', 'UIManagedDocument', 'AVMutableVideoCompositionLayerInstruction', 'AVAssetTrackGroup', 'NSInvocationOperation', 'ALAssetRepresentation', 'AVQueuePlayer', 'HMServiceGroup', 'UIPasteboard', 'PHContentEditingInput', 'NSLayoutManager', 'EKCalendarChooser', 'EKObject', 'CATiledLayer', 'GLKReflectionMapEffect', 'NSManagedObjectID', 'NSEnergyFormatter', 'SLRequest', 'HMCharacteristic', 'AVPlayerLayer', 'MTLRenderPassDescriptor', 'SKPayment', 'NSPointerArray', 'AVAudioMix', 'SCNLight', 'MCAdvertiserAssistant', 'MKMapSnapshotOptions', 'HKCategorySample', 'AVAudioEnvironmentReverbParameters', 'SCNMorpher', 'AVTimedMetadataGroup', 'CBMutableCharacteristic', 'NSFetchRequest', 'UIDevice', 'NSManagedObject', 'NKAssetDownload', 'AVOutputSettingsAssistant', 'SKPhysicsJointPin', 'UITabBar', 'UITextInputMode', 'NSFetchRequestExpression', 'HMActionSet', 'CTSubscriber', 'PHAssetChangeRequest', 'NSPersistentStoreRequest', 'UITabBarController', 'HKQuantitySample', 'AVPlayerItem', 'AVSynchronizedLayer', 'MKDirectionsRequest', 'NSMetadataItem', 'UIPresentationController', 'UINavigationItem', 'PHFetchResultChangeDetails', 'PHImageManager', 'AVCaptureManualExposureBracketedStillImageSettings', 'UIStoryboardPopoverSegue', 'SCNLookAtConstraint', 'UIGravityBehavior', 'UIWindow', 'CBMutableDescriptor', 'NEOnDemandRuleDisconnect', 'UIBezierPath', 'UINavigationController', 'ABPeoplePickerNavigationController', 'EKSource', 'AVAssetWriterInput', 'AVPlayerItemTrack', 'GLKEffectPropertyTexture', 'NSHTTPCookie', 'NSURLResponse', 'SKPaymentQueue', 'NSAssertionHandler', 'MKReverseGeocoder', 'GCControllerAxisInput', 'NSArray', 'NSOrthography', 'NSURLSessionUploadTask', 'NSCharacterSet', 'AVMutableVideoCompositionInstruction', 'AVAssetReaderOutput', 'EAGLContext', 'WKFrameInfo', 'CMPedometer', 'MyClass', 'CKModifyBadgeOperation', 'AVCaptureAudioFileOutput', 'SKEmitterNode', 'NSMachPort', 'AVVideoCompositionCoreAnimationTool', 'PHCollection', 'SCNPhysicsWorld', 'NSURLRequest', 'CMAccelerometerData', 'NSNetServiceBrowser', 'CLFloor', 'AVAsynchronousVideoCompositionRequest', 'SCNGeometry', 'SCNIKConstraint', 'CIKernel', 'CAGradientLayer', 'HKCharacteristicType', 'NSFormatter', 'SCNAction', 'CATransaction', 'CBUUID', 'UIStoryboard', 'MPMediaLibrary', 'UITapGestureRecognizer', 'MPMediaItemArtwork', 'NSURLSessionTask', 'AVAudioUnit', 'MCBrowserViewController', 'UIFontDescriptor', 'NSRelationshipDescription', 'HKSample', 'WKWebView', 'NSMutableAttributedString', 'NSPersistentStoreAsynchronousResult', 'MPNowPlayingInfoCenter', 'MKLocalSearch', 'EAAccessory', 'HKCorrelation', 'CATextLayer', 'NSNotificationQueue', 'UINib', 'GLKTextureLoader', 'HKObjectType', 'NSValue', 'NSMutableIndexSet', 'SKPhysicsContact', 'NSProgress', 'AVPlayerViewController', 'CAScrollLayer', 'GKSavedGame', 'NSTextCheckingResult', 'PHObjectPlaceholder', 'SKConstraint', 'EKEventEditViewController', 'NSEntityDescription', 'NSURLCredentialStorage', 'UIApplication', 'SKDownload', 'SCNNode', 'MKLocalSearchRequest', 'SKScene', 'UISearchDisplayController', 'NEOnDemandRule', 'MTLRenderPassStencilAttachmentDescriptor', 'CAReplicatorLayer', 'UIPrintPageRenderer', 'EKCalendarItem', 'NSUUID', 'EAAccessoryManager', 'NEOnDemandRuleIgnore', 'SKRegion', 'AVAssetResourceLoader', 'EAWiFiUnconfiguredAccessoryBrowser', 'NSUserActivity', 'CTCall', 'UIPrinterPickerController', 'CIVector', 'UINavigationBar', 'UIPanGestureRecognizer', 'MPMediaQuery', 'ABNewPersonViewController', 'CKRecordZoneID', 'HKAnchoredObjectQuery', 'CKFetchRecordZonesOperation', 'UIStoryboardSegue', 'ACAccountType', 'GKSession', 'SKVideoNode', 'PHChange', 'SKReceiptRefreshRequest', 'GCExtendedGamepadSnapshot', 'MPSeekCommandEvent', 'GCExtendedGamepad', 'CAValueFunction', 'SCNCylinder', 'NSNotification', 'NSBatchUpdateResult', 'PKPushCredentials', 'SCNPhysicsSliderJoint', 'AVCaptureDeviceFormat', 'AVPlayerItemErrorLog', 'NSMapTable', 'NSSet', 'CMMotionManager', 'GKVoiceChatService', 'UIPageControl', 'UILexicon', 'MTLArrayType', 'AVAudioUnitReverb', 'MKGeodesicPolyline', 'AVMutableComposition', 'NSLayoutConstraint', 'UIPrinter', 'NSOrderedSet', 'CBAttribute', 'PKPushPayload', 'NSIncrementalStoreNode', 'EKEventStore', 'MPRemoteCommandEvent', 'UISlider', 'UIBlurEffect', 'CKAsset', 'AVCaptureInput', 'AVAudioEngine', 'MTLVertexDescriptor', 'SKPhysicsBody', 'NSOperation', 'PKPaymentPass', 'UIImageAsset', 'MKMapCamera', 'SKProductsResponse', 'GLKEffectPropertyMaterial', 'AVCaptureDevice', 'CTCallCenter', 'CABTMIDILocalPeripheralViewController', 'NEVPNManager', 'HKQuery', 'SCNPhysicsContact', 'CBMutableService', 'AVSampleBufferDisplayLayer', 'SCNSceneSource', 'SKLightNode', 'CKDiscoveredUserInfo', 'NSMutableArray', 'MTLDepthStencilDescriptor', 'MTLArgument', 'NSMassFormatter', 'CIRectangleFeature', 'PKPushRegistry', 'NEVPNConnection', 'MCNearbyServiceBrowser', 'NSOperationQueue', 'MKPolylineRenderer', 'HKWorkout', 'NSValueTransformer', 'UICollectionViewFlowLayout', 'MPChangePlaybackRateCommandEvent', 'NSEntityMapping', 'SKTexture', 'NSMergePolicy', 'UITextInputStringTokenizer', 'NSRecursiveLock', 'AVAsset', 'NSUndoManager', 'AVAudioUnitSampler', 'NSItemProvider', 'SKUniform', 'MPMediaPickerController', 'CKOperation', 'MTLRenderPipelineDescriptor', 'EAWiFiUnconfiguredAccessory', 'NSFileCoordinator', 'SKRequest', 'NSFileHandle', 'NSConditionLock', 'UISegmentedControl', 'NSManagedObjectModel', 'UITabBarItem', 'SCNCone', 'MPMediaItem', 'SCNMaterial', 'EKRecurrenceRule', 'UIEvent', 'UITouch', 'UIPrintInteractionController', 'CMDeviceMotion', 'NEVPNProtocol', 'NSCompoundPredicate', 'HKHealthStore', 'MKMultiPoint', 'HKSampleType', 'UIPrintFormatter', 'AVAudioUnitEQFilterParameters', 'SKView', 'NSConstantString', 'UIPopoverController', 'CKDatabase', 'AVMetadataFaceObject', 'UIAccelerometer', 'EKEventViewController', 'CMAltitudeData', 'MTLStencilDescriptor', 'UISwipeGestureRecognizer', 'NSPort', 'MKCircleRenderer', 'AVCompositionTrack', 'NSAsynchronousFetchRequest', 'NSUbiquitousKeyValueStore', 'NSMetadataQueryResultGroup', 'AVAssetResourceLoadingDataRequest', 'UITableViewHeaderFooterView', 'CKNotificationID', 'AVAudioSession', 'HKUnit', 'NSNull', 'NSPersistentStoreResult', 'MKCircleView', 'AVAudioChannelLayout', 'NEVPNProtocolIKEv2', 'WKProcessPool', 'UIAttachmentBehavior', 'CLBeacon', 'NSInputStream', 'NSURLCache', 'GKPlayer', 'NSMappingModel', 'CIQRCodeFeature', 'AVMutableVideoComposition', 'PHFetchResult', 'NSAttributeDescription', 'AVPlayer', 'MKAnnotationView', 'PKPaymentRequest', 'NSTimer', 'CBDescriptor', 'MKOverlayView', 'AVAudioUnitTimePitch', 'NSSaveChangesRequest', 'UIReferenceLibraryViewController', 'SKPhysicsJointFixed', 'UILocalizedIndexedCollation', 'UIInterpolatingMotionEffect', 'UIDocumentPickerViewController', 'AVAssetWriter', 'NSBundle', 'SKStoreProductViewController', 'GLKViewController', 'NSMetadataQueryAttributeValueTuple', 'GKTurnBasedMatch', 'AVAudioFile', 'UIActivity', 'NSPipe', 'MKShape', 'NSMergeConflict', 'CIImage', 'HKObject', 'UIRotationGestureRecognizer', 'AVPlayerItemLegibleOutput', 'AVAssetImageGenerator', 'GCControllerButtonInput', 'CKMarkNotificationsReadOperation', 'CKSubscription', 'MPTimedMetadata', 'NKIssue', 'UIScreenMode', 'HMAccessoryBrowser', 'GKTurnBasedEventHandler', 'UIWebView', 'MKPolyline', 'JSVirtualMachine', 'AVAssetReader', 'NSAttributedString', 'GKMatchmakerViewController', 'NSCountedSet', 'UIButton', 'WKNavigationResponse', 'GKLocalPlayer', 'MPMovieErrorLog', 'AVSpeechUtterance', 'HKStatistics', 'UILocalNotification', 'HKBiologicalSexObject', 'AVURLAsset', 'CBPeripheral', 'NSDateComponentsFormatter', 'SKSpriteNode', 'UIAccessibilityElement', 'AVAssetWriterInputGroup', 'HMZone', 'AVAssetReaderAudioMixOutput', 'NSEnumerator', 'UIDocument', 'MKLocalSearchResponse', 'UISimpleTextPrintFormatter', 'PHPhotoLibrary', 'CBService', 'UIDocumentMenuViewController', 'MCSession', 'QLPreviewController', 'CAMediaTimingFunction', 'UITextPosition', 'ASIdentifierManager', 'AVAssetResourceLoadingRequest', 'SLComposeServiceViewController', 'UIPinchGestureRecognizer', 'PHObject', 'NSExtensionItem', 'HKSampleQuery', 'MTLRenderPipelineColorAttachmentDescriptorArray', 'MKRouteStep', 'SCNCapsule', 'NSMetadataQuery', 'AVAssetResourceLoadingContentInformationRequest', 'UITraitCollection', 'CTCarrier', 'NSFileSecurity', 'UIAcceleration', 'UIMotionEffect', 'MTLRenderPipelineReflection', 'CLHeading', 'CLVisit', 'MKDirectionsResponse', 'HMAccessory', 'MTLStructType', 'UITextView', 'CMMagnetometerData', 'UICollisionBehavior', 'UIProgressView', 'CKServerChangeToken', 'UISearchBar', 'MKPlacemark', 'AVCaptureConnection', 'NSPropertyMapping', 'ALAssetsFilter', 'SK3DNode', 'AVPlayerItemErrorLogEvent', 'NSJSONSerialization', 'AVAssetReaderVideoCompositionOutput', 'ABPersonViewController', 'CIDetector', 'GKTurnBasedMatchmakerViewController', 'MPMediaItemCollection', 'SCNSphere', 'NSCondition', 'NSURLCredential', 'MIDINetworkConnection', 'NSFileProviderExtension', 'NSDecimalNumberHandler', 'NSAtomicStoreCacheNode', 'NSAtomicStore', 'EKAlarm', 'CKNotificationInfo', 'AVAudioUnitEQ', 'UIPercentDrivenInteractiveTransition', 'MKPolygon', 'AVAssetTrackSegment', 'MTLVertexAttribute', 'NSExpressionDescription', 'HKStatisticsCollectionQuery', 'NSURLAuthenticationChallenge', 'NSDirectoryEnumerator', 'MKDistanceFormatter', 'UIAlertAction', 'NSPropertyListSerialization', 'GKPeerPickerController', 'UIUserNotificationSettings', 'UITableViewController', 'GKNotificationBanner', 'MKPointAnnotation', 'MTLRenderPassColorAttachmentDescriptorArray', 'NSCache', 'SKPhysicsJoint', 'NSXMLParser', 'UIViewController', 'PKPaymentToken', 'MFMessageComposeViewController', 'AVAudioInputNode', 'NSDataDetector', 'CABTMIDICentralViewController', 'AVAudioUnitMIDIInstrument', 'AVCaptureVideoPreviewLayer', 'AVAssetWriterInputPassDescription', 'MPChangePlaybackRateCommand', 'NSURLComponents', 'CAMetalLayer', 'UISnapBehavior', 'AVMetadataMachineReadableCodeObject', 'CKDiscoverUserInfosOperation', 'NSTextAttachment', 'NSException', 'UIMenuItem', 'CMMotionActivityManager', 'SCNGeometryElement', 'NCWidgetController', 'CAEmitterLayer', 'MKUserLocation', 'UIImagePickerController', 'CIFeature', 'AVCaptureDeviceInput', 'ALAsset', 'NSURLSessionDownloadTask', 'SCNPhysicsHingeJoint', 'MPMoviePlayerViewController', 'NSMutableOrderedSet', 'SCNMaterialProperty', 'UIFont', 'AVCaptureVideoDataOutput', 'NSCachedURLResponse', 'ALAssetsLibrary', 'NSInvocation', 'UILongPressGestureRecognizer', 'NSTextStorage', 'WKWebViewConfiguration', 'CIFaceFeature', 'MKMapSnapshot', 'GLKEffectPropertyFog', 'AVComposition', 'CKDiscoverAllContactsOperation', 'AVAudioMixInputParameters', 'CAEmitterBehavior', 'PKPassLibrary', 'UIMutableUserNotificationCategory', 'NSLock', 'NEVPNProtocolIPSec', 'ADBannerView', 'UIDocumentPickerExtensionViewController', 'UIActivityIndicatorView', 'AVPlayerMediaSelectionCriteria', 'CALayer', 'UIAccessibilityCustomAction', 'UIBarButtonItem', 'AVAudioSessionRouteDescription', 'CLBeaconRegion', 'HKBloodTypeObject', 'MTLVertexBufferLayoutDescriptorArray', 'CABasicAnimation', 'AVVideoCompositionInstruction', 'AVMutableTimedMetadataGroup', 'EKRecurrenceEnd', 'NSTextContainer', 'TWTweetComposeViewController', 'PKPaymentAuthorizationViewController', 'UIScrollView', 'WKNavigationAction', 'AVPlayerItemMetadataOutput', 'EKRecurrenceDayOfWeek', 'NSNumberFormatter', 'MTLComputePipelineReflection', 'UIScreen', 'CLRegion', 'NSProcessInfo', 'GLKTextureInfo', 'SCNSkinner', 'AVCaptureMetadataOutput', 'SCNAnimationEvent', 'NSTextTab', 'JSManagedValue', 'NSDate', 'UITextChecker', 'WKBackForwardListItem', 'NSData', 'NSParagraphStyle', 'AVMutableMetadataItem', 'EKCalendar', 'HKWorkoutEvent', 'NSMutableURLRequest', 'UIVideoEditorController', 'HMTimerTrigger', 'AVAudioUnitVarispeed', 'UIDynamicAnimator', 'AVCompositionTrackSegment', 'GCGamepadSnapshot', 'MPMediaEntity', 'GLKSkyboxEffect', 'UISwitch', 'EKStructuredLocation', 'UIGestureRecognizer', 'NSProxy', 'GLKBaseEffect', 'UIPushBehavior', 'GKScoreChallenge', 'NSCoder', 'MPMediaPlaylist', 'NSDateComponents', 'WKUserScript', 'EKEvent', 'NSDateFormatter', 'NSAsynchronousFetchResult', 'AVAssetWriterInputPixelBufferAdaptor', 'UIVisualEffect', 'UICollectionViewCell', 'UITextField', 'CLPlacemark', 'MPPlayableContentManager', 'AVCaptureOutput', 'HMCharacteristicWriteAction', 'CKModifySubscriptionsOperation', 'NSPropertyDescription', 'GCGamepad', 'UIMarkupTextPrintFormatter', 'SCNTube', 'NSPersistentStoreCoordinator', 'AVAudioEnvironmentNode', 'GKMatchmaker', 'CIContext', 'NSThread', 'SLComposeSheetConfigurationItem', 'SKPhysicsJointSliding', 'NSPredicate', 'GKVoiceChat', 'SKCropNode', 'AVCaptureAudioPreviewOutput', 'NSStringDrawingContext', 'GKGameCenterViewController', 'UIPrintPaper', 'SCNPhysicsBallSocketJoint', 'UICollectionViewLayoutInvalidationContext', 'GLKEffectPropertyTransform', 'AVAudioIONode', 'UIDatePicker', 'MKDirections', 'ALAssetsGroup', 'CKRecordZoneNotification', 'SCNScene', 'MPMovieAccessLogEvent', 'CKFetchSubscriptionsOperation', 'CAEmitterCell', 'AVAudioUnitTimeEffect', 'HMCharacteristicMetadata', 'MKPinAnnotationView', 'UIPickerView', 'UIImageView', 'UIUserNotificationCategory', 'SCNPhysicsVehicleWheel', 'HKCategoryType', 'MPMediaQuerySection', 'GKFriendRequestComposeViewController', 'NSError', 'MTLRenderPipelineColorAttachmentDescriptor', 'SCNPhysicsShape', 'UISearchController', 'SCNPhysicsBody', 'CTSubscriberInfo', 'AVPlayerItemAccessLog', 'MPMediaPropertyPredicate', 'CMLogItem', 'NSAutoreleasePool', 'NSSocketPort', 'AVAssetReaderTrackOutput', 'SKNode', 'UIMutableUserNotificationAction', 'SCNProgram', 'AVSpeechSynthesisVoice', 'CMAltimeter', 'AVCaptureAudioChannel', 'GKTurnBasedExchangeReply', 'AVVideoCompositionLayerInstruction', 'AVSpeechSynthesizer', 'GKChallengeEventHandler', 'AVCaptureFileOutput', 'UIControl', 'SCNPhysicsField', 'CKReference', 'LAContext', 'CKRecordID', 'ADInterstitialAd', 'AVAudioSessionDataSourceDescription', 'AVAudioBuffer', 'CIColorKernel', 'GCControllerDirectionPad', 'NSFileManager', 'AVMutableAudioMixInputParameters', 'UIScreenEdgePanGestureRecognizer', 'CAKeyframeAnimation', 'CKQueryNotification', 'PHAdjustmentData', 'EASession', 'AVAssetResourceRenewalRequest', 'UIInputView', 'NSFileWrapper', 'UIResponder', 'NSPointerFunctions', 'UIKeyCommand', 'NSHTTPCookieStorage', 'AVMediaSelectionOption', 'NSRunLoop', 'NSFileAccessIntent', 'CAAnimationGroup', 'MKCircle', 'UIAlertController', 'NSMigrationManager', 'NSDateIntervalFormatter', 'UICollectionViewUpdateItem', 'CKDatabaseOperation', 'PHImageRequestOptions', 'SKReachConstraints', 'CKRecord', 'CAInterAppAudioSwitcherView', 'WKWindowFeatures', 'GKInvite', 'NSMutableData', 'PHAssetCollectionChangeRequest', 'NSMutableParagraphStyle', 'UIDynamicBehavior', 'GLKEffectProperty', 'CKFetchRecordChangesOperation', 'SKShapeNode', 'MPMovieErrorLogEvent', 'MKPolygonView', 'MPContentItem', 'HMAction', 'NSScanner', 'GKAchievementChallenge', 'AVAudioPlayer', 'CKContainer', 'AVVideoComposition', 'NKLibrary', 'NSPersistentStore', 'AVCaptureMovieFileOutput', 'HMRoom', 'GKChallenge', 'UITextRange', 'NSURLProtectionSpace', 'ACAccountStore', 'MPSkipIntervalCommand', 'NSComparisonPredicate', 'HMHome', 'PHVideoRequestOptions', 'NSOutputStream', 'MPSkipIntervalCommandEvent', 'PKAddPassesViewController', 'UITextSelectionRect', 'CTTelephonyNetworkInfo', 'AVTextStyleRule', 'NSFetchedPropertyDescription', 'UIPageViewController', 'CATransformLayer', 'UICollectionViewController', 'AVAudioNode', 'MCNearbyServiceAdvertiser', 'NSObject', 'PHAsset', 'GKLeaderboardViewController', 'CKQueryCursor', 'MPMusicPlayerController', 'MKOverlayPathRenderer', 'CMPedometerData', 'HMService', 'SKFieldNode', 'GKAchievement', 'WKUserContentController', 'AVAssetTrack', 'TWRequest', 'SKLabelNode', 'AVCaptureBracketedStillImageSettings', 'MIDINetworkHost', 'MPMediaPredicate', 'AVFrameRateRange', 'MTLTextureDescriptor', 'MTLVertexBufferLayoutDescriptor', 'MPFeedbackCommandEvent', 'UIUserNotificationAction', 'HKStatisticsQuery', 'SCNParticleSystem', 'NSIndexPath', 'AVVideoCompositionRenderContext', 'CADisplayLink', 'HKObserverQuery', 'UIPopoverPresentationController', 'CKQueryOperation', 'CAEAGLLayer', 'NSMutableString', 'NSMessagePort', 'NSURLQueryItem', 'MTLStructMember', 'AVAudioSessionChannelDescription', 'GLKView', 'UIActivityViewController', 'GKAchievementViewController', 'GKTurnBasedParticipant', 'NSURLProtocol', 'NSUserDefaults', 'NSCalendar', 'SKKeyframeSequence', 'AVMetadataItemFilter', 'CKModifyRecordZonesOperation', 'WKPreferences', 'NSMethodSignature', 'NSRegularExpression', 'EAGLSharegroup', 'AVPlayerItemVideoOutput', 'PHContentEditingInputRequestOptions', 'GKMatch', 'CIColor', 'UIDictationPhrase'])
18
+ COCOA_PROTOCOLS = set(['SKStoreProductViewControllerDelegate', 'AVVideoCompositionInstruction', 'AVAudioSessionDelegate', 'GKMatchDelegate', 'NSFileManagerDelegate', 'UILayoutSupport', 'NSCopying', 'UIPrintInteractionControllerDelegate', 'QLPreviewControllerDataSource', 'SKProductsRequestDelegate', 'NSTextStorageDelegate', 'MCBrowserViewControllerDelegate', 'MTLComputeCommandEncoder', 'SCNSceneExportDelegate', 'UISearchResultsUpdating', 'MFMailComposeViewControllerDelegate', 'MTLBlitCommandEncoder', 'NSDecimalNumberBehaviors', 'PHContentEditingController', 'NSMutableCopying', 'UIActionSheetDelegate', 'UIViewControllerTransitioningDelegate', 'UIAlertViewDelegate', 'AVAudioPlayerDelegate', 'MKReverseGeocoderDelegate', 'NSCoding', 'UITextInputTokenizer', 'GKFriendRequestComposeViewControllerDelegate', 'UIActivityItemSource', 'NSCacheDelegate', 'UIAdaptivePresentationControllerDelegate', 'GKAchievementViewControllerDelegate', 'UIViewControllerTransitionCoordinator', 'EKEventEditViewDelegate', 'NSURLConnectionDelegate', 'UITableViewDelegate', 'GKPeerPickerControllerDelegate', 'UIGuidedAccessRestrictionDelegate', 'AVSpeechSynthesizerDelegate', 'AVAudio3DMixing', 'AVPlayerItemLegibleOutputPushDelegate', 'ADInterstitialAdDelegate', 'HMAccessoryBrowserDelegate', 'AVAssetResourceLoaderDelegate', 'UITabBarControllerDelegate', 'CKRecordValue', 'SKPaymentTransactionObserver', 'AVCaptureAudioDataOutputSampleBufferDelegate', 'UIInputViewAudioFeedback', 'GKChallengeListener', 'SKSceneDelegate', 'UIPickerViewDelegate', 'UIWebViewDelegate', 'UIApplicationDelegate', 'GKInviteEventListener', 'MPMediaPlayback', 'MyClassJavaScriptMethods', 'AVAsynchronousKeyValueLoading', 'QLPreviewItem', 'SCNBoundingVolume', 'NSPortDelegate', 'UIContentContainer', 'SCNNodeRendererDelegate', 'SKRequestDelegate', 'SKPhysicsContactDelegate', 'HMAccessoryDelegate', 'UIPageViewControllerDataSource', 'SCNSceneRendererDelegate', 'SCNPhysicsContactDelegate', 'MKMapViewDelegate', 'AVPlayerItemOutputPushDelegate', 'UICollectionViewDelegate', 'UIImagePickerControllerDelegate', 'MTLRenderCommandEncoder', 'PKPaymentAuthorizationViewControllerDelegate', 'UIToolbarDelegate', 'WKUIDelegate', 'SCNActionable', 'NSURLConnectionDataDelegate', 'MKOverlay', 'CBCentralManagerDelegate', 'JSExport', 'NSTextLayoutOrientationProvider', 'UIPickerViewDataSource', 'PKPushRegistryDelegate', 'UIViewControllerTransitionCoordinatorContext', 'NSLayoutManagerDelegate', 'MTLLibrary', 'NSFetchedResultsControllerDelegate', 'ABPeoplePickerNavigationControllerDelegate', 'MTLResource', 'NSDiscardableContent', 'UITextFieldDelegate', 'MTLBuffer', 'MTLSamplerState', 'GKGameCenterControllerDelegate', 'MPMediaPickerControllerDelegate', 'UISplitViewControllerDelegate', 'UIAppearance', 'UIPickerViewAccessibilityDelegate', 'UITraitEnvironment', 'UIScrollViewAccessibilityDelegate', 'ADBannerViewDelegate', 'MPPlayableContentDataSource', 'MTLComputePipelineState', 'NSURLSessionDelegate', 'MTLCommandBuffer', 'NSXMLParserDelegate', 'UIViewControllerRestoration', 'UISearchBarDelegate', 'UIBarPositioning', 'CBPeripheralDelegate', 'UISearchDisplayDelegate', 'CAAction', 'PKAddPassesViewControllerDelegate', 'MCNearbyServiceAdvertiserDelegate', 'MTLDepthStencilState', 'GKTurnBasedMatchmakerViewControllerDelegate', 'MPPlayableContentDelegate', 'AVCaptureVideoDataOutputSampleBufferDelegate', 'UIAppearanceContainer', 'UIStateRestoring', 'UITextDocumentProxy', 'MTLDrawable', 'NSURLSessionTaskDelegate', 'NSFilePresenter', 'AVAudioStereoMixing', 'UIViewControllerContextTransitioning', 'UITextInput', 'CBPeripheralManagerDelegate', 'UITextInputDelegate', 'NSFastEnumeration', 'NSURLAuthenticationChallengeSender', 'SCNProgramDelegate', 'AVVideoCompositing', 'SCNAnimatable', 'NSSecureCoding', 'MCAdvertiserAssistantDelegate', 'GKLocalPlayerListener', 'GLKNamedEffect', 'UIPopoverControllerDelegate', 'AVCaptureMetadataOutputObjectsDelegate', 'NSExtensionRequestHandling', 'UITextSelecting', 'UIPrinterPickerControllerDelegate', 'NCWidgetProviding', 'MTLCommandEncoder', 'NSURLProtocolClient', 'MFMessageComposeViewControllerDelegate', 'UIVideoEditorControllerDelegate', 'WKNavigationDelegate', 'GKSavedGameListener', 'UITableViewDataSource', 'MTLFunction', 'EKCalendarChooserDelegate', 'NSUserActivityDelegate', 'UICollisionBehaviorDelegate', 'NSStreamDelegate', 'MCNearbyServiceBrowserDelegate', 'HMHomeDelegate', 'UINavigationControllerDelegate', 'MCSessionDelegate', 'UIDocumentPickerDelegate', 'UIViewControllerInteractiveTransitioning', 'GKTurnBasedEventListener', 'SCNSceneRenderer', 'MTLTexture', 'GLKViewDelegate', 'EAAccessoryDelegate', 'WKScriptMessageHandler', 'PHPhotoLibraryChangeObserver', 'NSKeyedUnarchiverDelegate', 'AVPlayerItemMetadataOutputPushDelegate', 'NSMachPortDelegate', 'SCNShadable', 'UIPopoverBackgroundViewMethods', 'UIDocumentMenuDelegate', 'UIBarPositioningDelegate', 'ABPersonViewControllerDelegate', 'NSNetServiceBrowserDelegate', 'EKEventViewDelegate', 'UIScrollViewDelegate', 'NSURLConnectionDownloadDelegate', 'UIGestureRecognizerDelegate', 'UINavigationBarDelegate', 'AVAudioMixing', 'NSFetchedResultsSectionInfo', 'UIDocumentInteractionControllerDelegate', 'MTLParallelRenderCommandEncoder', 'QLPreviewControllerDelegate', 'UIAccessibilityReadingContent', 'ABUnknownPersonViewControllerDelegate', 'GLKViewControllerDelegate', 'UICollectionViewDelegateFlowLayout', 'UIPopoverPresentationControllerDelegate', 'UIDynamicAnimatorDelegate', 'NSTextAttachmentContainer', 'MKAnnotation', 'UIAccessibilityIdentification', 'UICoordinateSpace', 'ABNewPersonViewControllerDelegate', 'MTLDevice', 'CAMediaTiming', 'AVCaptureFileOutputRecordingDelegate', 'HMHomeManagerDelegate', 'UITextViewDelegate', 'UITabBarDelegate', 'GKLeaderboardViewControllerDelegate', 'UISearchControllerDelegate', 'EAWiFiUnconfiguredAccessoryBrowserDelegate', 'UITextInputTraits', 'MTLRenderPipelineState', 'GKVoiceChatClient', 'UIKeyInput', 'UICollectionViewDataSource', 'SCNTechniqueSupport', 'NSLocking', 'AVCaptureFileOutputDelegate', 'GKChallengeEventHandlerDelegate', 'UIObjectRestoration', 'CIFilterConstructor', 'AVPlayerItemOutputPullDelegate', 'EAGLDrawable', 'AVVideoCompositionValidationHandling', 'UIViewControllerAnimatedTransitioning', 'NSURLSessionDownloadDelegate', 'UIAccelerometerDelegate', 'UIPageViewControllerDelegate', 'MTLCommandQueue', 'UIDataSourceModelAssociation', 'AVAudioRecorderDelegate', 'GKSessionDelegate', 'NSKeyedArchiverDelegate', 'CAMetalDrawable', 'UIDynamicItem', 'CLLocationManagerDelegate', 'NSMetadataQueryDelegate', 'NSNetServiceDelegate', 'GKMatchmakerViewControllerDelegate', 'NSURLSessionDataDelegate'])
19
+ COCOA_PRIMITIVES = set(['ROTAHeader', '__CFBundle', 'MortSubtable', 'AudioFilePacketTableInfo', 'CGPDFOperatorTable', 'KerxStateEntry', 'ExtendedTempoEvent', 'CTParagraphStyleSetting', 'OpaqueMIDIPort', '_GLKMatrix3', '_GLKMatrix2', '_GLKMatrix4', 'ExtendedControlEvent', 'CAFAudioDescription', 'OpaqueCMBlockBuffer', 'CGTextDrawingMode', 'EKErrorCode', 'gss_buffer_desc_struct', 'AudioUnitParameterInfo', '__SCPreferences', '__CTFrame', '__CTLine', 'AudioFile_SMPTE_Time', 'gss_krb5_lucid_context_v1', 'OpaqueJSValue', 'TrakTableEntry', 'AudioFramePacketTranslation', 'CGImageSource', 'OpaqueJSPropertyNameAccumulator', 'JustPCGlyphRepeatAddAction', '__CFBinaryHeap', 'OpaqueMIDIThruConnection', 'opaqueCMBufferQueue', 'OpaqueMusicSequence', 'MortRearrangementSubtable', 'MixerDistanceParams', 'MorxSubtable', 'MIDIObjectPropertyChangeNotification', 'SFNTLookupSegment', 'CGImageMetadataErrors', 'CGPath', 'OpaqueMIDIEndpoint', 'AudioComponentPlugInInterface', 'gss_ctx_id_t_desc_struct', 'sfntFontFeatureSetting', 'OpaqueJSContextGroup', '__SCNetworkConnection', 'AudioUnitParameterValueTranslation', 'CGImageMetadataType', 'CGPattern', 'AudioFileTypeAndFormatID', 'CGContext', 'AUNodeInteraction', 'SFNTLookupTable', 'JustPCDecompositionAction', 'KerxControlPointHeader', 'AudioStreamPacketDescription', 'KernSubtableHeader', '__SecCertificate', 'AUMIDIOutputCallbackStruct', 'MIDIMetaEvent', 'AudioQueueChannelAssignment', 'AnchorPoint', 'JustTable', '__CFNetService', 'CF_BRIDGED_TYPE', 'gss_krb5_lucid_key', 'CGPDFDictionary', 'KerxSubtableHeader', 'CAF_UUID_ChunkHeader', 'gss_krb5_cfx_keydata', 'OpaqueJSClass', 'CGGradient', 'OpaqueMIDISetup', 'JustPostcompTable', '__CTParagraphStyle', 'AudioUnitParameterHistoryInfo', 'OpaqueJSContext', 'CGShading', 'MIDIThruConnectionParams', 'BslnFormat0Part', 'SFNTLookupSingle', '__CFHost', '__SecRandom', '__CTFontDescriptor', '_NSRange', 'sfntDirectory', 'AudioQueueLevelMeterState', 'CAFPositionPeak', 'PropLookupSegment', '__CVOpenGLESTextureCache', 'sfntInstance', '_GLKQuaternion', 'AnkrTable', '__SCNetworkProtocol', 'CAFFileHeader', 'KerxOrderedListHeader', 'CGBlendMode', 'STXEntryOne', 'CAFRegion', 'SFNTLookupTrimmedArrayHeader', 'SCNMatrix4', 'KerxControlPointEntry', 'OpaqueMusicTrack', '_GLKVector4', 'gss_OID_set_desc_struct', 'OpaqueMusicPlayer', '_CFHTTPAuthentication', 'CGAffineTransform', 'CAFMarkerChunk', 'AUHostIdentifier', 'ROTAGlyphEntry', 'BslnTable', 'gss_krb5_lucid_context_version', '_GLKMatrixStack', 'CGImage', 'KernStateEntry', 'SFNTLookupSingleHeader', 'MortLigatureSubtable', 'CAFUMIDChunk', 'SMPTETime', 'CAFDataChunk', 'CGPDFStream', 'AudioFileRegionList', 'STEntryTwo', 'SFNTLookupBinarySearchHeader', 'OpbdTable', '__CTGlyphInfo', 'BslnFormat2Part', 'KerxIndexArrayHeader', 'TrakTable', 'KerxKerningPair', '__CFBitVector', 'KernVersion0SubtableHeader', 'OpaqueAudioComponentInstance', 'AudioChannelLayout', '__CFUUID', 'MIDISysexSendRequest', '__CFNumberFormatter', 'CGImageSourceStatus', 'AudioFileMarkerList', 'AUSamplerBankPresetData', 'CGDataProvider', 'AudioFormatInfo', '__SecIdentity', 'sfntCMapExtendedSubHeader', 'MIDIChannelMessage', 'KernOffsetTable', 'CGColorSpaceModel', 'MFMailComposeErrorCode', 'CGFunction', '__SecTrust', 'AVAudio3DAngularOrientation', 'CGFontPostScriptFormat', 'KernStateHeader', 'AudioUnitCocoaViewInfo', 'CGDataConsumer', 'OpaqueMIDIDevice', 'KernVersion0Header', 'AnchorPointTable', 'CGImageDestination', 'CAFInstrumentChunk', 'AudioUnitMeterClipping', 'MorxChain', '__CTFontCollection', 'STEntryOne', 'STXEntryTwo', 'ExtendedNoteOnEvent', 'CGColorRenderingIntent', 'KerxSimpleArrayHeader', 'MorxTable', '_GLKVector3', '_GLKVector2', 'MortTable', 'CGPDFBox', 'AudioUnitParameterValueFromString', '__CFSocket', 'ALCdevice_struct', 'MIDINoteMessage', 'sfntFeatureHeader', 'CGRect', '__SCNetworkInterface', '__CFTree', 'MusicEventUserData', 'TrakTableData', 'GCQuaternion', 'MortContextualSubtable', '__CTRun', 'AudioUnitFrequencyResponseBin', 'MortChain', 'MorxInsertionSubtable', 'CGImageMetadata', 'gss_auth_identity', 'AudioUnitMIDIControlMapping', 'CAFChunkHeader', 'CGImagePropertyOrientation', 'CGPDFScanner', 'OpaqueMusicEventIterator', 'sfntDescriptorHeader', 'AudioUnitNodeConnection', 'OpaqueMIDIDeviceList', 'ExtendedAudioFormatInfo', 'BslnFormat1Part', 'sfntFontDescriptor', 'KernSimpleArrayHeader', '__CFRunLoopObserver', 'CGPatternTiling', 'MIDINotification', 'MorxLigatureSubtable', 'MessageComposeResult', 'MIDIThruConnectionEndpoint', 'MusicDeviceStdNoteParams', 'opaqueCMSimpleQueue', 'ALCcontext_struct', 'OpaqueAudioQueue', 'PropLookupSingle', 'CGInterpolationQuality', 'CGColor', 'AudioOutputUnitStartAtTimeParams', 'gss_name_t_desc_struct', 'CGFunctionCallbacks', 'CAFPacketTableHeader', 'AudioChannelDescription', 'sfntFeatureName', 'MorxContextualSubtable', 'CVSMPTETime', 'AudioValueRange', 'CGTextEncoding', 'AudioStreamBasicDescription', 'AUNodeRenderCallback', 'AudioPanningInfo', 'KerxOrderedListEntry', '__CFAllocator', 'OpaqueJSPropertyNameArray', '__SCDynamicStore', 'OpaqueMIDIEntity', '__CTRubyAnnotation', 'SCNVector4', 'CFHostClientContext', 'CFNetServiceClientContext', 'AudioUnitPresetMAS_SettingData', 'opaqueCMBufferQueueTriggerToken', 'AudioUnitProperty', 'CAFRegionChunk', 'CGPDFString', '__GLsync', '__CFStringTokenizer', 'JustWidthDeltaEntry', 'sfntVariationAxis', '__CFNetDiagnostic', 'CAFOverviewSample', 'sfntCMapEncoding', 'CGVector', '__SCNetworkService', 'opaqueCMSampleBuffer', 'AUHostVersionIdentifier', 'AudioBalanceFade', 'sfntFontRunFeature', 'KerxCoordinateAction', 'sfntCMapSubHeader', 'CVPlanarPixelBufferInfo', 'AUNumVersion', 'AUSamplerInstrumentData', 'AUPreset', '__CTRunDelegate', 'OpaqueAudioQueueProcessingTap', 'KerxTableHeader', '_NSZone', 'OpaqueExtAudioFile', '__CFRunLoopSource', '__CVMetalTextureCache', 'KerxAnchorPointAction', 'OpaqueJSString', 'AudioQueueParameterEvent', '__CFHTTPMessage', 'OpaqueCMClock', 'ScheduledAudioFileRegion', 'STEntryZero', 'AVAudio3DPoint', 'gss_channel_bindings_struct', 'sfntVariationHeader', 'AUChannelInfo', 'UIOffset', 'GLKEffectPropertyPrv', 'KerxStateHeader', 'CGLineJoin', 'CGPDFDocument', '__CFBag', 'KernOrderedListHeader', '__SCNetworkSet', '__SecKey', 'MIDIObjectAddRemoveNotification', 'AudioUnitParameter', 'JustPCActionSubrecord', 'AudioComponentDescription', 'AudioUnitParameterValueName', 'AudioUnitParameterEvent', 'KerxControlPointAction', 'AudioTimeStamp', 'KernKerningPair', 'gss_buffer_set_desc_struct', 'MortFeatureEntry', 'FontVariation', 'CAFStringID', 'LcarCaretClassEntry', 'AudioUnitParameterStringFromValue', 'ACErrorCode', 'ALMXGlyphEntry', 'LtagTable', '__CTTypesetter', 'AuthorizationOpaqueRef', 'UIEdgeInsets', 'CGPathElement', 'CAFMarker', 'KernTableHeader', 'NoteParamsControlValue', 'SSLContext', 'gss_cred_id_t_desc_struct', 'AudioUnitParameterNameInfo', 'CGDataConsumerCallbacks', 'ALMXHeader', 'CGLineCap', 'MIDIControlTransform', 'CGPDFArray', '__SecPolicy', 'AudioConverterPrimeInfo', '__CTTextTab', '__CFNetServiceMonitor', 'AUInputSamplesInOutputCallbackStruct', '__CTFramesetter', 'CGPDFDataFormat', 'STHeader', 'CVPlanarPixelBufferInfo_YCbCrPlanar', 'MIDIValueMap', 'JustDirectionTable', '__SCBondStatus', 'SFNTLookupSegmentHeader', 'OpaqueCMMemoryPool', 'CGPathDrawingMode', 'CGFont', '__SCNetworkReachability', 'AudioClassDescription', 'CGPoint', 'AVAudio3DVectorOrientation', 'CAFStrings', '__CFNetServiceBrowser', 'opaqueMTAudioProcessingTap', 'sfntNameRecord', 'CGPDFPage', 'CGLayer', 'ComponentInstanceRecord', 'CAFInfoStrings', 'HostCallbackInfo', 'MusicDeviceNoteParams', 'OpaqueVTCompressionSession', 'KernIndexArrayHeader', 'CVPlanarPixelBufferInfo_YCbCrBiPlanar', 'MusicTrackLoopInfo', 'opaqueCMFormatDescription', 'STClassTable', 'sfntDirectoryEntry', 'OpaqueCMTimebase', 'CGDataProviderDirectCallbacks', 'MIDIPacketList', 'CAFOverviewChunk', 'MIDIPacket', 'ScheduledAudioSlice', 'CGDataProviderSequentialCallbacks', 'AudioBuffer', 'MorxRearrangementSubtable', 'CGPatternCallbacks', 'AUDistanceAttenuationData', 'MIDIIOErrorNotification', 'CGPDFContentStream', 'IUnknownVTbl', 'MIDITransform', 'MortInsertionSubtable', 'CABarBeatTime', 'AudioBufferList', '__CVBuffer', 'AURenderCallbackStruct', 'STXEntryZero', 'JustPCDuctilityAction', 'OpaqueAudioQueueTimeline', 'VTDecompressionOutputCallbackRecord', 'OpaqueMIDIClient', '__CFPlugInInstance', 'AudioQueueBuffer', '__CFFileDescriptor', 'AudioUnitConnection', '_GKTurnBasedExchangeStatus', 'LcarCaretTable', 'CVPlanarComponentInfo', 'JustWidthDeltaGroup', 'OpaqueAudioComponent', 'ParameterEvent', '__CVPixelBufferPool', '__CTFont', 'CGColorSpace', 'CGSize', 'AUDependentParameter', 'MIDIDriverInterface', 'gss_krb5_rfc1964_keydata', '__CFDateFormatter', 'LtagStringRange', 'OpaqueVTDecompressionSession', 'gss_iov_buffer_desc_struct', 'AUPresetEvent', 'PropTable', 'KernOrderedListEntry', 'CF_BRIDGED_MUTABLE_TYPE', 'gss_OID_desc_struct', 'AudioUnitPresetMAS_Settings', 'AudioFileMarker', 'JustPCConditionalAddAction', 'BslnFormat3Part', '__CFNotificationCenter', 'MortSwashSubtable', 'AUParameterMIDIMapping', 'SCNVector3', 'OpaqueAudioConverter', 'MIDIRawData', 'sfntNameHeader', '__CFRunLoop', 'MFMailComposeResult', 'CATransform3D', 'OpbdSideValues', 'CAF_SMPTE_Time', '__SecAccessControl', 'JustPCAction', 'OpaqueVTFrameSilo', 'OpaqueVTMultiPassStorage', 'CGPathElementType', 'AudioFormatListItem', 'AudioUnitExternalBuffer', 'AudioFileRegion', 'AudioValueTranslation', 'CGImageMetadataTag', 'CAFPeakChunk', 'AudioBytePacketTranslation', 'sfntCMapHeader', '__CFURLEnumerator', 'STXHeader', 'CGPDFObjectType', 'SFNTLookupArrayHeader'])
20
+
21
+ if __name__ == '__main__': # pragma: no cover
22
+ import os
23
+ import re
24
+
25
+ FRAMEWORKS_PATH = '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/'
26
+ frameworks = os.listdir(FRAMEWORKS_PATH)
27
+
28
+ all_interfaces = set()
29
+ all_protocols = set()
30
+ all_primitives = set()
31
+ for framework in frameworks:
32
+ frameworkHeadersDir = FRAMEWORKS_PATH + framework + '/Headers/'
33
+ if not os.path.exists(frameworkHeadersDir):
34
+ continue
35
+
36
+ headerFilenames = os.listdir(frameworkHeadersDir)
37
+
38
+ for f in headerFilenames:
39
+ if not f.endswith('.h'):
40
+ continue
41
+
42
+ headerFilePath = frameworkHeadersDir + f
43
+ content = open(headerFilePath).read()
44
+ res = re.findall('(?<=@interface )\w+', content)
45
+ for r in res:
46
+ all_interfaces.add(r)
47
+
48
+ res = re.findall('(?<=@protocol )\w+', content)
49
+ for r in res:
50
+ all_protocols.add(r)
51
+
52
+ res = re.findall('(?<=typedef enum )\w+', content)
53
+ for r in res:
54
+ all_primitives.add(r)
55
+
56
+ res = re.findall('(?<=typedef struct )\w+', content)
57
+ for r in res:
58
+ all_primitives.add(r)
59
+
60
+ res = re.findall('(?<=typedef const struct )\w+', content)
61
+ for r in res:
62
+ all_primitives.add(r)
63
+
64
+
65
+ print("ALL interfaces: \n")
66
+ print(all_interfaces)
67
+
68
+ print("\nALL protocols: \n")
69
+ print(all_protocols)
70
+
71
+ print("\nALL primitives: \n")
72
+ print(all_primitives)
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_csound_builtins.py ADDED
@@ -0,0 +1,1346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._csound_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
7
+ :license: BSD, see LICENSE for details.
8
+ """
9
+
10
+ # Opcodes in Csound 6.05 from
11
+ # csound --list-opcodes
12
+ # except
13
+ # cggoto <http://www.csounds.com/manual/html/cggoto.html>
14
+ # cigoto <http://www.csounds.com/manual/html/cigoto.html>
15
+ # cingoto (undocumented)
16
+ # ckgoto <http://www.csounds.com/manual/html/ckgoto.html>
17
+ # cngoto <http://www.csounds.com/manual/html/cngoto.html>
18
+ # endin <http://www.csounds.com/manual/html/endin.html
19
+ # endop <http://www.csounds.com/manual/html/endop.html
20
+ # goto <http://www.csounds.com/manual/html/goto.html>
21
+ # igoto <http://www.csounds.com/manual/html/igoto.html>
22
+ # instr <http://www.csounds.com/manual/html/instr.html>
23
+ # kgoto <http://www.csounds.com/manual/html/kgoto.html>
24
+ # loop_ge <http://www.csounds.com/manual/html/loop_ge.html>
25
+ # loop_gt <http://www.csounds.com/manual/html/loop_gt.html>
26
+ # loop_le <http://www.csounds.com/manual/html/loop_le.html>
27
+ # loop_lt <http://www.csounds.com/manual/html/loop_lt.html>
28
+ # opcode <http://www.csounds.com/manual/html/opcode.html>
29
+ # return <http://www.csounds.com/manual/html/return.html>
30
+ # rigoto <http://www.csounds.com/manual/html/rigoto.html>
31
+ # tigoto <http://www.csounds.com/manual/html/tigoto.html>
32
+ # timout <http://www.csounds.com/manual/html/timout.html>
33
+ # which are treated as keywords; the scoreline opcodes
34
+ # scoreline <http://www.csounds.com/manual/html/scoreline.html>
35
+ # scoreline_i <http://www.csounds.com/manual/html/scoreline_i.html>
36
+ # which allow Csound Score highlighting; the pyrun opcodes
37
+ # <http://www.csounds.com/manual/html/pyrun.html>
38
+ # pylrun
39
+ # pylruni
40
+ # pylrunt
41
+ # pyrun
42
+ # pyruni
43
+ # pyrunt
44
+ # which allow Python highlighting; and the Lua opcodes
45
+ # lua_exec <http://www.csounds.com/manual/html/lua_exec.html>
46
+ # lua_opdef <http://www.csounds.com/manual/html/lua_opdef.html>
47
+ # which allow Lua highlighting.
48
+ OPCODES = set((
49
+ 'ATSadd',
50
+ 'ATSaddnz',
51
+ 'ATSbufread',
52
+ 'ATScross',
53
+ 'ATSinfo',
54
+ 'ATSinterpread',
55
+ 'ATSpartialtap',
56
+ 'ATSread',
57
+ 'ATSreadnz',
58
+ 'ATSsinnoi',
59
+ 'FLbox',
60
+ 'FLbutBank',
61
+ 'FLbutton',
62
+ 'FLcloseButton',
63
+ 'FLcolor',
64
+ 'FLcolor2',
65
+ 'FLcount',
66
+ 'FLexecButton',
67
+ 'FLgetsnap',
68
+ 'FLgroup',
69
+ 'FLgroupEnd',
70
+ 'FLgroup_end',
71
+ 'FLhide',
72
+ 'FLhvsBox',
73
+ 'FLhvsBoxSetValue',
74
+ 'FLjoy',
75
+ 'FLkeyIn',
76
+ 'FLknob',
77
+ 'FLlabel',
78
+ 'FLloadsnap',
79
+ 'FLmouse',
80
+ 'FLpack',
81
+ 'FLpackEnd',
82
+ 'FLpack_end',
83
+ 'FLpanel',
84
+ 'FLpanelEnd',
85
+ 'FLpanel_end',
86
+ 'FLprintk',
87
+ 'FLprintk2',
88
+ 'FLroller',
89
+ 'FLrun',
90
+ 'FLsavesnap',
91
+ 'FLscroll',
92
+ 'FLscrollEnd',
93
+ 'FLscroll_end',
94
+ 'FLsetAlign',
95
+ 'FLsetBox',
96
+ 'FLsetColor',
97
+ 'FLsetColor2',
98
+ 'FLsetFont',
99
+ 'FLsetPosition',
100
+ 'FLsetSize',
101
+ 'FLsetSnapGroup',
102
+ 'FLsetText',
103
+ 'FLsetTextColor',
104
+ 'FLsetTextSize',
105
+ 'FLsetTextType',
106
+ 'FLsetVal',
107
+ 'FLsetVal_i',
108
+ 'FLsetVali',
109
+ 'FLsetsnap',
110
+ 'FLshow',
111
+ 'FLslidBnk',
112
+ 'FLslidBnk2',
113
+ 'FLslidBnk2Set',
114
+ 'FLslidBnk2Setk',
115
+ 'FLslidBnkGetHandle',
116
+ 'FLslidBnkSet',
117
+ 'FLslidBnkSetk',
118
+ 'FLslider',
119
+ 'FLtabs',
120
+ 'FLtabsEnd',
121
+ 'FLtabs_end',
122
+ 'FLtext',
123
+ 'FLupdate',
124
+ 'FLvalue',
125
+ 'FLvkeybd',
126
+ 'FLvslidBnk',
127
+ 'FLvslidBnk2',
128
+ 'FLxyin',
129
+ 'MixerClear',
130
+ 'MixerGetLevel',
131
+ 'MixerReceive',
132
+ 'MixerSend',
133
+ 'MixerSetLevel',
134
+ 'MixerSetLevel_i',
135
+ 'OSCinit',
136
+ 'OSClisten',
137
+ 'OSCsend',
138
+ 'a',
139
+ 'abs',
140
+ 'active',
141
+ 'adsr',
142
+ 'adsyn',
143
+ 'adsynt',
144
+ 'adsynt2',
145
+ 'aftouch',
146
+ 'alpass',
147
+ 'alwayson',
148
+ 'ampdb',
149
+ 'ampdbfs',
150
+ 'ampmidi',
151
+ 'ampmidid',
152
+ 'areson',
153
+ 'aresonk',
154
+ 'array',
155
+ 'atone',
156
+ 'atonek',
157
+ 'atonex',
158
+ 'babo',
159
+ 'balance',
160
+ 'bamboo',
161
+ 'barmodel',
162
+ 'bbcutm',
163
+ 'bbcuts',
164
+ 'betarand',
165
+ 'bexprnd',
166
+ 'bformdec',
167
+ 'bformdec1',
168
+ 'bformenc',
169
+ 'bformenc1',
170
+ 'binit',
171
+ 'biquad',
172
+ 'biquada',
173
+ 'birnd',
174
+ 'bqrez',
175
+ 'buchla',
176
+ 'butbp',
177
+ 'butbr',
178
+ 'buthp',
179
+ 'butlp',
180
+ 'butterbp',
181
+ 'butterbr',
182
+ 'butterhp',
183
+ 'butterlp',
184
+ 'button',
185
+ 'buzz',
186
+ 'c2r',
187
+ 'cabasa',
188
+ 'cauchy',
189
+ 'cauchyi',
190
+ 'ceil',
191
+ 'cell',
192
+ 'cent',
193
+ 'centroid',
194
+ 'ceps',
195
+ #'cggoto',
196
+ 'chanctrl',
197
+ 'changed',
198
+ 'chani',
199
+ 'chano',
200
+ 'chebyshevpoly',
201
+ 'checkbox',
202
+ 'chn_S',
203
+ 'chn_a',
204
+ 'chn_k',
205
+ 'chnclear',
206
+ 'chnexport',
207
+ 'chnget',
208
+ 'chnmix',
209
+ 'chnparams',
210
+ 'chnset',
211
+ 'chuap',
212
+ #'cigoto',
213
+ #'cingoto',
214
+ #'ckgoto',
215
+ 'clear',
216
+ 'clfilt',
217
+ 'clip',
218
+ 'clockoff',
219
+ 'clockon',
220
+ 'cmplxprod',
221
+ #'cngoto',
222
+ 'comb',
223
+ 'combinv',
224
+ 'compilecsd',
225
+ 'compileorc',
226
+ 'compilestr',
227
+ 'compress',
228
+ 'connect',
229
+ 'control',
230
+ 'convle',
231
+ 'convolve',
232
+ 'copy2ftab',
233
+ 'copy2ttab',
234
+ 'copya2ftab',
235
+ 'copyf2array',
236
+ 'cos',
237
+ 'cosh',
238
+ 'cosinv',
239
+ 'cosseg',
240
+ 'cossegb',
241
+ 'cossegr',
242
+ 'cps2pch',
243
+ 'cpsmidi',
244
+ 'cpsmidib',
245
+ 'cpsmidinn',
246
+ 'cpsoct',
247
+ 'cpspch',
248
+ 'cpstmid',
249
+ 'cpstun',
250
+ 'cpstuni',
251
+ 'cpsxpch',
252
+ 'cpuprc',
253
+ 'cross2',
254
+ 'crossfm',
255
+ 'crossfmi',
256
+ 'crossfmpm',
257
+ 'crossfmpmi',
258
+ 'crosspm',
259
+ 'crosspmi',
260
+ 'crunch',
261
+ 'ctlchn',
262
+ 'ctrl14',
263
+ 'ctrl21',
264
+ 'ctrl7',
265
+ 'ctrlinit',
266
+ 'cuserrnd',
267
+ 'dam',
268
+ 'date',
269
+ 'dates',
270
+ 'db',
271
+ 'dbamp',
272
+ 'dbfsamp',
273
+ 'dcblock',
274
+ 'dcblock2',
275
+ 'dconv',
276
+ 'delay',
277
+ 'delay1',
278
+ 'delayk',
279
+ 'delayr',
280
+ 'delayw',
281
+ 'deltap',
282
+ 'deltap3',
283
+ 'deltapi',
284
+ 'deltapn',
285
+ 'deltapx',
286
+ 'deltapxw',
287
+ 'denorm',
288
+ 'diff',
289
+ 'diskgrain',
290
+ 'diskin',
291
+ 'diskin2',
292
+ 'dispfft',
293
+ 'display',
294
+ 'distort',
295
+ 'distort1',
296
+ 'divz',
297
+ 'doppler',
298
+ 'downsamp',
299
+ 'dripwater',
300
+ 'dumpk',
301
+ 'dumpk2',
302
+ 'dumpk3',
303
+ 'dumpk4',
304
+ 'duserrnd',
305
+ 'dust',
306
+ 'dust2',
307
+ #'endin',
308
+ #'endop',
309
+ 'envlpx',
310
+ 'envlpxr',
311
+ 'ephasor',
312
+ 'eqfil',
313
+ 'evalstr',
314
+ 'event',
315
+ 'event_i',
316
+ 'exciter',
317
+ 'exitnow',
318
+ 'exp',
319
+ 'expcurve',
320
+ 'expon',
321
+ 'exprand',
322
+ 'exprandi',
323
+ 'expseg',
324
+ 'expsega',
325
+ 'expsegb',
326
+ 'expsegba',
327
+ 'expsegr',
328
+ 'fareylen',
329
+ 'fareyleni',
330
+ 'faustaudio',
331
+ 'faustcompile',
332
+ 'faustctl',
333
+ 'faustgen',
334
+ 'fft',
335
+ 'fftinv',
336
+ 'ficlose',
337
+ 'filebit',
338
+ 'filelen',
339
+ 'filenchnls',
340
+ 'filepeak',
341
+ 'filesr',
342
+ 'filevalid',
343
+ 'fillarray',
344
+ 'filter2',
345
+ 'fin',
346
+ 'fini',
347
+ 'fink',
348
+ 'fiopen',
349
+ 'flanger',
350
+ 'flashtxt',
351
+ 'flooper',
352
+ 'flooper2',
353
+ 'floor',
354
+ 'fluidAllOut',
355
+ 'fluidCCi',
356
+ 'fluidCCk',
357
+ 'fluidControl',
358
+ 'fluidEngine',
359
+ 'fluidLoad',
360
+ 'fluidNote',
361
+ 'fluidOut',
362
+ 'fluidProgramSelect',
363
+ 'fluidSetInterpMethod',
364
+ 'fmb3',
365
+ 'fmbell',
366
+ 'fmmetal',
367
+ 'fmpercfl',
368
+ 'fmrhode',
369
+ 'fmvoice',
370
+ 'fmwurlie',
371
+ 'fof',
372
+ 'fof2',
373
+ 'fofilter',
374
+ 'fog',
375
+ 'fold',
376
+ 'follow',
377
+ 'follow2',
378
+ 'foscil',
379
+ 'foscili',
380
+ 'fout',
381
+ 'fouti',
382
+ 'foutir',
383
+ 'foutk',
384
+ 'fprintks',
385
+ 'fprints',
386
+ 'frac',
387
+ 'fractalnoise',
388
+ 'freeverb',
389
+ 'ftchnls',
390
+ 'ftconv',
391
+ 'ftcps',
392
+ 'ftfree',
393
+ 'ftgen',
394
+ 'ftgenonce',
395
+ 'ftgentmp',
396
+ 'ftlen',
397
+ 'ftload',
398
+ 'ftloadk',
399
+ 'ftlptim',
400
+ 'ftmorf',
401
+ 'ftresize',
402
+ 'ftresizei',
403
+ 'ftsave',
404
+ 'ftsavek',
405
+ 'ftsr',
406
+ 'gain',
407
+ 'gainslider',
408
+ 'gauss',
409
+ 'gaussi',
410
+ 'gausstrig',
411
+ 'gbuzz',
412
+ 'genarray',
413
+ 'genarray_i',
414
+ 'gendy',
415
+ 'gendyc',
416
+ 'gendyx',
417
+ 'getcfg',
418
+ 'getcol',
419
+ 'getrow',
420
+ 'gogobel',
421
+ #'goto',
422
+ 'grain',
423
+ 'grain2',
424
+ 'grain3',
425
+ 'granule',
426
+ 'guiro',
427
+ 'harmon',
428
+ 'harmon2',
429
+ 'harmon3',
430
+ 'harmon4',
431
+ 'hdf5read',
432
+ 'hdf5write',
433
+ 'hilbert',
434
+ 'hrtfearly',
435
+ 'hrtfer',
436
+ 'hrtfmove',
437
+ 'hrtfmove2',
438
+ 'hrtfreverb',
439
+ 'hrtfstat',
440
+ 'hsboscil',
441
+ 'hvs1',
442
+ 'hvs2',
443
+ 'hvs3',
444
+ 'i',
445
+ 'iceps',
446
+ #'igoto',
447
+ 'ihold',
448
+ 'imagecreate',
449
+ 'imagefree',
450
+ 'imagegetpixel',
451
+ 'imageload',
452
+ 'imagesave',
453
+ 'imagesetpixel',
454
+ 'imagesize',
455
+ 'in',
456
+ 'in32',
457
+ 'inch',
458
+ 'inh',
459
+ 'init',
460
+ 'initc14',
461
+ 'initc21',
462
+ 'initc7',
463
+ 'inleta',
464
+ 'inletf',
465
+ 'inletk',
466
+ 'inletkid',
467
+ 'inletv',
468
+ 'ino',
469
+ 'inq',
470
+ 'inrg',
471
+ 'ins',
472
+ 'insglobal',
473
+ 'insremot',
474
+ #'instr',
475
+ 'int',
476
+ 'integ',
477
+ 'interp',
478
+ 'invalue',
479
+ 'inx',
480
+ 'inz',
481
+ 'jitter',
482
+ 'jitter2',
483
+ 'jspline',
484
+ 'k',
485
+ #'kgoto',
486
+ 'ktableseg',
487
+ 'lenarray',
488
+ 'lentab',
489
+ 'lfo',
490
+ 'limit',
491
+ 'line',
492
+ 'linen',
493
+ 'linenr',
494
+ 'lineto',
495
+ 'linrand',
496
+ 'linseg',
497
+ 'linsegb',
498
+ 'linsegr',
499
+ 'locsend',
500
+ 'locsig',
501
+ 'log',
502
+ 'log10',
503
+ 'log2',
504
+ 'logbtwo',
505
+ 'logcurve',
506
+ #'loop_ge',
507
+ #'loop_gt',
508
+ #'loop_le',
509
+ #'loop_lt',
510
+ 'loopseg',
511
+ 'loopsegp',
512
+ 'looptseg',
513
+ 'loopxseg',
514
+ 'lorenz',
515
+ 'loscil',
516
+ 'loscil3',
517
+ 'loscilx',
518
+ 'lowpass2',
519
+ 'lowres',
520
+ 'lowresx',
521
+ 'lpf18',
522
+ 'lpform',
523
+ 'lpfreson',
524
+ 'lphasor',
525
+ 'lpinterp',
526
+ 'lposcil',
527
+ 'lposcil3',
528
+ 'lposcila',
529
+ 'lposcilsa',
530
+ 'lposcilsa2',
531
+ 'lpread',
532
+ 'lpreson',
533
+ 'lpshold',
534
+ 'lpsholdp',
535
+ 'lpslot',
536
+ #'lua_exec',
537
+ 'lua_ikopcall',
538
+ #'lua_opdef',
539
+ 'mac',
540
+ 'maca',
541
+ 'madsr',
542
+ 'mags',
543
+ 'mandel',
544
+ 'mandol',
545
+ 'maparray',
546
+ 'maparray_i',
547
+ 'marimba',
548
+ 'massign',
549
+ 'max',
550
+ 'max_k',
551
+ 'maxabs',
552
+ 'maxabsaccum',
553
+ 'maxaccum',
554
+ 'maxalloc',
555
+ 'maxarray',
556
+ 'maxtab',
557
+ 'mclock',
558
+ 'mdelay',
559
+ 'median',
560
+ 'mediank',
561
+ 'metro',
562
+ 'midglobal',
563
+ 'midic14',
564
+ 'midic21',
565
+ 'midic7',
566
+ 'midichannelaftertouch',
567
+ 'midichn',
568
+ 'midicontrolchange',
569
+ 'midictrl',
570
+ 'mididefault',
571
+ 'midifilestatus',
572
+ 'midiin',
573
+ 'midinoteoff',
574
+ 'midinoteoncps',
575
+ 'midinoteonkey',
576
+ 'midinoteonoct',
577
+ 'midinoteonpch',
578
+ 'midion',
579
+ 'midion2',
580
+ 'midiout',
581
+ 'midipgm',
582
+ 'midipitchbend',
583
+ 'midipolyaftertouch',
584
+ 'midiprogramchange',
585
+ 'miditempo',
586
+ 'midremot',
587
+ 'min',
588
+ 'minabs',
589
+ 'minabsaccum',
590
+ 'minaccum',
591
+ 'minarray',
592
+ 'mincer',
593
+ 'mintab',
594
+ 'mirror',
595
+ 'mode',
596
+ 'modmatrix',
597
+ 'monitor',
598
+ 'moog',
599
+ 'moogladder',
600
+ 'moogvcf',
601
+ 'moogvcf2',
602
+ 'moscil',
603
+ 'mp3bitrate',
604
+ 'mp3in',
605
+ 'mp3len',
606
+ 'mp3nchnls',
607
+ 'mp3sr',
608
+ 'mpulse',
609
+ 'mrtmsg',
610
+ 'multitap',
611
+ 'mute',
612
+ 'mxadsr',
613
+ 'nestedap',
614
+ 'nlalp',
615
+ 'nlfilt',
616
+ 'nlfilt2',
617
+ 'noise',
618
+ 'noteoff',
619
+ 'noteon',
620
+ 'noteondur',
621
+ 'noteondur2',
622
+ 'notnum',
623
+ 'nreverb',
624
+ 'nrpn',
625
+ 'nsamp',
626
+ 'nstance',
627
+ 'nstrnum',
628
+ 'ntrpol',
629
+ 'octave',
630
+ 'octcps',
631
+ 'octmidi',
632
+ 'octmidib',
633
+ 'octmidinn',
634
+ 'octpch',
635
+ #'opcode',
636
+ 'oscbnk',
637
+ 'oscil',
638
+ 'oscil1',
639
+ 'oscil1i',
640
+ 'oscil3',
641
+ 'oscili',
642
+ 'oscilikt',
643
+ 'osciliktp',
644
+ 'oscilikts',
645
+ 'osciln',
646
+ 'oscils',
647
+ 'oscilx',
648
+ 'out',
649
+ 'out32',
650
+ 'outc',
651
+ 'outch',
652
+ 'outh',
653
+ 'outiat',
654
+ 'outic',
655
+ 'outic14',
656
+ 'outipat',
657
+ 'outipb',
658
+ 'outipc',
659
+ 'outkat',
660
+ 'outkc',
661
+ 'outkc14',
662
+ 'outkpat',
663
+ 'outkpb',
664
+ 'outkpc',
665
+ 'outleta',
666
+ 'outletf',
667
+ 'outletk',
668
+ 'outletkid',
669
+ 'outletv',
670
+ 'outo',
671
+ 'outq',
672
+ 'outq1',
673
+ 'outq2',
674
+ 'outq3',
675
+ 'outq4',
676
+ 'outrg',
677
+ 'outs',
678
+ 'outs1',
679
+ 'outs2',
680
+ 'outvalue',
681
+ 'outx',
682
+ 'outz',
683
+ 'p',
684
+ 'pan',
685
+ 'pan2',
686
+ 'pareq',
687
+ 'partials',
688
+ 'partikkel',
689
+ 'partikkelget',
690
+ 'partikkelset',
691
+ 'partikkelsync',
692
+ 'passign',
693
+ 'pcauchy',
694
+ 'pchbend',
695
+ 'pchmidi',
696
+ 'pchmidib',
697
+ 'pchmidinn',
698
+ 'pchoct',
699
+ 'pconvolve',
700
+ 'pcount',
701
+ 'pdclip',
702
+ 'pdhalf',
703
+ 'pdhalfy',
704
+ 'peak',
705
+ 'pgmassign',
706
+ 'pgmchn',
707
+ 'phaser1',
708
+ 'phaser2',
709
+ 'phasor',
710
+ 'phasorbnk',
711
+ 'phs',
712
+ 'pindex',
713
+ 'pinker',
714
+ 'pinkish',
715
+ 'pitch',
716
+ 'pitchac',
717
+ 'pitchamdf',
718
+ 'planet',
719
+ 'platerev',
720
+ 'plltrack',
721
+ 'pluck',
722
+ 'poisson',
723
+ 'pol2rect',
724
+ 'polyaft',
725
+ 'polynomial',
726
+ 'pop',
727
+ 'pop_f',
728
+ 'port',
729
+ 'portk',
730
+ 'poscil',
731
+ 'poscil3',
732
+ 'pow',
733
+ 'powershape',
734
+ 'powoftwo',
735
+ 'prealloc',
736
+ 'prepiano',
737
+ 'print',
738
+ 'print_type',
739
+ 'printf',
740
+ 'printf_i',
741
+ 'printk',
742
+ 'printk2',
743
+ 'printks',
744
+ 'printks2',
745
+ 'prints',
746
+ 'product',
747
+ 'pset',
748
+ 'ptable',
749
+ 'ptable3',
750
+ 'ptablei',
751
+ 'ptableiw',
752
+ 'ptablew',
753
+ 'ptrack',
754
+ 'push',
755
+ 'push_f',
756
+ 'puts',
757
+ 'pvadd',
758
+ 'pvbufread',
759
+ 'pvcross',
760
+ 'pvinterp',
761
+ 'pvoc',
762
+ 'pvread',
763
+ 'pvs2array',
764
+ 'pvs2tab',
765
+ 'pvsadsyn',
766
+ 'pvsanal',
767
+ 'pvsarp',
768
+ 'pvsbandp',
769
+ 'pvsbandr',
770
+ 'pvsbin',
771
+ 'pvsblur',
772
+ 'pvsbuffer',
773
+ 'pvsbufread',
774
+ 'pvsbufread2',
775
+ 'pvscale',
776
+ 'pvscent',
777
+ 'pvsceps',
778
+ 'pvscross',
779
+ 'pvsdemix',
780
+ 'pvsdiskin',
781
+ 'pvsdisp',
782
+ 'pvsenvftw',
783
+ 'pvsfilter',
784
+ 'pvsfread',
785
+ 'pvsfreeze',
786
+ 'pvsfromarray',
787
+ 'pvsftr',
788
+ 'pvsftw',
789
+ 'pvsfwrite',
790
+ 'pvsgain',
791
+ 'pvsgendy',
792
+ 'pvshift',
793
+ 'pvsifd',
794
+ 'pvsin',
795
+ 'pvsinfo',
796
+ 'pvsinit',
797
+ 'pvslock',
798
+ 'pvsmaska',
799
+ 'pvsmix',
800
+ 'pvsmooth',
801
+ 'pvsmorph',
802
+ 'pvsosc',
803
+ 'pvsout',
804
+ 'pvspitch',
805
+ 'pvstanal',
806
+ 'pvstencil',
807
+ 'pvsvoc',
808
+ 'pvswarp',
809
+ 'pvsynth',
810
+ 'pwd',
811
+ 'pyassign',
812
+ 'pyassigni',
813
+ 'pyassignt',
814
+ 'pycall',
815
+ 'pycall1',
816
+ 'pycall1i',
817
+ 'pycall1t',
818
+ 'pycall2',
819
+ 'pycall2i',
820
+ 'pycall2t',
821
+ 'pycall3',
822
+ 'pycall3i',
823
+ 'pycall3t',
824
+ 'pycall4',
825
+ 'pycall4i',
826
+ 'pycall4t',
827
+ 'pycall5',
828
+ 'pycall5i',
829
+ 'pycall5t',
830
+ 'pycall6',
831
+ 'pycall6i',
832
+ 'pycall6t',
833
+ 'pycall7',
834
+ 'pycall7i',
835
+ 'pycall7t',
836
+ 'pycall8',
837
+ 'pycall8i',
838
+ 'pycall8t',
839
+ 'pycalli',
840
+ 'pycalln',
841
+ 'pycallni',
842
+ 'pycallt',
843
+ 'pyeval',
844
+ 'pyevali',
845
+ 'pyevalt',
846
+ 'pyexec',
847
+ 'pyexeci',
848
+ 'pyexect',
849
+ 'pyinit',
850
+ 'pylassign',
851
+ 'pylassigni',
852
+ 'pylassignt',
853
+ 'pylcall',
854
+ 'pylcall1',
855
+ 'pylcall1i',
856
+ 'pylcall1t',
857
+ 'pylcall2',
858
+ 'pylcall2i',
859
+ 'pylcall2t',
860
+ 'pylcall3',
861
+ 'pylcall3i',
862
+ 'pylcall3t',
863
+ 'pylcall4',
864
+ 'pylcall4i',
865
+ 'pylcall4t',
866
+ 'pylcall5',
867
+ 'pylcall5i',
868
+ 'pylcall5t',
869
+ 'pylcall6',
870
+ 'pylcall6i',
871
+ 'pylcall6t',
872
+ 'pylcall7',
873
+ 'pylcall7i',
874
+ 'pylcall7t',
875
+ 'pylcall8',
876
+ 'pylcall8i',
877
+ 'pylcall8t',
878
+ 'pylcalli',
879
+ 'pylcalln',
880
+ 'pylcallni',
881
+ 'pylcallt',
882
+ 'pyleval',
883
+ 'pylevali',
884
+ 'pylevalt',
885
+ 'pylexec',
886
+ 'pylexeci',
887
+ 'pylexect',
888
+ #'pylrun',
889
+ #'pylruni',
890
+ #'pylrunt',
891
+ #'pyrun',
892
+ #'pyruni',
893
+ #'pyrunt',
894
+ 'qinf',
895
+ 'qnan',
896
+ 'r2c',
897
+ 'rand',
898
+ 'randh',
899
+ 'randi',
900
+ 'random',
901
+ 'randomh',
902
+ 'randomi',
903
+ 'rbjeq',
904
+ 'readclock',
905
+ 'readf',
906
+ 'readfi',
907
+ 'readk',
908
+ 'readk2',
909
+ 'readk3',
910
+ 'readk4',
911
+ 'readks',
912
+ 'readscore',
913
+ 'readscratch',
914
+ 'rect2pol',
915
+ 'reinit',
916
+ 'release',
917
+ 'remoteport',
918
+ 'remove',
919
+ 'repluck',
920
+ 'reson',
921
+ 'resonk',
922
+ 'resonr',
923
+ 'resonx',
924
+ 'resonxk',
925
+ 'resony',
926
+ 'resonz',
927
+ 'resyn',
928
+ #'return',
929
+ 'reverb',
930
+ 'reverb2',
931
+ 'reverbsc',
932
+ 'rewindscore',
933
+ 'rezzy',
934
+ 'rfft',
935
+ 'rifft',
936
+ #'rigoto',
937
+ 'rireturn',
938
+ 'rms',
939
+ 'rnd',
940
+ 'rnd31',
941
+ 'round',
942
+ 'rspline',
943
+ 'rtclock',
944
+ 's16b14',
945
+ 's32b14',
946
+ 'samphold',
947
+ 'sandpaper',
948
+ 'scale',
949
+ 'scalearray',
950
+ 'scalet',
951
+ 'scanhammer',
952
+ 'scans',
953
+ 'scantable',
954
+ 'scanu',
955
+ 'schedkwhen',
956
+ 'schedkwhennamed',
957
+ 'schedule',
958
+ 'schedwhen',
959
+ #'scoreline',
960
+ #'scoreline_i',
961
+ 'seed',
962
+ 'sekere',
963
+ 'semitone',
964
+ 'sense',
965
+ 'sensekey',
966
+ 'seqtime',
967
+ 'seqtime2',
968
+ 'serialBegin',
969
+ 'serialEnd',
970
+ 'serialFlush',
971
+ 'serialPrint',
972
+ 'serialRead',
973
+ 'serialWrite',
974
+ 'serialWrite_i',
975
+ 'setcol',
976
+ 'setctrl',
977
+ 'setksmps',
978
+ 'setrow',
979
+ 'setscorepos',
980
+ 'sfilist',
981
+ 'sfinstr',
982
+ 'sfinstr3',
983
+ 'sfinstr3m',
984
+ 'sfinstrm',
985
+ 'sfload',
986
+ 'sflooper',
987
+ 'sfpassign',
988
+ 'sfplay',
989
+ 'sfplay3',
990
+ 'sfplay3m',
991
+ 'sfplaym',
992
+ 'sfplist',
993
+ 'sfpreset',
994
+ 'shaker',
995
+ 'shiftin',
996
+ 'shiftout',
997
+ 'signalflowgraph',
998
+ 'signum',
999
+ 'sin',
1000
+ 'sinh',
1001
+ 'sininv',
1002
+ 'sinsyn',
1003
+ 'sleighbells',
1004
+ 'slicearray',
1005
+ 'slider16',
1006
+ 'slider16f',
1007
+ 'slider16table',
1008
+ 'slider16tablef',
1009
+ 'slider32',
1010
+ 'slider32f',
1011
+ 'slider32table',
1012
+ 'slider32tablef',
1013
+ 'slider64',
1014
+ 'slider64f',
1015
+ 'slider64table',
1016
+ 'slider64tablef',
1017
+ 'slider8',
1018
+ 'slider8f',
1019
+ 'slider8table',
1020
+ 'slider8tablef',
1021
+ 'sliderKawai',
1022
+ 'sndload',
1023
+ 'sndloop',
1024
+ 'sndwarp',
1025
+ 'sndwarpst',
1026
+ 'sockrecv',
1027
+ 'sockrecvs',
1028
+ 'socksend',
1029
+ 'socksends',
1030
+ 'soundin',
1031
+ 'soundout',
1032
+ 'soundouts',
1033
+ 'space',
1034
+ 'spat3d',
1035
+ 'spat3di',
1036
+ 'spat3dt',
1037
+ 'spdist',
1038
+ 'specaddm',
1039
+ 'specdiff',
1040
+ 'specdisp',
1041
+ 'specfilt',
1042
+ 'spechist',
1043
+ 'specptrk',
1044
+ 'specscal',
1045
+ 'specsum',
1046
+ 'spectrum',
1047
+ 'splitrig',
1048
+ 'sprintf',
1049
+ 'sprintfk',
1050
+ 'spsend',
1051
+ 'sqrt',
1052
+ 'stack',
1053
+ 'statevar',
1054
+ 'stix',
1055
+ 'strcat',
1056
+ 'strcatk',
1057
+ 'strchar',
1058
+ 'strchark',
1059
+ 'strcmp',
1060
+ 'strcmpk',
1061
+ 'strcpy',
1062
+ 'strcpyk',
1063
+ 'strecv',
1064
+ 'streson',
1065
+ 'strfromurl',
1066
+ 'strget',
1067
+ 'strindex',
1068
+ 'strindexk',
1069
+ 'strlen',
1070
+ 'strlenk',
1071
+ 'strlower',
1072
+ 'strlowerk',
1073
+ 'strrindex',
1074
+ 'strrindexk',
1075
+ 'strset',
1076
+ 'strsub',
1077
+ 'strsubk',
1078
+ 'strtod',
1079
+ 'strtodk',
1080
+ 'strtol',
1081
+ 'strtolk',
1082
+ 'strupper',
1083
+ 'strupperk',
1084
+ 'stsend',
1085
+ 'subinstr',
1086
+ 'subinstrinit',
1087
+ 'sum',
1088
+ 'sumarray',
1089
+ 'sumtab',
1090
+ 'svfilter',
1091
+ 'syncgrain',
1092
+ 'syncloop',
1093
+ 'syncphasor',
1094
+ 'system',
1095
+ 'system_i',
1096
+ 'tab',
1097
+ 'tab2pvs',
1098
+ 'tab_i',
1099
+ 'tabgen',
1100
+ 'table',
1101
+ 'table3',
1102
+ 'table3kt',
1103
+ 'tablecopy',
1104
+ 'tablefilter',
1105
+ 'tablefilteri',
1106
+ 'tablegpw',
1107
+ 'tablei',
1108
+ 'tableicopy',
1109
+ 'tableigpw',
1110
+ 'tableikt',
1111
+ 'tableimix',
1112
+ 'tableiw',
1113
+ 'tablekt',
1114
+ 'tablemix',
1115
+ 'tableng',
1116
+ 'tablera',
1117
+ 'tableseg',
1118
+ 'tableshuffle',
1119
+ 'tableshufflei',
1120
+ 'tablew',
1121
+ 'tablewa',
1122
+ 'tablewkt',
1123
+ 'tablexkt',
1124
+ 'tablexseg',
1125
+ 'tabmap',
1126
+ 'tabmap_i',
1127
+ 'tabmorph',
1128
+ 'tabmorpha',
1129
+ 'tabmorphak',
1130
+ 'tabmorphi',
1131
+ 'tabplay',
1132
+ 'tabrec',
1133
+ 'tabslice',
1134
+ 'tabsum',
1135
+ 'tabw',
1136
+ 'tabw_i',
1137
+ 'tambourine',
1138
+ 'tan',
1139
+ 'tanh',
1140
+ 'taninv',
1141
+ 'taninv2',
1142
+ 'tb0',
1143
+ 'tb0_init',
1144
+ 'tb1',
1145
+ 'tb10',
1146
+ 'tb10_init',
1147
+ 'tb11',
1148
+ 'tb11_init',
1149
+ 'tb12',
1150
+ 'tb12_init',
1151
+ 'tb13',
1152
+ 'tb13_init',
1153
+ 'tb14',
1154
+ 'tb14_init',
1155
+ 'tb15',
1156
+ 'tb15_init',
1157
+ 'tb1_init',
1158
+ 'tb2',
1159
+ 'tb2_init',
1160
+ 'tb3',
1161
+ 'tb3_init',
1162
+ 'tb4',
1163
+ 'tb4_init',
1164
+ 'tb5',
1165
+ 'tb5_init',
1166
+ 'tb6',
1167
+ 'tb6_init',
1168
+ 'tb7',
1169
+ 'tb7_init',
1170
+ 'tb8',
1171
+ 'tb8_init',
1172
+ 'tb9',
1173
+ 'tb9_init',
1174
+ 'tbvcf',
1175
+ 'tempest',
1176
+ 'tempo',
1177
+ 'temposcal',
1178
+ 'tempoval',
1179
+ #'tigoto',
1180
+ 'timedseq',
1181
+ 'timeinstk',
1182
+ 'timeinsts',
1183
+ 'timek',
1184
+ 'times',
1185
+ #'timout',
1186
+ 'tival',
1187
+ 'tlineto',
1188
+ 'tone',
1189
+ 'tonek',
1190
+ 'tonex',
1191
+ 'tradsyn',
1192
+ 'trandom',
1193
+ 'transeg',
1194
+ 'transegb',
1195
+ 'transegr',
1196
+ 'trcross',
1197
+ 'trfilter',
1198
+ 'trhighest',
1199
+ 'trigger',
1200
+ 'trigseq',
1201
+ 'trirand',
1202
+ 'trlowest',
1203
+ 'trmix',
1204
+ 'trscale',
1205
+ 'trshift',
1206
+ 'trsplit',
1207
+ 'turnoff',
1208
+ 'turnoff2',
1209
+ 'turnon',
1210
+ 'unirand',
1211
+ 'unwrap',
1212
+ 'upsamp',
1213
+ 'urd',
1214
+ 'vactrol',
1215
+ 'vadd',
1216
+ 'vadd_i',
1217
+ 'vaddv',
1218
+ 'vaddv_i',
1219
+ 'vaget',
1220
+ 'valpass',
1221
+ 'vaset',
1222
+ 'vbap',
1223
+ 'vbap16',
1224
+ 'vbap4',
1225
+ 'vbap4move',
1226
+ 'vbap8',
1227
+ 'vbap8move',
1228
+ 'vbapg',
1229
+ 'vbapgmove',
1230
+ 'vbaplsinit',
1231
+ 'vbapmove',
1232
+ 'vbapz',
1233
+ 'vbapzmove',
1234
+ 'vcella',
1235
+ 'vco',
1236
+ 'vco2',
1237
+ 'vco2ft',
1238
+ 'vco2ift',
1239
+ 'vco2init',
1240
+ 'vcomb',
1241
+ 'vcopy',
1242
+ 'vcopy_i',
1243
+ 'vdel_k',
1244
+ 'vdelay',
1245
+ 'vdelay3',
1246
+ 'vdelayk',
1247
+ 'vdelayx',
1248
+ 'vdelayxq',
1249
+ 'vdelayxs',
1250
+ 'vdelayxw',
1251
+ 'vdelayxwq',
1252
+ 'vdelayxws',
1253
+ 'vdivv',
1254
+ 'vdivv_i',
1255
+ 'vecdelay',
1256
+ 'veloc',
1257
+ 'vexp',
1258
+ 'vexp_i',
1259
+ 'vexpseg',
1260
+ 'vexpv',
1261
+ 'vexpv_i',
1262
+ 'vibes',
1263
+ 'vibr',
1264
+ 'vibrato',
1265
+ 'vincr',
1266
+ 'vlimit',
1267
+ 'vlinseg',
1268
+ 'vlowres',
1269
+ 'vmap',
1270
+ 'vmirror',
1271
+ 'vmult',
1272
+ 'vmult_i',
1273
+ 'vmultv',
1274
+ 'vmultv_i',
1275
+ 'voice',
1276
+ 'vosim',
1277
+ 'vphaseseg',
1278
+ 'vport',
1279
+ 'vpow',
1280
+ 'vpow_i',
1281
+ 'vpowv',
1282
+ 'vpowv_i',
1283
+ 'vpvoc',
1284
+ 'vrandh',
1285
+ 'vrandi',
1286
+ 'vsubv',
1287
+ 'vsubv_i',
1288
+ 'vtaba',
1289
+ 'vtabi',
1290
+ 'vtabk',
1291
+ 'vtable1k',
1292
+ 'vtablea',
1293
+ 'vtablei',
1294
+ 'vtablek',
1295
+ 'vtablewa',
1296
+ 'vtablewi',
1297
+ 'vtablewk',
1298
+ 'vtabwa',
1299
+ 'vtabwi',
1300
+ 'vtabwk',
1301
+ 'vwrap',
1302
+ 'waveset',
1303
+ 'weibull',
1304
+ 'wgbow',
1305
+ 'wgbowedbar',
1306
+ 'wgbrass',
1307
+ 'wgclar',
1308
+ 'wgflute',
1309
+ 'wgpluck',
1310
+ 'wgpluck2',
1311
+ 'wguide1',
1312
+ 'wguide2',
1313
+ 'wiiconnect',
1314
+ 'wiidata',
1315
+ 'wiirange',
1316
+ 'wiisend',
1317
+ 'window',
1318
+ 'wrap',
1319
+ 'writescratch',
1320
+ 'wterrain',
1321
+ 'xadsr',
1322
+ 'xin',
1323
+ 'xout',
1324
+ 'xscanmap',
1325
+ 'xscans',
1326
+ 'xscansmap',
1327
+ 'xscanu',
1328
+ 'xtratim',
1329
+ 'xyin',
1330
+ 'zacl',
1331
+ 'zakinit',
1332
+ 'zamod',
1333
+ 'zar',
1334
+ 'zarg',
1335
+ 'zaw',
1336
+ 'zawm',
1337
+ 'zfilter2',
1338
+ 'zir',
1339
+ 'ziw',
1340
+ 'ziwm',
1341
+ 'zkcl',
1342
+ 'zkmod',
1343
+ 'zkr',
1344
+ 'zkw',
1345
+ 'zkwm'
1346
+ ))
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_lasso_builtins.py ADDED
The diff for this file is too large to render. See raw diff
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_lua_builtins.py ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._lua_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ This file contains the names and modules of lua functions
7
+ It is able to re-generate itself, but for adding new functions you
8
+ probably have to add some callbacks (see function module_callbacks).
9
+
10
+ Do not edit the MODULES dict by hand.
11
+
12
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
13
+ :license: BSD, see LICENSE for details.
14
+ """
15
+
16
+ from __future__ import print_function
17
+
18
+ MODULES = {'basic': ('_G',
19
+ '_VERSION',
20
+ 'assert',
21
+ 'collectgarbage',
22
+ 'dofile',
23
+ 'error',
24
+ 'getmetatable',
25
+ 'ipairs',
26
+ 'load',
27
+ 'loadfile',
28
+ 'next',
29
+ 'pairs',
30
+ 'pcall',
31
+ 'print',
32
+ 'rawequal',
33
+ 'rawget',
34
+ 'rawlen',
35
+ 'rawset',
36
+ 'select',
37
+ 'setmetatable',
38
+ 'tonumber',
39
+ 'tostring',
40
+ 'type',
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.create',
55
+ 'coroutine.isyieldable',
56
+ 'coroutine.resume',
57
+ 'coroutine.running',
58
+ 'coroutine.status',
59
+ 'coroutine.wrap',
60
+ 'coroutine.yield'),
61
+ 'debug': ('debug.debug',
62
+ 'debug.gethook',
63
+ 'debug.getinfo',
64
+ 'debug.getlocal',
65
+ 'debug.getmetatable',
66
+ 'debug.getregistry',
67
+ 'debug.getupvalue',
68
+ 'debug.getuservalue',
69
+ 'debug.sethook',
70
+ 'debug.setlocal',
71
+ 'debug.setmetatable',
72
+ 'debug.setupvalue',
73
+ 'debug.setuservalue',
74
+ 'debug.traceback',
75
+ 'debug.upvalueid',
76
+ 'debug.upvaluejoin'),
77
+ 'io': ('io.close',
78
+ 'io.flush',
79
+ 'io.input',
80
+ 'io.lines',
81
+ 'io.open',
82
+ 'io.output',
83
+ 'io.popen',
84
+ 'io.read',
85
+ 'io.stderr',
86
+ 'io.stdin',
87
+ 'io.stdout',
88
+ 'io.tmpfile',
89
+ 'io.type',
90
+ 'io.write'),
91
+ 'math': ('math.abs',
92
+ 'math.acos',
93
+ 'math.asin',
94
+ 'math.atan',
95
+ 'math.atan2',
96
+ 'math.ceil',
97
+ 'math.cos',
98
+ 'math.cosh',
99
+ 'math.deg',
100
+ 'math.exp',
101
+ 'math.floor',
102
+ 'math.fmod',
103
+ 'math.frexp',
104
+ 'math.huge',
105
+ 'math.ldexp',
106
+ 'math.log',
107
+ 'math.max',
108
+ 'math.maxinteger',
109
+ 'math.min',
110
+ 'math.mininteger',
111
+ 'math.modf',
112
+ 'math.pi',
113
+ 'math.pow',
114
+ 'math.rad',
115
+ 'math.random',
116
+ 'math.randomseed',
117
+ 'math.sin',
118
+ 'math.sinh',
119
+ 'math.sqrt',
120
+ 'math.tan',
121
+ 'math.tanh',
122
+ 'math.tointeger',
123
+ 'math.type',
124
+ 'math.ult'),
125
+ 'modules': ('package.config',
126
+ 'package.cpath',
127
+ 'package.loaded',
128
+ 'package.loadlib',
129
+ 'package.path',
130
+ 'package.preload',
131
+ 'package.searchers',
132
+ 'package.searchpath',
133
+ 'require'),
134
+ 'os': ('os.clock',
135
+ 'os.date',
136
+ 'os.difftime',
137
+ 'os.execute',
138
+ 'os.exit',
139
+ 'os.getenv',
140
+ 'os.remove',
141
+ 'os.rename',
142
+ 'os.setlocale',
143
+ 'os.time',
144
+ 'os.tmpname'),
145
+ 'string': ('string.byte',
146
+ 'string.char',
147
+ 'string.dump',
148
+ 'string.find',
149
+ 'string.format',
150
+ 'string.gmatch',
151
+ 'string.gsub',
152
+ 'string.len',
153
+ 'string.lower',
154
+ 'string.match',
155
+ 'string.pack',
156
+ 'string.packsize',
157
+ 'string.rep',
158
+ 'string.reverse',
159
+ 'string.sub',
160
+ 'string.unpack',
161
+ 'string.upper'),
162
+ 'table': ('table.concat',
163
+ 'table.insert',
164
+ 'table.move',
165
+ 'table.pack',
166
+ 'table.remove',
167
+ 'table.sort',
168
+ 'table.unpack'),
169
+ 'utf8': ('utf8.char',
170
+ 'utf8.charpattern',
171
+ 'utf8.codepoint',
172
+ 'utf8.codes',
173
+ 'utf8.len',
174
+ 'utf8.offset')}
175
+
176
+ if __name__ == '__main__': # pragma: no cover
177
+ import re
178
+ import sys
179
+
180
+ # urllib ends up wanting to import a module called 'math' -- if
181
+ # pygments/lexers is in the path, this ends badly.
182
+ for i in range(len(sys.path)-1, -1, -1):
183
+ if sys.path[i].endswith('/lexers'):
184
+ del sys.path[i]
185
+
186
+ try:
187
+ from urllib import urlopen
188
+ except ImportError:
189
+ from urllib.request import urlopen
190
+ import pprint
191
+
192
+ # you can't generally find out what module a function belongs to if you
193
+ # have only its name. Because of this, here are some callback functions
194
+ # that recognize if a gioven function belongs to a specific module
195
+ def module_callbacks():
196
+ def is_in_coroutine_module(name):
197
+ return name.startswith('coroutine.')
198
+
199
+ def is_in_modules_module(name):
200
+ if name in ['require', 'module'] or name.startswith('package'):
201
+ return True
202
+ else:
203
+ return False
204
+
205
+ def is_in_string_module(name):
206
+ return name.startswith('string.')
207
+
208
+ def is_in_table_module(name):
209
+ return name.startswith('table.')
210
+
211
+ def is_in_math_module(name):
212
+ return name.startswith('math')
213
+
214
+ def is_in_io_module(name):
215
+ return name.startswith('io.')
216
+
217
+ def is_in_os_module(name):
218
+ return name.startswith('os.')
219
+
220
+ def is_in_debug_module(name):
221
+ return name.startswith('debug.')
222
+
223
+ return {'coroutine': is_in_coroutine_module,
224
+ 'modules': is_in_modules_module,
225
+ 'string': is_in_string_module,
226
+ 'table': is_in_table_module,
227
+ 'math': is_in_math_module,
228
+ 'io': is_in_io_module,
229
+ 'os': is_in_os_module,
230
+ 'debug': is_in_debug_module}
231
+
232
+
233
+
234
+ def get_newest_version():
235
+ f = urlopen('http://www.lua.org/manual/')
236
+ r = re.compile(r'^<A HREF="(\d\.\d)/">(Lua )?\1</A>')
237
+ for line in f:
238
+ m = r.match(line)
239
+ if m is not None:
240
+ return m.groups()[0]
241
+
242
+ def get_lua_functions(version):
243
+ f = urlopen('http://www.lua.org/manual/%s/' % version)
244
+ r = re.compile(r'^<A HREF="manual.html#pdf-(?!lua|LUA)([^:]+)">\1</A>')
245
+ functions = []
246
+ for line in f:
247
+ m = r.match(line)
248
+ if m is not None:
249
+ functions.append(m.groups()[0])
250
+ return functions
251
+
252
+ def get_function_module(name):
253
+ for mod, cb in module_callbacks().items():
254
+ if cb(name):
255
+ return mod
256
+ if '.' in name:
257
+ return name.split('.')[0]
258
+ else:
259
+ return 'basic'
260
+
261
+ def regenerate(filename, modules):
262
+ with open(filename) as fp:
263
+ content = fp.read()
264
+
265
+ header = content[:content.find('MODULES = {')]
266
+ footer = content[content.find("if __name__ == '__main__':"):]
267
+
268
+
269
+ with open(filename, 'w') as fp:
270
+ fp.write(header)
271
+ fp.write('MODULES = %s\n\n' % pprint.pformat(modules))
272
+ fp.write(footer)
273
+
274
+ def run():
275
+ version = get_newest_version()
276
+ functions = set()
277
+ for v in ('5.2', version):
278
+ print('> Downloading function index for Lua %s' % v)
279
+ f = get_lua_functions(v)
280
+ print('> %d functions found, %d new:' %
281
+ (len(f), len(set(f) - functions)))
282
+ functions |= set(f)
283
+
284
+ functions = sorted(functions)
285
+
286
+ modules = {}
287
+ for full_function_name in functions:
288
+ print('>> %s' % full_function_name)
289
+ m = get_function_module(full_function_name)
290
+ modules.setdefault(m, []).append(full_function_name)
291
+ modules = {k: tuple(v) for k, v in modules.iteritems()}
292
+
293
+ regenerate(__file__, modules)
294
+
295
+ run()
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_mapping.py ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._mapping
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer mapping definitions. This file is generated by itself. Everytime
7
+ you change something on a builtin lexer definition, run this script from
8
+ the lexers folder to update it.
9
+
10
+ Do not alter the LEXERS dictionary by hand.
11
+
12
+ :copyright: Copyright 2006-2014, 2016 by the Pygments team, see AUTHORS.
13
+ :license: BSD, see LICENSE for details.
14
+ """
15
+
16
+ from __future__ import print_function
17
+
18
+ LEXERS = {
19
+ 'ABAPLexer': ('pygments.lexers.business', 'ABAP', ('abap',), ('*.abap', '*.ABAP'), ('text/x-abap',)),
20
+ 'APLLexer': ('pygments.lexers.apl', 'APL', ('apl',), ('*.apl',), ()),
21
+ 'AbnfLexer': ('pygments.lexers.grammar_notation', 'ABNF', ('abnf',), ('*.abnf',), ('text/x-abnf',)),
22
+ 'ActionScript3Lexer': ('pygments.lexers.actionscript', 'ActionScript 3', ('as3', 'actionscript3'), ('*.as',), ('application/x-actionscript3', 'text/x-actionscript3', 'text/actionscript3')),
23
+ 'ActionScriptLexer': ('pygments.lexers.actionscript', 'ActionScript', ('as', 'actionscript'), ('*.as',), ('application/x-actionscript', 'text/x-actionscript', 'text/actionscript')),
24
+ 'AdaLexer': ('pygments.lexers.pascal', 'Ada', ('ada', 'ada95', 'ada2005'), ('*.adb', '*.ads', '*.ada'), ('text/x-ada',)),
25
+ 'AdlLexer': ('pygments.lexers.archetype', 'ADL', ('adl',), ('*.adl', '*.adls', '*.adlf', '*.adlx'), ()),
26
+ 'AgdaLexer': ('pygments.lexers.haskell', 'Agda', ('agda',), ('*.agda',), ('text/x-agda',)),
27
+ 'AheuiLexer': ('pygments.lexers.esoteric', 'Aheui', ('aheui',), ('*.aheui',), ()),
28
+ 'AlloyLexer': ('pygments.lexers.dsls', 'Alloy', ('alloy',), ('*.als',), ('text/x-alloy',)),
29
+ 'AmbientTalkLexer': ('pygments.lexers.ambient', 'AmbientTalk', ('at', 'ambienttalk', 'ambienttalk/2'), ('*.at',), ('text/x-ambienttalk',)),
30
+ 'AmplLexer': ('pygments.lexers.ampl', 'Ampl', ('ampl',), ('*.run',), ()),
31
+ 'Angular2HtmlLexer': ('pygments.lexers.templates', 'HTML + Angular2', ('html+ng2',), ('*.ng2',), ()),
32
+ 'Angular2Lexer': ('pygments.lexers.templates', 'Angular2', ('ng2',), (), ()),
33
+ 'AntlrActionScriptLexer': ('pygments.lexers.parsers', 'ANTLR With ActionScript Target', ('antlr-as', 'antlr-actionscript'), ('*.G', '*.g'), ()),
34
+ 'AntlrCSharpLexer': ('pygments.lexers.parsers', 'ANTLR With C# Target', ('antlr-csharp', 'antlr-c#'), ('*.G', '*.g'), ()),
35
+ 'AntlrCppLexer': ('pygments.lexers.parsers', 'ANTLR With CPP Target', ('antlr-cpp',), ('*.G', '*.g'), ()),
36
+ 'AntlrJavaLexer': ('pygments.lexers.parsers', 'ANTLR With Java Target', ('antlr-java',), ('*.G', '*.g'), ()),
37
+ 'AntlrLexer': ('pygments.lexers.parsers', 'ANTLR', ('antlr',), (), ()),
38
+ 'AntlrObjectiveCLexer': ('pygments.lexers.parsers', 'ANTLR With ObjectiveC Target', ('antlr-objc',), ('*.G', '*.g'), ()),
39
+ 'AntlrPerlLexer': ('pygments.lexers.parsers', 'ANTLR With Perl Target', ('antlr-perl',), ('*.G', '*.g'), ()),
40
+ 'AntlrPythonLexer': ('pygments.lexers.parsers', 'ANTLR With Python Target', ('antlr-python',), ('*.G', '*.g'), ()),
41
+ 'AntlrRubyLexer': ('pygments.lexers.parsers', 'ANTLR With Ruby Target', ('antlr-ruby', 'antlr-rb'), ('*.G', '*.g'), ()),
42
+ 'ApacheConfLexer': ('pygments.lexers.configs', 'ApacheConf', ('apacheconf', 'aconf', 'apache'), ('.htaccess', 'apache.conf', 'apache2.conf'), ('text/x-apacheconf',)),
43
+ 'AppleScriptLexer': ('pygments.lexers.scripting', 'AppleScript', ('applescript',), ('*.applescript',), ()),
44
+ 'ArduinoLexer': ('pygments.lexers.c_like', 'Arduino', ('arduino',), ('*.ino',), ('text/x-arduino',)),
45
+ 'AspectJLexer': ('pygments.lexers.jvm', 'AspectJ', ('aspectj',), ('*.aj',), ('text/x-aspectj',)),
46
+ 'AsymptoteLexer': ('pygments.lexers.graphics', 'Asymptote', ('asy', 'asymptote'), ('*.asy',), ('text/x-asymptote',)),
47
+ 'AutoItLexer': ('pygments.lexers.automation', 'AutoIt', ('autoit',), ('*.au3',), ('text/x-autoit',)),
48
+ 'AutohotkeyLexer': ('pygments.lexers.automation', 'autohotkey', ('ahk', 'autohotkey'), ('*.ahk', '*.ahkl'), ('text/x-autohotkey',)),
49
+ 'AwkLexer': ('pygments.lexers.textedit', 'Awk', ('awk', 'gawk', 'mawk', 'nawk'), ('*.awk',), ('application/x-awk',)),
50
+ 'BBCodeLexer': ('pygments.lexers.markup', 'BBCode', ('bbcode',), (), ('text/x-bbcode',)),
51
+ 'BCLexer': ('pygments.lexers.algebra', 'BC', ('bc',), ('*.bc',), ()),
52
+ 'BSTLexer': ('pygments.lexers.bibtex', 'BST', ('bst', 'bst-pybtex'), ('*.bst',), ()),
53
+ 'BaseMakefileLexer': ('pygments.lexers.make', 'Base Makefile', ('basemake',), (), ()),
54
+ 'BashLexer': ('pygments.lexers.shell', 'Bash', ('bash', 'sh', 'ksh', 'zsh', 'shell'), ('*.sh', '*.ksh', '*.bash', '*.ebuild', '*.eclass', '*.exheres-0', '*.exlib', '*.zsh', '.bashrc', 'bashrc', '.bash_*', 'bash_*', 'zshrc', '.zshrc', 'PKGBUILD'), ('application/x-sh', 'application/x-shellscript')),
55
+ 'BashSessionLexer': ('pygments.lexers.shell', 'Bash Session', ('console', 'shell-session'), ('*.sh-session', '*.shell-session'), ('application/x-shell-session', 'application/x-sh-session')),
56
+ 'BatchLexer': ('pygments.lexers.shell', 'Batchfile', ('bat', 'batch', 'dosbatch', 'winbatch'), ('*.bat', '*.cmd'), ('application/x-dos-batch',)),
57
+ 'BefungeLexer': ('pygments.lexers.esoteric', 'Befunge', ('befunge',), ('*.befunge',), ('application/x-befunge',)),
58
+ 'BibTeXLexer': ('pygments.lexers.bibtex', 'BibTeX', ('bib', 'bibtex'), ('*.bib',), ('text/x-bibtex',)),
59
+ 'BlitzBasicLexer': ('pygments.lexers.basic', 'BlitzBasic', ('blitzbasic', 'b3d', 'bplus'), ('*.bb', '*.decls'), ('text/x-bb',)),
60
+ 'BlitzMaxLexer': ('pygments.lexers.basic', 'BlitzMax', ('blitzmax', 'bmax'), ('*.bmx',), ('text/x-bmx',)),
61
+ 'BnfLexer': ('pygments.lexers.grammar_notation', 'BNF', ('bnf',), ('*.bnf',), ('text/x-bnf',)),
62
+ 'BooLexer': ('pygments.lexers.dotnet', 'Boo', ('boo',), ('*.boo',), ('text/x-boo',)),
63
+ 'BoogieLexer': ('pygments.lexers.verification', 'Boogie', ('boogie',), ('*.bpl',), ()),
64
+ 'BrainfuckLexer': ('pygments.lexers.esoteric', 'Brainfuck', ('brainfuck', 'bf'), ('*.bf', '*.b'), ('application/x-brainfuck',)),
65
+ 'BroLexer': ('pygments.lexers.dsls', 'Bro', ('bro',), ('*.bro',), ()),
66
+ 'BugsLexer': ('pygments.lexers.modeling', 'BUGS', ('bugs', 'winbugs', 'openbugs'), ('*.bug',), ()),
67
+ 'CAmkESLexer': ('pygments.lexers.esoteric', 'CAmkES', ('camkes', 'idl4'), ('*.camkes', '*.idl4'), ()),
68
+ 'CLexer': ('pygments.lexers.c_cpp', 'C', ('c',), ('*.c', '*.h', '*.idc'), ('text/x-chdr', 'text/x-csrc')),
69
+ 'CMakeLexer': ('pygments.lexers.make', 'CMake', ('cmake',), ('*.cmake', 'CMakeLists.txt'), ('text/x-cmake',)),
70
+ 'CObjdumpLexer': ('pygments.lexers.asm', 'c-objdump', ('c-objdump',), ('*.c-objdump',), ('text/x-c-objdump',)),
71
+ 'CPSALexer': ('pygments.lexers.lisp', 'CPSA', ('cpsa',), ('*.cpsa',), ()),
72
+ 'CSharpAspxLexer': ('pygments.lexers.dotnet', 'aspx-cs', ('aspx-cs',), ('*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'), ()),
73
+ 'CSharpLexer': ('pygments.lexers.dotnet', 'C#', ('csharp', 'c#'), ('*.cs',), ('text/x-csharp',)),
74
+ 'Ca65Lexer': ('pygments.lexers.asm', 'ca65 assembler', ('ca65',), ('*.s',), ()),
75
+ 'CadlLexer': ('pygments.lexers.archetype', 'cADL', ('cadl',), ('*.cadl',), ()),
76
+ 'CapDLLexer': ('pygments.lexers.esoteric', 'CapDL', ('capdl',), ('*.cdl',), ()),
77
+ 'CapnProtoLexer': ('pygments.lexers.capnproto', "Cap'n Proto", ('capnp',), ('*.capnp',), ()),
78
+ 'CbmBasicV2Lexer': ('pygments.lexers.basic', 'CBM BASIC V2', ('cbmbas',), ('*.bas',), ()),
79
+ 'CeylonLexer': ('pygments.lexers.jvm', 'Ceylon', ('ceylon',), ('*.ceylon',), ('text/x-ceylon',)),
80
+ 'Cfengine3Lexer': ('pygments.lexers.configs', 'CFEngine3', ('cfengine3', 'cf3'), ('*.cf',), ()),
81
+ 'ChaiscriptLexer': ('pygments.lexers.scripting', 'ChaiScript', ('chai', 'chaiscript'), ('*.chai',), ('text/x-chaiscript', 'application/x-chaiscript')),
82
+ 'ChapelLexer': ('pygments.lexers.chapel', 'Chapel', ('chapel', 'chpl'), ('*.chpl',), ()),
83
+ 'CheetahHtmlLexer': ('pygments.lexers.templates', 'HTML+Cheetah', ('html+cheetah', 'html+spitfire', 'htmlcheetah'), (), ('text/html+cheetah', 'text/html+spitfire')),
84
+ 'CheetahJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Cheetah', ('js+cheetah', 'javascript+cheetah', 'js+spitfire', 'javascript+spitfire'), (), ('application/x-javascript+cheetah', 'text/x-javascript+cheetah', 'text/javascript+cheetah', 'application/x-javascript+spitfire', 'text/x-javascript+spitfire', 'text/javascript+spitfire')),
85
+ 'CheetahLexer': ('pygments.lexers.templates', 'Cheetah', ('cheetah', 'spitfire'), ('*.tmpl', '*.spt'), ('application/x-cheetah', 'application/x-spitfire')),
86
+ 'CheetahXmlLexer': ('pygments.lexers.templates', 'XML+Cheetah', ('xml+cheetah', 'xml+spitfire'), (), ('application/xml+cheetah', 'application/xml+spitfire')),
87
+ 'CirruLexer': ('pygments.lexers.webmisc', 'Cirru', ('cirru',), ('*.cirru',), ('text/x-cirru',)),
88
+ 'ClayLexer': ('pygments.lexers.c_like', 'Clay', ('clay',), ('*.clay',), ('text/x-clay',)),
89
+ 'CleanLexer': ('pygments.lexers.clean', 'Clean', ('clean',), ('*.icl', '*.dcl'), ()),
90
+ 'ClojureLexer': ('pygments.lexers.jvm', 'Clojure', ('clojure', 'clj'), ('*.clj',), ('text/x-clojure', 'application/x-clojure')),
91
+ 'ClojureScriptLexer': ('pygments.lexers.jvm', 'ClojureScript', ('clojurescript', 'cljs'), ('*.cljs',), ('text/x-clojurescript', 'application/x-clojurescript')),
92
+ 'CobolFreeformatLexer': ('pygments.lexers.business', 'COBOLFree', ('cobolfree',), ('*.cbl', '*.CBL'), ()),
93
+ 'CobolLexer': ('pygments.lexers.business', 'COBOL', ('cobol',), ('*.cob', '*.COB', '*.cpy', '*.CPY'), ('text/x-cobol',)),
94
+ 'CoffeeScriptLexer': ('pygments.lexers.javascript', 'CoffeeScript', ('coffee-script', 'coffeescript', 'coffee'), ('*.coffee',), ('text/coffeescript',)),
95
+ 'ColdfusionCFCLexer': ('pygments.lexers.templates', 'Coldfusion CFC', ('cfc',), ('*.cfc',), ()),
96
+ 'ColdfusionHtmlLexer': ('pygments.lexers.templates', 'Coldfusion HTML', ('cfm',), ('*.cfm', '*.cfml'), ('application/x-coldfusion',)),
97
+ 'ColdfusionLexer': ('pygments.lexers.templates', 'cfstatement', ('cfs',), (), ()),
98
+ 'CommonLispLexer': ('pygments.lexers.lisp', 'Common Lisp', ('common-lisp', 'cl', 'lisp'), ('*.cl', '*.lisp'), ('text/x-common-lisp',)),
99
+ 'ComponentPascalLexer': ('pygments.lexers.oberon', 'Component Pascal', ('componentpascal', 'cp'), ('*.cp', '*.cps'), ('text/x-component-pascal',)),
100
+ 'CoqLexer': ('pygments.lexers.theorem', 'Coq', ('coq',), ('*.v',), ('text/x-coq',)),
101
+ 'CppLexer': ('pygments.lexers.c_cpp', 'C++', ('cpp', 'c++'), ('*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.C', '*.H', '*.cp', '*.CPP'), ('text/x-c++hdr', 'text/x-c++src')),
102
+ 'CppObjdumpLexer': ('pygments.lexers.asm', 'cpp-objdump', ('cpp-objdump', 'c++-objdumb', 'cxx-objdump'), ('*.cpp-objdump', '*.c++-objdump', '*.cxx-objdump'), ('text/x-cpp-objdump',)),
103
+ 'CrmshLexer': ('pygments.lexers.dsls', 'Crmsh', ('crmsh', 'pcmk'), ('*.crmsh', '*.pcmk'), ()),
104
+ 'CrocLexer': ('pygments.lexers.d', 'Croc', ('croc',), ('*.croc',), ('text/x-crocsrc',)),
105
+ 'CryptolLexer': ('pygments.lexers.haskell', 'Cryptol', ('cryptol', 'cry'), ('*.cry',), ('text/x-cryptol',)),
106
+ 'CrystalLexer': ('pygments.lexers.crystal', 'Crystal', ('cr', 'crystal'), ('*.cr',), ('text/x-crystal',)),
107
+ 'CsoundDocumentLexer': ('pygments.lexers.csound', 'Csound Document', ('csound-document', 'csound-csd'), ('*.csd',), ()),
108
+ 'CsoundOrchestraLexer': ('pygments.lexers.csound', 'Csound Orchestra', ('csound', 'csound-orc'), ('*.orc',), ()),
109
+ 'CsoundScoreLexer': ('pygments.lexers.csound', 'Csound Score', ('csound-score', 'csound-sco'), ('*.sco',), ()),
110
+ 'CssDjangoLexer': ('pygments.lexers.templates', 'CSS+Django/Jinja', ('css+django', 'css+jinja'), (), ('text/css+django', 'text/css+jinja')),
111
+ 'CssErbLexer': ('pygments.lexers.templates', 'CSS+Ruby', ('css+erb', 'css+ruby'), (), ('text/css+ruby',)),
112
+ 'CssGenshiLexer': ('pygments.lexers.templates', 'CSS+Genshi Text', ('css+genshitext', 'css+genshi'), (), ('text/css+genshi',)),
113
+ 'CssLexer': ('pygments.lexers.css', 'CSS', ('css',), ('*.css',), ('text/css',)),
114
+ 'CssPhpLexer': ('pygments.lexers.templates', 'CSS+PHP', ('css+php',), (), ('text/css+php',)),
115
+ 'CssSmartyLexer': ('pygments.lexers.templates', 'CSS+Smarty', ('css+smarty',), (), ('text/css+smarty',)),
116
+ 'CudaLexer': ('pygments.lexers.c_like', 'CUDA', ('cuda', 'cu'), ('*.cu', '*.cuh'), ('text/x-cuda',)),
117
+ 'CypherLexer': ('pygments.lexers.graph', 'Cypher', ('cypher',), ('*.cyp', '*.cypher'), ()),
118
+ 'CythonLexer': ('pygments.lexers.python', 'Cython', ('cython', 'pyx', 'pyrex'), ('*.pyx', '*.pxd', '*.pxi'), ('text/x-cython', 'application/x-cython')),
119
+ 'DLexer': ('pygments.lexers.d', 'D', ('d',), ('*.d', '*.di'), ('text/x-dsrc',)),
120
+ 'DObjdumpLexer': ('pygments.lexers.asm', 'd-objdump', ('d-objdump',), ('*.d-objdump',), ('text/x-d-objdump',)),
121
+ 'DarcsPatchLexer': ('pygments.lexers.diff', 'Darcs Patch', ('dpatch',), ('*.dpatch', '*.darcspatch'), ()),
122
+ 'DartLexer': ('pygments.lexers.javascript', 'Dart', ('dart',), ('*.dart',), ('text/x-dart',)),
123
+ 'DebianControlLexer': ('pygments.lexers.installers', 'Debian Control file', ('control', 'debcontrol'), ('control',), ()),
124
+ 'DelphiLexer': ('pygments.lexers.pascal', 'Delphi', ('delphi', 'pas', 'pascal', 'objectpascal'), ('*.pas', '*.dpr'), ('text/x-pascal',)),
125
+ 'DgLexer': ('pygments.lexers.python', 'dg', ('dg',), ('*.dg',), ('text/x-dg',)),
126
+ 'DiffLexer': ('pygments.lexers.diff', 'Diff', ('diff', 'udiff'), ('*.diff', '*.patch'), ('text/x-diff', 'text/x-patch')),
127
+ 'DjangoLexer': ('pygments.lexers.templates', 'Django/Jinja', ('django', 'jinja'), (), ('application/x-django-templating', 'application/x-jinja')),
128
+ 'DockerLexer': ('pygments.lexers.configs', 'Docker', ('docker', 'dockerfile'), ('Dockerfile', '*.docker'), ('text/x-dockerfile-config',)),
129
+ 'DtdLexer': ('pygments.lexers.html', 'DTD', ('dtd',), ('*.dtd',), ('application/xml-dtd',)),
130
+ 'DuelLexer': ('pygments.lexers.webmisc', 'Duel', ('duel', 'jbst', 'jsonml+bst'), ('*.duel', '*.jbst'), ('text/x-duel', 'text/x-jbst')),
131
+ 'DylanConsoleLexer': ('pygments.lexers.dylan', 'Dylan session', ('dylan-console', 'dylan-repl'), ('*.dylan-console',), ('text/x-dylan-console',)),
132
+ 'DylanLexer': ('pygments.lexers.dylan', 'Dylan', ('dylan',), ('*.dylan', '*.dyl', '*.intr'), ('text/x-dylan',)),
133
+ 'DylanLidLexer': ('pygments.lexers.dylan', 'DylanLID', ('dylan-lid', 'lid'), ('*.lid', '*.hdp'), ('text/x-dylan-lid',)),
134
+ 'ECLLexer': ('pygments.lexers.ecl', 'ECL', ('ecl',), ('*.ecl',), ('application/x-ecl',)),
135
+ 'ECLexer': ('pygments.lexers.c_like', 'eC', ('ec',), ('*.ec', '*.eh'), ('text/x-echdr', 'text/x-ecsrc')),
136
+ 'EarlGreyLexer': ('pygments.lexers.javascript', 'Earl Grey', ('earl-grey', 'earlgrey', 'eg'), ('*.eg',), ('text/x-earl-grey',)),
137
+ 'EasytrieveLexer': ('pygments.lexers.scripting', 'Easytrieve', ('easytrieve',), ('*.ezt', '*.mac'), ('text/x-easytrieve',)),
138
+ 'EbnfLexer': ('pygments.lexers.parsers', 'EBNF', ('ebnf',), ('*.ebnf',), ('text/x-ebnf',)),
139
+ 'EiffelLexer': ('pygments.lexers.eiffel', 'Eiffel', ('eiffel',), ('*.e',), ('text/x-eiffel',)),
140
+ 'ElixirConsoleLexer': ('pygments.lexers.erlang', 'Elixir iex session', ('iex',), (), ('text/x-elixir-shellsession',)),
141
+ 'ElixirLexer': ('pygments.lexers.erlang', 'Elixir', ('elixir', 'ex', 'exs'), ('*.ex', '*.exs'), ('text/x-elixir',)),
142
+ 'ElmLexer': ('pygments.lexers.elm', 'Elm', ('elm',), ('*.elm',), ('text/x-elm',)),
143
+ 'EmacsLispLexer': ('pygments.lexers.lisp', 'EmacsLisp', ('emacs', 'elisp', 'emacs-lisp'), ('*.el',), ('text/x-elisp', 'application/x-elisp')),
144
+ 'ErbLexer': ('pygments.lexers.templates', 'ERB', ('erb',), (), ('application/x-ruby-templating',)),
145
+ 'ErlangLexer': ('pygments.lexers.erlang', 'Erlang', ('erlang',), ('*.erl', '*.hrl', '*.es', '*.escript'), ('text/x-erlang',)),
146
+ 'ErlangShellLexer': ('pygments.lexers.erlang', 'Erlang erl session', ('erl',), ('*.erl-sh',), ('text/x-erl-shellsession',)),
147
+ 'EvoqueHtmlLexer': ('pygments.lexers.templates', 'HTML+Evoque', ('html+evoque',), ('*.html',), ('text/html+evoque',)),
148
+ 'EvoqueLexer': ('pygments.lexers.templates', 'Evoque', ('evoque',), ('*.evoque',), ('application/x-evoque',)),
149
+ 'EvoqueXmlLexer': ('pygments.lexers.templates', 'XML+Evoque', ('xml+evoque',), ('*.xml',), ('application/xml+evoque',)),
150
+ 'EzhilLexer': ('pygments.lexers.ezhil', 'Ezhil', ('ezhil',), ('*.n',), ('text/x-ezhil',)),
151
+ 'FSharpLexer': ('pygments.lexers.dotnet', 'FSharp', ('fsharp',), ('*.fs', '*.fsi'), ('text/x-fsharp',)),
152
+ 'FactorLexer': ('pygments.lexers.factor', 'Factor', ('factor',), ('*.factor',), ('text/x-factor',)),
153
+ 'FancyLexer': ('pygments.lexers.ruby', 'Fancy', ('fancy', 'fy'), ('*.fy', '*.fancypack'), ('text/x-fancysrc',)),
154
+ 'FantomLexer': ('pygments.lexers.fantom', 'Fantom', ('fan',), ('*.fan',), ('application/x-fantom',)),
155
+ 'FelixLexer': ('pygments.lexers.felix', 'Felix', ('felix', 'flx'), ('*.flx', '*.flxh'), ('text/x-felix',)),
156
+ 'FishShellLexer': ('pygments.lexers.shell', 'Fish', ('fish', 'fishshell'), ('*.fish', '*.load'), ('application/x-fish',)),
157
+ 'FlatlineLexer': ('pygments.lexers.dsls', 'Flatline', ('flatline',), (), ('text/x-flatline',)),
158
+ 'ForthLexer': ('pygments.lexers.forth', 'Forth', ('forth',), ('*.frt', '*.fs'), ('application/x-forth',)),
159
+ 'FortranFixedLexer': ('pygments.lexers.fortran', 'FortranFixed', ('fortranfixed',), ('*.f', '*.F'), ()),
160
+ 'FortranLexer': ('pygments.lexers.fortran', 'Fortran', ('fortran',), ('*.f03', '*.f90', '*.F03', '*.F90'), ('text/x-fortran',)),
161
+ 'FoxProLexer': ('pygments.lexers.foxpro', 'FoxPro', ('foxpro', 'vfp', 'clipper', 'xbase'), ('*.PRG', '*.prg'), ()),
162
+ 'GAPLexer': ('pygments.lexers.algebra', 'GAP', ('gap',), ('*.g', '*.gd', '*.gi', '*.gap'), ()),
163
+ 'GLShaderLexer': ('pygments.lexers.graphics', 'GLSL', ('glsl',), ('*.vert', '*.frag', '*.geo'), ('text/x-glslsrc',)),
164
+ 'GasLexer': ('pygments.lexers.asm', 'GAS', ('gas', 'asm'), ('*.s', '*.S'), ('text/x-gas',)),
165
+ 'GenshiLexer': ('pygments.lexers.templates', 'Genshi', ('genshi', 'kid', 'xml+genshi', 'xml+kid'), ('*.kid',), ('application/x-genshi', 'application/x-kid')),
166
+ 'GenshiTextLexer': ('pygments.lexers.templates', 'Genshi Text', ('genshitext',), (), ('application/x-genshi-text', 'text/x-genshi')),
167
+ 'GettextLexer': ('pygments.lexers.textfmts', 'Gettext Catalog', ('pot', 'po'), ('*.pot', '*.po'), ('application/x-gettext', 'text/x-gettext', 'text/gettext')),
168
+ 'GherkinLexer': ('pygments.lexers.testing', 'Gherkin', ('cucumber', 'gherkin'), ('*.feature',), ('text/x-gherkin',)),
169
+ 'GnuplotLexer': ('pygments.lexers.graphics', 'Gnuplot', ('gnuplot',), ('*.plot', '*.plt'), ('text/x-gnuplot',)),
170
+ 'GoLexer': ('pygments.lexers.go', 'Go', ('go',), ('*.go',), ('text/x-gosrc',)),
171
+ 'GoloLexer': ('pygments.lexers.jvm', 'Golo', ('golo',), ('*.golo',), ()),
172
+ 'GoodDataCLLexer': ('pygments.lexers.business', 'GoodData-CL', ('gooddata-cl',), ('*.gdc',), ('text/x-gooddata-cl',)),
173
+ 'GosuLexer': ('pygments.lexers.jvm', 'Gosu', ('gosu',), ('*.gs', '*.gsx', '*.gsp', '*.vark'), ('text/x-gosu',)),
174
+ 'GosuTemplateLexer': ('pygments.lexers.jvm', 'Gosu Template', ('gst',), ('*.gst',), ('text/x-gosu-template',)),
175
+ 'GroffLexer': ('pygments.lexers.markup', 'Groff', ('groff', 'nroff', 'man'), ('*.[1234567]', '*.man'), ('application/x-troff', 'text/troff')),
176
+ 'GroovyLexer': ('pygments.lexers.jvm', 'Groovy', ('groovy',), ('*.groovy', '*.gradle'), ('text/x-groovy',)),
177
+ 'HamlLexer': ('pygments.lexers.html', 'Haml', ('haml',), ('*.haml',), ('text/x-haml',)),
178
+ 'HandlebarsHtmlLexer': ('pygments.lexers.templates', 'HTML+Handlebars', ('html+handlebars',), ('*.handlebars', '*.hbs'), ('text/html+handlebars', 'text/x-handlebars-template')),
179
+ 'HandlebarsLexer': ('pygments.lexers.templates', 'Handlebars', ('handlebars',), (), ()),
180
+ 'HaskellLexer': ('pygments.lexers.haskell', 'Haskell', ('haskell', 'hs'), ('*.hs',), ('text/x-haskell',)),
181
+ 'HaxeLexer': ('pygments.lexers.haxe', 'Haxe', ('hx', 'haxe', 'hxsl'), ('*.hx', '*.hxsl'), ('text/haxe', 'text/x-haxe', 'text/x-hx')),
182
+ 'HexdumpLexer': ('pygments.lexers.hexdump', 'Hexdump', ('hexdump',), (), ()),
183
+ 'HsailLexer': ('pygments.lexers.asm', 'HSAIL', ('hsail', 'hsa'), ('*.hsail',), ('text/x-hsail',)),
184
+ 'HtmlDjangoLexer': ('pygments.lexers.templates', 'HTML+Django/Jinja', ('html+django', 'html+jinja', 'htmldjango'), (), ('text/html+django', 'text/html+jinja')),
185
+ 'HtmlGenshiLexer': ('pygments.lexers.templates', 'HTML+Genshi', ('html+genshi', 'html+kid'), (), ('text/html+genshi',)),
186
+ 'HtmlLexer': ('pygments.lexers.html', 'HTML', ('html',), ('*.html', '*.htm', '*.xhtml', '*.xslt'), ('text/html', 'application/xhtml+xml')),
187
+ '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')),
188
+ 'HtmlSmartyLexer': ('pygments.lexers.templates', 'HTML+Smarty', ('html+smarty',), (), ('text/html+smarty',)),
189
+ 'HttpLexer': ('pygments.lexers.textfmts', 'HTTP', ('http',), (), ()),
190
+ 'HxmlLexer': ('pygments.lexers.haxe', 'Hxml', ('haxeml', 'hxml'), ('*.hxml',), ()),
191
+ 'HyLexer': ('pygments.lexers.lisp', 'Hy', ('hylang',), ('*.hy',), ('text/x-hy', 'application/x-hy')),
192
+ 'HybrisLexer': ('pygments.lexers.scripting', 'Hybris', ('hybris', 'hy'), ('*.hy', '*.hyb'), ('text/x-hybris', 'application/x-hybris')),
193
+ 'IDLLexer': ('pygments.lexers.idl', 'IDL', ('idl',), ('*.pro',), ('text/idl',)),
194
+ 'IdrisLexer': ('pygments.lexers.haskell', 'Idris', ('idris', 'idr'), ('*.idr',), ('text/x-idris',)),
195
+ 'IgorLexer': ('pygments.lexers.igor', 'Igor', ('igor', 'igorpro'), ('*.ipf',), ('text/ipf',)),
196
+ 'Inform6Lexer': ('pygments.lexers.int_fiction', 'Inform 6', ('inform6', 'i6'), ('*.inf',), ()),
197
+ 'Inform6TemplateLexer': ('pygments.lexers.int_fiction', 'Inform 6 template', ('i6t',), ('*.i6t',), ()),
198
+ 'Inform7Lexer': ('pygments.lexers.int_fiction', 'Inform 7', ('inform7', 'i7'), ('*.ni', '*.i7x'), ()),
199
+ 'IniLexer': ('pygments.lexers.configs', 'INI', ('ini', 'cfg', 'dosini'), ('*.ini', '*.cfg', '*.inf'), ('text/x-ini', 'text/inf')),
200
+ 'IoLexer': ('pygments.lexers.iolang', 'Io', ('io',), ('*.io',), ('text/x-iosrc',)),
201
+ 'IokeLexer': ('pygments.lexers.jvm', 'Ioke', ('ioke', 'ik'), ('*.ik',), ('text/x-iokesrc',)),
202
+ 'IrcLogsLexer': ('pygments.lexers.textfmts', 'IRC logs', ('irc',), ('*.weechatlog',), ('text/x-irclog',)),
203
+ 'IsabelleLexer': ('pygments.lexers.theorem', 'Isabelle', ('isabelle',), ('*.thy',), ('text/x-isabelle',)),
204
+ 'JLexer': ('pygments.lexers.j', 'J', ('j',), ('*.ijs',), ('text/x-j',)),
205
+ 'JagsLexer': ('pygments.lexers.modeling', 'JAGS', ('jags',), ('*.jag', '*.bug'), ()),
206
+ 'JasminLexer': ('pygments.lexers.jvm', 'Jasmin', ('jasmin', 'jasminxt'), ('*.j',), ()),
207
+ 'JavaLexer': ('pygments.lexers.jvm', 'Java', ('java',), ('*.java',), ('text/x-java',)),
208
+ 'JavascriptDjangoLexer': ('pygments.lexers.templates', 'JavaScript+Django/Jinja', ('js+django', 'javascript+django', 'js+jinja', 'javascript+jinja'), (), ('application/x-javascript+django', 'application/x-javascript+jinja', 'text/x-javascript+django', 'text/x-javascript+jinja', 'text/javascript+django', 'text/javascript+jinja')),
209
+ 'JavascriptErbLexer': ('pygments.lexers.templates', 'JavaScript+Ruby', ('js+erb', 'javascript+erb', 'js+ruby', 'javascript+ruby'), (), ('application/x-javascript+ruby', 'text/x-javascript+ruby', 'text/javascript+ruby')),
210
+ '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')),
211
+ 'JavascriptLexer': ('pygments.lexers.javascript', 'JavaScript', ('js', 'javascript'), ('*.js', '*.jsm'), ('application/javascript', 'application/x-javascript', 'text/x-javascript', 'text/javascript')),
212
+ 'JavascriptPhpLexer': ('pygments.lexers.templates', 'JavaScript+PHP', ('js+php', 'javascript+php'), (), ('application/x-javascript+php', 'text/x-javascript+php', 'text/javascript+php')),
213
+ 'JavascriptSmartyLexer': ('pygments.lexers.templates', 'JavaScript+Smarty', ('js+smarty', 'javascript+smarty'), (), ('application/x-javascript+smarty', 'text/x-javascript+smarty', 'text/javascript+smarty')),
214
+ 'JclLexer': ('pygments.lexers.scripting', 'JCL', ('jcl',), ('*.jcl',), ('text/x-jcl',)),
215
+ 'JsgfLexer': ('pygments.lexers.grammar_notation', 'JSGF', ('jsgf',), ('*.jsgf',), ('application/jsgf', 'application/x-jsgf', 'text/jsgf')),
216
+ 'JsonBareObjectLexer': ('pygments.lexers.data', 'JSONBareObject', ('json-object',), (), ('application/json-object',)),
217
+ 'JsonLdLexer': ('pygments.lexers.data', 'JSON-LD', ('jsonld', 'json-ld'), ('*.jsonld',), ('application/ld+json',)),
218
+ 'JsonLexer': ('pygments.lexers.data', 'JSON', ('json',), ('*.json',), ('application/json',)),
219
+ 'JspLexer': ('pygments.lexers.templates', 'Java Server Page', ('jsp',), ('*.jsp',), ('application/x-jsp',)),
220
+ 'JuliaConsoleLexer': ('pygments.lexers.julia', 'Julia console', ('jlcon',), (), ()),
221
+ 'JuliaLexer': ('pygments.lexers.julia', 'Julia', ('julia', 'jl'), ('*.jl',), ('text/x-julia', 'application/x-julia')),
222
+ 'JuttleLexer': ('pygments.lexers.javascript', 'Juttle', ('juttle', 'juttle'), ('*.juttle',), ('application/juttle', 'application/x-juttle', 'text/x-juttle', 'text/juttle')),
223
+ 'KalLexer': ('pygments.lexers.javascript', 'Kal', ('kal',), ('*.kal',), ('text/kal', 'application/kal')),
224
+ 'KconfigLexer': ('pygments.lexers.configs', 'Kconfig', ('kconfig', 'menuconfig', 'linux-config', 'kernel-config'), ('Kconfig', '*Config.in*', 'external.in*', 'standard-modules.in'), ('text/x-kconfig',)),
225
+ 'KokaLexer': ('pygments.lexers.haskell', 'Koka', ('koka',), ('*.kk', '*.kki'), ('text/x-koka',)),
226
+ 'KotlinLexer': ('pygments.lexers.jvm', 'Kotlin', ('kotlin',), ('*.kt',), ('text/x-kotlin',)),
227
+ 'LSLLexer': ('pygments.lexers.scripting', 'LSL', ('lsl',), ('*.lsl',), ('text/x-lsl',)),
228
+ 'LassoCssLexer': ('pygments.lexers.templates', 'CSS+Lasso', ('css+lasso',), (), ('text/css+lasso',)),
229
+ 'LassoHtmlLexer': ('pygments.lexers.templates', 'HTML+Lasso', ('html+lasso',), (), ('text/html+lasso', 'application/x-httpd-lasso', 'application/x-httpd-lasso[89]')),
230
+ 'LassoJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Lasso', ('js+lasso', 'javascript+lasso'), (), ('application/x-javascript+lasso', 'text/x-javascript+lasso', 'text/javascript+lasso')),
231
+ 'LassoLexer': ('pygments.lexers.javascript', 'Lasso', ('lasso', 'lassoscript'), ('*.lasso', '*.lasso[89]'), ('text/x-lasso',)),
232
+ 'LassoXmlLexer': ('pygments.lexers.templates', 'XML+Lasso', ('xml+lasso',), (), ('application/xml+lasso',)),
233
+ 'LeanLexer': ('pygments.lexers.theorem', 'Lean', ('lean',), ('*.lean',), ('text/x-lean',)),
234
+ 'LessCssLexer': ('pygments.lexers.css', 'LessCss', ('less',), ('*.less',), ('text/x-less-css',)),
235
+ 'LighttpdConfLexer': ('pygments.lexers.configs', 'Lighttpd configuration file', ('lighty', 'lighttpd'), (), ('text/x-lighttpd-conf',)),
236
+ 'LimboLexer': ('pygments.lexers.inferno', 'Limbo', ('limbo',), ('*.b',), ('text/limbo',)),
237
+ 'LiquidLexer': ('pygments.lexers.templates', 'liquid', ('liquid',), ('*.liquid',), ()),
238
+ 'LiterateAgdaLexer': ('pygments.lexers.haskell', 'Literate Agda', ('lagda', 'literate-agda'), ('*.lagda',), ('text/x-literate-agda',)),
239
+ 'LiterateCryptolLexer': ('pygments.lexers.haskell', 'Literate Cryptol', ('lcry', 'literate-cryptol', 'lcryptol'), ('*.lcry',), ('text/x-literate-cryptol',)),
240
+ 'LiterateHaskellLexer': ('pygments.lexers.haskell', 'Literate Haskell', ('lhs', 'literate-haskell', 'lhaskell'), ('*.lhs',), ('text/x-literate-haskell',)),
241
+ 'LiterateIdrisLexer': ('pygments.lexers.haskell', 'Literate Idris', ('lidr', 'literate-idris', 'lidris'), ('*.lidr',), ('text/x-literate-idris',)),
242
+ 'LiveScriptLexer': ('pygments.lexers.javascript', 'LiveScript', ('live-script', 'livescript'), ('*.ls',), ('text/livescript',)),
243
+ 'LlvmLexer': ('pygments.lexers.asm', 'LLVM', ('llvm',), ('*.ll',), ('text/x-llvm',)),
244
+ 'LogosLexer': ('pygments.lexers.objective', 'Logos', ('logos',), ('*.x', '*.xi', '*.xm', '*.xmi'), ('text/x-logos',)),
245
+ 'LogtalkLexer': ('pygments.lexers.prolog', 'Logtalk', ('logtalk',), ('*.lgt', '*.logtalk'), ('text/x-logtalk',)),
246
+ 'LuaLexer': ('pygments.lexers.scripting', 'Lua', ('lua',), ('*.lua', '*.wlua'), ('text/x-lua', 'application/x-lua')),
247
+ 'MOOCodeLexer': ('pygments.lexers.scripting', 'MOOCode', ('moocode', 'moo'), ('*.moo',), ('text/x-moocode',)),
248
+ 'MSDOSSessionLexer': ('pygments.lexers.shell', 'MSDOS Session', ('doscon',), (), ()),
249
+ 'MakefileLexer': ('pygments.lexers.make', 'Makefile', ('make', 'makefile', 'mf', 'bsdmake'), ('*.mak', '*.mk', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'), ('text/x-makefile',)),
250
+ 'MakoCssLexer': ('pygments.lexers.templates', 'CSS+Mako', ('css+mako',), (), ('text/css+mako',)),
251
+ 'MakoHtmlLexer': ('pygments.lexers.templates', 'HTML+Mako', ('html+mako',), (), ('text/html+mako',)),
252
+ 'MakoJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Mako', ('js+mako', 'javascript+mako'), (), ('application/x-javascript+mako', 'text/x-javascript+mako', 'text/javascript+mako')),
253
+ 'MakoLexer': ('pygments.lexers.templates', 'Mako', ('mako',), ('*.mao',), ('application/x-mako',)),
254
+ 'MakoXmlLexer': ('pygments.lexers.templates', 'XML+Mako', ('xml+mako',), (), ('application/xml+mako',)),
255
+ 'MaqlLexer': ('pygments.lexers.business', 'MAQL', ('maql',), ('*.maql',), ('text/x-gooddata-maql', 'application/x-gooddata-maql')),
256
+ 'MarkdownLexer': ('pygments.lexers.markup', 'markdown', ('md',), ('*.md',), ('text/x-markdown',)),
257
+ 'MaskLexer': ('pygments.lexers.javascript', 'Mask', ('mask',), ('*.mask',), ('text/x-mask',)),
258
+ 'MasonLexer': ('pygments.lexers.templates', 'Mason', ('mason',), ('*.m', '*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler'), ('application/x-mason',)),
259
+ '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')),
260
+ 'MatlabLexer': ('pygments.lexers.matlab', 'Matlab', ('matlab',), ('*.m',), ('text/matlab',)),
261
+ 'MatlabSessionLexer': ('pygments.lexers.matlab', 'Matlab session', ('matlabsession',), (), ()),
262
+ 'MiniDLexer': ('pygments.lexers.d', 'MiniD', ('minid',), (), ('text/x-minidsrc',)),
263
+ 'ModelicaLexer': ('pygments.lexers.modeling', 'Modelica', ('modelica',), ('*.mo',), ('text/x-modelica',)),
264
+ 'Modula2Lexer': ('pygments.lexers.modula2', 'Modula-2', ('modula2', 'm2'), ('*.def', '*.mod'), ('text/x-modula2',)),
265
+ 'MoinWikiLexer': ('pygments.lexers.markup', 'MoinMoin/Trac Wiki markup', ('trac-wiki', 'moin'), (), ('text/x-trac-wiki',)),
266
+ 'MonkeyLexer': ('pygments.lexers.basic', 'Monkey', ('monkey',), ('*.monkey',), ('text/x-monkey',)),
267
+ 'MonteLexer': ('pygments.lexers.monte', 'Monte', ('monte',), ('*.mt',), ()),
268
+ 'MoonScriptLexer': ('pygments.lexers.scripting', 'MoonScript', ('moon', 'moonscript'), ('*.moon',), ('text/x-moonscript', 'application/x-moonscript')),
269
+ 'MozPreprocCssLexer': ('pygments.lexers.markup', 'CSS+mozpreproc', ('css+mozpreproc',), ('*.css.in',), ()),
270
+ 'MozPreprocHashLexer': ('pygments.lexers.markup', 'mozhashpreproc', ('mozhashpreproc',), (), ()),
271
+ 'MozPreprocJavascriptLexer': ('pygments.lexers.markup', 'Javascript+mozpreproc', ('javascript+mozpreproc',), ('*.js.in',), ()),
272
+ 'MozPreprocPercentLexer': ('pygments.lexers.markup', 'mozpercentpreproc', ('mozpercentpreproc',), (), ()),
273
+ 'MozPreprocXulLexer': ('pygments.lexers.markup', 'XUL+mozpreproc', ('xul+mozpreproc',), ('*.xul.in',), ()),
274
+ 'MqlLexer': ('pygments.lexers.c_like', 'MQL', ('mql', 'mq4', 'mq5', 'mql4', 'mql5'), ('*.mq4', '*.mq5', '*.mqh'), ('text/x-mql',)),
275
+ 'MscgenLexer': ('pygments.lexers.dsls', 'Mscgen', ('mscgen', 'msc'), ('*.msc',), ()),
276
+ 'MuPADLexer': ('pygments.lexers.algebra', 'MuPAD', ('mupad',), ('*.mu',), ()),
277
+ 'MxmlLexer': ('pygments.lexers.actionscript', 'MXML', ('mxml',), ('*.mxml',), ()),
278
+ 'MySqlLexer': ('pygments.lexers.sql', 'MySQL', ('mysql',), (), ('text/x-mysql',)),
279
+ 'MyghtyCssLexer': ('pygments.lexers.templates', 'CSS+Myghty', ('css+myghty',), (), ('text/css+myghty',)),
280
+ 'MyghtyHtmlLexer': ('pygments.lexers.templates', 'HTML+Myghty', ('html+myghty',), (), ('text/html+myghty',)),
281
+ 'MyghtyJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Myghty', ('js+myghty', 'javascript+myghty'), (), ('application/x-javascript+myghty', 'text/x-javascript+myghty', 'text/javascript+mygthy')),
282
+ 'MyghtyLexer': ('pygments.lexers.templates', 'Myghty', ('myghty',), ('*.myt', 'autodelegate'), ('application/x-myghty',)),
283
+ 'MyghtyXmlLexer': ('pygments.lexers.templates', 'XML+Myghty', ('xml+myghty',), (), ('application/xml+myghty',)),
284
+ 'NCLLexer': ('pygments.lexers.ncl', 'NCL', ('ncl',), ('*.ncl',), ('text/ncl',)),
285
+ 'NSISLexer': ('pygments.lexers.installers', 'NSIS', ('nsis', 'nsi', 'nsh'), ('*.nsi', '*.nsh'), ('text/x-nsis',)),
286
+ 'NasmLexer': ('pygments.lexers.asm', 'NASM', ('nasm',), ('*.asm', '*.ASM'), ('text/x-nasm',)),
287
+ 'NasmObjdumpLexer': ('pygments.lexers.asm', 'objdump-nasm', ('objdump-nasm',), ('*.objdump-intel',), ('text/x-nasm-objdump',)),
288
+ 'NemerleLexer': ('pygments.lexers.dotnet', 'Nemerle', ('nemerle',), ('*.n',), ('text/x-nemerle',)),
289
+ 'NesCLexer': ('pygments.lexers.c_like', 'nesC', ('nesc',), ('*.nc',), ('text/x-nescsrc',)),
290
+ 'NewLispLexer': ('pygments.lexers.lisp', 'NewLisp', ('newlisp',), ('*.lsp', '*.nl', '*.kif'), ('text/x-newlisp', 'application/x-newlisp')),
291
+ 'NewspeakLexer': ('pygments.lexers.smalltalk', 'Newspeak', ('newspeak',), ('*.ns2',), ('text/x-newspeak',)),
292
+ 'NginxConfLexer': ('pygments.lexers.configs', 'Nginx configuration file', ('nginx',), ('nginx.conf',), ('text/x-nginx-conf',)),
293
+ 'NimrodLexer': ('pygments.lexers.nimrod', 'Nimrod', ('nim', 'nimrod'), ('*.nim', '*.nimrod'), ('text/x-nim',)),
294
+ 'NitLexer': ('pygments.lexers.nit', 'Nit', ('nit',), ('*.nit',), ()),
295
+ 'NixLexer': ('pygments.lexers.nix', 'Nix', ('nixos', 'nix'), ('*.nix',), ('text/x-nix',)),
296
+ 'NuSMVLexer': ('pygments.lexers.smv', 'NuSMV', ('nusmv',), ('*.smv',), ()),
297
+ 'NumPyLexer': ('pygments.lexers.python', 'NumPy', ('numpy',), (), ()),
298
+ 'ObjdumpLexer': ('pygments.lexers.asm', 'objdump', ('objdump',), ('*.objdump',), ('text/x-objdump',)),
299
+ 'ObjectiveCLexer': ('pygments.lexers.objective', 'Objective-C', ('objective-c', 'objectivec', 'obj-c', 'objc'), ('*.m', '*.h'), ('text/x-objective-c',)),
300
+ 'ObjectiveCppLexer': ('pygments.lexers.objective', 'Objective-C++', ('objective-c++', 'objectivec++', 'obj-c++', 'objc++'), ('*.mm', '*.hh'), ('text/x-objective-c++',)),
301
+ 'ObjectiveJLexer': ('pygments.lexers.javascript', 'Objective-J', ('objective-j', 'objectivej', 'obj-j', 'objj'), ('*.j',), ('text/x-objective-j',)),
302
+ 'OcamlLexer': ('pygments.lexers.ml', 'OCaml', ('ocaml',), ('*.ml', '*.mli', '*.mll', '*.mly'), ('text/x-ocaml',)),
303
+ 'OctaveLexer': ('pygments.lexers.matlab', 'Octave', ('octave',), ('*.m',), ('text/octave',)),
304
+ 'OdinLexer': ('pygments.lexers.archetype', 'ODIN', ('odin',), ('*.odin',), ('text/odin',)),
305
+ 'OocLexer': ('pygments.lexers.ooc', 'Ooc', ('ooc',), ('*.ooc',), ('text/x-ooc',)),
306
+ 'OpaLexer': ('pygments.lexers.ml', 'Opa', ('opa',), ('*.opa',), ('text/x-opa',)),
307
+ 'OpenEdgeLexer': ('pygments.lexers.business', 'OpenEdge ABL', ('openedge', 'abl', 'progress'), ('*.p', '*.cls'), ('text/x-openedge', 'application/x-openedge')),
308
+ 'PacmanConfLexer': ('pygments.lexers.configs', 'PacmanConf', ('pacmanconf',), ('pacman.conf',), ()),
309
+ 'PanLexer': ('pygments.lexers.dsls', 'Pan', ('pan',), ('*.pan',), ()),
310
+ 'ParaSailLexer': ('pygments.lexers.parasail', 'ParaSail', ('parasail',), ('*.psi', '*.psl'), ('text/x-parasail',)),
311
+ 'PawnLexer': ('pygments.lexers.pawn', 'Pawn', ('pawn',), ('*.p', '*.pwn', '*.inc'), ('text/x-pawn',)),
312
+ 'Perl6Lexer': ('pygments.lexers.perl', 'Perl6', ('perl6', 'pl6'), ('*.pl', '*.pm', '*.nqp', '*.p6', '*.6pl', '*.p6l', '*.pl6', '*.6pm', '*.p6m', '*.pm6', '*.t'), ('text/x-perl6', 'application/x-perl6')),
313
+ 'PerlLexer': ('pygments.lexers.perl', 'Perl', ('perl', 'pl'), ('*.pl', '*.pm', '*.t'), ('text/x-perl', 'application/x-perl')),
314
+ 'PhpLexer': ('pygments.lexers.php', 'PHP', ('php', 'php3', 'php4', 'php5'), ('*.php', '*.php[345]', '*.inc'), ('text/x-php',)),
315
+ 'PigLexer': ('pygments.lexers.jvm', 'Pig', ('pig',), ('*.pig',), ('text/x-pig',)),
316
+ 'PikeLexer': ('pygments.lexers.c_like', 'Pike', ('pike',), ('*.pike', '*.pmod'), ('text/x-pike',)),
317
+ 'PkgConfigLexer': ('pygments.lexers.configs', 'PkgConfig', ('pkgconfig',), ('*.pc',), ()),
318
+ 'PlPgsqlLexer': ('pygments.lexers.sql', 'PL/pgSQL', ('plpgsql',), (), ('text/x-plpgsql',)),
319
+ 'PostScriptLexer': ('pygments.lexers.graphics', 'PostScript', ('postscript', 'postscr'), ('*.ps', '*.eps'), ('application/postscript',)),
320
+ 'PostgresConsoleLexer': ('pygments.lexers.sql', 'PostgreSQL console (psql)', ('psql', 'postgresql-console', 'postgres-console'), (), ('text/x-postgresql-psql',)),
321
+ 'PostgresLexer': ('pygments.lexers.sql', 'PostgreSQL SQL dialect', ('postgresql', 'postgres'), (), ('text/x-postgresql',)),
322
+ 'PovrayLexer': ('pygments.lexers.graphics', 'POVRay', ('pov',), ('*.pov', '*.inc'), ('text/x-povray',)),
323
+ 'PowerShellLexer': ('pygments.lexers.shell', 'PowerShell', ('powershell', 'posh', 'ps1', 'psm1'), ('*.ps1', '*.psm1'), ('text/x-powershell',)),
324
+ 'PowerShellSessionLexer': ('pygments.lexers.shell', 'PowerShell Session', ('ps1con',), (), ()),
325
+ 'PraatLexer': ('pygments.lexers.praat', 'Praat', ('praat',), ('*.praat', '*.proc', '*.psc'), ()),
326
+ 'PrologLexer': ('pygments.lexers.prolog', 'Prolog', ('prolog',), ('*.ecl', '*.prolog', '*.pro', '*.pl'), ('text/x-prolog',)),
327
+ 'PropertiesLexer': ('pygments.lexers.configs', 'Properties', ('properties', 'jproperties'), ('*.properties',), ('text/x-java-properties',)),
328
+ 'ProtoBufLexer': ('pygments.lexers.dsls', 'Protocol Buffer', ('protobuf', 'proto'), ('*.proto',), ()),
329
+ 'PugLexer': ('pygments.lexers.html', 'Pug', ('pug', 'jade'), ('*.pug', '*.jade'), ('text/x-pug', 'text/x-jade')),
330
+ 'PuppetLexer': ('pygments.lexers.dsls', 'Puppet', ('puppet',), ('*.pp',), ()),
331
+ 'PyPyLogLexer': ('pygments.lexers.console', 'PyPy Log', ('pypylog', 'pypy'), ('*.pypylog',), ('application/x-pypylog',)),
332
+ 'Python3Lexer': ('pygments.lexers.python', 'Python 3', ('python3', 'py3'), (), ('text/x-python3', 'application/x-python3')),
333
+ 'Python3TracebackLexer': ('pygments.lexers.python', 'Python 3.0 Traceback', ('py3tb',), ('*.py3tb',), ('text/x-python3-traceback',)),
334
+ 'PythonConsoleLexer': ('pygments.lexers.python', 'Python console session', ('pycon',), (), ('text/x-python-doctest',)),
335
+ 'PythonLexer': ('pygments.lexers.python', 'Python', ('python', 'py', 'sage'), ('*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac', '*.sage'), ('text/x-python', 'application/x-python')),
336
+ 'PythonTracebackLexer': ('pygments.lexers.python', 'Python Traceback', ('pytb',), ('*.pytb',), ('text/x-python-traceback',)),
337
+ 'QBasicLexer': ('pygments.lexers.basic', 'QBasic', ('qbasic', 'basic'), ('*.BAS', '*.bas'), ('text/basic',)),
338
+ 'QVToLexer': ('pygments.lexers.qvt', 'QVTO', ('qvto', 'qvt'), ('*.qvto',), ()),
339
+ 'QmlLexer': ('pygments.lexers.webmisc', 'QML', ('qml', 'qbs'), ('*.qml', '*.qbs'), ('application/x-qml', 'application/x-qt.qbs+qml')),
340
+ 'RConsoleLexer': ('pygments.lexers.r', 'RConsole', ('rconsole', 'rout'), ('*.Rout',), ()),
341
+ 'RNCCompactLexer': ('pygments.lexers.rnc', 'Relax-NG Compact', ('rnc', 'rng-compact'), ('*.rnc',), ()),
342
+ 'RPMSpecLexer': ('pygments.lexers.installers', 'RPMSpec', ('spec',), ('*.spec',), ('text/x-rpm-spec',)),
343
+ 'RacketLexer': ('pygments.lexers.lisp', 'Racket', ('racket', 'rkt'), ('*.rkt', '*.rktd', '*.rktl'), ('text/x-racket', 'application/x-racket')),
344
+ 'RagelCLexer': ('pygments.lexers.parsers', 'Ragel in C Host', ('ragel-c',), ('*.rl',), ()),
345
+ 'RagelCppLexer': ('pygments.lexers.parsers', 'Ragel in CPP Host', ('ragel-cpp',), ('*.rl',), ()),
346
+ 'RagelDLexer': ('pygments.lexers.parsers', 'Ragel in D Host', ('ragel-d',), ('*.rl',), ()),
347
+ 'RagelEmbeddedLexer': ('pygments.lexers.parsers', 'Embedded Ragel', ('ragel-em',), ('*.rl',), ()),
348
+ 'RagelJavaLexer': ('pygments.lexers.parsers', 'Ragel in Java Host', ('ragel-java',), ('*.rl',), ()),
349
+ 'RagelLexer': ('pygments.lexers.parsers', 'Ragel', ('ragel',), (), ()),
350
+ 'RagelObjectiveCLexer': ('pygments.lexers.parsers', 'Ragel in Objective C Host', ('ragel-objc',), ('*.rl',), ()),
351
+ 'RagelRubyLexer': ('pygments.lexers.parsers', 'Ragel in Ruby Host', ('ragel-ruby', 'ragel-rb'), ('*.rl',), ()),
352
+ 'RawTokenLexer': ('pygments.lexers.special', 'Raw token data', ('raw',), (), ('application/x-pygments-tokens',)),
353
+ 'RdLexer': ('pygments.lexers.r', 'Rd', ('rd',), ('*.Rd',), ('text/x-r-doc',)),
354
+ 'RebolLexer': ('pygments.lexers.rebol', 'REBOL', ('rebol',), ('*.r', '*.r3', '*.reb'), ('text/x-rebol',)),
355
+ 'RedLexer': ('pygments.lexers.rebol', 'Red', ('red', 'red/system'), ('*.red', '*.reds'), ('text/x-red', 'text/x-red-system')),
356
+ 'RedcodeLexer': ('pygments.lexers.esoteric', 'Redcode', ('redcode',), ('*.cw',), ()),
357
+ 'RegeditLexer': ('pygments.lexers.configs', 'reg', ('registry',), ('*.reg',), ('text/x-windows-registry',)),
358
+ 'ResourceLexer': ('pygments.lexers.resource', 'ResourceBundle', ('resource', 'resourcebundle'), ('*.txt',), ()),
359
+ 'RexxLexer': ('pygments.lexers.scripting', 'Rexx', ('rexx', 'arexx'), ('*.rexx', '*.rex', '*.rx', '*.arexx'), ('text/x-rexx',)),
360
+ 'RhtmlLexer': ('pygments.lexers.templates', 'RHTML', ('rhtml', 'html+erb', 'html+ruby'), ('*.rhtml',), ('text/html+ruby',)),
361
+ 'RoboconfGraphLexer': ('pygments.lexers.roboconf', 'Roboconf Graph', ('roboconf-graph',), ('*.graph',), ()),
362
+ 'RoboconfInstancesLexer': ('pygments.lexers.roboconf', 'Roboconf Instances', ('roboconf-instances',), ('*.instances',), ()),
363
+ 'RobotFrameworkLexer': ('pygments.lexers.robotframework', 'RobotFramework', ('robotframework',), ('*.txt', '*.robot'), ('text/x-robotframework',)),
364
+ 'RqlLexer': ('pygments.lexers.sql', 'RQL', ('rql',), ('*.rql',), ('text/x-rql',)),
365
+ 'RslLexer': ('pygments.lexers.dsls', 'RSL', ('rsl',), ('*.rsl',), ('text/rsl',)),
366
+ 'RstLexer': ('pygments.lexers.markup', 'reStructuredText', ('rst', 'rest', 'restructuredtext'), ('*.rst', '*.rest'), ('text/x-rst', 'text/prs.fallenstein.rst')),
367
+ 'RtsLexer': ('pygments.lexers.trafficscript', 'TrafficScript', ('rts', 'trafficscript'), ('*.rts',), ()),
368
+ 'RubyConsoleLexer': ('pygments.lexers.ruby', 'Ruby irb session', ('rbcon', 'irb'), (), ('text/x-ruby-shellsession',)),
369
+ 'RubyLexer': ('pygments.lexers.ruby', 'Ruby', ('rb', 'ruby', 'duby'), ('*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec', '*.rbx', '*.duby', 'Gemfile'), ('text/x-ruby', 'application/x-ruby')),
370
+ 'RustLexer': ('pygments.lexers.rust', 'Rust', ('rust',), ('*.rs', '*.rs.in'), ('text/rust',)),
371
+ 'SASLexer': ('pygments.lexers.sas', 'SAS', ('sas',), ('*.SAS', '*.sas'), ('text/x-sas', 'text/sas', 'application/x-sas')),
372
+ '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')),
373
+ 'SMLLexer': ('pygments.lexers.ml', 'Standard ML', ('sml',), ('*.sml', '*.sig', '*.fun'), ('text/x-standardml', 'application/x-standardml')),
374
+ 'SassLexer': ('pygments.lexers.css', 'Sass', ('sass',), ('*.sass',), ('text/x-sass',)),
375
+ 'ScalaLexer': ('pygments.lexers.jvm', 'Scala', ('scala',), ('*.scala',), ('text/x-scala',)),
376
+ 'ScamlLexer': ('pygments.lexers.html', 'Scaml', ('scaml',), ('*.scaml',), ('text/x-scaml',)),
377
+ 'SchemeLexer': ('pygments.lexers.lisp', 'Scheme', ('scheme', 'scm'), ('*.scm', '*.ss'), ('text/x-scheme', 'application/x-scheme')),
378
+ 'ScilabLexer': ('pygments.lexers.matlab', 'Scilab', ('scilab',), ('*.sci', '*.sce', '*.tst'), ('text/scilab',)),
379
+ 'ScssLexer': ('pygments.lexers.css', 'SCSS', ('scss',), ('*.scss',), ('text/x-scss',)),
380
+ 'ShenLexer': ('pygments.lexers.lisp', 'Shen', ('shen',), ('*.shen',), ('text/x-shen', 'application/x-shen')),
381
+ 'SilverLexer': ('pygments.lexers.verification', 'Silver', ('silver',), ('*.sil', '*.vpr'), ()),
382
+ 'SlimLexer': ('pygments.lexers.webmisc', 'Slim', ('slim',), ('*.slim',), ('text/x-slim',)),
383
+ 'SmaliLexer': ('pygments.lexers.dalvik', 'Smali', ('smali',), ('*.smali',), ('text/smali',)),
384
+ 'SmalltalkLexer': ('pygments.lexers.smalltalk', 'Smalltalk', ('smalltalk', 'squeak', 'st'), ('*.st',), ('text/x-smalltalk',)),
385
+ 'SmartyLexer': ('pygments.lexers.templates', 'Smarty', ('smarty',), ('*.tpl',), ('application/x-smarty',)),
386
+ 'SnobolLexer': ('pygments.lexers.snobol', 'Snobol', ('snobol',), ('*.snobol',), ('text/x-snobol',)),
387
+ 'SnowballLexer': ('pygments.lexers.dsls', 'Snowball', ('snowball',), ('*.sbl',), ()),
388
+ 'SourcePawnLexer': ('pygments.lexers.pawn', 'SourcePawn', ('sp',), ('*.sp',), ('text/x-sourcepawn',)),
389
+ 'SourcesListLexer': ('pygments.lexers.installers', 'Debian Sourcelist', ('sourceslist', 'sources.list', 'debsources'), ('sources.list',), ()),
390
+ 'SparqlLexer': ('pygments.lexers.rdf', 'SPARQL', ('sparql',), ('*.rq', '*.sparql'), ('application/sparql-query',)),
391
+ 'SqlLexer': ('pygments.lexers.sql', 'SQL', ('sql',), ('*.sql',), ('text/x-sql',)),
392
+ 'SqliteConsoleLexer': ('pygments.lexers.sql', 'sqlite3con', ('sqlite3',), ('*.sqlite3-console',), ('text/x-sqlite3-console',)),
393
+ 'SquidConfLexer': ('pygments.lexers.configs', 'SquidConf', ('squidconf', 'squid.conf', 'squid'), ('squid.conf',), ('text/x-squidconf',)),
394
+ 'SspLexer': ('pygments.lexers.templates', 'Scalate Server Page', ('ssp',), ('*.ssp',), ('application/x-ssp',)),
395
+ 'StanLexer': ('pygments.lexers.modeling', 'Stan', ('stan',), ('*.stan',), ()),
396
+ 'StataLexer': ('pygments.lexers.stata', 'Stata', ('stata', 'do'), ('*.do', '*.ado'), ('text/x-stata', 'text/stata', 'application/x-stata')),
397
+ 'SuperColliderLexer': ('pygments.lexers.supercollider', 'SuperCollider', ('sc', 'supercollider'), ('*.sc', '*.scd'), ('application/supercollider', 'text/supercollider')),
398
+ 'SwiftLexer': ('pygments.lexers.objective', 'Swift', ('swift',), ('*.swift',), ('text/x-swift',)),
399
+ 'SwigLexer': ('pygments.lexers.c_like', 'SWIG', ('swig',), ('*.swg', '*.i'), ('text/swig',)),
400
+ 'SystemVerilogLexer': ('pygments.lexers.hdl', 'systemverilog', ('systemverilog', 'sv'), ('*.sv', '*.svh'), ('text/x-systemverilog',)),
401
+ 'TAPLexer': ('pygments.lexers.testing', 'TAP', ('tap',), ('*.tap',), ()),
402
+ 'Tads3Lexer': ('pygments.lexers.int_fiction', 'TADS 3', ('tads3',), ('*.t',), ()),
403
+ 'TasmLexer': ('pygments.lexers.asm', 'TASM', ('tasm',), ('*.asm', '*.ASM', '*.tasm'), ('text/x-tasm',)),
404
+ 'TclLexer': ('pygments.lexers.tcl', 'Tcl', ('tcl',), ('*.tcl', '*.rvt'), ('text/x-tcl', 'text/x-script.tcl', 'application/x-tcl')),
405
+ 'TcshLexer': ('pygments.lexers.shell', 'Tcsh', ('tcsh', 'csh'), ('*.tcsh', '*.csh'), ('application/x-csh',)),
406
+ 'TcshSessionLexer': ('pygments.lexers.shell', 'Tcsh Session', ('tcshcon',), (), ()),
407
+ 'TeaTemplateLexer': ('pygments.lexers.templates', 'Tea', ('tea',), ('*.tea',), ('text/x-tea',)),
408
+ 'TermcapLexer': ('pygments.lexers.configs', 'Termcap', ('termcap',), ('termcap', 'termcap.src'), ()),
409
+ 'TerminfoLexer': ('pygments.lexers.configs', 'Terminfo', ('terminfo',), ('terminfo', 'terminfo.src'), ()),
410
+ 'TerraformLexer': ('pygments.lexers.configs', 'Terraform', ('terraform', 'tf'), ('*.tf',), ('application/x-tf', 'application/x-terraform')),
411
+ 'TexLexer': ('pygments.lexers.markup', 'TeX', ('tex', 'latex'), ('*.tex', '*.aux', '*.toc'), ('text/x-tex', 'text/x-latex')),
412
+ 'TextLexer': ('pygments.lexers.special', 'Text only', ('text',), ('*.txt',), ('text/plain',)),
413
+ 'ThriftLexer': ('pygments.lexers.dsls', 'Thrift', ('thrift',), ('*.thrift',), ('application/x-thrift',)),
414
+ 'TodotxtLexer': ('pygments.lexers.textfmts', 'Todotxt', ('todotxt',), ('todo.txt', '*.todotxt'), ('text/x-todo',)),
415
+ 'TransactSqlLexer': ('pygments.lexers.sql', 'Transact-SQL', ('tsql', 't-sql'), ('*.sql',), ('text/x-tsql',)),
416
+ 'TreetopLexer': ('pygments.lexers.parsers', 'Treetop', ('treetop',), ('*.treetop', '*.tt'), ()),
417
+ 'TurtleLexer': ('pygments.lexers.rdf', 'Turtle', ('turtle',), ('*.ttl',), ('text/turtle', 'application/x-turtle')),
418
+ 'TwigHtmlLexer': ('pygments.lexers.templates', 'HTML+Twig', ('html+twig',), ('*.twig',), ('text/html+twig',)),
419
+ 'TwigLexer': ('pygments.lexers.templates', 'Twig', ('twig',), (), ('application/x-twig',)),
420
+ 'TypeScriptLexer': ('pygments.lexers.javascript', 'TypeScript', ('ts', 'typescript'), ('*.ts',), ('text/x-typescript',)),
421
+ 'TypoScriptCssDataLexer': ('pygments.lexers.typoscript', 'TypoScriptCssData', ('typoscriptcssdata',), (), ()),
422
+ 'TypoScriptHtmlDataLexer': ('pygments.lexers.typoscript', 'TypoScriptHtmlData', ('typoscripthtmldata',), (), ()),
423
+ 'TypoScriptLexer': ('pygments.lexers.typoscript', 'TypoScript', ('typoscript',), ('*.ts', '*.txt'), ('text/x-typoscript',)),
424
+ 'UrbiscriptLexer': ('pygments.lexers.urbi', 'UrbiScript', ('urbiscript',), ('*.u',), ('application/x-urbiscript',)),
425
+ 'VCLLexer': ('pygments.lexers.varnish', 'VCL', ('vcl',), ('*.vcl',), ('text/x-vclsrc',)),
426
+ 'VCLSnippetLexer': ('pygments.lexers.varnish', 'VCLSnippets', ('vclsnippets', 'vclsnippet'), (), ('text/x-vclsnippet',)),
427
+ 'VCTreeStatusLexer': ('pygments.lexers.console', 'VCTreeStatus', ('vctreestatus',), (), ()),
428
+ 'VGLLexer': ('pygments.lexers.dsls', 'VGL', ('vgl',), ('*.rpf',), ()),
429
+ 'ValaLexer': ('pygments.lexers.c_like', 'Vala', ('vala', 'vapi'), ('*.vala', '*.vapi'), ('text/x-vala',)),
430
+ 'VbNetAspxLexer': ('pygments.lexers.dotnet', 'aspx-vb', ('aspx-vb',), ('*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'), ()),
431
+ 'VbNetLexer': ('pygments.lexers.dotnet', 'VB.net', ('vb.net', 'vbnet'), ('*.vb', '*.bas'), ('text/x-vbnet', 'text/x-vba')),
432
+ 'VelocityHtmlLexer': ('pygments.lexers.templates', 'HTML+Velocity', ('html+velocity',), (), ('text/html+velocity',)),
433
+ 'VelocityLexer': ('pygments.lexers.templates', 'Velocity', ('velocity',), ('*.vm', '*.fhtml'), ()),
434
+ 'VelocityXmlLexer': ('pygments.lexers.templates', 'XML+Velocity', ('xml+velocity',), (), ('application/xml+velocity',)),
435
+ 'VerilogLexer': ('pygments.lexers.hdl', 'verilog', ('verilog', 'v'), ('*.v',), ('text/x-verilog',)),
436
+ 'VhdlLexer': ('pygments.lexers.hdl', 'vhdl', ('vhdl',), ('*.vhdl', '*.vhd'), ('text/x-vhdl',)),
437
+ 'VimLexer': ('pygments.lexers.textedit', 'VimL', ('vim',), ('*.vim', '.vimrc', '.exrc', '.gvimrc', '_vimrc', '_exrc', '_gvimrc', 'vimrc', 'gvimrc'), ('text/x-vim',)),
438
+ 'WDiffLexer': ('pygments.lexers.diff', 'WDiff', ('wdiff',), ('*.wdiff',), ()),
439
+ 'WhileyLexer': ('pygments.lexers.whiley', 'Whiley', ('whiley',), ('*.whiley',), ('text/x-whiley',)),
440
+ 'X10Lexer': ('pygments.lexers.x10', 'X10', ('x10', 'xten'), ('*.x10',), ('text/x-x10',)),
441
+ 'XQueryLexer': ('pygments.lexers.webmisc', 'XQuery', ('xquery', 'xqy', 'xq', 'xql', 'xqm'), ('*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'), ('text/xquery', 'application/xquery')),
442
+ 'XmlDjangoLexer': ('pygments.lexers.templates', 'XML+Django/Jinja', ('xml+django', 'xml+jinja'), (), ('application/xml+django', 'application/xml+jinja')),
443
+ 'XmlErbLexer': ('pygments.lexers.templates', 'XML+Ruby', ('xml+erb', 'xml+ruby'), (), ('application/xml+ruby',)),
444
+ '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')),
445
+ 'XmlPhpLexer': ('pygments.lexers.templates', 'XML+PHP', ('xml+php',), (), ('application/xml+php',)),
446
+ 'XmlSmartyLexer': ('pygments.lexers.templates', 'XML+Smarty', ('xml+smarty',), (), ('application/xml+smarty',)),
447
+ 'XsltLexer': ('pygments.lexers.html', 'XSLT', ('xslt',), ('*.xsl', '*.xslt', '*.xpl'), ('application/xsl+xml', 'application/xslt+xml')),
448
+ 'XtendLexer': ('pygments.lexers.jvm', 'Xtend', ('xtend',), ('*.xtend',), ('text/x-xtend',)),
449
+ 'XtlangLexer': ('pygments.lexers.lisp', 'xtlang', ('extempore',), ('*.xtm',), ()),
450
+ 'YamlJinjaLexer': ('pygments.lexers.templates', 'YAML+Jinja', ('yaml+jinja', 'salt', 'sls'), ('*.sls',), ('text/x-yaml+jinja', 'text/x-sls')),
451
+ 'YamlLexer': ('pygments.lexers.data', 'YAML', ('yaml',), ('*.yaml', '*.yml'), ('text/x-yaml',)),
452
+ 'ZephirLexer': ('pygments.lexers.php', 'Zephir', ('zephir',), ('*.zep',), ()),
453
+ }
454
+
455
+ if __name__ == '__main__': # pragma: no cover
456
+ import sys
457
+ import os
458
+
459
+ # lookup lexers
460
+ found_lexers = []
461
+ sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..'))
462
+ for root, dirs, files in os.walk('.'):
463
+ for filename in files:
464
+ if filename.endswith('.py') and not filename.startswith('_'):
465
+ module_name = 'pygments.lexers%s.%s' % (
466
+ root[1:].replace('/', '.'), filename[:-3])
467
+ print(module_name)
468
+ module = __import__(module_name, None, None, [''])
469
+ for lexer_name in module.__all__:
470
+ lexer = getattr(module, lexer_name)
471
+ found_lexers.append(
472
+ '%r: %r' % (lexer_name,
473
+ (module_name,
474
+ lexer.name,
475
+ tuple(lexer.aliases),
476
+ tuple(lexer.filenames),
477
+ tuple(lexer.mimetypes))))
478
+ # sort them to make the diff minimal
479
+ found_lexers.sort()
480
+
481
+ # extract useful sourcecode from this file
482
+ with open(__file__) as fp:
483
+ content = fp.read()
484
+ # replace crnl to nl for Windows.
485
+ #
486
+ # Note that, originally, contributers should keep nl of master
487
+ # repository, for example by using some kind of automatic
488
+ # management EOL, like `EolExtension
489
+ # <https://www.mercurial-scm.org/wiki/EolExtension>`.
490
+ content = content.replace("\r\n", "\n")
491
+ header = content[:content.find('LEXERS = {')]
492
+ footer = content[content.find("if __name__ == '__main__':"):]
493
+
494
+ # write new file
495
+ with open(__file__, 'w') as fp:
496
+ fp.write(header)
497
+ fp.write('LEXERS = {\n %s,\n}\n\n' % ',\n '.join(found_lexers))
498
+ fp.write(footer)
499
+
500
+ print ('=== %d lexers processed.' % len(found_lexers))
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_mql_builtins.py ADDED
@@ -0,0 +1,1172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._mql_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Builtins for the MqlLexer.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+ types = (
12
+ 'AccountBalance',
13
+ 'AccountCompany',
14
+ 'AccountCredit',
15
+ 'AccountCurrency',
16
+ 'AccountEquity',
17
+ 'AccountFreeMarginCheck',
18
+ 'AccountFreeMarginMode',
19
+ 'AccountFreeMargin',
20
+ 'AccountInfoDouble',
21
+ 'AccountInfoInteger',
22
+ 'AccountInfoString',
23
+ 'AccountLeverage',
24
+ 'AccountMargin',
25
+ 'AccountName',
26
+ 'AccountNumber',
27
+ 'AccountProfit',
28
+ 'AccountServer',
29
+ 'AccountStopoutLevel',
30
+ 'AccountStopoutMode',
31
+ 'Alert',
32
+ 'ArrayBsearch',
33
+ 'ArrayCompare',
34
+ 'ArrayCopyRates',
35
+ 'ArrayCopySeries',
36
+ 'ArrayCopy',
37
+ 'ArrayDimension',
38
+ 'ArrayFill',
39
+ 'ArrayFree',
40
+ 'ArrayGetAsSeries',
41
+ 'ArrayInitialize',
42
+ 'ArrayIsDynamic',
43
+ 'ArrayIsSeries',
44
+ 'ArrayMaximum',
45
+ 'ArrayMinimum',
46
+ 'ArrayRange',
47
+ 'ArrayResize',
48
+ 'ArraySetAsSeries',
49
+ 'ArraySize',
50
+ 'ArraySort',
51
+ 'CharArrayToString',
52
+ 'CharToString',
53
+ 'CharToStr',
54
+ 'CheckPointer',
55
+ 'ColorToARGB',
56
+ 'ColorToString',
57
+ 'Comment',
58
+ 'CopyClose',
59
+ 'CopyHigh',
60
+ 'CopyLow',
61
+ 'CopyOpen',
62
+ 'CopyRates',
63
+ 'CopyRealVolume',
64
+ 'CopySpread',
65
+ 'CopyTickVolume',
66
+ 'CopyTime',
67
+ 'DayOfWeek',
68
+ 'DayOfYear',
69
+ 'Day',
70
+ 'DebugBreak',
71
+ 'Digits',
72
+ 'DoubleToString',
73
+ 'DoubleToStr',
74
+ 'EnumToString',
75
+ 'EventChartCustom',
76
+ 'EventKillTimer',
77
+ 'EventSetMillisecondTimer',
78
+ 'EventSetTimer',
79
+ 'ExpertRemove',
80
+ 'FileClose',
81
+ 'FileCopy',
82
+ 'FileDelete',
83
+ 'FileFindClose',
84
+ 'FileFindFirst',
85
+ 'FileFindNext',
86
+ 'FileFlush',
87
+ 'FileGetInteger',
88
+ 'FileIsEnding',
89
+ 'FileIsExist',
90
+ 'FileIsLineEnding',
91
+ 'FileMove',
92
+ 'FileOpenHistory',
93
+ 'FileOpen',
94
+ 'FileReadArray',
95
+ 'FileReadBool',
96
+ 'FileReadDatetime',
97
+ 'FileReadDouble',
98
+ 'FileReadFloat',
99
+ 'FileReadInteger',
100
+ 'FileReadLong',
101
+ 'FileReadNumber',
102
+ 'FileReadString',
103
+ 'FileReadStruct',
104
+ 'FileSeek',
105
+ 'FileSize',
106
+ 'FileTell',
107
+ 'FileWriteArray',
108
+ 'FileWriteDouble',
109
+ 'FileWriteFloat',
110
+ 'FileWriteInteger',
111
+ 'FileWriteLong',
112
+ 'FileWriteString',
113
+ 'FileWriteStruct',
114
+ 'FileWrite',
115
+ 'FolderClean',
116
+ 'FolderCreate',
117
+ 'FolderDelete',
118
+ 'GetLastError',
119
+ 'GetPointer',
120
+ 'GetTickCount',
121
+ 'GlobalVariableCheck',
122
+ 'GlobalVariableDel',
123
+ 'GlobalVariableGet',
124
+ 'GlobalVariableName',
125
+ 'GlobalVariableSetOnCondition',
126
+ 'GlobalVariableSet',
127
+ 'GlobalVariableTemp',
128
+ 'GlobalVariableTime',
129
+ 'GlobalVariablesDeleteAll',
130
+ 'GlobalVariablesFlush',
131
+ 'GlobalVariablesTotal',
132
+ 'HideTestIndicators',
133
+ 'Hour',
134
+ 'IndicatorBuffers',
135
+ 'IndicatorCounted',
136
+ 'IndicatorDigits',
137
+ 'IndicatorSetDouble',
138
+ 'IndicatorSetInteger',
139
+ 'IndicatorSetString',
140
+ 'IndicatorShortName',
141
+ 'IntegerToString',
142
+ 'IsConnected',
143
+ 'IsDemo',
144
+ 'IsDllsAllowed',
145
+ 'IsExpertEnabled',
146
+ 'IsLibrariesAllowed',
147
+ 'IsOptimization',
148
+ 'IsStopped',
149
+ 'IsTesting',
150
+ 'IsTradeAllowed',
151
+ 'IsTradeContextBusy',
152
+ 'IsVisualMode',
153
+ 'MQLInfoInteger',
154
+ 'MQLInfoString',
155
+ 'MarketInfo',
156
+ 'MathAbs',
157
+ 'MathArccos',
158
+ 'MathArcsin',
159
+ 'MathArctan',
160
+ 'MathCeil',
161
+ 'MathCos',
162
+ 'MathExp',
163
+ 'MathFloor',
164
+ 'MathIsValidNumber',
165
+ 'MathLog',
166
+ 'MathMax',
167
+ 'MathMin',
168
+ 'MathMod',
169
+ 'MathPow',
170
+ 'MathRand',
171
+ 'MathRound',
172
+ 'MathSin',
173
+ 'MathSqrt',
174
+ 'MathSrand',
175
+ 'MathTan',
176
+ 'MessageBox',
177
+ 'Minute',
178
+ 'Month',
179
+ 'NormalizeDouble',
180
+ 'ObjectCreate',
181
+ 'ObjectDelete',
182
+ 'ObjectDescription',
183
+ 'ObjectFind',
184
+ 'ObjectGetDouble',
185
+ 'ObjectGetFiboDescription',
186
+ 'ObjectGetInteger',
187
+ 'ObjectGetShiftByValue',
188
+ 'ObjectGetString',
189
+ 'ObjectGetTimeByValue',
190
+ 'ObjectGetValueByShift',
191
+ 'ObjectGetValueByTime',
192
+ 'ObjectGet',
193
+ 'ObjectMove',
194
+ 'ObjectName',
195
+ 'ObjectSetDouble',
196
+ 'ObjectSetFiboDescription',
197
+ 'ObjectSetInteger',
198
+ 'ObjectSetString',
199
+ 'ObjectSetText',
200
+ 'ObjectSet',
201
+ 'ObjectType',
202
+ 'ObjectsDeleteAll',
203
+ 'ObjectsTotal',
204
+ 'OrderCloseBy',
205
+ 'OrderClosePrice',
206
+ 'OrderCloseTime',
207
+ 'OrderClose',
208
+ 'OrderComment',
209
+ 'OrderCommission',
210
+ 'OrderDelete',
211
+ 'OrderExpiration',
212
+ 'OrderLots',
213
+ 'OrderMagicNumber',
214
+ 'OrderModify',
215
+ 'OrderOpenPrice',
216
+ 'OrderOpenTime',
217
+ 'OrderPrint',
218
+ 'OrderProfit',
219
+ 'OrderSelect',
220
+ 'OrderSend',
221
+ 'OrderStopLoss',
222
+ 'OrderSwap',
223
+ 'OrderSymbol',
224
+ 'OrderTakeProfit',
225
+ 'OrderTicket',
226
+ 'OrderType',
227
+ 'OrdersHistoryTotal',
228
+ 'OrdersTotal',
229
+ 'PeriodSeconds',
230
+ 'Period',
231
+ 'PlaySound',
232
+ 'Point',
233
+ 'PrintFormat',
234
+ 'Print',
235
+ 'RefreshRates',
236
+ 'ResetLastError',
237
+ 'ResourceCreate',
238
+ 'ResourceFree',
239
+ 'ResourceReadImage',
240
+ 'ResourceSave',
241
+ 'Seconds',
242
+ 'SendFTP',
243
+ 'SendMail',
244
+ 'SendNotification',
245
+ 'SeriesInfoInteger',
246
+ 'SetIndexArrow',
247
+ 'SetIndexBuffer',
248
+ 'SetIndexDrawBegin',
249
+ 'SetIndexEmptyValue',
250
+ 'SetIndexLabel',
251
+ 'SetIndexShift',
252
+ 'SetIndexStyle',
253
+ 'SetLevelStyle',
254
+ 'SetLevelValue',
255
+ 'ShortArrayToString',
256
+ 'ShortToString',
257
+ 'Sleep',
258
+ 'StrToDouble',
259
+ 'StrToInteger',
260
+ 'StrToTime',
261
+ 'StringAdd',
262
+ 'StringBufferLen',
263
+ 'StringCompare',
264
+ 'StringConcatenate',
265
+ 'StringFill',
266
+ 'StringFind',
267
+ 'StringFormat',
268
+ 'StringGetCharacter',
269
+ 'StringGetChar',
270
+ 'StringInit',
271
+ 'StringLen',
272
+ 'StringReplace',
273
+ 'StringSetCharacter',
274
+ 'StringSetChar',
275
+ 'StringSplit',
276
+ 'StringSubstr',
277
+ 'StringToCharArray',
278
+ 'StringToColor',
279
+ 'StringToDouble',
280
+ 'StringToInteger',
281
+ 'StringToLower',
282
+ 'StringToShortArray',
283
+ 'StringToTime',
284
+ 'StringToUpper',
285
+ 'StringTrimLeft',
286
+ 'StringTrimRight',
287
+ 'StructToTime',
288
+ 'SymbolInfoDouble',
289
+ 'SymbolInfoInteger',
290
+ 'SymbolInfoSessionQuote',
291
+ 'SymbolInfoSessionTrade',
292
+ 'SymbolInfoString',
293
+ 'SymbolInfoTick',
294
+ 'SymbolIsSynchronized',
295
+ 'SymbolName',
296
+ 'SymbolSelect',
297
+ 'SymbolsTotal',
298
+ 'Symbol',
299
+ 'TerminalClose',
300
+ 'TerminalCompany',
301
+ 'TerminalName',
302
+ 'TerminalPath',
303
+ 'TesterStatistics',
304
+ 'TextGetSize',
305
+ 'TextOut',
306
+ 'TextSetFont',
307
+ 'TimeCurrent',
308
+ 'TimeDayOfWeek',
309
+ 'TimeDayOfYear',
310
+ 'TimeDaylightSavings',
311
+ 'TimeDay',
312
+ 'TimeGMTOffset',
313
+ 'TimeGMT',
314
+ 'TimeHour',
315
+ 'TimeLocal',
316
+ 'TimeMinute',
317
+ 'TimeMonth',
318
+ 'TimeSeconds',
319
+ 'TimeToString',
320
+ 'TimeToStruct',
321
+ 'TimeToStr',
322
+ 'TimeTradeServer',
323
+ 'TimeYear',
324
+ 'UninitializeReason',
325
+ 'WindowBarsPerChart',
326
+ 'WindowExpertName',
327
+ 'WindowFind',
328
+ 'WindowFirstVisibleBar',
329
+ 'WindowHandle',
330
+ 'WindowIsVisible',
331
+ 'WindowOnDropped',
332
+ 'WindowPriceMax',
333
+ 'WindowPriceMin',
334
+ 'WindowPriceOnDropped',
335
+ 'WindowRedraw',
336
+ 'WindowScreenShot',
337
+ 'WindowTimeOnDropped',
338
+ 'WindowXOnDropped',
339
+ 'WindowYOnDropped',
340
+ 'WindowsTotal',
341
+ 'Year',
342
+ 'ZeroMemory',
343
+ 'iAC',
344
+ 'iADX',
345
+ 'iAD',
346
+ 'iAO',
347
+ 'iATR',
348
+ 'iAlligator',
349
+ 'iBWMFI',
350
+ 'iBandsOnArray',
351
+ 'iBands',
352
+ 'iBarShift',
353
+ 'iBars',
354
+ 'iBearsPower',
355
+ 'iBullsPower',
356
+ 'iCCIOnArray',
357
+ 'iCCI',
358
+ 'iClose',
359
+ 'iCustom',
360
+ 'iDeMarker',
361
+ 'iEnvelopesOnArray',
362
+ 'iEnvelopes',
363
+ 'iForce',
364
+ 'iFractals',
365
+ 'iGator',
366
+ 'iHighest',
367
+ 'iHigh',
368
+ 'iIchimoku',
369
+ 'iLowest',
370
+ 'iLow',
371
+ 'iMACD',
372
+ 'iMAOnArray',
373
+ 'iMA',
374
+ 'iMFI',
375
+ 'iMomentumOnArray',
376
+ 'iMomentum',
377
+ 'iOBV',
378
+ 'iOpen',
379
+ 'iOsMA',
380
+ 'iRSIOnArray',
381
+ 'iRSI',
382
+ 'iRVI',
383
+ 'iSAR',
384
+ 'iStdDevOnArray',
385
+ 'iStdDev',
386
+ 'iStochastic',
387
+ 'iTime',
388
+ 'iVolume',
389
+ 'iWPR',
390
+ )
391
+
392
+ constants = (
393
+ 'ACCOUNT_BALANCE',
394
+ 'ACCOUNT_COMPANY',
395
+ 'ACCOUNT_CREDIT',
396
+ 'ACCOUNT_CURRENCY',
397
+ 'ACCOUNT_EQUITY',
398
+ 'ACCOUNT_FREEMARGIN',
399
+ 'ACCOUNT_LEVERAGE',
400
+ 'ACCOUNT_LIMIT_ORDERS',
401
+ 'ACCOUNT_LOGIN',
402
+ 'ACCOUNT_MARGIN',
403
+ 'ACCOUNT_MARGIN_LEVEL',
404
+ 'ACCOUNT_MARGIN_SO_CALL',
405
+ 'ACCOUNT_MARGIN_SO_MODE',
406
+ 'ACCOUNT_MARGIN_SO_SO',
407
+ 'ACCOUNT_NAME',
408
+ 'ACCOUNT_PROFIT',
409
+ 'ACCOUNT_SERVER',
410
+ 'ACCOUNT_STOPOUT_MODE_MONEY',
411
+ 'ACCOUNT_STOPOUT_MODE_PERCENT',
412
+ 'ACCOUNT_TRADE_ALLOWED',
413
+ 'ACCOUNT_TRADE_EXPERT',
414
+ 'ACCOUNT_TRADE_MODE',
415
+ 'ACCOUNT_TRADE_MODE_CONTEST',
416
+ 'ACCOUNT_TRADE_MODE_DEMO',
417
+ 'ACCOUNT_TRADE_MODE_REAL',
418
+ 'ALIGN_CENTER',
419
+ 'ALIGN_LEFT',
420
+ 'ALIGN_RIGHT',
421
+ 'ANCHOR_BOTTOM',
422
+ 'ANCHOR_CENTER',
423
+ 'ANCHOR_LEFT',
424
+ 'ANCHOR_LEFT_LOWER',
425
+ 'ANCHOR_LEFT_UPPER',
426
+ 'ANCHOR_LOWER',
427
+ 'ANCHOR_RIGHT',
428
+ 'ANCHOR_RIGHT_LOWER',
429
+ 'ANCHOR_RIGHT_UPPER',
430
+ 'ANCHOR_TOP',
431
+ 'ANCHOR_UPPER',
432
+ 'BORDER_FLAT',
433
+ 'BORDER_RAISED',
434
+ 'BORDER_SUNKEN',
435
+ 'CHARTEVENT_CHART_CHANGE',
436
+ 'CHARTEVENT_CLICK',
437
+ 'CHARTEVENT_CUSTOM',
438
+ 'CHARTEVENT_CUSTOM_LAST',
439
+ 'CHARTEVENT_KEYDOWN',
440
+ 'CHARTEVENT_MOUSE_MOVE',
441
+ 'CHARTEVENT_OBJECT_CHANGE',
442
+ 'CHARTEVENT_OBJECT_CLICK',
443
+ 'CHARTEVENT_OBJECT_CREATE',
444
+ 'CHARTEVENT_OBJECT_DELETE',
445
+ 'CHARTEVENT_OBJECT_DRAG',
446
+ 'CHARTEVENT_OBJECT_ENDEDIT',
447
+ 'CHARTS_MAX',
448
+ 'CHART_AUTOSCROLL',
449
+ 'CHART_BARS',
450
+ 'CHART_BEGIN',
451
+ 'CHART_BRING_TO_TOP',
452
+ 'CHART_CANDLES',
453
+ 'CHART_COLOR_ASK',
454
+ 'CHART_COLOR_BACKGROUND',
455
+ 'CHART_COLOR_BID',
456
+ 'CHART_COLOR_CANDLE_BEAR',
457
+ 'CHART_COLOR_CANDLE_BULL',
458
+ 'CHART_COLOR_CHART_DOWN',
459
+ 'CHART_COLOR_CHART_LINE',
460
+ 'CHART_COLOR_CHART_UP',
461
+ 'CHART_COLOR_FOREGROUND',
462
+ 'CHART_COLOR_GRID',
463
+ 'CHART_COLOR_LAST',
464
+ 'CHART_COLOR_STOP_LEVEL',
465
+ 'CHART_COLOR_VOLUME',
466
+ 'CHART_COMMENT',
467
+ 'CHART_CURRENT_POS',
468
+ 'CHART_DRAG_TRADE_LEVELS',
469
+ 'CHART_END',
470
+ 'CHART_EVENT_MOUSE_MOVE',
471
+ 'CHART_EVENT_OBJECT_CREATE',
472
+ 'CHART_EVENT_OBJECT_DELETE',
473
+ 'CHART_FIRST_VISIBLE_BAR',
474
+ 'CHART_FIXED_MAX',
475
+ 'CHART_FIXED_MIN',
476
+ 'CHART_FIXED_POSITION',
477
+ 'CHART_FOREGROUND',
478
+ 'CHART_HEIGHT_IN_PIXELS',
479
+ 'CHART_IS_OBJECT',
480
+ 'CHART_LINE',
481
+ 'CHART_MODE',
482
+ 'CHART_MOUSE_SCROLL',
483
+ 'CHART_POINTS_PER_BAR',
484
+ 'CHART_PRICE_MAX',
485
+ 'CHART_PRICE_MIN',
486
+ 'CHART_SCALEFIX',
487
+ 'CHART_SCALEFIX_11',
488
+ 'CHART_SCALE',
489
+ 'CHART_SCALE_PT_PER_BAR',
490
+ 'CHART_SHIFT',
491
+ 'CHART_SHIFT_SIZE',
492
+ 'CHART_SHOW_ASK_LINE',
493
+ 'CHART_SHOW_BID_LINE',
494
+ 'CHART_SHOW_DATE_SCALE',
495
+ 'CHART_SHOW_GRID',
496
+ 'CHART_SHOW_LAST_LINE',
497
+ 'CHART_SHOW_OBJECT_DESCR',
498
+ 'CHART_SHOW_OHLC',
499
+ 'CHART_SHOW_PERIOD_SEP',
500
+ 'CHART_SHOW_PRICE_SCALE',
501
+ 'CHART_SHOW_TRADE_LEVELS',
502
+ 'CHART_SHOW_VOLUMES',
503
+ 'CHART_VISIBLE_BARS',
504
+ 'CHART_VOLUME_HIDE',
505
+ 'CHART_VOLUME_REAL',
506
+ 'CHART_VOLUME_TICK',
507
+ 'CHART_WIDTH_IN_BARS',
508
+ 'CHART_WIDTH_IN_PIXELS',
509
+ 'CHART_WINDOWS_TOTAL',
510
+ 'CHART_WINDOW_HANDLE',
511
+ 'CHART_WINDOW_IS_VISIBLE',
512
+ 'CHART_WINDOW_YDISTANCE',
513
+ 'CHAR_MAX',
514
+ 'CHAR_MIN',
515
+ 'CLR_NONE',
516
+ 'CORNER_LEFT_LOWER',
517
+ 'CORNER_LEFT_UPPER',
518
+ 'CORNER_RIGHT_LOWER',
519
+ 'CORNER_RIGHT_UPPER',
520
+ 'CP_ACP',
521
+ 'CP_MACCP',
522
+ 'CP_OEMCP',
523
+ 'CP_SYMBOL',
524
+ 'CP_THREAD_ACP',
525
+ 'CP_UTF7',
526
+ 'CP_UTF8',
527
+ 'DBL_DIG',
528
+ 'DBL_EPSILON',
529
+ 'DBL_MANT_DIG',
530
+ 'DBL_MAX',
531
+ 'DBL_MAX_10_EXP',
532
+ 'DBL_MAX_EXP',
533
+ 'DBL_MIN',
534
+ 'DBL_MIN_10_EXP',
535
+ 'DBL_MIN_EXP',
536
+ 'DRAW_ARROW',
537
+ 'DRAW_FILLING',
538
+ 'DRAW_HISTOGRAM',
539
+ 'DRAW_LINE',
540
+ 'DRAW_NONE',
541
+ 'DRAW_SECTION',
542
+ 'DRAW_ZIGZAG',
543
+ 'EMPTY',
544
+ 'EMPTY_VALUE',
545
+ 'ERR_ACCOUNT_DISABLED',
546
+ 'ERR_BROKER_BUSY',
547
+ 'ERR_COMMON_ERROR',
548
+ 'ERR_INVALID_ACCOUNT',
549
+ 'ERR_INVALID_PRICE',
550
+ 'ERR_INVALID_STOPS',
551
+ 'ERR_INVALID_TRADE_PARAMETERS',
552
+ 'ERR_INVALID_TRADE_VOLUME',
553
+ 'ERR_LONG_POSITIONS_ONLY_ALLOWED',
554
+ 'ERR_MALFUNCTIONAL_TRADE',
555
+ 'ERR_MARKET_CLOSED',
556
+ 'ERR_NOT_ENOUGH_MONEY',
557
+ 'ERR_NOT_ENOUGH_RIGHTS',
558
+ 'ERR_NO_CONNECTION',
559
+ 'ERR_NO_ERROR',
560
+ 'ERR_NO_RESULT',
561
+ 'ERR_OFF_QUOTES',
562
+ 'ERR_OLD_VERSION',
563
+ 'ERR_ORDER_LOCKED',
564
+ 'ERR_PRICE_CHANGED',
565
+ 'ERR_REQUOTE',
566
+ 'ERR_SERVER_BUSY',
567
+ 'ERR_TOO_FREQUENT_REQUESTS',
568
+ 'ERR_TOO_MANY_REQUESTS',
569
+ 'ERR_TRADE_CONTEXT_BUSY',
570
+ 'ERR_TRADE_DISABLED',
571
+ 'ERR_TRADE_EXPIRATION_DENIED',
572
+ 'ERR_TRADE_HEDGE_PROHIBITED',
573
+ 'ERR_TRADE_MODIFY_DENIED',
574
+ 'ERR_TRADE_PROHIBITED_BY_FIFO',
575
+ 'ERR_TRADE_TIMEOUT',
576
+ 'ERR_TRADE_TOO_MANY_ORDERS',
577
+ 'FILE_ACCESS_DATE',
578
+ 'FILE_ANSI',
579
+ 'FILE_BIN',
580
+ 'FILE_COMMON',
581
+ 'FILE_CREATE_DATE',
582
+ 'FILE_CSV',
583
+ 'FILE_END',
584
+ 'FILE_EXISTS',
585
+ 'FILE_IS_ANSI',
586
+ 'FILE_IS_BINARY',
587
+ 'FILE_IS_COMMON',
588
+ 'FILE_IS_CSV',
589
+ 'FILE_IS_READABLE',
590
+ 'FILE_IS_TEXT',
591
+ 'FILE_IS_WRITABLE',
592
+ 'FILE_LINE_END',
593
+ 'FILE_MODIFY_DATE',
594
+ 'FILE_POSITION',
595
+ 'FILE_READ',
596
+ 'FILE_REWRITE',
597
+ 'FILE_SHARE_READ',
598
+ 'FILE_SHARE_WRITE',
599
+ 'FILE_SIZE',
600
+ 'FILE_TXT',
601
+ 'FILE_UNICODE',
602
+ 'FILE_WRITE',
603
+ 'FLT_DIG',
604
+ 'FLT_EPSILON',
605
+ 'FLT_MANT_DIG',
606
+ 'FLT_MAX',
607
+ 'FLT_MAX_10_EXP',
608
+ 'FLT_MAX_EXP',
609
+ 'FLT_MIN',
610
+ 'FLT_MIN_10_EXP',
611
+ 'FLT_MIN_EXP',
612
+ 'FRIDAY',
613
+ 'GANN_DOWN_TREND',
614
+ 'GANN_UP_TREND',
615
+ 'IDABORT',
616
+ 'IDCANCEL',
617
+ 'IDCONTINUE',
618
+ 'IDIGNORE',
619
+ 'IDNO',
620
+ 'IDOK',
621
+ 'IDRETRY',
622
+ 'IDTRYAGAIN',
623
+ 'IDYES',
624
+ 'INDICATOR_CALCULATIONS',
625
+ 'INDICATOR_COLOR_INDEX',
626
+ 'INDICATOR_DATA',
627
+ 'INDICATOR_DIGITS',
628
+ 'INDICATOR_HEIGHT',
629
+ 'INDICATOR_LEVELCOLOR',
630
+ 'INDICATOR_LEVELSTYLE',
631
+ 'INDICATOR_LEVELS',
632
+ 'INDICATOR_LEVELTEXT',
633
+ 'INDICATOR_LEVELVALUE',
634
+ 'INDICATOR_LEVELWIDTH',
635
+ 'INDICATOR_MAXIMUM',
636
+ 'INDICATOR_MINIMUM',
637
+ 'INDICATOR_SHORTNAME',
638
+ 'INT_MAX',
639
+ 'INT_MIN',
640
+ 'INVALID_HANDLE',
641
+ 'IS_DEBUG_MODE',
642
+ 'IS_PROFILE_MODE',
643
+ 'LICENSE_DEMO',
644
+ 'LICENSE_FREE',
645
+ 'LICENSE_FULL',
646
+ 'LICENSE_TIME',
647
+ 'LONG_MAX',
648
+ 'LONG_MIN',
649
+ 'MB_ABORTRETRYIGNORE',
650
+ 'MB_CANCELTRYCONTINUE',
651
+ 'MB_DEFBUTTON1',
652
+ 'MB_DEFBUTTON2',
653
+ 'MB_DEFBUTTON3',
654
+ 'MB_DEFBUTTON4',
655
+ 'MB_ICONASTERISK',
656
+ 'MB_ICONERROR',
657
+ 'MB_ICONEXCLAMATION',
658
+ 'MB_ICONHAND',
659
+ 'MB_ICONINFORMATION',
660
+ 'MB_ICONQUESTION',
661
+ 'MB_ICONSTOP',
662
+ 'MB_ICONWARNING',
663
+ 'MB_OKCANCEL',
664
+ 'MB_OK',
665
+ 'MB_RETRYCANCEL',
666
+ 'MB_YESNOCANCEL',
667
+ 'MB_YESNO',
668
+ 'MODE_ASK',
669
+ 'MODE_BID',
670
+ 'MODE_CHINKOUSPAN',
671
+ 'MODE_CLOSE',
672
+ 'MODE_DIGITS',
673
+ 'MODE_EMA',
674
+ 'MODE_EXPIRATION',
675
+ 'MODE_FREEZELEVEL',
676
+ 'MODE_GATORJAW',
677
+ 'MODE_GATORLIPS',
678
+ 'MODE_GATORTEETH',
679
+ 'MODE_HIGH',
680
+ 'MODE_KIJUNSEN',
681
+ 'MODE_LOTSIZE',
682
+ 'MODE_LOTSTEP',
683
+ 'MODE_LOWER',
684
+ 'MODE_LOW',
685
+ 'MODE_LWMA',
686
+ 'MODE_MAIN',
687
+ 'MODE_MARGINCALCMODE',
688
+ 'MODE_MARGINHEDGED',
689
+ 'MODE_MARGININIT',
690
+ 'MODE_MARGINMAINTENANCE',
691
+ 'MODE_MARGINREQUIRED',
692
+ 'MODE_MAXLOT',
693
+ 'MODE_MINLOT',
694
+ 'MODE_MINUSDI',
695
+ 'MODE_OPEN',
696
+ 'MODE_PLUSDI',
697
+ 'MODE_POINT',
698
+ 'MODE_PROFITCALCMODE',
699
+ 'MODE_SENKOUSPANA',
700
+ 'MODE_SENKOUSPANB',
701
+ 'MODE_SIGNAL',
702
+ 'MODE_SMA',
703
+ 'MODE_SMMA',
704
+ 'MODE_SPREAD',
705
+ 'MODE_STARTING',
706
+ 'MODE_STOPLEVEL',
707
+ 'MODE_SWAPLONG',
708
+ 'MODE_SWAPSHORT',
709
+ 'MODE_SWAPTYPE',
710
+ 'MODE_TENKANSEN',
711
+ 'MODE_TICKSIZE',
712
+ 'MODE_TICKVALUE',
713
+ 'MODE_TIME',
714
+ 'MODE_TRADEALLOWED',
715
+ 'MODE_UPPER',
716
+ 'MODE_VOLUME',
717
+ 'MONDAY',
718
+ 'MQL_DEBUG',
719
+ 'MQL_DLLS_ALLOWED',
720
+ 'MQL_FRAME_MODE',
721
+ 'MQL_LICENSE_TYPE',
722
+ 'MQL_OPTIMIZATION',
723
+ 'MQL_PROFILER',
724
+ 'MQL_PROGRAM_NAME',
725
+ 'MQL_PROGRAM_PATH',
726
+ 'MQL_PROGRAM_TYPE',
727
+ 'MQL_TESTER',
728
+ 'MQL_TRADE_ALLOWED',
729
+ 'MQL_VISUAL_MODE',
730
+ 'M_1_PI',
731
+ 'M_2_PI',
732
+ 'M_2_SQRTPI',
733
+ 'M_E',
734
+ 'M_LN2',
735
+ 'M_LN10',
736
+ 'M_LOG2E',
737
+ 'M_LOG10E',
738
+ 'M_PI',
739
+ 'M_PI_2',
740
+ 'M_PI_4',
741
+ 'M_SQRT1_2',
742
+ 'M_SQRT2',
743
+ 'NULL',
744
+ 'OBJPROP_ALIGN',
745
+ 'OBJPROP_ANCHOR',
746
+ 'OBJPROP_ANGLE',
747
+ 'OBJPROP_ARROWCODE',
748
+ 'OBJPROP_BACK',
749
+ 'OBJPROP_BGCOLOR',
750
+ 'OBJPROP_BMPFILE',
751
+ 'OBJPROP_BORDER_COLOR',
752
+ 'OBJPROP_BORDER_TYPE',
753
+ 'OBJPROP_CHART_ID',
754
+ 'OBJPROP_CHART_SCALE',
755
+ 'OBJPROP_COLOR',
756
+ 'OBJPROP_CORNER',
757
+ 'OBJPROP_CREATETIME',
758
+ 'OBJPROP_DATE_SCALE',
759
+ 'OBJPROP_DEVIATION',
760
+ 'OBJPROP_DRAWLINES',
761
+ 'OBJPROP_ELLIPSE',
762
+ 'OBJPROP_FIBOLEVELS',
763
+ 'OBJPROP_FILL',
764
+ 'OBJPROP_FIRSTLEVEL',
765
+ 'OBJPROP_FONTSIZE',
766
+ 'OBJPROP_FONT',
767
+ 'OBJPROP_HIDDEN',
768
+ 'OBJPROP_LEVELCOLOR',
769
+ 'OBJPROP_LEVELSTYLE',
770
+ 'OBJPROP_LEVELS',
771
+ 'OBJPROP_LEVELTEXT',
772
+ 'OBJPROP_LEVELVALUE',
773
+ 'OBJPROP_LEVELWIDTH',
774
+ 'OBJPROP_NAME',
775
+ 'OBJPROP_PERIOD',
776
+ 'OBJPROP_PRICE1',
777
+ 'OBJPROP_PRICE2',
778
+ 'OBJPROP_PRICE3',
779
+ 'OBJPROP_PRICE',
780
+ 'OBJPROP_PRICE_SCALE',
781
+ 'OBJPROP_RAY',
782
+ 'OBJPROP_RAY_RIGHT',
783
+ 'OBJPROP_READONLY',
784
+ 'OBJPROP_SCALE',
785
+ 'OBJPROP_SELECTABLE',
786
+ 'OBJPROP_SELECTED',
787
+ 'OBJPROP_STATE',
788
+ 'OBJPROP_STYLE',
789
+ 'OBJPROP_SYMBOL',
790
+ 'OBJPROP_TEXT',
791
+ 'OBJPROP_TIME1',
792
+ 'OBJPROP_TIME2',
793
+ 'OBJPROP_TIME3',
794
+ 'OBJPROP_TIMEFRAMES',
795
+ 'OBJPROP_TIME',
796
+ 'OBJPROP_TOOLTIP',
797
+ 'OBJPROP_TYPE',
798
+ 'OBJPROP_WIDTH',
799
+ 'OBJPROP_XDISTANCE',
800
+ 'OBJPROP_XOFFSET',
801
+ 'OBJPROP_XSIZE',
802
+ 'OBJPROP_YDISTANCE',
803
+ 'OBJPROP_YOFFSET',
804
+ 'OBJPROP_YSIZE',
805
+ 'OBJPROP_ZORDER',
806
+ 'OBJ_ALL_PERIODS',
807
+ 'OBJ_ARROW',
808
+ 'OBJ_ARROW_BUY',
809
+ 'OBJ_ARROW_CHECK',
810
+ 'OBJ_ARROW_DOWN',
811
+ 'OBJ_ARROW_LEFT_PRICE',
812
+ 'OBJ_ARROW_RIGHT_PRICE',
813
+ 'OBJ_ARROW_SELL',
814
+ 'OBJ_ARROW_STOP',
815
+ 'OBJ_ARROW_THUMB_DOWN',
816
+ 'OBJ_ARROW_THUMB_UP',
817
+ 'OBJ_ARROW_UP',
818
+ 'OBJ_BITMAP',
819
+ 'OBJ_BITMAP_LABEL',
820
+ 'OBJ_BUTTON',
821
+ 'OBJ_CHANNEL',
822
+ 'OBJ_CYCLES',
823
+ 'OBJ_EDIT',
824
+ 'OBJ_ELLIPSE',
825
+ 'OBJ_EVENT',
826
+ 'OBJ_EXPANSION',
827
+ 'OBJ_FIBOARC',
828
+ 'OBJ_FIBOCHANNEL',
829
+ 'OBJ_FIBOFAN',
830
+ 'OBJ_FIBOTIMES',
831
+ 'OBJ_FIBO',
832
+ 'OBJ_GANNFAN',
833
+ 'OBJ_GANNGRID',
834
+ 'OBJ_GANNLINE',
835
+ 'OBJ_HLINE',
836
+ 'OBJ_LABEL',
837
+ 'OBJ_NO_PERIODS',
838
+ 'OBJ_PERIOD_D1',
839
+ 'OBJ_PERIOD_H1',
840
+ 'OBJ_PERIOD_H4',
841
+ 'OBJ_PERIOD_M1',
842
+ 'OBJ_PERIOD_M5',
843
+ 'OBJ_PERIOD_M15',
844
+ 'OBJ_PERIOD_M30',
845
+ 'OBJ_PERIOD_MN1',
846
+ 'OBJ_PERIOD_W1',
847
+ 'OBJ_PITCHFORK',
848
+ 'OBJ_RECTANGLE',
849
+ 'OBJ_RECTANGLE_LABEL',
850
+ 'OBJ_REGRESSION',
851
+ 'OBJ_STDDEVCHANNEL',
852
+ 'OBJ_TEXT',
853
+ 'OBJ_TRENDBYANGLE',
854
+ 'OBJ_TREND',
855
+ 'OBJ_TRIANGLE',
856
+ 'OBJ_VLINE',
857
+ 'OP_BUYLIMIT',
858
+ 'OP_BUYSTOP',
859
+ 'OP_BUY',
860
+ 'OP_SELLLIMIT',
861
+ 'OP_SELLSTOP',
862
+ 'OP_SELL',
863
+ 'PERIOD_CURRENT',
864
+ 'PERIOD_D1',
865
+ 'PERIOD_H1',
866
+ 'PERIOD_H2',
867
+ 'PERIOD_H3',
868
+ 'PERIOD_H4',
869
+ 'PERIOD_H6',
870
+ 'PERIOD_H8',
871
+ 'PERIOD_H12',
872
+ 'PERIOD_M1',
873
+ 'PERIOD_M2',
874
+ 'PERIOD_M3',
875
+ 'PERIOD_M4',
876
+ 'PERIOD_M5',
877
+ 'PERIOD_M6',
878
+ 'PERIOD_M10',
879
+ 'PERIOD_M12',
880
+ 'PERIOD_M15',
881
+ 'PERIOD_M20',
882
+ 'PERIOD_M30',
883
+ 'PERIOD_MN1',
884
+ 'PERIOD_W1',
885
+ 'POINTER_AUTOMATIC',
886
+ 'POINTER_DYNAMIC',
887
+ 'POINTER_INVALID'
888
+ 'PRICE_CLOSE',
889
+ 'PRICE_HIGH',
890
+ 'PRICE_LOW',
891
+ 'PRICE_MEDIAN',
892
+ 'PRICE_OPEN',
893
+ 'PRICE_TYPICAL',
894
+ 'PRICE_WEIGHTED',
895
+ 'PROGRAM_EXPERT',
896
+ 'PROGRAM_INDICATOR',
897
+ 'PROGRAM_SCRIPT',
898
+ 'REASON_ACCOUNT',
899
+ 'REASON_CHARTCHANGE',
900
+ 'REASON_CHARTCLOSE',
901
+ 'REASON_CLOSE',
902
+ 'REASON_INITFAILED',
903
+ 'REASON_PARAMETERS',
904
+ 'REASON_PROGRAM'
905
+ 'REASON_RECOMPILE',
906
+ 'REASON_REMOVE',
907
+ 'REASON_TEMPLATE',
908
+ 'SATURDAY',
909
+ 'SEEK_CUR',
910
+ 'SEEK_END',
911
+ 'SEEK_SET',
912
+ 'SERIES_BARS_COUNT',
913
+ 'SERIES_FIRSTDATE',
914
+ 'SERIES_LASTBAR_DATE',
915
+ 'SERIES_SERVER_FIRSTDATE',
916
+ 'SERIES_SYNCHRONIZED',
917
+ 'SERIES_TERMINAL_FIRSTDATE',
918
+ 'SHORT_MAX',
919
+ 'SHORT_MIN',
920
+ 'STAT_BALANCEDD_PERCENT',
921
+ 'STAT_BALANCEMIN',
922
+ 'STAT_BALANCE_DDREL_PERCENT',
923
+ 'STAT_BALANCE_DD',
924
+ 'STAT_BALANCE_DD_RELATIVE',
925
+ 'STAT_CONLOSSMAX',
926
+ 'STAT_CONLOSSMAX_TRADES',
927
+ 'STAT_CONPROFITMAX',
928
+ 'STAT_CONPROFITMAX_TRADES',
929
+ 'STAT_CUSTOM_ONTESTER',
930
+ 'STAT_DEALS',
931
+ 'STAT_EQUITYDD_PERCENT',
932
+ 'STAT_EQUITYMIN',
933
+ 'STAT_EQUITY_DDREL_PERCENT',
934
+ 'STAT_EQUITY_DD',
935
+ 'STAT_EQUITY_DD_RELATIVE',
936
+ 'STAT_EXPECTED_PAYOFF',
937
+ 'STAT_GROSS_LOSS',
938
+ 'STAT_GROSS_PROFIT',
939
+ 'STAT_INITIAL_DEPOSIT',
940
+ 'STAT_LONG_TRADES',
941
+ 'STAT_LOSSTRADES_AVGCON',
942
+ 'STAT_LOSS_TRADES',
943
+ 'STAT_MAX_CONLOSSES',
944
+ 'STAT_MAX_CONLOSS_TRADES',
945
+ 'STAT_MAX_CONPROFIT_TRADES',
946
+ 'STAT_MAX_CONWINS',
947
+ 'STAT_MAX_LOSSTRADE',
948
+ 'STAT_MAX_PROFITTRADE',
949
+ 'STAT_MIN_MARGINLEVEL',
950
+ 'STAT_PROFITTRADES_AVGCON',
951
+ 'STAT_PROFIT',
952
+ 'STAT_PROFIT_FACTOR',
953
+ 'STAT_PROFIT_LONGTRADES',
954
+ 'STAT_PROFIT_SHORTTRADES',
955
+ 'STAT_PROFIT_TRADES',
956
+ 'STAT_RECOVERY_FACTOR',
957
+ 'STAT_SHARPE_RATIO',
958
+ 'STAT_SHORT_TRADES',
959
+ 'STAT_TRADES',
960
+ 'STAT_WITHDRAWAL',
961
+ 'STO_CLOSECLOSE',
962
+ 'STO_LOWHIGH',
963
+ 'STYLE_DASHDOTDOT',
964
+ 'STYLE_DASHDOT',
965
+ 'STYLE_DASH',
966
+ 'STYLE_DOT',
967
+ 'STYLE_SOLID',
968
+ 'SUNDAY',
969
+ 'SYMBOL_ARROWDOWN',
970
+ 'SYMBOL_ARROWUP',
971
+ 'SYMBOL_CHECKSIGN',
972
+ 'SYMBOL_LEFTPRICE',
973
+ 'SYMBOL_RIGHTPRICE',
974
+ 'SYMBOL_STOPSIGN',
975
+ 'SYMBOL_THUMBSDOWN',
976
+ 'SYMBOL_THUMBSUP',
977
+ 'TERMINAL_BUILD',
978
+ 'TERMINAL_CODEPAGE',
979
+ 'TERMINAL_COMMONDATA_PATH',
980
+ 'TERMINAL_COMPANY',
981
+ 'TERMINAL_CONNECTED',
982
+ 'TERMINAL_CPU_CORES',
983
+ 'TERMINAL_DATA_PATH',
984
+ 'TERMINAL_DISK_SPACE',
985
+ 'TERMINAL_DLLS_ALLOWED',
986
+ 'TERMINAL_EMAIL_ENABLED',
987
+ 'TERMINAL_FTP_ENABLED',
988
+ 'TERMINAL_LANGUAGE',
989
+ 'TERMINAL_MAXBARS',
990
+ 'TERMINAL_MEMORY_AVAILABLE',
991
+ 'TERMINAL_MEMORY_PHYSICAL',
992
+ 'TERMINAL_MEMORY_TOTAL',
993
+ 'TERMINAL_MEMORY_USED',
994
+ 'TERMINAL_NAME',
995
+ 'TERMINAL_OPENCL_SUPPORT',
996
+ 'TERMINAL_PATH',
997
+ 'TERMINAL_TRADE_ALLOWED',
998
+ 'TERMINAL_X64',
999
+ 'THURSDAY',
1000
+ 'TRADE_ACTION_DEAL',
1001
+ 'TRADE_ACTION_MODIFY',
1002
+ 'TRADE_ACTION_PENDING',
1003
+ 'TRADE_ACTION_REMOVE',
1004
+ 'TRADE_ACTION_SLTP',
1005
+ 'TUESDAY',
1006
+ 'UCHAR_MAX',
1007
+ 'UINT_MAX',
1008
+ 'ULONG_MAX',
1009
+ 'USHORT_MAX',
1010
+ 'VOLUME_REAL',
1011
+ 'VOLUME_TICK',
1012
+ 'WEDNESDAY',
1013
+ 'WHOLE_ARRAY',
1014
+ 'WRONG_VALUE',
1015
+ 'clrNONE',
1016
+ '__DATETIME__',
1017
+ '__DATE__',
1018
+ '__FILE__',
1019
+ '__FUNCSIG__',
1020
+ '__FUNCTION__',
1021
+ '__LINE__',
1022
+ '__MQL4BUILD__',
1023
+ '__MQLBUILD__',
1024
+ '__PATH__',
1025
+ )
1026
+
1027
+ colors = (
1028
+ 'AliceBlue',
1029
+ 'AntiqueWhite',
1030
+ 'Aquamarine',
1031
+ 'Aqua',
1032
+ 'Beige',
1033
+ 'Bisque',
1034
+ 'Black',
1035
+ 'BlanchedAlmond',
1036
+ 'BlueViolet',
1037
+ 'Blue',
1038
+ 'Brown',
1039
+ 'BurlyWood',
1040
+ 'CadetBlue',
1041
+ 'Chartreuse',
1042
+ 'Chocolate',
1043
+ 'Coral',
1044
+ 'CornflowerBlue',
1045
+ 'Cornsilk',
1046
+ 'Crimson',
1047
+ 'DarkBlue',
1048
+ 'DarkGoldenrod',
1049
+ 'DarkGray',
1050
+ 'DarkGreen',
1051
+ 'DarkKhaki',
1052
+ 'DarkOliveGreen',
1053
+ 'DarkOrange',
1054
+ 'DarkOrchid',
1055
+ 'DarkSalmon',
1056
+ 'DarkSeaGreen',
1057
+ 'DarkSlateBlue',
1058
+ 'DarkSlateGray',
1059
+ 'DarkTurquoise',
1060
+ 'DarkViolet',
1061
+ 'DeepPink',
1062
+ 'DeepSkyBlue',
1063
+ 'DimGray',
1064
+ 'DodgerBlue',
1065
+ 'FireBrick',
1066
+ 'ForestGreen',
1067
+ 'Gainsboro',
1068
+ 'Goldenrod',
1069
+ 'Gold',
1070
+ 'Gray',
1071
+ 'GreenYellow',
1072
+ 'Green',
1073
+ 'Honeydew',
1074
+ 'HotPink',
1075
+ 'IndianRed',
1076
+ 'Indigo',
1077
+ 'Ivory',
1078
+ 'Khaki',
1079
+ 'LavenderBlush',
1080
+ 'Lavender',
1081
+ 'LawnGreen',
1082
+ 'LemonChiffon',
1083
+ 'LightBlue',
1084
+ 'LightCoral',
1085
+ 'LightCyan',
1086
+ 'LightGoldenrod',
1087
+ 'LightGray',
1088
+ 'LightGreen',
1089
+ 'LightPink',
1090
+ 'LightSalmon',
1091
+ 'LightSeaGreen',
1092
+ 'LightSkyBlue',
1093
+ 'LightSlateGray',
1094
+ 'LightSteelBlue',
1095
+ 'LightYellow',
1096
+ 'LimeGreen',
1097
+ 'Lime',
1098
+ 'Linen',
1099
+ 'Magenta',
1100
+ 'Maroon',
1101
+ 'MediumAquamarine',
1102
+ 'MediumBlue',
1103
+ 'MediumOrchid',
1104
+ 'MediumPurple',
1105
+ 'MediumSeaGreen',
1106
+ 'MediumSlateBlue',
1107
+ 'MediumSpringGreen',
1108
+ 'MediumTurquoise',
1109
+ 'MediumVioletRed',
1110
+ 'MidnightBlue',
1111
+ 'MintCream',
1112
+ 'MistyRose',
1113
+ 'Moccasin',
1114
+ 'NavajoWhite',
1115
+ 'Navy',
1116
+ 'OldLace',
1117
+ 'OliveDrab',
1118
+ 'Olive',
1119
+ 'OrangeRed',
1120
+ 'Orange',
1121
+ 'Orchid',
1122
+ 'PaleGoldenrod',
1123
+ 'PaleGreen',
1124
+ 'PaleTurquoise',
1125
+ 'PaleVioletRed',
1126
+ 'PapayaWhip',
1127
+ 'PeachPuff',
1128
+ 'Peru',
1129
+ 'Pink',
1130
+ 'Plum',
1131
+ 'PowderBlue',
1132
+ 'Purple',
1133
+ 'Red',
1134
+ 'RosyBrown',
1135
+ 'RoyalBlue',
1136
+ 'SaddleBrown',
1137
+ 'Salmon',
1138
+ 'SandyBrown',
1139
+ 'SeaGreen',
1140
+ 'Seashell',
1141
+ 'Sienna',
1142
+ 'Silver',
1143
+ 'SkyBlue',
1144
+ 'SlateBlue',
1145
+ 'SlateGray',
1146
+ 'Snow',
1147
+ 'SpringGreen',
1148
+ 'SteelBlue',
1149
+ 'Tan',
1150
+ 'Teal',
1151
+ 'Thistle',
1152
+ 'Tomato',
1153
+ 'Turquoise',
1154
+ 'Violet',
1155
+ 'Wheat',
1156
+ 'WhiteSmoke',
1157
+ 'White',
1158
+ 'YellowGreen',
1159
+ 'Yellow',
1160
+ )
1161
+
1162
+ keywords = (
1163
+ 'input', '_Digits', '_Point', '_LastError', '_Period', '_RandomSeed',
1164
+ '_StopFlag', '_Symbol', '_UninitReason', 'Ask', 'Bars', 'Bid',
1165
+ 'Close', 'Digits', 'High', 'Low', 'Open', 'Point', 'Time',
1166
+ 'Volume',
1167
+ )
1168
+ c_types = (
1169
+ 'void', 'char', 'uchar', 'bool', 'short', 'ushort', 'int', 'uint',
1170
+ 'color', 'long', 'ulong', 'datetime', 'float', 'double',
1171
+ 'string',
1172
+ )
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_openedge_builtins.py ADDED
@@ -0,0 +1,2547 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._openedge_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Builtin list for the OpenEdgeLexer.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ OPENEDGEKEYWORDS = (
13
+ 'ABSOLUTE',
14
+ 'ABS',
15
+ 'ABSO',
16
+ 'ABSOL',
17
+ 'ABSOLU',
18
+ 'ABSOLUT',
19
+ 'ACCELERATOR',
20
+ 'ACCUMULATE',
21
+ 'ACCUM',
22
+ 'ACCUMU',
23
+ 'ACCUMUL',
24
+ 'ACCUMULA',
25
+ 'ACCUMULAT',
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
+ 'AMBIGUOUS',
54
+ 'AMBIG',
55
+ 'AMBIGU',
56
+ 'AMBIGUO',
57
+ 'AMBIGUOU',
58
+ 'ANALYZE',
59
+ 'ANALYZ',
60
+ 'AND',
61
+ 'ANSI-ONLY',
62
+ 'ANY',
63
+ 'ANYWHERE',
64
+ 'APPEND',
65
+ 'APPL-ALERT-BOXES',
66
+ 'APPL-ALERT',
67
+ 'APPL-ALERT-',
68
+ 'APPL-ALERT-B',
69
+ 'APPL-ALERT-BO',
70
+ 'APPL-ALERT-BOX',
71
+ 'APPL-ALERT-BOXE',
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
+ 'ASCENDING',
82
+ 'ASCE',
83
+ 'ASCEN',
84
+ 'ASCEND',
85
+ 'ASCENDI',
86
+ 'ASCENDIN',
87
+ 'ASK-OVERWRITE',
88
+ 'ASSEMBLY',
89
+ 'ASSIGN',
90
+ 'ASYNCHRONOUS',
91
+ 'ASYNC-REQUEST-COUNT',
92
+ 'ASYNC-REQUEST-HANDLE',
93
+ 'AT',
94
+ 'ATTACHED-PAIRLIST',
95
+ 'ATTR-SPACE',
96
+ 'ATTR',
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-COMPLETION',
108
+ 'AUTO-COMP',
109
+ 'AUTO-COMPL',
110
+ 'AUTO-COMPLE',
111
+ 'AUTO-COMPLET',
112
+ 'AUTO-COMPLETI',
113
+ 'AUTO-COMPLETIO',
114
+ 'AUTO-ENDKEY',
115
+ 'AUTO-END-KEY',
116
+ 'AUTO-GO',
117
+ 'AUTO-INDENT',
118
+ 'AUTO-IND',
119
+ 'AUTO-INDE',
120
+ 'AUTO-INDEN',
121
+ 'AUTOMATIC',
122
+ 'AUTO-RESIZE',
123
+ 'AUTO-RETURN',
124
+ 'AUTO-RET',
125
+ 'AUTO-RETU',
126
+ 'AUTO-RETUR',
127
+ 'AUTO-SYNCHRONIZE',
128
+ 'AUTO-ZAP',
129
+ 'AUTO-Z',
130
+ 'AUTO-ZA',
131
+ 'AVAILABLE',
132
+ 'AVAIL',
133
+ 'AVAILA',
134
+ 'AVAILAB',
135
+ 'AVAILABL',
136
+ 'AVAILABLE-FORMATS',
137
+ 'AVERAGE',
138
+ 'AVE',
139
+ 'AVER',
140
+ 'AVERA',
141
+ 'AVERAG',
142
+ 'AVG',
143
+ 'BACKGROUND',
144
+ 'BACK',
145
+ 'BACKG',
146
+ 'BACKGR',
147
+ 'BACKGRO',
148
+ 'BACKGROU',
149
+ 'BACKGROUN',
150
+ 'BACKWARDS',
151
+ 'BACKWARD',
152
+ 'BASE64-DECODE',
153
+ 'BASE64-ENCODE',
154
+ 'BASE-ADE',
155
+ 'BASE-KEY',
156
+ 'BATCH-MODE',
157
+ 'BATCH',
158
+ 'BATCH-',
159
+ 'BATCH-M',
160
+ 'BATCH-MO',
161
+ 'BATCH-MOD',
162
+ 'BATCH-SIZE',
163
+ 'BEFORE-HIDE',
164
+ 'BEFORE-H',
165
+ 'BEFORE-HI',
166
+ 'BEFORE-HID',
167
+ 'BEGIN-EVENT-GROUP',
168
+ 'BEGINS',
169
+ 'BELL',
170
+ 'BETWEEN',
171
+ 'BGCOLOR',
172
+ 'BGC',
173
+ 'BGCO',
174
+ 'BGCOL',
175
+ 'BGCOLO',
176
+ 'BIG-ENDIAN',
177
+ 'BINARY',
178
+ 'BIND',
179
+ 'BIND-WHERE',
180
+ 'BLANK',
181
+ 'BLOCK-ITERATION-DISPLAY',
182
+ 'BORDER-BOTTOM-CHARS',
183
+ 'BORDER-B',
184
+ 'BORDER-BO',
185
+ 'BORDER-BOT',
186
+ 'BORDER-BOTT',
187
+ 'BORDER-BOTTO',
188
+ 'BORDER-BOTTOM-PIXELS',
189
+ 'BORDER-BOTTOM-P',
190
+ 'BORDER-BOTTOM-PI',
191
+ 'BORDER-BOTTOM-PIX',
192
+ 'BORDER-BOTTOM-PIXE',
193
+ 'BORDER-BOTTOM-PIXEL',
194
+ 'BORDER-LEFT-CHARS',
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-PIXELS',
205
+ 'BORDER-LEFT-P',
206
+ 'BORDER-LEFT-PI',
207
+ 'BORDER-LEFT-PIX',
208
+ 'BORDER-LEFT-PIXE',
209
+ 'BORDER-LEFT-PIXEL',
210
+ 'BORDER-RIGHT-CHARS',
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-PIXELS',
222
+ 'BORDER-RIGHT-P',
223
+ 'BORDER-RIGHT-PI',
224
+ 'BORDER-RIGHT-PIX',
225
+ 'BORDER-RIGHT-PIXE',
226
+ 'BORDER-RIGHT-PIXEL',
227
+ 'BORDER-TOP-CHARS',
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-PIXELS',
237
+ 'BORDER-TOP-P',
238
+ 'BORDER-TOP-PI',
239
+ 'BORDER-TOP-PIX',
240
+ 'BORDER-TOP-PIXE',
241
+ 'BORDER-TOP-PIXEL',
242
+ 'BOX',
243
+ 'BOX-SELECTABLE',
244
+ 'BOX-SELECT',
245
+ 'BOX-SELECTA',
246
+ 'BOX-SELECTAB',
247
+ 'BOX-SELECTABL',
248
+ 'BREAK',
249
+ 'BROWSE',
250
+ 'BUFFER',
251
+ 'BUFFER-CHARS',
252
+ 'BUFFER-COMPARE',
253
+ 'BUFFER-COPY',
254
+ 'BUFFER-CREATE',
255
+ 'BUFFER-DELETE',
256
+ 'BUFFER-FIELD',
257
+ 'BUFFER-HANDLE',
258
+ 'BUFFER-LINES',
259
+ 'BUFFER-NAME',
260
+ 'BUFFER-RELEASE',
261
+ 'BUFFER-VALUE',
262
+ 'BUTTON',
263
+ 'BUTTONS',
264
+ 'BY',
265
+ 'BY-POINTER',
266
+ 'BY-VARIANT-POINTER',
267
+ 'CACHE',
268
+ 'CACHE-SIZE',
269
+ 'CALL',
270
+ 'CALL-NAME',
271
+ 'CALL-TYPE',
272
+ 'CANCEL-BREAK',
273
+ 'CANCEL-BUTTON',
274
+ 'CAN-CREATE',
275
+ 'CAN-DELETE',
276
+ 'CAN-DO',
277
+ 'CAN-FIND',
278
+ 'CAN-QUERY',
279
+ 'CAN-READ',
280
+ 'CAN-SET',
281
+ 'CAN-WRITE',
282
+ 'CAPS',
283
+ 'CAREFUL-PAINT',
284
+ 'CASE',
285
+ 'CASE-SENSITIVE',
286
+ 'CASE-SEN',
287
+ 'CASE-SENS',
288
+ 'CASE-SENSI',
289
+ 'CASE-SENSIT',
290
+ 'CASE-SENSITI',
291
+ 'CASE-SENSITIV',
292
+ 'CAST',
293
+ 'CATCH',
294
+ 'CDECL',
295
+ 'CENTERED',
296
+ 'CENTER',
297
+ 'CENTERE',
298
+ 'CHAINED',
299
+ 'CHARACTER_LENGTH',
300
+ 'CHARSET',
301
+ 'CHECK',
302
+ 'CHECKED',
303
+ 'CHOOSE',
304
+ 'CHR',
305
+ 'CLASS',
306
+ 'CLASS-TYPE',
307
+ 'CLEAR',
308
+ 'CLEAR-APPL-CONTEXT',
309
+ 'CLEAR-LOG',
310
+ 'CLEAR-SELECTION',
311
+ 'CLEAR-SELECT',
312
+ 'CLEAR-SELECTI',
313
+ 'CLEAR-SELECTIO',
314
+ 'CLEAR-SORT-ARROWS',
315
+ 'CLEAR-SORT-ARROW',
316
+ 'CLIENT-CONNECTION-ID',
317
+ 'CLIENT-PRINCIPAL',
318
+ 'CLIENT-TTY',
319
+ 'CLIENT-TYPE',
320
+ 'CLIENT-WORKSTATION',
321
+ 'CLIPBOARD',
322
+ 'CLOSE',
323
+ 'CLOSE-LOG',
324
+ 'CODE',
325
+ 'CODEBASE-LOCATOR',
326
+ 'CODEPAGE',
327
+ 'CODEPAGE-CONVERT',
328
+ 'COLLATE',
329
+ 'COL-OF',
330
+ 'COLON',
331
+ 'COLON-ALIGNED',
332
+ 'COLON-ALIGN',
333
+ 'COLON-ALIGNE',
334
+ 'COLOR',
335
+ 'COLOR-TABLE',
336
+ 'COLUMN',
337
+ 'COL',
338
+ 'COLU',
339
+ 'COLUM',
340
+ 'COLUMN-BGCOLOR',
341
+ 'COLUMN-DCOLOR',
342
+ 'COLUMN-FGCOLOR',
343
+ 'COLUMN-FONT',
344
+ 'COLUMN-LABEL',
345
+ 'COLUMN-LAB',
346
+ 'COLUMN-LABE',
347
+ 'COLUMN-MOVABLE',
348
+ 'COLUMN-OF',
349
+ 'COLUMN-PFCOLOR',
350
+ 'COLUMN-READ-ONLY',
351
+ 'COLUMN-RESIZABLE',
352
+ 'COLUMNS',
353
+ 'COLUMN-SCROLLING',
354
+ 'COMBO-BOX',
355
+ 'COMMAND',
356
+ 'COMPARES',
357
+ 'COMPILE',
358
+ 'COMPILER',
359
+ 'COMPLETE',
360
+ 'COM-SELF',
361
+ 'CONFIG-NAME',
362
+ 'CONNECT',
363
+ 'CONNECTED',
364
+ 'CONSTRUCTOR',
365
+ 'CONTAINS',
366
+ 'CONTENTS',
367
+ 'CONTEXT',
368
+ 'CONTEXT-HELP',
369
+ 'CONTEXT-HELP-FILE',
370
+ 'CONTEXT-HELP-ID',
371
+ 'CONTEXT-POPUP',
372
+ 'CONTROL',
373
+ 'CONTROL-BOX',
374
+ 'CONTROL-FRAME',
375
+ 'CONVERT',
376
+ 'CONVERT-3D-COLORS',
377
+ 'CONVERT-TO-OFFSET',
378
+ 'CONVERT-TO-OFFS',
379
+ 'CONVERT-TO-OFFSE',
380
+ 'COPY-DATASET',
381
+ 'COPY-LOB',
382
+ 'COPY-SAX-ATTRIBUTES',
383
+ 'COPY-TEMP-TABLE',
384
+ 'COUNT',
385
+ 'COUNT-OF',
386
+ 'CPCASE',
387
+ 'CPCOLL',
388
+ 'CPINTERNAL',
389
+ 'CPLOG',
390
+ 'CPPRINT',
391
+ 'CPRCODEIN',
392
+ 'CPRCODEOUT',
393
+ 'CPSTREAM',
394
+ 'CPTERM',
395
+ 'CRC-VALUE',
396
+ 'CREATE',
397
+ 'CREATE-LIKE',
398
+ 'CREATE-LIKE-SEQUENTIAL',
399
+ 'CREATE-NODE-NAMESPACE',
400
+ 'CREATE-RESULT-LIST-ENTRY',
401
+ 'CREATE-TEST-FILE',
402
+ 'CURRENT',
403
+ 'CURRENT_DATE',
404
+ 'CURRENT-CHANGED',
405
+ 'CURRENT-COLUMN',
406
+ 'CURRENT-ENVIRONMENT',
407
+ 'CURRENT-ENV',
408
+ 'CURRENT-ENVI',
409
+ 'CURRENT-ENVIR',
410
+ 'CURRENT-ENVIRO',
411
+ 'CURRENT-ENVIRON',
412
+ 'CURRENT-ENVIRONM',
413
+ 'CURRENT-ENVIRONME',
414
+ 'CURRENT-ENVIRONMEN',
415
+ 'CURRENT-ITERATION',
416
+ 'CURRENT-LANGUAGE',
417
+ 'CURRENT-LANG',
418
+ 'CURRENT-LANGU',
419
+ 'CURRENT-LANGUA',
420
+ 'CURRENT-LANGUAG',
421
+ 'CURRENT-QUERY',
422
+ 'CURRENT-RESULT-ROW',
423
+ 'CURRENT-ROW-MODIFIED',
424
+ 'CURRENT-VALUE',
425
+ 'CURRENT-WINDOW',
426
+ 'CURSOR',
427
+ 'CURS',
428
+ 'CURSO',
429
+ 'CURSOR-CHAR',
430
+ 'CURSOR-LINE',
431
+ 'CURSOR-OFFSET',
432
+ 'DATABASE',
433
+ 'DATA-BIND',
434
+ 'DATA-ENTRY-RETURN',
435
+ 'DATA-ENTRY-RET',
436
+ 'DATA-ENTRY-RETU',
437
+ 'DATA-ENTRY-RETUR',
438
+ 'DATA-RELATION',
439
+ 'DATA-REL',
440
+ 'DATA-RELA',
441
+ 'DATA-RELAT',
442
+ 'DATA-RELATI',
443
+ 'DATA-RELATIO',
444
+ 'DATASERVERS',
445
+ 'DATASET',
446
+ 'DATASET-HANDLE',
447
+ 'DATA-SOURCE',
448
+ 'DATA-SOURCE-COMPLETE-MAP',
449
+ 'DATA-SOURCE-MODIFIED',
450
+ 'DATA-SOURCE-ROWID',
451
+ 'DATA-TYPE',
452
+ 'DATA-T',
453
+ 'DATA-TY',
454
+ 'DATA-TYP',
455
+ 'DATE-FORMAT',
456
+ 'DATE-F',
457
+ 'DATE-FO',
458
+ 'DATE-FOR',
459
+ 'DATE-FORM',
460
+ 'DATE-FORMA',
461
+ 'DAY',
462
+ 'DBCODEPAGE',
463
+ 'DBCOLLATION',
464
+ 'DBNAME',
465
+ 'DBPARAM',
466
+ 'DB-REFERENCES',
467
+ 'DBRESTRICTIONS',
468
+ 'DBREST',
469
+ 'DBRESTR',
470
+ 'DBRESTRI',
471
+ 'DBRESTRIC',
472
+ 'DBRESTRICT',
473
+ 'DBRESTRICTI',
474
+ 'DBRESTRICTIO',
475
+ 'DBRESTRICTION',
476
+ 'DBTASKID',
477
+ 'DBTYPE',
478
+ 'DBVERSION',
479
+ 'DBVERS',
480
+ 'DBVERSI',
481
+ 'DBVERSIO',
482
+ 'DCOLOR',
483
+ 'DDE',
484
+ 'DDE-ERROR',
485
+ 'DDE-ID',
486
+ 'DDE-I',
487
+ 'DDE-ITEM',
488
+ 'DDE-NAME',
489
+ 'DDE-TOPIC',
490
+ 'DEBLANK',
491
+ 'DEBUG',
492
+ 'DEBU',
493
+ 'DEBUG-ALERT',
494
+ 'DEBUGGER',
495
+ 'DEBUG-LIST',
496
+ 'DECIMALS',
497
+ 'DECLARE',
498
+ 'DECLARE-NAMESPACE',
499
+ 'DECRYPT',
500
+ 'DEFAULT',
501
+ 'DEFAULT-BUFFER-HANDLE',
502
+ 'DEFAULT-BUTTON',
503
+ 'DEFAUT-B',
504
+ 'DEFAUT-BU',
505
+ 'DEFAUT-BUT',
506
+ 'DEFAUT-BUTT',
507
+ 'DEFAUT-BUTTO',
508
+ 'DEFAULT-COMMIT',
509
+ 'DEFAULT-EXTENSION',
510
+ 'DEFAULT-EX',
511
+ 'DEFAULT-EXT',
512
+ 'DEFAULT-EXTE',
513
+ 'DEFAULT-EXTEN',
514
+ 'DEFAULT-EXTENS',
515
+ 'DEFAULT-EXTENSI',
516
+ 'DEFAULT-EXTENSIO',
517
+ 'DEFAULT-NOXLATE',
518
+ 'DEFAULT-NOXL',
519
+ 'DEFAULT-NOXLA',
520
+ 'DEFAULT-NOXLAT',
521
+ 'DEFAULT-VALUE',
522
+ 'DEFAULT-WINDOW',
523
+ 'DEFINED',
524
+ 'DEFINE-USER-EVENT-MANAGER',
525
+ 'DELETE',
526
+ 'DEL',
527
+ 'DELE',
528
+ 'DELET',
529
+ 'DELETE-CHARACTER',
530
+ 'DELETE-CHAR',
531
+ 'DELETE-CHARA',
532
+ 'DELETE-CHARAC',
533
+ 'DELETE-CHARACT',
534
+ 'DELETE-CHARACTE',
535
+ 'DELETE-CURRENT-ROW',
536
+ 'DELETE-LINE',
537
+ 'DELETE-RESULT-LIST-ENTRY',
538
+ 'DELETE-SELECTED-ROW',
539
+ 'DELETE-SELECTED-ROWS',
540
+ 'DELIMITER',
541
+ 'DESC',
542
+ 'DESCENDING',
543
+ 'DESCE',
544
+ 'DESCEN',
545
+ 'DESCEND',
546
+ 'DESCENDI',
547
+ 'DESCENDIN',
548
+ 'DESELECT-FOCUSED-ROW',
549
+ 'DESELECTION',
550
+ 'DESELECT-ROWS',
551
+ 'DESELECT-SELECTED-ROW',
552
+ 'DESTRUCTOR',
553
+ 'DIALOG-BOX',
554
+ 'DICTIONARY',
555
+ 'DICT',
556
+ 'DICTI',
557
+ 'DICTIO',
558
+ 'DICTION',
559
+ 'DICTIONA',
560
+ 'DICTIONAR',
561
+ 'DIR',
562
+ 'DISABLE',
563
+ 'DISABLE-AUTO-ZAP',
564
+ 'DISABLED',
565
+ 'DISABLE-DUMP-TRIGGERS',
566
+ 'DISABLE-LOAD-TRIGGERS',
567
+ 'DISCONNECT',
568
+ 'DISCON',
569
+ 'DISCONN',
570
+ 'DISCONNE',
571
+ 'DISCONNEC',
572
+ 'DISP',
573
+ 'DISPLAY',
574
+ 'DISPL',
575
+ 'DISPLA',
576
+ 'DISPLAY-MESSAGE',
577
+ 'DISPLAY-TYPE',
578
+ 'DISPLAY-T',
579
+ 'DISPLAY-TY',
580
+ 'DISPLAY-TYP',
581
+ 'DISTINCT',
582
+ 'DO',
583
+ 'DOMAIN-DESCRIPTION',
584
+ 'DOMAIN-NAME',
585
+ 'DOMAIN-TYPE',
586
+ 'DOS',
587
+ 'DOUBLE',
588
+ 'DOWN',
589
+ 'DRAG-ENABLED',
590
+ 'DROP',
591
+ 'DROP-DOWN',
592
+ 'DROP-DOWN-LIST',
593
+ 'DROP-FILE-NOTIFY',
594
+ 'DROP-TARGET',
595
+ 'DUMP',
596
+ 'DYNAMIC',
597
+ 'DYNAMIC-FUNCTION',
598
+ 'EACH',
599
+ 'ECHO',
600
+ 'EDGE-CHARS',
601
+ 'EDGE',
602
+ 'EDGE-',
603
+ 'EDGE-C',
604
+ 'EDGE-CH',
605
+ 'EDGE-CHA',
606
+ 'EDGE-CHAR',
607
+ 'EDGE-PIXELS',
608
+ 'EDGE-P',
609
+ 'EDGE-PI',
610
+ 'EDGE-PIX',
611
+ 'EDGE-PIXE',
612
+ 'EDGE-PIXEL',
613
+ 'EDIT-CAN-PASTE',
614
+ 'EDIT-CAN-UNDO',
615
+ 'EDIT-CLEAR',
616
+ 'EDIT-COPY',
617
+ 'EDIT-CUT',
618
+ 'EDITING',
619
+ 'EDITOR',
620
+ 'EDIT-PASTE',
621
+ 'EDIT-UNDO',
622
+ 'ELSE',
623
+ 'EMPTY',
624
+ 'EMPTY-TEMP-TABLE',
625
+ 'ENABLE',
626
+ 'ENABLED-FIELDS',
627
+ 'ENCODE',
628
+ 'ENCRYPT',
629
+ 'ENCRYPT-AUDIT-MAC-KEY',
630
+ 'ENCRYPTION-SALT',
631
+ 'END',
632
+ 'END-DOCUMENT',
633
+ 'END-ELEMENT',
634
+ 'END-EVENT-GROUP',
635
+ 'END-FILE-DROP',
636
+ 'ENDKEY',
637
+ 'END-KEY',
638
+ 'END-MOVE',
639
+ 'END-RESIZE',
640
+ 'END-ROW-RESIZE',
641
+ 'END-USER-PROMPT',
642
+ 'ENTERED',
643
+ 'ENTRY',
644
+ 'EQ',
645
+ 'ERROR',
646
+ 'ERROR-COLUMN',
647
+ 'ERROR-COL',
648
+ 'ERROR-COLU',
649
+ 'ERROR-COLUM',
650
+ 'ERROR-ROW',
651
+ 'ERROR-STACK-TRACE',
652
+ 'ERROR-STATUS',
653
+ 'ERROR-STAT',
654
+ 'ERROR-STATU',
655
+ 'ESCAPE',
656
+ 'ETIME',
657
+ 'EVENT-GROUP-ID',
658
+ 'EVENT-PROCEDURE',
659
+ 'EVENT-PROCEDURE-CONTEXT',
660
+ 'EVENTS',
661
+ 'EVENT',
662
+ 'EVENT-TYPE',
663
+ 'EVENT-T',
664
+ 'EVENT-TY',
665
+ 'EVENT-TYP',
666
+ 'EXCEPT',
667
+ 'EXCLUSIVE-ID',
668
+ 'EXCLUSIVE-LOCK',
669
+ 'EXCLUSIVE',
670
+ 'EXCLUSIVE-',
671
+ 'EXCLUSIVE-L',
672
+ 'EXCLUSIVE-LO',
673
+ 'EXCLUSIVE-LOC',
674
+ 'EXCLUSIVE-WEB-USER',
675
+ 'EXECUTE',
676
+ 'EXISTS',
677
+ 'EXP',
678
+ 'EXPAND',
679
+ 'EXPANDABLE',
680
+ 'EXPLICIT',
681
+ 'EXPORT',
682
+ 'EXPORT-PRINCIPAL',
683
+ 'EXTENDED',
684
+ 'EXTENT',
685
+ 'EXTERNAL',
686
+ 'FALSE',
687
+ 'FETCH',
688
+ 'FETCH-SELECTED-ROW',
689
+ 'FGCOLOR',
690
+ 'FGC',
691
+ 'FGCO',
692
+ 'FGCOL',
693
+ 'FGCOLO',
694
+ 'FIELD',
695
+ 'FIELDS',
696
+ 'FILE',
697
+ 'FILE-CREATE-DATE',
698
+ 'FILE-CREATE-TIME',
699
+ 'FILE-INFORMATION',
700
+ 'FILE-INFO',
701
+ 'FILE-INFOR',
702
+ 'FILE-INFORM',
703
+ 'FILE-INFORMA',
704
+ 'FILE-INFORMAT',
705
+ 'FILE-INFORMATI',
706
+ 'FILE-INFORMATIO',
707
+ 'FILE-MOD-DATE',
708
+ 'FILE-MOD-TIME',
709
+ 'FILENAME',
710
+ 'FILE-NAME',
711
+ 'FILE-OFFSET',
712
+ 'FILE-OFF',
713
+ 'FILE-OFFS',
714
+ 'FILE-OFFSE',
715
+ 'FILE-SIZE',
716
+ 'FILE-TYPE',
717
+ 'FILL',
718
+ 'FILLED',
719
+ 'FILL-IN',
720
+ 'FILTERS',
721
+ 'FINAL',
722
+ 'FINALLY',
723
+ 'FIND',
724
+ 'FIND-BY-ROWID',
725
+ 'FIND-CASE-SENSITIVE',
726
+ 'FIND-CURRENT',
727
+ 'FINDER',
728
+ 'FIND-FIRST',
729
+ 'FIND-GLOBAL',
730
+ 'FIND-LAST',
731
+ 'FIND-NEXT-OCCURRENCE',
732
+ 'FIND-PREV-OCCURRENCE',
733
+ 'FIND-SELECT',
734
+ 'FIND-UNIQUE',
735
+ 'FIND-WRAP-AROUND',
736
+ 'FIRST',
737
+ 'FIRST-ASYNCH-REQUEST',
738
+ 'FIRST-CHILD',
739
+ 'FIRST-COLUMN',
740
+ 'FIRST-FORM',
741
+ 'FIRST-OBJECT',
742
+ 'FIRST-OF',
743
+ 'FIRST-PROCEDURE',
744
+ 'FIRST-PROC',
745
+ 'FIRST-PROCE',
746
+ 'FIRST-PROCED',
747
+ 'FIRST-PROCEDU',
748
+ 'FIRST-PROCEDUR',
749
+ 'FIRST-SERVER',
750
+ 'FIRST-TAB-ITEM',
751
+ 'FIRST-TAB-I',
752
+ 'FIRST-TAB-IT',
753
+ 'FIRST-TAB-ITE',
754
+ 'FIT-LAST-COLUMN',
755
+ 'FIXED-ONLY',
756
+ 'FLAT-BUTTON',
757
+ 'FLOAT',
758
+ 'FOCUS',
759
+ 'FOCUSED-ROW',
760
+ 'FOCUSED-ROW-SELECTED',
761
+ 'FONT',
762
+ 'FONT-TABLE',
763
+ 'FOR',
764
+ 'FORCE-FILE',
765
+ 'FOREGROUND',
766
+ 'FORE',
767
+ 'FOREG',
768
+ 'FOREGR',
769
+ 'FOREGRO',
770
+ 'FOREGROU',
771
+ 'FOREGROUN',
772
+ 'FORM',
773
+ 'FORMAT',
774
+ 'FORMA',
775
+ 'FORMATTED',
776
+ 'FORMATTE',
777
+ 'FORM-LONG-INPUT',
778
+ 'FORWARD',
779
+ 'FORWARDS',
780
+ 'FRAGMENT',
781
+ 'FRAGMEN',
782
+ 'FRAME',
783
+ 'FRAM',
784
+ 'FRAME-COL',
785
+ 'FRAME-DB',
786
+ 'FRAME-DOWN',
787
+ 'FRAME-FIELD',
788
+ 'FRAME-FILE',
789
+ 'FRAME-INDEX',
790
+ 'FRAME-INDE',
791
+ 'FRAME-LINE',
792
+ 'FRAME-NAME',
793
+ 'FRAME-ROW',
794
+ 'FRAME-SPACING',
795
+ 'FRAME-SPA',
796
+ 'FRAME-SPAC',
797
+ 'FRAME-SPACI',
798
+ 'FRAME-SPACIN',
799
+ 'FRAME-VALUE',
800
+ 'FRAME-VAL',
801
+ 'FRAME-VALU',
802
+ 'FRAME-X',
803
+ 'FRAME-Y',
804
+ 'FREQUENCY',
805
+ 'FROM',
806
+ 'FROM-CHARS',
807
+ 'FROM-C',
808
+ 'FROM-CH',
809
+ 'FROM-CHA',
810
+ 'FROM-CHAR',
811
+ 'FROM-CURRENT',
812
+ 'FROM-CUR',
813
+ 'FROM-CURR',
814
+ 'FROM-CURRE',
815
+ 'FROM-CURREN',
816
+ 'FROM-PIXELS',
817
+ 'FROM-P',
818
+ 'FROM-PI',
819
+ 'FROM-PIX',
820
+ 'FROM-PIXE',
821
+ 'FROM-PIXEL',
822
+ 'FULL-HEIGHT-CHARS',
823
+ 'FULL-HEIGHT',
824
+ 'FULL-HEIGHT-',
825
+ 'FULL-HEIGHT-C',
826
+ 'FULL-HEIGHT-CH',
827
+ 'FULL-HEIGHT-CHA',
828
+ 'FULL-HEIGHT-CHAR',
829
+ 'FULL-HEIGHT-PIXELS',
830
+ 'FULL-HEIGHT-P',
831
+ 'FULL-HEIGHT-PI',
832
+ 'FULL-HEIGHT-PIX',
833
+ 'FULL-HEIGHT-PIXE',
834
+ 'FULL-HEIGHT-PIXEL',
835
+ 'FULL-PATHNAME',
836
+ 'FULL-PATHN',
837
+ 'FULL-PATHNA',
838
+ 'FULL-PATHNAM',
839
+ 'FULL-WIDTH-CHARS',
840
+ 'FULL-WIDTH',
841
+ 'FULL-WIDTH-',
842
+ 'FULL-WIDTH-C',
843
+ 'FULL-WIDTH-CH',
844
+ 'FULL-WIDTH-CHA',
845
+ 'FULL-WIDTH-CHAR',
846
+ 'FULL-WIDTH-PIXELS',
847
+ 'FULL-WIDTH-P',
848
+ 'FULL-WIDTH-PI',
849
+ 'FULL-WIDTH-PIX',
850
+ 'FULL-WIDTH-PIXE',
851
+ 'FULL-WIDTH-PIXEL',
852
+ 'FUNCTION',
853
+ 'FUNCTION-CALL-TYPE',
854
+ 'GATEWAYS',
855
+ 'GATEWAY',
856
+ 'GE',
857
+ 'GENERATE-MD5',
858
+ 'GENERATE-PBE-KEY',
859
+ 'GENERATE-PBE-SALT',
860
+ 'GENERATE-RANDOM-KEY',
861
+ 'GENERATE-UUID',
862
+ 'GET',
863
+ 'GET-ATTR-CALL-TYPE',
864
+ 'GET-ATTRIBUTE-NODE',
865
+ 'GET-BINARY-DATA',
866
+ 'GET-BLUE-VALUE',
867
+ 'GET-BLUE',
868
+ 'GET-BLUE-',
869
+ 'GET-BLUE-V',
870
+ 'GET-BLUE-VA',
871
+ 'GET-BLUE-VAL',
872
+ 'GET-BLUE-VALU',
873
+ 'GET-BROWSE-COLUMN',
874
+ 'GET-BUFFER-HANDLEGETBYTE',
875
+ 'GET-BYTE',
876
+ 'GET-CALLBACK-PROC-CONTEXT',
877
+ 'GET-CALLBACK-PROC-NAME',
878
+ 'GET-CGI-LIST',
879
+ 'GET-CGI-LONG-VALUE',
880
+ 'GET-CGI-VALUE',
881
+ 'GET-CODEPAGES',
882
+ 'GET-COLLATIONS',
883
+ 'GET-CONFIG-VALUE',
884
+ 'GET-CURRENT',
885
+ 'GET-DOUBLE',
886
+ 'GET-DROPPED-FILE',
887
+ 'GET-DYNAMIC',
888
+ 'GET-ERROR-COLUMN',
889
+ 'GET-ERROR-ROW',
890
+ 'GET-FILE',
891
+ 'GET-FILE-NAME',
892
+ 'GET-FILE-OFFSET',
893
+ 'GET-FILE-OFFSE',
894
+ 'GET-FIRST',
895
+ 'GET-FLOAT',
896
+ 'GET-GREEN-VALUE',
897
+ 'GET-GREEN',
898
+ 'GET-GREEN-',
899
+ 'GET-GREEN-V',
900
+ 'GET-GREEN-VA',
901
+ 'GET-GREEN-VAL',
902
+ 'GET-GREEN-VALU',
903
+ 'GET-INDEX-BY-NAMESPACE-NAME',
904
+ 'GET-INDEX-BY-QNAME',
905
+ 'GET-INT64',
906
+ 'GET-ITERATION',
907
+ 'GET-KEY-VALUE',
908
+ 'GET-KEY-VAL',
909
+ 'GET-KEY-VALU',
910
+ 'GET-LAST',
911
+ 'GET-LOCALNAME-BY-INDEX',
912
+ 'GET-LONG',
913
+ 'GET-MESSAGE',
914
+ 'GET-NEXT',
915
+ 'GET-NUMBER',
916
+ 'GET-POINTER-VALUE',
917
+ 'GET-PREV',
918
+ 'GET-PRINTERS',
919
+ 'GET-PROPERTY',
920
+ 'GET-QNAME-BY-INDEX',
921
+ 'GET-RED-VALUE',
922
+ 'GET-RED',
923
+ 'GET-RED-',
924
+ 'GET-RED-V',
925
+ 'GET-RED-VA',
926
+ 'GET-RED-VAL',
927
+ 'GET-RED-VALU',
928
+ 'GET-REPOSITIONED-ROW',
929
+ 'GET-RGB-VALUE',
930
+ 'GET-SELECTED-WIDGET',
931
+ 'GET-SELECTED',
932
+ 'GET-SELECTED-',
933
+ 'GET-SELECTED-W',
934
+ 'GET-SELECTED-WI',
935
+ 'GET-SELECTED-WID',
936
+ 'GET-SELECTED-WIDG',
937
+ 'GET-SELECTED-WIDGE',
938
+ 'GET-SHORT',
939
+ 'GET-SIGNATURE',
940
+ 'GET-SIZE',
941
+ 'GET-STRING',
942
+ 'GET-TAB-ITEM',
943
+ 'GET-TEXT-HEIGHT-CHARS',
944
+ 'GET-TEXT-HEIGHT',
945
+ 'GET-TEXT-HEIGHT-',
946
+ 'GET-TEXT-HEIGHT-C',
947
+ 'GET-TEXT-HEIGHT-CH',
948
+ 'GET-TEXT-HEIGHT-CHA',
949
+ 'GET-TEXT-HEIGHT-CHAR',
950
+ 'GET-TEXT-HEIGHT-PIXELS',
951
+ 'GET-TEXT-HEIGHT-P',
952
+ 'GET-TEXT-HEIGHT-PI',
953
+ 'GET-TEXT-HEIGHT-PIX',
954
+ 'GET-TEXT-HEIGHT-PIXE',
955
+ 'GET-TEXT-HEIGHT-PIXEL',
956
+ 'GET-TEXT-WIDTH-CHARS',
957
+ 'GET-TEXT-WIDTH',
958
+ 'GET-TEXT-WIDTH-',
959
+ 'GET-TEXT-WIDTH-C',
960
+ 'GET-TEXT-WIDTH-CH',
961
+ 'GET-TEXT-WIDTH-CHA',
962
+ 'GET-TEXT-WIDTH-CHAR',
963
+ 'GET-TEXT-WIDTH-PIXELS',
964
+ 'GET-TEXT-WIDTH-P',
965
+ 'GET-TEXT-WIDTH-PI',
966
+ 'GET-TEXT-WIDTH-PIX',
967
+ 'GET-TEXT-WIDTH-PIXE',
968
+ 'GET-TEXT-WIDTH-PIXEL',
969
+ 'GET-TYPE-BY-INDEX',
970
+ 'GET-TYPE-BY-NAMESPACE-NAME',
971
+ 'GET-TYPE-BY-QNAME',
972
+ 'GET-UNSIGNED-LONG',
973
+ 'GET-UNSIGNED-SHORT',
974
+ 'GET-URI-BY-INDEX',
975
+ 'GET-VALUE-BY-INDEX',
976
+ 'GET-VALUE-BY-NAMESPACE-NAME',
977
+ 'GET-VALUE-BY-QNAME',
978
+ 'GET-WAIT-STATE',
979
+ 'GLOBAL',
980
+ 'GO-ON',
981
+ 'GO-PENDING',
982
+ 'GO-PEND',
983
+ 'GO-PENDI',
984
+ 'GO-PENDIN',
985
+ 'GRANT',
986
+ 'GRAPHIC-EDGE',
987
+ 'GRAPHIC-E',
988
+ 'GRAPHIC-ED',
989
+ 'GRAPHIC-EDG',
990
+ 'GRID-FACTOR-HORIZONTAL',
991
+ 'GRID-FACTOR-H',
992
+ 'GRID-FACTOR-HO',
993
+ 'GRID-FACTOR-HOR',
994
+ 'GRID-FACTOR-HORI',
995
+ 'GRID-FACTOR-HORIZ',
996
+ 'GRID-FACTOR-HORIZO',
997
+ 'GRID-FACTOR-HORIZON',
998
+ 'GRID-FACTOR-HORIZONT',
999
+ 'GRID-FACTOR-HORIZONTA',
1000
+ 'GRID-FACTOR-VERTICAL',
1001
+ 'GRID-FACTOR-V',
1002
+ 'GRID-FACTOR-VE',
1003
+ 'GRID-FACTOR-VER',
1004
+ 'GRID-FACTOR-VERT',
1005
+ 'GRID-FACTOR-VERTI',
1006
+ 'GRID-FACTOR-VERTIC',
1007
+ 'GRID-FACTOR-VERTICA',
1008
+ 'GRID-SNAP',
1009
+ 'GRID-UNIT-HEIGHT-CHARS',
1010
+ 'GRID-UNIT-HEIGHT',
1011
+ 'GRID-UNIT-HEIGHT-',
1012
+ 'GRID-UNIT-HEIGHT-C',
1013
+ 'GRID-UNIT-HEIGHT-CH',
1014
+ 'GRID-UNIT-HEIGHT-CHA',
1015
+ 'GRID-UNIT-HEIGHT-PIXELS',
1016
+ 'GRID-UNIT-HEIGHT-P',
1017
+ 'GRID-UNIT-HEIGHT-PI',
1018
+ 'GRID-UNIT-HEIGHT-PIX',
1019
+ 'GRID-UNIT-HEIGHT-PIXE',
1020
+ 'GRID-UNIT-HEIGHT-PIXEL',
1021
+ 'GRID-UNIT-WIDTH-CHARS',
1022
+ 'GRID-UNIT-WIDTH',
1023
+ 'GRID-UNIT-WIDTH-',
1024
+ 'GRID-UNIT-WIDTH-C',
1025
+ 'GRID-UNIT-WIDTH-CH',
1026
+ 'GRID-UNIT-WIDTH-CHA',
1027
+ 'GRID-UNIT-WIDTH-CHAR',
1028
+ 'GRID-UNIT-WIDTH-PIXELS',
1029
+ 'GRID-UNIT-WIDTH-P',
1030
+ 'GRID-UNIT-WIDTH-PI',
1031
+ 'GRID-UNIT-WIDTH-PIX',
1032
+ 'GRID-UNIT-WIDTH-PIXE',
1033
+ 'GRID-UNIT-WIDTH-PIXEL',
1034
+ 'GRID-VISIBLE',
1035
+ 'GROUP',
1036
+ 'GT',
1037
+ 'GUID',
1038
+ 'HANDLER',
1039
+ 'HAS-RECORDS',
1040
+ 'HAVING',
1041
+ 'HEADER',
1042
+ 'HEIGHT-CHARS',
1043
+ 'HEIGHT',
1044
+ 'HEIGHT-',
1045
+ 'HEIGHT-C',
1046
+ 'HEIGHT-CH',
1047
+ 'HEIGHT-CHA',
1048
+ 'HEIGHT-CHAR',
1049
+ 'HEIGHT-PIXELS',
1050
+ 'HEIGHT-P',
1051
+ 'HEIGHT-PI',
1052
+ 'HEIGHT-PIX',
1053
+ 'HEIGHT-PIXE',
1054
+ 'HEIGHT-PIXEL',
1055
+ 'HELP',
1056
+ 'HEX-DECODE',
1057
+ 'HEX-ENCODE',
1058
+ 'HIDDEN',
1059
+ 'HIDE',
1060
+ 'HORIZONTAL',
1061
+ 'HORI',
1062
+ 'HORIZ',
1063
+ 'HORIZO',
1064
+ 'HORIZON',
1065
+ 'HORIZONT',
1066
+ 'HORIZONTA',
1067
+ 'HOST-BYTE-ORDER',
1068
+ 'HTML-CHARSET',
1069
+ 'HTML-END-OF-LINE',
1070
+ 'HTML-END-OF-PAGE',
1071
+ 'HTML-FRAME-BEGIN',
1072
+ 'HTML-FRAME-END',
1073
+ 'HTML-HEADER-BEGIN',
1074
+ 'HTML-HEADER-END',
1075
+ 'HTML-TITLE-BEGIN',
1076
+ 'HTML-TITLE-END',
1077
+ 'HWND',
1078
+ 'ICON',
1079
+ 'IF',
1080
+ 'IMAGE',
1081
+ 'IMAGE-DOWN',
1082
+ 'IMAGE-INSENSITIVE',
1083
+ 'IMAGE-SIZE',
1084
+ 'IMAGE-SIZE-CHARS',
1085
+ 'IMAGE-SIZE-C',
1086
+ 'IMAGE-SIZE-CH',
1087
+ 'IMAGE-SIZE-CHA',
1088
+ 'IMAGE-SIZE-CHAR',
1089
+ 'IMAGE-SIZE-PIXELS',
1090
+ 'IMAGE-SIZE-P',
1091
+ 'IMAGE-SIZE-PI',
1092
+ 'IMAGE-SIZE-PIX',
1093
+ 'IMAGE-SIZE-PIXE',
1094
+ 'IMAGE-SIZE-PIXEL',
1095
+ 'IMAGE-UP',
1096
+ 'IMMEDIATE-DISPLAY',
1097
+ 'IMPLEMENTS',
1098
+ 'IMPORT',
1099
+ 'IMPORT-PRINCIPAL',
1100
+ 'IN',
1101
+ 'INCREMENT-EXCLUSIVE-ID',
1102
+ 'INDEX',
1103
+ 'INDEXED-REPOSITION',
1104
+ 'INDEX-HINT',
1105
+ 'INDEX-INFORMATION',
1106
+ 'INDICATOR',
1107
+ 'INFORMATION',
1108
+ 'INFO',
1109
+ 'INFOR',
1110
+ 'INFORM',
1111
+ 'INFORMA',
1112
+ 'INFORMAT',
1113
+ 'INFORMATI',
1114
+ 'INFORMATIO',
1115
+ 'IN-HANDLE',
1116
+ 'INHERIT-BGCOLOR',
1117
+ 'INHERIT-BGC',
1118
+ 'INHERIT-BGCO',
1119
+ 'INHERIT-BGCOL',
1120
+ 'INHERIT-BGCOLO',
1121
+ 'INHERIT-FGCOLOR',
1122
+ 'INHERIT-FGC',
1123
+ 'INHERIT-FGCO',
1124
+ 'INHERIT-FGCOL',
1125
+ 'INHERIT-FGCOLO',
1126
+ 'INHERITS',
1127
+ 'INITIAL',
1128
+ 'INIT',
1129
+ 'INITI',
1130
+ 'INITIA',
1131
+ 'INITIAL-DIR',
1132
+ 'INITIAL-FILTER',
1133
+ 'INITIALIZE-DOCUMENT-TYPE',
1134
+ 'INITIATE',
1135
+ 'INNER-CHARS',
1136
+ 'INNER-LINES',
1137
+ 'INPUT',
1138
+ 'INPUT-OUTPUT',
1139
+ 'INPUT-O',
1140
+ 'INPUT-OU',
1141
+ 'INPUT-OUT',
1142
+ 'INPUT-OUTP',
1143
+ 'INPUT-OUTPU',
1144
+ 'INPUT-VALUE',
1145
+ 'INSERT',
1146
+ 'INSERT-ATTRIBUTE',
1147
+ 'INSERT-BACKTAB',
1148
+ 'INSERT-B',
1149
+ 'INSERT-BA',
1150
+ 'INSERT-BAC',
1151
+ 'INSERT-BACK',
1152
+ 'INSERT-BACKT',
1153
+ 'INSERT-BACKTA',
1154
+ 'INSERT-FILE',
1155
+ 'INSERT-ROW',
1156
+ 'INSERT-STRING',
1157
+ 'INSERT-TAB',
1158
+ 'INSERT-T',
1159
+ 'INSERT-TA',
1160
+ 'INTERFACE',
1161
+ 'INTERNAL-ENTRIES',
1162
+ 'INTO',
1163
+ 'INVOKE',
1164
+ 'IS',
1165
+ 'IS-ATTR-SPACE',
1166
+ 'IS-ATTR',
1167
+ 'IS-ATTR-',
1168
+ 'IS-ATTR-S',
1169
+ 'IS-ATTR-SP',
1170
+ 'IS-ATTR-SPA',
1171
+ 'IS-ATTR-SPAC',
1172
+ 'IS-CLASS',
1173
+ 'IS-CLAS',
1174
+ 'IS-LEAD-BYTE',
1175
+ 'IS-OPEN',
1176
+ 'IS-PARAMETER-SET',
1177
+ 'IS-ROW-SELECTED',
1178
+ 'IS-SELECTED',
1179
+ 'ITEM',
1180
+ 'ITEMS-PER-ROW',
1181
+ 'JOIN',
1182
+ 'JOIN-BY-SQLDB',
1183
+ 'KBLABEL',
1184
+ 'KEEP-CONNECTION-OPEN',
1185
+ 'KEEP-FRAME-Z-ORDER',
1186
+ 'KEEP-FRAME-Z',
1187
+ 'KEEP-FRAME-Z-',
1188
+ 'KEEP-FRAME-Z-O',
1189
+ 'KEEP-FRAME-Z-OR',
1190
+ 'KEEP-FRAME-Z-ORD',
1191
+ 'KEEP-FRAME-Z-ORDE',
1192
+ 'KEEP-MESSAGES',
1193
+ 'KEEP-SECURITY-CACHE',
1194
+ 'KEEP-TAB-ORDER',
1195
+ 'KEY',
1196
+ 'KEYCODE',
1197
+ 'KEY-CODE',
1198
+ 'KEYFUNCTION',
1199
+ 'KEYFUNC',
1200
+ 'KEYFUNCT',
1201
+ 'KEYFUNCTI',
1202
+ 'KEYFUNCTIO',
1203
+ 'KEY-FUNCTION',
1204
+ 'KEY-FUNC',
1205
+ 'KEY-FUNCT',
1206
+ 'KEY-FUNCTI',
1207
+ 'KEY-FUNCTIO',
1208
+ 'KEYLABEL',
1209
+ 'KEY-LABEL',
1210
+ 'KEYS',
1211
+ 'KEYWORD',
1212
+ 'KEYWORD-ALL',
1213
+ 'LABEL',
1214
+ 'LABEL-BGCOLOR',
1215
+ 'LABEL-BGC',
1216
+ 'LABEL-BGCO',
1217
+ 'LABEL-BGCOL',
1218
+ 'LABEL-BGCOLO',
1219
+ 'LABEL-DCOLOR',
1220
+ 'LABEL-DC',
1221
+ 'LABEL-DCO',
1222
+ 'LABEL-DCOL',
1223
+ 'LABEL-DCOLO',
1224
+ 'LABEL-FGCOLOR',
1225
+ 'LABEL-FGC',
1226
+ 'LABEL-FGCO',
1227
+ 'LABEL-FGCOL',
1228
+ 'LABEL-FGCOLO',
1229
+ 'LABEL-FONT',
1230
+ 'LABEL-PFCOLOR',
1231
+ 'LABEL-PFC',
1232
+ 'LABEL-PFCO',
1233
+ 'LABEL-PFCOL',
1234
+ 'LABEL-PFCOLO',
1235
+ 'LABELS',
1236
+ 'LANDSCAPE',
1237
+ 'LANGUAGES',
1238
+ 'LANGUAGE',
1239
+ 'LARGE',
1240
+ 'LARGE-TO-SMALL',
1241
+ 'LAST',
1242
+ 'LAST-ASYNCH-REQUEST',
1243
+ 'LAST-BATCH',
1244
+ 'LAST-CHILD',
1245
+ 'LAST-EVENT',
1246
+ 'LAST-EVEN',
1247
+ 'LAST-FORM',
1248
+ 'LASTKEY',
1249
+ 'LAST-KEY',
1250
+ 'LAST-OBJECT',
1251
+ 'LAST-OF',
1252
+ 'LAST-PROCEDURE',
1253
+ 'LAST-PROCE',
1254
+ 'LAST-PROCED',
1255
+ 'LAST-PROCEDU',
1256
+ 'LAST-PROCEDUR',
1257
+ 'LAST-SERVER',
1258
+ 'LAST-TAB-ITEM',
1259
+ 'LAST-TAB-I',
1260
+ 'LAST-TAB-IT',
1261
+ 'LAST-TAB-ITE',
1262
+ 'LC',
1263
+ 'LDBNAME',
1264
+ 'LE',
1265
+ 'LEAVE',
1266
+ 'LEFT-ALIGNED',
1267
+ 'LEFT-ALIGN',
1268
+ 'LEFT-ALIGNE',
1269
+ 'LEFT-TRIM',
1270
+ 'LENGTH',
1271
+ 'LIBRARY',
1272
+ 'LIKE',
1273
+ 'LIKE-SEQUENTIAL',
1274
+ 'LINE',
1275
+ 'LINE-COUNTER',
1276
+ 'LINE-COUNT',
1277
+ 'LINE-COUNTE',
1278
+ 'LIST-EVENTS',
1279
+ 'LISTING',
1280
+ 'LISTI',
1281
+ 'LISTIN',
1282
+ 'LIST-ITEM-PAIRS',
1283
+ 'LIST-ITEMS',
1284
+ 'LIST-PROPERTY-NAMES',
1285
+ 'LIST-QUERY-ATTRS',
1286
+ 'LIST-SET-ATTRS',
1287
+ 'LIST-WIDGETS',
1288
+ 'LITERAL-QUESTION',
1289
+ 'LITTLE-ENDIAN',
1290
+ 'LOAD',
1291
+ 'LOAD-DOMAINS',
1292
+ 'LOAD-ICON',
1293
+ 'LOAD-IMAGE',
1294
+ 'LOAD-IMAGE-DOWN',
1295
+ 'LOAD-IMAGE-INSENSITIVE',
1296
+ 'LOAD-IMAGE-UP',
1297
+ 'LOAD-MOUSE-POINTER',
1298
+ 'LOAD-MOUSE-P',
1299
+ 'LOAD-MOUSE-PO',
1300
+ 'LOAD-MOUSE-POI',
1301
+ 'LOAD-MOUSE-POIN',
1302
+ 'LOAD-MOUSE-POINT',
1303
+ 'LOAD-MOUSE-POINTE',
1304
+ 'LOAD-PICTURE',
1305
+ 'LOAD-SMALL-ICON',
1306
+ 'LOCAL-NAME',
1307
+ 'LOCATOR-COLUMN-NUMBER',
1308
+ 'LOCATOR-LINE-NUMBER',
1309
+ 'LOCATOR-PUBLIC-ID',
1310
+ 'LOCATOR-SYSTEM-ID',
1311
+ 'LOCATOR-TYPE',
1312
+ 'LOCKED',
1313
+ 'LOCK-REGISTRATION',
1314
+ 'LOG',
1315
+ 'LOG-AUDIT-EVENT',
1316
+ 'LOGIN-EXPIRATION-TIMESTAMP',
1317
+ 'LOGIN-HOST',
1318
+ 'LOGIN-STATE',
1319
+ 'LOG-MANAGER',
1320
+ 'LOGOUT',
1321
+ 'LOOKAHEAD',
1322
+ 'LOOKUP',
1323
+ 'LT',
1324
+ 'MACHINE-CLASS',
1325
+ 'MANDATORY',
1326
+ 'MANUAL-HIGHLIGHT',
1327
+ 'MAP',
1328
+ 'MARGIN-EXTRA',
1329
+ 'MARGIN-HEIGHT-CHARS',
1330
+ 'MARGIN-HEIGHT',
1331
+ 'MARGIN-HEIGHT-',
1332
+ 'MARGIN-HEIGHT-C',
1333
+ 'MARGIN-HEIGHT-CH',
1334
+ 'MARGIN-HEIGHT-CHA',
1335
+ 'MARGIN-HEIGHT-CHAR',
1336
+ 'MARGIN-HEIGHT-PIXELS',
1337
+ 'MARGIN-HEIGHT-P',
1338
+ 'MARGIN-HEIGHT-PI',
1339
+ 'MARGIN-HEIGHT-PIX',
1340
+ 'MARGIN-HEIGHT-PIXE',
1341
+ 'MARGIN-HEIGHT-PIXEL',
1342
+ 'MARGIN-WIDTH-CHARS',
1343
+ 'MARGIN-WIDTH',
1344
+ 'MARGIN-WIDTH-',
1345
+ 'MARGIN-WIDTH-C',
1346
+ 'MARGIN-WIDTH-CH',
1347
+ 'MARGIN-WIDTH-CHA',
1348
+ 'MARGIN-WIDTH-CHAR',
1349
+ 'MARGIN-WIDTH-PIXELS',
1350
+ 'MARGIN-WIDTH-P',
1351
+ 'MARGIN-WIDTH-PI',
1352
+ 'MARGIN-WIDTH-PIX',
1353
+ 'MARGIN-WIDTH-PIXE',
1354
+ 'MARGIN-WIDTH-PIXEL',
1355
+ 'MARK-NEW',
1356
+ 'MARK-ROW-STATE',
1357
+ 'MATCHES',
1358
+ 'MAX-BUTTON',
1359
+ 'MAX-CHARS',
1360
+ 'MAX-DATA-GUESS',
1361
+ 'MAX-HEIGHT',
1362
+ 'MAX-HEIGHT-CHARS',
1363
+ 'MAX-HEIGHT-C',
1364
+ 'MAX-HEIGHT-CH',
1365
+ 'MAX-HEIGHT-CHA',
1366
+ 'MAX-HEIGHT-CHAR',
1367
+ 'MAX-HEIGHT-PIXELS',
1368
+ 'MAX-HEIGHT-P',
1369
+ 'MAX-HEIGHT-PI',
1370
+ 'MAX-HEIGHT-PIX',
1371
+ 'MAX-HEIGHT-PIXE',
1372
+ 'MAX-HEIGHT-PIXEL',
1373
+ 'MAXIMIZE',
1374
+ 'MAXIMUM',
1375
+ 'MAX',
1376
+ 'MAXI',
1377
+ 'MAXIM',
1378
+ 'MAXIMU',
1379
+ 'MAXIMUM-LEVEL',
1380
+ 'MAX-ROWS',
1381
+ 'MAX-SIZE',
1382
+ 'MAX-VALUE',
1383
+ 'MAX-VAL',
1384
+ 'MAX-VALU',
1385
+ 'MAX-WIDTH-CHARS',
1386
+ 'MAX-WIDTH',
1387
+ 'MAX-WIDTH-',
1388
+ 'MAX-WIDTH-C',
1389
+ 'MAX-WIDTH-CH',
1390
+ 'MAX-WIDTH-CHA',
1391
+ 'MAX-WIDTH-CHAR',
1392
+ 'MAX-WIDTH-PIXELS',
1393
+ 'MAX-WIDTH-P',
1394
+ 'MAX-WIDTH-PI',
1395
+ 'MAX-WIDTH-PIX',
1396
+ 'MAX-WIDTH-PIXE',
1397
+ 'MAX-WIDTH-PIXEL',
1398
+ 'MD5-DIGEST',
1399
+ 'MEMBER',
1400
+ 'MEMPTR-TO-NODE-VALUE',
1401
+ 'MENU',
1402
+ 'MENUBAR',
1403
+ 'MENU-BAR',
1404
+ 'MENU-ITEM',
1405
+ 'MENU-KEY',
1406
+ 'MENU-K',
1407
+ 'MENU-KE',
1408
+ 'MENU-MOUSE',
1409
+ 'MENU-M',
1410
+ 'MENU-MO',
1411
+ 'MENU-MOU',
1412
+ 'MENU-MOUS',
1413
+ 'MERGE-BY-FIELD',
1414
+ 'MESSAGE',
1415
+ 'MESSAGE-AREA',
1416
+ 'MESSAGE-AREA-FONT',
1417
+ 'MESSAGE-LINES',
1418
+ 'METHOD',
1419
+ 'MIN-BUTTON',
1420
+ 'MIN-COLUMN-WIDTH-CHARS',
1421
+ 'MIN-COLUMN-WIDTH-C',
1422
+ 'MIN-COLUMN-WIDTH-CH',
1423
+ 'MIN-COLUMN-WIDTH-CHA',
1424
+ 'MIN-COLUMN-WIDTH-CHAR',
1425
+ 'MIN-COLUMN-WIDTH-PIXELS',
1426
+ 'MIN-COLUMN-WIDTH-P',
1427
+ 'MIN-COLUMN-WIDTH-PI',
1428
+ 'MIN-COLUMN-WIDTH-PIX',
1429
+ 'MIN-COLUMN-WIDTH-PIXE',
1430
+ 'MIN-COLUMN-WIDTH-PIXEL',
1431
+ 'MIN-HEIGHT-CHARS',
1432
+ 'MIN-HEIGHT',
1433
+ 'MIN-HEIGHT-',
1434
+ 'MIN-HEIGHT-C',
1435
+ 'MIN-HEIGHT-CH',
1436
+ 'MIN-HEIGHT-CHA',
1437
+ 'MIN-HEIGHT-CHAR',
1438
+ 'MIN-HEIGHT-PIXELS',
1439
+ 'MIN-HEIGHT-P',
1440
+ 'MIN-HEIGHT-PI',
1441
+ 'MIN-HEIGHT-PIX',
1442
+ 'MIN-HEIGHT-PIXE',
1443
+ 'MIN-HEIGHT-PIXEL',
1444
+ 'MINIMUM',
1445
+ 'MIN',
1446
+ 'MINI',
1447
+ 'MINIM',
1448
+ 'MINIMU',
1449
+ 'MIN-SIZE',
1450
+ 'MIN-VALUE',
1451
+ 'MIN-VAL',
1452
+ 'MIN-VALU',
1453
+ 'MIN-WIDTH-CHARS',
1454
+ 'MIN-WIDTH',
1455
+ 'MIN-WIDTH-',
1456
+ 'MIN-WIDTH-C',
1457
+ 'MIN-WIDTH-CH',
1458
+ 'MIN-WIDTH-CHA',
1459
+ 'MIN-WIDTH-CHAR',
1460
+ 'MIN-WIDTH-PIXELS',
1461
+ 'MIN-WIDTH-P',
1462
+ 'MIN-WIDTH-PI',
1463
+ 'MIN-WIDTH-PIX',
1464
+ 'MIN-WIDTH-PIXE',
1465
+ 'MIN-WIDTH-PIXEL',
1466
+ 'MODIFIED',
1467
+ 'MODULO',
1468
+ 'MOD',
1469
+ 'MODU',
1470
+ 'MODUL',
1471
+ 'MONTH',
1472
+ 'MOUSE',
1473
+ 'MOUSE-POINTER',
1474
+ 'MOUSE-P',
1475
+ 'MOUSE-PO',
1476
+ 'MOUSE-POI',
1477
+ 'MOUSE-POIN',
1478
+ 'MOUSE-POINT',
1479
+ 'MOUSE-POINTE',
1480
+ 'MOVABLE',
1481
+ 'MOVE-AFTER-TAB-ITEM',
1482
+ 'MOVE-AFTER',
1483
+ 'MOVE-AFTER-',
1484
+ 'MOVE-AFTER-T',
1485
+ 'MOVE-AFTER-TA',
1486
+ 'MOVE-AFTER-TAB',
1487
+ 'MOVE-AFTER-TAB-',
1488
+ 'MOVE-AFTER-TAB-I',
1489
+ 'MOVE-AFTER-TAB-IT',
1490
+ 'MOVE-AFTER-TAB-ITE',
1491
+ 'MOVE-BEFORE-TAB-ITEM',
1492
+ 'MOVE-BEFOR',
1493
+ 'MOVE-BEFORE',
1494
+ 'MOVE-BEFORE-',
1495
+ 'MOVE-BEFORE-T',
1496
+ 'MOVE-BEFORE-TA',
1497
+ 'MOVE-BEFORE-TAB',
1498
+ 'MOVE-BEFORE-TAB-',
1499
+ 'MOVE-BEFORE-TAB-I',
1500
+ 'MOVE-BEFORE-TAB-IT',
1501
+ 'MOVE-BEFORE-TAB-ITE',
1502
+ 'MOVE-COLUMN',
1503
+ 'MOVE-COL',
1504
+ 'MOVE-COLU',
1505
+ 'MOVE-COLUM',
1506
+ 'MOVE-TO-BOTTOM',
1507
+ 'MOVE-TO-B',
1508
+ 'MOVE-TO-BO',
1509
+ 'MOVE-TO-BOT',
1510
+ 'MOVE-TO-BOTT',
1511
+ 'MOVE-TO-BOTTO',
1512
+ 'MOVE-TO-EOF',
1513
+ 'MOVE-TO-TOP',
1514
+ 'MOVE-TO-T',
1515
+ 'MOVE-TO-TO',
1516
+ 'MPE',
1517
+ 'MULTI-COMPILE',
1518
+ 'MULTIPLE',
1519
+ 'MULTIPLE-KEY',
1520
+ 'MULTITASKING-INTERVAL',
1521
+ 'MUST-EXIST',
1522
+ 'NAME',
1523
+ 'NAMESPACE-PREFIX',
1524
+ 'NAMESPACE-URI',
1525
+ 'NATIVE',
1526
+ 'NE',
1527
+ 'NEEDS-APPSERVER-PROMPT',
1528
+ 'NEEDS-PROMPT',
1529
+ 'NEW',
1530
+ 'NEW-INSTANCE',
1531
+ 'NEW-ROW',
1532
+ 'NEXT',
1533
+ 'NEXT-COLUMN',
1534
+ 'NEXT-PROMPT',
1535
+ 'NEXT-ROWID',
1536
+ 'NEXT-SIBLING',
1537
+ 'NEXT-TAB-ITEM',
1538
+ 'NEXT-TAB-I',
1539
+ 'NEXT-TAB-IT',
1540
+ 'NEXT-TAB-ITE',
1541
+ 'NEXT-VALUE',
1542
+ 'NO',
1543
+ 'NO-APPLY',
1544
+ 'NO-ARRAY-MESSAGE',
1545
+ 'NO-ASSIGN',
1546
+ 'NO-ATTR-LIST',
1547
+ 'NO-ATTR',
1548
+ 'NO-ATTR-',
1549
+ 'NO-ATTR-L',
1550
+ 'NO-ATTR-LI',
1551
+ 'NO-ATTR-LIS',
1552
+ 'NO-ATTR-SPACE',
1553
+ 'NO-ATTR-S',
1554
+ 'NO-ATTR-SP',
1555
+ 'NO-ATTR-SPA',
1556
+ 'NO-ATTR-SPAC',
1557
+ 'NO-AUTO-VALIDATE',
1558
+ 'NO-BIND-WHERE',
1559
+ 'NO-BOX',
1560
+ 'NO-CONSOLE',
1561
+ 'NO-CONVERT',
1562
+ 'NO-CONVERT-3D-COLORS',
1563
+ 'NO-CURRENT-VALUE',
1564
+ 'NO-DEBUG',
1565
+ 'NODE-VALUE-TO-MEMPTR',
1566
+ 'NO-DRAG',
1567
+ 'NO-ECHO',
1568
+ 'NO-EMPTY-SPACE',
1569
+ 'NO-ERROR',
1570
+ 'NO-FILL',
1571
+ 'NO-F',
1572
+ 'NO-FI',
1573
+ 'NO-FIL',
1574
+ 'NO-FOCUS',
1575
+ 'NO-HELP',
1576
+ 'NO-HIDE',
1577
+ 'NO-INDEX-HINT',
1578
+ 'NO-INHERIT-BGCOLOR',
1579
+ 'NO-INHERIT-BGC',
1580
+ 'NO-INHERIT-BGCO',
1581
+ 'NO-INHERIT-FGCOLOR',
1582
+ 'NO-INHERIT-FGC',
1583
+ 'NO-INHERIT-FGCO',
1584
+ 'NO-INHERIT-FGCOL',
1585
+ 'NO-INHERIT-FGCOLO',
1586
+ 'NO-JOIN-BY-SQLDB',
1587
+ 'NO-LABELS',
1588
+ 'NO-LABE',
1589
+ 'NO-LOBS',
1590
+ 'NO-LOCK',
1591
+ 'NO-LOOKAHEAD',
1592
+ 'NO-MAP',
1593
+ 'NO-MESSAGE',
1594
+ 'NO-MES',
1595
+ 'NO-MESS',
1596
+ 'NO-MESSA',
1597
+ 'NO-MESSAG',
1598
+ 'NONAMESPACE-SCHEMA-LOCATION',
1599
+ 'NONE',
1600
+ 'NO-PAUSE',
1601
+ 'NO-PREFETCH',
1602
+ 'NO-PREFE',
1603
+ 'NO-PREFET',
1604
+ 'NO-PREFETC',
1605
+ 'NORMALIZE',
1606
+ 'NO-ROW-MARKERS',
1607
+ 'NO-SCROLLBAR-VERTICAL',
1608
+ 'NO-SEPARATE-CONNECTION',
1609
+ 'NO-SEPARATORS',
1610
+ 'NOT',
1611
+ 'NO-TAB-STOP',
1612
+ 'NOT-ACTIVE',
1613
+ 'NO-UNDERLINE',
1614
+ 'NO-UND',
1615
+ 'NO-UNDE',
1616
+ 'NO-UNDER',
1617
+ 'NO-UNDERL',
1618
+ 'NO-UNDERLI',
1619
+ 'NO-UNDERLIN',
1620
+ 'NO-UNDO',
1621
+ 'NO-VALIDATE',
1622
+ 'NO-VAL',
1623
+ 'NO-VALI',
1624
+ 'NO-VALID',
1625
+ 'NO-VALIDA',
1626
+ 'NO-VALIDAT',
1627
+ 'NOW',
1628
+ 'NO-WAIT',
1629
+ 'NO-WORD-WRAP',
1630
+ 'NULL',
1631
+ 'NUM-ALIASES',
1632
+ 'NUM-ALI',
1633
+ 'NUM-ALIA',
1634
+ 'NUM-ALIAS',
1635
+ 'NUM-ALIASE',
1636
+ 'NUM-BUFFERS',
1637
+ 'NUM-BUTTONS',
1638
+ 'NUM-BUT',
1639
+ 'NUM-BUTT',
1640
+ 'NUM-BUTTO',
1641
+ 'NUM-BUTTON',
1642
+ 'NUM-COLUMNS',
1643
+ 'NUM-COL',
1644
+ 'NUM-COLU',
1645
+ 'NUM-COLUM',
1646
+ 'NUM-COLUMN',
1647
+ 'NUM-COPIES',
1648
+ 'NUM-DBS',
1649
+ 'NUM-DROPPED-FILES',
1650
+ 'NUM-ENTRIES',
1651
+ 'NUMERIC',
1652
+ 'NUMERIC-FORMAT',
1653
+ 'NUMERIC-F',
1654
+ 'NUMERIC-FO',
1655
+ 'NUMERIC-FOR',
1656
+ 'NUMERIC-FORM',
1657
+ 'NUMERIC-FORMA',
1658
+ 'NUM-FIELDS',
1659
+ 'NUM-FORMATS',
1660
+ 'NUM-ITEMS',
1661
+ 'NUM-ITERATIONS',
1662
+ 'NUM-LINES',
1663
+ 'NUM-LOCKED-COLUMNS',
1664
+ 'NUM-LOCKED-COL',
1665
+ 'NUM-LOCKED-COLU',
1666
+ 'NUM-LOCKED-COLUM',
1667
+ 'NUM-LOCKED-COLUMN',
1668
+ 'NUM-MESSAGES',
1669
+ 'NUM-PARAMETERS',
1670
+ 'NUM-REFERENCES',
1671
+ 'NUM-REPLACED',
1672
+ 'NUM-RESULTS',
1673
+ 'NUM-SELECTED-ROWS',
1674
+ 'NUM-SELECTED-WIDGETS',
1675
+ 'NUM-SELECTED',
1676
+ 'NUM-SELECTED-',
1677
+ 'NUM-SELECTED-W',
1678
+ 'NUM-SELECTED-WI',
1679
+ 'NUM-SELECTED-WID',
1680
+ 'NUM-SELECTED-WIDG',
1681
+ 'NUM-SELECTED-WIDGE',
1682
+ 'NUM-SELECTED-WIDGET',
1683
+ 'NUM-TABS',
1684
+ 'NUM-TO-RETAIN',
1685
+ 'NUM-VISIBLE-COLUMNS',
1686
+ 'OCTET-LENGTH',
1687
+ 'OF',
1688
+ 'OFF',
1689
+ 'OK',
1690
+ 'OK-CANCEL',
1691
+ 'OLD',
1692
+ 'ON',
1693
+ 'ON-FRAME-BORDER',
1694
+ 'ON-FRAME',
1695
+ 'ON-FRAME-',
1696
+ 'ON-FRAME-B',
1697
+ 'ON-FRAME-BO',
1698
+ 'ON-FRAME-BOR',
1699
+ 'ON-FRAME-BORD',
1700
+ 'ON-FRAME-BORDE',
1701
+ 'OPEN',
1702
+ 'OPSYS',
1703
+ 'OPTION',
1704
+ 'OR',
1705
+ 'ORDERED-JOIN',
1706
+ 'ORDINAL',
1707
+ 'OS-APPEND',
1708
+ 'OS-COMMAND',
1709
+ 'OS-COPY',
1710
+ 'OS-CREATE-DIR',
1711
+ 'OS-DELETE',
1712
+ 'OS-DIR',
1713
+ 'OS-DRIVES',
1714
+ 'OS-DRIVE',
1715
+ 'OS-ERROR',
1716
+ 'OS-GETENV',
1717
+ 'OS-RENAME',
1718
+ 'OTHERWISE',
1719
+ 'OUTPUT',
1720
+ 'OVERLAY',
1721
+ 'OVERRIDE',
1722
+ 'OWNER',
1723
+ 'PAGE',
1724
+ 'PAGE-BOTTOM',
1725
+ 'PAGE-BOT',
1726
+ 'PAGE-BOTT',
1727
+ 'PAGE-BOTTO',
1728
+ 'PAGED',
1729
+ 'PAGE-NUMBER',
1730
+ 'PAGE-NUM',
1731
+ 'PAGE-NUMB',
1732
+ 'PAGE-NUMBE',
1733
+ 'PAGE-SIZE',
1734
+ 'PAGE-TOP',
1735
+ 'PAGE-WIDTH',
1736
+ 'PAGE-WID',
1737
+ 'PAGE-WIDT',
1738
+ 'PARAMETER',
1739
+ 'PARAM',
1740
+ 'PARAME',
1741
+ 'PARAMET',
1742
+ 'PARAMETE',
1743
+ 'PARENT',
1744
+ 'PARSE-STATUS',
1745
+ 'PARTIAL-KEY',
1746
+ 'PASCAL',
1747
+ 'PASSWORD-FIELD',
1748
+ 'PATHNAME',
1749
+ 'PAUSE',
1750
+ 'PBE-HASH-ALGORITHM',
1751
+ 'PBE-HASH-ALG',
1752
+ 'PBE-HASH-ALGO',
1753
+ 'PBE-HASH-ALGOR',
1754
+ 'PBE-HASH-ALGORI',
1755
+ 'PBE-HASH-ALGORIT',
1756
+ 'PBE-HASH-ALGORITH',
1757
+ 'PBE-KEY-ROUNDS',
1758
+ 'PDBNAME',
1759
+ 'PERSISTENT',
1760
+ 'PERSIST',
1761
+ 'PERSISTE',
1762
+ 'PERSISTEN',
1763
+ 'PERSISTENT-CACHE-DISABLED',
1764
+ 'PFCOLOR',
1765
+ 'PFC',
1766
+ 'PFCO',
1767
+ 'PFCOL',
1768
+ 'PFCOLO',
1769
+ 'PIXELS',
1770
+ 'PIXELS-PER-COLUMN',
1771
+ 'PIXELS-PER-COL',
1772
+ 'PIXELS-PER-COLU',
1773
+ 'PIXELS-PER-COLUM',
1774
+ 'PIXELS-PER-ROW',
1775
+ 'POPUP-MENU',
1776
+ 'POPUP-M',
1777
+ 'POPUP-ME',
1778
+ 'POPUP-MEN',
1779
+ 'POPUP-ONLY',
1780
+ 'POPUP-O',
1781
+ 'POPUP-ON',
1782
+ 'POPUP-ONL',
1783
+ 'PORTRAIT',
1784
+ 'POSITION',
1785
+ 'PRECISION',
1786
+ 'PREFER-DATASET',
1787
+ 'PREPARED',
1788
+ 'PREPARE-STRING',
1789
+ 'PREPROCESS',
1790
+ 'PREPROC',
1791
+ 'PREPROCE',
1792
+ 'PREPROCES',
1793
+ 'PRESELECT',
1794
+ 'PRESEL',
1795
+ 'PRESELE',
1796
+ 'PRESELEC',
1797
+ 'PREV',
1798
+ 'PREV-COLUMN',
1799
+ 'PREV-SIBLING',
1800
+ 'PREV-TAB-ITEM',
1801
+ 'PREV-TAB-I',
1802
+ 'PREV-TAB-IT',
1803
+ 'PREV-TAB-ITE',
1804
+ 'PRIMARY',
1805
+ 'PRINTER',
1806
+ 'PRINTER-CONTROL-HANDLE',
1807
+ 'PRINTER-HDC',
1808
+ 'PRINTER-NAME',
1809
+ 'PRINTER-PORT',
1810
+ 'PRINTER-SETUP',
1811
+ 'PRIVATE',
1812
+ 'PRIVATE-DATA',
1813
+ 'PRIVATE-D',
1814
+ 'PRIVATE-DA',
1815
+ 'PRIVATE-DAT',
1816
+ 'PRIVILEGES',
1817
+ 'PROCEDURE',
1818
+ 'PROCE',
1819
+ 'PROCED',
1820
+ 'PROCEDU',
1821
+ 'PROCEDUR',
1822
+ 'PROCEDURE-CALL-TYPE',
1823
+ 'PROCESS',
1824
+ 'PROC-HANDLE',
1825
+ 'PROC-HA',
1826
+ 'PROC-HAN',
1827
+ 'PROC-HAND',
1828
+ 'PROC-HANDL',
1829
+ 'PROC-STATUS',
1830
+ 'PROC-ST',
1831
+ 'PROC-STA',
1832
+ 'PROC-STAT',
1833
+ 'PROC-STATU',
1834
+ 'proc-text',
1835
+ 'proc-text-buffe',
1836
+ 'PROFILER',
1837
+ 'PROGRAM-NAME',
1838
+ 'PROGRESS',
1839
+ 'PROGRESS-SOURCE',
1840
+ 'PROGRESS-S',
1841
+ 'PROGRESS-SO',
1842
+ 'PROGRESS-SOU',
1843
+ 'PROGRESS-SOUR',
1844
+ 'PROGRESS-SOURC',
1845
+ 'PROMPT',
1846
+ 'PROMPT-FOR',
1847
+ 'PROMPT-F',
1848
+ 'PROMPT-FO',
1849
+ 'PROMSGS',
1850
+ 'PROPATH',
1851
+ 'PROPERTY',
1852
+ 'PROTECTED',
1853
+ 'PROVERSION',
1854
+ 'PROVERS',
1855
+ 'PROVERSI',
1856
+ 'PROVERSIO',
1857
+ 'PROXY',
1858
+ 'PROXY-PASSWORD',
1859
+ 'PROXY-USERID',
1860
+ 'PUBLIC',
1861
+ 'PUBLIC-ID',
1862
+ 'PUBLISH',
1863
+ 'PUBLISHED-EVENTS',
1864
+ 'PUT',
1865
+ 'PUTBYTE',
1866
+ 'PUT-BYTE',
1867
+ 'PUT-DOUBLE',
1868
+ 'PUT-FLOAT',
1869
+ 'PUT-INT64',
1870
+ 'PUT-KEY-VALUE',
1871
+ 'PUT-KEY-VAL',
1872
+ 'PUT-KEY-VALU',
1873
+ 'PUT-LONG',
1874
+ 'PUT-SHORT',
1875
+ 'PUT-STRING',
1876
+ 'PUT-UNSIGNED-LONG',
1877
+ 'QUERY',
1878
+ 'QUERY-CLOSE',
1879
+ 'QUERY-OFF-END',
1880
+ 'QUERY-OPEN',
1881
+ 'QUERY-PREPARE',
1882
+ 'QUERY-TUNING',
1883
+ 'QUESTION',
1884
+ 'QUIT',
1885
+ 'QUOTER',
1886
+ 'RADIO-BUTTONS',
1887
+ 'RADIO-SET',
1888
+ 'RANDOM',
1889
+ 'RAW-TRANSFER',
1890
+ 'RCODE-INFORMATION',
1891
+ 'RCODE-INFO',
1892
+ 'RCODE-INFOR',
1893
+ 'RCODE-INFORM',
1894
+ 'RCODE-INFORMA',
1895
+ 'RCODE-INFORMAT',
1896
+ 'RCODE-INFORMATI',
1897
+ 'RCODE-INFORMATIO',
1898
+ 'READ-AVAILABLE',
1899
+ 'READ-EXACT-NUM',
1900
+ 'READ-FILE',
1901
+ 'READKEY',
1902
+ 'READ-ONLY',
1903
+ 'READ-XML',
1904
+ 'READ-XMLSCHEMA',
1905
+ 'REAL',
1906
+ 'RECORD-LENGTH',
1907
+ 'RECTANGLE',
1908
+ 'RECT',
1909
+ 'RECTA',
1910
+ 'RECTAN',
1911
+ 'RECTANG',
1912
+ 'RECTANGL',
1913
+ 'RECURSIVE',
1914
+ 'REFERENCE-ONLY',
1915
+ 'REFRESH',
1916
+ 'REFRESHABLE',
1917
+ 'REFRESH-AUDIT-POLICY',
1918
+ 'REGISTER-DOMAIN',
1919
+ 'RELEASE',
1920
+ 'REMOTE',
1921
+ 'REMOVE-EVENTS-PROCEDURE',
1922
+ 'REMOVE-SUPER-PROCEDURE',
1923
+ 'REPEAT',
1924
+ 'REPLACE',
1925
+ 'REPLACE-SELECTION-TEXT',
1926
+ 'REPOSITION',
1927
+ 'REPOSITION-BACKWARD',
1928
+ 'REPOSITION-FORWARD',
1929
+ 'REPOSITION-MODE',
1930
+ 'REPOSITION-TO-ROW',
1931
+ 'REPOSITION-TO-ROWID',
1932
+ 'REQUEST',
1933
+ 'RESET',
1934
+ 'RESIZABLE',
1935
+ 'RESIZA',
1936
+ 'RESIZAB',
1937
+ 'RESIZABL',
1938
+ 'RESIZE',
1939
+ 'RESTART-ROW',
1940
+ 'RESTART-ROWID',
1941
+ 'RETAIN',
1942
+ 'RETAIN-SHAPE',
1943
+ 'RETRY',
1944
+ 'RETRY-CANCEL',
1945
+ 'RETURN',
1946
+ 'RETURN-INSERTED',
1947
+ 'RETURN-INS',
1948
+ 'RETURN-INSE',
1949
+ 'RETURN-INSER',
1950
+ 'RETURN-INSERT',
1951
+ 'RETURN-INSERTE',
1952
+ 'RETURNS',
1953
+ 'RETURN-TO-START-DIR',
1954
+ 'RETURN-TO-START-DI',
1955
+ 'RETURN-VALUE',
1956
+ 'RETURN-VAL',
1957
+ 'RETURN-VALU',
1958
+ 'RETURN-VALUE-DATA-TYPE',
1959
+ 'REVERSE-FROM',
1960
+ 'REVERT',
1961
+ 'REVOKE',
1962
+ 'RGB-VALUE',
1963
+ 'RIGHT-ALIGNED',
1964
+ 'RETURN-ALIGN',
1965
+ 'RETURN-ALIGNE',
1966
+ 'RIGHT-TRIM',
1967
+ 'R-INDEX',
1968
+ 'ROLES',
1969
+ 'ROUND',
1970
+ 'ROUTINE-LEVEL',
1971
+ 'ROW',
1972
+ 'ROW-HEIGHT-CHARS',
1973
+ 'ROW-HEIGHT-PIXELS',
1974
+ 'ROW-MARKERS',
1975
+ 'ROW-OF',
1976
+ 'ROW-RESIZABLE',
1977
+ 'RULE',
1978
+ 'RUN',
1979
+ 'RUN-PROCEDURE',
1980
+ 'SAVE',
1981
+ 'SAVE-AS',
1982
+ 'SAVE-FILE',
1983
+ 'SAX-COMPLETE',
1984
+ 'SAX-COMPLE',
1985
+ 'SAX-COMPLET',
1986
+ 'SAX-PARSE',
1987
+ 'SAX-PARSE-FIRST',
1988
+ 'SAX-PARSE-NEXT',
1989
+ 'SAX-PARSER-ERROR',
1990
+ 'SAX-RUNNING',
1991
+ 'SAX-UNINITIALIZED',
1992
+ 'SAX-WRITE-BEGIN',
1993
+ 'SAX-WRITE-COMPLETE',
1994
+ 'SAX-WRITE-CONTENT',
1995
+ 'SAX-WRITE-ELEMENT',
1996
+ 'SAX-WRITE-ERROR',
1997
+ 'SAX-WRITE-IDLE',
1998
+ 'SAX-WRITER',
1999
+ 'SAX-WRITE-TAG',
2000
+ 'SCHEMA',
2001
+ 'SCHEMA-LOCATION',
2002
+ 'SCHEMA-MARSHAL',
2003
+ 'SCHEMA-PATH',
2004
+ 'SCREEN',
2005
+ 'SCREEN-IO',
2006
+ 'SCREEN-LINES',
2007
+ 'SCREEN-VALUE',
2008
+ 'SCREEN-VAL',
2009
+ 'SCREEN-VALU',
2010
+ 'SCROLL',
2011
+ 'SCROLLABLE',
2012
+ 'SCROLLBAR-HORIZONTAL',
2013
+ 'SCROLLBAR-H',
2014
+ 'SCROLLBAR-HO',
2015
+ 'SCROLLBAR-HOR',
2016
+ 'SCROLLBAR-HORI',
2017
+ 'SCROLLBAR-HORIZ',
2018
+ 'SCROLLBAR-HORIZO',
2019
+ 'SCROLLBAR-HORIZON',
2020
+ 'SCROLLBAR-HORIZONT',
2021
+ 'SCROLLBAR-HORIZONTA',
2022
+ 'SCROLL-BARS',
2023
+ 'SCROLLBAR-VERTICAL',
2024
+ 'SCROLLBAR-V',
2025
+ 'SCROLLBAR-VE',
2026
+ 'SCROLLBAR-VER',
2027
+ 'SCROLLBAR-VERT',
2028
+ 'SCROLLBAR-VERTI',
2029
+ 'SCROLLBAR-VERTIC',
2030
+ 'SCROLLBAR-VERTICA',
2031
+ 'SCROLL-DELTA',
2032
+ 'SCROLLED-ROW-POSITION',
2033
+ 'SCROLLED-ROW-POS',
2034
+ 'SCROLLED-ROW-POSI',
2035
+ 'SCROLLED-ROW-POSIT',
2036
+ 'SCROLLED-ROW-POSITI',
2037
+ 'SCROLLED-ROW-POSITIO',
2038
+ 'SCROLLING',
2039
+ 'SCROLL-OFFSET',
2040
+ 'SCROLL-TO-CURRENT-ROW',
2041
+ 'SCROLL-TO-ITEM',
2042
+ 'SCROLL-TO-I',
2043
+ 'SCROLL-TO-IT',
2044
+ 'SCROLL-TO-ITE',
2045
+ 'SCROLL-TO-SELECTED-ROW',
2046
+ 'SDBNAME',
2047
+ 'SEAL',
2048
+ 'SEAL-TIMESTAMP',
2049
+ 'SEARCH',
2050
+ 'SEARCH-SELF',
2051
+ 'SEARCH-TARGET',
2052
+ 'SECTION',
2053
+ 'SECURITY-POLICY',
2054
+ 'SEEK',
2055
+ 'SELECT',
2056
+ 'SELECTABLE',
2057
+ 'SELECT-ALL',
2058
+ 'SELECTED',
2059
+ 'SELECT-FOCUSED-ROW',
2060
+ 'SELECTION',
2061
+ 'SELECTION-END',
2062
+ 'SELECTION-LIST',
2063
+ 'SELECTION-START',
2064
+ 'SELECTION-TEXT',
2065
+ 'SELECT-NEXT-ROW',
2066
+ 'SELECT-PREV-ROW',
2067
+ 'SELECT-ROW',
2068
+ 'SELF',
2069
+ 'SEND',
2070
+ 'send-sql-statement',
2071
+ 'send-sql',
2072
+ 'SENSITIVE',
2073
+ 'SEPARATE-CONNECTION',
2074
+ 'SEPARATOR-FGCOLOR',
2075
+ 'SEPARATORS',
2076
+ 'SERVER',
2077
+ 'SERVER-CONNECTION-BOUND',
2078
+ 'SERVER-CONNECTION-BOUND-REQUEST',
2079
+ 'SERVER-CONNECTION-CONTEXT',
2080
+ 'SERVER-CONNECTION-ID',
2081
+ 'SERVER-OPERATING-MODE',
2082
+ 'SESSION',
2083
+ 'SESSION-ID',
2084
+ 'SET',
2085
+ 'SET-APPL-CONTEXT',
2086
+ 'SET-ATTR-CALL-TYPE',
2087
+ 'SET-ATTRIBUTE-NODE',
2088
+ 'SET-BLUE-VALUE',
2089
+ 'SET-BLUE',
2090
+ 'SET-BLUE-',
2091
+ 'SET-BLUE-V',
2092
+ 'SET-BLUE-VA',
2093
+ 'SET-BLUE-VAL',
2094
+ 'SET-BLUE-VALU',
2095
+ 'SET-BREAK',
2096
+ 'SET-BUFFERS',
2097
+ 'SET-CALLBACK',
2098
+ 'SET-CLIENT',
2099
+ 'SET-COMMIT',
2100
+ 'SET-CONTENTS',
2101
+ 'SET-CURRENT-VALUE',
2102
+ 'SET-DB-CLIENT',
2103
+ 'SET-DYNAMIC',
2104
+ 'SET-EVENT-MANAGER-OPTION',
2105
+ 'SET-GREEN-VALUE',
2106
+ 'SET-GREEN',
2107
+ 'SET-GREEN-',
2108
+ 'SET-GREEN-V',
2109
+ 'SET-GREEN-VA',
2110
+ 'SET-GREEN-VAL',
2111
+ 'SET-GREEN-VALU',
2112
+ 'SET-INPUT-SOURCE',
2113
+ 'SET-OPTION',
2114
+ 'SET-OUTPUT-DESTINATION',
2115
+ 'SET-PARAMETER',
2116
+ 'SET-POINTER-VALUE',
2117
+ 'SET-PROPERTY',
2118
+ 'SET-RED-VALUE',
2119
+ 'SET-RED',
2120
+ 'SET-RED-',
2121
+ 'SET-RED-V',
2122
+ 'SET-RED-VA',
2123
+ 'SET-RED-VAL',
2124
+ 'SET-RED-VALU',
2125
+ 'SET-REPOSITIONED-ROW',
2126
+ 'SET-RGB-VALUE',
2127
+ 'SET-ROLLBACK',
2128
+ 'SET-SELECTION',
2129
+ 'SET-SIZE',
2130
+ 'SET-SORT-ARROW',
2131
+ 'SETUSERID',
2132
+ 'SETUSER',
2133
+ 'SETUSERI',
2134
+ 'SET-WAIT-STATE',
2135
+ 'SHA1-DIGEST',
2136
+ 'SHARED',
2137
+ 'SHARE-LOCK',
2138
+ 'SHARE',
2139
+ 'SHARE-',
2140
+ 'SHARE-L',
2141
+ 'SHARE-LO',
2142
+ 'SHARE-LOC',
2143
+ 'SHOW-IN-TASKBAR',
2144
+ 'SHOW-STATS',
2145
+ 'SHOW-STAT',
2146
+ 'SIDE-LABEL-HANDLE',
2147
+ 'SIDE-LABEL-H',
2148
+ 'SIDE-LABEL-HA',
2149
+ 'SIDE-LABEL-HAN',
2150
+ 'SIDE-LABEL-HAND',
2151
+ 'SIDE-LABEL-HANDL',
2152
+ 'SIDE-LABELS',
2153
+ 'SIDE-LAB',
2154
+ 'SIDE-LABE',
2155
+ 'SIDE-LABEL',
2156
+ 'SILENT',
2157
+ 'SIMPLE',
2158
+ 'SINGLE',
2159
+ 'SIZE',
2160
+ 'SIZE-CHARS',
2161
+ 'SIZE-C',
2162
+ 'SIZE-CH',
2163
+ 'SIZE-CHA',
2164
+ 'SIZE-CHAR',
2165
+ 'SIZE-PIXELS',
2166
+ 'SIZE-P',
2167
+ 'SIZE-PI',
2168
+ 'SIZE-PIX',
2169
+ 'SIZE-PIXE',
2170
+ 'SIZE-PIXEL',
2171
+ 'SKIP',
2172
+ 'SKIP-DELETED-RECORD',
2173
+ 'SLIDER',
2174
+ 'SMALL-ICON',
2175
+ 'SMALLINT',
2176
+ 'SMALL-TITLE',
2177
+ 'SOME',
2178
+ 'SORT',
2179
+ 'SORT-ASCENDING',
2180
+ 'SORT-NUMBER',
2181
+ 'SOURCE',
2182
+ 'SOURCE-PROCEDURE',
2183
+ 'SPACE',
2184
+ 'SQL',
2185
+ 'SQRT',
2186
+ 'SSL-SERVER-NAME',
2187
+ 'STANDALONE',
2188
+ 'START',
2189
+ 'START-DOCUMENT',
2190
+ 'START-ELEMENT',
2191
+ 'START-MOVE',
2192
+ 'START-RESIZE',
2193
+ 'START-ROW-RESIZE',
2194
+ 'STATE-DETAIL',
2195
+ 'STATIC',
2196
+ 'STATUS',
2197
+ 'STATUS-AREA',
2198
+ 'STATUS-AREA-FONT',
2199
+ 'STDCALL',
2200
+ 'STOP',
2201
+ 'STOP-PARSING',
2202
+ 'STOPPED',
2203
+ 'STOPPE',
2204
+ 'STORED-PROCEDURE',
2205
+ 'STORED-PROC',
2206
+ 'STORED-PROCE',
2207
+ 'STORED-PROCED',
2208
+ 'STORED-PROCEDU',
2209
+ 'STORED-PROCEDUR',
2210
+ 'STREAM',
2211
+ 'STREAM-HANDLE',
2212
+ 'STREAM-IO',
2213
+ 'STRETCH-TO-FIT',
2214
+ 'STRICT',
2215
+ 'STRING',
2216
+ 'STRING-VALUE',
2217
+ 'STRING-XREF',
2218
+ 'SUB-AVERAGE',
2219
+ 'SUB-AVE',
2220
+ 'SUB-AVER',
2221
+ 'SUB-AVERA',
2222
+ 'SUB-AVERAG',
2223
+ 'SUB-COUNT',
2224
+ 'SUB-MAXIMUM',
2225
+ 'SUM-MAX',
2226
+ 'SUM-MAXI',
2227
+ 'SUM-MAXIM',
2228
+ 'SUM-MAXIMU',
2229
+ 'SUB-MENU',
2230
+ 'SUBSUB-',
2231
+ 'SUB-MIN',
2232
+ 'SUBSCRIBE',
2233
+ 'SUBSTITUTE',
2234
+ 'SUBST',
2235
+ 'SUBSTI',
2236
+ 'SUBSTIT',
2237
+ 'SUBSTITU',
2238
+ 'SUBSTITUT',
2239
+ 'SUBSTRING',
2240
+ 'SUBSTR',
2241
+ 'SUBSTRI',
2242
+ 'SUBSTRIN',
2243
+ 'SUB-TOTAL',
2244
+ 'SUBTYPE',
2245
+ 'SUM',
2246
+ 'SUPER',
2247
+ 'SUPER-PROCEDURES',
2248
+ 'SUPPRESS-NAMESPACE-PROCESSING',
2249
+ 'SUPPRESS-WARNINGS',
2250
+ 'SUPPRESS-W',
2251
+ 'SUPPRESS-WA',
2252
+ 'SUPPRESS-WAR',
2253
+ 'SUPPRESS-WARN',
2254
+ 'SUPPRESS-WARNI',
2255
+ 'SUPPRESS-WARNIN',
2256
+ 'SUPPRESS-WARNING',
2257
+ 'SYMMETRIC-ENCRYPTION-ALGORITHM',
2258
+ 'SYMMETRIC-ENCRYPTION-IV',
2259
+ 'SYMMETRIC-ENCRYPTION-KEY',
2260
+ 'SYMMETRIC-SUPPORT',
2261
+ 'SYSTEM-ALERT-BOXES',
2262
+ 'SYSTEM-ALERT',
2263
+ 'SYSTEM-ALERT-',
2264
+ 'SYSTEM-ALERT-B',
2265
+ 'SYSTEM-ALERT-BO',
2266
+ 'SYSTEM-ALERT-BOX',
2267
+ 'SYSTEM-ALERT-BOXE',
2268
+ 'SYSTEM-DIALOG',
2269
+ 'SYSTEM-HELP',
2270
+ 'SYSTEM-ID',
2271
+ 'TABLE',
2272
+ 'TABLE-HANDLE',
2273
+ 'TABLE-NUMBER',
2274
+ 'TAB-POSITION',
2275
+ 'TAB-STOP',
2276
+ 'TARGET',
2277
+ 'TARGET-PROCEDURE',
2278
+ 'TEMP-DIRECTORY',
2279
+ 'TEMP-DIR',
2280
+ 'TEMP-DIRE',
2281
+ 'TEMP-DIREC',
2282
+ 'TEMP-DIRECT',
2283
+ 'TEMP-DIRECTO',
2284
+ 'TEMP-DIRECTOR',
2285
+ 'TEMP-TABLE',
2286
+ 'TEMP-TABLE-PREPARE',
2287
+ 'TERM',
2288
+ 'TERMINAL',
2289
+ 'TERMI',
2290
+ 'TERMIN',
2291
+ 'TERMINA',
2292
+ 'TERMINATE',
2293
+ 'TEXT',
2294
+ 'TEXT-CURSOR',
2295
+ 'TEXT-SEG-GROW',
2296
+ 'TEXT-SELECTED',
2297
+ 'THEN',
2298
+ 'THIS-OBJECT',
2299
+ 'THIS-PROCEDURE',
2300
+ 'THREE-D',
2301
+ 'THROW',
2302
+ 'THROUGH',
2303
+ 'THRU',
2304
+ 'TIC-MARKS',
2305
+ 'TIME',
2306
+ 'TIME-SOURCE',
2307
+ 'TITLE',
2308
+ 'TITLE-BGCOLOR',
2309
+ 'TITLE-BGC',
2310
+ 'TITLE-BGCO',
2311
+ 'TITLE-BGCOL',
2312
+ 'TITLE-BGCOLO',
2313
+ 'TITLE-DCOLOR',
2314
+ 'TITLE-DC',
2315
+ 'TITLE-DCO',
2316
+ 'TITLE-DCOL',
2317
+ 'TITLE-DCOLO',
2318
+ 'TITLE-FGCOLOR',
2319
+ 'TITLE-FGC',
2320
+ 'TITLE-FGCO',
2321
+ 'TITLE-FGCOL',
2322
+ 'TITLE-FGCOLO',
2323
+ 'TITLE-FONT',
2324
+ 'TITLE-FO',
2325
+ 'TITLE-FON',
2326
+ 'TO',
2327
+ 'TODAY',
2328
+ 'TOGGLE-BOX',
2329
+ 'TOOLTIP',
2330
+ 'TOOLTIPS',
2331
+ 'TOPIC',
2332
+ 'TOP-NAV-QUERY',
2333
+ 'TOP-ONLY',
2334
+ 'TO-ROWID',
2335
+ 'TOTAL',
2336
+ 'TRAILING',
2337
+ 'TRANS',
2338
+ 'TRANSACTION',
2339
+ 'TRANSACTION-MODE',
2340
+ 'TRANS-INIT-PROCEDURE',
2341
+ 'TRANSPARENT',
2342
+ 'TRIGGER',
2343
+ 'TRIGGERS',
2344
+ 'TRIM',
2345
+ 'TRUE',
2346
+ 'TRUNCATE',
2347
+ 'TRUNC',
2348
+ 'TRUNCA',
2349
+ 'TRUNCAT',
2350
+ 'TYPE',
2351
+ 'TYPE-OF',
2352
+ 'UNBOX',
2353
+ 'UNBUFFERED',
2354
+ 'UNBUFF',
2355
+ 'UNBUFFE',
2356
+ 'UNBUFFER',
2357
+ 'UNBUFFERE',
2358
+ 'UNDERLINE',
2359
+ 'UNDERL',
2360
+ 'UNDERLI',
2361
+ 'UNDERLIN',
2362
+ 'UNDO',
2363
+ 'UNFORMATTED',
2364
+ 'UNFORM',
2365
+ 'UNFORMA',
2366
+ 'UNFORMAT',
2367
+ 'UNFORMATT',
2368
+ 'UNFORMATTE',
2369
+ 'UNION',
2370
+ 'UNIQUE',
2371
+ 'UNIQUE-ID',
2372
+ 'UNIQUE-MATCH',
2373
+ 'UNIX',
2374
+ 'UNLESS-HIDDEN',
2375
+ 'UNLOAD',
2376
+ 'UNSIGNED-LONG',
2377
+ 'UNSUBSCRIBE',
2378
+ 'UP',
2379
+ 'UPDATE',
2380
+ 'UPDATE-ATTRIBUTE',
2381
+ 'URL',
2382
+ 'URL-DECODE',
2383
+ 'URL-ENCODE',
2384
+ 'URL-PASSWORD',
2385
+ 'URL-USERID',
2386
+ 'USE',
2387
+ 'USE-DICT-EXPS',
2388
+ 'USE-FILENAME',
2389
+ 'USE-INDEX',
2390
+ 'USER',
2391
+ 'USE-REVVIDEO',
2392
+ 'USERID',
2393
+ 'USER-ID',
2394
+ 'USE-TEXT',
2395
+ 'USE-UNDERLINE',
2396
+ 'USE-WIDGET-POOL',
2397
+ 'USING',
2398
+ 'V6DISPLAY',
2399
+ 'V6FRAME',
2400
+ 'VALIDATE',
2401
+ 'VALIDATE-EXPRESSION',
2402
+ 'VALIDATE-MESSAGE',
2403
+ 'VALIDATE-SEAL',
2404
+ 'VALIDATION-ENABLED',
2405
+ 'VALID-EVENT',
2406
+ 'VALID-HANDLE',
2407
+ 'VALID-OBJECT',
2408
+ 'VALUE',
2409
+ 'VALUE-CHANGED',
2410
+ 'VALUES',
2411
+ 'VARIABLE',
2412
+ 'VAR',
2413
+ 'VARI',
2414
+ 'VARIA',
2415
+ 'VARIAB',
2416
+ 'VARIABL',
2417
+ 'VERBOSE',
2418
+ 'VERSION',
2419
+ 'VERTICAL',
2420
+ 'VERT',
2421
+ 'VERTI',
2422
+ 'VERTIC',
2423
+ 'VERTICA',
2424
+ 'VIEW',
2425
+ 'VIEW-AS',
2426
+ 'VIEW-FIRST-COLUMN-ON-REOPEN',
2427
+ 'VIRTUAL-HEIGHT-CHARS',
2428
+ 'VIRTUAL-HEIGHT',
2429
+ 'VIRTUAL-HEIGHT-',
2430
+ 'VIRTUAL-HEIGHT-C',
2431
+ 'VIRTUAL-HEIGHT-CH',
2432
+ 'VIRTUAL-HEIGHT-CHA',
2433
+ 'VIRTUAL-HEIGHT-CHAR',
2434
+ 'VIRTUAL-HEIGHT-PIXELS',
2435
+ 'VIRTUAL-HEIGHT-P',
2436
+ 'VIRTUAL-HEIGHT-PI',
2437
+ 'VIRTUAL-HEIGHT-PIX',
2438
+ 'VIRTUAL-HEIGHT-PIXE',
2439
+ 'VIRTUAL-HEIGHT-PIXEL',
2440
+ 'VIRTUAL-WIDTH-CHARS',
2441
+ 'VIRTUAL-WIDTH',
2442
+ 'VIRTUAL-WIDTH-',
2443
+ 'VIRTUAL-WIDTH-C',
2444
+ 'VIRTUAL-WIDTH-CH',
2445
+ 'VIRTUAL-WIDTH-CHA',
2446
+ 'VIRTUAL-WIDTH-CHAR',
2447
+ 'VIRTUAL-WIDTH-PIXELS',
2448
+ 'VIRTUAL-WIDTH-P',
2449
+ 'VIRTUAL-WIDTH-PI',
2450
+ 'VIRTUAL-WIDTH-PIX',
2451
+ 'VIRTUAL-WIDTH-PIXE',
2452
+ 'VIRTUAL-WIDTH-PIXEL',
2453
+ 'VISIBLE',
2454
+ 'VOID',
2455
+ 'WAIT',
2456
+ 'WAIT-FOR',
2457
+ 'WARNING',
2458
+ 'WEB-CONTEXT',
2459
+ 'WEEKDAY',
2460
+ 'WHEN',
2461
+ 'WHERE',
2462
+ 'WHILE',
2463
+ 'WIDGET',
2464
+ 'WIDGET-ENTER',
2465
+ 'WIDGET-E',
2466
+ 'WIDGET-EN',
2467
+ 'WIDGET-ENT',
2468
+ 'WIDGET-ENTE',
2469
+ 'WIDGET-ID',
2470
+ 'WIDGET-LEAVE',
2471
+ 'WIDGET-L',
2472
+ 'WIDGET-LE',
2473
+ 'WIDGET-LEA',
2474
+ 'WIDGET-LEAV',
2475
+ 'WIDGET-POOL',
2476
+ 'WIDTH-CHARS',
2477
+ 'WIDTH',
2478
+ 'WIDTH-',
2479
+ 'WIDTH-C',
2480
+ 'WIDTH-CH',
2481
+ 'WIDTH-CHA',
2482
+ 'WIDTH-CHAR',
2483
+ 'WIDTH-PIXELS',
2484
+ 'WIDTH-P',
2485
+ 'WIDTH-PI',
2486
+ 'WIDTH-PIX',
2487
+ 'WIDTH-PIXE',
2488
+ 'WIDTH-PIXEL',
2489
+ 'WINDOW',
2490
+ 'WINDOW-MAXIMIZED',
2491
+ 'WINDOW-MAXIM',
2492
+ 'WINDOW-MAXIMI',
2493
+ 'WINDOW-MAXIMIZ',
2494
+ 'WINDOW-MAXIMIZE',
2495
+ 'WINDOW-MINIMIZED',
2496
+ 'WINDOW-MINIM',
2497
+ 'WINDOW-MINIMI',
2498
+ 'WINDOW-MINIMIZ',
2499
+ 'WINDOW-MINIMIZE',
2500
+ 'WINDOW-NAME',
2501
+ 'WINDOW-NORMAL',
2502
+ 'WINDOW-STATE',
2503
+ 'WINDOW-STA',
2504
+ 'WINDOW-STAT',
2505
+ 'WINDOW-SYSTEM',
2506
+ 'WITH',
2507
+ 'WORD-INDEX',
2508
+ 'WORD-WRAP',
2509
+ 'WORK-AREA-HEIGHT-PIXELS',
2510
+ 'WORK-AREA-WIDTH-PIXELS',
2511
+ 'WORK-AREA-X',
2512
+ 'WORK-AREA-Y',
2513
+ 'WORKFILE',
2514
+ 'WORK-TABLE',
2515
+ 'WORK-TAB',
2516
+ 'WORK-TABL',
2517
+ 'WRITE',
2518
+ 'WRITE-CDATA',
2519
+ 'WRITE-CHARACTERS',
2520
+ 'WRITE-COMMENT',
2521
+ 'WRITE-DATA-ELEMENT',
2522
+ 'WRITE-EMPTY-ELEMENT',
2523
+ 'WRITE-ENTITY-REF',
2524
+ 'WRITE-EXTERNAL-DTD',
2525
+ 'WRITE-FRAGMENT',
2526
+ 'WRITE-MESSAGE',
2527
+ 'WRITE-PROCESSING-INSTRUCTION',
2528
+ 'WRITE-STATUS',
2529
+ 'WRITE-XML',
2530
+ 'WRITE-XMLSCHEMA',
2531
+ 'X',
2532
+ 'XCODE',
2533
+ 'XML-DATA-TYPE',
2534
+ 'XML-NODE-TYPE',
2535
+ 'XML-SCHEMA-PATH',
2536
+ 'XML-SUPPRESS-NAMESPACE-PROCESSING',
2537
+ 'X-OF',
2538
+ 'XREF',
2539
+ 'XREF-XML',
2540
+ 'Y',
2541
+ 'YEAR',
2542
+ 'YEAR-OFFSET',
2543
+ 'YES',
2544
+ 'YES-NO',
2545
+ 'YES-NO-CANCEL',
2546
+ 'Y-OF'
2547
+ )
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_php_builtins.py ADDED
The diff for this file is too large to render. See raw diff
 
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_postgres_builtins.py ADDED
@@ -0,0 +1,621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._postgres_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Self-updating data files for PostgreSQL lexer.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
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
+ 'ASSERTION',
36
+ 'ASSIGNMENT',
37
+ 'ASYMMETRIC',
38
+ 'AT',
39
+ 'ATTRIBUTE',
40
+ 'AUTHORIZATION',
41
+ 'BACKWARD',
42
+ 'BEFORE',
43
+ 'BEGIN',
44
+ 'BETWEEN',
45
+ 'BIGINT',
46
+ 'BINARY',
47
+ 'BIT',
48
+ 'BOOLEAN',
49
+ 'BOTH',
50
+ 'BY',
51
+ 'CACHE',
52
+ 'CALLED',
53
+ 'CASCADE',
54
+ 'CASCADED',
55
+ 'CASE',
56
+ 'CAST',
57
+ 'CATALOG',
58
+ 'CHAIN',
59
+ 'CHAR',
60
+ 'CHARACTER',
61
+ 'CHARACTERISTICS',
62
+ 'CHECK',
63
+ 'CHECKPOINT',
64
+ 'CLASS',
65
+ 'CLOSE',
66
+ 'CLUSTER',
67
+ 'COALESCE',
68
+ 'COLLATE',
69
+ 'COLLATION',
70
+ 'COLUMN',
71
+ 'COMMENT',
72
+ 'COMMENTS',
73
+ 'COMMIT',
74
+ 'COMMITTED',
75
+ 'CONCURRENTLY',
76
+ 'CONFIGURATION',
77
+ 'CONNECTION',
78
+ 'CONSTRAINT',
79
+ 'CONSTRAINTS',
80
+ 'CONTENT',
81
+ 'CONTINUE',
82
+ 'CONVERSION',
83
+ 'COPY',
84
+ 'COST',
85
+ 'CREATE',
86
+ 'CROSS',
87
+ 'CSV',
88
+ 'CURRENT',
89
+ 'CURRENT_CATALOG',
90
+ 'CURRENT_DATE',
91
+ 'CURRENT_ROLE',
92
+ 'CURRENT_SCHEMA',
93
+ 'CURRENT_TIME',
94
+ 'CURRENT_TIMESTAMP',
95
+ 'CURRENT_USER',
96
+ 'CURSOR',
97
+ 'CYCLE',
98
+ 'DATA',
99
+ 'DATABASE',
100
+ 'DAY',
101
+ 'DEALLOCATE',
102
+ 'DEC',
103
+ 'DECIMAL',
104
+ 'DECLARE',
105
+ 'DEFAULT',
106
+ 'DEFAULTS',
107
+ 'DEFERRABLE',
108
+ 'DEFERRED',
109
+ 'DEFINER',
110
+ 'DELETE',
111
+ 'DELIMITER',
112
+ 'DELIMITERS',
113
+ 'DESC',
114
+ 'DICTIONARY',
115
+ 'DISABLE',
116
+ 'DISCARD',
117
+ 'DISTINCT',
118
+ 'DO',
119
+ 'DOCUMENT',
120
+ 'DOMAIN',
121
+ 'DOUBLE',
122
+ 'DROP',
123
+ 'EACH',
124
+ 'ELSE',
125
+ 'ENABLE',
126
+ 'ENCODING',
127
+ 'ENCRYPTED',
128
+ 'END',
129
+ 'ENUM',
130
+ 'ESCAPE',
131
+ 'EVENT',
132
+ 'EXCEPT',
133
+ 'EXCLUDE',
134
+ 'EXCLUDING',
135
+ 'EXCLUSIVE',
136
+ 'EXECUTE',
137
+ 'EXISTS',
138
+ 'EXPLAIN',
139
+ 'EXTENSION',
140
+ 'EXTERNAL',
141
+ 'EXTRACT',
142
+ 'FALSE',
143
+ 'FAMILY',
144
+ 'FETCH',
145
+ 'FILTER',
146
+ 'FIRST',
147
+ 'FLOAT',
148
+ 'FOLLOWING',
149
+ 'FOR',
150
+ 'FORCE',
151
+ 'FOREIGN',
152
+ 'FORWARD',
153
+ 'FREEZE',
154
+ 'FROM',
155
+ 'FULL',
156
+ 'FUNCTION',
157
+ 'FUNCTIONS',
158
+ 'GLOBAL',
159
+ 'GRANT',
160
+ 'GRANTED',
161
+ 'GREATEST',
162
+ 'GROUP',
163
+ 'HANDLER',
164
+ 'HAVING',
165
+ 'HEADER',
166
+ 'HOLD',
167
+ 'HOUR',
168
+ 'IDENTITY',
169
+ 'IF',
170
+ 'ILIKE',
171
+ 'IMMEDIATE',
172
+ 'IMMUTABLE',
173
+ 'IMPLICIT',
174
+ 'IN',
175
+ 'INCLUDING',
176
+ 'INCREMENT',
177
+ 'INDEX',
178
+ 'INDEXES',
179
+ 'INHERIT',
180
+ 'INHERITS',
181
+ 'INITIALLY',
182
+ 'INLINE',
183
+ 'INNER',
184
+ 'INOUT',
185
+ 'INPUT',
186
+ 'INSENSITIVE',
187
+ 'INSERT',
188
+ 'INSTEAD',
189
+ 'INT',
190
+ 'INTEGER',
191
+ 'INTERSECT',
192
+ 'INTERVAL',
193
+ 'INTO',
194
+ 'INVOKER',
195
+ 'IS',
196
+ 'ISNULL',
197
+ 'ISOLATION',
198
+ 'JOIN',
199
+ 'KEY',
200
+ 'LABEL',
201
+ 'LANGUAGE',
202
+ 'LARGE',
203
+ 'LAST',
204
+ 'LATERAL',
205
+ 'LC_COLLATE',
206
+ 'LC_CTYPE',
207
+ 'LEADING',
208
+ 'LEAKPROOF',
209
+ 'LEAST',
210
+ 'LEFT',
211
+ 'LEVEL',
212
+ 'LIKE',
213
+ 'LIMIT',
214
+ 'LISTEN',
215
+ 'LOAD',
216
+ 'LOCAL',
217
+ 'LOCALTIME',
218
+ 'LOCALTIMESTAMP',
219
+ 'LOCATION',
220
+ 'LOCK',
221
+ 'MAPPING',
222
+ 'MATCH',
223
+ 'MATERIALIZED',
224
+ 'MAXVALUE',
225
+ 'MINUTE',
226
+ 'MINVALUE',
227
+ 'MODE',
228
+ 'MONTH',
229
+ 'MOVE',
230
+ 'NAME',
231
+ 'NAMES',
232
+ 'NATIONAL',
233
+ 'NATURAL',
234
+ 'NCHAR',
235
+ 'NEXT',
236
+ 'NO',
237
+ 'NONE',
238
+ 'NOT',
239
+ 'NOTHING',
240
+ 'NOTIFY',
241
+ 'NOTNULL',
242
+ 'NOWAIT',
243
+ 'NULL',
244
+ 'NULLIF',
245
+ 'NULLS',
246
+ 'NUMERIC',
247
+ 'OBJECT',
248
+ 'OF',
249
+ 'OFF',
250
+ 'OFFSET',
251
+ 'OIDS',
252
+ 'ON',
253
+ 'ONLY',
254
+ 'OPERATOR',
255
+ 'OPTION',
256
+ 'OPTIONS',
257
+ 'OR',
258
+ 'ORDER',
259
+ 'ORDINALITY',
260
+ 'OUT',
261
+ 'OUTER',
262
+ 'OVER',
263
+ 'OVERLAPS',
264
+ 'OVERLAY',
265
+ 'OWNED',
266
+ 'OWNER',
267
+ 'PARSER',
268
+ 'PARTIAL',
269
+ 'PARTITION',
270
+ 'PASSING',
271
+ 'PASSWORD',
272
+ 'PLACING',
273
+ 'PLANS',
274
+ 'POLICY',
275
+ 'POSITION',
276
+ 'PRECEDING',
277
+ 'PRECISION',
278
+ 'PREPARE',
279
+ 'PREPARED',
280
+ 'PRESERVE',
281
+ 'PRIMARY',
282
+ 'PRIOR',
283
+ 'PRIVILEGES',
284
+ 'PROCEDURAL',
285
+ 'PROCEDURE',
286
+ 'PROGRAM',
287
+ 'QUOTE',
288
+ 'RANGE',
289
+ 'READ',
290
+ 'REAL',
291
+ 'REASSIGN',
292
+ 'RECHECK',
293
+ 'RECURSIVE',
294
+ 'REF',
295
+ 'REFERENCES',
296
+ 'REFRESH',
297
+ 'REINDEX',
298
+ 'RELATIVE',
299
+ 'RELEASE',
300
+ 'RENAME',
301
+ 'REPEATABLE',
302
+ 'REPLACE',
303
+ 'REPLICA',
304
+ 'RESET',
305
+ 'RESTART',
306
+ 'RESTRICT',
307
+ 'RETURNING',
308
+ 'RETURNS',
309
+ 'REVOKE',
310
+ 'RIGHT',
311
+ 'ROLE',
312
+ 'ROLLBACK',
313
+ 'ROW',
314
+ 'ROWS',
315
+ 'RULE',
316
+ 'SAVEPOINT',
317
+ 'SCHEMA',
318
+ 'SCROLL',
319
+ 'SEARCH',
320
+ 'SECOND',
321
+ 'SECURITY',
322
+ 'SELECT',
323
+ 'SEQUENCE',
324
+ 'SEQUENCES',
325
+ 'SERIALIZABLE',
326
+ 'SERVER',
327
+ 'SESSION',
328
+ 'SESSION_USER',
329
+ 'SET',
330
+ 'SETOF',
331
+ 'SHARE',
332
+ 'SHOW',
333
+ 'SIMILAR',
334
+ 'SIMPLE',
335
+ 'SMALLINT',
336
+ 'SNAPSHOT',
337
+ 'SOME',
338
+ 'STABLE',
339
+ 'STANDALONE',
340
+ 'START',
341
+ 'STATEMENT',
342
+ 'STATISTICS',
343
+ 'STDIN',
344
+ 'STDOUT',
345
+ 'STORAGE',
346
+ 'STRICT',
347
+ 'STRIP',
348
+ 'SUBSTRING',
349
+ 'SYMMETRIC',
350
+ 'SYSID',
351
+ 'SYSTEM',
352
+ 'TABLE',
353
+ 'TABLES',
354
+ 'TABLESPACE',
355
+ 'TEMP',
356
+ 'TEMPLATE',
357
+ 'TEMPORARY',
358
+ 'TEXT',
359
+ 'THEN',
360
+ 'TIME',
361
+ 'TIMESTAMP',
362
+ 'TO',
363
+ 'TRAILING',
364
+ 'TRANSACTION',
365
+ 'TREAT',
366
+ 'TRIGGER',
367
+ 'TRIM',
368
+ 'TRUE',
369
+ 'TRUNCATE',
370
+ 'TRUSTED',
371
+ 'TYPE',
372
+ 'TYPES',
373
+ 'UNBOUNDED',
374
+ 'UNCOMMITTED',
375
+ 'UNENCRYPTED',
376
+ 'UNION',
377
+ 'UNIQUE',
378
+ 'UNKNOWN',
379
+ 'UNLISTEN',
380
+ 'UNLOGGED',
381
+ 'UNTIL',
382
+ 'UPDATE',
383
+ 'USER',
384
+ 'USING',
385
+ 'VACUUM',
386
+ 'VALID',
387
+ 'VALIDATE',
388
+ 'VALIDATOR',
389
+ 'VALUE',
390
+ 'VALUES',
391
+ 'VARCHAR',
392
+ 'VARIADIC',
393
+ 'VARYING',
394
+ 'VERBOSE',
395
+ 'VERSION',
396
+ 'VIEW',
397
+ 'VIEWS',
398
+ 'VOLATILE',
399
+ 'WHEN',
400
+ 'WHERE',
401
+ 'WHITESPACE',
402
+ 'WINDOW',
403
+ 'WITH',
404
+ 'WITHIN',
405
+ 'WITHOUT',
406
+ 'WORK',
407
+ 'WRAPPER',
408
+ 'WRITE',
409
+ 'XML',
410
+ 'XMLATTRIBUTES',
411
+ 'XMLCONCAT',
412
+ 'XMLELEMENT',
413
+ 'XMLEXISTS',
414
+ 'XMLFOREST',
415
+ 'XMLPARSE',
416
+ 'XMLPI',
417
+ 'XMLROOT',
418
+ 'XMLSERIALIZE',
419
+ 'YEAR',
420
+ 'YES',
421
+ 'ZONE',
422
+ )
423
+
424
+ DATATYPES = (
425
+ 'bigint',
426
+ 'bigserial',
427
+ 'bit',
428
+ 'bit varying',
429
+ 'bool',
430
+ 'boolean',
431
+ 'box',
432
+ 'bytea',
433
+ 'char',
434
+ 'character',
435
+ 'character varying',
436
+ 'cidr',
437
+ 'circle',
438
+ 'date',
439
+ 'decimal',
440
+ 'double precision',
441
+ 'float4',
442
+ 'float8',
443
+ 'inet',
444
+ 'int',
445
+ 'int2',
446
+ 'int4',
447
+ 'int8',
448
+ 'integer',
449
+ 'interval',
450
+ 'json',
451
+ 'jsonb',
452
+ 'line',
453
+ 'lseg',
454
+ 'macaddr',
455
+ 'money',
456
+ 'numeric',
457
+ 'path',
458
+ 'pg_lsn',
459
+ 'point',
460
+ 'polygon',
461
+ 'real',
462
+ 'serial',
463
+ 'serial2',
464
+ 'serial4',
465
+ 'serial8',
466
+ 'smallint',
467
+ 'smallserial',
468
+ 'text',
469
+ 'time',
470
+ 'timestamp',
471
+ 'timestamptz',
472
+ 'timetz',
473
+ 'tsquery',
474
+ 'tsvector',
475
+ 'txid_snapshot',
476
+ 'uuid',
477
+ 'varbit',
478
+ 'varchar',
479
+ 'with time zone',
480
+ 'without time zone',
481
+ 'xml',
482
+ )
483
+
484
+ PSEUDO_TYPES = (
485
+ 'any',
486
+ 'anyelement',
487
+ 'anyarray',
488
+ 'anynonarray',
489
+ 'anyenum',
490
+ 'anyrange',
491
+ 'cstring',
492
+ 'internal',
493
+ 'language_handler',
494
+ 'fdw_handler',
495
+ 'record',
496
+ 'trigger',
497
+ 'void',
498
+ 'opaque',
499
+ )
500
+
501
+ # Remove 'trigger' from types
502
+ PSEUDO_TYPES = tuple(sorted(set(PSEUDO_TYPES) - set(map(str.lower, KEYWORDS))))
503
+
504
+ PLPGSQL_KEYWORDS = (
505
+ 'ALIAS', 'CONSTANT', 'DIAGNOSTICS', 'ELSIF', 'EXCEPTION', 'EXIT',
506
+ 'FOREACH', 'GET', 'LOOP', 'NOTICE', 'OPEN', 'PERFORM', 'QUERY', 'RAISE',
507
+ 'RETURN', 'REVERSE', 'SQLSTATE', 'WHILE',
508
+ )
509
+
510
+
511
+ if __name__ == '__main__': # pragma: no cover
512
+ import re
513
+ try:
514
+ from urllib import urlopen
515
+ except ImportError:
516
+ from urllib.request import urlopen
517
+
518
+ from pygments.util import format_lines
519
+
520
+ # One man's constant is another man's variable.
521
+ SOURCE_URL = 'https://github.com/postgres/postgres/raw/master'
522
+ KEYWORDS_URL = SOURCE_URL + '/doc/src/sgml/keywords.sgml'
523
+ DATATYPES_URL = SOURCE_URL + '/doc/src/sgml/datatype.sgml'
524
+
525
+ def update_myself():
526
+ data_file = list(urlopen(DATATYPES_URL))
527
+ datatypes = parse_datatypes(data_file)
528
+ pseudos = parse_pseudos(data_file)
529
+
530
+ keywords = parse_keywords(urlopen(KEYWORDS_URL))
531
+ update_consts(__file__, 'DATATYPES', datatypes)
532
+ update_consts(__file__, 'PSEUDO_TYPES', pseudos)
533
+ update_consts(__file__, 'KEYWORDS', keywords)
534
+
535
+ def parse_keywords(f):
536
+ kw = []
537
+ for m in re.finditer(
538
+ r'\s*<entry><token>([^<]+)</token></entry>\s*'
539
+ r'<entry>([^<]+)</entry>', f.read()):
540
+ kw.append(m.group(1))
541
+
542
+ if not kw:
543
+ raise ValueError('no keyword found')
544
+
545
+ kw.sort()
546
+ return kw
547
+
548
+ def parse_datatypes(f):
549
+ dt = set()
550
+ for line in f:
551
+ if '<sect1' in line:
552
+ break
553
+ if '<entry><type>' not in line:
554
+ continue
555
+
556
+ # Parse a string such as
557
+ # time [ (<replaceable>p</replaceable>) ] [ without time zone ]
558
+ # into types "time" and "without time zone"
559
+
560
+ # remove all the tags
561
+ line = re.sub("<replaceable>[^<]+</replaceable>", "", line)
562
+ line = re.sub("<[^>]+>", "", line)
563
+
564
+ # Drop the parts containing braces
565
+ for tmp in [t for tmp in line.split('[')
566
+ for t in tmp.split(']') if "(" not in t]:
567
+ for t in tmp.split(','):
568
+ t = t.strip()
569
+ if not t: continue
570
+ dt.add(" ".join(t.split()))
571
+
572
+ dt = list(dt)
573
+ dt.sort()
574
+ return dt
575
+
576
+ def parse_pseudos(f):
577
+ dt = []
578
+ re_start = re.compile(r'\s*<table id="datatype-pseudotypes-table">')
579
+ re_entry = re.compile(r'\s*<entry><type>([^<]+)</></entry>')
580
+ re_end = re.compile(r'\s*</table>')
581
+
582
+ f = iter(f)
583
+ for line in f:
584
+ if re_start.match(line) is not None:
585
+ break
586
+ else:
587
+ raise ValueError('pseudo datatypes table not found')
588
+
589
+ for line in f:
590
+ m = re_entry.match(line)
591
+ if m is not None:
592
+ dt.append(m.group(1))
593
+
594
+ if re_end.match(line) is not None:
595
+ break
596
+ else:
597
+ raise ValueError('end of pseudo datatypes table not found')
598
+
599
+ if not dt:
600
+ raise ValueError('pseudo datatypes not found')
601
+
602
+ return dt
603
+
604
+ def update_consts(filename, constname, content):
605
+ with open(filename) as f:
606
+ data = f.read()
607
+
608
+ # Line to start/end inserting
609
+ re_match = re.compile(r'^%s\s*=\s*\($.*?^\s*\)$' % constname, re.M | re.S)
610
+ m = re_match.search(data)
611
+ if not m:
612
+ raise ValueError('Could not find existing definition for %s' %
613
+ (constname,))
614
+
615
+ new_block = format_lines(constname, content)
616
+ data = data[:m.start()] + new_block + data[m.end():]
617
+
618
+ with open(filename, 'w') as f:
619
+ f.write(data)
620
+
621
+ update_myself()
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/_stata_builtins.py ADDED
@@ -0,0 +1,419 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers._stata_builtins
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Builtins for Stata
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+
13
+ builtins_base = (
14
+ "if", "else", "in", "foreach", "for", "forv", "forva",
15
+ "forval", "forvalu", "forvalue", "forvalues", "by", "bys",
16
+ "bysort", "quietly", "qui", "about", "ac",
17
+ "ac_7", "acprplot", "acprplot_7", "adjust", "ado", "adopath",
18
+ "adoupdate", "alpha", "ameans", "an", "ano", "anov", "anova",
19
+ "anova_estat", "anova_terms", "anovadef", "aorder", "ap", "app",
20
+ "appe", "appen", "append", "arch", "arch_dr", "arch_estat",
21
+ "arch_p", "archlm", "areg", "areg_p", "args", "arima",
22
+ "arima_dr", "arima_estat", "arima_p", "as", "asmprobit",
23
+ "asmprobit_estat", "asmprobit_lf", "asmprobit_mfx__dlg",
24
+ "asmprobit_p", "ass", "asse", "asser", "assert", "avplot",
25
+ "avplot_7", "avplots", "avplots_7", "bcskew0", "bgodfrey",
26
+ "binreg", "bip0_lf", "biplot", "bipp_lf", "bipr_lf",
27
+ "bipr_p", "biprobit", "bitest", "bitesti", "bitowt", "blogit",
28
+ "bmemsize", "boot", "bootsamp", "bootstrap", "bootstrap_8",
29
+ "boxco_l", "boxco_p", "boxcox", "boxcox_6", "boxcox_p",
30
+ "bprobit", "br", "break", "brier", "bro", "brow", "brows",
31
+ "browse", "brr", "brrstat", "bs", "bs_7", "bsampl_w",
32
+ "bsample", "bsample_7", "bsqreg", "bstat", "bstat_7", "bstat_8",
33
+ "bstrap", "bstrap_7", "ca", "ca_estat", "ca_p", "cabiplot",
34
+ "camat", "canon", "canon_8", "canon_8_p", "canon_estat",
35
+ "canon_p", "cap", "caprojection", "capt", "captu", "captur",
36
+ "capture", "cat", "cc", "cchart", "cchart_7", "cci",
37
+ "cd", "censobs_table", "centile", "cf", "char", "chdir",
38
+ "checkdlgfiles", "checkestimationsample", "checkhlpfiles",
39
+ "checksum", "chelp", "ci", "cii", "cl", "class", "classutil",
40
+ "clear", "cli", "clis", "clist", "clo", "clog", "clog_lf",
41
+ "clog_p", "clogi", "clogi_sw", "clogit", "clogit_lf",
42
+ "clogit_p", "clogitp", "clogl_sw", "cloglog", "clonevar",
43
+ "clslistarray", "cluster", "cluster_measures", "cluster_stop",
44
+ "cluster_tree", "cluster_tree_8", "clustermat", "cmdlog",
45
+ "cnr", "cnre", "cnreg", "cnreg_p", "cnreg_sw", "cnsreg",
46
+ "codebook", "collaps4", "collapse", "colormult_nb",
47
+ "colormult_nw", "compare", "compress", "conf", "confi",
48
+ "confir", "confirm", "conren", "cons", "const", "constr",
49
+ "constra", "constrai", "constrain", "constraint", "continue",
50
+ "contract", "copy", "copyright", "copysource", "cor", "corc",
51
+ "corr", "corr2data", "corr_anti", "corr_kmo", "corr_smc",
52
+ "corre", "correl", "correla", "correlat", "correlate",
53
+ "corrgram", "cou", "coun", "count", "cox", "cox_p", "cox_sw",
54
+ "coxbase", "coxhaz", "coxvar", "cprplot", "cprplot_7",
55
+ "crc", "cret", "cretu", "cretur", "creturn", "cross", "cs",
56
+ "cscript", "cscript_log", "csi", "ct", "ct_is", "ctset",
57
+ "ctst_5", "ctst_st", "cttost", "cumsp", "cumsp_7", "cumul",
58
+ "cusum", "cusum_7", "cutil", "d", "datasig", "datasign",
59
+ "datasigna", "datasignat", "datasignatu", "datasignatur",
60
+ "datasignature", "datetof", "db", "dbeta", "de", "dec",
61
+ "deco", "decod", "decode", "deff", "des", "desc", "descr",
62
+ "descri", "describ", "describe", "destring", "dfbeta",
63
+ "dfgls", "dfuller", "di", "di_g", "dir", "dirstats", "dis",
64
+ "discard", "disp", "disp_res", "disp_s", "displ", "displa",
65
+ "display", "distinct", "do", "doe", "doed", "doedi",
66
+ "doedit", "dotplot", "dotplot_7", "dprobit", "drawnorm",
67
+ "drop", "ds", "ds_util", "dstdize", "duplicates", "durbina",
68
+ "dwstat", "dydx", "e", "ed", "edi", "edit", "egen",
69
+ "eivreg", "emdef", "en", "enc", "enco", "encod", "encode",
70
+ "eq", "erase", "ereg", "ereg_lf", "ereg_p", "ereg_sw",
71
+ "ereghet", "ereghet_glf", "ereghet_glf_sh", "ereghet_gp",
72
+ "ereghet_ilf", "ereghet_ilf_sh", "ereghet_ip", "eret",
73
+ "eretu", "eretur", "ereturn", "err", "erro", "error", "est",
74
+ "est_cfexist", "est_cfname", "est_clickable", "est_expand",
75
+ "est_hold", "est_table", "est_unhold", "est_unholdok",
76
+ "estat", "estat_default", "estat_summ", "estat_vce_only",
77
+ "esti", "estimates", "etodow", "etof", "etomdy", "ex",
78
+ "exi", "exit", "expand", "expandcl", "fac", "fact", "facto",
79
+ "factor", "factor_estat", "factor_p", "factor_pca_rotated",
80
+ "factor_rotate", "factormat", "fcast", "fcast_compute",
81
+ "fcast_graph", "fdades", "fdadesc", "fdadescr", "fdadescri",
82
+ "fdadescrib", "fdadescribe", "fdasav", "fdasave", "fdause",
83
+ "fh_st", "open", "read", "close",
84
+ "file", "filefilter", "fillin", "find_hlp_file", "findfile",
85
+ "findit", "findit_7", "fit", "fl", "fli", "flis", "flist",
86
+ "for5_0", "form", "forma", "format", "fpredict", "frac_154",
87
+ "frac_adj", "frac_chk", "frac_cox", "frac_ddp", "frac_dis",
88
+ "frac_dv", "frac_in", "frac_mun", "frac_pp", "frac_pq",
89
+ "frac_pv", "frac_wgt", "frac_xo", "fracgen", "fracplot",
90
+ "fracplot_7", "fracpoly", "fracpred", "fron_ex", "fron_hn",
91
+ "fron_p", "fron_tn", "fron_tn2", "frontier", "ftodate", "ftoe",
92
+ "ftomdy", "ftowdate", "g", "gamhet_glf", "gamhet_gp",
93
+ "gamhet_ilf", "gamhet_ip", "gamma", "gamma_d2", "gamma_p",
94
+ "gamma_sw", "gammahet", "gdi_hexagon", "gdi_spokes", "ge",
95
+ "gen", "gene", "gener", "genera", "generat", "generate",
96
+ "genrank", "genstd", "genvmean", "gettoken", "gl", "gladder",
97
+ "gladder_7", "glim_l01", "glim_l02", "glim_l03", "glim_l04",
98
+ "glim_l05", "glim_l06", "glim_l07", "glim_l08", "glim_l09",
99
+ "glim_l10", "glim_l11", "glim_l12", "glim_lf", "glim_mu",
100
+ "glim_nw1", "glim_nw2", "glim_nw3", "glim_p", "glim_v1",
101
+ "glim_v2", "glim_v3", "glim_v4", "glim_v5", "glim_v6",
102
+ "glim_v7", "glm", "glm_6", "glm_p", "glm_sw", "glmpred", "glo",
103
+ "glob", "globa", "global", "glogit", "glogit_8", "glogit_p",
104
+ "gmeans", "gnbre_lf", "gnbreg", "gnbreg_5", "gnbreg_p",
105
+ "gomp_lf", "gompe_sw", "gomper_p", "gompertz", "gompertzhet",
106
+ "gomphet_glf", "gomphet_glf_sh", "gomphet_gp", "gomphet_ilf",
107
+ "gomphet_ilf_sh", "gomphet_ip", "gphdot", "gphpen",
108
+ "gphprint", "gprefs", "gprobi_p", "gprobit", "gprobit_8", "gr",
109
+ "gr7", "gr_copy", "gr_current", "gr_db", "gr_describe",
110
+ "gr_dir", "gr_draw", "gr_draw_replay", "gr_drop", "gr_edit",
111
+ "gr_editviewopts", "gr_example", "gr_example2", "gr_export",
112
+ "gr_print", "gr_qscheme", "gr_query", "gr_read", "gr_rename",
113
+ "gr_replay", "gr_save", "gr_set", "gr_setscheme", "gr_table",
114
+ "gr_undo", "gr_use", "graph", "graph7", "grebar", "greigen",
115
+ "greigen_7", "greigen_8", "grmeanby", "grmeanby_7",
116
+ "gs_fileinfo", "gs_filetype", "gs_graphinfo", "gs_stat",
117
+ "gsort", "gwood", "h", "hadimvo", "hareg", "hausman",
118
+ "haver", "he", "heck_d2", "heckma_p", "heckman", "heckp_lf",
119
+ "heckpr_p", "heckprob", "hel", "help", "hereg", "hetpr_lf",
120
+ "hetpr_p", "hetprob", "hettest", "hexdump", "hilite",
121
+ "hist", "hist_7", "histogram", "hlogit", "hlu", "hmeans",
122
+ "hotel", "hotelling", "hprobit", "hreg", "hsearch", "icd9",
123
+ "icd9_ff", "icd9p", "iis", "impute", "imtest", "inbase",
124
+ "include", "inf", "infi", "infil", "infile", "infix", "inp",
125
+ "inpu", "input", "ins", "insheet", "insp", "inspe",
126
+ "inspec", "inspect", "integ", "inten", "intreg", "intreg_7",
127
+ "intreg_p", "intrg2_ll", "intrg_ll", "intrg_ll2", "ipolate",
128
+ "iqreg", "ir", "irf", "irf_create", "irfm", "iri", "is_svy",
129
+ "is_svysum", "isid", "istdize", "ivprob_1_lf", "ivprob_lf",
130
+ "ivprobit", "ivprobit_p", "ivreg", "ivreg_footnote",
131
+ "ivtob_1_lf", "ivtob_lf", "ivtobit", "ivtobit_p", "jackknife",
132
+ "jacknife", "jknife", "jknife_6", "jknife_8", "jkstat",
133
+ "joinby", "kalarma1", "kap", "kap_3", "kapmeier", "kappa",
134
+ "kapwgt", "kdensity", "kdensity_7", "keep", "ksm", "ksmirnov",
135
+ "ktau", "kwallis", "l", "la", "lab", "labe", "label",
136
+ "labelbook", "ladder", "levels", "levelsof", "leverage",
137
+ "lfit", "lfit_p", "li", "lincom", "line", "linktest",
138
+ "lis", "list", "lloghet_glf", "lloghet_glf_sh", "lloghet_gp",
139
+ "lloghet_ilf", "lloghet_ilf_sh", "lloghet_ip", "llogi_sw",
140
+ "llogis_p", "llogist", "llogistic", "llogistichet",
141
+ "lnorm_lf", "lnorm_sw", "lnorma_p", "lnormal", "lnormalhet",
142
+ "lnormhet_glf", "lnormhet_glf_sh", "lnormhet_gp",
143
+ "lnormhet_ilf", "lnormhet_ilf_sh", "lnormhet_ip", "lnskew0",
144
+ "loadingplot", "loc", "loca", "local", "log", "logi",
145
+ "logis_lf", "logistic", "logistic_p", "logit", "logit_estat",
146
+ "logit_p", "loglogs", "logrank", "loneway", "lookfor",
147
+ "lookup", "lowess", "lowess_7", "lpredict", "lrecomp", "lroc",
148
+ "lroc_7", "lrtest", "ls", "lsens", "lsens_7", "lsens_x",
149
+ "lstat", "ltable", "ltable_7", "ltriang", "lv", "lvr2plot",
150
+ "lvr2plot_7", "m", "ma", "mac", "macr", "macro", "makecns",
151
+ "man", "manova", "manova_estat", "manova_p", "manovatest",
152
+ "mantel", "mark", "markin", "markout", "marksample", "mat",
153
+ "mat_capp", "mat_order", "mat_put_rr", "mat_rapp", "mata",
154
+ "mata_clear", "mata_describe", "mata_drop", "mata_matdescribe",
155
+ "mata_matsave", "mata_matuse", "mata_memory", "mata_mlib",
156
+ "mata_mosave", "mata_rename", "mata_which", "matalabel",
157
+ "matcproc", "matlist", "matname", "matr", "matri",
158
+ "matrix", "matrix_input__dlg", "matstrik", "mcc", "mcci",
159
+ "md0_", "md1_", "md1debug_", "md2_", "md2debug_", "mds",
160
+ "mds_estat", "mds_p", "mdsconfig", "mdslong", "mdsmat",
161
+ "mdsshepard", "mdytoe", "mdytof", "me_derd", "mean",
162
+ "means", "median", "memory", "memsize", "meqparse", "mer",
163
+ "merg", "merge", "mfp", "mfx", "mhelp", "mhodds", "minbound",
164
+ "mixed_ll", "mixed_ll_reparm", "mkassert", "mkdir",
165
+ "mkmat", "mkspline", "ml", "ml_5", "ml_adjs", "ml_bhhhs",
166
+ "ml_c_d", "ml_check", "ml_clear", "ml_cnt", "ml_debug",
167
+ "ml_defd", "ml_e0", "ml_e0_bfgs", "ml_e0_cycle", "ml_e0_dfp",
168
+ "ml_e0i", "ml_e1", "ml_e1_bfgs", "ml_e1_bhhh", "ml_e1_cycle",
169
+ "ml_e1_dfp", "ml_e2", "ml_e2_cycle", "ml_ebfg0", "ml_ebfr0",
170
+ "ml_ebfr1", "ml_ebh0q", "ml_ebhh0", "ml_ebhr0", "ml_ebr0i",
171
+ "ml_ecr0i", "ml_edfp0", "ml_edfr0", "ml_edfr1", "ml_edr0i",
172
+ "ml_eds", "ml_eer0i", "ml_egr0i", "ml_elf", "ml_elf_bfgs",
173
+ "ml_elf_bhhh", "ml_elf_cycle", "ml_elf_dfp", "ml_elfi",
174
+ "ml_elfs", "ml_enr0i", "ml_enrr0", "ml_erdu0", "ml_erdu0_bfgs",
175
+ "ml_erdu0_bhhh", "ml_erdu0_bhhhq", "ml_erdu0_cycle",
176
+ "ml_erdu0_dfp", "ml_erdu0_nrbfgs", "ml_exde", "ml_footnote",
177
+ "ml_geqnr", "ml_grad0", "ml_graph", "ml_hbhhh", "ml_hd0",
178
+ "ml_hold", "ml_init", "ml_inv", "ml_log", "ml_max",
179
+ "ml_mlout", "ml_mlout_8", "ml_model", "ml_nb0", "ml_opt",
180
+ "ml_p", "ml_plot", "ml_query", "ml_rdgrd", "ml_repor",
181
+ "ml_s_e", "ml_score", "ml_searc", "ml_technique", "ml_unhold",
182
+ "mleval", "mlf_", "mlmatbysum", "mlmatsum", "mlog", "mlogi",
183
+ "mlogit", "mlogit_footnote", "mlogit_p", "mlopts", "mlsum",
184
+ "mlvecsum", "mnl0_", "mor", "more", "mov", "move", "mprobit",
185
+ "mprobit_lf", "mprobit_p", "mrdu0_", "mrdu1_", "mvdecode",
186
+ "mvencode", "mvreg", "mvreg_estat", "n", "nbreg",
187
+ "nbreg_al", "nbreg_lf", "nbreg_p", "nbreg_sw", "nestreg", "net",
188
+ "newey", "newey_7", "newey_p", "news", "nl", "nl_7", "nl_9",
189
+ "nl_9_p", "nl_p", "nl_p_7", "nlcom", "nlcom_p", "nlexp2",
190
+ "nlexp2_7", "nlexp2a", "nlexp2a_7", "nlexp3", "nlexp3_7",
191
+ "nlgom3", "nlgom3_7", "nlgom4", "nlgom4_7", "nlinit", "nllog3",
192
+ "nllog3_7", "nllog4", "nllog4_7", "nlog_rd", "nlogit",
193
+ "nlogit_p", "nlogitgen", "nlogittree", "nlpred", "no",
194
+ "nobreak", "noi", "nois", "noisi", "noisil", "noisily", "note",
195
+ "notes", "notes_dlg", "nptrend", "numlabel", "numlist", "odbc",
196
+ "old_ver", "olo", "olog", "ologi", "ologi_sw", "ologit",
197
+ "ologit_p", "ologitp", "on", "one", "onew", "onewa", "oneway",
198
+ "op_colnm", "op_comp", "op_diff", "op_inv", "op_str", "opr",
199
+ "opro", "oprob", "oprob_sw", "oprobi", "oprobi_p", "oprobit",
200
+ "oprobitp", "opts_exclusive", "order", "orthog", "orthpoly",
201
+ "ou", "out", "outf", "outfi", "outfil", "outfile", "outs",
202
+ "outsh", "outshe", "outshee", "outsheet", "ovtest", "pac",
203
+ "pac_7", "palette", "parse", "parse_dissim", "pause", "pca",
204
+ "pca_8", "pca_display", "pca_estat", "pca_p", "pca_rotate",
205
+ "pcamat", "pchart", "pchart_7", "pchi", "pchi_7", "pcorr",
206
+ "pctile", "pentium", "pergram", "pergram_7", "permute",
207
+ "permute_8", "personal", "peto_st", "pkcollapse", "pkcross",
208
+ "pkequiv", "pkexamine", "pkexamine_7", "pkshape", "pksumm",
209
+ "pksumm_7", "pl", "plo", "plot", "plugin", "pnorm",
210
+ "pnorm_7", "poisgof", "poiss_lf", "poiss_sw", "poisso_p",
211
+ "poisson", "poisson_estat", "post", "postclose", "postfile",
212
+ "postutil", "pperron", "pr", "prais", "prais_e", "prais_e2",
213
+ "prais_p", "predict", "predictnl", "preserve", "print",
214
+ "pro", "prob", "probi", "probit", "probit_estat", "probit_p",
215
+ "proc_time", "procoverlay", "procrustes", "procrustes_estat",
216
+ "procrustes_p", "profiler", "prog", "progr", "progra",
217
+ "program", "prop", "proportion", "prtest", "prtesti", "pwcorr",
218
+ "pwd", "q", "s", "qby", "qbys", "qchi", "qchi_7", "qladder",
219
+ "qladder_7", "qnorm", "qnorm_7", "qqplot", "qqplot_7", "qreg",
220
+ "qreg_c", "qreg_p", "qreg_sw", "qu", "quadchk", "quantile",
221
+ "quantile_7", "que", "quer", "query", "range", "ranksum",
222
+ "ratio", "rchart", "rchart_7", "rcof", "recast", "reclink",
223
+ "recode", "reg", "reg3", "reg3_p", "regdw", "regr", "regre",
224
+ "regre_p2", "regres", "regres_p", "regress", "regress_estat",
225
+ "regriv_p", "remap", "ren", "rena", "renam", "rename",
226
+ "renpfix", "repeat", "replace", "report", "reshape",
227
+ "restore", "ret", "retu", "retur", "return", "rm", "rmdir",
228
+ "robvar", "roccomp", "roccomp_7", "roccomp_8", "rocf_lf",
229
+ "rocfit", "rocfit_8", "rocgold", "rocplot", "rocplot_7",
230
+ "roctab", "roctab_7", "rolling", "rologit", "rologit_p",
231
+ "rot", "rota", "rotat", "rotate", "rotatemat", "rreg",
232
+ "rreg_p", "ru", "run", "runtest", "rvfplot", "rvfplot_7",
233
+ "rvpplot", "rvpplot_7", "sa", "safesum", "sample",
234
+ "sampsi", "sav", "save", "savedresults", "saveold", "sc",
235
+ "sca", "scal", "scala", "scalar", "scatter", "scm_mine",
236
+ "sco", "scob_lf", "scob_p", "scobi_sw", "scobit", "scor",
237
+ "score", "scoreplot", "scoreplot_help", "scree", "screeplot",
238
+ "screeplot_help", "sdtest", "sdtesti", "se", "search",
239
+ "separate", "seperate", "serrbar", "serrbar_7", "serset", "set",
240
+ "set_defaults", "sfrancia", "sh", "she", "shel", "shell",
241
+ "shewhart", "shewhart_7", "signestimationsample", "signrank",
242
+ "signtest", "simul", "simul_7", "simulate", "simulate_8",
243
+ "sktest", "sleep", "slogit", "slogit_d2", "slogit_p", "smooth",
244
+ "snapspan", "so", "sor", "sort", "spearman", "spikeplot",
245
+ "spikeplot_7", "spikeplt", "spline_x", "split", "sqreg",
246
+ "sqreg_p", "sret", "sretu", "sretur", "sreturn", "ssc", "st",
247
+ "st_ct", "st_hc", "st_hcd", "st_hcd_sh", "st_is", "st_issys",
248
+ "st_note", "st_promo", "st_set", "st_show", "st_smpl",
249
+ "st_subid", "stack", "statsby", "statsby_8", "stbase", "stci",
250
+ "stci_7", "stcox", "stcox_estat", "stcox_fr", "stcox_fr_ll",
251
+ "stcox_p", "stcox_sw", "stcoxkm", "stcoxkm_7", "stcstat",
252
+ "stcurv", "stcurve", "stcurve_7", "stdes", "stem", "stepwise",
253
+ "stereg", "stfill", "stgen", "stir", "stjoin", "stmc", "stmh",
254
+ "stphplot", "stphplot_7", "stphtest", "stphtest_7",
255
+ "stptime", "strate", "strate_7", "streg", "streg_sw", "streset",
256
+ "sts", "sts_7", "stset", "stsplit", "stsum", "sttocc",
257
+ "sttoct", "stvary", "stweib", "su", "suest", "suest_8",
258
+ "sum", "summ", "summa", "summar", "summari", "summariz",
259
+ "summarize", "sunflower", "sureg", "survcurv", "survsum",
260
+ "svar", "svar_p", "svmat", "svy", "svy_disp", "svy_dreg",
261
+ "svy_est", "svy_est_7", "svy_estat", "svy_get", "svy_gnbreg_p",
262
+ "svy_head", "svy_header", "svy_heckman_p", "svy_heckprob_p",
263
+ "svy_intreg_p", "svy_ivreg_p", "svy_logistic_p", "svy_logit_p",
264
+ "svy_mlogit_p", "svy_nbreg_p", "svy_ologit_p", "svy_oprobit_p",
265
+ "svy_poisson_p", "svy_probit_p", "svy_regress_p", "svy_sub",
266
+ "svy_sub_7", "svy_x", "svy_x_7", "svy_x_p", "svydes",
267
+ "svydes_8", "svygen", "svygnbreg", "svyheckman", "svyheckprob",
268
+ "svyintreg", "svyintreg_7", "svyintrg", "svyivreg", "svylc",
269
+ "svylog_p", "svylogit", "svymarkout", "svymarkout_8",
270
+ "svymean", "svymlog", "svymlogit", "svynbreg", "svyolog",
271
+ "svyologit", "svyoprob", "svyoprobit", "svyopts",
272
+ "svypois", "svypois_7", "svypoisson", "svyprobit", "svyprobt",
273
+ "svyprop", "svyprop_7", "svyratio", "svyreg", "svyreg_p",
274
+ "svyregress", "svyset", "svyset_7", "svyset_8", "svytab",
275
+ "svytab_7", "svytest", "svytotal", "sw", "sw_8", "swcnreg",
276
+ "swcox", "swereg", "swilk", "swlogis", "swlogit",
277
+ "swologit", "swoprbt", "swpois", "swprobit", "swqreg",
278
+ "swtobit", "swweib", "symmetry", "symmi", "symplot",
279
+ "symplot_7", "syntax", "sysdescribe", "sysdir", "sysuse",
280
+ "szroeter", "ta", "tab", "tab1", "tab2", "tab_or", "tabd",
281
+ "tabdi", "tabdis", "tabdisp", "tabi", "table", "tabodds",
282
+ "tabodds_7", "tabstat", "tabu", "tabul", "tabula", "tabulat",
283
+ "tabulate", "te", "tempfile", "tempname", "tempvar", "tes",
284
+ "test", "testnl", "testparm", "teststd", "tetrachoric",
285
+ "time_it", "timer", "tis", "tob", "tobi", "tobit", "tobit_p",
286
+ "tobit_sw", "token", "tokeni", "tokeniz", "tokenize",
287
+ "tostring", "total", "translate", "translator", "transmap",
288
+ "treat_ll", "treatr_p", "treatreg", "trim", "trnb_cons",
289
+ "trnb_mean", "trpoiss_d2", "trunc_ll", "truncr_p", "truncreg",
290
+ "tsappend", "tset", "tsfill", "tsline", "tsline_ex",
291
+ "tsreport", "tsrevar", "tsrline", "tsset", "tssmooth",
292
+ "tsunab", "ttest", "ttesti", "tut_chk", "tut_wait", "tutorial",
293
+ "tw", "tware_st", "two", "twoway", "twoway__fpfit_serset",
294
+ "twoway__function_gen", "twoway__histogram_gen",
295
+ "twoway__ipoint_serset", "twoway__ipoints_serset",
296
+ "twoway__kdensity_gen", "twoway__lfit_serset",
297
+ "twoway__normgen_gen", "twoway__pci_serset",
298
+ "twoway__qfit_serset", "twoway__scatteri_serset",
299
+ "twoway__sunflower_gen", "twoway_ksm_serset", "ty", "typ",
300
+ "type", "typeof", "u", "unab", "unabbrev", "unabcmd",
301
+ "update", "us", "use", "uselabel", "var", "var_mkcompanion",
302
+ "var_p", "varbasic", "varfcast", "vargranger", "varirf",
303
+ "varirf_add", "varirf_cgraph", "varirf_create", "varirf_ctable",
304
+ "varirf_describe", "varirf_dir", "varirf_drop", "varirf_erase",
305
+ "varirf_graph", "varirf_ograph", "varirf_rename", "varirf_set",
306
+ "varirf_table", "varlist", "varlmar", "varnorm", "varsoc",
307
+ "varstable", "varstable_w", "varstable_w2", "varwle",
308
+ "vce", "vec", "vec_fevd", "vec_mkphi", "vec_p", "vec_p_w",
309
+ "vecirf_create", "veclmar", "veclmar_w", "vecnorm",
310
+ "vecnorm_w", "vecrank", "vecstable", "verinst", "vers",
311
+ "versi", "versio", "version", "view", "viewsource", "vif",
312
+ "vwls", "wdatetof", "webdescribe", "webseek", "webuse",
313
+ "weib1_lf", "weib2_lf", "weib_lf", "weib_lf0", "weibhet_glf",
314
+ "weibhet_glf_sh", "weibhet_glfa", "weibhet_glfa_sh",
315
+ "weibhet_gp", "weibhet_ilf", "weibhet_ilf_sh", "weibhet_ilfa",
316
+ "weibhet_ilfa_sh", "weibhet_ip", "weibu_sw", "weibul_p",
317
+ "weibull", "weibull_c", "weibull_s", "weibullhet",
318
+ "wh", "whelp", "whi", "which", "whil", "while", "wilc_st",
319
+ "wilcoxon", "win", "wind", "windo", "window", "winexec",
320
+ "wntestb", "wntestb_7", "wntestq", "xchart", "xchart_7",
321
+ "xcorr", "xcorr_7", "xi", "xi_6", "xmlsav", "xmlsave",
322
+ "xmluse", "xpose", "xsh", "xshe", "xshel", "xshell",
323
+ "xt_iis", "xt_tis", "xtab_p", "xtabond", "xtbin_p",
324
+ "xtclog", "xtcloglog", "xtcloglog_8", "xtcloglog_d2",
325
+ "xtcloglog_pa_p", "xtcloglog_re_p", "xtcnt_p", "xtcorr",
326
+ "xtdata", "xtdes", "xtfront_p", "xtfrontier", "xtgee",
327
+ "xtgee_elink", "xtgee_estat", "xtgee_makeivar", "xtgee_p",
328
+ "xtgee_plink", "xtgls", "xtgls_p", "xthaus", "xthausman",
329
+ "xtht_p", "xthtaylor", "xtile", "xtint_p", "xtintreg",
330
+ "xtintreg_8", "xtintreg_d2", "xtintreg_p", "xtivp_1",
331
+ "xtivp_2", "xtivreg", "xtline", "xtline_ex", "xtlogit",
332
+ "xtlogit_8", "xtlogit_d2", "xtlogit_fe_p", "xtlogit_pa_p",
333
+ "xtlogit_re_p", "xtmixed", "xtmixed_estat", "xtmixed_p",
334
+ "xtnb_fe", "xtnb_lf", "xtnbreg", "xtnbreg_pa_p",
335
+ "xtnbreg_refe_p", "xtpcse", "xtpcse_p", "xtpois", "xtpoisson",
336
+ "xtpoisson_d2", "xtpoisson_pa_p", "xtpoisson_refe_p", "xtpred",
337
+ "xtprobit", "xtprobit_8", "xtprobit_d2", "xtprobit_re_p",
338
+ "xtps_fe", "xtps_lf", "xtps_ren", "xtps_ren_8", "xtrar_p",
339
+ "xtrc", "xtrc_p", "xtrchh", "xtrefe_p", "xtreg", "xtreg_be",
340
+ "xtreg_fe", "xtreg_ml", "xtreg_pa_p", "xtreg_re",
341
+ "xtregar", "xtrere_p", "xtset", "xtsf_ll", "xtsf_llti",
342
+ "xtsum", "xttab", "xttest0", "xttobit", "xttobit_8",
343
+ "xttobit_p", "xttrans", "yx", "yxview__barlike_draw",
344
+ "yxview_area_draw", "yxview_bar_draw", "yxview_dot_draw",
345
+ "yxview_dropline_draw", "yxview_function_draw",
346
+ "yxview_iarrow_draw", "yxview_ilabels_draw",
347
+ "yxview_normal_draw", "yxview_pcarrow_draw",
348
+ "yxview_pcbarrow_draw", "yxview_pccapsym_draw",
349
+ "yxview_pcscatter_draw", "yxview_pcspike_draw",
350
+ "yxview_rarea_draw", "yxview_rbar_draw", "yxview_rbarm_draw",
351
+ "yxview_rcap_draw", "yxview_rcapsym_draw",
352
+ "yxview_rconnected_draw", "yxview_rline_draw",
353
+ "yxview_rscatter_draw", "yxview_rspike_draw",
354
+ "yxview_spike_draw", "yxview_sunflower_draw", "zap_s", "zinb",
355
+ "zinb_llf", "zinb_plf", "zip", "zip_llf", "zip_p", "zip_plf",
356
+ "zt_ct_5", "zt_hc_5", "zt_hcd_5", "zt_is_5", "zt_iss_5",
357
+ "zt_sho_5", "zt_smp_5", "ztbase_5", "ztcox_5", "ztdes_5",
358
+ "ztereg_5", "ztfill_5", "ztgen_5", "ztir_5", "ztjoin_5", "ztnb",
359
+ "ztnb_p", "ztp", "ztp_p", "zts_5", "ztset_5", "ztspli_5",
360
+ "ztsum_5", "zttoct_5", "ztvary_5", "ztweib_5"
361
+ )
362
+
363
+ builtins_functions = (
364
+ "Cdhms", "Chms", "Clock", "Cmdyhms", "Cofc", "Cofd", "F",
365
+ "Fden", "Ftail", "I", "J", "_caller", "abbrev", "abs", "acos",
366
+ "acosh", "asin", "asinh", "atan", "atan2", "atanh",
367
+ "autocode", "betaden", "binomial", "binomialp", "binomialtail",
368
+ "binormal", "bofd", "byteorder", "c", "ceil", "char",
369
+ "chi2", "chi2den", "chi2tail", "cholesky", "chop", "clip",
370
+ "clock", "cloglog", "cofC", "cofd", "colnumb", "colsof", "comb",
371
+ "cond", "corr", "cos", "cosh", "d", "daily", "date", "day",
372
+ "det", "dgammapda", "dgammapdada", "dgammapdadx", "dgammapdx",
373
+ "dgammapdxdx", "dhms", "diag", "diag0cnt", "digamma",
374
+ "dofC", "dofb", "dofc", "dofh", "dofm", "dofq", "dofw",
375
+ "dofy", "dow", "doy", "dunnettprob", "e", "el", "epsdouble",
376
+ "epsfloat", "exp", "fileexists", "fileread", "filereaderror",
377
+ "filewrite", "float", "floor", "fmtwidth", "gammaden",
378
+ "gammap", "gammaptail", "get", "group", "h", "hadamard",
379
+ "halfyear", "halfyearly", "has_eprop", "hh", "hhC", "hms",
380
+ "hofd", "hours", "hypergeometric", "hypergeometricp", "ibeta",
381
+ "ibetatail", "index", "indexnot", "inlist", "inrange", "int",
382
+ "inv", "invF", "invFtail", "invbinomial", "invbinomialtail",
383
+ "invchi2", "invchi2tail", "invcloglog", "invdunnettprob",
384
+ "invgammap", "invgammaptail", "invibeta", "invibetatail",
385
+ "invlogit", "invnFtail", "invnbinomial", "invnbinomialtail",
386
+ "invnchi2", "invnchi2tail", "invnibeta", "invnorm", "invnormal",
387
+ "invnttail", "invpoisson", "invpoissontail", "invsym", "invt",
388
+ "invttail", "invtukeyprob", "irecode", "issym", "issymmetric",
389
+ "itrim", "length", "ln", "lnfact", "lnfactorial", "lngamma",
390
+ "lnnormal", "lnnormalden", "log", "log10", "logit", "lower",
391
+ "ltrim", "m", "match", "matmissing", "matrix", "matuniform",
392
+ "max", "maxbyte", "maxdouble", "maxfloat", "maxint", "maxlong",
393
+ "mdy", "mdyhms", "mi", "min", "minbyte", "mindouble",
394
+ "minfloat", "minint", "minlong", "minutes", "missing", "mm",
395
+ "mmC", "mod", "mofd", "month", "monthly", "mreldif",
396
+ "msofhours", "msofminutes", "msofseconds", "nF", "nFden",
397
+ "nFtail", "nbetaden", "nbinomial", "nbinomialp", "nbinomialtail",
398
+ "nchi2", "nchi2den", "nchi2tail", "nibeta", "norm", "normal",
399
+ "normalden", "normd", "npnF", "npnchi2", "npnt", "nt", "ntden",
400
+ "nttail", "nullmat", "plural", "poisson", "poissonp",
401
+ "poissontail", "proper", "q", "qofd", "quarter", "quarterly",
402
+ "r", "rbeta", "rbinomial", "rchi2", "real", "recode", "regexm",
403
+ "regexr", "regexs", "reldif", "replay", "return", "reverse",
404
+ "rgamma", "rhypergeometric", "rnbinomial", "rnormal", "round",
405
+ "rownumb", "rowsof", "rpoisson", "rt", "rtrim", "runiform", "s",
406
+ "scalar", "seconds", "sign", "sin", "sinh", "smallestdouble",
407
+ "soundex", "soundex_nara", "sqrt", "ss", "ssC", "strcat",
408
+ "strdup", "string", "strlen", "strlower", "strltrim", "strmatch",
409
+ "strofreal", "strpos", "strproper", "strreverse", "strrtrim",
410
+ "strtoname", "strtrim", "strupper", "subinstr", "subinword",
411
+ "substr", "sum", "sweep", "syminv", "t", "tC", "tan", "tanh",
412
+ "tc", "td", "tden", "th", "tin", "tm", "tq", "trace",
413
+ "trigamma", "trim", "trunc", "ttail", "tukeyprob", "tw",
414
+ "twithin", "uniform", "upper", "vec", "vecdiag", "w", "week",
415
+ "weekly", "wofd", "word", "wordcount", "year", "yearly",
416
+ "yh", "ym", "yofd", "yq", "yw"
417
+ )
418
+
419
+
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/actionscript.py ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.actionscript
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for ActionScript and MXML.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, bygroups, using, this, words, default
15
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
16
+ Number, Punctuation
17
+
18
+ __all__ = ['ActionScriptLexer', 'ActionScript3Lexer', 'MxmlLexer']
19
+
20
+
21
+ class ActionScriptLexer(RegexLexer):
22
+ """
23
+ For ActionScript source code.
24
+
25
+ .. versionadded:: 0.9
26
+ """
27
+
28
+ name = 'ActionScript'
29
+ aliases = ['as', 'actionscript']
30
+ filenames = ['*.as']
31
+ mimetypes = ['application/x-actionscript', 'text/x-actionscript',
32
+ 'text/actionscript']
33
+
34
+ flags = re.DOTALL
35
+ tokens = {
36
+ 'root': [
37
+ (r'\s+', Text),
38
+ (r'//.*?\n', Comment.Single),
39
+ (r'/\*.*?\*/', Comment.Multiline),
40
+ (r'/(\\\\|\\/|[^/\n])*/[gim]*', String.Regex),
41
+ (r'[~^*!%&<>|+=:;,/?\\-]+', Operator),
42
+ (r'[{}\[\]();.]+', Punctuation),
43
+ (words((
44
+ 'case', 'default', 'for', 'each', 'in', 'while', 'do', 'break',
45
+ 'return', 'continue', 'if', 'else', 'throw', 'try', 'catch',
46
+ 'var', 'with', 'new', 'typeof', 'arguments', 'instanceof', 'this',
47
+ 'switch'), suffix=r'\b'),
48
+ Keyword),
49
+ (words((
50
+ 'class', 'public', 'final', 'internal', 'native', 'override', 'private',
51
+ 'protected', 'static', 'import', 'extends', 'implements', 'interface',
52
+ 'intrinsic', 'return', 'super', 'dynamic', 'function', 'const', 'get',
53
+ 'namespace', 'package', 'set'), suffix=r'\b'),
54
+ Keyword.Declaration),
55
+ (r'(true|false|null|NaN|Infinity|-Infinity|undefined|Void)\b',
56
+ Keyword.Constant),
57
+ (words((
58
+ 'Accessibility', 'AccessibilityProperties', 'ActionScriptVersion',
59
+ 'ActivityEvent', 'AntiAliasType', 'ApplicationDomain', 'AsBroadcaster', 'Array',
60
+ 'AsyncErrorEvent', 'AVM1Movie', 'BevelFilter', 'Bitmap', 'BitmapData',
61
+ 'BitmapDataChannel', 'BitmapFilter', 'BitmapFilterQuality', 'BitmapFilterType',
62
+ 'BlendMode', 'BlurFilter', 'Boolean', 'ByteArray', 'Camera', 'Capabilities', 'CapsStyle',
63
+ 'Class', 'Color', 'ColorMatrixFilter', 'ColorTransform', 'ContextMenu',
64
+ 'ContextMenuBuiltInItems', 'ContextMenuEvent', 'ContextMenuItem',
65
+ 'ConvultionFilter', 'CSMSettings', 'DataEvent', 'Date', 'DefinitionError',
66
+ 'DeleteObjectSample', 'Dictionary', 'DisplacmentMapFilter', 'DisplayObject',
67
+ 'DisplacmentMapFilterMode', 'DisplayObjectContainer', 'DropShadowFilter',
68
+ 'Endian', 'EOFError', 'Error', 'ErrorEvent', 'EvalError', 'Event', 'EventDispatcher',
69
+ 'EventPhase', 'ExternalInterface', 'FileFilter', 'FileReference',
70
+ 'FileReferenceList', 'FocusDirection', 'FocusEvent', 'Font', 'FontStyle', 'FontType',
71
+ 'FrameLabel', 'FullScreenEvent', 'Function', 'GlowFilter', 'GradientBevelFilter',
72
+ 'GradientGlowFilter', 'GradientType', 'Graphics', 'GridFitType', 'HTTPStatusEvent',
73
+ 'IBitmapDrawable', 'ID3Info', 'IDataInput', 'IDataOutput', 'IDynamicPropertyOutput'
74
+ 'IDynamicPropertyWriter', 'IEventDispatcher', 'IExternalizable',
75
+ 'IllegalOperationError', 'IME', 'IMEConversionMode', 'IMEEvent', 'int',
76
+ 'InteractiveObject', 'InterpolationMethod', 'InvalidSWFError', 'InvokeEvent',
77
+ 'IOError', 'IOErrorEvent', 'JointStyle', 'Key', 'Keyboard', 'KeyboardEvent', 'KeyLocation',
78
+ 'LineScaleMode', 'Loader', 'LoaderContext', 'LoaderInfo', 'LoadVars', 'LocalConnection',
79
+ 'Locale', 'Math', 'Matrix', 'MemoryError', 'Microphone', 'MorphShape', 'Mouse', 'MouseEvent',
80
+ 'MovieClip', 'MovieClipLoader', 'Namespace', 'NetConnection', 'NetStatusEvent',
81
+ 'NetStream', 'NewObjectSample', 'Number', 'Object', 'ObjectEncoding', 'PixelSnapping',
82
+ 'Point', 'PrintJob', 'PrintJobOptions', 'PrintJobOrientation', 'ProgressEvent', 'Proxy',
83
+ 'QName', 'RangeError', 'Rectangle', 'ReferenceError', 'RegExp', 'Responder', 'Sample',
84
+ 'Scene', 'ScriptTimeoutError', 'Security', 'SecurityDomain', 'SecurityError',
85
+ 'SecurityErrorEvent', 'SecurityPanel', 'Selection', 'Shape', 'SharedObject',
86
+ 'SharedObjectFlushStatus', 'SimpleButton', 'Socket', 'Sound', 'SoundChannel',
87
+ 'SoundLoaderContext', 'SoundMixer', 'SoundTransform', 'SpreadMethod', 'Sprite',
88
+ 'StackFrame', 'StackOverflowError', 'Stage', 'StageAlign', 'StageDisplayState',
89
+ 'StageQuality', 'StageScaleMode', 'StaticText', 'StatusEvent', 'String', 'StyleSheet',
90
+ 'SWFVersion', 'SyncEvent', 'SyntaxError', 'System', 'TextColorType', 'TextField',
91
+ 'TextFieldAutoSize', 'TextFieldType', 'TextFormat', 'TextFormatAlign',
92
+ 'TextLineMetrics', 'TextRenderer', 'TextSnapshot', 'Timer', 'TimerEvent', 'Transform',
93
+ 'TypeError', 'uint', 'URIError', 'URLLoader', 'URLLoaderDataFormat', 'URLRequest',
94
+ 'URLRequestHeader', 'URLRequestMethod', 'URLStream', 'URLVariabeles', 'VerifyError',
95
+ 'Video', 'XML', 'XMLDocument', 'XMLList', 'XMLNode', 'XMLNodeType', 'XMLSocket',
96
+ 'XMLUI'), suffix=r'\b'),
97
+ Name.Builtin),
98
+ (words((
99
+ 'decodeURI', 'decodeURIComponent', 'encodeURI', 'escape', 'eval', 'isFinite', 'isNaN',
100
+ 'isXMLName', 'clearInterval', 'fscommand', 'getTimer', 'getURL', 'getVersion',
101
+ 'parseFloat', 'parseInt', 'setInterval', 'trace', 'updateAfterEvent',
102
+ 'unescape'), suffix=r'\b'),
103
+ Name.Function),
104
+ (r'[$a-zA-Z_]\w*', Name.Other),
105
+ (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float),
106
+ (r'0x[0-9a-f]+', Number.Hex),
107
+ (r'[0-9]+', Number.Integer),
108
+ (r'"(\\\\|\\"|[^"])*"', String.Double),
109
+ (r"'(\\\\|\\'|[^'])*'", String.Single),
110
+ ]
111
+ }
112
+
113
+
114
+ class ActionScript3Lexer(RegexLexer):
115
+ """
116
+ For ActionScript 3 source code.
117
+
118
+ .. versionadded:: 0.11
119
+ """
120
+
121
+ name = 'ActionScript 3'
122
+ aliases = ['as3', 'actionscript3']
123
+ filenames = ['*.as']
124
+ mimetypes = ['application/x-actionscript3', 'text/x-actionscript3',
125
+ 'text/actionscript3']
126
+
127
+ identifier = r'[$a-zA-Z_]\w*'
128
+ typeidentifier = identifier + '(?:\.<\w+>)?'
129
+
130
+ flags = re.DOTALL | re.MULTILINE
131
+ tokens = {
132
+ 'root': [
133
+ (r'\s+', Text),
134
+ (r'(function\s+)(' + identifier + r')(\s*)(\()',
135
+ bygroups(Keyword.Declaration, Name.Function, Text, Operator),
136
+ 'funcparams'),
137
+ (r'(var|const)(\s+)(' + identifier + r')(\s*)(:)(\s*)(' +
138
+ typeidentifier + r')',
139
+ bygroups(Keyword.Declaration, Text, Name, Text, Punctuation, Text,
140
+ Keyword.Type)),
141
+ (r'(import|package)(\s+)((?:' + identifier + r'|\.)+)(\s*)',
142
+ bygroups(Keyword, Text, Name.Namespace, Text)),
143
+ (r'(new)(\s+)(' + typeidentifier + r')(\s*)(\()',
144
+ bygroups(Keyword, Text, Keyword.Type, Text, Operator)),
145
+ (r'//.*?\n', Comment.Single),
146
+ (r'/\*.*?\*/', Comment.Multiline),
147
+ (r'/(\\\\|\\/|[^\n])*/[gisx]*', String.Regex),
148
+ (r'(\.)(' + identifier + r')', bygroups(Operator, Name.Attribute)),
149
+ (r'(case|default|for|each|in|while|do|break|return|continue|if|else|'
150
+ r'throw|try|catch|with|new|typeof|arguments|instanceof|this|'
151
+ r'switch|import|include|as|is)\b',
152
+ Keyword),
153
+ (r'(class|public|final|internal|native|override|private|protected|'
154
+ r'static|import|extends|implements|interface|intrinsic|return|super|'
155
+ r'dynamic|function|const|get|namespace|package|set)\b',
156
+ Keyword.Declaration),
157
+ (r'(true|false|null|NaN|Infinity|-Infinity|undefined|void)\b',
158
+ Keyword.Constant),
159
+ (r'(decodeURI|decodeURIComponent|encodeURI|escape|eval|isFinite|isNaN|'
160
+ r'isXMLName|clearInterval|fscommand|getTimer|getURL|getVersion|'
161
+ r'isFinite|parseFloat|parseInt|setInterval|trace|updateAfterEvent|'
162
+ r'unescape)\b', Name.Function),
163
+ (identifier, Name),
164
+ (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float),
165
+ (r'0x[0-9a-f]+', Number.Hex),
166
+ (r'[0-9]+', Number.Integer),
167
+ (r'"(\\\\|\\"|[^"])*"', String.Double),
168
+ (r"'(\\\\|\\'|[^'])*'", String.Single),
169
+ (r'[~^*!%&<>|+=:;,/?\\{}\[\]().-]+', Operator),
170
+ ],
171
+ 'funcparams': [
172
+ (r'\s+', Text),
173
+ (r'(\s*)(\.\.\.)?(' + identifier + r')(\s*)(:)(\s*)(' +
174
+ typeidentifier + r'|\*)(\s*)',
175
+ bygroups(Text, Punctuation, Name, Text, Operator, Text,
176
+ Keyword.Type, Text), 'defval'),
177
+ (r'\)', Operator, 'type')
178
+ ],
179
+ 'type': [
180
+ (r'(\s*)(:)(\s*)(' + typeidentifier + r'|\*)',
181
+ bygroups(Text, Operator, Text, Keyword.Type), '#pop:2'),
182
+ (r'\s+', Text, '#pop:2'),
183
+ default('#pop:2')
184
+ ],
185
+ 'defval': [
186
+ (r'(=)(\s*)([^(),]+)(\s*)(,?)',
187
+ bygroups(Operator, Text, using(this), Text, Operator), '#pop'),
188
+ (r',', Operator, '#pop'),
189
+ default('#pop')
190
+ ]
191
+ }
192
+
193
+ def analyse_text(text):
194
+ if re.match(r'\w+\s*:\s*\w', text):
195
+ return 0.3
196
+ return 0
197
+
198
+
199
+ class MxmlLexer(RegexLexer):
200
+ """
201
+ For MXML markup.
202
+ Nested AS3 in <script> tags is highlighted by the appropriate lexer.
203
+
204
+ .. versionadded:: 1.1
205
+ """
206
+ flags = re.MULTILINE | re.DOTALL
207
+ name = 'MXML'
208
+ aliases = ['mxml']
209
+ filenames = ['*.mxml']
210
+ mimetimes = ['text/xml', 'application/xml']
211
+
212
+ tokens = {
213
+ 'root': [
214
+ ('[^<&]+', Text),
215
+ (r'&\S*?;', Name.Entity),
216
+ (r'(\<\!\[CDATA\[)(.*?)(\]\]\>)',
217
+ bygroups(String, using(ActionScript3Lexer), String)),
218
+ ('<!--', Comment, 'comment'),
219
+ (r'<\?.*?\?>', Comment.Preproc),
220
+ ('<![^>]*>', Comment.Preproc),
221
+ (r'<\s*[\w:.-]+', Name.Tag, 'tag'),
222
+ (r'<\s*/\s*[\w:.-]+\s*>', Name.Tag),
223
+ ],
224
+ 'comment': [
225
+ ('[^-]+', Comment),
226
+ ('-->', Comment, '#pop'),
227
+ ('-', Comment),
228
+ ],
229
+ 'tag': [
230
+ (r'\s+', Text),
231
+ (r'[\w.:-]+\s*=', Name.Attribute, 'attr'),
232
+ (r'/?\s*>', Name.Tag, '#pop'),
233
+ ],
234
+ 'attr': [
235
+ ('\s+', Text),
236
+ ('".*?"', String, '#pop'),
237
+ ("'.*?'", String, '#pop'),
238
+ (r'[^\s>]+', String, '#pop'),
239
+ ],
240
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/agile.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.agile
4
+ ~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Just export lexer classes previously contained in this module.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexers.lisp import SchemeLexer
13
+ from pygments.lexers.jvm import IokeLexer, ClojureLexer
14
+ from pygments.lexers.python import PythonLexer, PythonConsoleLexer, \
15
+ PythonTracebackLexer, Python3Lexer, Python3TracebackLexer, DgLexer
16
+ from pygments.lexers.ruby import RubyLexer, RubyConsoleLexer, FancyLexer
17
+ from pygments.lexers.perl import PerlLexer, Perl6Lexer
18
+ from pygments.lexers.d import CrocLexer, MiniDLexer
19
+ from pygments.lexers.iolang import IoLexer
20
+ from pygments.lexers.tcl import TclLexer
21
+ from pygments.lexers.factor import FactorLexer
22
+ from pygments.lexers.scripting import LuaLexer, MoonScriptLexer
23
+
24
+ __all__ = []
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/archetype.py ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.archetype
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer for Archetype-related syntaxes, including:
7
+
8
+ - ODIN syntax <https://github.com/openEHR/odin>
9
+ - ADL syntax <http://www.openehr.org/releases/trunk/architecture/am/adl2.pdf>
10
+ - cADL sub-syntax of ADL
11
+
12
+ For uses of this syntax, see the openEHR archetypes <http://www.openEHR.org/ckm>
13
+
14
+ Contributed by Thomas Beale <https://github.com/wolandscat>,
15
+ <https://bitbucket.org/thomas_beale>.
16
+
17
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
18
+ :license: BSD, see LICENSE for details.
19
+ """
20
+
21
+ from pygments.lexer import RegexLexer, include, bygroups, using, default
22
+ from pygments.token import Text, Comment, Name, Literal, Number, String, \
23
+ Punctuation, Keyword, Operator, Generic
24
+
25
+ __all__ = ['OdinLexer', 'CadlLexer', 'AdlLexer']
26
+
27
+
28
+ class AtomsLexer(RegexLexer):
29
+ """
30
+ Lexer for Values used in ADL and ODIN.
31
+
32
+ .. versionadded:: 2.1
33
+ """
34
+
35
+ tokens = {
36
+ # ----- pseudo-states for inclusion -----
37
+ 'whitespace': [
38
+ (r'\n', Text),
39
+ (r'\s+', Text),
40
+ (r'[ \t]*--.*$', Comment),
41
+ ],
42
+ 'archetype_id': [
43
+ (r'[ \t]*([a-zA-Z]\w+(\.[a-zA-Z]\w+)*::)?[a-zA-Z]\w+(-[a-zA-Z]\w+){2}'
44
+ r'\.\w+[\w-]*\.v\d+(\.\d+){,2}((-[a-z]+)(\.\d+)?)?', Name.Decorator),
45
+ ],
46
+ 'date_constraints': [
47
+ # ISO 8601-based date/time constraints
48
+ (r'[Xx?YyMmDdHhSs\d]{2,4}([:-][Xx?YyMmDdHhSs\d]{2}){2}', Literal.Date),
49
+ # ISO 8601-based duration constraints + optional trailing slash
50
+ (r'(P[YyMmWwDd]+(T[HhMmSs]+)?|PT[HhMmSs]+)/?', Literal.Date),
51
+ ],
52
+ 'ordered_values': [
53
+ # ISO 8601 date with optional 'T' ligature
54
+ (r'\d{4}-\d{2}-\d{2}T?', Literal.Date),
55
+ # ISO 8601 time
56
+ (r'\d{2}:\d{2}:\d{2}(\.\d+)?([+-]\d{4}|Z)?', Literal.Date),
57
+ # ISO 8601 duration
58
+ (r'P((\d*(\.\d+)?[YyMmWwDd]){1,3}(T(\d*(\.\d+)?[HhMmSs]){,3})?|'
59
+ r'T(\d*(\.\d+)?[HhMmSs]){,3})', Literal.Date),
60
+ (r'[+-]?(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+', Number.Float),
61
+ (r'[+-]?(\d+)*\.\d+%?', Number.Float),
62
+ (r'0x[0-9a-fA-F]+', Number.Hex),
63
+ (r'[+-]?\d+%?', Number.Integer),
64
+ ],
65
+ 'values': [
66
+ include('ordered_values'),
67
+ (r'([Tt]rue|[Ff]alse)', Literal),
68
+ (r'"', String, 'string'),
69
+ (r"'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'", String.Char),
70
+ (r'[a-z][a-z0-9+.-]*:', Literal, 'uri'),
71
+ # term code
72
+ (r'(\[)(\w[\w-]*(?:\([^)\n]+\))?)(::)(\w[\w-]*)(\])',
73
+ bygroups(Punctuation, Name.Decorator, Punctuation, Name.Decorator,
74
+ Punctuation)),
75
+ (r'\|', Punctuation, 'interval'),
76
+ # list continuation
77
+ (r'\.\.\.', Punctuation),
78
+ ],
79
+ 'constraint_values': [
80
+ (r'(\[)(\w[\w-]*(?:\([^)\n]+\))?)(::)',
81
+ bygroups(Punctuation, Name.Decorator, Punctuation), 'adl14_code_constraint'),
82
+ # ADL 1.4 ordinal constraint
83
+ (r'(\d*)(\|)(\[\w[\w-]*::\w[\w-]*\])((?:[,;])?)',
84
+ bygroups(Number, Punctuation, Name.Decorator, Punctuation)),
85
+ include('date_constraints'),
86
+ include('values'),
87
+ ],
88
+
89
+ # ----- real states -----
90
+ 'string': [
91
+ ('"', String, '#pop'),
92
+ (r'\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|'
93
+ r'u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|[0-7]{1,3})', String.Escape),
94
+ # all other characters
95
+ (r'[^\\"]+', String),
96
+ # stray backslash
97
+ (r'\\', String),
98
+ ],
99
+ 'uri': [
100
+ # effective URI terminators
101
+ (r'[,>\s]', Punctuation, '#pop'),
102
+ (r'[^>\s,]+', Literal),
103
+ ],
104
+ 'interval': [
105
+ (r'\|', Punctuation, '#pop'),
106
+ include('ordered_values'),
107
+ (r'\.\.', Punctuation),
108
+ (r'[<>=] *', Punctuation),
109
+ # handle +/-
110
+ (r'\+/-', Punctuation),
111
+ (r'\s+', Text),
112
+ ],
113
+ 'any_code': [
114
+ include('archetype_id'),
115
+ # if it is a code
116
+ (r'[a-z_]\w*[0-9.]+(@[^\]]+)?', Name.Decorator),
117
+ # if it is tuple with attribute names
118
+ (r'[a-z_]\w*', Name.Class),
119
+ # if it is an integer, i.e. Xpath child index
120
+ (r'[0-9]+', Text),
121
+ (r'\|', Punctuation, 'code_rubric'),
122
+ (r'\]', Punctuation, '#pop'),
123
+ # handle use_archetype statement
124
+ (r'\s*,\s*', Punctuation),
125
+ ],
126
+ 'code_rubric': [
127
+ (r'\|', Punctuation, '#pop'),
128
+ (r'[^|]+', String),
129
+ ],
130
+ 'adl14_code_constraint': [
131
+ (r'\]', Punctuation, '#pop'),
132
+ (r'\|', Punctuation, 'code_rubric'),
133
+ (r'(\w[\w-]*)([;,]?)', bygroups(Name.Decorator, Punctuation)),
134
+ include('whitespace'),
135
+ ],
136
+ }
137
+
138
+
139
+ class OdinLexer(AtomsLexer):
140
+ """
141
+ Lexer for ODIN syntax.
142
+
143
+ .. versionadded:: 2.1
144
+ """
145
+ name = 'ODIN'
146
+ aliases = ['odin']
147
+ filenames = ['*.odin']
148
+ mimetypes = ['text/odin']
149
+
150
+ tokens = {
151
+ 'path': [
152
+ (r'>', Punctuation, '#pop'),
153
+ # attribute name
154
+ (r'[a-z_]\w*', Name.Class),
155
+ (r'/', Punctuation),
156
+ (r'\[', Punctuation, 'key'),
157
+ (r'\s*,\s*', Punctuation, '#pop'),
158
+ (r'\s+', Text, '#pop'),
159
+ ],
160
+ 'key': [
161
+ include('values'),
162
+ (r'\]', Punctuation, '#pop'),
163
+ ],
164
+ 'type_cast': [
165
+ (r'\)', Punctuation, '#pop'),
166
+ (r'[^)]+', Name.Class),
167
+ ],
168
+ 'root': [
169
+ include('whitespace'),
170
+ (r'([Tt]rue|[Ff]alse)', Literal),
171
+ include('values'),
172
+ # x-ref path
173
+ (r'/', Punctuation, 'path'),
174
+ # x-ref path starting with key
175
+ (r'\[', Punctuation, 'key'),
176
+ # attribute name
177
+ (r'[a-z_]\w*', Name.Class),
178
+ (r'=', Operator),
179
+ (r'\(', Punctuation, 'type_cast'),
180
+ (r',', Punctuation),
181
+ (r'<', Punctuation),
182
+ (r'>', Punctuation),
183
+ (r';', Punctuation),
184
+ ],
185
+ }
186
+
187
+
188
+ class CadlLexer(AtomsLexer):
189
+ """
190
+ Lexer for cADL syntax.
191
+
192
+ .. versionadded:: 2.1
193
+ """
194
+ name = 'cADL'
195
+ aliases = ['cadl']
196
+ filenames = ['*.cadl']
197
+
198
+ tokens = {
199
+ 'path': [
200
+ # attribute name
201
+ (r'[a-z_]\w*', Name.Class),
202
+ (r'/', Punctuation),
203
+ (r'\[', Punctuation, 'any_code'),
204
+ (r'\s+', Punctuation, '#pop'),
205
+ ],
206
+ 'root': [
207
+ include('whitespace'),
208
+ (r'(cardinality|existence|occurrences|group|include|exclude|'
209
+ r'allow_archetype|use_archetype|use_node)\W', Keyword.Type),
210
+ (r'(and|or|not|there_exists|xor|implies|for_all)\W', Keyword.Type),
211
+ (r'(after|before|closed)\W', Keyword.Type),
212
+ (r'(not)\W', Operator),
213
+ (r'(matches|is_in)\W', Operator),
214
+ # is_in / not is_in char
215
+ (u'(\u2208|\u2209)', Operator),
216
+ # there_exists / not there_exists / for_all / and / or
217
+ (u'(\u2203|\u2204|\u2200|\u2227|\u2228|\u22BB|\223C)',
218
+ Operator),
219
+ # regex in slot or as string constraint
220
+ (r'(\{)(\s*/[^}]+/\s*)(\})',
221
+ bygroups(Punctuation, String.Regex, Punctuation)),
222
+ # regex in slot or as string constraint
223
+ (r'(\{)(\s*\^[^}]+\^\s*)(\})',
224
+ bygroups(Punctuation, String.Regex, Punctuation)),
225
+ (r'/', Punctuation, 'path'),
226
+ # for cardinality etc
227
+ (r'(\{)((?:\d+\.\.)?(?:\d+|\*))'
228
+ r'((?:\s*;\s*(?:ordered|unordered|unique)){,2})(\})',
229
+ bygroups(Punctuation, Number, Number, Punctuation)),
230
+ # [{ is start of a tuple value
231
+ (r'\[\{', Punctuation),
232
+ (r'\}\]', Punctuation),
233
+ (r'\{', Punctuation),
234
+ (r'\}', Punctuation),
235
+ include('constraint_values'),
236
+ # type name
237
+ (r'[A-Z]\w+(<[A-Z]\w+([A-Za-z_<>]*)>)?', Name.Class),
238
+ # attribute name
239
+ (r'[a-z_]\w*', Name.Class),
240
+ (r'\[', Punctuation, 'any_code'),
241
+ (r'(~|//|\\\\|\+|-|/|\*|\^|!=|=|<=|>=|<|>]?)', Operator),
242
+ (r'\(', Punctuation),
243
+ (r'\)', Punctuation),
244
+ # for lists of values
245
+ (r',', Punctuation),
246
+ (r'"', String, 'string'),
247
+ # for assumed value
248
+ (r';', Punctuation),
249
+ ],
250
+ }
251
+
252
+
253
+ class AdlLexer(AtomsLexer):
254
+ """
255
+ Lexer for ADL syntax.
256
+
257
+ .. versionadded:: 2.1
258
+ """
259
+
260
+ name = 'ADL'
261
+ aliases = ['adl']
262
+ filenames = ['*.adl', '*.adls', '*.adlf', '*.adlx']
263
+
264
+ tokens = {
265
+ 'whitespace': [
266
+ # blank line ends
267
+ (r'\s*\n', Text),
268
+ # comment-only line
269
+ (r'^[ \t]*--.*$', Comment),
270
+ ],
271
+ 'odin_section': [
272
+ # repeating the following two rules from the root state enable multi-line
273
+ # strings that start in the first column to be dealt with
274
+ (r'^(language|description|ontology|terminology|annotations|'
275
+ r'component_terminologies|revision_history)[ \t]*\n', Generic.Heading),
276
+ (r'^(definition)[ \t]*\n', Generic.Heading, 'cadl_section'),
277
+ (r'^([ \t]*|[ \t]+.*)\n', using(OdinLexer)),
278
+ (r'^([^"]*")(>[ \t]*\n)', bygroups(String, Punctuation)),
279
+ # template overlay delimiter
280
+ (r'^----------*\n', Text, '#pop'),
281
+ (r'^.*\n', String),
282
+ default('#pop'),
283
+ ],
284
+ 'cadl_section': [
285
+ (r'^([ \t]*|[ \t]+.*)\n', using(CadlLexer)),
286
+ default('#pop'),
287
+ ],
288
+ 'rules_section': [
289
+ (r'^[ \t]+.*\n', using(CadlLexer)),
290
+ default('#pop'),
291
+ ],
292
+ 'metadata': [
293
+ (r'\)', Punctuation, '#pop'),
294
+ (r';', Punctuation),
295
+ (r'([Tt]rue|[Ff]alse)', Literal),
296
+ # numbers and version ids
297
+ (r'\d+(\.\d+)*', Literal),
298
+ # Guids
299
+ (r'(\d|[a-fA-F])+(-(\d|[a-fA-F])+){3,}', Literal),
300
+ (r'\w+', Name.Class),
301
+ (r'"', String, 'string'),
302
+ (r'=', Operator),
303
+ (r'[ \t]+', Text),
304
+ default('#pop'),
305
+ ],
306
+ 'root': [
307
+ (r'^(archetype|template_overlay|operational_template|template|'
308
+ r'speciali[sz]e)', Generic.Heading),
309
+ (r'^(language|description|ontology|terminology|annotations|'
310
+ r'component_terminologies|revision_history)[ \t]*\n',
311
+ Generic.Heading, 'odin_section'),
312
+ (r'^(definition)[ \t]*\n', Generic.Heading, 'cadl_section'),
313
+ (r'^(rules)[ \t]*\n', Generic.Heading, 'rules_section'),
314
+ include('archetype_id'),
315
+ (r'[ \t]*\(', Punctuation, 'metadata'),
316
+ include('whitespace'),
317
+ ],
318
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/asm.py ADDED
@@ -0,0 +1,641 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.asm
4
+ ~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for assembly languages.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, include, bygroups, using, words, \
15
+ DelegatingLexer
16
+ from pygments.lexers.c_cpp import CppLexer, CLexer
17
+ from pygments.lexers.d import DLexer
18
+ from pygments.token import Text, Name, Number, String, Comment, Punctuation, \
19
+ Other, Keyword, Operator
20
+
21
+ __all__ = ['GasLexer', 'ObjdumpLexer', 'DObjdumpLexer', 'CppObjdumpLexer',
22
+ 'CObjdumpLexer', 'HsailLexer', 'LlvmLexer', 'NasmLexer',
23
+ 'NasmObjdumpLexer', 'TasmLexer', 'Ca65Lexer']
24
+
25
+
26
+ class GasLexer(RegexLexer):
27
+ """
28
+ For Gas (AT&T) assembly code.
29
+ """
30
+ name = 'GAS'
31
+ aliases = ['gas', 'asm']
32
+ filenames = ['*.s', '*.S']
33
+ mimetypes = ['text/x-gas']
34
+
35
+ #: optional Comment or Whitespace
36
+ string = r'"(\\"|[^"])*"'
37
+ char = r'[\w$.@-]'
38
+ identifier = r'(?:[a-zA-Z$_]' + char + '*|\.' + char + '+)'
39
+ number = r'(?:0[xX][a-zA-Z0-9]+|\d+)'
40
+
41
+ tokens = {
42
+ 'root': [
43
+ include('whitespace'),
44
+ (identifier + ':', Name.Label),
45
+ (r'\.' + identifier, Name.Attribute, 'directive-args'),
46
+ (r'lock|rep(n?z)?|data\d+', Name.Attribute),
47
+ (identifier, Name.Function, 'instruction-args'),
48
+ (r'[\r\n]+', Text)
49
+ ],
50
+ 'directive-args': [
51
+ (identifier, Name.Constant),
52
+ (string, String),
53
+ ('@' + identifier, Name.Attribute),
54
+ (number, Number.Integer),
55
+ (r'[\r\n]+', Text, '#pop'),
56
+
57
+ include('punctuation'),
58
+ include('whitespace')
59
+ ],
60
+ 'instruction-args': [
61
+ # For objdump-disassembled code, shouldn't occur in
62
+ # actual assembler input
63
+ ('([a-z0-9]+)( )(<)('+identifier+')(>)',
64
+ bygroups(Number.Hex, Text, Punctuation, Name.Constant,
65
+ Punctuation)),
66
+ ('([a-z0-9]+)( )(<)('+identifier+')([-+])('+number+')(>)',
67
+ bygroups(Number.Hex, Text, Punctuation, Name.Constant,
68
+ Punctuation, Number.Integer, Punctuation)),
69
+
70
+ # Address constants
71
+ (identifier, Name.Constant),
72
+ (number, Number.Integer),
73
+ # Registers
74
+ ('%' + identifier, Name.Variable),
75
+ # Numeric constants
76
+ ('$'+number, Number.Integer),
77
+ (r"$'(.|\\')'", String.Char),
78
+ (r'[\r\n]+', Text, '#pop'),
79
+
80
+ include('punctuation'),
81
+ include('whitespace')
82
+ ],
83
+ 'whitespace': [
84
+ (r'\n', Text),
85
+ (r'\s+', Text),
86
+ (r'[;#].*?\n', Comment)
87
+ ],
88
+ 'punctuation': [
89
+ (r'[-*,.()\[\]!:]+', Punctuation)
90
+ ]
91
+ }
92
+
93
+ def analyse_text(text):
94
+ if re.match(r'^\.(text|data|section)', text, re.M):
95
+ return True
96
+ elif re.match(r'^\.\w+', text, re.M):
97
+ return 0.1
98
+
99
+
100
+ def _objdump_lexer_tokens(asm_lexer):
101
+ """
102
+ Common objdump lexer tokens to wrap an ASM lexer.
103
+ """
104
+ hex_re = r'[0-9A-Za-z]'
105
+ return {
106
+ 'root': [
107
+ # File name & format:
108
+ ('(.*?)(:)( +file format )(.*?)$',
109
+ bygroups(Name.Label, Punctuation, Text, String)),
110
+ # Section header
111
+ ('(Disassembly of section )(.*?)(:)$',
112
+ bygroups(Text, Name.Label, Punctuation)),
113
+ # Function labels
114
+ # (With offset)
115
+ ('('+hex_re+'+)( )(<)(.*?)([-+])(0[xX][A-Za-z0-9]+)(>:)$',
116
+ bygroups(Number.Hex, Text, Punctuation, Name.Function,
117
+ Punctuation, Number.Hex, Punctuation)),
118
+ # (Without offset)
119
+ ('('+hex_re+'+)( )(<)(.*?)(>:)$',
120
+ bygroups(Number.Hex, Text, Punctuation, Name.Function,
121
+ Punctuation)),
122
+ # Code line with disassembled instructions
123
+ ('( *)('+hex_re+r'+:)(\t)((?:'+hex_re+hex_re+' )+)( *\t)([a-zA-Z].*?)$',
124
+ bygroups(Text, Name.Label, Text, Number.Hex, Text,
125
+ using(asm_lexer))),
126
+ # Code line with ascii
127
+ ('( *)('+hex_re+r'+:)(\t)((?:'+hex_re+hex_re+' )+)( *)(.*?)$',
128
+ bygroups(Text, Name.Label, Text, Number.Hex, Text, String)),
129
+ # Continued code line, only raw opcodes without disassembled
130
+ # instruction
131
+ ('( *)('+hex_re+r'+:)(\t)((?:'+hex_re+hex_re+' )+)$',
132
+ bygroups(Text, Name.Label, Text, Number.Hex)),
133
+ # Skipped a few bytes
134
+ (r'\t\.\.\.$', Text),
135
+ # Relocation line
136
+ # (With offset)
137
+ (r'(\t\t\t)('+hex_re+r'+:)( )([^\t]+)(\t)(.*?)([-+])(0x'+hex_re+'+)$',
138
+ bygroups(Text, Name.Label, Text, Name.Property, Text,
139
+ Name.Constant, Punctuation, Number.Hex)),
140
+ # (Without offset)
141
+ (r'(\t\t\t)('+hex_re+r'+:)( )([^\t]+)(\t)(.*?)$',
142
+ bygroups(Text, Name.Label, Text, Name.Property, Text,
143
+ Name.Constant)),
144
+ (r'[^\n]+\n', Other)
145
+ ]
146
+ }
147
+
148
+
149
+ class ObjdumpLexer(RegexLexer):
150
+ """
151
+ For the output of 'objdump -dr'
152
+ """
153
+ name = 'objdump'
154
+ aliases = ['objdump']
155
+ filenames = ['*.objdump']
156
+ mimetypes = ['text/x-objdump']
157
+
158
+ tokens = _objdump_lexer_tokens(GasLexer)
159
+
160
+
161
+ class DObjdumpLexer(DelegatingLexer):
162
+ """
163
+ For the output of 'objdump -Sr on compiled D files'
164
+ """
165
+ name = 'd-objdump'
166
+ aliases = ['d-objdump']
167
+ filenames = ['*.d-objdump']
168
+ mimetypes = ['text/x-d-objdump']
169
+
170
+ def __init__(self, **options):
171
+ super(DObjdumpLexer, self).__init__(DLexer, ObjdumpLexer, **options)
172
+
173
+
174
+ class CppObjdumpLexer(DelegatingLexer):
175
+ """
176
+ For the output of 'objdump -Sr on compiled C++ files'
177
+ """
178
+ name = 'cpp-objdump'
179
+ aliases = ['cpp-objdump', 'c++-objdumb', 'cxx-objdump']
180
+ filenames = ['*.cpp-objdump', '*.c++-objdump', '*.cxx-objdump']
181
+ mimetypes = ['text/x-cpp-objdump']
182
+
183
+ def __init__(self, **options):
184
+ super(CppObjdumpLexer, self).__init__(CppLexer, ObjdumpLexer, **options)
185
+
186
+
187
+ class CObjdumpLexer(DelegatingLexer):
188
+ """
189
+ For the output of 'objdump -Sr on compiled C files'
190
+ """
191
+ name = 'c-objdump'
192
+ aliases = ['c-objdump']
193
+ filenames = ['*.c-objdump']
194
+ mimetypes = ['text/x-c-objdump']
195
+
196
+ def __init__(self, **options):
197
+ super(CObjdumpLexer, self).__init__(CLexer, ObjdumpLexer, **options)
198
+
199
+
200
+ class HsailLexer(RegexLexer):
201
+ """
202
+ For HSAIL assembly code.
203
+
204
+ .. versionadded:: 2.2
205
+ """
206
+ name = 'HSAIL'
207
+ aliases = ['hsail', 'hsa']
208
+ filenames = ['*.hsail']
209
+ mimetypes = ['text/x-hsail']
210
+
211
+ string = r'"[^"]*?"'
212
+ identifier = r'[a-zA-Z_][\w.]*'
213
+ # Registers
214
+ register_number = r'[0-9]+'
215
+ register = r'(\$(c|s|d|q)' + register_number + ')'
216
+ # Qualifiers
217
+ alignQual = r'(align\(\d+\))'
218
+ widthQual = r'(width\((\d+|all)\))'
219
+ allocQual = r'(alloc\(agent\))'
220
+ # Instruction Modifiers
221
+ roundingMod = (r'((_ftz)?(_up|_down|_zero|_near))')
222
+ datatypeMod = (r'_('
223
+ # packedTypes
224
+ r'u8x4|s8x4|u16x2|s16x2|u8x8|s8x8|u16x4|s16x4|u32x2|s32x2|'
225
+ r'u8x16|s8x16|u16x8|s16x8|u32x4|s32x4|u64x2|s64x2|'
226
+ r'f16x2|f16x4|f16x8|f32x2|f32x4|f64x2|'
227
+ # baseTypes
228
+ r'u8|s8|u16|s16|u32|s32|u64|s64|'
229
+ r'b128|b8|b16|b32|b64|b1|'
230
+ r'f16|f32|f64|'
231
+ # opaqueType
232
+ r'roimg|woimg|rwimg|samp|sig32|sig64)')
233
+
234
+ # Numeric Constant
235
+ float = r'((\d+\.)|(\d*\.\d+))[eE][+-]?\d+'
236
+ hexfloat = r'0[xX](([0-9a-fA-F]+\.[0-9a-fA-F]*)|([0-9a-fA-F]*\.[0-9a-fA-F]+))[pP][+-]?\d+'
237
+ ieeefloat = r'0((h|H)[0-9a-fA-F]{4}|(f|F)[0-9a-fA-F]{8}|(d|D)[0-9a-fA-F]{16})'
238
+
239
+ tokens = {
240
+ 'root': [
241
+ include('whitespace'),
242
+ include('comments'),
243
+
244
+ (string, String),
245
+
246
+ (r'@' + identifier + ':?', Name.Label),
247
+
248
+ (register, Name.Variable.Anonymous),
249
+
250
+ include('keyword'),
251
+
252
+ (r'&' + identifier, Name.Variable.Global),
253
+ (r'%' + identifier, Name.Variable),
254
+
255
+ (hexfloat, Number.Hex),
256
+ (r'0[xX][a-fA-F0-9]+', Number.Hex),
257
+ (ieeefloat, Number.Float),
258
+ (float, Number.Float),
259
+ ('\d+', Number.Integer),
260
+
261
+ (r'[=<>{}\[\]()*.,:;!]|x\b', Punctuation)
262
+ ],
263
+ 'whitespace': [
264
+ (r'(\n|\s)+', Text),
265
+ ],
266
+ 'comments': [
267
+ (r'/\*.*?\*/', Comment.Multiline),
268
+ (r'//.*?\n', Comment.Singleline),
269
+ ],
270
+ 'keyword': [
271
+ # Types
272
+ (r'kernarg' + datatypeMod, Keyword.Type),
273
+
274
+ # Regular keywords
275
+ (r'\$(full|base|small|large|default|zero|near)', Keyword),
276
+ (words((
277
+ 'module', 'extension', 'pragma', 'prog', 'indirect', 'signature',
278
+ 'decl', 'kernel', 'function', 'enablebreakexceptions',
279
+ 'enabledetectexceptions', 'maxdynamicgroupsize', 'maxflatgridsize',
280
+ 'maxflatworkgroupsize', 'requireddim', 'requiredgridsize',
281
+ 'requiredworkgroupsize', 'requirenopartialworkgroups'),
282
+ suffix=r'\b'), Keyword),
283
+
284
+ # instructions
285
+ (roundingMod, Keyword),
286
+ (datatypeMod, Keyword),
287
+ (r'_(' + alignQual + '|' + widthQual + ')', Keyword),
288
+ (r'_kernarg', Keyword),
289
+ (r'(nop|imagefence)\b', Keyword),
290
+ (words((
291
+ 'cleardetectexcept', 'clock', 'cuid', 'debugtrap', 'dim',
292
+ 'getdetectexcept', 'groupbaseptr', 'kernargbaseptr', 'laneid',
293
+ 'maxcuid', 'maxwaveid', 'packetid', 'setdetectexcept', 'waveid',
294
+ 'workitemflatabsid', 'workitemflatid', 'nullptr', 'abs', 'bitrev',
295
+ 'currentworkgroupsize', 'currentworkitemflatid', 'fract', 'ncos',
296
+ 'neg', 'nexp2', 'nlog2', 'nrcp', 'nrsqrt', 'nsin', 'nsqrt',
297
+ 'gridgroups', 'gridsize', 'not', 'sqrt', 'workgroupid',
298
+ 'workgroupsize', 'workitemabsid', 'workitemid', 'ceil', 'floor',
299
+ 'rint', 'trunc', 'add', 'bitmask', 'borrow', 'carry', 'copysign',
300
+ 'div', 'rem', 'sub', 'shl', 'shr', 'and', 'or', 'xor', 'unpackhi',
301
+ 'unpacklo', 'max', 'min', 'fma', 'mad', 'bitextract', 'bitselect',
302
+ 'shuffle', 'cmov', 'bitalign', 'bytealign', 'lerp', 'nfma', 'mul',
303
+ 'mulhi', 'mul24hi', 'mul24', 'mad24', 'mad24hi', 'bitinsert',
304
+ 'combine', 'expand', 'lda', 'mov', 'pack', 'unpack', 'packcvt',
305
+ 'unpackcvt', 'sad', 'sementp', 'ftos', 'stof', 'cmp', 'ld', 'st',
306
+ '_eq', '_ne', '_lt', '_le', '_gt', '_ge', '_equ', '_neu', '_ltu',
307
+ '_leu', '_gtu', '_geu', '_num', '_nan', '_seq', '_sne', '_slt',
308
+ '_sle', '_sgt', '_sge', '_snum', '_snan', '_sequ', '_sneu', '_sltu',
309
+ '_sleu', '_sgtu', '_sgeu', 'atomic', '_ld', '_st', '_cas', '_add',
310
+ '_and', '_exch', '_max', '_min', '_or', '_sub', '_wrapdec',
311
+ '_wrapinc', '_xor', 'ret', 'cvt', '_readonly', '_kernarg', '_global',
312
+ 'br', 'cbr', 'sbr', '_scacq', '_screl', '_scar', '_rlx', '_wave',
313
+ '_wg', '_agent', '_system', 'ldimage', 'stimage', '_v2', '_v3', '_v4',
314
+ '_1d', '_2d', '_3d', '_1da', '_2da', '_1db', '_2ddepth', '_2dadepth',
315
+ '_width', '_height', '_depth', '_array', '_channelorder',
316
+ '_channeltype', 'querysampler', '_coord', '_filter', '_addressing',
317
+ 'barrier', 'wavebarrier', 'initfbar', 'joinfbar', 'waitfbar',
318
+ 'arrivefbar', 'leavefbar', 'releasefbar', 'ldf', 'activelaneid',
319
+ 'activelanecount', 'activelanemask', 'activelanepermute', 'call',
320
+ 'scall', 'icall', 'alloca', 'packetcompletionsig',
321
+ 'addqueuewriteindex', 'casqueuewriteindex', 'ldqueuereadindex',
322
+ 'stqueuereadindex', 'readonly', 'global', 'private', 'group',
323
+ 'spill', 'arg', '_upi', '_downi', '_zeroi', '_neari', '_upi_sat',
324
+ '_downi_sat', '_zeroi_sat', '_neari_sat', '_supi', '_sdowni',
325
+ '_szeroi', '_sneari', '_supi_sat', '_sdowni_sat', '_szeroi_sat',
326
+ '_sneari_sat', '_pp', '_ps', '_sp', '_ss', '_s', '_p', '_pp_sat',
327
+ '_ps_sat', '_sp_sat', '_ss_sat', '_s_sat', '_p_sat')), Keyword),
328
+
329
+ # Integer types
330
+ (r'i[1-9]\d*', Keyword)
331
+ ]
332
+ }
333
+
334
+
335
+ class LlvmLexer(RegexLexer):
336
+ """
337
+ For LLVM assembly code.
338
+ """
339
+ name = 'LLVM'
340
+ aliases = ['llvm']
341
+ filenames = ['*.ll']
342
+ mimetypes = ['text/x-llvm']
343
+
344
+ #: optional Comment or Whitespace
345
+ string = r'"[^"]*?"'
346
+ identifier = r'([-a-zA-Z$._][\w\-$.]*|' + string + ')'
347
+
348
+ tokens = {
349
+ 'root': [
350
+ include('whitespace'),
351
+
352
+ # Before keywords, because keywords are valid label names :(...
353
+ (identifier + '\s*:', Name.Label),
354
+
355
+ include('keyword'),
356
+
357
+ (r'%' + identifier, Name.Variable),
358
+ (r'@' + identifier, Name.Variable.Global),
359
+ (r'%\d+', Name.Variable.Anonymous),
360
+ (r'@\d+', Name.Variable.Global),
361
+ (r'#\d+', Name.Variable.Global),
362
+ (r'!' + identifier, Name.Variable),
363
+ (r'!\d+', Name.Variable.Anonymous),
364
+ (r'c?' + string, String),
365
+
366
+ (r'0[xX][a-fA-F0-9]+', Number),
367
+ (r'-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?', Number),
368
+
369
+ (r'[=<>{}\[\]()*.,!]|x\b', Punctuation)
370
+ ],
371
+ 'whitespace': [
372
+ (r'(\n|\s)+', Text),
373
+ (r';.*?\n', Comment)
374
+ ],
375
+ 'keyword': [
376
+ # Regular keywords
377
+ (words((
378
+ 'begin', 'end', 'true', 'false', 'declare', 'define', 'global',
379
+ 'constant', 'private', 'linker_private', 'internal',
380
+ 'available_externally', 'linkonce', 'linkonce_odr', 'weak',
381
+ 'weak_odr', 'appending', 'dllimport', 'dllexport', 'common',
382
+ 'default', 'hidden', 'protected', 'extern_weak', 'external',
383
+ 'thread_local', 'zeroinitializer', 'undef', 'null', 'to', 'tail',
384
+ 'target', 'triple', 'datalayout', 'volatile', 'nuw', 'nsw', 'nnan',
385
+ 'ninf', 'nsz', 'arcp', 'fast', 'exact', 'inbounds', 'align',
386
+ 'addrspace', 'section', 'alias', 'module', 'asm', 'sideeffect',
387
+ 'gc', 'dbg', 'linker_private_weak', 'attributes', 'blockaddress',
388
+ 'initialexec', 'localdynamic', 'localexec', 'prefix', 'unnamed_addr',
389
+ 'ccc', 'fastcc', 'coldcc', 'x86_stdcallcc', 'x86_fastcallcc',
390
+ 'arm_apcscc', 'arm_aapcscc', 'arm_aapcs_vfpcc', 'ptx_device',
391
+ 'ptx_kernel', 'intel_ocl_bicc', 'msp430_intrcc', 'spir_func',
392
+ 'spir_kernel', 'x86_64_sysvcc', 'x86_64_win64cc', 'x86_thiscallcc',
393
+ 'cc', 'c', 'signext', 'zeroext', 'inreg', 'sret', 'nounwind',
394
+ 'noreturn', 'noalias', 'nocapture', 'byval', 'nest', 'readnone',
395
+ 'readonly', 'inlinehint', 'noinline', 'alwaysinline', 'optsize', 'ssp',
396
+ 'sspreq', 'noredzone', 'noimplicitfloat', 'naked', 'builtin', 'cold',
397
+ 'nobuiltin', 'noduplicate', 'nonlazybind', 'optnone', 'returns_twice',
398
+ 'sanitize_address', 'sanitize_memory', 'sanitize_thread', 'sspstrong',
399
+ 'uwtable', 'returned', 'type', 'opaque', 'eq', 'ne', 'slt', 'sgt',
400
+ 'sle', 'sge', 'ult', 'ugt', 'ule', 'uge', 'oeq', 'one', 'olt', 'ogt',
401
+ 'ole', 'oge', 'ord', 'uno', 'ueq', 'une', 'x', 'acq_rel', 'acquire',
402
+ 'alignstack', 'atomic', 'catch', 'cleanup', 'filter', 'inteldialect',
403
+ 'max', 'min', 'monotonic', 'nand', 'personality', 'release', 'seq_cst',
404
+ 'singlethread', 'umax', 'umin', 'unordered', 'xchg', 'add', 'fadd',
405
+ 'sub', 'fsub', 'mul', 'fmul', 'udiv', 'sdiv', 'fdiv', 'urem', 'srem',
406
+ 'frem', 'shl', 'lshr', 'ashr', 'and', 'or', 'xor', 'icmp', 'fcmp',
407
+ 'phi', 'call', 'trunc', 'zext', 'sext', 'fptrunc', 'fpext', 'uitofp',
408
+ 'sitofp', 'fptoui', 'fptosi', 'inttoptr', 'ptrtoint', 'bitcast',
409
+ 'addrspacecast', 'select', 'va_arg', 'ret', 'br', 'switch', 'invoke',
410
+ 'unwind', 'unreachable', 'indirectbr', 'landingpad', 'resume',
411
+ 'malloc', 'alloca', 'free', 'load', 'store', 'getelementptr',
412
+ 'extractelement', 'insertelement', 'shufflevector', 'getresult',
413
+ 'extractvalue', 'insertvalue', 'atomicrmw', 'cmpxchg', 'fence',
414
+ 'allocsize', 'amdgpu_cs', 'amdgpu_gs', 'amdgpu_kernel', 'amdgpu_ps',
415
+ 'amdgpu_vs', 'any', 'anyregcc', 'argmemonly', 'avr_intrcc',
416
+ 'avr_signalcc', 'caller', 'catchpad', 'catchret', 'catchswitch',
417
+ 'cleanuppad', 'cleanupret', 'comdat', 'convergent', 'cxx_fast_tlscc',
418
+ 'deplibs', 'dereferenceable', 'dereferenceable_or_null', 'distinct',
419
+ 'exactmatch', 'externally_initialized', 'from', 'ghccc', 'hhvm_ccc',
420
+ 'hhvmcc', 'ifunc', 'inaccessiblemem_or_argmemonly', 'inaccessiblememonly',
421
+ 'inalloca', 'jumptable', 'largest', 'local_unnamed_addr', 'minsize',
422
+ 'musttail', 'noduplicates', 'none', 'nonnull', 'norecurse', 'notail',
423
+ 'preserve_allcc', 'preserve_mostcc', 'prologue', 'safestack', 'samesize',
424
+ 'source_filename', 'swiftcc', 'swifterror', 'swiftself', 'webkit_jscc',
425
+ 'within', 'writeonly', 'x86_intrcc', 'x86_vectorcallcc'),
426
+ suffix=r'\b'), Keyword),
427
+
428
+ # Types
429
+ (words(('void', 'half', 'float', 'double', 'x86_fp80', 'fp128',
430
+ 'ppc_fp128', 'label', 'metadata', 'token')), Keyword.Type),
431
+
432
+ # Integer types
433
+ (r'i[1-9]\d*', Keyword)
434
+ ]
435
+ }
436
+
437
+
438
+ class NasmLexer(RegexLexer):
439
+ """
440
+ For Nasm (Intel) assembly code.
441
+ """
442
+ name = 'NASM'
443
+ aliases = ['nasm']
444
+ filenames = ['*.asm', '*.ASM']
445
+ mimetypes = ['text/x-nasm']
446
+
447
+ identifier = r'[a-z$._?][\w$.?#@~]*'
448
+ hexn = r'(?:0x[0-9a-f]+|$0[0-9a-f]*|[0-9]+[0-9a-f]*h)'
449
+ octn = r'[0-7]+q'
450
+ binn = r'[01]+b'
451
+ decn = r'[0-9]+'
452
+ floatn = decn + r'\.e?' + decn
453
+ string = r'"(\\"|[^"\n])*"|' + r"'(\\'|[^'\n])*'|" + r"`(\\`|[^`\n])*`"
454
+ declkw = r'(?:res|d)[bwdqt]|times'
455
+ register = (r'r[0-9][0-5]?[bwd]|'
456
+ r'[a-d][lh]|[er]?[a-d]x|[er]?[sb]p|[er]?[sd]i|[c-gs]s|st[0-7]|'
457
+ r'mm[0-7]|cr[0-4]|dr[0-367]|tr[3-7]')
458
+ wordop = r'seg|wrt|strict'
459
+ type = r'byte|[dq]?word'
460
+ directives = (r'BITS|USE16|USE32|SECTION|SEGMENT|ABSOLUTE|EXTERN|GLOBAL|'
461
+ r'ORG|ALIGN|STRUC|ENDSTRUC|COMMON|CPU|GROUP|UPPERCASE|IMPORT|'
462
+ r'EXPORT|LIBRARY|MODULE')
463
+
464
+ flags = re.IGNORECASE | re.MULTILINE
465
+ tokens = {
466
+ 'root': [
467
+ (r'^\s*%', Comment.Preproc, 'preproc'),
468
+ include('whitespace'),
469
+ (identifier + ':', Name.Label),
470
+ (r'(%s)(\s+)(equ)' % identifier,
471
+ bygroups(Name.Constant, Keyword.Declaration, Keyword.Declaration),
472
+ 'instruction-args'),
473
+ (directives, Keyword, 'instruction-args'),
474
+ (declkw, Keyword.Declaration, 'instruction-args'),
475
+ (identifier, Name.Function, 'instruction-args'),
476
+ (r'[\r\n]+', Text)
477
+ ],
478
+ 'instruction-args': [
479
+ (string, String),
480
+ (hexn, Number.Hex),
481
+ (octn, Number.Oct),
482
+ (binn, Number.Bin),
483
+ (floatn, Number.Float),
484
+ (decn, Number.Integer),
485
+ include('punctuation'),
486
+ (register, Name.Builtin),
487
+ (identifier, Name.Variable),
488
+ (r'[\r\n]+', Text, '#pop'),
489
+ include('whitespace')
490
+ ],
491
+ 'preproc': [
492
+ (r'[^;\n]+', Comment.Preproc),
493
+ (r';.*?\n', Comment.Single, '#pop'),
494
+ (r'\n', Comment.Preproc, '#pop'),
495
+ ],
496
+ 'whitespace': [
497
+ (r'\n', Text),
498
+ (r'[ \t]+', Text),
499
+ (r';.*', Comment.Single)
500
+ ],
501
+ 'punctuation': [
502
+ (r'[,():\[\]]+', Punctuation),
503
+ (r'[&|^<>+*/%~-]+', Operator),
504
+ (r'[$]+', Keyword.Constant),
505
+ (wordop, Operator.Word),
506
+ (type, Keyword.Type)
507
+ ],
508
+ }
509
+
510
+
511
+ class NasmObjdumpLexer(ObjdumpLexer):
512
+ """
513
+ For the output of 'objdump -d -M intel'.
514
+
515
+ .. versionadded:: 2.0
516
+ """
517
+ name = 'objdump-nasm'
518
+ aliases = ['objdump-nasm']
519
+ filenames = ['*.objdump-intel']
520
+ mimetypes = ['text/x-nasm-objdump']
521
+
522
+ tokens = _objdump_lexer_tokens(NasmLexer)
523
+
524
+
525
+ class TasmLexer(RegexLexer):
526
+ """
527
+ For Tasm (Turbo Assembler) assembly code.
528
+ """
529
+ name = 'TASM'
530
+ aliases = ['tasm']
531
+ filenames = ['*.asm', '*.ASM', '*.tasm']
532
+ mimetypes = ['text/x-tasm']
533
+
534
+ identifier = r'[@a-z$._?][\w$.?#@~]*'
535
+ hexn = r'(?:0x[0-9a-f]+|$0[0-9a-f]*|[0-9]+[0-9a-f]*h)'
536
+ octn = r'[0-7]+q'
537
+ binn = r'[01]+b'
538
+ decn = r'[0-9]+'
539
+ floatn = decn + r'\.e?' + decn
540
+ string = r'"(\\"|[^"\n])*"|' + r"'(\\'|[^'\n])*'|" + r"`(\\`|[^`\n])*`"
541
+ declkw = r'(?:res|d)[bwdqt]|times'
542
+ register = (r'r[0-9][0-5]?[bwd]|'
543
+ r'[a-d][lh]|[er]?[a-d]x|[er]?[sb]p|[er]?[sd]i|[c-gs]s|st[0-7]|'
544
+ r'mm[0-7]|cr[0-4]|dr[0-367]|tr[3-7]')
545
+ wordop = r'seg|wrt|strict'
546
+ type = r'byte|[dq]?word'
547
+ directives = (r'BITS|USE16|USE32|SECTION|SEGMENT|ABSOLUTE|EXTERN|GLOBAL|'
548
+ r'ORG|ALIGN|STRUC|ENDSTRUC|ENDS|COMMON|CPU|GROUP|UPPERCASE|INCLUDE|'
549
+ r'EXPORT|LIBRARY|MODULE|PROC|ENDP|USES|ARG|DATASEG|UDATASEG|END|IDEAL|'
550
+ r'P386|MODEL|ASSUME|CODESEG|SIZE')
551
+ # T[A-Z][a-z] is more of a convention. Lexer should filter out STRUC definitions
552
+ # and then 'add' them to datatype somehow.
553
+ datatype = (r'db|dd|dw|T[A-Z][a-z]+')
554
+
555
+ flags = re.IGNORECASE | re.MULTILINE
556
+ tokens = {
557
+ 'root': [
558
+ (r'^\s*%', Comment.Preproc, 'preproc'),
559
+ include('whitespace'),
560
+ (identifier + ':', Name.Label),
561
+ (directives, Keyword, 'instruction-args'),
562
+ (r'(%s)(\s+)(%s)' % (identifier, datatype),
563
+ bygroups(Name.Constant, Keyword.Declaration, Keyword.Declaration),
564
+ 'instruction-args'),
565
+ (declkw, Keyword.Declaration, 'instruction-args'),
566
+ (identifier, Name.Function, 'instruction-args'),
567
+ (r'[\r\n]+', Text)
568
+ ],
569
+ 'instruction-args': [
570
+ (string, String),
571
+ (hexn, Number.Hex),
572
+ (octn, Number.Oct),
573
+ (binn, Number.Bin),
574
+ (floatn, Number.Float),
575
+ (decn, Number.Integer),
576
+ include('punctuation'),
577
+ (register, Name.Builtin),
578
+ (identifier, Name.Variable),
579
+ # Do not match newline when it's preceeded by a backslash
580
+ (r'(\\\s*)(;.*)([\r\n])', bygroups(Text, Comment.Single, Text)),
581
+ (r'[\r\n]+', Text, '#pop'),
582
+ include('whitespace')
583
+ ],
584
+ 'preproc': [
585
+ (r'[^;\n]+', Comment.Preproc),
586
+ (r';.*?\n', Comment.Single, '#pop'),
587
+ (r'\n', Comment.Preproc, '#pop'),
588
+ ],
589
+ 'whitespace': [
590
+ (r'[\n\r]', Text),
591
+ (r'\\[\n\r]', Text),
592
+ (r'[ \t]+', Text),
593
+ (r';.*', Comment.Single)
594
+ ],
595
+ 'punctuation': [
596
+ (r'[,():\[\]]+', Punctuation),
597
+ (r'[&|^<>+*=/%~-]+', Operator),
598
+ (r'[$]+', Keyword.Constant),
599
+ (wordop, Operator.Word),
600
+ (type, Keyword.Type)
601
+ ],
602
+ }
603
+
604
+
605
+ class Ca65Lexer(RegexLexer):
606
+ """
607
+ For ca65 assembler sources.
608
+
609
+ .. versionadded:: 1.6
610
+ """
611
+ name = 'ca65 assembler'
612
+ aliases = ['ca65']
613
+ filenames = ['*.s']
614
+
615
+ flags = re.IGNORECASE
616
+
617
+ tokens = {
618
+ 'root': [
619
+ (r';.*', Comment.Single),
620
+ (r'\s+', Text),
621
+ (r'[a-z_.@$][\w.@$]*:', Name.Label),
622
+ (r'((ld|st)[axy]|(in|de)[cxy]|asl|lsr|ro[lr]|adc|sbc|cmp|cp[xy]'
623
+ r'|cl[cvdi]|se[cdi]|jmp|jsr|bne|beq|bpl|bmi|bvc|bvs|bcc|bcs'
624
+ r'|p[lh][ap]|rt[is]|brk|nop|ta[xy]|t[xy]a|txs|tsx|and|ora|eor'
625
+ r'|bit)\b', Keyword),
626
+ (r'\.\w+', Keyword.Pseudo),
627
+ (r'[-+~*/^&|!<>=]', Operator),
628
+ (r'"[^"\n]*.', String),
629
+ (r"'[^'\n]*.", String.Char),
630
+ (r'\$[0-9a-f]+|[0-9a-f]+h\b', Number.Hex),
631
+ (r'\d+', Number.Integer),
632
+ (r'%[01]+', Number.Bin),
633
+ (r'[#,.:()=\[\]]', Punctuation),
634
+ (r'[a-z_.@$][\w.@$]*', Name),
635
+ ]
636
+ }
637
+
638
+ def analyse_text(self, text):
639
+ # comments in GAS start with "#"
640
+ if re.match(r'^\s*;', text, re.MULTILINE):
641
+ return 0.9
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/automation.py ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.automation
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for automation scripting languages.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, include, bygroups, combined
13
+ from pygments.token import Text, Comment, Operator, Name, String, \
14
+ Number, Punctuation, Generic
15
+
16
+ __all__ = ['AutohotkeyLexer', 'AutoItLexer']
17
+
18
+
19
+ class AutohotkeyLexer(RegexLexer):
20
+ """
21
+ For `autohotkey <http://www.autohotkey.com/>`_ source code.
22
+
23
+ .. versionadded:: 1.4
24
+ """
25
+ name = 'autohotkey'
26
+ aliases = ['ahk', 'autohotkey']
27
+ filenames = ['*.ahk', '*.ahkl']
28
+ mimetypes = ['text/x-autohotkey']
29
+
30
+ tokens = {
31
+ 'root': [
32
+ (r'^(\s*)(/\*)', bygroups(Text, Comment.Multiline), 'incomment'),
33
+ (r'^(\s*)(\()', bygroups(Text, Generic), 'incontinuation'),
34
+ (r'\s+;.*?$', Comment.Singleline),
35
+ (r'^;.*?$', Comment.Singleline),
36
+ (r'[]{}(),;[]', Punctuation),
37
+ (r'(in|is|and|or|not)\b', Operator.Word),
38
+ (r'\%[a-zA-Z_#@$][\w#@$]*\%', Name.Variable),
39
+ (r'!=|==|:=|\.=|<<|>>|[-~+/*%=<>&^|?:!.]', Operator),
40
+ include('commands'),
41
+ include('labels'),
42
+ include('builtInFunctions'),
43
+ include('builtInVariables'),
44
+ (r'"', String, combined('stringescape', 'dqs')),
45
+ include('numbers'),
46
+ (r'[a-zA-Z_#@$][\w#@$]*', Name),
47
+ (r'\\|\'', Text),
48
+ (r'\`([,%`abfnrtv\-+;])', String.Escape),
49
+ include('garbage'),
50
+ ],
51
+ 'incomment': [
52
+ (r'^\s*\*/', Comment.Multiline, '#pop'),
53
+ (r'[^*/]', Comment.Multiline),
54
+ (r'[*/]', Comment.Multiline)
55
+ ],
56
+ 'incontinuation': [
57
+ (r'^\s*\)', Generic, '#pop'),
58
+ (r'[^)]', Generic),
59
+ (r'[)]', Generic),
60
+ ],
61
+ 'commands': [
62
+ (r'(?i)^(\s*)(global|local|static|'
63
+ r'#AllowSameLineComments|#ClipboardTimeout|#CommentFlag|'
64
+ r'#ErrorStdOut|#EscapeChar|#HotkeyInterval|#HotkeyModifierTimeout|'
65
+ r'#Hotstring|#IfWinActive|#IfWinExist|#IfWinNotActive|'
66
+ r'#IfWinNotExist|#IncludeAgain|#Include|#InstallKeybdHook|'
67
+ r'#InstallMouseHook|#KeyHistory|#LTrim|#MaxHotkeysPerInterval|'
68
+ r'#MaxMem|#MaxThreads|#MaxThreadsBuffer|#MaxThreadsPerHotkey|'
69
+ r'#NoEnv|#NoTrayIcon|#Persistent|#SingleInstance|#UseHook|'
70
+ r'#WinActivateForce|AutoTrim|BlockInput|Break|Click|ClipWait|'
71
+ r'Continue|Control|ControlClick|ControlFocus|ControlGetFocus|'
72
+ r'ControlGetPos|ControlGetText|ControlGet|ControlMove|ControlSend|'
73
+ r'ControlSendRaw|ControlSetText|CoordMode|Critical|'
74
+ r'DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|'
75
+ r'DriveSpaceFree|Edit|Else|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|'
76
+ r'EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|'
77
+ r'FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|'
78
+ r'FileDelete|FileGetAttrib|FileGetShortcut|FileGetSize|'
79
+ r'FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|'
80
+ r'FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|'
81
+ r'FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|'
82
+ r'FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|'
83
+ r'GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|'
84
+ r'GuiControlGet|Hotkey|IfEqual|IfExist|IfGreaterOrEqual|IfGreater|'
85
+ r'IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|'
86
+ r'IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|'
87
+ r'IfWinNotExist|If |ImageSearch|IniDelete|IniRead|IniWrite|'
88
+ r'InputBox|Input|KeyHistory|KeyWait|ListHotkeys|ListLines|'
89
+ r'ListVars|Loop|Menu|MouseClickDrag|MouseClick|MouseGetPos|'
90
+ r'MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|'
91
+ r'PixelSearch|PostMessage|Process|Progress|Random|RegDelete|'
92
+ r'RegRead|RegWrite|Reload|Repeat|Return|RunAs|RunWait|Run|'
93
+ r'SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|Send|'
94
+ r'SetBatchLines|SetCapslockState|SetControlDelay|'
95
+ r'SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|'
96
+ r'SetMouseDelay|SetNumlockState|SetScrollLockState|'
97
+ r'SetStoreCapslockMode|SetTimer|SetTitleMatchMode|'
98
+ r'SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|'
99
+ r'SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|'
100
+ r'SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|'
101
+ r'SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|'
102
+ r'StringGetPos|StringLeft|StringLen|StringLower|StringMid|'
103
+ r'StringReplace|StringRight|StringSplit|StringTrimLeft|'
104
+ r'StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|'
105
+ r'Transform|TrayTip|URLDownloadToFile|While|WinActivate|'
106
+ r'WinActivateBottom|WinClose|WinGetActiveStats|WinGetActiveTitle|'
107
+ r'WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinGet|WinHide|'
108
+ r'WinKill|WinMaximize|WinMenuSelectItem|WinMinimizeAllUndo|'
109
+ r'WinMinimizeAll|WinMinimize|WinMove|WinRestore|WinSetTitle|'
110
+ r'WinSet|WinShow|WinWaitActive|WinWaitClose|WinWaitNotActive|'
111
+ r'WinWait)\b', bygroups(Text, Name.Builtin)),
112
+ ],
113
+ 'builtInFunctions': [
114
+ (r'(?i)(Abs|ACos|Asc|ASin|ATan|Ceil|Chr|Cos|DllCall|Exp|FileExist|'
115
+ r'Floor|GetKeyState|IL_Add|IL_Create|IL_Destroy|InStr|IsFunc|'
116
+ r'IsLabel|Ln|Log|LV_Add|LV_Delete|LV_DeleteCol|LV_GetCount|'
117
+ r'LV_GetNext|LV_GetText|LV_Insert|LV_InsertCol|LV_Modify|'
118
+ r'LV_ModifyCol|LV_SetImageList|Mod|NumGet|NumPut|OnMessage|'
119
+ r'RegExMatch|RegExReplace|RegisterCallback|Round|SB_SetIcon|'
120
+ r'SB_SetParts|SB_SetText|Sin|Sqrt|StrLen|SubStr|Tan|TV_Add|'
121
+ r'TV_Delete|TV_GetChild|TV_GetCount|TV_GetNext|TV_Get|'
122
+ r'TV_GetParent|TV_GetPrev|TV_GetSelection|TV_GetText|TV_Modify|'
123
+ r'VarSetCapacity|WinActive|WinExist|Object|ComObjActive|'
124
+ r'ComObjArray|ComObjEnwrap|ComObjUnwrap|ComObjParameter|'
125
+ r'ComObjType|ComObjConnect|ComObjCreate|ComObjGet|ComObjError|'
126
+ r'ComObjValue|Insert|MinIndex|MaxIndex|Remove|SetCapacity|'
127
+ r'GetCapacity|GetAddress|_NewEnum|FileOpen|Read|Write|ReadLine|'
128
+ r'WriteLine|ReadNumType|WriteNumType|RawRead|RawWrite|Seek|Tell|'
129
+ r'Close|Next|IsObject|StrPut|StrGet|Trim|LTrim|RTrim)\b',
130
+ Name.Function),
131
+ ],
132
+ 'builtInVariables': [
133
+ (r'(?i)(A_AhkPath|A_AhkVersion|A_AppData|A_AppDataCommon|'
134
+ r'A_AutoTrim|A_BatchLines|A_CaretX|A_CaretY|A_ComputerName|'
135
+ r'A_ControlDelay|A_Cursor|A_DDDD|A_DDD|A_DD|A_DefaultMouseSpeed|'
136
+ r'A_Desktop|A_DesktopCommon|A_DetectHiddenText|'
137
+ r'A_DetectHiddenWindows|A_EndChar|A_EventInfo|A_ExitReason|'
138
+ r'A_FormatFloat|A_FormatInteger|A_Gui|A_GuiEvent|A_GuiControl|'
139
+ r'A_GuiControlEvent|A_GuiHeight|A_GuiWidth|A_GuiX|A_GuiY|A_Hour|'
140
+ r'A_IconFile|A_IconHidden|A_IconNumber|A_IconTip|A_Index|'
141
+ r'A_IPAddress1|A_IPAddress2|A_IPAddress3|A_IPAddress4|A_ISAdmin|'
142
+ r'A_IsCompiled|A_IsCritical|A_IsPaused|A_IsSuspended|A_KeyDelay|'
143
+ r'A_Language|A_LastError|A_LineFile|A_LineNumber|A_LoopField|'
144
+ r'A_LoopFileAttrib|A_LoopFileDir|A_LoopFileExt|A_LoopFileFullPath|'
145
+ r'A_LoopFileLongPath|A_LoopFileName|A_LoopFileShortName|'
146
+ r'A_LoopFileShortPath|A_LoopFileSize|A_LoopFileSizeKB|'
147
+ r'A_LoopFileSizeMB|A_LoopFileTimeAccessed|A_LoopFileTimeCreated|'
148
+ r'A_LoopFileTimeModified|A_LoopReadLine|A_LoopRegKey|'
149
+ r'A_LoopRegName|A_LoopRegSubkey|A_LoopRegTimeModified|'
150
+ r'A_LoopRegType|A_MDAY|A_Min|A_MM|A_MMM|A_MMMM|A_Mon|A_MouseDelay|'
151
+ r'A_MSec|A_MyDocuments|A_Now|A_NowUTC|A_NumBatchLines|A_OSType|'
152
+ r'A_OSVersion|A_PriorHotkey|A_ProgramFiles|A_Programs|'
153
+ r'A_ProgramsCommon|A_ScreenHeight|A_ScreenWidth|A_ScriptDir|'
154
+ r'A_ScriptFullPath|A_ScriptName|A_Sec|A_Space|A_StartMenu|'
155
+ r'A_StartMenuCommon|A_Startup|A_StartupCommon|A_StringCaseSense|'
156
+ r'A_Tab|A_Temp|A_ThisFunc|A_ThisHotkey|A_ThisLabel|A_ThisMenu|'
157
+ r'A_ThisMenuItem|A_ThisMenuItemPos|A_TickCount|A_TimeIdle|'
158
+ r'A_TimeIdlePhysical|A_TimeSincePriorHotkey|A_TimeSinceThisHotkey|'
159
+ r'A_TitleMatchMode|A_TitleMatchModeSpeed|A_UserName|A_WDay|'
160
+ r'A_WinDelay|A_WinDir|A_WorkingDir|A_YDay|A_YEAR|A_YWeek|A_YYYY|'
161
+ r'Clipboard|ClipboardAll|ComSpec|ErrorLevel|ProgramFiles|True|'
162
+ r'False|A_IsUnicode|A_FileEncoding|A_OSVersion|A_PtrSize)\b',
163
+ Name.Variable),
164
+ ],
165
+ 'labels': [
166
+ # hotkeys and labels
167
+ # technically, hotkey names are limited to named keys and buttons
168
+ (r'(^\s*)([^:\s("]+?:{1,2})', bygroups(Text, Name.Label)),
169
+ (r'(^\s*)(::[^:\s]+?::)', bygroups(Text, Name.Label)),
170
+ ],
171
+ 'numbers': [
172
+ (r'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float),
173
+ (r'\d+[eE][+-]?[0-9]+', Number.Float),
174
+ (r'0\d+', Number.Oct),
175
+ (r'0[xX][a-fA-F0-9]+', Number.Hex),
176
+ (r'\d+L', Number.Integer.Long),
177
+ (r'\d+', Number.Integer)
178
+ ],
179
+ 'stringescape': [
180
+ (r'\"\"|\`([,%`abfnrtv])', String.Escape),
181
+ ],
182
+ 'strings': [
183
+ (r'[^"\n]+', String),
184
+ ],
185
+ 'dqs': [
186
+ (r'"', String, '#pop'),
187
+ include('strings')
188
+ ],
189
+ 'garbage': [
190
+ (r'[^\S\n]', Text),
191
+ # (r'.', Text), # no cheating
192
+ ],
193
+ }
194
+
195
+
196
+ class AutoItLexer(RegexLexer):
197
+ """
198
+ For `AutoIt <http://www.autoitscript.com/site/autoit/>`_ files.
199
+
200
+ AutoIt is a freeware BASIC-like scripting language
201
+ designed for automating the Windows GUI and general scripting
202
+
203
+ .. versionadded:: 1.6
204
+ """
205
+ name = 'AutoIt'
206
+ aliases = ['autoit']
207
+ filenames = ['*.au3']
208
+ mimetypes = ['text/x-autoit']
209
+
210
+ # Keywords, functions, macros from au3.keywords.properties
211
+ # which can be found in AutoIt installed directory, e.g.
212
+ # c:\Program Files (x86)\AutoIt3\SciTE\au3.keywords.properties
213
+
214
+ keywords = """\
215
+ #include-once #include #endregion #forcedef #forceref #region
216
+ and byref case continueloop dim do else elseif endfunc endif
217
+ endselect exit exitloop for func global
218
+ if local next not or return select step
219
+ then to until wend while exit""".split()
220
+
221
+ functions = """\
222
+ abs acos adlibregister adlibunregister asc ascw asin assign atan
223
+ autoitsetoption autoitwingettitle autoitwinsettitle beep binary binarylen
224
+ binarymid binarytostring bitand bitnot bitor bitrotate bitshift bitxor
225
+ blockinput break call cdtray ceiling chr chrw clipget clipput consoleread
226
+ consolewrite consolewriteerror controlclick controlcommand controldisable
227
+ controlenable controlfocus controlgetfocus controlgethandle controlgetpos
228
+ controlgettext controlhide controllistview controlmove controlsend
229
+ controlsettext controlshow controltreeview cos dec dircopy dircreate
230
+ dirgetsize dirmove dirremove dllcall dllcalladdress dllcallbackfree
231
+ dllcallbackgetptr dllcallbackregister dllclose dllopen dllstructcreate
232
+ dllstructgetdata dllstructgetptr dllstructgetsize dllstructsetdata
233
+ drivegetdrive drivegetfilesystem drivegetlabel drivegetserial drivegettype
234
+ drivemapadd drivemapdel drivemapget drivesetlabel drivespacefree
235
+ drivespacetotal drivestatus envget envset envupdate eval execute exp
236
+ filechangedir fileclose filecopy filecreatentfslink filecreateshortcut
237
+ filedelete fileexists filefindfirstfile filefindnextfile fileflush
238
+ filegetattrib filegetencoding filegetlongname filegetpos filegetshortcut
239
+ filegetshortname filegetsize filegettime filegetversion fileinstall filemove
240
+ fileopen fileopendialog fileread filereadline filerecycle filerecycleempty
241
+ filesavedialog fileselectfolder filesetattrib filesetpos filesettime
242
+ filewrite filewriteline floor ftpsetproxy guicreate guictrlcreateavi
243
+ guictrlcreatebutton guictrlcreatecheckbox guictrlcreatecombo
244
+ guictrlcreatecontextmenu guictrlcreatedate guictrlcreatedummy
245
+ guictrlcreateedit guictrlcreategraphic guictrlcreategroup guictrlcreateicon
246
+ guictrlcreateinput guictrlcreatelabel guictrlcreatelist
247
+ guictrlcreatelistview guictrlcreatelistviewitem guictrlcreatemenu
248
+ guictrlcreatemenuitem guictrlcreatemonthcal guictrlcreateobj
249
+ guictrlcreatepic guictrlcreateprogress guictrlcreateradio
250
+ guictrlcreateslider guictrlcreatetab guictrlcreatetabitem
251
+ guictrlcreatetreeview guictrlcreatetreeviewitem guictrlcreateupdown
252
+ guictrldelete guictrlgethandle guictrlgetstate guictrlread guictrlrecvmsg
253
+ guictrlregisterlistviewsort guictrlsendmsg guictrlsendtodummy
254
+ guictrlsetbkcolor guictrlsetcolor guictrlsetcursor guictrlsetdata
255
+ guictrlsetdefbkcolor guictrlsetdefcolor guictrlsetfont guictrlsetgraphic
256
+ guictrlsetimage guictrlsetlimit guictrlsetonevent guictrlsetpos
257
+ guictrlsetresizing guictrlsetstate guictrlsetstyle guictrlsettip guidelete
258
+ guigetcursorinfo guigetmsg guigetstyle guiregistermsg guisetaccelerators
259
+ guisetbkcolor guisetcoord guisetcursor guisetfont guisethelp guiseticon
260
+ guisetonevent guisetstate guisetstyle guistartgroup guiswitch hex hotkeyset
261
+ httpsetproxy httpsetuseragent hwnd inetclose inetget inetgetinfo inetgetsize
262
+ inetread inidelete iniread inireadsection inireadsectionnames
263
+ inirenamesection iniwrite iniwritesection inputbox int isadmin isarray
264
+ isbinary isbool isdeclared isdllstruct isfloat ishwnd isint iskeyword
265
+ isnumber isobj isptr isstring log memgetstats mod mouseclick mouseclickdrag
266
+ mousedown mousegetcursor mousegetpos mousemove mouseup mousewheel msgbox
267
+ number objcreate objcreateinterface objevent objevent objget objname
268
+ onautoitexitregister onautoitexitunregister opt ping pixelchecksum
269
+ pixelgetcolor pixelsearch pluginclose pluginopen processclose processexists
270
+ processgetstats processlist processsetpriority processwait processwaitclose
271
+ progressoff progresson progressset ptr random regdelete regenumkey
272
+ regenumval regread regwrite round run runas runaswait runwait send
273
+ sendkeepactive seterror setextended shellexecute shellexecutewait shutdown
274
+ sin sleep soundplay soundsetwavevolume splashimageon splashoff splashtexton
275
+ sqrt srandom statusbargettext stderrread stdinwrite stdioclose stdoutread
276
+ string stringaddcr stringcompare stringformat stringfromasciiarray
277
+ stringinstr stringisalnum stringisalpha stringisascii stringisdigit
278
+ stringisfloat stringisint stringislower stringisspace stringisupper
279
+ stringisxdigit stringleft stringlen stringlower stringmid stringregexp
280
+ stringregexpreplace stringreplace stringright stringsplit stringstripcr
281
+ stringstripws stringtoasciiarray stringtobinary stringtrimleft
282
+ stringtrimright stringupper tan tcpaccept tcpclosesocket tcpconnect
283
+ tcplisten tcpnametoip tcprecv tcpsend tcpshutdown tcpstartup timerdiff
284
+ timerinit tooltip traycreateitem traycreatemenu traygetmsg trayitemdelete
285
+ trayitemgethandle trayitemgetstate trayitemgettext trayitemsetonevent
286
+ trayitemsetstate trayitemsettext traysetclick trayseticon traysetonevent
287
+ traysetpauseicon traysetstate traysettooltip traytip ubound udpbind
288
+ udpclosesocket udpopen udprecv udpsend udpshutdown udpstartup vargettype
289
+ winactivate winactive winclose winexists winflash wingetcaretpos
290
+ wingetclasslist wingetclientsize wingethandle wingetpos wingetprocess
291
+ wingetstate wingettext wingettitle winkill winlist winmenuselectitem
292
+ winminimizeall winminimizeallundo winmove winsetontop winsetstate
293
+ winsettitle winsettrans winwait winwaitactive winwaitclose
294
+ winwaitnotactive""".split()
295
+
296
+ macros = """\
297
+ @appdatacommondir @appdatadir @autoitexe @autoitpid @autoitversion
298
+ @autoitx64 @com_eventobj @commonfilesdir @compiled @computername @comspec
299
+ @cpuarch @cr @crlf @desktopcommondir @desktopdepth @desktopdir
300
+ @desktopheight @desktoprefresh @desktopwidth @documentscommondir @error
301
+ @exitcode @exitmethod @extended @favoritescommondir @favoritesdir
302
+ @gui_ctrlhandle @gui_ctrlid @gui_dragfile @gui_dragid @gui_dropid
303
+ @gui_winhandle @homedrive @homepath @homeshare @hotkeypressed @hour
304
+ @ipaddress1 @ipaddress2 @ipaddress3 @ipaddress4 @kblayout @lf
305
+ @logondnsdomain @logondomain @logonserver @mday @min @mon @msec @muilang
306
+ @mydocumentsdir @numparams @osarch @osbuild @oslang @osservicepack @ostype
307
+ @osversion @programfilesdir @programscommondir @programsdir @scriptdir
308
+ @scriptfullpath @scriptlinenumber @scriptname @sec @startmenucommondir
309
+ @startmenudir @startupcommondir @startupdir @sw_disable @sw_enable @sw_hide
310
+ @sw_lock @sw_maximize @sw_minimize @sw_restore @sw_show @sw_showdefault
311
+ @sw_showmaximized @sw_showminimized @sw_showminnoactive @sw_showna
312
+ @sw_shownoactivate @sw_shownormal @sw_unlock @systemdir @tab @tempdir
313
+ @tray_id @trayiconflashing @trayiconvisible @username @userprofiledir @wday
314
+ @windowsdir @workingdir @yday @year""".split()
315
+
316
+ tokens = {
317
+ 'root': [
318
+ (r';.*\n', Comment.Single),
319
+ (r'(#comments-start|#cs)(.|\n)*?(#comments-end|#ce)',
320
+ Comment.Multiline),
321
+ (r'[\[\]{}(),;]', Punctuation),
322
+ (r'(and|or|not)\b', Operator.Word),
323
+ (r'[$|@][a-zA-Z_]\w*', Name.Variable),
324
+ (r'!=|==|:=|\.=|<<|>>|[-~+/*%=<>&^|?:!.]', Operator),
325
+ include('commands'),
326
+ include('labels'),
327
+ include('builtInFunctions'),
328
+ include('builtInMarcros'),
329
+ (r'"', String, combined('stringescape', 'dqs')),
330
+ include('numbers'),
331
+ (r'[a-zA-Z_#@$][\w#@$]*', Name),
332
+ (r'\\|\'', Text),
333
+ (r'\`([,%`abfnrtv\-+;])', String.Escape),
334
+ (r'_\n', Text), # Line continuation
335
+ include('garbage'),
336
+ ],
337
+ 'commands': [
338
+ (r'(?i)(\s*)(%s)\b' % '|'.join(keywords),
339
+ bygroups(Text, Name.Builtin)),
340
+ ],
341
+ 'builtInFunctions': [
342
+ (r'(?i)(%s)\b' % '|'.join(functions),
343
+ Name.Function),
344
+ ],
345
+ 'builtInMarcros': [
346
+ (r'(?i)(%s)\b' % '|'.join(macros),
347
+ Name.Variable.Global),
348
+ ],
349
+ 'labels': [
350
+ # sendkeys
351
+ (r'(^\s*)(\{\S+?\})', bygroups(Text, Name.Label)),
352
+ ],
353
+ 'numbers': [
354
+ (r'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float),
355
+ (r'\d+[eE][+-]?[0-9]+', Number.Float),
356
+ (r'0\d+', Number.Oct),
357
+ (r'0[xX][a-fA-F0-9]+', Number.Hex),
358
+ (r'\d+L', Number.Integer.Long),
359
+ (r'\d+', Number.Integer)
360
+ ],
361
+ 'stringescape': [
362
+ (r'\"\"|\`([,%`abfnrtv])', String.Escape),
363
+ ],
364
+ 'strings': [
365
+ (r'[^"\n]+', String),
366
+ ],
367
+ 'dqs': [
368
+ (r'"', String, '#pop'),
369
+ include('strings')
370
+ ],
371
+ 'garbage': [
372
+ (r'[^\S\n]', Text),
373
+ ],
374
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/basic.py ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.basic
4
+ ~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for BASIC like languages (other than VB.net).
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, bygroups, default, words, include
15
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
16
+ Number, Punctuation
17
+
18
+ __all__ = ['BlitzBasicLexer', 'BlitzMaxLexer', 'MonkeyLexer', 'CbmBasicV2Lexer',
19
+ 'QBasicLexer']
20
+
21
+
22
+ class BlitzMaxLexer(RegexLexer):
23
+ """
24
+ For `BlitzMax <http://blitzbasic.com>`_ source code.
25
+
26
+ .. versionadded:: 1.4
27
+ """
28
+
29
+ name = 'BlitzMax'
30
+ aliases = ['blitzmax', 'bmax']
31
+ filenames = ['*.bmx']
32
+ mimetypes = ['text/x-bmx']
33
+
34
+ bmax_vopwords = r'\b(Shl|Shr|Sar|Mod)\b'
35
+ bmax_sktypes = r'@{1,2}|[!#$%]'
36
+ bmax_lktypes = r'\b(Int|Byte|Short|Float|Double|Long)\b'
37
+ bmax_name = r'[a-z_]\w*'
38
+ bmax_var = (r'(%s)(?:(?:([ \t]*)(%s)|([ \t]*:[ \t]*\b(?:Shl|Shr|Sar|Mod)\b)'
39
+ r'|([ \t]*)(:)([ \t]*)(?:%s|(%s)))(?:([ \t]*)(Ptr))?)') % \
40
+ (bmax_name, bmax_sktypes, bmax_lktypes, bmax_name)
41
+ bmax_func = bmax_var + r'?((?:[ \t]|\.\.\n)*)([(])'
42
+
43
+ flags = re.MULTILINE | re.IGNORECASE
44
+ tokens = {
45
+ 'root': [
46
+ # Text
47
+ (r'[ \t]+', Text),
48
+ (r'\.\.\n', Text), # Line continuation
49
+ # Comments
50
+ (r"'.*?\n", Comment.Single),
51
+ (r'([ \t]*)\bRem\n(\n|.)*?\s*\bEnd([ \t]*)Rem', Comment.Multiline),
52
+ # Data types
53
+ ('"', String.Double, 'string'),
54
+ # Numbers
55
+ (r'[0-9]+\.[0-9]*(?!\.)', Number.Float),
56
+ (r'\.[0-9]*(?!\.)', Number.Float),
57
+ (r'[0-9]+', Number.Integer),
58
+ (r'\$[0-9a-f]+', Number.Hex),
59
+ (r'\%[10]+', Number.Bin),
60
+ # Other
61
+ (r'(?:(?:(:)?([ \t]*)(:?%s|([+\-*/&|~]))|Or|And|Not|[=<>^]))' %
62
+ (bmax_vopwords), Operator),
63
+ (r'[(),.:\[\]]', Punctuation),
64
+ (r'(?:#[\w \t]*)', Name.Label),
65
+ (r'(?:\?[\w \t]*)', Comment.Preproc),
66
+ # Identifiers
67
+ (r'\b(New)\b([ \t]?)([(]?)(%s)' % (bmax_name),
68
+ bygroups(Keyword.Reserved, Text, Punctuation, Name.Class)),
69
+ (r'\b(Import|Framework|Module)([ \t]+)(%s\.%s)' %
70
+ (bmax_name, bmax_name),
71
+ bygroups(Keyword.Reserved, Text, Keyword.Namespace)),
72
+ (bmax_func, bygroups(Name.Function, Text, Keyword.Type,
73
+ Operator, Text, Punctuation, Text,
74
+ Keyword.Type, Name.Class, Text,
75
+ Keyword.Type, Text, Punctuation)),
76
+ (bmax_var, bygroups(Name.Variable, Text, Keyword.Type, Operator,
77
+ Text, Punctuation, Text, Keyword.Type,
78
+ Name.Class, Text, Keyword.Type)),
79
+ (r'\b(Type|Extends)([ \t]+)(%s)' % (bmax_name),
80
+ bygroups(Keyword.Reserved, Text, Name.Class)),
81
+ # Keywords
82
+ (r'\b(Ptr)\b', Keyword.Type),
83
+ (r'\b(Pi|True|False|Null|Self|Super)\b', Keyword.Constant),
84
+ (r'\b(Local|Global|Const|Field)\b', Keyword.Declaration),
85
+ (words((
86
+ 'TNullMethodException', 'TNullFunctionException',
87
+ 'TNullObjectException', 'TArrayBoundsException',
88
+ 'TRuntimeException'), prefix=r'\b', suffix=r'\b'), Name.Exception),
89
+ (words((
90
+ 'Strict', 'SuperStrict', 'Module', 'ModuleInfo',
91
+ 'End', 'Return', 'Continue', 'Exit', 'Public', 'Private',
92
+ 'Var', 'VarPtr', 'Chr', 'Len', 'Asc', 'SizeOf', 'Sgn', 'Abs', 'Min', 'Max',
93
+ 'New', 'Release', 'Delete', 'Incbin', 'IncbinPtr', 'IncbinLen',
94
+ 'Framework', 'Include', 'Import', 'Extern', 'EndExtern',
95
+ 'Function', 'EndFunction', 'Type', 'EndType', 'Extends', 'Method', 'EndMethod',
96
+ 'Abstract', 'Final', 'If', 'Then', 'Else', 'ElseIf', 'EndIf',
97
+ 'For', 'To', 'Next', 'Step', 'EachIn', 'While', 'Wend', 'EndWhile',
98
+ 'Repeat', 'Until', 'Forever', 'Select', 'Case', 'Default', 'EndSelect',
99
+ 'Try', 'Catch', 'EndTry', 'Throw', 'Assert', 'Goto', 'DefData', 'ReadData',
100
+ 'RestoreData'), prefix=r'\b', suffix=r'\b'),
101
+ Keyword.Reserved),
102
+ # Final resolve (for variable names and such)
103
+ (r'(%s)' % (bmax_name), Name.Variable),
104
+ ],
105
+ 'string': [
106
+ (r'""', String.Double),
107
+ (r'"C?', String.Double, '#pop'),
108
+ (r'[^"]+', String.Double),
109
+ ],
110
+ }
111
+
112
+
113
+ class BlitzBasicLexer(RegexLexer):
114
+ """
115
+ For `BlitzBasic <http://blitzbasic.com>`_ source code.
116
+
117
+ .. versionadded:: 2.0
118
+ """
119
+
120
+ name = 'BlitzBasic'
121
+ aliases = ['blitzbasic', 'b3d', 'bplus']
122
+ filenames = ['*.bb', '*.decls']
123
+ mimetypes = ['text/x-bb']
124
+
125
+ bb_sktypes = r'@{1,2}|[#$%]'
126
+ bb_name = r'[a-z]\w*'
127
+ bb_var = (r'(%s)(?:([ \t]*)(%s)|([ \t]*)([.])([ \t]*)(?:(%s)))?') % \
128
+ (bb_name, bb_sktypes, bb_name)
129
+
130
+ flags = re.MULTILINE | re.IGNORECASE
131
+ tokens = {
132
+ 'root': [
133
+ # Text
134
+ (r'[ \t]+', Text),
135
+ # Comments
136
+ (r";.*?\n", Comment.Single),
137
+ # Data types
138
+ ('"', String.Double, 'string'),
139
+ # Numbers
140
+ (r'[0-9]+\.[0-9]*(?!\.)', Number.Float),
141
+ (r'\.[0-9]+(?!\.)', Number.Float),
142
+ (r'[0-9]+', Number.Integer),
143
+ (r'\$[0-9a-f]+', Number.Hex),
144
+ (r'\%[10]+', Number.Bin),
145
+ # Other
146
+ (words(('Shl', 'Shr', 'Sar', 'Mod', 'Or', 'And', 'Not',
147
+ 'Abs', 'Sgn', 'Handle', 'Int', 'Float', 'Str',
148
+ 'First', 'Last', 'Before', 'After'),
149
+ prefix=r'\b', suffix=r'\b'),
150
+ Operator),
151
+ (r'([+\-*/~=<>^])', Operator),
152
+ (r'[(),:\[\]\\]', Punctuation),
153
+ (r'\.([ \t]*)(%s)' % bb_name, Name.Label),
154
+ # Identifiers
155
+ (r'\b(New)\b([ \t]+)(%s)' % (bb_name),
156
+ bygroups(Keyword.Reserved, Text, Name.Class)),
157
+ (r'\b(Gosub|Goto)\b([ \t]+)(%s)' % (bb_name),
158
+ bygroups(Keyword.Reserved, Text, Name.Label)),
159
+ (r'\b(Object)\b([ \t]*)([.])([ \t]*)(%s)\b' % (bb_name),
160
+ bygroups(Operator, Text, Punctuation, Text, Name.Class)),
161
+ (r'\b%s\b([ \t]*)(\()' % bb_var,
162
+ bygroups(Name.Function, Text, Keyword.Type, Text, Punctuation,
163
+ Text, Name.Class, Text, Punctuation)),
164
+ (r'\b(Function)\b([ \t]+)%s' % bb_var,
165
+ bygroups(Keyword.Reserved, Text, Name.Function, Text, Keyword.Type,
166
+ Text, Punctuation, Text, Name.Class)),
167
+ (r'\b(Type)([ \t]+)(%s)' % (bb_name),
168
+ bygroups(Keyword.Reserved, Text, Name.Class)),
169
+ # Keywords
170
+ (r'\b(Pi|True|False|Null)\b', Keyword.Constant),
171
+ (r'\b(Local|Global|Const|Field|Dim)\b', Keyword.Declaration),
172
+ (words((
173
+ 'End', 'Return', 'Exit', 'Chr', 'Len', 'Asc', 'New', 'Delete', 'Insert',
174
+ 'Include', 'Function', 'Type', 'If', 'Then', 'Else', 'ElseIf', 'EndIf',
175
+ 'For', 'To', 'Next', 'Step', 'Each', 'While', 'Wend',
176
+ 'Repeat', 'Until', 'Forever', 'Select', 'Case', 'Default',
177
+ 'Goto', 'Gosub', 'Data', 'Read', 'Restore'), prefix=r'\b', suffix=r'\b'),
178
+ Keyword.Reserved),
179
+ # Final resolve (for variable names and such)
180
+ # (r'(%s)' % (bb_name), Name.Variable),
181
+ (bb_var, bygroups(Name.Variable, Text, Keyword.Type,
182
+ Text, Punctuation, Text, Name.Class)),
183
+ ],
184
+ 'string': [
185
+ (r'""', String.Double),
186
+ (r'"C?', String.Double, '#pop'),
187
+ (r'[^"]+', String.Double),
188
+ ],
189
+ }
190
+
191
+
192
+ class MonkeyLexer(RegexLexer):
193
+ """
194
+ For
195
+ `Monkey <https://en.wikipedia.org/wiki/Monkey_(programming_language)>`_
196
+ source code.
197
+
198
+ .. versionadded:: 1.6
199
+ """
200
+
201
+ name = 'Monkey'
202
+ aliases = ['monkey']
203
+ filenames = ['*.monkey']
204
+ mimetypes = ['text/x-monkey']
205
+
206
+ name_variable = r'[a-z_]\w*'
207
+ name_function = r'[A-Z]\w*'
208
+ name_constant = r'[A-Z_][A-Z0-9_]*'
209
+ name_class = r'[A-Z]\w*'
210
+ name_module = r'[a-z0-9_]*'
211
+
212
+ keyword_type = r'(?:Int|Float|String|Bool|Object|Array|Void)'
213
+ # ? == Bool // % == Int // # == Float // $ == String
214
+ keyword_type_special = r'[?%#$]'
215
+
216
+ flags = re.MULTILINE
217
+
218
+ tokens = {
219
+ 'root': [
220
+ # Text
221
+ (r'\s+', Text),
222
+ # Comments
223
+ (r"'.*", Comment),
224
+ (r'(?i)^#rem\b', Comment.Multiline, 'comment'),
225
+ # preprocessor directives
226
+ (r'(?i)^(?:#If|#ElseIf|#Else|#EndIf|#End|#Print|#Error)\b', Comment.Preproc),
227
+ # preprocessor variable (any line starting with '#' that is not a directive)
228
+ (r'^#', Comment.Preproc, 'variables'),
229
+ # String
230
+ ('"', String.Double, 'string'),
231
+ # Numbers
232
+ (r'[0-9]+\.[0-9]*(?!\.)', Number.Float),
233
+ (r'\.[0-9]+(?!\.)', Number.Float),
234
+ (r'[0-9]+', Number.Integer),
235
+ (r'\$[0-9a-fA-Z]+', Number.Hex),
236
+ (r'\%[10]+', Number.Bin),
237
+ # Native data types
238
+ (r'\b%s\b' % keyword_type, Keyword.Type),
239
+ # Exception handling
240
+ (r'(?i)\b(?:Try|Catch|Throw)\b', Keyword.Reserved),
241
+ (r'Throwable', Name.Exception),
242
+ # Builtins
243
+ (r'(?i)\b(?:Null|True|False)\b', Name.Builtin),
244
+ (r'(?i)\b(?:Self|Super)\b', Name.Builtin.Pseudo),
245
+ (r'\b(?:HOST|LANG|TARGET|CONFIG)\b', Name.Constant),
246
+ # Keywords
247
+ (r'(?i)^(Import)(\s+)(.*)(\n)',
248
+ bygroups(Keyword.Namespace, Text, Name.Namespace, Text)),
249
+ (r'(?i)^Strict\b.*\n', Keyword.Reserved),
250
+ (r'(?i)(Const|Local|Global|Field)(\s+)',
251
+ bygroups(Keyword.Declaration, Text), 'variables'),
252
+ (r'(?i)(New|Class|Interface|Extends|Implements)(\s+)',
253
+ bygroups(Keyword.Reserved, Text), 'classname'),
254
+ (r'(?i)(Function|Method)(\s+)',
255
+ bygroups(Keyword.Reserved, Text), 'funcname'),
256
+ (r'(?i)(?:End|Return|Public|Private|Extern|Property|'
257
+ r'Final|Abstract)\b', Keyword.Reserved),
258
+ # Flow Control stuff
259
+ (r'(?i)(?:If|Then|Else|ElseIf|EndIf|'
260
+ r'Select|Case|Default|'
261
+ r'While|Wend|'
262
+ r'Repeat|Until|Forever|'
263
+ r'For|To|Until|Step|EachIn|Next|'
264
+ r'Exit|Continue)\s+', Keyword.Reserved),
265
+ # not used yet
266
+ (r'(?i)\b(?:Module|Inline)\b', Keyword.Reserved),
267
+ # Array
268
+ (r'[\[\]]', Punctuation),
269
+ # Other
270
+ (r'<=|>=|<>|\*=|/=|\+=|-=|&=|~=|\|=|[-&*/^+=<>|~]', Operator),
271
+ (r'(?i)(?:Not|Mod|Shl|Shr|And|Or)', Operator.Word),
272
+ (r'[(){}!#,.:]', Punctuation),
273
+ # catch the rest
274
+ (r'%s\b' % name_constant, Name.Constant),
275
+ (r'%s\b' % name_function, Name.Function),
276
+ (r'%s\b' % name_variable, Name.Variable),
277
+ ],
278
+ 'funcname': [
279
+ (r'(?i)%s\b' % name_function, Name.Function),
280
+ (r':', Punctuation, 'classname'),
281
+ (r'\s+', Text),
282
+ (r'\(', Punctuation, 'variables'),
283
+ (r'\)', Punctuation, '#pop')
284
+ ],
285
+ 'classname': [
286
+ (r'%s\.' % name_module, Name.Namespace),
287
+ (r'%s\b' % keyword_type, Keyword.Type),
288
+ (r'%s\b' % name_class, Name.Class),
289
+ # array (of given size)
290
+ (r'(\[)(\s*)(\d*)(\s*)(\])',
291
+ bygroups(Punctuation, Text, Number.Integer, Text, Punctuation)),
292
+ # generics
293
+ (r'\s+(?!<)', Text, '#pop'),
294
+ (r'<', Punctuation, '#push'),
295
+ (r'>', Punctuation, '#pop'),
296
+ (r'\n', Text, '#pop'),
297
+ default('#pop')
298
+ ],
299
+ 'variables': [
300
+ (r'%s\b' % name_constant, Name.Constant),
301
+ (r'%s\b' % name_variable, Name.Variable),
302
+ (r'%s' % keyword_type_special, Keyword.Type),
303
+ (r'\s+', Text),
304
+ (r':', Punctuation, 'classname'),
305
+ (r',', Punctuation, '#push'),
306
+ default('#pop')
307
+ ],
308
+ 'string': [
309
+ (r'[^"~]+', String.Double),
310
+ (r'~q|~n|~r|~t|~z|~~', String.Escape),
311
+ (r'"', String.Double, '#pop'),
312
+ ],
313
+ 'comment': [
314
+ (r'(?i)^#rem.*?', Comment.Multiline, "#push"),
315
+ (r'(?i)^#end.*?', Comment.Multiline, "#pop"),
316
+ (r'\n', Comment.Multiline),
317
+ (r'.+', Comment.Multiline),
318
+ ],
319
+ }
320
+
321
+
322
+ class CbmBasicV2Lexer(RegexLexer):
323
+ """
324
+ For CBM BASIC V2 sources.
325
+
326
+ .. versionadded:: 1.6
327
+ """
328
+ name = 'CBM BASIC V2'
329
+ aliases = ['cbmbas']
330
+ filenames = ['*.bas']
331
+
332
+ flags = re.IGNORECASE
333
+
334
+ tokens = {
335
+ 'root': [
336
+ (r'rem.*\n', Comment.Single),
337
+ (r'\s+', Text),
338
+ (r'new|run|end|for|to|next|step|go(to|sub)?|on|return|stop|cont'
339
+ r'|if|then|input#?|read|wait|load|save|verify|poke|sys|print#?'
340
+ r'|list|clr|cmd|open|close|get#?', Keyword.Reserved),
341
+ (r'data|restore|dim|let|def|fn', Keyword.Declaration),
342
+ (r'tab|spc|sgn|int|abs|usr|fre|pos|sqr|rnd|log|exp|cos|sin|tan|atn'
343
+ r'|peek|len|val|asc|(str|chr|left|right|mid)\$', Name.Builtin),
344
+ (r'[-+*/^<>=]', Operator),
345
+ (r'not|and|or', Operator.Word),
346
+ (r'"[^"\n]*.', String),
347
+ (r'\d+|[-+]?\d*\.\d*(e[-+]?\d+)?', Number.Float),
348
+ (r'[(),:;]', Punctuation),
349
+ (r'\w+[$%]?', Name),
350
+ ]
351
+ }
352
+
353
+ def analyse_text(self, text):
354
+ # if it starts with a line number, it shouldn't be a "modern" Basic
355
+ # like VB.net
356
+ if re.match(r'\d+', text):
357
+ return 0.2
358
+
359
+
360
+ class QBasicLexer(RegexLexer):
361
+ """
362
+ For
363
+ `QBasic <http://en.wikipedia.org/wiki/QBasic>`_
364
+ source code.
365
+
366
+ .. versionadded:: 2.0
367
+ """
368
+
369
+ name = 'QBasic'
370
+ aliases = ['qbasic', 'basic']
371
+ filenames = ['*.BAS', '*.bas']
372
+ mimetypes = ['text/basic']
373
+
374
+ declarations = ('DATA', 'LET')
375
+
376
+ functions = (
377
+ 'ABS', 'ASC', 'ATN', 'CDBL', 'CHR$', 'CINT', 'CLNG',
378
+ 'COMMAND$', 'COS', 'CSNG', 'CSRLIN', 'CVD', 'CVDMBF', 'CVI',
379
+ 'CVL', 'CVS', 'CVSMBF', 'DATE$', 'ENVIRON$', 'EOF', 'ERDEV',
380
+ 'ERDEV$', 'ERL', 'ERR', 'EXP', 'FILEATTR', 'FIX', 'FRE',
381
+ 'FREEFILE', 'HEX$', 'INKEY$', 'INP', 'INPUT$', 'INSTR', 'INT',
382
+ 'IOCTL$', 'LBOUND', 'LCASE$', 'LEFT$', 'LEN', 'LOC', 'LOF',
383
+ 'LOG', 'LPOS', 'LTRIM$', 'MID$', 'MKD$', 'MKDMBF$', 'MKI$',
384
+ 'MKL$', 'MKS$', 'MKSMBF$', 'OCT$', 'PEEK', 'PEN', 'PLAY',
385
+ 'PMAP', 'POINT', 'POS', 'RIGHT$', 'RND', 'RTRIM$', 'SADD',
386
+ 'SCREEN', 'SEEK', 'SETMEM', 'SGN', 'SIN', 'SPACE$', 'SPC',
387
+ 'SQR', 'STICK', 'STR$', 'STRIG', 'STRING$', 'TAB', 'TAN',
388
+ 'TIME$', 'TIMER', 'UBOUND', 'UCASE$', 'VAL', 'VARPTR',
389
+ 'VARPTR$', 'VARSEG'
390
+ )
391
+
392
+ metacommands = ('$DYNAMIC', '$INCLUDE', '$STATIC')
393
+
394
+ operators = ('AND', 'EQV', 'IMP', 'NOT', 'OR', 'XOR')
395
+
396
+ statements = (
397
+ 'BEEP', 'BLOAD', 'BSAVE', 'CALL', 'CALL ABSOLUTE',
398
+ 'CALL INTERRUPT', 'CALLS', 'CHAIN', 'CHDIR', 'CIRCLE', 'CLEAR',
399
+ 'CLOSE', 'CLS', 'COLOR', 'COM', 'COMMON', 'CONST', 'DATA',
400
+ 'DATE$', 'DECLARE', 'DEF FN', 'DEF SEG', 'DEFDBL', 'DEFINT',
401
+ 'DEFLNG', 'DEFSNG', 'DEFSTR', 'DEF', 'DIM', 'DO', 'LOOP',
402
+ 'DRAW', 'END', 'ENVIRON', 'ERASE', 'ERROR', 'EXIT', 'FIELD',
403
+ 'FILES', 'FOR', 'NEXT', 'FUNCTION', 'GET', 'GOSUB', 'GOTO',
404
+ 'IF', 'THEN', 'INPUT', 'INPUT #', 'IOCTL', 'KEY', 'KEY',
405
+ 'KILL', 'LET', 'LINE', 'LINE INPUT', 'LINE INPUT #', 'LOCATE',
406
+ 'LOCK', 'UNLOCK', 'LPRINT', 'LSET', 'MID$', 'MKDIR', 'NAME',
407
+ 'ON COM', 'ON ERROR', 'ON KEY', 'ON PEN', 'ON PLAY',
408
+ 'ON STRIG', 'ON TIMER', 'ON UEVENT', 'ON', 'OPEN', 'OPEN COM',
409
+ 'OPTION BASE', 'OUT', 'PAINT', 'PALETTE', 'PCOPY', 'PEN',
410
+ 'PLAY', 'POKE', 'PRESET', 'PRINT', 'PRINT #', 'PRINT USING',
411
+ 'PSET', 'PUT', 'PUT', 'RANDOMIZE', 'READ', 'REDIM', 'REM',
412
+ 'RESET', 'RESTORE', 'RESUME', 'RETURN', 'RMDIR', 'RSET', 'RUN',
413
+ 'SCREEN', 'SEEK', 'SELECT CASE', 'SHARED', 'SHELL', 'SLEEP',
414
+ 'SOUND', 'STATIC', 'STOP', 'STRIG', 'SUB', 'SWAP', 'SYSTEM',
415
+ 'TIME$', 'TIMER', 'TROFF', 'TRON', 'TYPE', 'UEVENT', 'UNLOCK',
416
+ 'VIEW', 'WAIT', 'WHILE', 'WEND', 'WIDTH', 'WINDOW', 'WRITE'
417
+ )
418
+
419
+ keywords = (
420
+ 'ACCESS', 'ALIAS', 'ANY', 'APPEND', 'AS', 'BASE', 'BINARY',
421
+ 'BYVAL', 'CASE', 'CDECL', 'DOUBLE', 'ELSE', 'ELSEIF', 'ENDIF',
422
+ 'INTEGER', 'IS', 'LIST', 'LOCAL', 'LONG', 'LOOP', 'MOD',
423
+ 'NEXT', 'OFF', 'ON', 'OUTPUT', 'RANDOM', 'SIGNAL', 'SINGLE',
424
+ 'STEP', 'STRING', 'THEN', 'TO', 'UNTIL', 'USING', 'WEND'
425
+ )
426
+
427
+ tokens = {
428
+ 'root': [
429
+ (r'\n+', Text),
430
+ (r'\s+', Text.Whitespace),
431
+ (r'^(\s*)(\d*)(\s*)(REM .*)$',
432
+ bygroups(Text.Whitespace, Name.Label, Text.Whitespace,
433
+ Comment.Single)),
434
+ (r'^(\s*)(\d+)(\s*)',
435
+ bygroups(Text.Whitespace, Name.Label, Text.Whitespace)),
436
+ (r'(?=[\s]*)(\w+)(?=[\s]*=)', Name.Variable.Global),
437
+ (r'(?=[^"]*)\'.*$', Comment.Single),
438
+ (r'"[^\n"]*"', String.Double),
439
+ (r'(END)(\s+)(FUNCTION|IF|SELECT|SUB)',
440
+ bygroups(Keyword.Reserved, Text.Whitespace, Keyword.Reserved)),
441
+ (r'(DECLARE)(\s+)([A-Z]+)(\s+)(\S+)',
442
+ bygroups(Keyword.Declaration, Text.Whitespace, Name.Variable,
443
+ Text.Whitespace, Name)),
444
+ (r'(DIM)(\s+)(SHARED)(\s+)([^\s(]+)',
445
+ bygroups(Keyword.Declaration, Text.Whitespace, Name.Variable,
446
+ Text.Whitespace, Name.Variable.Global)),
447
+ (r'(DIM)(\s+)([^\s(]+)',
448
+ bygroups(Keyword.Declaration, Text.Whitespace, Name.Variable.Global)),
449
+ (r'^(\s*)([a-zA-Z_]+)(\s*)(\=)',
450
+ bygroups(Text.Whitespace, Name.Variable.Global, Text.Whitespace,
451
+ Operator)),
452
+ (r'(GOTO|GOSUB)(\s+)(\w+\:?)',
453
+ bygroups(Keyword.Reserved, Text.Whitespace, Name.Label)),
454
+ (r'(SUB)(\s+)(\w+\:?)',
455
+ bygroups(Keyword.Reserved, Text.Whitespace, Name.Label)),
456
+ include('declarations'),
457
+ include('functions'),
458
+ include('metacommands'),
459
+ include('operators'),
460
+ include('statements'),
461
+ include('keywords'),
462
+ (r'[a-zA-Z_]\w*[$@#&!]', Name.Variable.Global),
463
+ (r'[a-zA-Z_]\w*\:', Name.Label),
464
+ (r'\-?\d*\.\d+[@|#]?', Number.Float),
465
+ (r'\-?\d+[@|#]', Number.Float),
466
+ (r'\-?\d+#?', Number.Integer.Long),
467
+ (r'\-?\d+#?', Number.Integer),
468
+ (r'!=|==|:=|\.=|<<|>>|[-~+/\\*%=<>&^|?:!.]', Operator),
469
+ (r'[\[\]{}(),;]', Punctuation),
470
+ (r'[\w]+', Name.Variable.Global),
471
+ ],
472
+ # can't use regular \b because of X$()
473
+ # XXX: use words() here
474
+ 'declarations': [
475
+ (r'\b(%s)(?=\(|\b)' % '|'.join(map(re.escape, declarations)),
476
+ Keyword.Declaration),
477
+ ],
478
+ 'functions': [
479
+ (r'\b(%s)(?=\(|\b)' % '|'.join(map(re.escape, functions)),
480
+ Keyword.Reserved),
481
+ ],
482
+ 'metacommands': [
483
+ (r'\b(%s)(?=\(|\b)' % '|'.join(map(re.escape, metacommands)),
484
+ Keyword.Constant),
485
+ ],
486
+ 'operators': [
487
+ (r'\b(%s)(?=\(|\b)' % '|'.join(map(re.escape, operators)), Operator.Word),
488
+ ],
489
+ 'statements': [
490
+ (r'\b(%s)\b' % '|'.join(map(re.escape, statements)),
491
+ Keyword.Reserved),
492
+ ],
493
+ 'keywords': [
494
+ (r'\b(%s)\b' % '|'.join(keywords), Keyword),
495
+ ],
496
+ }
497
+
498
+ def analyse_text(text):
499
+ if '$DYNAMIC' in text or '$STATIC' in text:
500
+ return 0.9
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/business.py ADDED
@@ -0,0 +1,612 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.business
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for "business-oriented" languages.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, include, words, bygroups
15
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
16
+ Number, Punctuation, Error
17
+
18
+ from pygments.lexers._openedge_builtins import OPENEDGEKEYWORDS
19
+
20
+ __all__ = ['CobolLexer', 'CobolFreeformatLexer', 'ABAPLexer', 'OpenEdgeLexer',
21
+ 'GoodDataCLLexer', 'MaqlLexer']
22
+
23
+
24
+ class CobolLexer(RegexLexer):
25
+ """
26
+ Lexer for OpenCOBOL code.
27
+
28
+ .. versionadded:: 1.6
29
+ """
30
+ name = 'COBOL'
31
+ aliases = ['cobol']
32
+ filenames = ['*.cob', '*.COB', '*.cpy', '*.CPY']
33
+ mimetypes = ['text/x-cobol']
34
+ flags = re.IGNORECASE | re.MULTILINE
35
+
36
+ # Data Types: by PICTURE and USAGE
37
+ # Operators: **, *, +, -, /, <, >, <=, >=, =, <>
38
+ # Logical (?): NOT, AND, OR
39
+
40
+ # Reserved words:
41
+ # http://opencobol.add1tocobol.com/#reserved-words
42
+ # Intrinsics:
43
+ # http://opencobol.add1tocobol.com/#does-opencobol-implement-any-intrinsic-functions
44
+
45
+ tokens = {
46
+ 'root': [
47
+ include('comment'),
48
+ include('strings'),
49
+ include('core'),
50
+ include('nums'),
51
+ (r'[a-z0-9]([\w\-]*[a-z0-9]+)?', Name.Variable),
52
+ # (r'[\s]+', Text),
53
+ (r'[ \t]+', Text),
54
+ ],
55
+ 'comment': [
56
+ (r'(^.{6}[*/].*\n|^.{6}|\*>.*\n)', Comment),
57
+ ],
58
+ 'core': [
59
+ # Figurative constants
60
+ (r'(^|(?<=[^\w\-]))(ALL\s+)?'
61
+ r'((ZEROES)|(HIGH-VALUE|LOW-VALUE|QUOTE|SPACE|ZERO)(S)?)'
62
+ r'\s*($|(?=[^\w\-]))',
63
+ Name.Constant),
64
+
65
+ # Reserved words STATEMENTS and other bolds
66
+ (words((
67
+ 'ACCEPT', 'ADD', 'ALLOCATE', 'CALL', 'CANCEL', 'CLOSE', 'COMPUTE',
68
+ 'CONFIGURATION', 'CONTINUE', 'DATA', 'DELETE', 'DISPLAY', 'DIVIDE',
69
+ 'DIVISION', 'ELSE', 'END', 'END-ACCEPT',
70
+ 'END-ADD', 'END-CALL', 'END-COMPUTE', 'END-DELETE', 'END-DISPLAY',
71
+ 'END-DIVIDE', 'END-EVALUATE', 'END-IF', 'END-MULTIPLY', 'END-OF-PAGE',
72
+ 'END-PERFORM', 'END-READ', 'END-RETURN', 'END-REWRITE', 'END-SEARCH',
73
+ 'END-START', 'END-STRING', 'END-SUBTRACT', 'END-UNSTRING', 'END-WRITE',
74
+ 'ENVIRONMENT', 'EVALUATE', 'EXIT', 'FD', 'FILE', 'FILE-CONTROL', 'FOREVER',
75
+ 'FREE', 'GENERATE', 'GO', 'GOBACK', 'IDENTIFICATION', 'IF', 'INITIALIZE',
76
+ 'INITIATE', 'INPUT-OUTPUT', 'INSPECT', 'INVOKE', 'I-O-CONTROL', 'LINKAGE',
77
+ 'LOCAL-STORAGE', 'MERGE', 'MOVE', 'MULTIPLY', 'OPEN', 'PERFORM',
78
+ 'PROCEDURE', 'PROGRAM-ID', 'RAISE', 'READ', 'RELEASE', 'RESUME',
79
+ 'RETURN', 'REWRITE', 'SCREEN', 'SD', 'SEARCH', 'SECTION', 'SET',
80
+ 'SORT', 'START', 'STOP', 'STRING', 'SUBTRACT', 'SUPPRESS',
81
+ 'TERMINATE', 'THEN', 'UNLOCK', 'UNSTRING', 'USE', 'VALIDATE',
82
+ 'WORKING-STORAGE', 'WRITE'), prefix=r'(^|(?<=[^\w\-]))',
83
+ suffix=r'\s*($|(?=[^\w\-]))'),
84
+ Keyword.Reserved),
85
+
86
+ # Reserved words
87
+ (words((
88
+ 'ACCESS', 'ADDRESS', 'ADVANCING', 'AFTER', 'ALL',
89
+ 'ALPHABET', 'ALPHABETIC', 'ALPHABETIC-LOWER', 'ALPHABETIC-UPPER',
90
+ 'ALPHANUMERIC', 'ALPHANUMERIC-EDITED', 'ALSO', 'ALTER', 'ALTERNATE'
91
+ 'ANY', 'ARE', 'AREA', 'AREAS', 'ARGUMENT-NUMBER', 'ARGUMENT-VALUE', 'AS',
92
+ 'ASCENDING', 'ASSIGN', 'AT', 'AUTO', 'AUTO-SKIP', 'AUTOMATIC',
93
+ 'AUTOTERMINATE', 'BACKGROUND-COLOR', 'BASED', 'BEEP', 'BEFORE', 'BELL',
94
+ 'BLANK', 'BLINK', 'BLOCK', 'BOTTOM', 'BY', 'BYTE-LENGTH', 'CHAINING',
95
+ 'CHARACTER', 'CHARACTERS', 'CLASS', 'CODE', 'CODE-SET', 'COL',
96
+ 'COLLATING', 'COLS', 'COLUMN', 'COLUMNS', 'COMMA', 'COMMAND-LINE',
97
+ 'COMMIT', 'COMMON', 'CONSTANT', 'CONTAINS', 'CONTENT', 'CONTROL',
98
+ 'CONTROLS', 'CONVERTING', 'COPY', 'CORR', 'CORRESPONDING', 'COUNT', 'CRT',
99
+ 'CURRENCY', 'CURSOR', 'CYCLE', 'DATE', 'DAY', 'DAY-OF-WEEK', 'DE',
100
+ 'DEBUGGING', 'DECIMAL-POINT', 'DECLARATIVES', 'DEFAULT', 'DELIMITED',
101
+ 'DELIMITER', 'DEPENDING', 'DESCENDING', 'DETAIL', 'DISK',
102
+ 'DOWN', 'DUPLICATES', 'DYNAMIC', 'EBCDIC',
103
+ 'ENTRY', 'ENVIRONMENT-NAME', 'ENVIRONMENT-VALUE', 'EOL', 'EOP',
104
+ 'EOS', 'ERASE', 'ERROR', 'ESCAPE', 'EXCEPTION',
105
+ 'EXCLUSIVE', 'EXTEND', 'EXTERNAL', 'FILE-ID', 'FILLER', 'FINAL',
106
+ 'FIRST', 'FIXED', 'FLOAT-LONG', 'FLOAT-SHORT',
107
+ 'FOOTING', 'FOR', 'FOREGROUND-COLOR', 'FORMAT', 'FROM', 'FULL',
108
+ 'FUNCTION', 'FUNCTION-ID', 'GIVING', 'GLOBAL', 'GROUP',
109
+ 'HEADING', 'HIGHLIGHT', 'I-O', 'ID',
110
+ 'IGNORE', 'IGNORING', 'IN', 'INDEX', 'INDEXED', 'INDICATE',
111
+ 'INITIAL', 'INITIALIZED', 'INPUT', 'INTO', 'INTRINSIC', 'INVALID',
112
+ 'IS', 'JUST', 'JUSTIFIED', 'KEY', 'LABEL',
113
+ 'LAST', 'LEADING', 'LEFT', 'LENGTH', 'LIMIT', 'LIMITS', 'LINAGE',
114
+ 'LINAGE-COUNTER', 'LINE', 'LINES', 'LOCALE', 'LOCK',
115
+ 'LOWLIGHT', 'MANUAL', 'MEMORY', 'MINUS', 'MODE', 'MULTIPLE',
116
+ 'NATIONAL', 'NATIONAL-EDITED', 'NATIVE', 'NEGATIVE', 'NEXT', 'NO',
117
+ 'NULL', 'NULLS', 'NUMBER', 'NUMBERS', 'NUMERIC', 'NUMERIC-EDITED',
118
+ 'OBJECT-COMPUTER', 'OCCURS', 'OF', 'OFF', 'OMITTED', 'ON', 'ONLY',
119
+ 'OPTIONAL', 'ORDER', 'ORGANIZATION', 'OTHER', 'OUTPUT', 'OVERFLOW',
120
+ 'OVERLINE', 'PACKED-DECIMAL', 'PADDING', 'PAGE', 'PARAGRAPH',
121
+ 'PLUS', 'POINTER', 'POSITION', 'POSITIVE', 'PRESENT', 'PREVIOUS',
122
+ 'PRINTER', 'PRINTING', 'PROCEDURE-POINTER', 'PROCEDURES',
123
+ 'PROCEED', 'PROGRAM', 'PROGRAM-POINTER', 'PROMPT', 'QUOTE',
124
+ 'QUOTES', 'RANDOM', 'RD', 'RECORD', 'RECORDING', 'RECORDS', 'RECURSIVE',
125
+ 'REDEFINES', 'REEL', 'REFERENCE', 'RELATIVE', 'REMAINDER', 'REMOVAL',
126
+ 'RENAMES', 'REPLACING', 'REPORT', 'REPORTING', 'REPORTS', 'REPOSITORY',
127
+ 'REQUIRED', 'RESERVE', 'RETURNING', 'REVERSE-VIDEO', 'REWIND',
128
+ 'RIGHT', 'ROLLBACK', 'ROUNDED', 'RUN', 'SAME', 'SCROLL',
129
+ 'SECURE', 'SEGMENT-LIMIT', 'SELECT', 'SENTENCE', 'SEPARATE',
130
+ 'SEQUENCE', 'SEQUENTIAL', 'SHARING', 'SIGN', 'SIGNED', 'SIGNED-INT',
131
+ 'SIGNED-LONG', 'SIGNED-SHORT', 'SIZE', 'SORT-MERGE', 'SOURCE',
132
+ 'SOURCE-COMPUTER', 'SPECIAL-NAMES', 'STANDARD',
133
+ 'STANDARD-1', 'STANDARD-2', 'STATUS', 'SUM',
134
+ 'SYMBOLIC', 'SYNC', 'SYNCHRONIZED', 'TALLYING', 'TAPE',
135
+ 'TEST', 'THROUGH', 'THRU', 'TIME', 'TIMES', 'TO', 'TOP', 'TRAILING',
136
+ 'TRANSFORM', 'TYPE', 'UNDERLINE', 'UNIT', 'UNSIGNED',
137
+ 'UNSIGNED-INT', 'UNSIGNED-LONG', 'UNSIGNED-SHORT', 'UNTIL', 'UP',
138
+ 'UPDATE', 'UPON', 'USAGE', 'USING', 'VALUE', 'VALUES', 'VARYING',
139
+ 'WAIT', 'WHEN', 'WITH', 'WORDS', 'YYYYDDD', 'YYYYMMDD'),
140
+ prefix=r'(^|(?<=[^\w\-]))', suffix=r'\s*($|(?=[^\w\-]))'),
141
+ Keyword.Pseudo),
142
+
143
+ # inactive reserved words
144
+ (words((
145
+ 'ACTIVE-CLASS', 'ALIGNED', 'ANYCASE', 'ARITHMETIC', 'ATTRIBUTE',
146
+ 'B-AND', 'B-NOT', 'B-OR', 'B-XOR', 'BIT', 'BOOLEAN', 'CD', 'CENTER',
147
+ 'CF', 'CH', 'CHAIN', 'CLASS-ID', 'CLASSIFICATION', 'COMMUNICATION',
148
+ 'CONDITION', 'DATA-POINTER', 'DESTINATION', 'DISABLE', 'EC', 'EGI',
149
+ 'EMI', 'ENABLE', 'END-RECEIVE', 'ENTRY-CONVENTION', 'EO', 'ESI',
150
+ 'EXCEPTION-OBJECT', 'EXPANDS', 'FACTORY', 'FLOAT-BINARY-16',
151
+ 'FLOAT-BINARY-34', 'FLOAT-BINARY-7', 'FLOAT-DECIMAL-16',
152
+ 'FLOAT-DECIMAL-34', 'FLOAT-EXTENDED', 'FORMAT', 'FUNCTION-POINTER',
153
+ 'GET', 'GROUP-USAGE', 'IMPLEMENTS', 'INFINITY', 'INHERITS',
154
+ 'INTERFACE', 'INTERFACE-ID', 'INVOKE', 'LC_ALL', 'LC_COLLATE',
155
+ 'LC_CTYPE', 'LC_MESSAGES', 'LC_MONETARY', 'LC_NUMERIC', 'LC_TIME',
156
+ 'LINE-COUNTER', 'MESSAGE', 'METHOD', 'METHOD-ID', 'NESTED', 'NONE',
157
+ 'NORMAL', 'OBJECT', 'OBJECT-REFERENCE', 'OPTIONS', 'OVERRIDE',
158
+ 'PAGE-COUNTER', 'PF', 'PH', 'PROPERTY', 'PROTOTYPE', 'PURGE',
159
+ 'QUEUE', 'RAISE', 'RAISING', 'RECEIVE', 'RELATION', 'REPLACE',
160
+ 'REPRESENTS-NOT-A-NUMBER', 'RESET', 'RESUME', 'RETRY', 'RF', 'RH',
161
+ 'SECONDS', 'SEGMENT', 'SELF', 'SEND', 'SOURCES', 'STATEMENT',
162
+ 'STEP', 'STRONG', 'SUB-QUEUE-1', 'SUB-QUEUE-2', 'SUB-QUEUE-3',
163
+ 'SUPER', 'SYMBOL', 'SYSTEM-DEFAULT', 'TABLE', 'TERMINAL', 'TEXT',
164
+ 'TYPEDEF', 'UCS-4', 'UNIVERSAL', 'USER-DEFAULT', 'UTF-16', 'UTF-8',
165
+ 'VAL-STATUS', 'VALID', 'VALIDATE', 'VALIDATE-STATUS'),
166
+ prefix=r'(^|(?<=[^\w\-]))', suffix=r'\s*($|(?=[^\w\-]))'),
167
+ Error),
168
+
169
+ # Data Types
170
+ (r'(^|(?<=[^\w\-]))'
171
+ r'(PIC\s+.+?(?=(\s|\.\s))|PICTURE\s+.+?(?=(\s|\.\s))|'
172
+ r'(COMPUTATIONAL)(-[1-5X])?|(COMP)(-[1-5X])?|'
173
+ r'BINARY-C-LONG|'
174
+ r'BINARY-CHAR|BINARY-DOUBLE|BINARY-LONG|BINARY-SHORT|'
175
+ r'BINARY)\s*($|(?=[^\w\-]))', Keyword.Type),
176
+
177
+ # Operators
178
+ (r'(\*\*|\*|\+|-|/|<=|>=|<|>|==|/=|=)', Operator),
179
+
180
+ # (r'(::)', Keyword.Declaration),
181
+
182
+ (r'([(),;:&%.])', Punctuation),
183
+
184
+ # Intrinsics
185
+ (r'(^|(?<=[^\w\-]))(ABS|ACOS|ANNUITY|ASIN|ATAN|BYTE-LENGTH|'
186
+ r'CHAR|COMBINED-DATETIME|CONCATENATE|COS|CURRENT-DATE|'
187
+ r'DATE-OF-INTEGER|DATE-TO-YYYYMMDD|DAY-OF-INTEGER|DAY-TO-YYYYDDD|'
188
+ r'EXCEPTION-(?:FILE|LOCATION|STATEMENT|STATUS)|EXP10|EXP|E|'
189
+ r'FACTORIAL|FRACTION-PART|INTEGER-OF-(?:DATE|DAY|PART)|INTEGER|'
190
+ r'LENGTH|LOCALE-(?:DATE|TIME(?:-FROM-SECONDS)?)|LOG(?:10)?|'
191
+ r'LOWER-CASE|MAX|MEAN|MEDIAN|MIDRANGE|MIN|MOD|NUMVAL(?:-C)?|'
192
+ r'ORD(?:-MAX|-MIN)?|PI|PRESENT-VALUE|RANDOM|RANGE|REM|REVERSE|'
193
+ r'SECONDS-FROM-FORMATTED-TIME|SECONDS-PAST-MIDNIGHT|SIGN|SIN|SQRT|'
194
+ r'STANDARD-DEVIATION|STORED-CHAR-LENGTH|SUBSTITUTE(?:-CASE)?|'
195
+ r'SUM|TAN|TEST-DATE-YYYYMMDD|TEST-DAY-YYYYDDD|TRIM|'
196
+ r'UPPER-CASE|VARIANCE|WHEN-COMPILED|YEAR-TO-YYYY)\s*'
197
+ r'($|(?=[^\w\-]))', Name.Function),
198
+
199
+ # Booleans
200
+ (r'(^|(?<=[^\w\-]))(true|false)\s*($|(?=[^\w\-]))', Name.Builtin),
201
+ # Comparing Operators
202
+ (r'(^|(?<=[^\w\-]))(equal|equals|ne|lt|le|gt|ge|'
203
+ r'greater|less|than|not|and|or)\s*($|(?=[^\w\-]))', Operator.Word),
204
+ ],
205
+
206
+ # \"[^\"\n]*\"|\'[^\'\n]*\'
207
+ 'strings': [
208
+ # apparently strings can be delimited by EOL if they are continued
209
+ # in the next line
210
+ (r'"[^"\n]*("|\n)', String.Double),
211
+ (r"'[^'\n]*('|\n)", String.Single),
212
+ ],
213
+
214
+ 'nums': [
215
+ (r'\d+(\s*|\.$|$)', Number.Integer),
216
+ (r'[+-]?\d*\.\d+(E[-+]?\d+)?', Number.Float),
217
+ (r'[+-]?\d+\.\d*(E[-+]?\d+)?', Number.Float),
218
+ ],
219
+ }
220
+
221
+
222
+ class CobolFreeformatLexer(CobolLexer):
223
+ """
224
+ Lexer for Free format OpenCOBOL code.
225
+
226
+ .. versionadded:: 1.6
227
+ """
228
+ name = 'COBOLFree'
229
+ aliases = ['cobolfree']
230
+ filenames = ['*.cbl', '*.CBL']
231
+ mimetypes = []
232
+ flags = re.IGNORECASE | re.MULTILINE
233
+
234
+ tokens = {
235
+ 'comment': [
236
+ (r'(\*>.*\n|^\w*\*.*$)', Comment),
237
+ ],
238
+ }
239
+
240
+
241
+ class ABAPLexer(RegexLexer):
242
+ """
243
+ Lexer for ABAP, SAP's integrated language.
244
+
245
+ .. versionadded:: 1.1
246
+ """
247
+ name = 'ABAP'
248
+ aliases = ['abap']
249
+ filenames = ['*.abap', '*.ABAP']
250
+ mimetypes = ['text/x-abap']
251
+
252
+ flags = re.IGNORECASE | re.MULTILINE
253
+
254
+ tokens = {
255
+ 'common': [
256
+ (r'\s+', Text),
257
+ (r'^\*.*$', Comment.Single),
258
+ (r'\".*?\n', Comment.Single),
259
+ (r'##\w+', Comment.Special),
260
+ ],
261
+ 'variable-names': [
262
+ (r'<\S+>', Name.Variable),
263
+ (r'\w[\w~]*(?:(\[\])|->\*)?', Name.Variable),
264
+ ],
265
+ 'root': [
266
+ include('common'),
267
+ # function calls
268
+ (r'CALL\s+(?:BADI|CUSTOMER-FUNCTION|FUNCTION)',
269
+ Keyword),
270
+ (r'(CALL\s+(?:DIALOG|SCREEN|SUBSCREEN|SELECTION-SCREEN|'
271
+ r'TRANSACTION|TRANSFORMATION))\b',
272
+ Keyword),
273
+ (r'(FORM|PERFORM)(\s+)(\w+)',
274
+ bygroups(Keyword, Text, Name.Function)),
275
+ (r'(PERFORM)(\s+)(\()(\w+)(\))',
276
+ bygroups(Keyword, Text, Punctuation, Name.Variable, Punctuation)),
277
+ (r'(MODULE)(\s+)(\S+)(\s+)(INPUT|OUTPUT)',
278
+ bygroups(Keyword, Text, Name.Function, Text, Keyword)),
279
+
280
+ # method implementation
281
+ (r'(METHOD)(\s+)([\w~]+)',
282
+ bygroups(Keyword, Text, Name.Function)),
283
+ # method calls
284
+ (r'(\s+)([\w\-]+)([=\-]>)([\w\-~]+)',
285
+ bygroups(Text, Name.Variable, Operator, Name.Function)),
286
+ # call methodnames returning style
287
+ (r'(?<=(=|-)>)([\w\-~]+)(?=\()', Name.Function),
288
+
289
+ # text elements
290
+ (r'(TEXT)(-)(\d{3})',
291
+ bygroups(Keyword, Punctuation, Number.Integer)),
292
+ (r'(TEXT)(-)(\w{3})',
293
+ bygroups(Keyword, Punctuation, Name.Variable)),
294
+
295
+ # keywords with dashes in them.
296
+ # these need to be first, because for instance the -ID part
297
+ # of MESSAGE-ID wouldn't get highlighted if MESSAGE was
298
+ # first in the list of keywords.
299
+ (r'(ADD-CORRESPONDING|AUTHORITY-CHECK|'
300
+ r'CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|'
301
+ r'DELETE-ADJACENT|DIVIDE-CORRESPONDING|'
302
+ r'EDITOR-CALL|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|EXIT-COMMAND|'
303
+ r'FIELD-GROUPS|FIELD-SYMBOLS|FUNCTION-POOL|'
304
+ r'INTERFACE-POOL|INVERTED-DATE|'
305
+ r'LOAD-OF-PROGRAM|LOG-POINT|'
306
+ r'MESSAGE-ID|MOVE-CORRESPONDING|MULTIPLY-CORRESPONDING|'
307
+ r'NEW-LINE|NEW-PAGE|NEW-SECTION|NO-EXTENSION|'
308
+ r'OUTPUT-LENGTH|PRINT-CONTROL|'
309
+ r'SELECT-OPTIONS|START-OF-SELECTION|SUBTRACT-CORRESPONDING|'
310
+ r'SYNTAX-CHECK|SYSTEM-EXCEPTIONS|'
311
+ r'TYPE-POOL|TYPE-POOLS|NO-DISPLAY'
312
+ r')\b', Keyword),
313
+
314
+ # keyword kombinations
315
+ (r'(?<![-\>])(CREATE\s+(PUBLIC|PRIVATE|DATA|OBJECT)|'
316
+ r'(PUBLIC|PRIVATE|PROTECTED)\s+SECTION|'
317
+ r'(TYPE|LIKE)\s+((LINE\s+OF|REF\s+TO|'
318
+ r'(SORTED|STANDARD|HASHED)\s+TABLE\s+OF))?|'
319
+ r'FROM\s+(DATABASE|MEMORY)|CALL\s+METHOD|'
320
+ r'(GROUP|ORDER) BY|HAVING|SEPARATED BY|'
321
+ r'GET\s+(BADI|BIT|CURSOR|DATASET|LOCALE|PARAMETER|'
322
+ r'PF-STATUS|(PROPERTY|REFERENCE)\s+OF|'
323
+ r'RUN\s+TIME|TIME\s+(STAMP)?)?|'
324
+ r'SET\s+(BIT|BLANK\s+LINES|COUNTRY|CURSOR|DATASET|EXTENDED\s+CHECK|'
325
+ r'HANDLER|HOLD\s+DATA|LANGUAGE|LEFT\s+SCROLL-BOUNDARY|'
326
+ r'LOCALE|MARGIN|PARAMETER|PF-STATUS|PROPERTY\s+OF|'
327
+ r'RUN\s+TIME\s+(ANALYZER|CLOCK\s+RESOLUTION)|SCREEN|'
328
+ r'TITLEBAR|UPADTE\s+TASK\s+LOCAL|USER-COMMAND)|'
329
+ r'CONVERT\s+((INVERTED-)?DATE|TIME|TIME\s+STAMP|TEXT)|'
330
+ r'(CLOSE|OPEN)\s+(DATASET|CURSOR)|'
331
+ r'(TO|FROM)\s+(DATA BUFFER|INTERNAL TABLE|MEMORY ID|'
332
+ r'DATABASE|SHARED\s+(MEMORY|BUFFER))|'
333
+ r'DESCRIBE\s+(DISTANCE\s+BETWEEN|FIELD|LIST|TABLE)|'
334
+ r'FREE\s(MEMORY|OBJECT)?|'
335
+ r'PROCESS\s+(BEFORE\s+OUTPUT|AFTER\s+INPUT|'
336
+ r'ON\s+(VALUE-REQUEST|HELP-REQUEST))|'
337
+ r'AT\s+(LINE-SELECTION|USER-COMMAND|END\s+OF|NEW)|'
338
+ r'AT\s+SELECTION-SCREEN(\s+(ON(\s+(BLOCK|(HELP|VALUE)-REQUEST\s+FOR|'
339
+ r'END\s+OF|RADIOBUTTON\s+GROUP))?|OUTPUT))?|'
340
+ r'SELECTION-SCREEN:?\s+((BEGIN|END)\s+OF\s+((TABBED\s+)?BLOCK|LINE|'
341
+ r'SCREEN)|COMMENT|FUNCTION\s+KEY|'
342
+ r'INCLUDE\s+BLOCKS|POSITION|PUSHBUTTON|'
343
+ r'SKIP|ULINE)|'
344
+ r'LEAVE\s+(LIST-PROCESSING|PROGRAM|SCREEN|'
345
+ r'TO LIST-PROCESSING|TO TRANSACTION)'
346
+ r'(ENDING|STARTING)\s+AT|'
347
+ r'FORMAT\s+(COLOR|INTENSIFIED|INVERSE|HOTSPOT|INPUT|FRAMES|RESET)|'
348
+ r'AS\s+(CHECKBOX|SUBSCREEN|WINDOW)|'
349
+ r'WITH\s+(((NON-)?UNIQUE)?\s+KEY|FRAME)|'
350
+ r'(BEGIN|END)\s+OF|'
351
+ r'DELETE(\s+ADJACENT\s+DUPLICATES\sFROM)?|'
352
+ r'COMPARING(\s+ALL\s+FIELDS)?|'
353
+ r'(INSERT|APPEND)(\s+INITIAL\s+LINE\s+(IN)?TO|\s+LINES\s+OF)?|'
354
+ r'IN\s+((BYTE|CHARACTER)\s+MODE|PROGRAM)|'
355
+ r'END-OF-(DEFINITION|PAGE|SELECTION)|'
356
+ r'WITH\s+FRAME(\s+TITLE)|'
357
+ r'(REPLACE|FIND)\s+((FIRST|ALL)\s+OCCURRENCES?\s+OF\s+)?(SUBSTRING|REGEX)?|'
358
+ r'MATCH\s+(LENGTH|COUNT|LINE|OFFSET)|'
359
+ r'(RESPECTING|IGNORING)\s+CASE|'
360
+ r'IN\s+UPDATE\s+TASK|'
361
+ r'(SOURCE|RESULT)\s+(XML)?|'
362
+ r'REFERENCE\s+INTO|'
363
+
364
+ # simple kombinations
365
+ r'AND\s+(MARK|RETURN)|CLIENT\s+SPECIFIED|CORRESPONDING\s+FIELDS\s+OF|'
366
+ r'IF\s+FOUND|FOR\s+EVENT|INHERITING\s+FROM|LEAVE\s+TO\s+SCREEN|'
367
+ r'LOOP\s+AT\s+(SCREEN)?|LOWER\s+CASE|MATCHCODE\s+OBJECT|MODIF\s+ID|'
368
+ r'MODIFY\s+SCREEN|NESTING\s+LEVEL|NO\s+INTERVALS|OF\s+STRUCTURE|'
369
+ r'RADIOBUTTON\s+GROUP|RANGE\s+OF|REF\s+TO|SUPPRESS DIALOG|'
370
+ r'TABLE\s+OF|UPPER\s+CASE|TRANSPORTING\s+NO\s+FIELDS|'
371
+ r'VALUE\s+CHECK|VISIBLE\s+LENGTH|HEADER\s+LINE|COMMON\s+PART)\b', Keyword),
372
+
373
+ # single word keywords.
374
+ (r'(^|(?<=(\s|\.)))(ABBREVIATED|ABSTRACT|ADD|ALIASES|ALIGN|ALPHA|'
375
+ r'ASSERT|AS|ASSIGN(ING)?|AT(\s+FIRST)?|'
376
+ r'BACK|BLOCK|BREAK-POINT|'
377
+ r'CASE|CATCH|CHANGING|CHECK|CLASS|CLEAR|COLLECT|COLOR|COMMIT|'
378
+ r'CREATE|COMMUNICATION|COMPONENTS?|COMPUTE|CONCATENATE|CONDENSE|'
379
+ r'CONSTANTS|CONTEXTS|CONTINUE|CONTROLS|COUNTRY|CURRENCY|'
380
+ r'DATA|DATE|DECIMALS|DEFAULT|DEFINE|DEFINITION|DEFERRED|DEMAND|'
381
+ r'DETAIL|DIRECTORY|DIVIDE|DO|DUMMY|'
382
+ r'ELSE(IF)?|ENDAT|ENDCASE|ENDCATCH|ENDCLASS|ENDDO|ENDFORM|ENDFUNCTION|'
383
+ r'ENDIF|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDSELECT|ENDTRY|ENDWHILE|'
384
+ r'ENHANCEMENT|EVENTS|EXACT|EXCEPTIONS?|EXIT|EXPONENT|EXPORT|EXPORTING|EXTRACT|'
385
+ r'FETCH|FIELDS?|FOR|FORM|FORMAT|FREE|FROM|FUNCTION|'
386
+ r'HIDE|'
387
+ r'ID|IF|IMPORT|IMPLEMENTATION|IMPORTING|IN|INCLUDE|INCLUDING|'
388
+ r'INDEX|INFOTYPES|INITIALIZATION|INTERFACE|INTERFACES|INTO|'
389
+ r'LANGUAGE|LEAVE|LENGTH|LINES|LOAD|LOCAL|'
390
+ r'JOIN|'
391
+ r'KEY|'
392
+ r'NEXT|'
393
+ r'MAXIMUM|MESSAGE|METHOD[S]?|MINIMUM|MODULE|MODIFIER|MODIFY|MOVE|MULTIPLY|'
394
+ r'NODES|NUMBER|'
395
+ r'OBLIGATORY|OBJECT|OF|OFF|ON|OTHERS|OVERLAY|'
396
+ r'PACK|PAD|PARAMETERS|PERCENTAGE|POSITION|PROGRAM|PROVIDE|PUBLIC|PUT|PF\d\d|'
397
+ r'RAISE|RAISING|RANGES?|READ|RECEIVE|REDEFINITION|REFRESH|REJECT|REPORT|RESERVE|'
398
+ r'RESUME|RETRY|RETURN|RETURNING|RIGHT|ROLLBACK|REPLACE|'
399
+ r'SCROLL|SEARCH|SELECT|SHIFT|SIGN|SINGLE|SIZE|SKIP|SORT|SPLIT|STATICS|STOP|'
400
+ r'STYLE|SUBMATCHES|SUBMIT|SUBTRACT|SUM(?!\()|SUMMARY|SUMMING|SUPPLY|'
401
+ r'TABLE|TABLES|TIMESTAMP|TIMES?|TIMEZONE|TITLE|\??TO|'
402
+ r'TOP-OF-PAGE|TRANSFER|TRANSLATE|TRY|TYPES|'
403
+ r'ULINE|UNDER|UNPACK|UPDATE|USING|'
404
+ r'VALUE|VALUES|VIA|VARYING|VARY|'
405
+ r'WAIT|WHEN|WHERE|WIDTH|WHILE|WITH|WINDOW|WRITE|XSD|ZERO)\b', Keyword),
406
+
407
+ # builtins
408
+ (r'(abs|acos|asin|atan|'
409
+ r'boolc|boolx|bit_set|'
410
+ r'char_off|charlen|ceil|cmax|cmin|condense|contains|'
411
+ r'contains_any_of|contains_any_not_of|concat_lines_of|cos|cosh|'
412
+ r'count|count_any_of|count_any_not_of|'
413
+ r'dbmaxlen|distance|'
414
+ r'escape|exp|'
415
+ r'find|find_end|find_any_of|find_any_not_of|floor|frac|from_mixed|'
416
+ r'insert|'
417
+ r'lines|log|log10|'
418
+ r'match|matches|'
419
+ r'nmax|nmin|numofchar|'
420
+ r'repeat|replace|rescale|reverse|round|'
421
+ r'segment|shift_left|shift_right|sign|sin|sinh|sqrt|strlen|'
422
+ r'substring|substring_after|substring_from|substring_before|substring_to|'
423
+ r'tan|tanh|to_upper|to_lower|to_mixed|translate|trunc|'
424
+ r'xstrlen)(\()\b', bygroups(Name.Builtin, Punctuation)),
425
+
426
+ (r'&[0-9]', Name),
427
+ (r'[0-9]+', Number.Integer),
428
+
429
+ # operators which look like variable names before
430
+ # parsing variable names.
431
+ (r'(?<=(\s|.))(AND|OR|EQ|NE|GT|LT|GE|LE|CO|CN|CA|NA|CS|NOT|NS|CP|NP|'
432
+ r'BYTE-CO|BYTE-CN|BYTE-CA|BYTE-NA|BYTE-CS|BYTE-NS|'
433
+ r'IS\s+(NOT\s+)?(INITIAL|ASSIGNED|REQUESTED|BOUND))\b', Operator.Word),
434
+
435
+ include('variable-names'),
436
+
437
+ # standard operators after variable names,
438
+ # because < and > are part of field symbols.
439
+ (r'[?*<>=\-+&]', Operator),
440
+ (r"'(''|[^'])*'", String.Single),
441
+ (r"`([^`])*`", String.Single),
442
+ (r"([|}])([^{}|]*?)([|{])",
443
+ bygroups(Punctuation, String.Single, Punctuation)),
444
+ (r'[/;:()\[\],.]', Punctuation),
445
+ (r'(!)(\w+)', bygroups(Operator, Name)),
446
+ ],
447
+ }
448
+
449
+
450
+ class OpenEdgeLexer(RegexLexer):
451
+ """
452
+ Lexer for `OpenEdge ABL (formerly Progress)
453
+ <http://web.progress.com/en/openedge/abl.html>`_ source code.
454
+
455
+ .. versionadded:: 1.5
456
+ """
457
+ name = 'OpenEdge ABL'
458
+ aliases = ['openedge', 'abl', 'progress']
459
+ filenames = ['*.p', '*.cls']
460
+ mimetypes = ['text/x-openedge', 'application/x-openedge']
461
+
462
+ types = (r'(?i)(^|(?<=[^\w\-]))(CHARACTER|CHAR|CHARA|CHARAC|CHARACT|CHARACTE|'
463
+ r'COM-HANDLE|DATE|DATETIME|DATETIME-TZ|'
464
+ r'DECIMAL|DEC|DECI|DECIM|DECIMA|HANDLE|'
465
+ r'INT64|INTEGER|INT|INTE|INTEG|INTEGE|'
466
+ r'LOGICAL|LONGCHAR|MEMPTR|RAW|RECID|ROWID)\s*($|(?=[^\w\-]))')
467
+
468
+ keywords = words(OPENEDGEKEYWORDS,
469
+ prefix=r'(?i)(^|(?<=[^\w\-]))',
470
+ suffix=r'\s*($|(?=[^\w\-]))')
471
+
472
+ tokens = {
473
+ 'root': [
474
+ (r'/\*', Comment.Multiline, 'comment'),
475
+ (r'\{', Comment.Preproc, 'preprocessor'),
476
+ (r'\s*&.*', Comment.Preproc),
477
+ (r'0[xX][0-9a-fA-F]+[LlUu]*', Number.Hex),
478
+ (r'(?i)(DEFINE|DEF|DEFI|DEFIN)\b', Keyword.Declaration),
479
+ (types, Keyword.Type),
480
+ (keywords, Name.Builtin),
481
+ (r'"(\\\\|\\"|[^"])*"', String.Double),
482
+ (r"'(\\\\|\\'|[^'])*'", String.Single),
483
+ (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float),
484
+ (r'[0-9]+', Number.Integer),
485
+ (r'\s+', Text),
486
+ (r'[+*/=-]', Operator),
487
+ (r'[.:()]', Punctuation),
488
+ (r'.', Name.Variable), # Lazy catch-all
489
+ ],
490
+ 'comment': [
491
+ (r'[^*/]', Comment.Multiline),
492
+ (r'/\*', Comment.Multiline, '#push'),
493
+ (r'\*/', Comment.Multiline, '#pop'),
494
+ (r'[*/]', Comment.Multiline)
495
+ ],
496
+ 'preprocessor': [
497
+ (r'[^{}]', Comment.Preproc),
498
+ (r'\{', Comment.Preproc, '#push'),
499
+ (r'\}', Comment.Preproc, '#pop'),
500
+ ],
501
+ }
502
+
503
+
504
+ class GoodDataCLLexer(RegexLexer):
505
+ """
506
+ Lexer for `GoodData-CL
507
+ <http://github.com/gooddata/GoodData-CL/raw/master/cli/src/main/resources/\
508
+ com/gooddata/processor/COMMANDS.txt>`_
509
+ script files.
510
+
511
+ .. versionadded:: 1.4
512
+ """
513
+
514
+ name = 'GoodData-CL'
515
+ aliases = ['gooddata-cl']
516
+ filenames = ['*.gdc']
517
+ mimetypes = ['text/x-gooddata-cl']
518
+
519
+ flags = re.IGNORECASE
520
+ tokens = {
521
+ 'root': [
522
+ # Comments
523
+ (r'#.*', Comment.Single),
524
+ # Function call
525
+ (r'[a-z]\w*', Name.Function),
526
+ # Argument list
527
+ (r'\(', Punctuation, 'args-list'),
528
+ # Punctuation
529
+ (r';', Punctuation),
530
+ # Space is not significant
531
+ (r'\s+', Text)
532
+ ],
533
+ 'args-list': [
534
+ (r'\)', Punctuation, '#pop'),
535
+ (r',', Punctuation),
536
+ (r'[a-z]\w*', Name.Variable),
537
+ (r'=', Operator),
538
+ (r'"', String, 'string-literal'),
539
+ (r'[0-9]+(?:\.[0-9]+)?(?:e[+-]?[0-9]{1,3})?', Number),
540
+ # Space is not significant
541
+ (r'\s', Text)
542
+ ],
543
+ 'string-literal': [
544
+ (r'\\[tnrfbae"\\]', String.Escape),
545
+ (r'"', String, '#pop'),
546
+ (r'[^\\"]+', String)
547
+ ]
548
+ }
549
+
550
+
551
+ class MaqlLexer(RegexLexer):
552
+ """
553
+ Lexer for `GoodData MAQL
554
+ <https://secure.gooddata.com/docs/html/advanced.metric.tutorial.html>`_
555
+ scripts.
556
+
557
+ .. versionadded:: 1.4
558
+ """
559
+
560
+ name = 'MAQL'
561
+ aliases = ['maql']
562
+ filenames = ['*.maql']
563
+ mimetypes = ['text/x-gooddata-maql', 'application/x-gooddata-maql']
564
+
565
+ flags = re.IGNORECASE
566
+ tokens = {
567
+ 'root': [
568
+ # IDENTITY
569
+ (r'IDENTIFIER\b', Name.Builtin),
570
+ # IDENTIFIER
571
+ (r'\{[^}]+\}', Name.Variable),
572
+ # NUMBER
573
+ (r'[0-9]+(?:\.[0-9]+)?(?:e[+-]?[0-9]{1,3})?', Number),
574
+ # STRING
575
+ (r'"', String, 'string-literal'),
576
+ # RELATION
577
+ (r'\<\>|\!\=', Operator),
578
+ (r'\=|\>\=|\>|\<\=|\<', Operator),
579
+ # :=
580
+ (r'\:\=', Operator),
581
+ # OBJECT
582
+ (r'\[[^]]+\]', Name.Variable.Class),
583
+ # keywords
584
+ (words((
585
+ 'DIMENSION', 'DIMENSIONS', 'BOTTOM', 'METRIC', 'COUNT', 'OTHER',
586
+ 'FACT', 'WITH', 'TOP', 'OR', 'ATTRIBUTE', 'CREATE', 'PARENT',
587
+ 'FALSE', 'ROW', 'ROWS', 'FROM', 'ALL', 'AS', 'PF', 'COLUMN',
588
+ 'COLUMNS', 'DEFINE', 'REPORT', 'LIMIT', 'TABLE', 'LIKE', 'AND',
589
+ 'BY', 'BETWEEN', 'EXCEPT', 'SELECT', 'MATCH', 'WHERE', 'TRUE',
590
+ 'FOR', 'IN', 'WITHOUT', 'FILTER', 'ALIAS', 'WHEN', 'NOT', 'ON',
591
+ 'KEYS', 'KEY', 'FULLSET', 'PRIMARY', 'LABELS', 'LABEL',
592
+ 'VISUAL', 'TITLE', 'DESCRIPTION', 'FOLDER', 'ALTER', 'DROP',
593
+ 'ADD', 'DATASET', 'DATATYPE', 'INT', 'BIGINT', 'DOUBLE', 'DATE',
594
+ 'VARCHAR', 'DECIMAL', 'SYNCHRONIZE', 'TYPE', 'DEFAULT', 'ORDER',
595
+ 'ASC', 'DESC', 'HYPERLINK', 'INCLUDE', 'TEMPLATE', 'MODIFY'),
596
+ suffix=r'\b'),
597
+ Keyword),
598
+ # FUNCNAME
599
+ (r'[a-z]\w*\b', Name.Function),
600
+ # Comments
601
+ (r'#.*', Comment.Single),
602
+ # Punctuation
603
+ (r'[,;()]', Punctuation),
604
+ # Space is not significant
605
+ (r'\s+', Text)
606
+ ],
607
+ 'string-literal': [
608
+ (r'\\[tnrfbae"\\]', String.Escape),
609
+ (r'"', String, '#pop'),
610
+ (r'[^\\"]+', String)
611
+ ],
612
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/c_cpp.py ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.c_cpp
4
+ ~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for C/C++ languages.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, include, bygroups, using, \
15
+ this, inherit, default, words
16
+ from pygments.util import get_bool_opt
17
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
18
+ Number, Punctuation, Error
19
+
20
+ __all__ = ['CLexer', 'CppLexer']
21
+
22
+
23
+ class CFamilyLexer(RegexLexer):
24
+ """
25
+ For C family source code. This is used as a base class to avoid repetitious
26
+ definitions.
27
+ """
28
+
29
+ #: optional Comment or Whitespace
30
+ _ws = r'(?:\s|//.*?\n|/[*].*?[*]/)+'
31
+
32
+ # The trailing ?, rather than *, avoids a geometric performance drop here.
33
+ #: only one /* */ style comment
34
+ _ws1 = r'\s*(?:/[*].*?[*]/\s*)?'
35
+
36
+ tokens = {
37
+ 'whitespace': [
38
+ # preprocessor directives: without whitespace
39
+ ('^#if\s+0', Comment.Preproc, 'if0'),
40
+ ('^#', Comment.Preproc, 'macro'),
41
+ # or with whitespace
42
+ ('^(' + _ws1 + r')(#if\s+0)',
43
+ bygroups(using(this), Comment.Preproc), 'if0'),
44
+ ('^(' + _ws1 + ')(#)',
45
+ bygroups(using(this), Comment.Preproc), 'macro'),
46
+ (r'\n', Text),
47
+ (r'\s+', Text),
48
+ (r'\\\n', Text), # line continuation
49
+ (r'//(\n|[\w\W]*?[^\\]\n)', Comment.Single),
50
+ (r'/(\\\n)?[*][\w\W]*?[*](\\\n)?/', Comment.Multiline),
51
+ # Open until EOF, so no ending delimeter
52
+ (r'/(\\\n)?[*][\w\W]*', Comment.Multiline),
53
+ ],
54
+ 'statements': [
55
+ (r'(L?)(")', bygroups(String.Affix, String), 'string'),
56
+ (r"(L?)(')(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])(')",
57
+ bygroups(String.Affix, String.Char, String.Char, String.Char)),
58
+ (r'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[LlUu]*', Number.Float),
59
+ (r'(\d+\.\d*|\.\d+|\d+[fF])[fF]?', Number.Float),
60
+ (r'0x[0-9a-fA-F]+[LlUu]*', Number.Hex),
61
+ (r'0[0-7]+[LlUu]*', Number.Oct),
62
+ (r'\d+[LlUu]*', Number.Integer),
63
+ (r'\*/', Error),
64
+ (r'[~!%^&*+=|?:<>/-]', Operator),
65
+ (r'[()\[\],.]', Punctuation),
66
+ (words(('asm', 'auto', 'break', 'case', 'const', 'continue',
67
+ 'default', 'do', 'else', 'enum', 'extern', 'for', 'goto',
68
+ 'if', 'register', 'restricted', 'return', 'sizeof',
69
+ 'static', 'struct', 'switch', 'typedef', 'union',
70
+ 'volatile', 'while'),
71
+ suffix=r'\b'), Keyword),
72
+ (r'(bool|int|long|float|short|double|char|unsigned|signed|void)\b',
73
+ Keyword.Type),
74
+ (words(('inline', '_inline', '__inline', 'naked', 'restrict',
75
+ 'thread', 'typename'), suffix=r'\b'), Keyword.Reserved),
76
+ # Vector intrinsics
77
+ (r'(__m(128i|128d|128|64))\b', Keyword.Reserved),
78
+ # Microsoft-isms
79
+ (words((
80
+ 'asm', 'int8', 'based', 'except', 'int16', 'stdcall', 'cdecl',
81
+ 'fastcall', 'int32', 'declspec', 'finally', 'int64', 'try',
82
+ 'leave', 'wchar_t', 'w64', 'unaligned', 'raise', 'noop',
83
+ 'identifier', 'forceinline', 'assume'),
84
+ prefix=r'__', suffix=r'\b'), Keyword.Reserved),
85
+ (r'(true|false|NULL)\b', Name.Builtin),
86
+ (r'([a-zA-Z_]\w*)(\s*)(:)(?!:)', bygroups(Name.Label, Text, Punctuation)),
87
+ ('[a-zA-Z_]\w*', Name),
88
+ ],
89
+ 'root': [
90
+ include('whitespace'),
91
+ # functions
92
+ (r'((?:[\w*\s])+?(?:\s|[*]))' # return arguments
93
+ r'([a-zA-Z_]\w*)' # method name
94
+ r'(\s*\([^;]*?\))' # signature
95
+ r'([^;{]*)(\{)',
96
+ bygroups(using(this), Name.Function, using(this), using(this),
97
+ Punctuation),
98
+ 'function'),
99
+ # function declarations
100
+ (r'((?:[\w*\s])+?(?:\s|[*]))' # return arguments
101
+ r'([a-zA-Z_]\w*)' # method name
102
+ r'(\s*\([^;]*?\))' # signature
103
+ r'([^;]*)(;)',
104
+ bygroups(using(this), Name.Function, using(this), using(this),
105
+ Punctuation)),
106
+ default('statement'),
107
+ ],
108
+ 'statement': [
109
+ include('whitespace'),
110
+ include('statements'),
111
+ ('[{}]', Punctuation),
112
+ (';', Punctuation, '#pop'),
113
+ ],
114
+ 'function': [
115
+ include('whitespace'),
116
+ include('statements'),
117
+ (';', Punctuation),
118
+ (r'\{', Punctuation, '#push'),
119
+ (r'\}', Punctuation, '#pop'),
120
+ ],
121
+ 'string': [
122
+ (r'"', String, '#pop'),
123
+ (r'\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|'
124
+ r'u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|[0-7]{1,3})', String.Escape),
125
+ (r'[^\\"\n]+', String), # all other characters
126
+ (r'\\\n', String), # line continuation
127
+ (r'\\', String), # stray backslash
128
+ ],
129
+ 'macro': [
130
+ (r'(include)(' + _ws1 + r')([^\n]+)',
131
+ bygroups(Comment.Preproc, Text, Comment.PreprocFile)),
132
+ (r'[^/\n]+', Comment.Preproc),
133
+ (r'/[*](.|\n)*?[*]/', Comment.Multiline),
134
+ (r'//.*?\n', Comment.Single, '#pop'),
135
+ (r'/', Comment.Preproc),
136
+ (r'(?<=\\)\n', Comment.Preproc),
137
+ (r'\n', Comment.Preproc, '#pop'),
138
+ ],
139
+ 'if0': [
140
+ (r'^\s*#if.*?(?<!\\)\n', Comment.Preproc, '#push'),
141
+ (r'^\s*#el(?:se|if).*\n', Comment.Preproc, '#pop'),
142
+ (r'^\s*#endif.*?(?<!\\)\n', Comment.Preproc, '#pop'),
143
+ (r'.*?\n', Comment),
144
+ ]
145
+ }
146
+
147
+ stdlib_types = set((
148
+ 'size_t', 'ssize_t', 'off_t', 'wchar_t', 'ptrdiff_t', 'sig_atomic_t', 'fpos_t',
149
+ 'clock_t', 'time_t', 'va_list', 'jmp_buf', 'FILE', 'DIR', 'div_t', 'ldiv_t',
150
+ 'mbstate_t', 'wctrans_t', 'wint_t', 'wctype_t'))
151
+ c99_types = set((
152
+ '_Bool', '_Complex', 'int8_t', 'int16_t', 'int32_t', 'int64_t', 'uint8_t',
153
+ 'uint16_t', 'uint32_t', 'uint64_t', 'int_least8_t', 'int_least16_t',
154
+ 'int_least32_t', 'int_least64_t', 'uint_least8_t', 'uint_least16_t',
155
+ 'uint_least32_t', 'uint_least64_t', 'int_fast8_t', 'int_fast16_t', 'int_fast32_t',
156
+ 'int_fast64_t', 'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
157
+ 'intptr_t', 'uintptr_t', 'intmax_t', 'uintmax_t'))
158
+ linux_types = set((
159
+ 'clockid_t', 'cpu_set_t', 'cpumask_t', 'dev_t', 'gid_t', 'id_t', 'ino_t', 'key_t',
160
+ 'mode_t', 'nfds_t', 'pid_t', 'rlim_t', 'sig_t', 'sighandler_t', 'siginfo_t',
161
+ 'sigset_t', 'sigval_t', 'socklen_t', 'timer_t', 'uid_t'))
162
+
163
+ def __init__(self, **options):
164
+ self.stdlibhighlighting = get_bool_opt(options, 'stdlibhighlighting', True)
165
+ self.c99highlighting = get_bool_opt(options, 'c99highlighting', True)
166
+ self.platformhighlighting = get_bool_opt(options, 'platformhighlighting', True)
167
+ RegexLexer.__init__(self, **options)
168
+
169
+ def get_tokens_unprocessed(self, text):
170
+ for index, token, value in \
171
+ RegexLexer.get_tokens_unprocessed(self, text):
172
+ if token is Name:
173
+ if self.stdlibhighlighting and value in self.stdlib_types:
174
+ token = Keyword.Type
175
+ elif self.c99highlighting and value in self.c99_types:
176
+ token = Keyword.Type
177
+ elif self.platformhighlighting and value in self.linux_types:
178
+ token = Keyword.Type
179
+ yield index, token, value
180
+
181
+
182
+ class CLexer(CFamilyLexer):
183
+ """
184
+ For C source code with preprocessor directives.
185
+ """
186
+ name = 'C'
187
+ aliases = ['c']
188
+ filenames = ['*.c', '*.h', '*.idc']
189
+ mimetypes = ['text/x-chdr', 'text/x-csrc']
190
+ priority = 0.1
191
+
192
+ def analyse_text(text):
193
+ if re.search('^\s*#include [<"]', text, re.MULTILINE):
194
+ return 0.1
195
+ if re.search('^\s*#ifn?def ', text, re.MULTILINE):
196
+ return 0.1
197
+
198
+
199
+ class CppLexer(CFamilyLexer):
200
+ """
201
+ For C++ source code with preprocessor directives.
202
+ """
203
+ name = 'C++'
204
+ aliases = ['cpp', 'c++']
205
+ filenames = ['*.cpp', '*.hpp', '*.c++', '*.h++',
206
+ '*.cc', '*.hh', '*.cxx', '*.hxx',
207
+ '*.C', '*.H', '*.cp', '*.CPP']
208
+ mimetypes = ['text/x-c++hdr', 'text/x-c++src']
209
+ priority = 0.1
210
+
211
+ tokens = {
212
+ 'statements': [
213
+ (words((
214
+ 'catch', 'const_cast', 'delete', 'dynamic_cast', 'explicit',
215
+ 'export', 'friend', 'mutable', 'namespace', 'new', 'operator',
216
+ 'private', 'protected', 'public', 'reinterpret_cast',
217
+ 'restrict', 'static_cast', 'template', 'this', 'throw', 'throws',
218
+ 'try', 'typeid', 'typename', 'using', 'virtual',
219
+ 'constexpr', 'nullptr', 'decltype', 'thread_local',
220
+ 'alignas', 'alignof', 'static_assert', 'noexcept', 'override',
221
+ 'final'), suffix=r'\b'), Keyword),
222
+ (r'char(16_t|32_t)\b', Keyword.Type),
223
+ (r'(class)(\s+)', bygroups(Keyword, Text), 'classname'),
224
+ # C++11 raw strings
225
+ (r'(R)(")([^\\()\s]{,16})(\()((?:.|\n)*?)(\)\3)(")',
226
+ bygroups(String.Affix, String, String.Delimiter, String.Delimiter,
227
+ String, String.Delimiter, String)),
228
+ # C++11 UTF-8/16/32 strings
229
+ (r'(u8|u|U)(")', bygroups(String.Affix, String), 'string'),
230
+ inherit,
231
+ ],
232
+ 'root': [
233
+ inherit,
234
+ # C++ Microsoft-isms
235
+ (words(('virtual_inheritance', 'uuidof', 'super', 'single_inheritance',
236
+ 'multiple_inheritance', 'interface', 'event'),
237
+ prefix=r'__', suffix=r'\b'), Keyword.Reserved),
238
+ # Offload C++ extensions, http://offload.codeplay.com/
239
+ (r'__(offload|blockingoffload|outer)\b', Keyword.Pseudo),
240
+ ],
241
+ 'classname': [
242
+ (r'[a-zA-Z_]\w*', Name.Class, '#pop'),
243
+ # template specification
244
+ (r'\s*(?=>)', Text, '#pop'),
245
+ ],
246
+ }
247
+
248
+ def analyse_text(text):
249
+ if re.search('#include <[a-z_]+>', text):
250
+ return 0.2
251
+ if re.search('using namespace ', text):
252
+ return 0.4
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/chapel.py ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.chapel
4
+ ~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer for the Chapel language.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, bygroups, words
13
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
14
+ Number, Punctuation
15
+
16
+ __all__ = ['ChapelLexer']
17
+
18
+
19
+ class ChapelLexer(RegexLexer):
20
+ """
21
+ For `Chapel <http://chapel.cray.com/>`_ source.
22
+
23
+ .. versionadded:: 2.0
24
+ """
25
+ name = 'Chapel'
26
+ filenames = ['*.chpl']
27
+ aliases = ['chapel', 'chpl']
28
+ # mimetypes = ['text/x-chapel']
29
+
30
+ tokens = {
31
+ 'root': [
32
+ (r'\n', Text),
33
+ (r'\s+', Text),
34
+ (r'\\\n', Text),
35
+
36
+ (r'//(.*?)\n', Comment.Single),
37
+ (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline),
38
+
39
+ (r'(config|const|in|inout|out|param|ref|type|var)\b',
40
+ Keyword.Declaration),
41
+ (r'(false|nil|true)\b', Keyword.Constant),
42
+ (r'(bool|complex|imag|int|opaque|range|real|string|uint)\b',
43
+ Keyword.Type),
44
+ (words((
45
+ 'align', 'as', 'atomic', 'begin', 'break', 'by', 'cobegin',
46
+ 'coforall', 'continue', 'delete', 'dmapped', 'do', 'domain',
47
+ 'else', 'enum', 'except', 'export', 'extern', 'for', 'forall',
48
+ 'if', 'index', 'inline', 'iter', 'label', 'lambda', 'let',
49
+ 'local', 'new', 'noinit', 'on', 'only', 'otherwise', 'pragma',
50
+ 'private', 'public', 'reduce', 'require', 'return', 'scan',
51
+ 'select', 'serial', 'single', 'sparse', 'subdomain', 'sync',
52
+ 'then', 'use', 'when', 'where', 'while', 'with', 'yield',
53
+ 'zip'), suffix=r'\b'),
54
+ Keyword),
55
+ (r'(proc)((?:\s)+)', bygroups(Keyword, Text), 'procname'),
56
+ (r'(class|module|record|union)(\s+)', bygroups(Keyword, Text),
57
+ 'classname'),
58
+
59
+ # imaginary integers
60
+ (r'\d+i', Number),
61
+ (r'\d+\.\d*([Ee][-+]\d+)?i', Number),
62
+ (r'\.\d+([Ee][-+]\d+)?i', Number),
63
+ (r'\d+[Ee][-+]\d+i', Number),
64
+
65
+ # reals cannot end with a period due to lexical ambiguity with
66
+ # .. operator. See reference for rationale.
67
+ (r'(\d*\.\d+)([eE][+-]?[0-9]+)?i?', Number.Float),
68
+ (r'\d+[eE][+-]?[0-9]+i?', Number.Float),
69
+
70
+ # integer literals
71
+ # -- binary
72
+ (r'0[bB][01]+', Number.Bin),
73
+ # -- hex
74
+ (r'0[xX][0-9a-fA-F]+', Number.Hex),
75
+ # -- octal
76
+ (r'0[oO][0-7]+', Number.Oct),
77
+ # -- decimal
78
+ (r'[0-9]+', Number.Integer),
79
+
80
+ # strings
81
+ (r'"(\\\\|\\"|[^"])*"', String),
82
+ (r"'(\\\\|\\'|[^'])*'", String),
83
+
84
+ # tokens
85
+ (r'(=|\+=|-=|\*=|/=|\*\*=|%=|&=|\|=|\^=|&&=|\|\|=|<<=|>>=|'
86
+ r'<=>|<~>|\.\.|by|#|\.\.\.|'
87
+ r'&&|\|\||!|&|\||\^|~|<<|>>|'
88
+ r'==|!=|<=|>=|<|>|'
89
+ r'[+\-*/%]|\*\*)', Operator),
90
+ (r'[:;,.?()\[\]{}]', Punctuation),
91
+
92
+ # identifiers
93
+ (r'[a-zA-Z_][\w$]*', Name.Other),
94
+ ],
95
+ 'classname': [
96
+ (r'[a-zA-Z_][\w$]*', Name.Class, '#pop'),
97
+ ],
98
+ 'procname': [
99
+ (r'([a-zA-Z_][\w$]+|\~[a-zA-Z_][\w$]+|[+*/!~%<>=&^|\-]{1,2})',
100
+ Name.Function, '#pop'),
101
+ ],
102
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/clean.py ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.clean
4
+ ~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer for the Clean language.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import ExtendedRegexLexer, LexerContext, \
13
+ bygroups, words, include, default
14
+ from pygments.token import Comment, Keyword, Literal, Name, Number, Operator, \
15
+ Punctuation, String, Text, Whitespace
16
+
17
+ __all__ = ['CleanLexer']
18
+
19
+
20
+ class CleanLexer(ExtendedRegexLexer):
21
+ """
22
+ Lexer for the general purpose, state-of-the-art, pure and lazy functional
23
+ programming language Clean (http://clean.cs.ru.nl/Clean).
24
+
25
+ .. versionadded: 2.2
26
+ """
27
+ name = 'Clean'
28
+ aliases = ['clean']
29
+ filenames = ['*.icl', '*.dcl']
30
+
31
+ def get_tokens_unprocessed(self, text=None, context=None):
32
+ ctx = LexerContext(text, 0)
33
+ ctx.indent = 0
34
+ return ExtendedRegexLexer.get_tokens_unprocessed(self, text, context=ctx)
35
+
36
+ def check_class_not_import(lexer, match, ctx):
37
+ if match.group(0) == 'import':
38
+ yield match.start(), Keyword.Namespace, match.group(0)
39
+ ctx.stack = ctx.stack[:-1] + ['fromimportfunc']
40
+ else:
41
+ yield match.start(), Name.Class, match.group(0)
42
+ ctx.pos = match.end()
43
+
44
+ def check_instance_class(lexer, match, ctx):
45
+ if match.group(0) == 'instance' or match.group(0) == 'class':
46
+ yield match.start(), Keyword, match.group(0)
47
+ else:
48
+ yield match.start(), Name.Function, match.group(0)
49
+ ctx.stack = ctx.stack + ['fromimportfunctype']
50
+ ctx.pos = match.end()
51
+
52
+ @staticmethod
53
+ def indent_len(text):
54
+ # Tabs are four spaces:
55
+ # https://svn.cs.ru.nl/repos/clean-platform/trunk/doc/STANDARDS.txt
56
+ text = text.replace('\n', '')
57
+ return len(text.replace('\t', ' ')), len(text)
58
+
59
+ def store_indent(lexer, match, ctx):
60
+ ctx.indent, _ = CleanLexer.indent_len(match.group(0))
61
+ ctx.pos = match.end()
62
+ yield match.start(), Text, match.group(0)
63
+
64
+ def check_indent1(lexer, match, ctx):
65
+ indent, reallen = CleanLexer.indent_len(match.group(0))
66
+ if indent > ctx.indent:
67
+ yield match.start(), Whitespace, match.group(0)
68
+ ctx.pos = match.start() + reallen + 1
69
+ else:
70
+ ctx.indent = 0
71
+ ctx.pos = match.start()
72
+ ctx.stack = ctx.stack[:-1]
73
+ yield match.start(), Whitespace, match.group(0)[1:]
74
+
75
+ def check_indent2(lexer, match, ctx):
76
+ indent, reallen = CleanLexer.indent_len(match.group(0))
77
+ if indent > ctx.indent:
78
+ yield match.start(), Whitespace, match.group(0)
79
+ ctx.pos = match.start() + reallen + 1
80
+ else:
81
+ ctx.indent = 0
82
+ ctx.pos = match.start()
83
+ ctx.stack = ctx.stack[:-2]
84
+
85
+ def check_indent3(lexer, match, ctx):
86
+ indent, reallen = CleanLexer.indent_len(match.group(0))
87
+ if indent > ctx.indent:
88
+ yield match.start(), Whitespace, match.group(0)
89
+ ctx.pos = match.start() + reallen + 1
90
+ else:
91
+ ctx.indent = 0
92
+ ctx.pos = match.start()
93
+ ctx.stack = ctx.stack[:-3]
94
+ yield match.start(), Whitespace, match.group(0)[1:]
95
+ if match.group(0) == '\n\n':
96
+ ctx.pos = ctx.pos + 1
97
+
98
+ def skip(lexer, match, ctx):
99
+ ctx.stack = ctx.stack[:-1]
100
+ ctx.pos = match.end()
101
+ yield match.start(), Comment, match.group(0)
102
+
103
+ keywords = ('class', 'instance', 'where', 'with', 'let', 'let!',
104
+ 'in', 'case', 'of', 'infix', 'infixr', 'infixl', 'generic',
105
+ 'derive', 'otherwise', 'code', 'inline')
106
+
107
+ tokens = {
108
+ 'common': [
109
+ (r';', Punctuation, '#pop'),
110
+ (r'//', Comment, 'singlecomment'),
111
+ ],
112
+ 'root': [
113
+ # Comments
114
+ (r'//.*\n', Comment.Single),
115
+ (r'(?s)/\*\*.*?\*/', Comment.Special),
116
+ (r'(?s)/\*.*?\*/', Comment.Multi),
117
+
118
+ # Modules, imports, etc.
119
+ (r'\b((?:implementation|definition|system)\s+)?(module)(\s+)([\w`.]+)',
120
+ bygroups(Keyword.Namespace, Keyword.Namespace, Text, Name.Class)),
121
+ (r'(?<=\n)import(?=\s)', Keyword.Namespace, 'import'),
122
+ (r'(?<=\n)from(?=\s)', Keyword.Namespace, 'fromimport'),
123
+
124
+ # Keywords
125
+ # We cannot use (?s)^|(?<=\s) as prefix, so need to repeat this
126
+ (words(keywords, prefix=r'(?<=\s)', suffix=r'(?=\s)'), Keyword),
127
+ (words(keywords, prefix=r'^', suffix=r'(?=\s)'), Keyword),
128
+
129
+ # Function definitions
130
+ (r'(?=\{\|)', Whitespace, 'genericfunction'),
131
+ (r'(?<=\n)([ \t]*)([\w`$()=\-<>~*\^|+&%]+)((?:\s+\w)*)(\s*)(::)',
132
+ bygroups(store_indent, Name.Function, Keyword.Type, Whitespace,
133
+ Punctuation),
134
+ 'functiondefargs'),
135
+
136
+ # Type definitions
137
+ (r'(?<=\n)([ \t]*)(::)', bygroups(store_indent, Punctuation), 'typedef'),
138
+ (r'^([ \t]*)(::)', bygroups(store_indent, Punctuation), 'typedef'),
139
+
140
+ # Literals
141
+ (r'\'\\?.(?<!\\)\'', String.Char),
142
+ (r'\'\\\d+\'', String.Char),
143
+ (r'\'\\\\\'', String.Char), # (special case for '\\')
144
+ (r'[+\-~]?\s*\d+\.\d+(E[+\-~]?\d+)?\b', Number.Float),
145
+ (r'[+\-~]?\s*0[0-7]\b', Number.Oct),
146
+ (r'[+\-~]?\s*0x[0-9a-fA-F]\b', Number.Hex),
147
+ (r'[+\-~]?\s*\d+\b', Number.Integer),
148
+ (r'"', String.Double, 'doubleqstring'),
149
+ (words(('True', 'False'), prefix=r'(?<=\s)', suffix=r'(?=\s)'),
150
+ Literal),
151
+
152
+ # Qualified names
153
+ (r'(\')([\w.]+)(\'\.)',
154
+ bygroups(Punctuation, Name.Namespace, Punctuation)),
155
+
156
+ # Everything else is some name
157
+ (r'([\w`$%/?@]+\.?)*[\w`$%/?@]+', Name),
158
+
159
+ # Punctuation
160
+ (r'[{}()\[\],:;.#]', Punctuation),
161
+ (r'[+\-=!<>|&~*\^/]', Operator),
162
+ (r'\\\\', Operator),
163
+
164
+ # Lambda expressions
165
+ (r'\\.*?(->|\.|=)', Name.Function),
166
+
167
+ # Whitespace
168
+ (r'\s', Whitespace),
169
+
170
+ include('common'),
171
+ ],
172
+ 'fromimport': [
173
+ include('common'),
174
+ (r'([\w`.]+)', check_class_not_import),
175
+ (r'\n', Whitespace, '#pop'),
176
+ (r'\s', Whitespace),
177
+ ],
178
+ 'fromimportfunc': [
179
+ include('common'),
180
+ (r'(::)(\s+)([^,\s]+)', bygroups(Punctuation, Text, Keyword.Type)),
181
+ (r'([\w`$()=\-<>~*\^|+&%/]+)', check_instance_class),
182
+ (r',', Punctuation),
183
+ (r'\n', Whitespace, '#pop'),
184
+ (r'\s', Whitespace),
185
+ ],
186
+ 'fromimportfunctype': [
187
+ include('common'),
188
+ (r'[{(\[]', Punctuation, 'combtype'),
189
+ (r',', Punctuation, '#pop'),
190
+ (r'[:;.#]', Punctuation),
191
+ (r'\n', Whitespace, '#pop:2'),
192
+ (r'[^\S\n]+', Whitespace),
193
+ (r'\S+', Keyword.Type),
194
+ ],
195
+ 'combtype': [
196
+ include('common'),
197
+ (r'[})\]]', Punctuation, '#pop'),
198
+ (r'[{(\[]', Punctuation, '#pop'),
199
+ (r'[,:;.#]', Punctuation),
200
+ (r'\s+', Whitespace),
201
+ (r'\S+', Keyword.Type),
202
+ ],
203
+ 'import': [
204
+ include('common'),
205
+ (words(('from', 'import', 'as', 'qualified'),
206
+ prefix='(?<=\s)', suffix='(?=\s)'), Keyword.Namespace),
207
+ (r'[\w`.]+', Name.Class),
208
+ (r'\n', Whitespace, '#pop'),
209
+ (r',', Punctuation),
210
+ (r'[^\S\n]+', Whitespace),
211
+ ],
212
+ 'singlecomment': [
213
+ (r'(.)(?=\n)', skip),
214
+ (r'.+(?!\n)', Comment),
215
+ ],
216
+ 'doubleqstring': [
217
+ (r'[^\\"]+', String.Double),
218
+ (r'"', String.Double, '#pop'),
219
+ (r'\\.', String.Double),
220
+ ],
221
+ 'typedef': [
222
+ include('common'),
223
+ (r'[\w`]+', Keyword.Type),
224
+ (r'[:=|(),\[\]{}!*]', Punctuation),
225
+ (r'->', Punctuation),
226
+ (r'\n(?=[^\s|])', Whitespace, '#pop'),
227
+ (r'\s', Whitespace),
228
+ (r'.', Keyword.Type),
229
+ ],
230
+ 'genericfunction': [
231
+ include('common'),
232
+ (r'\{\|', Punctuation),
233
+ (r'\|\}', Punctuation, '#pop'),
234
+ (r',', Punctuation),
235
+ (r'->', Punctuation),
236
+ (r'(\s+of\s+)(\{)', bygroups(Keyword, Punctuation), 'genericftypes'),
237
+ (r'\s', Whitespace),
238
+ (r'[\w`\[\]{}!]+', Keyword.Type),
239
+ (r'[*()]', Punctuation),
240
+ ],
241
+ 'genericftypes': [
242
+ include('common'),
243
+ (r'[\w`]+', Keyword.Type),
244
+ (r',', Punctuation),
245
+ (r'\s', Whitespace),
246
+ (r'\}', Punctuation, '#pop'),
247
+ ],
248
+ 'functiondefargs': [
249
+ include('common'),
250
+ (r'\n(\s*)', check_indent1),
251
+ (r'[!{}()\[\],:;.#]', Punctuation),
252
+ (r'->', Punctuation, 'functiondefres'),
253
+ (r'^(?=\S)', Whitespace, '#pop'),
254
+ (r'\S', Keyword.Type),
255
+ (r'\s', Whitespace),
256
+ ],
257
+ 'functiondefres': [
258
+ include('common'),
259
+ (r'\n(\s*)', check_indent2),
260
+ (r'^(?=\S)', Whitespace, '#pop:2'),
261
+ (r'[!{}()\[\],:;.#]', Punctuation),
262
+ (r'\|', Punctuation, 'functiondefclasses'),
263
+ (r'\S', Keyword.Type),
264
+ (r'\s', Whitespace),
265
+ ],
266
+ 'functiondefclasses': [
267
+ include('common'),
268
+ (r'\n(\s*)', check_indent3),
269
+ (r'^(?=\S)', Whitespace, '#pop:3'),
270
+ (r'[,&]', Punctuation),
271
+ (r'\[', Punctuation, 'functiondefuniquneq'),
272
+ (r'[\w`$()=\-<>~*\^|+&%/{}\[\]@]', Name.Function, 'functionname'),
273
+ (r'\s+', Whitespace),
274
+ ],
275
+ 'functiondefuniquneq': [
276
+ include('common'),
277
+ (r'[a-z]+', Keyword.Type),
278
+ (r'\s+', Whitespace),
279
+ (r'<=|,', Punctuation),
280
+ (r'\]', Punctuation, '#pop')
281
+ ],
282
+ 'functionname': [
283
+ include('common'),
284
+ (r'[\w`$()=\-<>~*\^|+&%/]+', Name.Function),
285
+ (r'(?=\{\|)', Punctuation, 'genericfunction'),
286
+ default('#pop'),
287
+ ]
288
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/compiled.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.compiled
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Just export lexer classes previously contained in this module.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexers.jvm import JavaLexer, ScalaLexer
13
+ from pygments.lexers.c_cpp import CLexer, CppLexer
14
+ from pygments.lexers.d import DLexer
15
+ from pygments.lexers.objective import ObjectiveCLexer, \
16
+ ObjectiveCppLexer, LogosLexer
17
+ from pygments.lexers.go import GoLexer
18
+ from pygments.lexers.rust import RustLexer
19
+ from pygments.lexers.c_like import ECLexer, ValaLexer, CudaLexer
20
+ from pygments.lexers.pascal import DelphiLexer, Modula2Lexer, AdaLexer
21
+ from pygments.lexers.business import CobolLexer, CobolFreeformatLexer
22
+ from pygments.lexers.fortran import FortranLexer
23
+ from pygments.lexers.prolog import PrologLexer
24
+ from pygments.lexers.python import CythonLexer
25
+ from pygments.lexers.graphics import GLShaderLexer
26
+ from pygments.lexers.ml import OcamlLexer
27
+ from pygments.lexers.basic import BlitzBasicLexer, BlitzMaxLexer, MonkeyLexer
28
+ from pygments.lexers.dylan import DylanLexer, DylanLidLexer, DylanConsoleLexer
29
+ from pygments.lexers.ooc import OocLexer
30
+ from pygments.lexers.felix import FelixLexer
31
+ from pygments.lexers.nimrod import NimrodLexer
32
+ from pygments.lexers.crystal import CrystalLexer
33
+
34
+ __all__ = []
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/console.py ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.console
4
+ ~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for misc console output.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, include, bygroups
13
+ from pygments.token import Generic, Comment, String, Text, Keyword, Name, \
14
+ Punctuation, Number
15
+
16
+ __all__ = ['VCTreeStatusLexer', 'PyPyLogLexer']
17
+
18
+
19
+ class VCTreeStatusLexer(RegexLexer):
20
+ """
21
+ For colorizing output of version control status commands, like "hg
22
+ status" or "svn status".
23
+
24
+ .. versionadded:: 2.0
25
+ """
26
+ name = 'VCTreeStatus'
27
+ aliases = ['vctreestatus']
28
+ filenames = []
29
+ mimetypes = []
30
+
31
+ tokens = {
32
+ 'root': [
33
+ (r'^A \+ C\s+', Generic.Error),
34
+ (r'^A\s+\+?\s+', String),
35
+ (r'^M\s+', Generic.Inserted),
36
+ (r'^C\s+', Generic.Error),
37
+ (r'^D\s+', Generic.Deleted),
38
+ (r'^[?!]\s+', Comment.Preproc),
39
+ (r' >\s+.*\n', Comment.Preproc),
40
+ (r'.*\n', Text)
41
+ ]
42
+ }
43
+
44
+
45
+ class PyPyLogLexer(RegexLexer):
46
+ """
47
+ Lexer for PyPy log files.
48
+
49
+ .. versionadded:: 1.5
50
+ """
51
+ name = "PyPy Log"
52
+ aliases = ["pypylog", "pypy"]
53
+ filenames = ["*.pypylog"]
54
+ mimetypes = ['application/x-pypylog']
55
+
56
+ tokens = {
57
+ "root": [
58
+ (r"\[\w+\] \{jit-log-.*?$", Keyword, "jit-log"),
59
+ (r"\[\w+\] \{jit-backend-counts$", Keyword, "jit-backend-counts"),
60
+ include("extra-stuff"),
61
+ ],
62
+ "jit-log": [
63
+ (r"\[\w+\] jit-log-.*?}$", Keyword, "#pop"),
64
+ (r"^\+\d+: ", Comment),
65
+ (r"--end of the loop--", Comment),
66
+ (r"[ifp]\d+", Name),
67
+ (r"ptr\d+", Name),
68
+ (r"(\()(\w+(?:\.\w+)?)(\))",
69
+ bygroups(Punctuation, Name.Builtin, Punctuation)),
70
+ (r"[\[\]=,()]", Punctuation),
71
+ (r"(\d+\.\d+|inf|-inf)", Number.Float),
72
+ (r"-?\d+", Number.Integer),
73
+ (r"'.*'", String),
74
+ (r"(None|descr|ConstClass|ConstPtr|TargetToken)", Name),
75
+ (r"<.*?>+", Name.Builtin),
76
+ (r"(label|debug_merge_point|jump|finish)", Name.Class),
77
+ (r"(int_add_ovf|int_add|int_sub_ovf|int_sub|int_mul_ovf|int_mul|"
78
+ r"int_floordiv|int_mod|int_lshift|int_rshift|int_and|int_or|"
79
+ r"int_xor|int_eq|int_ne|int_ge|int_gt|int_le|int_lt|int_is_zero|"
80
+ r"int_is_true|"
81
+ r"uint_floordiv|uint_ge|uint_lt|"
82
+ r"float_add|float_sub|float_mul|float_truediv|float_neg|"
83
+ r"float_eq|float_ne|float_ge|float_gt|float_le|float_lt|float_abs|"
84
+ r"ptr_eq|ptr_ne|instance_ptr_eq|instance_ptr_ne|"
85
+ r"cast_int_to_float|cast_float_to_int|"
86
+ r"force_token|quasiimmut_field|same_as|virtual_ref_finish|"
87
+ r"virtual_ref|mark_opaque_ptr|"
88
+ r"call_may_force|call_assembler|call_loopinvariant|"
89
+ r"call_release_gil|call_pure|call|"
90
+ r"new_with_vtable|new_array|newstr|newunicode|new|"
91
+ r"arraylen_gc|"
92
+ r"getarrayitem_gc_pure|getarrayitem_gc|setarrayitem_gc|"
93
+ r"getarrayitem_raw|setarrayitem_raw|getfield_gc_pure|"
94
+ r"getfield_gc|getinteriorfield_gc|setinteriorfield_gc|"
95
+ r"getfield_raw|setfield_gc|setfield_raw|"
96
+ r"strgetitem|strsetitem|strlen|copystrcontent|"
97
+ r"unicodegetitem|unicodesetitem|unicodelen|"
98
+ r"guard_true|guard_false|guard_value|guard_isnull|"
99
+ r"guard_nonnull_class|guard_nonnull|guard_class|guard_no_overflow|"
100
+ r"guard_not_forced|guard_no_exception|guard_not_invalidated)",
101
+ Name.Builtin),
102
+ include("extra-stuff"),
103
+ ],
104
+ "jit-backend-counts": [
105
+ (r"\[\w+\] jit-backend-counts}$", Keyword, "#pop"),
106
+ (r":", Punctuation),
107
+ (r"\d+", Number),
108
+ include("extra-stuff"),
109
+ ],
110
+ "extra-stuff": [
111
+ (r"\s+", Text),
112
+ (r"#.*?$", Comment),
113
+ ],
114
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/crystal.py ADDED
@@ -0,0 +1,393 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.crystal
4
+ ~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer for Crystal.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import ExtendedRegexLexer, include, \
15
+ bygroups, default, LexerContext, words
16
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
17
+ Number, Punctuation, Error
18
+
19
+ __all__ = ['CrystalLexer']
20
+
21
+ line_re = re.compile('.*?\n')
22
+
23
+
24
+ CRYSTAL_OPERATORS = [
25
+ '!=', '!~', '!', '%', '&&', '&', '**', '*', '+', '-', '/', '<=>', '<<', '<=', '<',
26
+ '===', '==', '=~', '=', '>=', '>>', '>', '[]=', '[]?', '[]', '^', '||', '|', '~'
27
+ ]
28
+
29
+
30
+ class CrystalLexer(ExtendedRegexLexer):
31
+ """
32
+ For `Crystal <http://crystal-lang.org>`_ source code.
33
+
34
+ .. versionadded:: 2.2
35
+ """
36
+
37
+ name = 'Crystal'
38
+ aliases = ['cr', 'crystal']
39
+ filenames = ['*.cr']
40
+ mimetypes = ['text/x-crystal']
41
+
42
+ flags = re.DOTALL | re.MULTILINE
43
+
44
+ def heredoc_callback(self, match, ctx):
45
+ # okay, this is the hardest part of parsing Crystal...
46
+ # match: 1 = <<-?, 2 = quote? 3 = name 4 = quote? 5 = rest of line
47
+
48
+ start = match.start(1)
49
+ yield start, Operator, match.group(1) # <<-?
50
+ yield match.start(2), String.Heredoc, match.group(2) # quote ", ', `
51
+ yield match.start(3), String.Delimiter, match.group(3) # heredoc name
52
+ yield match.start(4), String.Heredoc, match.group(4) # quote again
53
+
54
+ heredocstack = ctx.__dict__.setdefault('heredocstack', [])
55
+ outermost = not bool(heredocstack)
56
+ heredocstack.append((match.group(1) == '<<-', match.group(3)))
57
+
58
+ ctx.pos = match.start(5)
59
+ ctx.end = match.end(5)
60
+ # this may find other heredocs
61
+ for i, t, v in self.get_tokens_unprocessed(context=ctx):
62
+ yield i, t, v
63
+ ctx.pos = match.end()
64
+
65
+ if outermost:
66
+ # this is the outer heredoc again, now we can process them all
67
+ for tolerant, hdname in heredocstack:
68
+ lines = []
69
+ for match in line_re.finditer(ctx.text, ctx.pos):
70
+ if tolerant:
71
+ check = match.group().strip()
72
+ else:
73
+ check = match.group().rstrip()
74
+ if check == hdname:
75
+ for amatch in lines:
76
+ yield amatch.start(), String.Heredoc, amatch.group()
77
+ yield match.start(), String.Delimiter, match.group()
78
+ ctx.pos = match.end()
79
+ break
80
+ else:
81
+ lines.append(match)
82
+ else:
83
+ # end of heredoc not found -- error!
84
+ for amatch in lines:
85
+ yield amatch.start(), Error, amatch.group()
86
+ ctx.end = len(ctx.text)
87
+ del heredocstack[:]
88
+
89
+ def gen_crystalstrings_rules():
90
+ def intp_regex_callback(self, match, ctx):
91
+ yield match.start(1), String.Regex, match.group(1) # begin
92
+ nctx = LexerContext(match.group(3), 0, ['interpolated-regex'])
93
+ for i, t, v in self.get_tokens_unprocessed(context=nctx):
94
+ yield match.start(3)+i, t, v
95
+ yield match.start(4), String.Regex, match.group(4) # end[imsx]*
96
+ ctx.pos = match.end()
97
+
98
+ def intp_string_callback(self, match, ctx):
99
+ yield match.start(1), String.Other, match.group(1)
100
+ nctx = LexerContext(match.group(3), 0, ['interpolated-string'])
101
+ for i, t, v in self.get_tokens_unprocessed(context=nctx):
102
+ yield match.start(3)+i, t, v
103
+ yield match.start(4), String.Other, match.group(4) # end
104
+ ctx.pos = match.end()
105
+
106
+ states = {}
107
+ states['strings'] = [
108
+ (r'\:@{0,2}[a-zA-Z_]\w*[!?]?', String.Symbol),
109
+ (words(CRYSTAL_OPERATORS, prefix=r'\:@{0,2}'), String.Symbol),
110
+ (r":'(\\\\|\\'|[^'])*'", String.Symbol),
111
+ # This allows arbitrary text after '\ for simplicity
112
+ (r"'(\\\\|\\'|[^']|\\[^'\\]+)'", String.Char),
113
+ (r':"', String.Symbol, 'simple-sym'),
114
+ # Crystal doesn't have "symbol:"s but this simplifies function args
115
+ (r'([a-zA-Z_]\w*)(:)(?!:)', bygroups(String.Symbol, Punctuation)),
116
+ (r'"', String.Double, 'simple-string'),
117
+ (r'(?<!\.)`', String.Backtick, 'simple-backtick'),
118
+ ]
119
+
120
+ # double-quoted string and symbol
121
+ for name, ttype, end in ('string', String.Double, '"'), \
122
+ ('sym', String.Symbol, '"'), \
123
+ ('backtick', String.Backtick, '`'):
124
+ states['simple-'+name] = [
125
+ include('string-escaped' if name == 'sym' else 'string-intp-escaped'),
126
+ (r'[^\\%s#]+' % end, ttype),
127
+ (r'[\\#]', ttype),
128
+ (end, ttype, '#pop'),
129
+ ]
130
+
131
+ # braced quoted strings
132
+ for lbrace, rbrace, bracecc, name in \
133
+ ('\\{', '\\}', '{}', 'cb'), \
134
+ ('\\[', '\\]', '\\[\\]', 'sb'), \
135
+ ('\\(', '\\)', '()', 'pa'), \
136
+ ('<', '>', '<>', 'ab'):
137
+ states[name+'-intp-string'] = [
138
+ (r'\\[' + lbrace + ']', String.Other),
139
+ (lbrace, String.Other, '#push'),
140
+ (rbrace, String.Other, '#pop'),
141
+ include('string-intp-escaped'),
142
+ (r'[\\#' + bracecc + ']', String.Other),
143
+ (r'[^\\#' + bracecc + ']+', String.Other),
144
+ ]
145
+ states['strings'].append((r'%' + lbrace, String.Other,
146
+ name+'-intp-string'))
147
+ states[name+'-string'] = [
148
+ (r'\\[\\' + bracecc + ']', String.Other),
149
+ (lbrace, String.Other, '#push'),
150
+ (rbrace, String.Other, '#pop'),
151
+ (r'[\\#' + bracecc + ']', String.Other),
152
+ (r'[^\\#' + bracecc + ']+', String.Other),
153
+ ]
154
+ # http://crystal-lang.org/docs/syntax_and_semantics/literals/array.html
155
+ states['strings'].append((r'%[wi]' + lbrace, String.Other,
156
+ name+'-string'))
157
+ states[name+'-regex'] = [
158
+ (r'\\[\\' + bracecc + ']', String.Regex),
159
+ (lbrace, String.Regex, '#push'),
160
+ (rbrace + '[imsx]*', String.Regex, '#pop'),
161
+ include('string-intp'),
162
+ (r'[\\#' + bracecc + ']', String.Regex),
163
+ (r'[^\\#' + bracecc + ']+', String.Regex),
164
+ ]
165
+ states['strings'].append((r'%r' + lbrace, String.Regex,
166
+ name+'-regex'))
167
+
168
+ # these must come after %<brace>!
169
+ states['strings'] += [
170
+ # %r regex
171
+ (r'(%r([\W_]))((?:\\\2|(?!\2).)*)(\2[imsx]*)',
172
+ intp_regex_callback),
173
+ # regular fancy strings with qsw
174
+ (r'(%[wi]([\W_]))((?:\\\2|(?!\2).)*)(\2)',
175
+ intp_string_callback),
176
+ # special forms of fancy strings after operators or
177
+ # in method calls with braces
178
+ (r'(?<=[-+/*%=<>&!^|~,(])(\s*)(%([\t ])(?:(?:\\\3|(?!\3).)*)\3)',
179
+ bygroups(Text, String.Other, None)),
180
+ # and because of fixed width lookbehinds the whole thing a
181
+ # second time for line startings...
182
+ (r'^(\s*)(%([\t ])(?:(?:\\\3|(?!\3).)*)\3)',
183
+ bygroups(Text, String.Other, None)),
184
+ # all regular fancy strings without qsw
185
+ (r'(%([\[{(<]))((?:\\\2|(?!\2).)*)(\2)',
186
+ intp_string_callback),
187
+ ]
188
+
189
+ return states
190
+
191
+ tokens = {
192
+ 'root': [
193
+ (r'#.*?$', Comment.Single),
194
+ # keywords
195
+ (words('''
196
+ abstract asm as begin break case do else elsif end ensure extend ifdef if
197
+ include instance_sizeof next of pointerof private protected rescue return
198
+ require sizeof super then typeof unless until when while with yield
199
+ '''.split(), suffix=r'\b'), Keyword),
200
+ (words(['true', 'false', 'nil'], suffix=r'\b'), Keyword.Constant),
201
+ # start of function, class and module names
202
+ (r'(module|lib)(\s+)([a-zA-Z_]\w*(?:::[a-zA-Z_]\w*)*)',
203
+ bygroups(Keyword, Text, Name.Namespace)),
204
+ (r'(def|fun|macro)(\s+)((?:[a-zA-Z_]\w*::)*)',
205
+ bygroups(Keyword, Text, Name.Namespace), 'funcname'),
206
+ (r'def(?=[*%&^`~+-/\[<>=])', Keyword, 'funcname'),
207
+ (r'(class|struct|union|type|alias|enum)(\s+)((?:[a-zA-Z_]\w*::)*)',
208
+ bygroups(Keyword, Text, Name.Namespace), 'classname'),
209
+ (r'(self|out|uninitialized)\b|(is_a|responds_to)\?', Keyword.Pseudo),
210
+ # macros
211
+ (words('''
212
+ debugger record pp assert_responds_to spawn parallel
213
+ getter setter property delegate def_hash def_equals def_equals_and_hash
214
+ forward_missing_to
215
+ '''.split(), suffix=r'\b'), Name.Builtin.Pseudo),
216
+ (r'getter[!?]|property[!?]|__(DIR|FILE|LINE)__\b', Name.Builtin.Pseudo),
217
+ # builtins
218
+ # http://crystal-lang.org/api/toplevel.html
219
+ (words('''
220
+ Object Value Struct Reference Proc Class Nil Symbol Enum Void
221
+ Bool Number Int Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64
222
+ Float Float32 Float64 Char String
223
+ Pointer Slice Range Exception Regex
224
+ Mutex StaticArray Array Hash Set Tuple Deque Box Process File
225
+ Dir Time Channel Concurrent Scheduler
226
+ abort at_exit caller delay exit fork future get_stack_top gets
227
+ lazy loop main p print printf puts
228
+ raise rand read_line sleep sprintf system with_color
229
+ '''.split(), prefix=r'(?<!\.)', suffix=r'\b'), Name.Builtin),
230
+ # normal heredocs
231
+ (r'(?<!\w)(<<-?)(["`\']?)([a-zA-Z_]\w*)(\2)(.*?\n)',
232
+ heredoc_callback),
233
+ # empty string heredocs
234
+ (r'(<<-?)("|\')()(\2)(.*?\n)', heredoc_callback),
235
+ (r'__END__', Comment.Preproc, 'end-part'),
236
+ # multiline regex (after keywords or assignments)
237
+ (r'(?:^|(?<=[=<>~!:])|'
238
+ r'(?<=(?:\s|;)when\s)|'
239
+ r'(?<=(?:\s|;)or\s)|'
240
+ r'(?<=(?:\s|;)and\s)|'
241
+ r'(?<=\.index\s)|'
242
+ r'(?<=\.scan\s)|'
243
+ r'(?<=\.sub\s)|'
244
+ r'(?<=\.sub!\s)|'
245
+ r'(?<=\.gsub\s)|'
246
+ r'(?<=\.gsub!\s)|'
247
+ r'(?<=\.match\s)|'
248
+ r'(?<=(?:\s|;)if\s)|'
249
+ r'(?<=(?:\s|;)elsif\s)|'
250
+ r'(?<=^when\s)|'
251
+ r'(?<=^index\s)|'
252
+ r'(?<=^scan\s)|'
253
+ r'(?<=^sub\s)|'
254
+ r'(?<=^gsub\s)|'
255
+ r'(?<=^sub!\s)|'
256
+ r'(?<=^gsub!\s)|'
257
+ r'(?<=^match\s)|'
258
+ r'(?<=^if\s)|'
259
+ r'(?<=^elsif\s)'
260
+ r')(\s*)(/)', bygroups(Text, String.Regex), 'multiline-regex'),
261
+ # multiline regex (in method calls or subscripts)
262
+ (r'(?<=\(|,|\[)/', String.Regex, 'multiline-regex'),
263
+ # multiline regex (this time the funny no whitespace rule)
264
+ (r'(\s+)(/)(?![\s=])', bygroups(Text, String.Regex),
265
+ 'multiline-regex'),
266
+ # lex numbers and ignore following regular expressions which
267
+ # are division operators in fact (grrrr. i hate that. any
268
+ # better ideas?)
269
+ # since pygments 0.7 we also eat a "?" operator after numbers
270
+ # so that the char operator does not work. Chars are not allowed
271
+ # there so that you can use the ternary operator.
272
+ # stupid example:
273
+ # x>=0?n[x]:""
274
+ (r'(0o[0-7]+(?:_[0-7]+)*(?:_?[iu][0-9]+)?)\b(\s*)([/?])?',
275
+ bygroups(Number.Oct, Text, Operator)),
276
+ (r'(0x[0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*(?:_?[iu][0-9]+)?)\b(\s*)([/?])?',
277
+ bygroups(Number.Hex, Text, Operator)),
278
+ (r'(0b[01]+(?:_[01]+)*(?:_?[iu][0-9]+)?)\b(\s*)([/?])?',
279
+ bygroups(Number.Bin, Text, Operator)),
280
+ # 3 separate expressions for floats because any of the 3 optional
281
+ # parts makes it a float
282
+ (r'((?:0(?![0-9])|[1-9][\d_]*)(?:\.\d[\d_]*)(?:e[+-]?[0-9]+)?'
283
+ r'(?:_?f[0-9]+)?)(\s*)([/?])?',
284
+ bygroups(Number.Float, Text, Operator)),
285
+ (r'((?:0(?![0-9])|[1-9][\d_]*)(?:\.\d[\d_]*)?(?:e[+-]?[0-9]+)'
286
+ r'(?:_?f[0-9]+)?)(\s*)([/?])?',
287
+ bygroups(Number.Float, Text, Operator)),
288
+ (r'((?:0(?![0-9])|[1-9][\d_]*)(?:\.\d[\d_]*)?(?:e[+-]?[0-9]+)?'
289
+ r'(?:_?f[0-9]+))(\s*)([/?])?',
290
+ bygroups(Number.Float, Text, Operator)),
291
+ (r'(0\b|[1-9][\d]*(?:_\d+)*(?:_?[iu][0-9]+)?)\b(\s*)([/?])?',
292
+ bygroups(Number.Integer, Text, Operator)),
293
+ # Names
294
+ (r'@@[a-zA-Z_]\w*', Name.Variable.Class),
295
+ (r'@[a-zA-Z_]\w*', Name.Variable.Instance),
296
+ (r'\$\w+', Name.Variable.Global),
297
+ (r'\$[!@&`\'+~=/\\,;.<>_*$?:"^-]', Name.Variable.Global),
298
+ (r'\$-[0adFiIlpvw]', Name.Variable.Global),
299
+ (r'::', Operator),
300
+ include('strings'),
301
+ # chars
302
+ (r'\?(\\[MC]-)*' # modifiers
303
+ r'(\\([\\befnrtv#"\']|x[a-fA-F0-9]{1,2}|[0-7]{1,3})|\S)'
304
+ r'(?!\w)',
305
+ String.Char),
306
+ (r'[A-Z][A-Z_]+\b', Name.Constant),
307
+ # macro expansion
308
+ (r'\{%', String.Interpol, 'in-macro-control'),
309
+ (r'\{\{', String.Interpol, 'in-macro-expr'),
310
+ # attributes
311
+ (r'(@\[)(\s*)([A-Z]\w*)',
312
+ bygroups(Operator, Text, Name.Decorator), 'in-attr'),
313
+ # this is needed because Crystal attributes can look
314
+ # like keywords (class) or like this: ` ?!?
315
+ (words(CRYSTAL_OPERATORS, prefix=r'(\.|::)'),
316
+ bygroups(Operator, Name.Operator)),
317
+ (r'(\.|::)([a-zA-Z_]\w*[!?]?|[*%&^`~+\-/\[<>=])',
318
+ bygroups(Operator, Name)),
319
+ # Names can end with [!?] unless it's "!="
320
+ (r'[a-zA-Z_]\w*(?:[!?](?!=))?', Name),
321
+ (r'(\[|\]\??|\*\*|<=>?|>=|<<?|>>?|=~|===|'
322
+ r'!~|&&?|\|\||\.{1,3})', Operator),
323
+ (r'[-+/*%=<>&!^|~]=?', Operator),
324
+ (r'[(){};,/?:\\]', Punctuation),
325
+ (r'\s+', Text)
326
+ ],
327
+ 'funcname': [
328
+ (r'(?:([a-zA-Z_]\w*)(\.))?'
329
+ r'([a-zA-Z_]\w*[!?]?|\*\*?|[-+]@?|'
330
+ r'[/%&|^`~]|\[\]=?|<<|>>|<=?>|>=?|===?)',
331
+ bygroups(Name.Class, Operator, Name.Function), '#pop'),
332
+ default('#pop')
333
+ ],
334
+ 'classname': [
335
+ (r'[A-Z_]\w*', Name.Class),
336
+ (r'(\()(\s*)([A-Z_]\w*)(\s*)(\))',
337
+ bygroups(Punctuation, Text, Name.Class, Text, Punctuation)),
338
+ default('#pop')
339
+ ],
340
+ 'in-intp': [
341
+ (r'\{', String.Interpol, '#push'),
342
+ (r'\}', String.Interpol, '#pop'),
343
+ include('root'),
344
+ ],
345
+ 'string-intp': [
346
+ (r'#\{', String.Interpol, 'in-intp'),
347
+ ],
348
+ 'string-escaped': [
349
+ (r'\\([\\befnstv#"\']|x[a-fA-F0-9]{1,2}|[0-7]{1,3})', String.Escape)
350
+ ],
351
+ 'string-intp-escaped': [
352
+ include('string-intp'),
353
+ include('string-escaped'),
354
+ ],
355
+ 'interpolated-regex': [
356
+ include('string-intp'),
357
+ (r'[\\#]', String.Regex),
358
+ (r'[^\\#]+', String.Regex),
359
+ ],
360
+ 'interpolated-string': [
361
+ include('string-intp'),
362
+ (r'[\\#]', String.Other),
363
+ (r'[^\\#]+', String.Other),
364
+ ],
365
+ 'multiline-regex': [
366
+ include('string-intp'),
367
+ (r'\\\\', String.Regex),
368
+ (r'\\/', String.Regex),
369
+ (r'[\\#]', String.Regex),
370
+ (r'[^\\/#]+', String.Regex),
371
+ (r'/[imsx]*', String.Regex, '#pop'),
372
+ ],
373
+ 'end-part': [
374
+ (r'.+', Comment.Preproc, '#pop')
375
+ ],
376
+ 'in-macro-control': [
377
+ (r'\{%', String.Interpol, '#push'),
378
+ (r'%\}', String.Interpol, '#pop'),
379
+ (r'for\b|in\b', Keyword),
380
+ include('root'),
381
+ ],
382
+ 'in-macro-expr': [
383
+ (r'\{\{', String.Interpol, '#push'),
384
+ (r'\}\}', String.Interpol, '#pop'),
385
+ include('root'),
386
+ ],
387
+ 'in-attr': [
388
+ (r'\[', Operator, '#push'),
389
+ (r'\]', Operator, '#pop'),
390
+ include('root'),
391
+ ],
392
+ }
393
+ tokens.update(gen_crystalstrings_rules())
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/d.py ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.d
4
+ ~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for D languages.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, include, words
13
+ from pygments.token import Text, Comment, Keyword, Name, String, \
14
+ Number, Punctuation
15
+
16
+ __all__ = ['DLexer', 'CrocLexer', 'MiniDLexer']
17
+
18
+
19
+ class DLexer(RegexLexer):
20
+ """
21
+ For D source.
22
+
23
+ .. versionadded:: 1.2
24
+ """
25
+ name = 'D'
26
+ filenames = ['*.d', '*.di']
27
+ aliases = ['d']
28
+ mimetypes = ['text/x-dsrc']
29
+
30
+ tokens = {
31
+ 'root': [
32
+ (r'\n', Text),
33
+ (r'\s+', Text),
34
+ # (r'\\\n', Text), # line continuations
35
+ # Comments
36
+ (r'//(.*?)\n', Comment.Single),
37
+ (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline),
38
+ (r'/\+', Comment.Multiline, 'nested_comment'),
39
+ # Keywords
40
+ (words((
41
+ 'abstract', 'alias', 'align', 'asm', 'assert', 'auto', 'body',
42
+ 'break', 'case', 'cast', 'catch', 'class', 'const', 'continue',
43
+ 'debug', 'default', 'delegate', 'delete', 'deprecated', 'do', 'else',
44
+ 'enum', 'export', 'extern', 'finally', 'final', 'foreach_reverse',
45
+ 'foreach', 'for', 'function', 'goto', 'if', 'immutable', 'import',
46
+ 'interface', 'invariant', 'inout', 'in', 'is', 'lazy', 'mixin',
47
+ 'module', 'new', 'nothrow', 'out', 'override', 'package', 'pragma',
48
+ 'private', 'protected', 'public', 'pure', 'ref', 'return', 'scope',
49
+ 'shared', 'static', 'struct', 'super', 'switch', 'synchronized',
50
+ 'template', 'this', 'throw', 'try', 'typedef', 'typeid', 'typeof',
51
+ 'union', 'unittest', 'version', 'volatile', 'while', 'with',
52
+ '__gshared', '__traits', '__vector', '__parameters'),
53
+ suffix=r'\b'),
54
+ Keyword),
55
+ (words((
56
+ 'bool', 'byte', 'cdouble', 'cent', 'cfloat', 'char', 'creal',
57
+ 'dchar', 'double', 'float', 'idouble', 'ifloat', 'int', 'ireal',
58
+ 'long', 'real', 'short', 'ubyte', 'ucent', 'uint', 'ulong',
59
+ 'ushort', 'void', 'wchar'), suffix=r'\b'),
60
+ Keyword.Type),
61
+ (r'(false|true|null)\b', Keyword.Constant),
62
+ (words((
63
+ '__FILE__', '__MODULE__', '__LINE__', '__FUNCTION__', '__PRETTY_FUNCTION__'
64
+ '', '__DATE__', '__EOF__', '__TIME__', '__TIMESTAMP__', '__VENDOR__',
65
+ '__VERSION__'), suffix=r'\b'),
66
+ Keyword.Pseudo),
67
+ (r'macro\b', Keyword.Reserved),
68
+ (r'(string|wstring|dstring|size_t|ptrdiff_t)\b', Name.Builtin),
69
+ # FloatLiteral
70
+ # -- HexFloat
71
+ (r'0[xX]([0-9a-fA-F_]*\.[0-9a-fA-F_]+|[0-9a-fA-F_]+)'
72
+ r'[pP][+\-]?[0-9_]+[fFL]?[i]?', Number.Float),
73
+ # -- DecimalFloat
74
+ (r'[0-9_]+(\.[0-9_]+[eE][+\-]?[0-9_]+|'
75
+ r'\.[0-9_]*|[eE][+\-]?[0-9_]+)[fFL]?[i]?', Number.Float),
76
+ (r'\.(0|[1-9][0-9_]*)([eE][+\-]?[0-9_]+)?[fFL]?[i]?', Number.Float),
77
+ # IntegerLiteral
78
+ # -- Binary
79
+ (r'0[Bb][01_]+', Number.Bin),
80
+ # -- Octal
81
+ (r'0[0-7_]+', Number.Oct),
82
+ # -- Hexadecimal
83
+ (r'0[xX][0-9a-fA-F_]+', Number.Hex),
84
+ # -- Decimal
85
+ (r'(0|[1-9][0-9_]*)([LUu]|Lu|LU|uL|UL)?', Number.Integer),
86
+ # CharacterLiteral
87
+ (r"""'(\\['"?\\abfnrtv]|\\x[0-9a-fA-F]{2}|\\[0-7]{1,3}"""
88
+ r"""|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|\\&\w+;|.)'""",
89
+ String.Char),
90
+ # StringLiteral
91
+ # -- WysiwygString
92
+ (r'r"[^"]*"[cwd]?', String),
93
+ # -- AlternateWysiwygString
94
+ (r'`[^`]*`[cwd]?', String),
95
+ # -- DoubleQuotedString
96
+ (r'"(\\\\|\\"|[^"])*"[cwd]?', String),
97
+ # -- EscapeSequence
98
+ (r"\\(['\"?\\abfnrtv]|x[0-9a-fA-F]{2}|[0-7]{1,3}"
99
+ r"|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|&\w+;)",
100
+ String),
101
+ # -- HexString
102
+ (r'x"[0-9a-fA-F_\s]*"[cwd]?', String),
103
+ # -- DelimitedString
104
+ (r'q"\[', String, 'delimited_bracket'),
105
+ (r'q"\(', String, 'delimited_parenthesis'),
106
+ (r'q"<', String, 'delimited_angle'),
107
+ (r'q"\{', String, 'delimited_curly'),
108
+ (r'q"([a-zA-Z_]\w*)\n.*?\n\1"', String),
109
+ (r'q"(.).*?\1"', String),
110
+ # -- TokenString
111
+ (r'q\{', String, 'token_string'),
112
+ # Attributes
113
+ (r'@([a-zA-Z_]\w*)?', Name.Decorator),
114
+ # Tokens
115
+ (r'(~=|\^=|%=|\*=|==|!>=|!<=|!<>=|!<>|!<|!>|!=|>>>=|>>>|>>=|>>|>='
116
+ r'|<>=|<>|<<=|<<|<=|\+\+|\+=|--|-=|\|\||\|=|&&|&=|\.\.\.|\.\.|/=)'
117
+ r'|[/.&|\-+<>!()\[\]{}?,;:$=*%^~]', Punctuation),
118
+ # Identifier
119
+ (r'[a-zA-Z_]\w*', Name),
120
+ # Line
121
+ (r'#line\s.*\n', Comment.Special),
122
+ ],
123
+ 'nested_comment': [
124
+ (r'[^+/]+', Comment.Multiline),
125
+ (r'/\+', Comment.Multiline, '#push'),
126
+ (r'\+/', Comment.Multiline, '#pop'),
127
+ (r'[+/]', Comment.Multiline),
128
+ ],
129
+ 'token_string': [
130
+ (r'\{', Punctuation, 'token_string_nest'),
131
+ (r'\}', String, '#pop'),
132
+ include('root'),
133
+ ],
134
+ 'token_string_nest': [
135
+ (r'\{', Punctuation, '#push'),
136
+ (r'\}', Punctuation, '#pop'),
137
+ include('root'),
138
+ ],
139
+ 'delimited_bracket': [
140
+ (r'[^\[\]]+', String),
141
+ (r'\[', String, 'delimited_inside_bracket'),
142
+ (r'\]"', String, '#pop'),
143
+ ],
144
+ 'delimited_inside_bracket': [
145
+ (r'[^\[\]]+', String),
146
+ (r'\[', String, '#push'),
147
+ (r'\]', String, '#pop'),
148
+ ],
149
+ 'delimited_parenthesis': [
150
+ (r'[^()]+', String),
151
+ (r'\(', String, 'delimited_inside_parenthesis'),
152
+ (r'\)"', String, '#pop'),
153
+ ],
154
+ 'delimited_inside_parenthesis': [
155
+ (r'[^()]+', String),
156
+ (r'\(', String, '#push'),
157
+ (r'\)', String, '#pop'),
158
+ ],
159
+ 'delimited_angle': [
160
+ (r'[^<>]+', String),
161
+ (r'<', String, 'delimited_inside_angle'),
162
+ (r'>"', String, '#pop'),
163
+ ],
164
+ 'delimited_inside_angle': [
165
+ (r'[^<>]+', String),
166
+ (r'<', String, '#push'),
167
+ (r'>', String, '#pop'),
168
+ ],
169
+ 'delimited_curly': [
170
+ (r'[^{}]+', String),
171
+ (r'\{', String, 'delimited_inside_curly'),
172
+ (r'\}"', String, '#pop'),
173
+ ],
174
+ 'delimited_inside_curly': [
175
+ (r'[^{}]+', String),
176
+ (r'\{', String, '#push'),
177
+ (r'\}', String, '#pop'),
178
+ ],
179
+ }
180
+
181
+
182
+ class CrocLexer(RegexLexer):
183
+ """
184
+ For `Croc <http://jfbillingsley.com/croc>`_ source.
185
+ """
186
+ name = 'Croc'
187
+ filenames = ['*.croc']
188
+ aliases = ['croc']
189
+ mimetypes = ['text/x-crocsrc']
190
+
191
+ tokens = {
192
+ 'root': [
193
+ (r'\n', Text),
194
+ (r'\s+', Text),
195
+ # Comments
196
+ (r'//(.*?)\n', Comment.Single),
197
+ (r'/\*', Comment.Multiline, 'nestedcomment'),
198
+ # Keywords
199
+ (words((
200
+ 'as', 'assert', 'break', 'case', 'catch', 'class', 'continue',
201
+ 'default', 'do', 'else', 'finally', 'for', 'foreach', 'function',
202
+ 'global', 'namespace', 'if', 'import', 'in', 'is', 'local',
203
+ 'module', 'return', 'scope', 'super', 'switch', 'this', 'throw',
204
+ 'try', 'vararg', 'while', 'with', 'yield'), suffix=r'\b'),
205
+ Keyword),
206
+ (r'(false|true|null)\b', Keyword.Constant),
207
+ # FloatLiteral
208
+ (r'([0-9][0-9_]*)(?=[.eE])(\.[0-9][0-9_]*)?([eE][+\-]?[0-9_]+)?',
209
+ Number.Float),
210
+ # IntegerLiteral
211
+ # -- Binary
212
+ (r'0[bB][01][01_]*', Number.Bin),
213
+ # -- Hexadecimal
214
+ (r'0[xX][0-9a-fA-F][0-9a-fA-F_]*', Number.Hex),
215
+ # -- Decimal
216
+ (r'([0-9][0-9_]*)(?![.eE])', Number.Integer),
217
+ # CharacterLiteral
218
+ (r"""'(\\['"\\nrt]|\\x[0-9a-fA-F]{2}|\\[0-9]{1,3}"""
219
+ r"""|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|.)'""",
220
+ String.Char),
221
+ # StringLiteral
222
+ # -- WysiwygString
223
+ (r'@"(""|[^"])*"', String),
224
+ (r'@`(``|[^`])*`', String),
225
+ (r"@'(''|[^'])*'", String),
226
+ # -- DoubleQuotedString
227
+ (r'"(\\\\|\\"|[^"])*"', String),
228
+ # Tokens
229
+ (r'(~=|\^=|%=|\*=|==|!=|>>>=|>>>|>>=|>>|>=|<=>|\?=|-\>'
230
+ r'|<<=|<<|<=|\+\+|\+=|--|-=|\|\||\|=|&&|&=|\.\.|/=)'
231
+ r'|[-/.&$@|\+<>!()\[\]{}?,;:=*%^~#\\]', Punctuation),
232
+ # Identifier
233
+ (r'[a-zA-Z_]\w*', Name),
234
+ ],
235
+ 'nestedcomment': [
236
+ (r'[^*/]+', Comment.Multiline),
237
+ (r'/\*', Comment.Multiline, '#push'),
238
+ (r'\*/', Comment.Multiline, '#pop'),
239
+ (r'[*/]', Comment.Multiline),
240
+ ],
241
+ }
242
+
243
+
244
+ class MiniDLexer(CrocLexer):
245
+ """
246
+ For MiniD source. MiniD is now known as Croc.
247
+ """
248
+ name = 'MiniD'
249
+ filenames = [] # don't lex .md as MiniD, reserve for Markdown
250
+ aliases = ['minid']
251
+ mimetypes = ['text/x-minidsrc']
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/ecl.py ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.ecl
4
+ ~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for the ECL language.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, include, bygroups, words
15
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
16
+ Number, Punctuation, Error
17
+
18
+ __all__ = ['ECLLexer']
19
+
20
+
21
+ class ECLLexer(RegexLexer):
22
+ """
23
+ Lexer for the declarative big-data `ECL
24
+ <http://hpccsystems.com/community/docs/ecl-language-reference/html>`_
25
+ language.
26
+
27
+ .. versionadded:: 1.5
28
+ """
29
+
30
+ name = 'ECL'
31
+ aliases = ['ecl']
32
+ filenames = ['*.ecl']
33
+ mimetypes = ['application/x-ecl']
34
+
35
+ flags = re.IGNORECASE | re.MULTILINE
36
+
37
+ tokens = {
38
+ 'root': [
39
+ include('whitespace'),
40
+ include('statements'),
41
+ ],
42
+ 'whitespace': [
43
+ (r'\s+', Text),
44
+ (r'\/\/.*', Comment.Single),
45
+ (r'/(\\\n)?\*(.|\n)*?\*(\\\n)?/', Comment.Multiline),
46
+ ],
47
+ 'statements': [
48
+ include('types'),
49
+ include('keywords'),
50
+ include('functions'),
51
+ include('hash'),
52
+ (r'"', String, 'string'),
53
+ (r'\'', String, 'string'),
54
+ (r'(\d+\.\d*|\.\d+|\d+)e[+-]?\d+[lu]*', Number.Float),
55
+ (r'(\d+\.\d*|\.\d+|\d+f)f?', Number.Float),
56
+ (r'0x[0-9a-f]+[lu]*', Number.Hex),
57
+ (r'0[0-7]+[lu]*', Number.Oct),
58
+ (r'\d+[lu]*', Number.Integer),
59
+ (r'\*/', Error),
60
+ (r'[~!%^&*+=|?:<>/-]+', Operator),
61
+ (r'[{}()\[\],.;]', Punctuation),
62
+ (r'[a-z_]\w*', Name),
63
+ ],
64
+ 'hash': [
65
+ (r'^#.*$', Comment.Preproc),
66
+ ],
67
+ 'types': [
68
+ (r'(RECORD|END)\D', Keyword.Declaration),
69
+ (r'((?:ASCII|BIG_ENDIAN|BOOLEAN|DATA|DECIMAL|EBCDIC|INTEGER|PATTERN|'
70
+ r'QSTRING|REAL|RECORD|RULE|SET OF|STRING|TOKEN|UDECIMAL|UNICODE|'
71
+ r'UNSIGNED|VARSTRING|VARUNICODE)\d*)(\s+)',
72
+ bygroups(Keyword.Type, Text)),
73
+ ],
74
+ 'keywords': [
75
+ (words((
76
+ 'APPLY', 'ASSERT', 'BUILD', 'BUILDINDEX', 'EVALUATE', 'FAIL',
77
+ 'KEYDIFF', 'KEYPATCH', 'LOADXML', 'NOTHOR', 'NOTIFY', 'OUTPUT',
78
+ 'PARALLEL', 'SEQUENTIAL', 'SOAPCALL', 'CHECKPOINT', 'DEPRECATED',
79
+ 'FAILCODE', 'FAILMESSAGE', 'FAILURE', 'GLOBAL', 'INDEPENDENT',
80
+ 'ONWARNING', 'PERSIST', 'PRIORITY', 'RECOVERY', 'STORED', 'SUCCESS',
81
+ 'WAIT', 'WHEN'), suffix=r'\b'),
82
+ Keyword.Reserved),
83
+ # These are classed differently, check later
84
+ (words((
85
+ 'ALL', 'AND', 'ANY', 'AS', 'ATMOST', 'BEFORE', 'BEGINC++', 'BEST', 'BETWEEN', 'CASE',
86
+ 'CONST', 'COUNTER', 'CSV', 'DESCEND', 'ENCRYPT', 'ENDC++', 'ENDMACRO', 'EXCEPT',
87
+ 'EXCLUSIVE', 'EXPIRE', 'EXPORT', 'EXTEND', 'FALSE', 'FEW', 'FIRST', 'FLAT', 'FULL',
88
+ 'FUNCTION', 'GROUP', 'HEADER', 'HEADING', 'HOLE', 'IFBLOCK', 'IMPORT', 'IN', 'JOINED',
89
+ 'KEEP', 'KEYED', 'LAST', 'LEFT', 'LIMIT', 'LOAD', 'LOCAL', 'LOCALE', 'LOOKUP', 'MACRO',
90
+ 'MANY', 'MAXCOUNT', 'MAXLENGTH', 'MIN SKEW', 'MODULE', 'INTERFACE', 'NAMED', 'NOCASE',
91
+ 'NOROOT', 'NOSCAN', 'NOSORT', 'NOT', 'OF', 'ONLY', 'OPT', 'OR', 'OUTER', 'OVERWRITE',
92
+ 'PACKED', 'PARTITION', 'PENALTY', 'PHYSICALLENGTH', 'PIPE', 'QUOTE', 'RELATIONSHIP',
93
+ 'REPEAT', 'RETURN', 'RIGHT', 'SCAN', 'SELF', 'SEPARATOR', 'SERVICE', 'SHARED', 'SKEW',
94
+ 'SKIP', 'SQL', 'STORE', 'TERMINATOR', 'THOR', 'THRESHOLD', 'TOKEN', 'TRANSFORM', 'TRIM',
95
+ 'TRUE', 'TYPE', 'UNICODEORDER', 'UNSORTED', 'VALIDATE', 'VIRTUAL', 'WHOLE', 'WILD',
96
+ 'WITHIN', 'XML', 'XPATH', '__COMPRESSED__'), suffix=r'\b'),
97
+ Keyword.Reserved),
98
+ ],
99
+ 'functions': [
100
+ (words((
101
+ 'ABS', 'ACOS', 'ALLNODES', 'ASCII', 'ASIN', 'ASSTRING', 'ATAN', 'ATAN2', 'AVE', 'CASE',
102
+ 'CHOOSE', 'CHOOSEN', 'CHOOSESETS', 'CLUSTERSIZE', 'COMBINE', 'CORRELATION', 'COS',
103
+ 'COSH', 'COUNT', 'COVARIANCE', 'CRON', 'DATASET', 'DEDUP', 'DEFINE', 'DENORMALIZE',
104
+ 'DISTRIBUTE', 'DISTRIBUTED', 'DISTRIBUTION', 'EBCDIC', 'ENTH', 'ERROR', 'EVALUATE',
105
+ 'EVENT', 'EVENTEXTRA', 'EVENTNAME', 'EXISTS', 'EXP', 'FAILCODE', 'FAILMESSAGE',
106
+ 'FETCH', 'FROMUNICODE', 'GETISVALID', 'GLOBAL', 'GRAPH', 'GROUP', 'HASH', 'HASH32',
107
+ 'HASH64', 'HASHCRC', 'HASHMD5', 'HAVING', 'IF', 'INDEX', 'INTFORMAT', 'ISVALID',
108
+ 'ITERATE', 'JOIN', 'KEYUNICODE', 'LENGTH', 'LIBRARY', 'LIMIT', 'LN', 'LOCAL', 'LOG', 'LOOP',
109
+ 'MAP', 'MATCHED', 'MATCHLENGTH', 'MATCHPOSITION', 'MATCHTEXT', 'MATCHUNICODE',
110
+ 'MAX', 'MERGE', 'MERGEJOIN', 'MIN', 'NOLOCAL', 'NONEMPTY', 'NORMALIZE', 'PARSE', 'PIPE',
111
+ 'POWER', 'PRELOAD', 'PROCESS', 'PROJECT', 'PULL', 'RANDOM', 'RANGE', 'RANK', 'RANKED',
112
+ 'REALFORMAT', 'RECORDOF', 'REGEXFIND', 'REGEXREPLACE', 'REGROUP', 'REJECTED',
113
+ 'ROLLUP', 'ROUND', 'ROUNDUP', 'ROW', 'ROWDIFF', 'SAMPLE', 'SET', 'SIN', 'SINH', 'SIZEOF',
114
+ 'SOAPCALL', 'SORT', 'SORTED', 'SQRT', 'STEPPED', 'STORED', 'SUM', 'TABLE', 'TAN', 'TANH',
115
+ 'THISNODE', 'TOPN', 'TOUNICODE', 'TRANSFER', 'TRIM', 'TRUNCATE', 'TYPEOF', 'UNGROUP',
116
+ 'UNICODEORDER', 'VARIANCE', 'WHICH', 'WORKUNIT', 'XMLDECODE', 'XMLENCODE',
117
+ 'XMLTEXT', 'XMLUNICODE'), suffix=r'\b'),
118
+ Name.Function),
119
+ ],
120
+ 'string': [
121
+ (r'"', String, '#pop'),
122
+ (r'\'', String, '#pop'),
123
+ (r'[^"\']+', String),
124
+ ],
125
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/eiffel.py ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.eiffel
4
+ ~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer for the Eiffel language.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, include, words
13
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
14
+ Number, Punctuation
15
+
16
+ __all__ = ['EiffelLexer']
17
+
18
+
19
+ class EiffelLexer(RegexLexer):
20
+ """
21
+ For `Eiffel <http://www.eiffel.com>`_ source code.
22
+
23
+ .. versionadded:: 2.0
24
+ """
25
+ name = 'Eiffel'
26
+ aliases = ['eiffel']
27
+ filenames = ['*.e']
28
+ mimetypes = ['text/x-eiffel']
29
+
30
+ tokens = {
31
+ 'root': [
32
+ (r'[^\S\n]+', Text),
33
+ (r'--.*?\n', Comment.Single),
34
+ (r'[^\S\n]+', Text),
35
+ # Please note that keyword and operator are case insensitive.
36
+ (r'(?i)(true|false|void|current|result|precursor)\b', Keyword.Constant),
37
+ (r'(?i)(and(\s+then)?|not|xor|implies|or(\s+else)?)\b', Operator.Word),
38
+ (words((
39
+ 'across', 'agent', 'alias', 'all', 'as', 'assign', 'attached',
40
+ 'attribute', 'check', 'class', 'convert', 'create', 'debug',
41
+ 'deferred', 'detachable', 'do', 'else', 'elseif', 'end', 'ensure',
42
+ 'expanded', 'export', 'external', 'feature', 'from', 'frozen', 'if',
43
+ 'inherit', 'inspect', 'invariant', 'like', 'local', 'loop', 'none',
44
+ 'note', 'obsolete', 'old', 'once', 'only', 'redefine', 'rename',
45
+ 'require', 'rescue', 'retry', 'select', 'separate', 'then',
46
+ 'undefine', 'until', 'variant', 'when'), prefix=r'(?i)\b', suffix=r'\b'),
47
+ Keyword.Reserved),
48
+ (r'"\[(([^\]%]|\n)|%(.|\n)|\][^"])*?\]"', String),
49
+ (r'"([^"%\n]|%.)*?"', String),
50
+ include('numbers'),
51
+ (r"'([^'%]|%'|%%)'", String.Char),
52
+ (r"(//|\\\\|>=|<=|:=|/=|~|/~|[\\?!#%&@|+/\-=>*$<^\[\]])", Operator),
53
+ (r"([{}():;,.])", Punctuation),
54
+ (r'([a-z]\w*)|([A-Z][A-Z0-9_]*[a-z]\w*)', Name),
55
+ (r'([A-Z][A-Z0-9_]*)', Name.Class),
56
+ (r'\n+', Text),
57
+ ],
58
+ 'numbers': [
59
+ (r'0[xX][a-fA-F0-9]+', Number.Hex),
60
+ (r'0[bB][01]+', Number.Bin),
61
+ (r'0[cC][0-7]+', Number.Oct),
62
+ (r'([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)', Number.Float),
63
+ (r'[0-9]+', Number.Integer),
64
+ ],
65
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/elm.py ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.elm
4
+ ~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer for the Elm programming language.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, words, include
13
+ from pygments.token import Comment, Keyword, Name, Number, Punctuation, String, Text
14
+
15
+ __all__ = ['ElmLexer']
16
+
17
+
18
+ class ElmLexer(RegexLexer):
19
+ """
20
+ For `Elm <http://elm-lang.org/>`_ source code.
21
+
22
+ .. versionadded:: 2.1
23
+ """
24
+
25
+ name = 'Elm'
26
+ aliases = ['elm']
27
+ filenames = ['*.elm']
28
+ mimetypes = ['text/x-elm']
29
+
30
+ validName = r'[a-z_][a-zA-Z_\']*'
31
+
32
+ specialName = r'^main '
33
+
34
+ builtinOps = (
35
+ '~', '||', '|>', '|', '`', '^', '\\', '\'', '>>', '>=', '>', '==',
36
+ '=', '<~', '<|', '<=', '<<', '<-', '<', '::', ':', '/=', '//', '/',
37
+ '..', '.', '->', '-', '++', '+', '*', '&&', '%',
38
+ )
39
+
40
+ reservedWords = words((
41
+ 'alias', 'as', 'case', 'else', 'if', 'import', 'in',
42
+ 'let', 'module', 'of', 'port', 'then', 'type', 'where',
43
+ ), suffix=r'\b')
44
+
45
+ tokens = {
46
+ 'root': [
47
+
48
+ # Comments
49
+ (r'\{-', Comment.Multiline, 'comment'),
50
+ (r'--.*', Comment.Single),
51
+
52
+ # Whitespace
53
+ (r'\s+', Text),
54
+
55
+ # Strings
56
+ (r'"', String, 'doublequote'),
57
+
58
+ # Modules
59
+ (r'^\s*module\s*', Keyword.Namespace, 'imports'),
60
+
61
+ # Imports
62
+ (r'^\s*import\s*', Keyword.Namespace, 'imports'),
63
+
64
+ # Shaders
65
+ (r'\[glsl\|.*', Name.Entity, 'shader'),
66
+
67
+ # Keywords
68
+ (reservedWords, Keyword.Reserved),
69
+
70
+ # Types
71
+ (r'[A-Z]\w*', Keyword.Type),
72
+
73
+ # Main
74
+ (specialName, Keyword.Reserved),
75
+
76
+ # Prefix Operators
77
+ (words((builtinOps), prefix=r'\(', suffix=r'\)'), Name.Function),
78
+
79
+ # Infix Operators
80
+ (words((builtinOps)), Name.Function),
81
+
82
+ # Numbers
83
+ include('numbers'),
84
+
85
+ # Variable Names
86
+ (validName, Name.Variable),
87
+
88
+ # Parens
89
+ (r'[,()\[\]{}]', Punctuation),
90
+
91
+ ],
92
+
93
+ 'comment': [
94
+ (r'-(?!\})', Comment.Multiline),
95
+ (r'\{-', Comment.Multiline, 'comment'),
96
+ (r'[^-}]', Comment.Multiline),
97
+ (r'-\}', Comment.Multiline, '#pop'),
98
+ ],
99
+
100
+ 'doublequote': [
101
+ (r'\\u[0-9a-fA-F]{4}', String.Escape),
102
+ (r'\\[nrfvb\\"]', String.Escape),
103
+ (r'[^"]', String),
104
+ (r'"', String, '#pop'),
105
+ ],
106
+
107
+ 'imports': [
108
+ (r'\w+(\.\w+)*', Name.Class, '#pop'),
109
+ ],
110
+
111
+ 'numbers': [
112
+ (r'_?\d+\.(?=\d+)', Number.Float),
113
+ (r'_?\d+', Number.Integer),
114
+ ],
115
+
116
+ 'shader': [
117
+ (r'\|(?!\])', Name.Entity),
118
+ (r'\|\]', Name.Entity, '#pop'),
119
+ (r'.*\n', Name.Entity),
120
+ ],
121
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/erlang.py ADDED
@@ -0,0 +1,533 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.erlang
4
+ ~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for Erlang.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import Lexer, RegexLexer, bygroups, words, do_insertions, \
15
+ include, default
16
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
17
+ Number, Punctuation, Generic
18
+
19
+ __all__ = ['ErlangLexer', 'ErlangShellLexer', 'ElixirConsoleLexer',
20
+ 'ElixirLexer']
21
+
22
+
23
+ line_re = re.compile('.*?\n')
24
+
25
+
26
+ class ErlangLexer(RegexLexer):
27
+ """
28
+ For the Erlang functional programming language.
29
+
30
+ Blame Jeremy Thurgood (http://jerith.za.net/).
31
+
32
+ .. versionadded:: 0.9
33
+ """
34
+
35
+ name = 'Erlang'
36
+ aliases = ['erlang']
37
+ filenames = ['*.erl', '*.hrl', '*.es', '*.escript']
38
+ mimetypes = ['text/x-erlang']
39
+
40
+ keywords = (
41
+ 'after', 'begin', 'case', 'catch', 'cond', 'end', 'fun', 'if',
42
+ 'let', 'of', 'query', 'receive', 'try', 'when',
43
+ )
44
+
45
+ builtins = ( # See erlang(3) man page
46
+ 'abs', 'append_element', 'apply', 'atom_to_list', 'binary_to_list',
47
+ 'bitstring_to_list', 'binary_to_term', 'bit_size', 'bump_reductions',
48
+ 'byte_size', 'cancel_timer', 'check_process_code', 'delete_module',
49
+ 'demonitor', 'disconnect_node', 'display', 'element', 'erase', 'exit',
50
+ 'float', 'float_to_list', 'fun_info', 'fun_to_list',
51
+ 'function_exported', 'garbage_collect', 'get', 'get_keys',
52
+ 'group_leader', 'hash', 'hd', 'integer_to_list', 'iolist_to_binary',
53
+ 'iolist_size', 'is_atom', 'is_binary', 'is_bitstring', 'is_boolean',
54
+ 'is_builtin', 'is_float', 'is_function', 'is_integer', 'is_list',
55
+ 'is_number', 'is_pid', 'is_port', 'is_process_alive', 'is_record',
56
+ 'is_reference', 'is_tuple', 'length', 'link', 'list_to_atom',
57
+ 'list_to_binary', 'list_to_bitstring', 'list_to_existing_atom',
58
+ 'list_to_float', 'list_to_integer', 'list_to_pid', 'list_to_tuple',
59
+ 'load_module', 'localtime_to_universaltime', 'make_tuple', 'md5',
60
+ 'md5_final', 'md5_update', 'memory', 'module_loaded', 'monitor',
61
+ 'monitor_node', 'node', 'nodes', 'open_port', 'phash', 'phash2',
62
+ 'pid_to_list', 'port_close', 'port_command', 'port_connect',
63
+ 'port_control', 'port_call', 'port_info', 'port_to_list',
64
+ 'process_display', 'process_flag', 'process_info', 'purge_module',
65
+ 'put', 'read_timer', 'ref_to_list', 'register', 'resume_process',
66
+ 'round', 'send', 'send_after', 'send_nosuspend', 'set_cookie',
67
+ 'setelement', 'size', 'spawn', 'spawn_link', 'spawn_monitor',
68
+ 'spawn_opt', 'split_binary', 'start_timer', 'statistics',
69
+ 'suspend_process', 'system_flag', 'system_info', 'system_monitor',
70
+ 'system_profile', 'term_to_binary', 'tl', 'trace', 'trace_delivered',
71
+ 'trace_info', 'trace_pattern', 'trunc', 'tuple_size', 'tuple_to_list',
72
+ 'universaltime_to_localtime', 'unlink', 'unregister', 'whereis'
73
+ )
74
+
75
+ operators = r'(\+\+?|--?|\*|/|<|>|/=|=:=|=/=|=<|>=|==?|<-|!|\?)'
76
+ word_operators = (
77
+ 'and', 'andalso', 'band', 'bnot', 'bor', 'bsl', 'bsr', 'bxor',
78
+ 'div', 'not', 'or', 'orelse', 'rem', 'xor'
79
+ )
80
+
81
+ atom_re = r"(?:[a-z]\w*|'[^\n']*[^\\]')"
82
+
83
+ variable_re = r'(?:[A-Z_]\w*)'
84
+
85
+ esc_char_re = r'[bdefnrstv\'"\\]'
86
+ esc_octal_re = r'[0-7][0-7]?[0-7]?'
87
+ esc_hex_re = r'(?:x[0-9a-fA-F]{2}|x\{[0-9a-fA-F]+\})'
88
+ esc_ctrl_re = r'\^[a-zA-Z]'
89
+ escape_re = r'(?:\\(?:'+esc_char_re+r'|'+esc_octal_re+r'|'+esc_hex_re+r'|'+esc_ctrl_re+r'))'
90
+
91
+ macro_re = r'(?:'+variable_re+r'|'+atom_re+r')'
92
+
93
+ base_re = r'(?:[2-9]|[12][0-9]|3[0-6])'
94
+
95
+ tokens = {
96
+ 'root': [
97
+ (r'\s+', Text),
98
+ (r'%.*\n', Comment),
99
+ (words(keywords, suffix=r'\b'), Keyword),
100
+ (words(builtins, suffix=r'\b'), Name.Builtin),
101
+ (words(word_operators, suffix=r'\b'), Operator.Word),
102
+ (r'^-', Punctuation, 'directive'),
103
+ (operators, Operator),
104
+ (r'"', String, 'string'),
105
+ (r'<<', Name.Label),
106
+ (r'>>', Name.Label),
107
+ ('(' + atom_re + ')(:)', bygroups(Name.Namespace, Punctuation)),
108
+ ('(?:^|(?<=:))(' + atom_re + r')(\s*)(\()',
109
+ bygroups(Name.Function, Text, Punctuation)),
110
+ (r'[+-]?' + base_re + r'#[0-9a-zA-Z]+', Number.Integer),
111
+ (r'[+-]?\d+', Number.Integer),
112
+ (r'[+-]?\d+.\d+', Number.Float),
113
+ (r'[]\[:_@\".{}()|;,]', Punctuation),
114
+ (variable_re, Name.Variable),
115
+ (atom_re, Name),
116
+ (r'\?'+macro_re, Name.Constant),
117
+ (r'\$(?:'+escape_re+r'|\\[ %]|[^\\])', String.Char),
118
+ (r'#'+atom_re+r'(:?\.'+atom_re+r')?', Name.Label),
119
+
120
+ # Erlang script shebang
121
+ (r'\A#!.+\n', Comment.Hashbang),
122
+
123
+ # EEP 43: Maps
124
+ # http://www.erlang.org/eeps/eep-0043.html
125
+ (r'#\{', Punctuation, 'map_key'),
126
+ ],
127
+ 'string': [
128
+ (escape_re, String.Escape),
129
+ (r'"', String, '#pop'),
130
+ (r'~[0-9.*]*[~#+BPWXb-ginpswx]', String.Interpol),
131
+ (r'[^"\\~]+', String),
132
+ (r'~', String),
133
+ ],
134
+ 'directive': [
135
+ (r'(define)(\s*)(\()('+macro_re+r')',
136
+ bygroups(Name.Entity, Text, Punctuation, Name.Constant), '#pop'),
137
+ (r'(record)(\s*)(\()('+macro_re+r')',
138
+ bygroups(Name.Entity, Text, Punctuation, Name.Label), '#pop'),
139
+ (atom_re, Name.Entity, '#pop'),
140
+ ],
141
+ 'map_key': [
142
+ include('root'),
143
+ (r'=>', Punctuation, 'map_val'),
144
+ (r':=', Punctuation, 'map_val'),
145
+ (r'\}', Punctuation, '#pop'),
146
+ ],
147
+ 'map_val': [
148
+ include('root'),
149
+ (r',', Punctuation, '#pop'),
150
+ (r'(?=\})', Punctuation, '#pop'),
151
+ ],
152
+ }
153
+
154
+
155
+ class ErlangShellLexer(Lexer):
156
+ """
157
+ Shell sessions in erl (for Erlang code).
158
+
159
+ .. versionadded:: 1.1
160
+ """
161
+ name = 'Erlang erl session'
162
+ aliases = ['erl']
163
+ filenames = ['*.erl-sh']
164
+ mimetypes = ['text/x-erl-shellsession']
165
+
166
+ _prompt_re = re.compile(r'\d+>(?=\s|\Z)')
167
+
168
+ def get_tokens_unprocessed(self, text):
169
+ erlexer = ErlangLexer(**self.options)
170
+
171
+ curcode = ''
172
+ insertions = []
173
+ for match in line_re.finditer(text):
174
+ line = match.group()
175
+ m = self._prompt_re.match(line)
176
+ if m is not None:
177
+ end = m.end()
178
+ insertions.append((len(curcode),
179
+ [(0, Generic.Prompt, line[:end])]))
180
+ curcode += line[end:]
181
+ else:
182
+ if curcode:
183
+ for item in do_insertions(insertions,
184
+ erlexer.get_tokens_unprocessed(curcode)):
185
+ yield item
186
+ curcode = ''
187
+ insertions = []
188
+ if line.startswith('*'):
189
+ yield match.start(), Generic.Traceback, line
190
+ else:
191
+ yield match.start(), Generic.Output, line
192
+ if curcode:
193
+ for item in do_insertions(insertions,
194
+ erlexer.get_tokens_unprocessed(curcode)):
195
+ yield item
196
+
197
+
198
+ def gen_elixir_string_rules(name, symbol, token):
199
+ states = {}
200
+ states['string_' + name] = [
201
+ (r'[^#%s\\]+' % (symbol,), token),
202
+ include('escapes'),
203
+ (r'\\.', token),
204
+ (r'(%s)' % (symbol,), bygroups(token), "#pop"),
205
+ include('interpol')
206
+ ]
207
+ return states
208
+
209
+
210
+ def gen_elixir_sigstr_rules(term, token, interpol=True):
211
+ if interpol:
212
+ return [
213
+ (r'[^#%s\\]+' % (term,), token),
214
+ include('escapes'),
215
+ (r'\\.', token),
216
+ (r'%s[a-zA-Z]*' % (term,), token, '#pop'),
217
+ include('interpol')
218
+ ]
219
+ else:
220
+ return [
221
+ (r'[^%s\\]+' % (term,), token),
222
+ (r'\\.', token),
223
+ (r'%s[a-zA-Z]*' % (term,), token, '#pop'),
224
+ ]
225
+
226
+
227
+ class ElixirLexer(RegexLexer):
228
+ """
229
+ For the `Elixir language <http://elixir-lang.org>`_.
230
+
231
+ .. versionadded:: 1.5
232
+ """
233
+
234
+ name = 'Elixir'
235
+ aliases = ['elixir', 'ex', 'exs']
236
+ filenames = ['*.ex', '*.exs']
237
+ mimetypes = ['text/x-elixir']
238
+
239
+ KEYWORD = ('fn', 'do', 'end', 'after', 'else', 'rescue', 'catch')
240
+ KEYWORD_OPERATOR = ('not', 'and', 'or', 'when', 'in')
241
+ BUILTIN = (
242
+ 'case', 'cond', 'for', 'if', 'unless', 'try', 'receive', 'raise',
243
+ 'quote', 'unquote', 'unquote_splicing', 'throw', 'super',
244
+ )
245
+ BUILTIN_DECLARATION = (
246
+ 'def', 'defp', 'defmodule', 'defprotocol', 'defmacro', 'defmacrop',
247
+ 'defdelegate', 'defexception', 'defstruct', 'defimpl', 'defcallback',
248
+ )
249
+
250
+ BUILTIN_NAMESPACE = ('import', 'require', 'use', 'alias')
251
+ CONSTANT = ('nil', 'true', 'false')
252
+
253
+ PSEUDO_VAR = ('_', '__MODULE__', '__DIR__', '__ENV__', '__CALLER__')
254
+
255
+ OPERATORS3 = (
256
+ '<<<', '>>>', '|||', '&&&', '^^^', '~~~', '===', '!==',
257
+ '~>>', '<~>', '|~>', '<|>',
258
+ )
259
+ OPERATORS2 = (
260
+ '==', '!=', '<=', '>=', '&&', '||', '<>', '++', '--', '|>', '=~',
261
+ '->', '<-', '|', '.', '=', '~>', '<~',
262
+ )
263
+ OPERATORS1 = ('<', '>', '+', '-', '*', '/', '!', '^', '&')
264
+
265
+ PUNCTUATION = (
266
+ '\\\\', '<<', '>>', '=>', '(', ')', ':', ';', ',', '[', ']',
267
+ )
268
+
269
+ def get_tokens_unprocessed(self, text):
270
+ for index, token, value in RegexLexer.get_tokens_unprocessed(self, text):
271
+ if token is Name:
272
+ if value in self.KEYWORD:
273
+ yield index, Keyword, value
274
+ elif value in self.KEYWORD_OPERATOR:
275
+ yield index, Operator.Word, value
276
+ elif value in self.BUILTIN:
277
+ yield index, Keyword, value
278
+ elif value in self.BUILTIN_DECLARATION:
279
+ yield index, Keyword.Declaration, value
280
+ elif value in self.BUILTIN_NAMESPACE:
281
+ yield index, Keyword.Namespace, value
282
+ elif value in self.CONSTANT:
283
+ yield index, Name.Constant, value
284
+ elif value in self.PSEUDO_VAR:
285
+ yield index, Name.Builtin.Pseudo, value
286
+ else:
287
+ yield index, token, value
288
+ else:
289
+ yield index, token, value
290
+
291
+ def gen_elixir_sigil_rules():
292
+ # all valid sigil terminators (excluding heredocs)
293
+ terminators = [
294
+ (r'\{', r'\}', 'cb'),
295
+ (r'\[', r'\]', 'sb'),
296
+ (r'\(', r'\)', 'pa'),
297
+ (r'<', r'>', 'ab'),
298
+ (r'/', r'/', 'slas'),
299
+ (r'\|', r'\|', 'pipe'),
300
+ ('"', '"', 'quot'),
301
+ ("'", "'", 'apos'),
302
+ ]
303
+
304
+ # heredocs have slightly different rules
305
+ triquotes = [(r'"""', 'triquot'), (r"'''", 'triapos')]
306
+
307
+ token = String.Other
308
+ states = {'sigils': []}
309
+
310
+ for term, name in triquotes:
311
+ states['sigils'] += [
312
+ (r'(~[a-z])(%s)' % (term,), bygroups(token, String.Heredoc),
313
+ (name + '-end', name + '-intp')),
314
+ (r'(~[A-Z])(%s)' % (term,), bygroups(token, String.Heredoc),
315
+ (name + '-end', name + '-no-intp')),
316
+ ]
317
+
318
+ states[name + '-end'] = [
319
+ (r'[a-zA-Z]+', token, '#pop'),
320
+ default('#pop'),
321
+ ]
322
+ states[name + '-intp'] = [
323
+ (r'^\s*' + term, String.Heredoc, '#pop'),
324
+ include('heredoc_interpol'),
325
+ ]
326
+ states[name + '-no-intp'] = [
327
+ (r'^\s*' + term, String.Heredoc, '#pop'),
328
+ include('heredoc_no_interpol'),
329
+ ]
330
+
331
+ for lterm, rterm, name in terminators:
332
+ states['sigils'] += [
333
+ (r'~[a-z]' + lterm, token, name + '-intp'),
334
+ (r'~[A-Z]' + lterm, token, name + '-no-intp'),
335
+ ]
336
+ states[name + '-intp'] = gen_elixir_sigstr_rules(rterm, token)
337
+ states[name + '-no-intp'] = \
338
+ gen_elixir_sigstr_rules(rterm, token, interpol=False)
339
+
340
+ return states
341
+
342
+ op3_re = "|".join(re.escape(s) for s in OPERATORS3)
343
+ op2_re = "|".join(re.escape(s) for s in OPERATORS2)
344
+ op1_re = "|".join(re.escape(s) for s in OPERATORS1)
345
+ ops_re = r'(?:%s|%s|%s)' % (op3_re, op2_re, op1_re)
346
+ punctuation_re = "|".join(re.escape(s) for s in PUNCTUATION)
347
+ alnum = '\w'
348
+ name_re = r'(?:\.\.\.|[a-z_]%s*[!?]?)' % alnum
349
+ modname_re = r'[A-Z]%(alnum)s*(?:\.[A-Z]%(alnum)s*)*' % {'alnum': alnum}
350
+ complex_name_re = r'(?:%s|%s|%s)' % (name_re, modname_re, ops_re)
351
+ special_atom_re = r'(?:\.\.\.|<<>>|%\{\}|%|\{\})'
352
+
353
+ long_hex_char_re = r'(\\x\{)([\da-fA-F]+)(\})'
354
+ hex_char_re = r'(\\x[\da-fA-F]{1,2})'
355
+ escape_char_re = r'(\\[abdefnrstv])'
356
+
357
+ tokens = {
358
+ 'root': [
359
+ (r'\s+', Text),
360
+ (r'#.*$', Comment.Single),
361
+
362
+ # Various kinds of characters
363
+ (r'(\?)' + long_hex_char_re,
364
+ bygroups(String.Char,
365
+ String.Escape, Number.Hex, String.Escape)),
366
+ (r'(\?)' + hex_char_re,
367
+ bygroups(String.Char, String.Escape)),
368
+ (r'(\?)' + escape_char_re,
369
+ bygroups(String.Char, String.Escape)),
370
+ (r'\?\\?.', String.Char),
371
+
372
+ # '::' has to go before atoms
373
+ (r':::', String.Symbol),
374
+ (r'::', Operator),
375
+
376
+ # atoms
377
+ (r':' + special_atom_re, String.Symbol),
378
+ (r':' + complex_name_re, String.Symbol),
379
+ (r':"', String.Symbol, 'string_double_atom'),
380
+ (r":'", String.Symbol, 'string_single_atom'),
381
+
382
+ # [keywords: ...]
383
+ (r'(%s|%s)(:)(?=\s|\n)' % (special_atom_re, complex_name_re),
384
+ bygroups(String.Symbol, Punctuation)),
385
+
386
+ # @attributes
387
+ (r'@' + name_re, Name.Attribute),
388
+
389
+ # identifiers
390
+ (name_re, Name),
391
+ (r'(%%?)(%s)' % (modname_re,), bygroups(Punctuation, Name.Class)),
392
+
393
+ # operators and punctuation
394
+ (op3_re, Operator),
395
+ (op2_re, Operator),
396
+ (punctuation_re, Punctuation),
397
+ (r'&\d', Name.Entity), # anon func arguments
398
+ (op1_re, Operator),
399
+
400
+ # numbers
401
+ (r'0b[01]+', Number.Bin),
402
+ (r'0o[0-7]+', Number.Oct),
403
+ (r'0x[\da-fA-F]+', Number.Hex),
404
+ (r'\d(_?\d)*\.\d(_?\d)*([eE][-+]?\d(_?\d)*)?', Number.Float),
405
+ (r'\d(_?\d)*', Number.Integer),
406
+
407
+ # strings and heredocs
408
+ (r'"""\s*', String.Heredoc, 'heredoc_double'),
409
+ (r"'''\s*$", String.Heredoc, 'heredoc_single'),
410
+ (r'"', String.Double, 'string_double'),
411
+ (r"'", String.Single, 'string_single'),
412
+
413
+ include('sigils'),
414
+
415
+ (r'%\{', Punctuation, 'map_key'),
416
+ (r'\{', Punctuation, 'tuple'),
417
+ ],
418
+ 'heredoc_double': [
419
+ (r'^\s*"""', String.Heredoc, '#pop'),
420
+ include('heredoc_interpol'),
421
+ ],
422
+ 'heredoc_single': [
423
+ (r"^\s*'''", String.Heredoc, '#pop'),
424
+ include('heredoc_interpol'),
425
+ ],
426
+ 'heredoc_interpol': [
427
+ (r'[^#\\\n]+', String.Heredoc),
428
+ include('escapes'),
429
+ (r'\\.', String.Heredoc),
430
+ (r'\n+', String.Heredoc),
431
+ include('interpol'),
432
+ ],
433
+ 'heredoc_no_interpol': [
434
+ (r'[^\\\n]+', String.Heredoc),
435
+ (r'\\.', String.Heredoc),
436
+ (r'\n+', String.Heredoc),
437
+ ],
438
+ 'escapes': [
439
+ (long_hex_char_re,
440
+ bygroups(String.Escape, Number.Hex, String.Escape)),
441
+ (hex_char_re, String.Escape),
442
+ (escape_char_re, String.Escape),
443
+ ],
444
+ 'interpol': [
445
+ (r'#\{', String.Interpol, 'interpol_string'),
446
+ ],
447
+ 'interpol_string': [
448
+ (r'\}', String.Interpol, "#pop"),
449
+ include('root')
450
+ ],
451
+ 'map_key': [
452
+ include('root'),
453
+ (r':', Punctuation, 'map_val'),
454
+ (r'=>', Punctuation, 'map_val'),
455
+ (r'\}', Punctuation, '#pop'),
456
+ ],
457
+ 'map_val': [
458
+ include('root'),
459
+ (r',', Punctuation, '#pop'),
460
+ (r'(?=\})', Punctuation, '#pop'),
461
+ ],
462
+ 'tuple': [
463
+ include('root'),
464
+ (r'\}', Punctuation, '#pop'),
465
+ ],
466
+ }
467
+ tokens.update(gen_elixir_string_rules('double', '"', String.Double))
468
+ tokens.update(gen_elixir_string_rules('single', "'", String.Single))
469
+ tokens.update(gen_elixir_string_rules('double_atom', '"', String.Symbol))
470
+ tokens.update(gen_elixir_string_rules('single_atom', "'", String.Symbol))
471
+ tokens.update(gen_elixir_sigil_rules())
472
+
473
+
474
+ class ElixirConsoleLexer(Lexer):
475
+ """
476
+ For Elixir interactive console (iex) output like:
477
+
478
+ .. sourcecode:: iex
479
+
480
+ iex> [head | tail] = [1,2,3]
481
+ [1,2,3]
482
+ iex> head
483
+ 1
484
+ iex> tail
485
+ [2,3]
486
+ iex> [head | tail]
487
+ [1,2,3]
488
+ iex> length [head | tail]
489
+ 3
490
+
491
+ .. versionadded:: 1.5
492
+ """
493
+
494
+ name = 'Elixir iex session'
495
+ aliases = ['iex']
496
+ mimetypes = ['text/x-elixir-shellsession']
497
+
498
+ _prompt_re = re.compile('(iex|\.{3})(\(\d+\))?> ')
499
+
500
+ def get_tokens_unprocessed(self, text):
501
+ exlexer = ElixirLexer(**self.options)
502
+
503
+ curcode = ''
504
+ in_error = False
505
+ insertions = []
506
+ for match in line_re.finditer(text):
507
+ line = match.group()
508
+ if line.startswith(u'** '):
509
+ in_error = True
510
+ insertions.append((len(curcode),
511
+ [(0, Generic.Error, line[:-1])]))
512
+ curcode += line[-1:]
513
+ else:
514
+ m = self._prompt_re.match(line)
515
+ if m is not None:
516
+ in_error = False
517
+ end = m.end()
518
+ insertions.append((len(curcode),
519
+ [(0, Generic.Prompt, line[:end])]))
520
+ curcode += line[end:]
521
+ else:
522
+ if curcode:
523
+ for item in do_insertions(
524
+ insertions, exlexer.get_tokens_unprocessed(curcode)):
525
+ yield item
526
+ curcode = ''
527
+ insertions = []
528
+ token = Generic.Error if in_error else Generic.Output
529
+ yield match.start(), token, line
530
+ if curcode:
531
+ for item in do_insertions(
532
+ insertions, exlexer.get_tokens_unprocessed(curcode)):
533
+ yield item
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/esoteric.py ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.esoteric
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for esoteric languages.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, include, words
13
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
14
+ Number, Punctuation, Error
15
+
16
+ __all__ = ['BrainfuckLexer', 'BefungeLexer', 'RedcodeLexer', 'CAmkESLexer',
17
+ 'CapDLLexer', 'AheuiLexer']
18
+
19
+
20
+ class BrainfuckLexer(RegexLexer):
21
+ """
22
+ Lexer for the esoteric `BrainFuck <http://www.muppetlabs.com/~breadbox/bf/>`_
23
+ language.
24
+ """
25
+
26
+ name = 'Brainfuck'
27
+ aliases = ['brainfuck', 'bf']
28
+ filenames = ['*.bf', '*.b']
29
+ mimetypes = ['application/x-brainfuck']
30
+
31
+ tokens = {
32
+ 'common': [
33
+ # use different colors for different instruction types
34
+ (r'[.,]+', Name.Tag),
35
+ (r'[+-]+', Name.Builtin),
36
+ (r'[<>]+', Name.Variable),
37
+ (r'[^.,+\-<>\[\]]+', Comment),
38
+ ],
39
+ 'root': [
40
+ (r'\[', Keyword, 'loop'),
41
+ (r'\]', Error),
42
+ include('common'),
43
+ ],
44
+ 'loop': [
45
+ (r'\[', Keyword, '#push'),
46
+ (r'\]', Keyword, '#pop'),
47
+ include('common'),
48
+ ]
49
+ }
50
+
51
+
52
+ class BefungeLexer(RegexLexer):
53
+ """
54
+ Lexer for the esoteric `Befunge <http://en.wikipedia.org/wiki/Befunge>`_
55
+ language.
56
+
57
+ .. versionadded:: 0.7
58
+ """
59
+ name = 'Befunge'
60
+ aliases = ['befunge']
61
+ filenames = ['*.befunge']
62
+ mimetypes = ['application/x-befunge']
63
+
64
+ tokens = {
65
+ 'root': [
66
+ (r'[0-9a-f]', Number),
67
+ (r'[+*/%!`-]', Operator), # Traditional math
68
+ (r'[<>^v?\[\]rxjk]', Name.Variable), # Move, imperatives
69
+ (r'[:\\$.,n]', Name.Builtin), # Stack ops, imperatives
70
+ (r'[|_mw]', Keyword),
71
+ (r'[{}]', Name.Tag), # Befunge-98 stack ops
72
+ (r'".*?"', String.Double), # Strings don't appear to allow escapes
73
+ (r'\'.', String.Single), # Single character
74
+ (r'[#;]', Comment), # Trampoline... depends on direction hit
75
+ (r'[pg&~=@iotsy]', Keyword), # Misc
76
+ (r'[()A-Z]', Comment), # Fingerprints
77
+ (r'\s+', Text), # Whitespace doesn't matter
78
+ ],
79
+ }
80
+
81
+
82
+ class CAmkESLexer(RegexLexer):
83
+ """
84
+ Basic lexer for the input language for the
85
+ `CAmkES <https://sel4.systems/CAmkES/>`_ component platform.
86
+
87
+ .. versionadded:: 2.1
88
+ """
89
+ name = 'CAmkES'
90
+ aliases = ['camkes', 'idl4']
91
+ filenames = ['*.camkes', '*.idl4']
92
+
93
+ tokens = {
94
+ 'root': [
95
+ # C pre-processor directive
96
+ (r'^\s*#.*\n', Comment.Preproc),
97
+
98
+ # Whitespace, comments
99
+ (r'\s+', Text),
100
+ (r'/\*(.|\n)*?\*/', Comment),
101
+ (r'//.*\n', Comment),
102
+
103
+ (r'[\[(){},.;\]]', Punctuation),
104
+ (r'[~!%^&*+=|?:<>/-]', Operator),
105
+
106
+ (words(('assembly', 'attribute', 'component', 'composition',
107
+ 'configuration', 'connection', 'connector', 'consumes',
108
+ 'control', 'dataport', 'Dataport', 'Dataports', 'emits',
109
+ 'event', 'Event', 'Events', 'export', 'from', 'group',
110
+ 'hardware', 'has', 'interface', 'Interface', 'maybe',
111
+ 'procedure', 'Procedure', 'Procedures', 'provides',
112
+ 'template', 'thread', 'threads', 'to', 'uses', 'with'),
113
+ suffix=r'\b'), Keyword),
114
+
115
+ (words(('bool', 'boolean', 'Buf', 'char', 'character', 'double',
116
+ 'float', 'in', 'inout', 'int', 'int16_6', 'int32_t',
117
+ 'int64_t', 'int8_t', 'integer', 'mutex', 'out', 'real',
118
+ 'refin', 'semaphore', 'signed', 'string', 'struct',
119
+ 'uint16_t', 'uint32_t', 'uint64_t', 'uint8_t', 'uintptr_t',
120
+ 'unsigned', 'void'),
121
+ suffix=r'\b'), Keyword.Type),
122
+
123
+ # Recognised attributes
124
+ (r'[a-zA-Z_]\w*_(priority|domain|buffer)', Keyword.Reserved),
125
+ (words(('dma_pool', 'from_access', 'to_access'), suffix=r'\b'),
126
+ Keyword.Reserved),
127
+
128
+ # CAmkES-level include
129
+ (r'import\s+(<[^>]*>|"[^"]*");', Comment.Preproc),
130
+
131
+ # C-level include
132
+ (r'include\s+(<[^>]*>|"[^"]*");', Comment.Preproc),
133
+
134
+ # Literals
135
+ (r'0[xX][\da-fA-F]+', Number.Hex),
136
+ (r'-?[\d]+', Number),
137
+ (r'-?[\d]+\.[\d]+', Number.Float),
138
+ (r'"[^"]*"', String),
139
+ (r'[Tt]rue|[Ff]alse', Name.Builtin),
140
+
141
+ # Identifiers
142
+ (r'[a-zA-Z_]\w*', Name),
143
+ ],
144
+ }
145
+
146
+
147
+ class CapDLLexer(RegexLexer):
148
+ """
149
+ Basic lexer for
150
+ `CapDL <https://ssrg.nicta.com.au/publications/nictaabstracts/Kuz_KLW_10.abstract.pml>`_.
151
+
152
+ The source of the primary tool that reads such specifications is available
153
+ at https://github.com/seL4/capdl/tree/master/capDL-tool. Note that this
154
+ lexer only supports a subset of the grammar. For example, identifiers can
155
+ shadow type names, but these instances are currently incorrectly
156
+ highlighted as types. Supporting this would need a stateful lexer that is
157
+ considered unnecessarily complex for now.
158
+
159
+ .. versionadded:: 2.2
160
+ """
161
+ name = 'CapDL'
162
+ aliases = ['capdl']
163
+ filenames = ['*.cdl']
164
+
165
+ tokens = {
166
+ 'root': [
167
+ # C pre-processor directive
168
+ (r'^\s*#.*\n', Comment.Preproc),
169
+
170
+ # Whitespace, comments
171
+ (r'\s+', Text),
172
+ (r'/\*(.|\n)*?\*/', Comment),
173
+ (r'(//|--).*\n', Comment),
174
+
175
+ (r'[<>\[(){},:;=\]]', Punctuation),
176
+ (r'\.\.', Punctuation),
177
+
178
+ (words(('arch', 'arm11', 'caps', 'child_of', 'ia32', 'irq', 'maps',
179
+ 'objects'), suffix=r'\b'), Keyword),
180
+
181
+ (words(('aep', 'asid_pool', 'cnode', 'ep', 'frame', 'io_device',
182
+ 'io_ports', 'io_pt', 'notification', 'pd', 'pt', 'tcb',
183
+ 'ut', 'vcpu'), suffix=r'\b'), Keyword.Type),
184
+
185
+ # Properties
186
+ (words(('asid', 'addr', 'badge', 'cached', 'dom', 'domainID', 'elf',
187
+ 'fault_ep', 'G', 'guard', 'guard_size', 'init', 'ip',
188
+ 'prio', 'sp', 'R', 'RG', 'RX', 'RW', 'RWG', 'RWX', 'W',
189
+ 'WG', 'WX', 'level', 'masked', 'master_reply', 'paddr',
190
+ 'ports', 'reply', 'uncached'), suffix=r'\b'),
191
+ Keyword.Reserved),
192
+
193
+ # Literals
194
+ (r'0[xX][\da-fA-F]+', Number.Hex),
195
+ (r'\d+(\.\d+)?(k|M)?', Number),
196
+ (words(('bits',), suffix=r'\b'), Number),
197
+ (words(('cspace', 'vspace', 'reply_slot', 'caller_slot',
198
+ 'ipc_buffer_slot'), suffix=r'\b'), Number),
199
+
200
+ # Identifiers
201
+ (r'[a-zA-Z_][-@\.\w]*', Name),
202
+ ],
203
+ }
204
+
205
+
206
+ class RedcodeLexer(RegexLexer):
207
+ """
208
+ A simple Redcode lexer based on ICWS'94.
209
+ Contributed by Adam Blinkinsop <blinks@acm.org>.
210
+
211
+ .. versionadded:: 0.8
212
+ """
213
+ name = 'Redcode'
214
+ aliases = ['redcode']
215
+ filenames = ['*.cw']
216
+
217
+ opcodes = ('DAT', 'MOV', 'ADD', 'SUB', 'MUL', 'DIV', 'MOD',
218
+ 'JMP', 'JMZ', 'JMN', 'DJN', 'CMP', 'SLT', 'SPL',
219
+ 'ORG', 'EQU', 'END')
220
+ modifiers = ('A', 'B', 'AB', 'BA', 'F', 'X', 'I')
221
+
222
+ tokens = {
223
+ 'root': [
224
+ # Whitespace:
225
+ (r'\s+', Text),
226
+ (r';.*$', Comment.Single),
227
+ # Lexemes:
228
+ # Identifiers
229
+ (r'\b(%s)\b' % '|'.join(opcodes), Name.Function),
230
+ (r'\b(%s)\b' % '|'.join(modifiers), Name.Decorator),
231
+ (r'[A-Za-z_]\w+', Name),
232
+ # Operators
233
+ (r'[-+*/%]', Operator),
234
+ (r'[#$@<>]', Operator), # mode
235
+ (r'[.,]', Punctuation), # mode
236
+ # Numbers
237
+ (r'[-+]?\d+', Number.Integer),
238
+ ],
239
+ }
240
+
241
+
242
+ class AheuiLexer(RegexLexer):
243
+ """
244
+ Aheui_ Lexer.
245
+
246
+ Aheui_ is esoteric language based on Korean alphabets.
247
+
248
+ .. _Aheui:: http://aheui.github.io/
249
+
250
+ """
251
+
252
+ name = 'Aheui'
253
+ aliases = ['aheui']
254
+ filenames = ['*.aheui']
255
+
256
+ tokens = {
257
+ 'root': [
258
+ (u'['
259
+ u'나-낳냐-냫너-넣녀-녛노-놓뇨-눟뉴-닇'
260
+ u'다-닿댜-댷더-덯뎌-뎧도-돟됴-둫듀-딓'
261
+ u'따-땋땨-떃떠-떻뗘-뗳또-똫뚀-뚷뜌-띟'
262
+ u'라-랗랴-럏러-렇려-렿로-롷료-뤃류-릫'
263
+ u'마-맣먀-먛머-멓며-몋모-뫃묘-뭏뮤-믷'
264
+ u'바-밯뱌-뱧버-벟벼-볗보-봏뵤-붛뷰-빃'
265
+ u'빠-빻뺘-뺳뻐-뻫뼈-뼣뽀-뽛뾰-뿧쀼-삏'
266
+ u'사-샇샤-샿서-섷셔-셯소-솧쇼-숳슈-싛'
267
+ u'싸-쌓쌰-썋써-쎃쎠-쎻쏘-쏳쑈-쑿쓔-씧'
268
+ u'자-잫쟈-쟣저-젛져-졓조-좋죠-줗쥬-즿'
269
+ u'차-챃챠-챻처-첳쳐-쳫초-촣쵸-춯츄-칗'
270
+ u'카-캏캬-컇커-컿켜-켷코-콯쿄-쿻큐-킣'
271
+ u'타-탛탸-턓터-텋텨-톃토-톻툐-퉇튜-틯'
272
+ u'파-팧퍄-퍟퍼-펗펴-폏포-퐇표-풓퓨-픻'
273
+ u'하-핳햐-햫허-헣혀-혛호-홓효-훟휴-힇'
274
+ u']', Operator),
275
+ ('.', Comment),
276
+ ],
277
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/fantom.py ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.fantom
4
+ ~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexer for the Fantom language.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from string import Template
13
+
14
+ from pygments.lexer import RegexLexer, include, bygroups, using, \
15
+ this, default, words
16
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
17
+ Number, Punctuation, Literal
18
+
19
+ __all__ = ['FantomLexer']
20
+
21
+
22
+ class FantomLexer(RegexLexer):
23
+ """
24
+ For Fantom source code.
25
+
26
+ .. versionadded:: 1.5
27
+ """
28
+ name = 'Fantom'
29
+ aliases = ['fan']
30
+ filenames = ['*.fan']
31
+ mimetypes = ['application/x-fantom']
32
+
33
+ # often used regexes
34
+ def s(str):
35
+ return Template(str).substitute(
36
+ dict(
37
+ pod=r'[\"\w\.]+',
38
+ eos=r'\n|;',
39
+ id=r'[a-zA-Z_]\w*',
40
+ # all chars which can be part of type definition. Starts with
41
+ # either letter, or [ (maps), or | (funcs)
42
+ type=r'(?:\[|[a-zA-Z_]|\|)[:\w\[\]|\->?]*?',
43
+ )
44
+ )
45
+
46
+ tokens = {
47
+ 'comments': [
48
+ (r'(?s)/\*.*?\*/', Comment.Multiline), # Multiline
49
+ (r'//.*?\n', Comment.Single), # Single line
50
+ # TODO: highlight references in fandocs
51
+ (r'\*\*.*?\n', Comment.Special), # Fandoc
52
+ (r'#.*\n', Comment.Single) # Shell-style
53
+ ],
54
+ 'literals': [
55
+ (r'\b-?[\d_]+(ns|ms|sec|min|hr|day)', Number), # Duration
56
+ (r'\b-?[\d_]*\.[\d_]+(ns|ms|sec|min|hr|day)', Number), # Duration with dot
57
+ (r'\b-?(\d+)?\.\d+(f|F|d|D)?', Number.Float), # Float/Decimal
58
+ (r'\b-?0x[0-9a-fA-F_]+', Number.Hex), # Hex
59
+ (r'\b-?[\d_]+', Number.Integer), # Int
60
+ (r"'\\.'|'[^\\]'|'\\u[0-9a-f]{4}'", String.Char), # Char
61
+ (r'"', Punctuation, 'insideStr'), # Opening quote
62
+ (r'`', Punctuation, 'insideUri'), # Opening accent
63
+ (r'\b(true|false|null)\b', Keyword.Constant), # Bool & null
64
+ (r'(?:(\w+)(::))?(\w+)(<\|)(.*?)(\|>)', # DSL
65
+ bygroups(Name.Namespace, Punctuation, Name.Class,
66
+ Punctuation, String, Punctuation)),
67
+ (r'(?:(\w+)(::))?(\w+)?(#)(\w+)?', # Type/slot literal
68
+ bygroups(Name.Namespace, Punctuation, Name.Class,
69
+ Punctuation, Name.Function)),
70
+ (r'\[,\]', Literal), # Empty list
71
+ (s(r'($type)(\[,\])'), # Typed empty list
72
+ bygroups(using(this, state='inType'), Literal)),
73
+ (r'\[:\]', Literal), # Empty Map
74
+ (s(r'($type)(\[:\])'),
75
+ bygroups(using(this, state='inType'), Literal)),
76
+ ],
77
+ 'insideStr': [
78
+ (r'\\\\', String.Escape), # Escaped backslash
79
+ (r'\\"', String.Escape), # Escaped "
80
+ (r'\\`', String.Escape), # Escaped `
81
+ (r'\$\w+', String.Interpol), # Subst var
82
+ (r'\$\{.*?\}', String.Interpol), # Subst expr
83
+ (r'"', Punctuation, '#pop'), # Closing quot
84
+ (r'.', String) # String content
85
+ ],
86
+ 'insideUri': [ # TODO: remove copy/paste str/uri
87
+ (r'\\\\', String.Escape), # Escaped backslash
88
+ (r'\\"', String.Escape), # Escaped "
89
+ (r'\\`', String.Escape), # Escaped `
90
+ (r'\$\w+', String.Interpol), # Subst var
91
+ (r'\$\{.*?\}', String.Interpol), # Subst expr
92
+ (r'`', Punctuation, '#pop'), # Closing tick
93
+ (r'.', String.Backtick) # URI content
94
+ ],
95
+ 'protectionKeywords': [
96
+ (r'\b(public|protected|private|internal)\b', Keyword),
97
+ ],
98
+ 'typeKeywords': [
99
+ (r'\b(abstract|final|const|native|facet|enum)\b', Keyword),
100
+ ],
101
+ 'methodKeywords': [
102
+ (r'\b(abstract|native|once|override|static|virtual|final)\b',
103
+ Keyword),
104
+ ],
105
+ 'fieldKeywords': [
106
+ (r'\b(abstract|const|final|native|override|static|virtual|'
107
+ r'readonly)\b', Keyword)
108
+ ],
109
+ 'otherKeywords': [
110
+ (words((
111
+ 'try', 'catch', 'throw', 'finally', 'for', 'if', 'else', 'while',
112
+ 'as', 'is', 'isnot', 'switch', 'case', 'default', 'continue',
113
+ 'break', 'do', 'return', 'get', 'set'), prefix=r'\b', suffix=r'\b'),
114
+ Keyword),
115
+ (r'\b(it|this|super)\b', Name.Builtin.Pseudo),
116
+ ],
117
+ 'operators': [
118
+ (r'\+\+|\-\-|\+|\-|\*|/|\|\||&&|<=>|<=|<|>=|>|=|!|\[|\]', Operator)
119
+ ],
120
+ 'inType': [
121
+ (r'[\[\]|\->:?]', Punctuation),
122
+ (s(r'$id'), Name.Class),
123
+ default('#pop'),
124
+
125
+ ],
126
+ 'root': [
127
+ include('comments'),
128
+ include('protectionKeywords'),
129
+ include('typeKeywords'),
130
+ include('methodKeywords'),
131
+ include('fieldKeywords'),
132
+ include('literals'),
133
+ include('otherKeywords'),
134
+ include('operators'),
135
+ (r'using\b', Keyword.Namespace, 'using'), # Using stmt
136
+ (r'@\w+', Name.Decorator, 'facet'), # Symbol
137
+ (r'(class|mixin)(\s+)(\w+)', bygroups(Keyword, Text, Name.Class),
138
+ 'inheritance'), # Inheritance list
139
+
140
+ # Type var := val
141
+ (s(r'($type)([ \t]+)($id)(\s*)(:=)'),
142
+ bygroups(using(this, state='inType'), Text,
143
+ Name.Variable, Text, Operator)),
144
+
145
+ # var := val
146
+ (s(r'($id)(\s*)(:=)'),
147
+ bygroups(Name.Variable, Text, Operator)),
148
+
149
+ # .someId( or ->someId( ###
150
+ (s(r'(\.|(?:\->))($id)(\s*)(\()'),
151
+ bygroups(Operator, Name.Function, Text, Punctuation),
152
+ 'insideParen'),
153
+
154
+ # .someId or ->someId
155
+ (s(r'(\.|(?:\->))($id)'),
156
+ bygroups(Operator, Name.Function)),
157
+
158
+ # new makeXXX (
159
+ (r'(new)(\s+)(make\w*)(\s*)(\()',
160
+ bygroups(Keyword, Text, Name.Function, Text, Punctuation),
161
+ 'insideMethodDeclArgs'),
162
+
163
+ # Type name (
164
+ (s(r'($type)([ \t]+)' # Return type and whitespace
165
+ r'($id)(\s*)(\()'), # method name + open brace
166
+ bygroups(using(this, state='inType'), Text,
167
+ Name.Function, Text, Punctuation),
168
+ 'insideMethodDeclArgs'),
169
+
170
+ # ArgType argName,
171
+ (s(r'($type)(\s+)($id)(\s*)(,)'),
172
+ bygroups(using(this, state='inType'), Text, Name.Variable,
173
+ Text, Punctuation)),
174
+
175
+ # ArgType argName)
176
+ # Covered in 'insideParen' state
177
+
178
+ # ArgType argName -> ArgType|
179
+ (s(r'($type)(\s+)($id)(\s*)(\->)(\s*)($type)(\|)'),
180
+ bygroups(using(this, state='inType'), Text, Name.Variable,
181
+ Text, Punctuation, Text, using(this, state='inType'),
182
+ Punctuation)),
183
+
184
+ # ArgType argName|
185
+ (s(r'($type)(\s+)($id)(\s*)(\|)'),
186
+ bygroups(using(this, state='inType'), Text, Name.Variable,
187
+ Text, Punctuation)),
188
+
189
+ # Type var
190
+ (s(r'($type)([ \t]+)($id)'),
191
+ bygroups(using(this, state='inType'), Text,
192
+ Name.Variable)),
193
+
194
+ (r'\(', Punctuation, 'insideParen'),
195
+ (r'\{', Punctuation, 'insideBrace'),
196
+ (r'.', Text)
197
+ ],
198
+ 'insideParen': [
199
+ (r'\)', Punctuation, '#pop'),
200
+ include('root'),
201
+ ],
202
+ 'insideMethodDeclArgs': [
203
+ (r'\)', Punctuation, '#pop'),
204
+ (s(r'($type)(\s+)($id)(\s*)(\))'),
205
+ bygroups(using(this, state='inType'), Text, Name.Variable,
206
+ Text, Punctuation), '#pop'),
207
+ include('root'),
208
+ ],
209
+ 'insideBrace': [
210
+ (r'\}', Punctuation, '#pop'),
211
+ include('root'),
212
+ ],
213
+ 'inheritance': [
214
+ (r'\s+', Text), # Whitespace
215
+ (r':|,', Punctuation),
216
+ (r'(?:(\w+)(::))?(\w+)',
217
+ bygroups(Name.Namespace, Punctuation, Name.Class)),
218
+ (r'\{', Punctuation, '#pop')
219
+ ],
220
+ 'using': [
221
+ (r'[ \t]+', Text), # consume whitespaces
222
+ (r'(\[)(\w+)(\])',
223
+ bygroups(Punctuation, Comment.Special, Punctuation)), # ffi
224
+ (r'(\")?([\w.]+)(\")?',
225
+ bygroups(Punctuation, Name.Namespace, Punctuation)), # podname
226
+ (r'::', Punctuation, 'usingClass'),
227
+ default('#pop')
228
+ ],
229
+ 'usingClass': [
230
+ (r'[ \t]+', Text), # consume whitespaces
231
+ (r'(as)(\s+)(\w+)',
232
+ bygroups(Keyword.Declaration, Text, Name.Class), '#pop:2'),
233
+ (r'[\w$]+', Name.Class),
234
+ default('#pop:2') # jump out to root state
235
+ ],
236
+ 'facet': [
237
+ (r'\s+', Text),
238
+ (r'\{', Punctuation, 'facetFields'),
239
+ default('#pop')
240
+ ],
241
+ 'facetFields': [
242
+ include('comments'),
243
+ include('literals'),
244
+ include('operators'),
245
+ (r'\s+', Text),
246
+ (r'(\s*)(\w+)(\s*)(=)', bygroups(Text, Name, Text, Operator)),
247
+ (r'\}', Punctuation, '#pop'),
248
+ (r'.', Text)
249
+ ],
250
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/forth.py ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.forth
4
+ ~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
7
+ :license: BSD, see LICENSE for details.
8
+ """
9
+
10
+ import re
11
+
12
+ from pygments.lexer import RegexLexer, include, bygroups
13
+ from pygments.token import Error, Punctuation, Literal, Token, \
14
+ Text, Comment, Operator, Keyword, Name, String, Number, Generic
15
+
16
+
17
+ __all__ = ['ForthLexer']
18
+
19
+
20
+ class ForthLexer(RegexLexer):
21
+ """
22
+ Lexer for Forth files.
23
+
24
+ .. versionadded:: 2.2
25
+ """
26
+ name = 'Forth'
27
+ aliases = ['forth']
28
+ filenames = ['*.frt', '*.fs']
29
+ mimetypes = ['application/x-forth']
30
+
31
+ delimiter = r'\s'
32
+ delimiter_end = r'(?=[%s])' % delimiter
33
+
34
+ valid_name_chars = r'[^%s]' % delimiter
35
+ valid_name = r"%s+%s" % (valid_name_chars, delimiter_end)
36
+
37
+ flags = re.IGNORECASE | re.MULTILINE
38
+
39
+ tokens = {
40
+ 'root': [
41
+ (r'\s+', Text),
42
+ # All comment types
43
+ (r'\\.*?\n', Comment.Single),
44
+ (r'\([\s].*?\)', Comment.Single),
45
+ # defining words. The next word is a new command name
46
+ (r'(:|variable|constant|value|buffer:)(\s+)',
47
+ bygroups(Keyword.Namespace, Text), 'worddef'),
48
+ # strings are rather simple
49
+ (r'([.sc]")(\s+?)', bygroups(String, Text), 'stringdef'),
50
+ # keywords from the various wordsets
51
+ # *** Wordset BLOCK
52
+ (r'(blk|block|buffer|evaluate|flush|load|save-buffers|update|'
53
+ # *** Wordset BLOCK-EXT
54
+ r'empty-buffers|list|refill|scr|thru|'
55
+ # *** Wordset CORE
56
+ r'\#s|\*\/mod|\+loop|\/mod|0<|0=|1\+|1-|2!|'
57
+ r'2\*|2\/|2@|2drop|2dup|2over|2swap|>body|'
58
+ r'>in|>number|>r|\?dup|abort|abort\"|abs|'
59
+ r'accept|align|aligned|allot|and|base|begin|'
60
+ r'bl|c!|c,|c@|cell\+|cells|char|char\+|'
61
+ r'chars|constant|count|cr|create|decimal|'
62
+ r'depth|do|does>|drop|dup|else|emit|environment\?|'
63
+ r'evaluate|execute|exit|fill|find|fm\/mod|'
64
+ r'here|hold|i|if|immediate|invert|j|key|'
65
+ r'leave|literal|loop|lshift|m\*|max|min|'
66
+ r'mod|move|negate|or|over|postpone|quit|'
67
+ r'r>|r@|recurse|repeat|rot|rshift|s\"|s>d|'
68
+ r'sign|sm\/rem|source|space|spaces|state|swap|'
69
+ r'then|type|u\.|u\<|um\*|um\/mod|unloop|until|'
70
+ r'variable|while|word|xor|\[char\]|\[\'\]|'
71
+ r'@|!|\#|<\#|\#>|:|;|\+|-|\*|\/|,|<|>|\|1\+|1-|\.|'
72
+ # *** Wordset CORE-EXT
73
+ r'\.r|0<>|'
74
+ r'0>|2>r|2r>|2r@|:noname|\?do|again|c\"|'
75
+ r'case|compile,|endcase|endof|erase|false|'
76
+ r'hex|marker|nip|of|pad|parse|pick|refill|'
77
+ r'restore-input|roll|save-input|source-id|to|'
78
+ r'true|tuck|u\.r|u>|unused|value|within|'
79
+ r'\[compile\]|'
80
+ # *** Wordset CORE-EXT-obsolescent
81
+ r'\#tib|convert|expect|query|span|'
82
+ r'tib|'
83
+ # *** Wordset DOUBLE
84
+ r'2constant|2literal|2variable|d\+|d-|'
85
+ r'd\.|d\.r|d0<|d0=|d2\*|d2\/|d<|d=|d>s|'
86
+ r'dabs|dmax|dmin|dnegate|m\*\/|m\+|'
87
+ # *** Wordset DOUBLE-EXT
88
+ r'2rot|du<|'
89
+ # *** Wordset EXCEPTION
90
+ r'catch|throw|'
91
+ # *** Wordset EXCEPTION-EXT
92
+ r'abort|abort\"|'
93
+ # *** Wordset FACILITY
94
+ r'at-xy|key\?|page|'
95
+ # *** Wordset FACILITY-EXT
96
+ r'ekey|ekey>char|ekey\?|emit\?|ms|time&date|'
97
+ # *** Wordset FILE
98
+ r'BIN|CLOSE-FILE|CREATE-FILE|DELETE-FILE|FILE-POSITION|'
99
+ r'FILE-SIZE|INCLUDE-FILE|INCLUDED|OPEN-FILE|R\/O|'
100
+ r'R\/W|READ-FILE|READ-LINE|REPOSITION-FILE|RESIZE-FILE|'
101
+ r'S\"|SOURCE-ID|W/O|WRITE-FILE|WRITE-LINE|'
102
+ # *** Wordset FILE-EXT
103
+ r'FILE-STATUS|FLUSH-FILE|REFILL|RENAME-FILE|'
104
+ # *** Wordset FLOAT
105
+ r'>float|d>f|'
106
+ r'f!|f\*|f\+|f-|f\/|f0<|f0=|f<|f>d|f@|'
107
+ r'falign|faligned|fconstant|fdepth|fdrop|fdup|'
108
+ r'fliteral|float\+|floats|floor|fmax|fmin|'
109
+ r'fnegate|fover|frot|fround|fswap|fvariable|'
110
+ r'represent|'
111
+ # *** Wordset FLOAT-EXT
112
+ r'df!|df@|dfalign|dfaligned|dfloat\+|'
113
+ r'dfloats|f\*\*|f\.|fabs|facos|facosh|falog|'
114
+ r'fasin|fasinh|fatan|fatan2|fatanh|fcos|fcosh|'
115
+ r'fe\.|fexp|fexpm1|fln|flnp1|flog|fs\.|fsin|'
116
+ r'fsincos|fsinh|fsqrt|ftan|ftanh|f~|precision|'
117
+ r'set-precision|sf!|sf@|sfalign|sfaligned|sfloat\+|'
118
+ r'sfloats|'
119
+ # *** Wordset LOCAL
120
+ r'\(local\)|to|'
121
+ # *** Wordset LOCAL-EXT
122
+ r'locals\||'
123
+ # *** Wordset MEMORY
124
+ r'allocate|free|resize|'
125
+ # *** Wordset SEARCH
126
+ r'definitions|find|forth-wordlist|get-current|'
127
+ r'get-order|search-wordlist|set-current|set-order|'
128
+ r'wordlist|'
129
+ # *** Wordset SEARCH-EXT
130
+ r'also|forth|only|order|previous|'
131
+ # *** Wordset STRING
132
+ r'-trailing|\/string|blank|cmove|cmove>|compare|'
133
+ r'search|sliteral|'
134
+ # *** Wordset TOOLS
135
+ r'.s|dump|see|words|'
136
+ # *** Wordset TOOLS-EXT
137
+ r';code|'
138
+ r'ahead|assembler|bye|code|cs-pick|cs-roll|'
139
+ r'editor|state|\[else\]|\[if\]|\[then\]|'
140
+ # *** Wordset TOOLS-EXT-obsolescent
141
+ r'forget|'
142
+ # Forth 2012
143
+ r'defer|defer@|defer!|action-of|begin-structure|field:|buffer:|'
144
+ r'parse-name|buffer:|traverse-wordlist|n>r|nr>|2value|fvalue|'
145
+ r'name>interpret|name>compile|name>string|'
146
+ r'cfield:|end-structure)'+delimiter, Keyword),
147
+
148
+ # Numbers
149
+ (r'(\$[0-9A-F]+)', Number.Hex),
150
+ (r'(\#|%|&|\-|\+)?[0-9]+', Number.Integer),
151
+ (r'(\#|%|&|\-|\+)?[0-9.]+', Keyword.Type),
152
+ # amforth specific
153
+ (r'(@i|!i|@e|!e|pause|noop|turnkey|sleep|'
154
+ r'itype|icompare|sp@|sp!|rp@|rp!|up@|up!|'
155
+ r'>a|a>|a@|a!|a@+|a@-|>b|b>|b@|b!|b@+|b@-|'
156
+ r'find-name|1ms|'
157
+ r'sp0|rp0|\(evaluate\)|int-trap|int!)' + delimiter,
158
+ Name.Constant),
159
+ # a proposal
160
+ (r'(do-recognizer|r:fail|recognizer:|get-recognizers|'
161
+ r'set-recognizers|r:float|r>comp|r>int|r>post|'
162
+ r'r:name|r:word|r:dnum|r:num|recognizer|forth-recognizer|'
163
+ r'rec:num|rec:float|rec:word)' + delimiter, Name.Decorator),
164
+ # defining words. The next word is a new command name
165
+ (r'(Evalue|Rvalue|Uvalue|Edefer|Rdefer|Udefer)(\s+)',
166
+ bygroups(Keyword.Namespace, Text), 'worddef'),
167
+
168
+ (valid_name, Name.Function), # Anything else is executed
169
+
170
+ ],
171
+ 'worddef': [
172
+ (r'\S+', Name.Class, '#pop'),
173
+ ],
174
+ 'stringdef': [
175
+ (r'[^"]+', String, '#pop'),
176
+ ],
177
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/functional.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.functional
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Just export lexer classes previously contained in this module.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexers.lisp import SchemeLexer, CommonLispLexer, RacketLexer, \
13
+ NewLispLexer, ShenLexer
14
+ from pygments.lexers.haskell import HaskellLexer, LiterateHaskellLexer, \
15
+ KokaLexer
16
+ from pygments.lexers.theorem import CoqLexer
17
+ from pygments.lexers.erlang import ErlangLexer, ErlangShellLexer, \
18
+ ElixirConsoleLexer, ElixirLexer
19
+ from pygments.lexers.ml import SMLLexer, OcamlLexer, OpaLexer
20
+
21
+ __all__ = []
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/go.py ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.go
4
+ ~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for the Google Go language.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, bygroups, words
15
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
16
+ Number, Punctuation
17
+
18
+ __all__ = ['GoLexer']
19
+
20
+
21
+ class GoLexer(RegexLexer):
22
+ """
23
+ For `Go <http://golang.org>`_ source.
24
+
25
+ .. versionadded:: 1.2
26
+ """
27
+ name = 'Go'
28
+ filenames = ['*.go']
29
+ aliases = ['go']
30
+ mimetypes = ['text/x-gosrc']
31
+
32
+ flags = re.MULTILINE | re.UNICODE
33
+
34
+ tokens = {
35
+ 'root': [
36
+ (r'\n', Text),
37
+ (r'\s+', Text),
38
+ (r'\\\n', Text), # line continuations
39
+ (r'//(.*?)\n', Comment.Single),
40
+ (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline),
41
+ (r'(import|package)\b', Keyword.Namespace),
42
+ (r'(var|func|struct|map|chan|type|interface|const)\b',
43
+ Keyword.Declaration),
44
+ (words((
45
+ 'break', 'default', 'select', 'case', 'defer', 'go',
46
+ 'else', 'goto', 'switch', 'fallthrough', 'if', 'range',
47
+ 'continue', 'for', 'return'), suffix=r'\b'),
48
+ Keyword),
49
+ (r'(true|false|iota|nil)\b', Keyword.Constant),
50
+ # It seems the builtin types aren't actually keywords, but
51
+ # can be used as functions. So we need two declarations.
52
+ (words((
53
+ 'uint', 'uint8', 'uint16', 'uint32', 'uint64',
54
+ 'int', 'int8', 'int16', 'int32', 'int64',
55
+ 'float', 'float32', 'float64',
56
+ 'complex64', 'complex128', 'byte', 'rune',
57
+ 'string', 'bool', 'error', 'uintptr',
58
+ 'print', 'println', 'panic', 'recover', 'close', 'complex',
59
+ 'real', 'imag', 'len', 'cap', 'append', 'copy', 'delete',
60
+ 'new', 'make'), suffix=r'\b(\()'),
61
+ bygroups(Name.Builtin, Punctuation)),
62
+ (words((
63
+ 'uint', 'uint8', 'uint16', 'uint32', 'uint64',
64
+ 'int', 'int8', 'int16', 'int32', 'int64',
65
+ 'float', 'float32', 'float64',
66
+ 'complex64', 'complex128', 'byte', 'rune',
67
+ 'string', 'bool', 'error', 'uintptr'), suffix=r'\b'),
68
+ Keyword.Type),
69
+ # imaginary_lit
70
+ (r'\d+i', Number),
71
+ (r'\d+\.\d*([Ee][-+]\d+)?i', Number),
72
+ (r'\.\d+([Ee][-+]\d+)?i', Number),
73
+ (r'\d+[Ee][-+]\d+i', Number),
74
+ # float_lit
75
+ (r'\d+(\.\d+[eE][+\-]?\d+|'
76
+ r'\.\d*|[eE][+\-]?\d+)', Number.Float),
77
+ (r'\.\d+([eE][+\-]?\d+)?', Number.Float),
78
+ # int_lit
79
+ # -- octal_lit
80
+ (r'0[0-7]+', Number.Oct),
81
+ # -- hex_lit
82
+ (r'0[xX][0-9a-fA-F]+', Number.Hex),
83
+ # -- decimal_lit
84
+ (r'(0|[1-9][0-9]*)', Number.Integer),
85
+ # char_lit
86
+ (r"""'(\\['"\\abfnrtv]|\\x[0-9a-fA-F]{2}|\\[0-7]{1,3}"""
87
+ r"""|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|[^\\])'""",
88
+ String.Char),
89
+ # StringLiteral
90
+ # -- raw_string_lit
91
+ (r'`[^`]*`', String),
92
+ # -- interpreted_string_lit
93
+ (r'"(\\\\|\\"|[^"])*"', String),
94
+ # Tokens
95
+ (r'(<<=|>>=|<<|>>|<=|>=|&\^=|&\^|\+=|-=|\*=|/=|%=|&=|\|=|&&|\|\|'
96
+ r'|<-|\+\+|--|==|!=|:=|\.\.\.|[+\-*/%&])', Operator),
97
+ (r'[|^<>=!()\[\]{}.,;:]', Punctuation),
98
+ # identifier
99
+ (r'[^\W\d]\w*', Name.Other),
100
+ ]
101
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/haxe.py ADDED
@@ -0,0 +1,936 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.haxe
4
+ ~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for Haxe and related stuff.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import ExtendedRegexLexer, RegexLexer, include, bygroups, \
15
+ default
16
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
17
+ Number, Punctuation, Generic, Whitespace
18
+
19
+ __all__ = ['HaxeLexer', 'HxmlLexer']
20
+
21
+
22
+ class HaxeLexer(ExtendedRegexLexer):
23
+ """
24
+ For Haxe source code (http://haxe.org/).
25
+
26
+ .. versionadded:: 1.3
27
+ """
28
+
29
+ name = 'Haxe'
30
+ aliases = ['hx', 'haxe', 'hxsl']
31
+ filenames = ['*.hx', '*.hxsl']
32
+ mimetypes = ['text/haxe', 'text/x-haxe', 'text/x-hx']
33
+
34
+ # keywords extracted from lexer.mll in the haxe compiler source
35
+ keyword = (r'(?:function|class|static|var|if|else|while|do|for|'
36
+ r'break|return|continue|extends|implements|import|'
37
+ r'switch|case|default|public|private|try|untyped|'
38
+ r'catch|new|this|throw|extern|enum|in|interface|'
39
+ r'cast|override|dynamic|typedef|package|'
40
+ r'inline|using|null|true|false|abstract)\b')
41
+
42
+ # idtype in lexer.mll
43
+ typeid = r'_*[A-Z]\w*'
44
+
45
+ # combined ident and dollar and idtype
46
+ ident = r'(?:_*[a-z]\w*|_+[0-9]\w*|' + typeid + '|_+|\$\w+)'
47
+
48
+ binop = (r'(?:%=|&=|\|=|\^=|\+=|\-=|\*=|/=|<<=|>\s*>\s*=|>\s*>\s*>\s*=|==|'
49
+ r'!=|<=|>\s*=|&&|\|\||<<|>>>|>\s*>|\.\.\.|<|>|%|&|\||\^|\+|\*|'
50
+ r'/|\-|=>|=)')
51
+
52
+ # ident except keywords
53
+ ident_no_keyword = r'(?!' + keyword + ')' + ident
54
+
55
+ flags = re.DOTALL | re.MULTILINE
56
+
57
+ preproc_stack = []
58
+
59
+ def preproc_callback(self, match, ctx):
60
+ proc = match.group(2)
61
+
62
+ if proc == 'if':
63
+ # store the current stack
64
+ self.preproc_stack.append(ctx.stack[:])
65
+ elif proc in ['else', 'elseif']:
66
+ # restore the stack back to right before #if
67
+ if self.preproc_stack:
68
+ ctx.stack = self.preproc_stack[-1][:]
69
+ elif proc == 'end':
70
+ # remove the saved stack of previous #if
71
+ if self.preproc_stack:
72
+ self.preproc_stack.pop()
73
+
74
+ # #if and #elseif should follow by an expr
75
+ if proc in ['if', 'elseif']:
76
+ ctx.stack.append('preproc-expr')
77
+
78
+ # #error can be optionally follow by the error msg
79
+ if proc in ['error']:
80
+ ctx.stack.append('preproc-error')
81
+
82
+ yield match.start(), Comment.Preproc, '#' + proc
83
+ ctx.pos = match.end()
84
+
85
+ tokens = {
86
+ 'root': [
87
+ include('spaces'),
88
+ include('meta'),
89
+ (r'(?:package)\b', Keyword.Namespace, ('semicolon', 'package')),
90
+ (r'(?:import)\b', Keyword.Namespace, ('semicolon', 'import')),
91
+ (r'(?:using)\b', Keyword.Namespace, ('semicolon', 'using')),
92
+ (r'(?:extern|private)\b', Keyword.Declaration),
93
+ (r'(?:abstract)\b', Keyword.Declaration, 'abstract'),
94
+ (r'(?:class|interface)\b', Keyword.Declaration, 'class'),
95
+ (r'(?:enum)\b', Keyword.Declaration, 'enum'),
96
+ (r'(?:typedef)\b', Keyword.Declaration, 'typedef'),
97
+
98
+ # top-level expression
99
+ # although it is not supported in haxe, but it is common to write
100
+ # expression in web pages the positive lookahead here is to prevent
101
+ # an infinite loop at the EOF
102
+ (r'(?=.)', Text, 'expr-statement'),
103
+ ],
104
+
105
+ # space/tab/comment/preproc
106
+ 'spaces': [
107
+ (r'\s+', Text),
108
+ (r'//[^\n\r]*', Comment.Single),
109
+ (r'/\*.*?\*/', Comment.Multiline),
110
+ (r'(#)(if|elseif|else|end|error)\b', preproc_callback),
111
+ ],
112
+
113
+ 'string-single-interpol': [
114
+ (r'\$\{', String.Interpol, ('string-interpol-close', 'expr')),
115
+ (r'\$\$', String.Escape),
116
+ (r'\$(?=' + ident + ')', String.Interpol, 'ident'),
117
+ include('string-single'),
118
+ ],
119
+
120
+ 'string-single': [
121
+ (r"'", String.Single, '#pop'),
122
+ (r'\\.', String.Escape),
123
+ (r'.', String.Single),
124
+ ],
125
+
126
+ 'string-double': [
127
+ (r'"', String.Double, '#pop'),
128
+ (r'\\.', String.Escape),
129
+ (r'.', String.Double),
130
+ ],
131
+
132
+ 'string-interpol-close': [
133
+ (r'\$'+ident, String.Interpol),
134
+ (r'\}', String.Interpol, '#pop'),
135
+ ],
136
+
137
+ 'package': [
138
+ include('spaces'),
139
+ (ident, Name.Namespace),
140
+ (r'\.', Punctuation, 'import-ident'),
141
+ default('#pop'),
142
+ ],
143
+
144
+ 'import': [
145
+ include('spaces'),
146
+ (ident, Name.Namespace),
147
+ (r'\*', Keyword), # wildcard import
148
+ (r'\.', Punctuation, 'import-ident'),
149
+ (r'in', Keyword.Namespace, 'ident'),
150
+ default('#pop'),
151
+ ],
152
+
153
+ 'import-ident': [
154
+ include('spaces'),
155
+ (r'\*', Keyword, '#pop'), # wildcard import
156
+ (ident, Name.Namespace, '#pop'),
157
+ ],
158
+
159
+ 'using': [
160
+ include('spaces'),
161
+ (ident, Name.Namespace),
162
+ (r'\.', Punctuation, 'import-ident'),
163
+ default('#pop'),
164
+ ],
165
+
166
+ 'preproc-error': [
167
+ (r'\s+', Comment.Preproc),
168
+ (r"'", String.Single, ('#pop', 'string-single')),
169
+ (r'"', String.Double, ('#pop', 'string-double')),
170
+ default('#pop'),
171
+ ],
172
+
173
+ 'preproc-expr': [
174
+ (r'\s+', Comment.Preproc),
175
+ (r'\!', Comment.Preproc),
176
+ (r'\(', Comment.Preproc, ('#pop', 'preproc-parenthesis')),
177
+
178
+ (ident, Comment.Preproc, '#pop'),
179
+
180
+ # Float
181
+ (r'\.[0-9]+', Number.Float),
182
+ (r'[0-9]+[eE][+\-]?[0-9]+', Number.Float),
183
+ (r'[0-9]+\.[0-9]*[eE][+\-]?[0-9]+', Number.Float),
184
+ (r'[0-9]+\.[0-9]+', Number.Float),
185
+ (r'[0-9]+\.(?!' + ident + '|\.\.)', Number.Float),
186
+
187
+ # Int
188
+ (r'0x[0-9a-fA-F]+', Number.Hex),
189
+ (r'[0-9]+', Number.Integer),
190
+
191
+ # String
192
+ (r"'", String.Single, ('#pop', 'string-single')),
193
+ (r'"', String.Double, ('#pop', 'string-double')),
194
+ ],
195
+
196
+ 'preproc-parenthesis': [
197
+ (r'\s+', Comment.Preproc),
198
+ (r'\)', Comment.Preproc, '#pop'),
199
+ default('preproc-expr-in-parenthesis'),
200
+ ],
201
+
202
+ 'preproc-expr-chain': [
203
+ (r'\s+', Comment.Preproc),
204
+ (binop, Comment.Preproc, ('#pop', 'preproc-expr-in-parenthesis')),
205
+ default('#pop'),
206
+ ],
207
+
208
+ # same as 'preproc-expr' but able to chain 'preproc-expr-chain'
209
+ 'preproc-expr-in-parenthesis': [
210
+ (r'\s+', Comment.Preproc),
211
+ (r'\!', Comment.Preproc),
212
+ (r'\(', Comment.Preproc,
213
+ ('#pop', 'preproc-expr-chain', 'preproc-parenthesis')),
214
+
215
+ (ident, Comment.Preproc, ('#pop', 'preproc-expr-chain')),
216
+
217
+ # Float
218
+ (r'\.[0-9]+', Number.Float, ('#pop', 'preproc-expr-chain')),
219
+ (r'[0-9]+[eE][+\-]?[0-9]+', Number.Float, ('#pop', 'preproc-expr-chain')),
220
+ (r'[0-9]+\.[0-9]*[eE][+\-]?[0-9]+', Number.Float, ('#pop', 'preproc-expr-chain')),
221
+ (r'[0-9]+\.[0-9]+', Number.Float, ('#pop', 'preproc-expr-chain')),
222
+ (r'[0-9]+\.(?!' + ident + '|\.\.)', Number.Float, ('#pop', 'preproc-expr-chain')),
223
+
224
+ # Int
225
+ (r'0x[0-9a-fA-F]+', Number.Hex, ('#pop', 'preproc-expr-chain')),
226
+ (r'[0-9]+', Number.Integer, ('#pop', 'preproc-expr-chain')),
227
+
228
+ # String
229
+ (r"'", String.Single,
230
+ ('#pop', 'preproc-expr-chain', 'string-single')),
231
+ (r'"', String.Double,
232
+ ('#pop', 'preproc-expr-chain', 'string-double')),
233
+ ],
234
+
235
+ 'abstract': [
236
+ include('spaces'),
237
+ default(('#pop', 'abstract-body', 'abstract-relation',
238
+ 'abstract-opaque', 'type-param-constraint', 'type-name')),
239
+ ],
240
+
241
+ 'abstract-body': [
242
+ include('spaces'),
243
+ (r'\{', Punctuation, ('#pop', 'class-body')),
244
+ ],
245
+
246
+ 'abstract-opaque': [
247
+ include('spaces'),
248
+ (r'\(', Punctuation, ('#pop', 'parenthesis-close', 'type')),
249
+ default('#pop'),
250
+ ],
251
+
252
+ 'abstract-relation': [
253
+ include('spaces'),
254
+ (r'(?:to|from)', Keyword.Declaration, 'type'),
255
+ (r',', Punctuation),
256
+ default('#pop'),
257
+ ],
258
+
259
+ 'meta': [
260
+ include('spaces'),
261
+ (r'@', Name.Decorator, ('meta-body', 'meta-ident', 'meta-colon')),
262
+ ],
263
+
264
+ # optional colon
265
+ 'meta-colon': [
266
+ include('spaces'),
267
+ (r':', Name.Decorator, '#pop'),
268
+ default('#pop'),
269
+ ],
270
+
271
+ # same as 'ident' but set token as Name.Decorator instead of Name
272
+ 'meta-ident': [
273
+ include('spaces'),
274
+ (ident, Name.Decorator, '#pop'),
275
+ ],
276
+
277
+ 'meta-body': [
278
+ include('spaces'),
279
+ (r'\(', Name.Decorator, ('#pop', 'meta-call')),
280
+ default('#pop'),
281
+ ],
282
+
283
+ 'meta-call': [
284
+ include('spaces'),
285
+ (r'\)', Name.Decorator, '#pop'),
286
+ default(('#pop', 'meta-call-sep', 'expr')),
287
+ ],
288
+
289
+ 'meta-call-sep': [
290
+ include('spaces'),
291
+ (r'\)', Name.Decorator, '#pop'),
292
+ (r',', Punctuation, ('#pop', 'meta-call')),
293
+ ],
294
+
295
+ 'typedef': [
296
+ include('spaces'),
297
+ default(('#pop', 'typedef-body', 'type-param-constraint',
298
+ 'type-name')),
299
+ ],
300
+
301
+ 'typedef-body': [
302
+ include('spaces'),
303
+ (r'=', Operator, ('#pop', 'optional-semicolon', 'type')),
304
+ ],
305
+
306
+ 'enum': [
307
+ include('spaces'),
308
+ default(('#pop', 'enum-body', 'bracket-open',
309
+ 'type-param-constraint', 'type-name')),
310
+ ],
311
+
312
+ 'enum-body': [
313
+ include('spaces'),
314
+ include('meta'),
315
+ (r'\}', Punctuation, '#pop'),
316
+ (ident_no_keyword, Name, ('enum-member', 'type-param-constraint')),
317
+ ],
318
+
319
+ 'enum-member': [
320
+ include('spaces'),
321
+ (r'\(', Punctuation,
322
+ ('#pop', 'semicolon', 'flag', 'function-param')),
323
+ default(('#pop', 'semicolon', 'flag')),
324
+ ],
325
+
326
+ 'class': [
327
+ include('spaces'),
328
+ default(('#pop', 'class-body', 'bracket-open', 'extends',
329
+ 'type-param-constraint', 'type-name')),
330
+ ],
331
+
332
+ 'extends': [
333
+ include('spaces'),
334
+ (r'(?:extends|implements)\b', Keyword.Declaration, 'type'),
335
+ (r',', Punctuation), # the comma is made optional here, since haxe2
336
+ # requires the comma but haxe3 does not allow it
337
+ default('#pop'),
338
+ ],
339
+
340
+ 'bracket-open': [
341
+ include('spaces'),
342
+ (r'\{', Punctuation, '#pop'),
343
+ ],
344
+
345
+ 'bracket-close': [
346
+ include('spaces'),
347
+ (r'\}', Punctuation, '#pop'),
348
+ ],
349
+
350
+ 'class-body': [
351
+ include('spaces'),
352
+ include('meta'),
353
+ (r'\}', Punctuation, '#pop'),
354
+ (r'(?:static|public|private|override|dynamic|inline|macro)\b',
355
+ Keyword.Declaration),
356
+ default('class-member'),
357
+ ],
358
+
359
+ 'class-member': [
360
+ include('spaces'),
361
+ (r'(var)\b', Keyword.Declaration,
362
+ ('#pop', 'optional-semicolon', 'var')),
363
+ (r'(function)\b', Keyword.Declaration,
364
+ ('#pop', 'optional-semicolon', 'class-method')),
365
+ ],
366
+
367
+ # local function, anonymous or not
368
+ 'function-local': [
369
+ include('spaces'),
370
+ (ident_no_keyword, Name.Function,
371
+ ('#pop', 'optional-expr', 'flag', 'function-param',
372
+ 'parenthesis-open', 'type-param-constraint')),
373
+ default(('#pop', 'optional-expr', 'flag', 'function-param',
374
+ 'parenthesis-open', 'type-param-constraint')),
375
+ ],
376
+
377
+ 'optional-expr': [
378
+ include('spaces'),
379
+ include('expr'),
380
+ default('#pop'),
381
+ ],
382
+
383
+ 'class-method': [
384
+ include('spaces'),
385
+ (ident, Name.Function, ('#pop', 'optional-expr', 'flag',
386
+ 'function-param', 'parenthesis-open',
387
+ 'type-param-constraint')),
388
+ ],
389
+
390
+ # function arguments
391
+ 'function-param': [
392
+ include('spaces'),
393
+ (r'\)', Punctuation, '#pop'),
394
+ (r'\?', Punctuation),
395
+ (ident_no_keyword, Name,
396
+ ('#pop', 'function-param-sep', 'assign', 'flag')),
397
+ ],
398
+
399
+ 'function-param-sep': [
400
+ include('spaces'),
401
+ (r'\)', Punctuation, '#pop'),
402
+ (r',', Punctuation, ('#pop', 'function-param')),
403
+ ],
404
+
405
+ 'prop-get-set': [
406
+ include('spaces'),
407
+ (r'\(', Punctuation, ('#pop', 'parenthesis-close',
408
+ 'prop-get-set-opt', 'comma', 'prop-get-set-opt')),
409
+ default('#pop'),
410
+ ],
411
+
412
+ 'prop-get-set-opt': [
413
+ include('spaces'),
414
+ (r'(?:default|null|never|dynamic|get|set)\b', Keyword, '#pop'),
415
+ (ident_no_keyword, Text, '#pop'), # custom getter/setter
416
+ ],
417
+
418
+ 'expr-statement': [
419
+ include('spaces'),
420
+ # makes semicolon optional here, just to avoid checking the last
421
+ # one is bracket or not.
422
+ default(('#pop', 'optional-semicolon', 'expr')),
423
+ ],
424
+
425
+ 'expr': [
426
+ include('spaces'),
427
+ (r'@', Name.Decorator, ('#pop', 'optional-expr', 'meta-body',
428
+ 'meta-ident', 'meta-colon')),
429
+ (r'(?:\+\+|\-\-|~(?!/)|!|\-)', Operator),
430
+ (r'\(', Punctuation, ('#pop', 'expr-chain', 'parenthesis')),
431
+ (r'(?:static|public|private|override|dynamic|inline)\b',
432
+ Keyword.Declaration),
433
+ (r'(?:function)\b', Keyword.Declaration, ('#pop', 'expr-chain',
434
+ 'function-local')),
435
+ (r'\{', Punctuation, ('#pop', 'expr-chain', 'bracket')),
436
+ (r'(?:true|false|null)\b', Keyword.Constant, ('#pop', 'expr-chain')),
437
+ (r'(?:this)\b', Keyword, ('#pop', 'expr-chain')),
438
+ (r'(?:cast)\b', Keyword, ('#pop', 'expr-chain', 'cast')),
439
+ (r'(?:try)\b', Keyword, ('#pop', 'catch', 'expr')),
440
+ (r'(?:var)\b', Keyword.Declaration, ('#pop', 'var')),
441
+ (r'(?:new)\b', Keyword, ('#pop', 'expr-chain', 'new')),
442
+ (r'(?:switch)\b', Keyword, ('#pop', 'switch')),
443
+ (r'(?:if)\b', Keyword, ('#pop', 'if')),
444
+ (r'(?:do)\b', Keyword, ('#pop', 'do')),
445
+ (r'(?:while)\b', Keyword, ('#pop', 'while')),
446
+ (r'(?:for)\b', Keyword, ('#pop', 'for')),
447
+ (r'(?:untyped|throw)\b', Keyword),
448
+ (r'(?:return)\b', Keyword, ('#pop', 'optional-expr')),
449
+ (r'(?:macro)\b', Keyword, ('#pop', 'macro')),
450
+ (r'(?:continue|break)\b', Keyword, '#pop'),
451
+ (r'(?:\$\s*[a-z]\b|\$(?!'+ident+'))', Name, ('#pop', 'dollar')),
452
+ (ident_no_keyword, Name, ('#pop', 'expr-chain')),
453
+
454
+ # Float
455
+ (r'\.[0-9]+', Number.Float, ('#pop', 'expr-chain')),
456
+ (r'[0-9]+[eE][+\-]?[0-9]+', Number.Float, ('#pop', 'expr-chain')),
457
+ (r'[0-9]+\.[0-9]*[eE][+\-]?[0-9]+', Number.Float, ('#pop', 'expr-chain')),
458
+ (r'[0-9]+\.[0-9]+', Number.Float, ('#pop', 'expr-chain')),
459
+ (r'[0-9]+\.(?!' + ident + '|\.\.)', Number.Float, ('#pop', 'expr-chain')),
460
+
461
+ # Int
462
+ (r'0x[0-9a-fA-F]+', Number.Hex, ('#pop', 'expr-chain')),
463
+ (r'[0-9]+', Number.Integer, ('#pop', 'expr-chain')),
464
+
465
+ # String
466
+ (r"'", String.Single, ('#pop', 'expr-chain', 'string-single-interpol')),
467
+ (r'"', String.Double, ('#pop', 'expr-chain', 'string-double')),
468
+
469
+ # EReg
470
+ (r'~/(\\\\|\\/|[^/\n])*/[gimsu]*', String.Regex, ('#pop', 'expr-chain')),
471
+
472
+ # Array
473
+ (r'\[', Punctuation, ('#pop', 'expr-chain', 'array-decl')),
474
+ ],
475
+
476
+ 'expr-chain': [
477
+ include('spaces'),
478
+ (r'(?:\+\+|\-\-)', Operator),
479
+ (binop, Operator, ('#pop', 'expr')),
480
+ (r'(?:in)\b', Keyword, ('#pop', 'expr')),
481
+ (r'\?', Operator, ('#pop', 'expr', 'ternary', 'expr')),
482
+ (r'(\.)(' + ident_no_keyword + ')', bygroups(Punctuation, Name)),
483
+ (r'\[', Punctuation, 'array-access'),
484
+ (r'\(', Punctuation, 'call'),
485
+ default('#pop'),
486
+ ],
487
+
488
+ # macro reification
489
+ 'macro': [
490
+ include('spaces'),
491
+ include('meta'),
492
+ (r':', Punctuation, ('#pop', 'type')),
493
+
494
+ (r'(?:extern|private)\b', Keyword.Declaration),
495
+ (r'(?:abstract)\b', Keyword.Declaration, ('#pop', 'optional-semicolon', 'abstract')),
496
+ (r'(?:class|interface)\b', Keyword.Declaration, ('#pop', 'optional-semicolon', 'macro-class')),
497
+ (r'(?:enum)\b', Keyword.Declaration, ('#pop', 'optional-semicolon', 'enum')),
498
+ (r'(?:typedef)\b', Keyword.Declaration, ('#pop', 'optional-semicolon', 'typedef')),
499
+
500
+ default(('#pop', 'expr')),
501
+ ],
502
+
503
+ 'macro-class': [
504
+ (r'\{', Punctuation, ('#pop', 'class-body')),
505
+ include('class')
506
+ ],
507
+
508
+ # cast can be written as "cast expr" or "cast(expr, type)"
509
+ 'cast': [
510
+ include('spaces'),
511
+ (r'\(', Punctuation, ('#pop', 'parenthesis-close',
512
+ 'cast-type', 'expr')),
513
+ default(('#pop', 'expr')),
514
+ ],
515
+
516
+ # optionally give a type as the 2nd argument of cast()
517
+ 'cast-type': [
518
+ include('spaces'),
519
+ (r',', Punctuation, ('#pop', 'type')),
520
+ default('#pop'),
521
+ ],
522
+
523
+ 'catch': [
524
+ include('spaces'),
525
+ (r'(?:catch)\b', Keyword, ('expr', 'function-param',
526
+ 'parenthesis-open')),
527
+ default('#pop'),
528
+ ],
529
+
530
+ # do-while loop
531
+ 'do': [
532
+ include('spaces'),
533
+ default(('#pop', 'do-while', 'expr')),
534
+ ],
535
+
536
+ # the while after do
537
+ 'do-while': [
538
+ include('spaces'),
539
+ (r'(?:while)\b', Keyword, ('#pop', 'parenthesis',
540
+ 'parenthesis-open')),
541
+ ],
542
+
543
+ 'while': [
544
+ include('spaces'),
545
+ (r'\(', Punctuation, ('#pop', 'expr', 'parenthesis')),
546
+ ],
547
+
548
+ 'for': [
549
+ include('spaces'),
550
+ (r'\(', Punctuation, ('#pop', 'expr', 'parenthesis')),
551
+ ],
552
+
553
+ 'if': [
554
+ include('spaces'),
555
+ (r'\(', Punctuation, ('#pop', 'else', 'optional-semicolon', 'expr',
556
+ 'parenthesis')),
557
+ ],
558
+
559
+ 'else': [
560
+ include('spaces'),
561
+ (r'(?:else)\b', Keyword, ('#pop', 'expr')),
562
+ default('#pop'),
563
+ ],
564
+
565
+ 'switch': [
566
+ include('spaces'),
567
+ default(('#pop', 'switch-body', 'bracket-open', 'expr')),
568
+ ],
569
+
570
+ 'switch-body': [
571
+ include('spaces'),
572
+ (r'(?:case|default)\b', Keyword, ('case-block', 'case')),
573
+ (r'\}', Punctuation, '#pop'),
574
+ ],
575
+
576
+ 'case': [
577
+ include('spaces'),
578
+ (r':', Punctuation, '#pop'),
579
+ default(('#pop', 'case-sep', 'case-guard', 'expr')),
580
+ ],
581
+
582
+ 'case-sep': [
583
+ include('spaces'),
584
+ (r':', Punctuation, '#pop'),
585
+ (r',', Punctuation, ('#pop', 'case')),
586
+ ],
587
+
588
+ 'case-guard': [
589
+ include('spaces'),
590
+ (r'(?:if)\b', Keyword, ('#pop', 'parenthesis', 'parenthesis-open')),
591
+ default('#pop'),
592
+ ],
593
+
594
+ # optional multiple expr under a case
595
+ 'case-block': [
596
+ include('spaces'),
597
+ (r'(?!(?:case|default)\b|\})', Keyword, 'expr-statement'),
598
+ default('#pop'),
599
+ ],
600
+
601
+ 'new': [
602
+ include('spaces'),
603
+ default(('#pop', 'call', 'parenthesis-open', 'type')),
604
+ ],
605
+
606
+ 'array-decl': [
607
+ include('spaces'),
608
+ (r'\]', Punctuation, '#pop'),
609
+ default(('#pop', 'array-decl-sep', 'expr')),
610
+ ],
611
+
612
+ 'array-decl-sep': [
613
+ include('spaces'),
614
+ (r'\]', Punctuation, '#pop'),
615
+ (r',', Punctuation, ('#pop', 'array-decl')),
616
+ ],
617
+
618
+ 'array-access': [
619
+ include('spaces'),
620
+ default(('#pop', 'array-access-close', 'expr')),
621
+ ],
622
+
623
+ 'array-access-close': [
624
+ include('spaces'),
625
+ (r'\]', Punctuation, '#pop'),
626
+ ],
627
+
628
+ 'comma': [
629
+ include('spaces'),
630
+ (r',', Punctuation, '#pop'),
631
+ ],
632
+
633
+ 'colon': [
634
+ include('spaces'),
635
+ (r':', Punctuation, '#pop'),
636
+ ],
637
+
638
+ 'semicolon': [
639
+ include('spaces'),
640
+ (r';', Punctuation, '#pop'),
641
+ ],
642
+
643
+ 'optional-semicolon': [
644
+ include('spaces'),
645
+ (r';', Punctuation, '#pop'),
646
+ default('#pop'),
647
+ ],
648
+
649
+ # identity that CAN be a Haxe keyword
650
+ 'ident': [
651
+ include('spaces'),
652
+ (ident, Name, '#pop'),
653
+ ],
654
+
655
+ 'dollar': [
656
+ include('spaces'),
657
+ (r'\{', Punctuation, ('#pop', 'expr-chain', 'bracket-close', 'expr')),
658
+ default(('#pop', 'expr-chain')),
659
+ ],
660
+
661
+ 'type-name': [
662
+ include('spaces'),
663
+ (typeid, Name, '#pop'),
664
+ ],
665
+
666
+ 'type-full-name': [
667
+ include('spaces'),
668
+ (r'\.', Punctuation, 'ident'),
669
+ default('#pop'),
670
+ ],
671
+
672
+ 'type': [
673
+ include('spaces'),
674
+ (r'\?', Punctuation),
675
+ (ident, Name, ('#pop', 'type-check', 'type-full-name')),
676
+ (r'\{', Punctuation, ('#pop', 'type-check', 'type-struct')),
677
+ (r'\(', Punctuation, ('#pop', 'type-check', 'type-parenthesis')),
678
+ ],
679
+
680
+ 'type-parenthesis': [
681
+ include('spaces'),
682
+ default(('#pop', 'parenthesis-close', 'type')),
683
+ ],
684
+
685
+ 'type-check': [
686
+ include('spaces'),
687
+ (r'->', Punctuation, ('#pop', 'type')),
688
+ (r'<(?!=)', Punctuation, 'type-param'),
689
+ default('#pop'),
690
+ ],
691
+
692
+ 'type-struct': [
693
+ include('spaces'),
694
+ (r'\}', Punctuation, '#pop'),
695
+ (r'\?', Punctuation),
696
+ (r'>', Punctuation, ('comma', 'type')),
697
+ (ident_no_keyword, Name, ('#pop', 'type-struct-sep', 'type', 'colon')),
698
+ include('class-body'),
699
+ ],
700
+
701
+ 'type-struct-sep': [
702
+ include('spaces'),
703
+ (r'\}', Punctuation, '#pop'),
704
+ (r',', Punctuation, ('#pop', 'type-struct')),
705
+ ],
706
+
707
+ # type-param can be a normal type or a constant literal...
708
+ 'type-param-type': [
709
+ # Float
710
+ (r'\.[0-9]+', Number.Float, '#pop'),
711
+ (r'[0-9]+[eE][+\-]?[0-9]+', Number.Float, '#pop'),
712
+ (r'[0-9]+\.[0-9]*[eE][+\-]?[0-9]+', Number.Float, '#pop'),
713
+ (r'[0-9]+\.[0-9]+', Number.Float, '#pop'),
714
+ (r'[0-9]+\.(?!' + ident + '|\.\.)', Number.Float, '#pop'),
715
+
716
+ # Int
717
+ (r'0x[0-9a-fA-F]+', Number.Hex, '#pop'),
718
+ (r'[0-9]+', Number.Integer, '#pop'),
719
+
720
+ # String
721
+ (r"'", String.Single, ('#pop', 'string-single')),
722
+ (r'"', String.Double, ('#pop', 'string-double')),
723
+
724
+ # EReg
725
+ (r'~/(\\\\|\\/|[^/\n])*/[gim]*', String.Regex, '#pop'),
726
+
727
+ # Array
728
+ (r'\[', Operator, ('#pop', 'array-decl')),
729
+
730
+ include('type'),
731
+ ],
732
+
733
+ # type-param part of a type
734
+ # ie. the <A,B> path in Map<A,B>
735
+ 'type-param': [
736
+ include('spaces'),
737
+ default(('#pop', 'type-param-sep', 'type-param-type')),
738
+ ],
739
+
740
+ 'type-param-sep': [
741
+ include('spaces'),
742
+ (r'>', Punctuation, '#pop'),
743
+ (r',', Punctuation, ('#pop', 'type-param')),
744
+ ],
745
+
746
+ # optional type-param that may include constraint
747
+ # ie. <T:Constraint, T2:(ConstraintA,ConstraintB)>
748
+ 'type-param-constraint': [
749
+ include('spaces'),
750
+ (r'<(?!=)', Punctuation, ('#pop', 'type-param-constraint-sep',
751
+ 'type-param-constraint-flag', 'type-name')),
752
+ default('#pop'),
753
+ ],
754
+
755
+ 'type-param-constraint-sep': [
756
+ include('spaces'),
757
+ (r'>', Punctuation, '#pop'),
758
+ (r',', Punctuation, ('#pop', 'type-param-constraint-sep',
759
+ 'type-param-constraint-flag', 'type-name')),
760
+ ],
761
+
762
+ # the optional constraint inside type-param
763
+ 'type-param-constraint-flag': [
764
+ include('spaces'),
765
+ (r':', Punctuation, ('#pop', 'type-param-constraint-flag-type')),
766
+ default('#pop'),
767
+ ],
768
+
769
+ 'type-param-constraint-flag-type': [
770
+ include('spaces'),
771
+ (r'\(', Punctuation, ('#pop', 'type-param-constraint-flag-type-sep',
772
+ 'type')),
773
+ default(('#pop', 'type')),
774
+ ],
775
+
776
+ 'type-param-constraint-flag-type-sep': [
777
+ include('spaces'),
778
+ (r'\)', Punctuation, '#pop'),
779
+ (r',', Punctuation, 'type'),
780
+ ],
781
+
782
+ # a parenthesis expr that contain exactly one expr
783
+ 'parenthesis': [
784
+ include('spaces'),
785
+ default(('#pop', 'parenthesis-close', 'flag', 'expr')),
786
+ ],
787
+
788
+ 'parenthesis-open': [
789
+ include('spaces'),
790
+ (r'\(', Punctuation, '#pop'),
791
+ ],
792
+
793
+ 'parenthesis-close': [
794
+ include('spaces'),
795
+ (r'\)', Punctuation, '#pop'),
796
+ ],
797
+
798
+ 'var': [
799
+ include('spaces'),
800
+ (ident_no_keyword, Text, ('#pop', 'var-sep', 'assign', 'flag', 'prop-get-set')),
801
+ ],
802
+
803
+ # optional more var decl.
804
+ 'var-sep': [
805
+ include('spaces'),
806
+ (r',', Punctuation, ('#pop', 'var')),
807
+ default('#pop'),
808
+ ],
809
+
810
+ # optional assignment
811
+ 'assign': [
812
+ include('spaces'),
813
+ (r'=', Operator, ('#pop', 'expr')),
814
+ default('#pop'),
815
+ ],
816
+
817
+ # optional type flag
818
+ 'flag': [
819
+ include('spaces'),
820
+ (r':', Punctuation, ('#pop', 'type')),
821
+ default('#pop'),
822
+ ],
823
+
824
+ # colon as part of a ternary operator (?:)
825
+ 'ternary': [
826
+ include('spaces'),
827
+ (r':', Operator, '#pop'),
828
+ ],
829
+
830
+ # function call
831
+ 'call': [
832
+ include('spaces'),
833
+ (r'\)', Punctuation, '#pop'),
834
+ default(('#pop', 'call-sep', 'expr')),
835
+ ],
836
+
837
+ # after a call param
838
+ 'call-sep': [
839
+ include('spaces'),
840
+ (r'\)', Punctuation, '#pop'),
841
+ (r',', Punctuation, ('#pop', 'call')),
842
+ ],
843
+
844
+ # bracket can be block or object
845
+ 'bracket': [
846
+ include('spaces'),
847
+ (r'(?!(?:\$\s*[a-z]\b|\$(?!'+ident+')))' + ident_no_keyword, Name,
848
+ ('#pop', 'bracket-check')),
849
+ (r"'", String.Single, ('#pop', 'bracket-check', 'string-single')),
850
+ (r'"', String.Double, ('#pop', 'bracket-check', 'string-double')),
851
+ default(('#pop', 'block')),
852
+ ],
853
+
854
+ 'bracket-check': [
855
+ include('spaces'),
856
+ (r':', Punctuation, ('#pop', 'object-sep', 'expr')), # is object
857
+ default(('#pop', 'block', 'optional-semicolon', 'expr-chain')), # is block
858
+ ],
859
+
860
+ # code block
861
+ 'block': [
862
+ include('spaces'),
863
+ (r'\}', Punctuation, '#pop'),
864
+ default('expr-statement'),
865
+ ],
866
+
867
+ # object in key-value pairs
868
+ 'object': [
869
+ include('spaces'),
870
+ (r'\}', Punctuation, '#pop'),
871
+ default(('#pop', 'object-sep', 'expr', 'colon', 'ident-or-string'))
872
+ ],
873
+
874
+ # a key of an object
875
+ 'ident-or-string': [
876
+ include('spaces'),
877
+ (ident_no_keyword, Name, '#pop'),
878
+ (r"'", String.Single, ('#pop', 'string-single')),
879
+ (r'"', String.Double, ('#pop', 'string-double')),
880
+ ],
881
+
882
+ # after a key-value pair in object
883
+ 'object-sep': [
884
+ include('spaces'),
885
+ (r'\}', Punctuation, '#pop'),
886
+ (r',', Punctuation, ('#pop', 'object')),
887
+ ],
888
+
889
+
890
+
891
+ }
892
+
893
+ def analyse_text(text):
894
+ if re.match(r'\w+\s*:\s*\w', text):
895
+ return 0.3
896
+
897
+
898
+ class HxmlLexer(RegexLexer):
899
+ """
900
+ Lexer for `haXe build <http://haxe.org/doc/compiler>`_ files.
901
+
902
+ .. versionadded:: 1.6
903
+ """
904
+ name = 'Hxml'
905
+ aliases = ['haxeml', 'hxml']
906
+ filenames = ['*.hxml']
907
+
908
+ tokens = {
909
+ 'root': [
910
+ # Seperator
911
+ (r'(--)(next)', bygroups(Punctuation, Generic.Heading)),
912
+ # Compiler switches with one dash
913
+ (r'(-)(prompt|debug|v)', bygroups(Punctuation, Keyword.Keyword)),
914
+ # Compilerswitches with two dashes
915
+ (r'(--)(neko-source|flash-strict|flash-use-stage|no-opt|no-traces|'
916
+ r'no-inline|times|no-output)', bygroups(Punctuation, Keyword)),
917
+ # Targets and other options that take an argument
918
+ (r'(-)(cpp|js|neko|x|as3|swf9?|swf-lib|php|xml|main|lib|D|resource|'
919
+ r'cp|cmd)( +)(.+)',
920
+ bygroups(Punctuation, Keyword, Whitespace, String)),
921
+ # Options that take only numerical arguments
922
+ (r'(-)(swf-version)( +)(\d+)',
923
+ bygroups(Punctuation, Keyword, Number.Integer)),
924
+ # An Option that defines the size, the fps and the background
925
+ # color of an flash movie
926
+ (r'(-)(swf-header)( +)(\d+)(:)(\d+)(:)(\d+)(:)([A-Fa-f0-9]{6})',
927
+ bygroups(Punctuation, Keyword, Whitespace, Number.Integer,
928
+ Punctuation, Number.Integer, Punctuation, Number.Integer,
929
+ Punctuation, Number.Hex)),
930
+ # options with two dashes that takes arguments
931
+ (r'(--)(js-namespace|php-front|php-lib|remap|gen-hx-classes)( +)'
932
+ r'(.+)', bygroups(Punctuation, Keyword, Whitespace, String)),
933
+ # Single line comment, multiline ones are not allowed.
934
+ (r'#.*', Comment.Single)
935
+ ]
936
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/hdl.py ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.hdl
4
+ ~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for hardware descriptor languages.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, bygroups, include, using, this, words
15
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
16
+ Number, Punctuation, Error
17
+
18
+ __all__ = ['VerilogLexer', 'SystemVerilogLexer', 'VhdlLexer']
19
+
20
+
21
+ class VerilogLexer(RegexLexer):
22
+ """
23
+ For verilog source code with preprocessor directives.
24
+
25
+ .. versionadded:: 1.4
26
+ """
27
+ name = 'verilog'
28
+ aliases = ['verilog', 'v']
29
+ filenames = ['*.v']
30
+ mimetypes = ['text/x-verilog']
31
+
32
+ #: optional Comment or Whitespace
33
+ _ws = r'(?:\s|//.*?\n|/[*].*?[*]/)+'
34
+
35
+ tokens = {
36
+ 'root': [
37
+ (r'^\s*`define', Comment.Preproc, 'macro'),
38
+ (r'\n', Text),
39
+ (r'\s+', Text),
40
+ (r'\\\n', Text), # line continuation
41
+ (r'/(\\\n)?/(\n|(.|\n)*?[^\\]\n)', Comment.Single),
42
+ (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline),
43
+ (r'[{}#@]', Punctuation),
44
+ (r'L?"', String, 'string'),
45
+ (r"L?'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'", String.Char),
46
+ (r'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?', Number.Float),
47
+ (r'(\d+\.\d*|\.\d+|\d+[fF])[fF]?', Number.Float),
48
+ (r'([0-9]+)|(\'h)[0-9a-fA-F]+', Number.Hex),
49
+ (r'([0-9]+)|(\'b)[01]+', Number.Bin),
50
+ (r'([0-9]+)|(\'d)[0-9]+', Number.Integer),
51
+ (r'([0-9]+)|(\'o)[0-7]+', Number.Oct),
52
+ (r'\'[01xz]', Number),
53
+ (r'\d+[Ll]?', Number.Integer),
54
+ (r'\*/', Error),
55
+ (r'[~!%^&*+=|?:<>/-]', Operator),
56
+ (r'[()\[\],.;\']', Punctuation),
57
+ (r'`[a-zA-Z_]\w*', Name.Constant),
58
+
59
+ (r'^(\s*)(package)(\s+)', bygroups(Text, Keyword.Namespace, Text)),
60
+ (r'^(\s*)(import)(\s+)', bygroups(Text, Keyword.Namespace, Text),
61
+ 'import'),
62
+
63
+ (words((
64
+ 'always', 'always_comb', 'always_ff', 'always_latch', 'and',
65
+ 'assign', 'automatic', 'begin', 'break', 'buf', 'bufif0', 'bufif1',
66
+ 'case', 'casex', 'casez', 'cmos', 'const', 'continue', 'deassign',
67
+ 'default', 'defparam', 'disable', 'do', 'edge', 'else', 'end', 'endcase',
68
+ 'endfunction', 'endgenerate', 'endmodule', 'endpackage', 'endprimitive',
69
+ 'endspecify', 'endtable', 'endtask', 'enum', 'event', 'final', 'for',
70
+ 'force', 'forever', 'fork', 'function', 'generate', 'genvar', 'highz0',
71
+ 'highz1', 'if', 'initial', 'inout', 'input', 'integer', 'join', 'large',
72
+ 'localparam', 'macromodule', 'medium', 'module', 'nand', 'negedge',
73
+ 'nmos', 'nor', 'not', 'notif0', 'notif1', 'or', 'output', 'packed',
74
+ 'parameter', 'pmos', 'posedge', 'primitive', 'pull0', 'pull1',
75
+ 'pulldown', 'pullup', 'rcmos', 'ref', 'release', 'repeat', 'return',
76
+ 'rnmos', 'rpmos', 'rtran', 'rtranif0', 'rtranif1', 'scalared', 'signed',
77
+ 'small', 'specify', 'specparam', 'strength', 'string', 'strong0',
78
+ 'strong1', 'struct', 'table', 'task', 'tran', 'tranif0', 'tranif1',
79
+ 'type', 'typedef', 'unsigned', 'var', 'vectored', 'void', 'wait',
80
+ 'weak0', 'weak1', 'while', 'xnor', 'xor'), suffix=r'\b'),
81
+ Keyword),
82
+
83
+ (words((
84
+ 'accelerate', 'autoexpand_vectornets', 'celldefine', 'default_nettype',
85
+ 'else', 'elsif', 'endcelldefine', 'endif', 'endprotect', 'endprotected',
86
+ 'expand_vectornets', 'ifdef', 'ifndef', 'include', 'noaccelerate',
87
+ 'noexpand_vectornets', 'noremove_gatenames', 'noremove_netnames',
88
+ 'nounconnected_drive', 'protect', 'protected', 'remove_gatenames',
89
+ 'remove_netnames', 'resetall', 'timescale', 'unconnected_drive',
90
+ 'undef'), prefix=r'`', suffix=r'\b'),
91
+ Comment.Preproc),
92
+
93
+ (words((
94
+ 'bits', 'bitstoreal', 'bitstoshortreal', 'countdrivers', 'display', 'fclose',
95
+ 'fdisplay', 'finish', 'floor', 'fmonitor', 'fopen', 'fstrobe', 'fwrite',
96
+ 'getpattern', 'history', 'incsave', 'input', 'itor', 'key', 'list', 'log',
97
+ 'monitor', 'monitoroff', 'monitoron', 'nokey', 'nolog', 'printtimescale',
98
+ 'random', 'readmemb', 'readmemh', 'realtime', 'realtobits', 'reset',
99
+ 'reset_count', 'reset_value', 'restart', 'rtoi', 'save', 'scale', 'scope',
100
+ 'shortrealtobits', 'showscopes', 'showvariables', 'showvars', 'sreadmemb',
101
+ 'sreadmemh', 'stime', 'stop', 'strobe', 'time', 'timeformat', 'write'),
102
+ prefix=r'\$', suffix=r'\b'),
103
+ Name.Builtin),
104
+
105
+ (words((
106
+ 'byte', 'shortint', 'int', 'longint', 'integer', 'time',
107
+ 'bit', 'logic', 'reg', 'supply0', 'supply1', 'tri', 'triand',
108
+ 'trior', 'tri0', 'tri1', 'trireg', 'uwire', 'wire', 'wand', 'wo'
109
+ 'shortreal', 'real', 'realtime'), suffix=r'\b'),
110
+ Keyword.Type),
111
+ (r'[a-zA-Z_]\w*:(?!:)', Name.Label),
112
+ (r'\$?[a-zA-Z_]\w*', Name),
113
+ ],
114
+ 'string': [
115
+ (r'"', String, '#pop'),
116
+ (r'\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})', String.Escape),
117
+ (r'[^\\"\n]+', String), # all other characters
118
+ (r'\\\n', String), # line continuation
119
+ (r'\\', String), # stray backslash
120
+ ],
121
+ 'macro': [
122
+ (r'[^/\n]+', Comment.Preproc),
123
+ (r'/[*](.|\n)*?[*]/', Comment.Multiline),
124
+ (r'//.*?\n', Comment.Single, '#pop'),
125
+ (r'/', Comment.Preproc),
126
+ (r'(?<=\\)\n', Comment.Preproc),
127
+ (r'\n', Comment.Preproc, '#pop'),
128
+ ],
129
+ 'import': [
130
+ (r'[\w:]+\*?', Name.Namespace, '#pop')
131
+ ]
132
+ }
133
+
134
+ def get_tokens_unprocessed(self, text):
135
+ for index, token, value in \
136
+ RegexLexer.get_tokens_unprocessed(self, text):
137
+ # Convention: mark all upper case names as constants
138
+ if token is Name:
139
+ if value.isupper():
140
+ token = Name.Constant
141
+ yield index, token, value
142
+
143
+
144
+ class SystemVerilogLexer(RegexLexer):
145
+ """
146
+ Extends verilog lexer to recognise all SystemVerilog keywords from IEEE
147
+ 1800-2009 standard.
148
+
149
+ .. versionadded:: 1.5
150
+ """
151
+ name = 'systemverilog'
152
+ aliases = ['systemverilog', 'sv']
153
+ filenames = ['*.sv', '*.svh']
154
+ mimetypes = ['text/x-systemverilog']
155
+
156
+ #: optional Comment or Whitespace
157
+ _ws = r'(?:\s|//.*?\n|/[*].*?[*]/)+'
158
+
159
+ tokens = {
160
+ 'root': [
161
+ (r'^\s*`define', Comment.Preproc, 'macro'),
162
+ (r'^(\s*)(package)(\s+)', bygroups(Text, Keyword.Namespace, Text)),
163
+ (r'^(\s*)(import)(\s+)', bygroups(Text, Keyword.Namespace, Text), 'import'),
164
+
165
+ (r'\n', Text),
166
+ (r'\s+', Text),
167
+ (r'\\\n', Text), # line continuation
168
+ (r'/(\\\n)?/(\n|(.|\n)*?[^\\]\n)', Comment.Single),
169
+ (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline),
170
+ (r'[{}#@]', Punctuation),
171
+ (r'L?"', String, 'string'),
172
+ (r"L?'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'", String.Char),
173
+ (r'(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?', Number.Float),
174
+ (r'(\d+\.\d*|\.\d+|\d+[fF])[fF]?', Number.Float),
175
+ (r'([0-9]+)|(\'h)[0-9a-fA-F]+', Number.Hex),
176
+ (r'([0-9]+)|(\'b)[01]+', Number.Bin),
177
+ (r'([0-9]+)|(\'d)[0-9]+', Number.Integer),
178
+ (r'([0-9]+)|(\'o)[0-7]+', Number.Oct),
179
+ (r'\'[01xz]', Number),
180
+ (r'\d+[Ll]?', Number.Integer),
181
+ (r'\*/', Error),
182
+ (r'[~!%^&*+=|?:<>/-]', Operator),
183
+ (r'[()\[\],.;\']', Punctuation),
184
+ (r'`[a-zA-Z_]\w*', Name.Constant),
185
+
186
+ (words((
187
+ 'accept_on', 'alias', 'always', 'always_comb', 'always_ff', 'always_latch',
188
+ 'and', 'assert', 'assign', 'assume', 'automatic', 'before', 'begin', 'bind', 'bins',
189
+ 'binsof', 'bit', 'break', 'buf', 'bufif0', 'bufif1', 'byte', 'case', 'casex', 'casez',
190
+ 'cell', 'chandle', 'checker', 'class', 'clocking', 'cmos', 'config', 'const', 'constraint',
191
+ 'context', 'continue', 'cover', 'covergroup', 'coverpoint', 'cross', 'deassign',
192
+ 'default', 'defparam', 'design', 'disable', 'dist', 'do', 'edge', 'else', 'end', 'endcase',
193
+ 'endchecker', 'endclass', 'endclocking', 'endconfig', 'endfunction', 'endgenerate',
194
+ 'endgroup', 'endinterface', 'endmodule', 'endpackage', 'endprimitive',
195
+ 'endprogram', 'endproperty', 'endsequence', 'endspecify', 'endtable',
196
+ 'endtask', 'enum', 'event', 'eventually', 'expect', 'export', 'extends', 'extern',
197
+ 'final', 'first_match', 'for', 'force', 'foreach', 'forever', 'fork', 'forkjoin',
198
+ 'function', 'generate', 'genvar', 'global', 'highz0', 'highz1', 'if', 'iff', 'ifnone',
199
+ 'ignore_bins', 'illegal_bins', 'implies', 'import', 'incdir', 'include',
200
+ 'initial', 'inout', 'input', 'inside', 'instance', 'int', 'integer', 'interface',
201
+ 'intersect', 'join', 'join_any', 'join_none', 'large', 'let', 'liblist', 'library',
202
+ 'local', 'localparam', 'logic', 'longint', 'macromodule', 'matches', 'medium',
203
+ 'modport', 'module', 'nand', 'negedge', 'new', 'nexttime', 'nmos', 'nor', 'noshowcancelled',
204
+ 'not', 'notif0', 'notif1', 'null', 'or', 'output', 'package', 'packed', 'parameter',
205
+ 'pmos', 'posedge', 'primitive', 'priority', 'program', 'property', 'protected',
206
+ 'pull0', 'pull1', 'pulldown', 'pullup', 'pulsestyle_ondetect', 'pulsestyle_onevent',
207
+ 'pure', 'rand', 'randc', 'randcase', 'randsequence', 'rcmos', 'real', 'realtime',
208
+ 'ref', 'reg', 'reject_on', 'release', 'repeat', 'restrict', 'return', 'rnmos',
209
+ 'rpmos', 'rtran', 'rtranif0', 'rtranif1', 's_always', 's_eventually', 's_nexttime',
210
+ 's_until', 's_until_with', 'scalared', 'sequence', 'shortint', 'shortreal',
211
+ 'showcancelled', 'signed', 'small', 'solve', 'specify', 'specparam', 'static',
212
+ 'string', 'strong', 'strong0', 'strong1', 'struct', 'super', 'supply0', 'supply1',
213
+ 'sync_accept_on', 'sync_reject_on', 'table', 'tagged', 'task', 'this', 'throughout',
214
+ 'time', 'timeprecision', 'timeunit', 'tran', 'tranif0', 'tranif1', 'tri', 'tri0',
215
+ 'tri1', 'triand', 'trior', 'trireg', 'type', 'typedef', 'union', 'unique', 'unique0',
216
+ 'unsigned', 'until', 'until_with', 'untyped', 'use', 'uwire', 'var', 'vectored',
217
+ 'virtual', 'void', 'wait', 'wait_order', 'wand', 'weak', 'weak0', 'weak1', 'while',
218
+ 'wildcard', 'wire', 'with', 'within', 'wor', 'xnor', 'xor'), suffix=r'\b'),
219
+ Keyword),
220
+
221
+ (words((
222
+ '`__FILE__', '`__LINE__', '`begin_keywords', '`celldefine', '`default_nettype',
223
+ '`define', '`else', '`elsif', '`end_keywords', '`endcelldefine', '`endif',
224
+ '`ifdef', '`ifndef', '`include', '`line', '`nounconnected_drive', '`pragma',
225
+ '`resetall', '`timescale', '`unconnected_drive', '`undef', '`undefineall'),
226
+ suffix=r'\b'),
227
+ Comment.Preproc),
228
+
229
+ (words((
230
+ '$display', '$displayb', '$displayh', '$displayo', '$dumpall', '$dumpfile',
231
+ '$dumpflush', '$dumplimit', '$dumpoff', '$dumpon', '$dumpports',
232
+ '$dumpportsall', '$dumpportsflush', '$dumpportslimit', '$dumpportsoff',
233
+ '$dumpportson', '$dumpvars', '$fclose', '$fdisplay', '$fdisplayb',
234
+ '$fdisplayh', '$fdisplayo', '$feof', '$ferror', '$fflush', '$fgetc',
235
+ '$fgets', '$finish', '$fmonitor', '$fmonitorb', '$fmonitorh', '$fmonitoro',
236
+ '$fopen', '$fread', '$fscanf', '$fseek', '$fstrobe', '$fstrobeb', '$fstrobeh',
237
+ '$fstrobeo', '$ftell', '$fwrite', '$fwriteb', '$fwriteh', '$fwriteo',
238
+ '$monitor', '$monitorb', '$monitorh', '$monitoro', '$monitoroff',
239
+ '$monitoron', '$plusargs', '$random', '$readmemb', '$readmemh', '$rewind',
240
+ '$sformat', '$sformatf', '$sscanf', '$strobe', '$strobeb', '$strobeh', '$strobeo',
241
+ '$swrite', '$swriteb', '$swriteh', '$swriteo', '$test', '$ungetc',
242
+ '$value$plusargs', '$write', '$writeb', '$writeh', '$writememb',
243
+ '$writememh', '$writeo'), suffix=r'\b'),
244
+ Name.Builtin),
245
+
246
+ (r'(class)(\s+)', bygroups(Keyword, Text), 'classname'),
247
+ (words((
248
+ 'byte', 'shortint', 'int', 'longint', 'integer', 'time',
249
+ 'bit', 'logic', 'reg', 'supply0', 'supply1', 'tri', 'triand',
250
+ 'trior', 'tri0', 'tri1', 'trireg', 'uwire', 'wire', 'wand', 'wo'
251
+ 'shortreal', 'real', 'realtime'), suffix=r'\b'),
252
+ Keyword.Type),
253
+ (r'[a-zA-Z_]\w*:(?!:)', Name.Label),
254
+ (r'\$?[a-zA-Z_]\w*', Name),
255
+ ],
256
+ 'classname': [
257
+ (r'[a-zA-Z_]\w*', Name.Class, '#pop'),
258
+ ],
259
+ 'string': [
260
+ (r'"', String, '#pop'),
261
+ (r'\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})', String.Escape),
262
+ (r'[^\\"\n]+', String), # all other characters
263
+ (r'\\\n', String), # line continuation
264
+ (r'\\', String), # stray backslash
265
+ ],
266
+ 'macro': [
267
+ (r'[^/\n]+', Comment.Preproc),
268
+ (r'/[*](.|\n)*?[*]/', Comment.Multiline),
269
+ (r'//.*?\n', Comment.Single, '#pop'),
270
+ (r'/', Comment.Preproc),
271
+ (r'(?<=\\)\n', Comment.Preproc),
272
+ (r'\n', Comment.Preproc, '#pop'),
273
+ ],
274
+ 'import': [
275
+ (r'[\w:]+\*?', Name.Namespace, '#pop')
276
+ ]
277
+ }
278
+
279
+ def get_tokens_unprocessed(self, text):
280
+ for index, token, value in \
281
+ RegexLexer.get_tokens_unprocessed(self, text):
282
+ # Convention: mark all upper case names as constants
283
+ if token is Name:
284
+ if value.isupper():
285
+ token = Name.Constant
286
+ yield index, token, value
287
+
288
+
289
+ class VhdlLexer(RegexLexer):
290
+ """
291
+ For VHDL source code.
292
+
293
+ .. versionadded:: 1.5
294
+ """
295
+ name = 'vhdl'
296
+ aliases = ['vhdl']
297
+ filenames = ['*.vhdl', '*.vhd']
298
+ mimetypes = ['text/x-vhdl']
299
+ flags = re.MULTILINE | re.IGNORECASE
300
+
301
+ tokens = {
302
+ 'root': [
303
+ (r'\n', Text),
304
+ (r'\s+', Text),
305
+ (r'\\\n', Text), # line continuation
306
+ (r'--.*?$', Comment.Single),
307
+ (r"'(U|X|0|1|Z|W|L|H|-)'", String.Char),
308
+ (r'[~!%^&*+=|?:<>/-]', Operator),
309
+ (r"'[a-z_]\w*", Name.Attribute),
310
+ (r'[()\[\],.;\']', Punctuation),
311
+ (r'"[^\n\\"]*"', String),
312
+
313
+ (r'(library)(\s+)([a-z_]\w*)',
314
+ bygroups(Keyword, Text, Name.Namespace)),
315
+ (r'(use)(\s+)(entity)', bygroups(Keyword, Text, Keyword)),
316
+ (r'(use)(\s+)([a-z_][\w.]*\.)(all)',
317
+ bygroups(Keyword, Text, Name.Namespace, Keyword)),
318
+ (r'(use)(\s+)([a-z_][\w.]*)',
319
+ bygroups(Keyword, Text, Name.Namespace)),
320
+ (r'(std|ieee)(\.[a-z_]\w*)',
321
+ bygroups(Name.Namespace, Name.Namespace)),
322
+ (words(('std', 'ieee', 'work'), suffix=r'\b'),
323
+ Name.Namespace),
324
+ (r'(entity|component)(\s+)([a-z_]\w*)',
325
+ bygroups(Keyword, Text, Name.Class)),
326
+ (r'(architecture|configuration)(\s+)([a-z_]\w*)(\s+)'
327
+ r'(of)(\s+)([a-z_]\w*)(\s+)(is)',
328
+ bygroups(Keyword, Text, Name.Class, Text, Keyword, Text,
329
+ Name.Class, Text, Keyword)),
330
+ (r'([a-z_]\w*)(:)(\s+)(process|for)',
331
+ bygroups(Name.Class, Operator, Text, Keyword)),
332
+ (r'(end)(\s+)', bygroups(using(this), Text), 'endblock'),
333
+
334
+ include('types'),
335
+ include('keywords'),
336
+ include('numbers'),
337
+
338
+ (r'[a-z_]\w*', Name),
339
+ ],
340
+ 'endblock': [
341
+ include('keywords'),
342
+ (r'[a-z_]\w*', Name.Class),
343
+ (r'(\s+)', Text),
344
+ (r';', Punctuation, '#pop'),
345
+ ],
346
+ 'types': [
347
+ (words((
348
+ 'boolean', 'bit', 'character', 'severity_level', 'integer', 'time',
349
+ 'delay_length', 'natural', 'positive', 'string', 'bit_vector',
350
+ 'file_open_kind', 'file_open_status', 'std_ulogic', 'std_ulogic_vector',
351
+ 'std_logic', 'std_logic_vector', 'signed', 'unsigned'), suffix=r'\b'),
352
+ Keyword.Type),
353
+ ],
354
+ 'keywords': [
355
+ (words((
356
+ 'abs', 'access', 'after', 'alias', 'all', 'and',
357
+ 'architecture', 'array', 'assert', 'attribute', 'begin', 'block',
358
+ 'body', 'buffer', 'bus', 'case', 'component', 'configuration',
359
+ 'constant', 'disconnect', 'downto', 'else', 'elsif', 'end',
360
+ 'entity', 'exit', 'file', 'for', 'function', 'generate',
361
+ 'generic', 'group', 'guarded', 'if', 'impure', 'in',
362
+ 'inertial', 'inout', 'is', 'label', 'library', 'linkage',
363
+ 'literal', 'loop', 'map', 'mod', 'nand', 'new',
364
+ 'next', 'nor', 'not', 'null', 'of', 'on',
365
+ 'open', 'or', 'others', 'out', 'package', 'port',
366
+ 'postponed', 'procedure', 'process', 'pure', 'range', 'record',
367
+ 'register', 'reject', 'rem', 'return', 'rol', 'ror', 'select',
368
+ 'severity', 'signal', 'shared', 'sla', 'sll', 'sra',
369
+ 'srl', 'subtype', 'then', 'to', 'transport', 'type',
370
+ 'units', 'until', 'use', 'variable', 'wait', 'when',
371
+ 'while', 'with', 'xnor', 'xor'), suffix=r'\b'),
372
+ Keyword),
373
+ ],
374
+ 'numbers': [
375
+ (r'\d{1,2}#[0-9a-f_]+#?', Number.Integer),
376
+ (r'\d+', Number.Integer),
377
+ (r'(\d+\.\d*|\.\d+|\d+)E[+-]?\d+', Number.Float),
378
+ (r'X"[0-9a-f_]+"', Number.Hex),
379
+ (r'O"[0-7_]+"', Number.Oct),
380
+ (r'B"[01_]+"', Number.Bin),
381
+ ],
382
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/hexdump.py ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.hexdump
4
+ ~~~~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for hexadecimal dumps.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ from pygments.lexer import RegexLexer, bygroups, include
13
+ from pygments.token import Text, Name, Number, String, Punctuation
14
+
15
+ __all__ = ['HexdumpLexer']
16
+
17
+
18
+ class HexdumpLexer(RegexLexer):
19
+ """
20
+ For typical hex dump output formats by the UNIX and GNU/Linux tools ``hexdump``,
21
+ ``hd``, ``hexcat``, ``od`` and ``xxd``, and the DOS tool ``DEBUG``. For example:
22
+
23
+ .. sourcecode:: hexdump
24
+
25
+ 00000000 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 |.ELF............|
26
+ 00000010 02 00 3e 00 01 00 00 00 c5 48 40 00 00 00 00 00 |..>......H@.....|
27
+
28
+ The specific supported formats are the outputs of:
29
+
30
+ * ``hexdump FILE``
31
+ * ``hexdump -C FILE`` -- the `canonical` format used in the example.
32
+ * ``hd FILE`` -- same as ``hexdump -C FILE``.
33
+ * ``hexcat FILE``
34
+ * ``od -t x1z FILE``
35
+ * ``xxd FILE``
36
+ * ``DEBUG.EXE FILE.COM`` and entering ``d`` to the prompt.
37
+
38
+ .. versionadded:: 2.1
39
+ """
40
+ name = 'Hexdump'
41
+ aliases = ['hexdump']
42
+
43
+ hd = r'[0-9A-Ha-h]'
44
+
45
+ tokens = {
46
+ 'root': [
47
+ (r'\n', Text),
48
+ include('offset'),
49
+ (r'('+hd+r'{2})(\-)('+hd+r'{2})',
50
+ bygroups(Number.Hex, Punctuation, Number.Hex)),
51
+ (hd+r'{2}', Number.Hex),
52
+ (r'(\s{2,3})(\>)(.{16})(\<)$',
53
+ bygroups(Text, Punctuation, String, Punctuation), 'bracket-strings'),
54
+ (r'(\s{2,3})(\|)(.{16})(\|)$',
55
+ bygroups(Text, Punctuation, String, Punctuation), 'piped-strings'),
56
+ (r'(\s{2,3})(\>)(.{1,15})(\<)$',
57
+ bygroups(Text, Punctuation, String, Punctuation)),
58
+ (r'(\s{2,3})(\|)(.{1,15})(\|)$',
59
+ bygroups(Text, Punctuation, String, Punctuation)),
60
+ (r'(\s{2,3})(.{1,15})$', bygroups(Text, String)),
61
+ (r'(\s{2,3})(.{16}|.{20})$', bygroups(Text, String), 'nonpiped-strings'),
62
+ (r'\s', Text),
63
+ (r'^\*', Punctuation),
64
+ ],
65
+ 'offset': [
66
+ (r'^('+hd+'+)(:)', bygroups(Name.Label, Punctuation), 'offset-mode'),
67
+ (r'^'+hd+'+', Name.Label),
68
+ ],
69
+ 'offset-mode': [
70
+ (r'\s', Text, '#pop'),
71
+ (hd+'+', Name.Label),
72
+ (r':', Punctuation)
73
+ ],
74
+ 'piped-strings': [
75
+ (r'\n', Text),
76
+ include('offset'),
77
+ (hd+r'{2}', Number.Hex),
78
+ (r'(\s{2,3})(\|)(.{1,16})(\|)$',
79
+ bygroups(Text, Punctuation, String, Punctuation)),
80
+ (r'\s', Text),
81
+ (r'^\*', Punctuation),
82
+ ],
83
+ 'bracket-strings': [
84
+ (r'\n', Text),
85
+ include('offset'),
86
+ (hd+r'{2}', Number.Hex),
87
+ (r'(\s{2,3})(\>)(.{1,16})(\<)$',
88
+ bygroups(Text, Punctuation, String, Punctuation)),
89
+ (r'\s', Text),
90
+ (r'^\*', Punctuation),
91
+ ],
92
+ 'nonpiped-strings': [
93
+ (r'\n', Text),
94
+ include('offset'),
95
+ (r'('+hd+r'{2})(\-)('+hd+r'{2})',
96
+ bygroups(Number.Hex, Punctuation, Number.Hex)),
97
+ (hd+r'{2}', Number.Hex),
98
+ (r'(\s{19,})(.{1,20}?)$', bygroups(Text, String)),
99
+ (r'(\s{2,3})(.{1,20})$', bygroups(Text, String)),
100
+ (r'\s', Text),
101
+ (r'^\*', Punctuation),
102
+ ],
103
+ }
parrot/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/html.py ADDED
@@ -0,0 +1,602 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ pygments.lexers.html
4
+ ~~~~~~~~~~~~~~~~~~~~
5
+
6
+ Lexers for HTML, XML and related markup.
7
+
8
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
9
+ :license: BSD, see LICENSE for details.
10
+ """
11
+
12
+ import re
13
+
14
+ from pygments.lexer import RegexLexer, ExtendedRegexLexer, include, bygroups, \
15
+ default, using
16
+ from pygments.token import Text, Comment, Operator, Keyword, Name, String, \
17
+ Punctuation
18
+ from pygments.util import looks_like_xml, html_doctype_matches
19
+
20
+ from pygments.lexers.javascript import JavascriptLexer
21
+ from pygments.lexers.jvm import ScalaLexer
22
+ from pygments.lexers.css import CssLexer, _indentation, _starts_block
23
+ from pygments.lexers.ruby import RubyLexer
24
+
25
+ __all__ = ['HtmlLexer', 'DtdLexer', 'XmlLexer', 'XsltLexer', 'HamlLexer',
26
+ 'ScamlLexer', 'PugLexer']
27
+
28
+
29
+ class HtmlLexer(RegexLexer):
30
+ """
31
+ For HTML 4 and XHTML 1 markup. Nested JavaScript and CSS is highlighted
32
+ by the appropriate lexer.
33
+ """
34
+
35
+ name = 'HTML'
36
+ aliases = ['html']
37
+ filenames = ['*.html', '*.htm', '*.xhtml', '*.xslt']
38
+ mimetypes = ['text/html', 'application/xhtml+xml']
39
+
40
+ flags = re.IGNORECASE | re.DOTALL
41
+ tokens = {
42
+ 'root': [
43
+ ('[^<&]+', Text),
44
+ (r'&\S*?;', Name.Entity),
45
+ (r'\<\!\[CDATA\[.*?\]\]\>', Comment.Preproc),
46
+ ('<!--', Comment, 'comment'),
47
+ (r'<\?.*?\?>', Comment.Preproc),
48
+ ('<![^>]*>', Comment.Preproc),
49
+ (r'(<)(\s*)(script)(\s*)',
50
+ bygroups(Punctuation, Text, Name.Tag, Text),
51
+ ('script-content', 'tag')),
52
+ (r'(<)(\s*)(style)(\s*)',
53
+ bygroups(Punctuation, Text, Name.Tag, Text),
54
+ ('style-content', 'tag')),
55
+ # note: this allows tag names not used in HTML like <x:with-dash>,
56
+ # this is to support yet-unknown template engines and the like
57
+ (r'(<)(\s*)([\w:.-]+)',
58
+ bygroups(Punctuation, Text, Name.Tag), 'tag'),
59
+ (r'(<)(\s*)(/)(\s*)([\w:.-]+)(\s*)(>)',
60
+ bygroups(Punctuation, Text, Punctuation, Text, Name.Tag, Text,
61
+ Punctuation)),
62
+ ],
63
+ 'comment': [
64
+ ('[^-]+', Comment),
65
+ ('-->', Comment, '#pop'),
66
+ ('-', Comment),
67
+ ],
68
+ 'tag': [
69
+ (r'\s+', Text),
70
+ (r'([\w:-]+\s*)(=)(\s*)', bygroups(Name.Attribute, Operator, Text),
71
+ 'attr'),
72
+ (r'[\w:-]+', Name.Attribute),
73
+ (r'(/?)(\s*)(>)', bygroups(Punctuation, Text, Punctuation), '#pop'),
74
+ ],
75
+ 'script-content': [
76
+ (r'(<)(\s*)(/)(\s*)(script)(\s*)(>)',
77
+ bygroups(Punctuation, Text, Punctuation, Text, Name.Tag, Text,
78
+ Punctuation), '#pop'),
79
+ (r'.+?(?=<\s*/\s*script\s*>)', using(JavascriptLexer)),
80
+ ],
81
+ 'style-content': [
82
+ (r'(<)(\s*)(/)(\s*)(style)(\s*)(>)',
83
+ bygroups(Punctuation, Text, Punctuation, Text, Name.Tag, Text,
84
+ Punctuation),'#pop'),
85
+ (r'.+?(?=<\s*/\s*style\s*>)', using(CssLexer)),
86
+ ],
87
+ 'attr': [
88
+ ('".*?"', String, '#pop'),
89
+ ("'.*?'", String, '#pop'),
90
+ (r'[^\s>]+', String, '#pop'),
91
+ ],
92
+ }
93
+
94
+ def analyse_text(text):
95
+ if html_doctype_matches(text):
96
+ return 0.5
97
+
98
+
99
+ class DtdLexer(RegexLexer):
100
+ """
101
+ A lexer for DTDs (Document Type Definitions).
102
+
103
+ .. versionadded:: 1.5
104
+ """
105
+
106
+ flags = re.MULTILINE | re.DOTALL
107
+
108
+ name = 'DTD'
109
+ aliases = ['dtd']
110
+ filenames = ['*.dtd']
111
+ mimetypes = ['application/xml-dtd']
112
+
113
+ tokens = {
114
+ 'root': [
115
+ include('common'),
116
+
117
+ (r'(<!ELEMENT)(\s+)(\S+)',
118
+ bygroups(Keyword, Text, Name.Tag), 'element'),
119
+ (r'(<!ATTLIST)(\s+)(\S+)',
120
+ bygroups(Keyword, Text, Name.Tag), 'attlist'),
121
+ (r'(<!ENTITY)(\s+)(\S+)',
122
+ bygroups(Keyword, Text, Name.Entity), 'entity'),
123
+ (r'(<!NOTATION)(\s+)(\S+)',
124
+ bygroups(Keyword, Text, Name.Tag), 'notation'),
125
+ (r'(<!\[)([^\[\s]+)(\s*)(\[)', # conditional sections
126
+ bygroups(Keyword, Name.Entity, Text, Keyword)),
127
+
128
+ (r'(<!DOCTYPE)(\s+)([^>\s]+)',
129
+ bygroups(Keyword, Text, Name.Tag)),
130
+ (r'PUBLIC|SYSTEM', Keyword.Constant),
131
+ (r'[\[\]>]', Keyword),
132
+ ],
133
+
134
+ 'common': [
135
+ (r'\s+', Text),
136
+ (r'(%|&)[^;]*;', Name.Entity),
137
+ ('<!--', Comment, 'comment'),
138
+ (r'[(|)*,?+]', Operator),
139
+ (r'"[^"]*"', String.Double),
140
+ (r'\'[^\']*\'', String.Single),
141
+ ],
142
+
143
+ 'comment': [
144
+ ('[^-]+', Comment),
145
+ ('-->', Comment, '#pop'),
146
+ ('-', Comment),
147
+ ],
148
+
149
+ 'element': [
150
+ include('common'),
151
+ (r'EMPTY|ANY|#PCDATA', Keyword.Constant),
152
+ (r'[^>\s|()?+*,]+', Name.Tag),
153
+ (r'>', Keyword, '#pop'),
154
+ ],
155
+
156
+ 'attlist': [
157
+ include('common'),
158
+ (r'CDATA|IDREFS|IDREF|ID|NMTOKENS|NMTOKEN|ENTITIES|ENTITY|NOTATION',
159
+ Keyword.Constant),
160
+ (r'#REQUIRED|#IMPLIED|#FIXED', Keyword.Constant),
161
+ (r'xml:space|xml:lang', Keyword.Reserved),
162
+ (r'[^>\s|()?+*,]+', Name.Attribute),
163
+ (r'>', Keyword, '#pop'),
164
+ ],
165
+
166
+ 'entity': [
167
+ include('common'),
168
+ (r'SYSTEM|PUBLIC|NDATA', Keyword.Constant),
169
+ (r'[^>\s|()?+*,]+', Name.Entity),
170
+ (r'>', Keyword, '#pop'),
171
+ ],
172
+
173
+ 'notation': [
174
+ include('common'),
175
+ (r'SYSTEM|PUBLIC', Keyword.Constant),
176
+ (r'[^>\s|()?+*,]+', Name.Attribute),
177
+ (r'>', Keyword, '#pop'),
178
+ ],
179
+ }
180
+
181
+ def analyse_text(text):
182
+ if not looks_like_xml(text) and \
183
+ ('<!ELEMENT' in text or '<!ATTLIST' in text or '<!ENTITY' in text):
184
+ return 0.8
185
+
186
+
187
+ class XmlLexer(RegexLexer):
188
+ """
189
+ Generic lexer for XML (eXtensible Markup Language).
190
+ """
191
+
192
+ flags = re.MULTILINE | re.DOTALL | re.UNICODE
193
+
194
+ name = 'XML'
195
+ aliases = ['xml']
196
+ filenames = ['*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd',
197
+ '*.wsdl', '*.wsf']
198
+ mimetypes = ['text/xml', 'application/xml', 'image/svg+xml',
199
+ 'application/rss+xml', 'application/atom+xml']
200
+
201
+ tokens = {
202
+ 'root': [
203
+ ('[^<&]+', Text),
204
+ (r'&\S*?;', Name.Entity),
205
+ (r'\<\!\[CDATA\[.*?\]\]\>', Comment.Preproc),
206
+ ('<!--', Comment, 'comment'),
207
+ (r'<\?.*?\?>', Comment.Preproc),
208
+ ('<![^>]*>', Comment.Preproc),
209
+ (r'<\s*[\w:.-]+', Name.Tag, 'tag'),
210
+ (r'<\s*/\s*[\w:.-]+\s*>', Name.Tag),
211
+ ],
212
+ 'comment': [
213
+ ('[^-]+', Comment),
214
+ ('-->', Comment, '#pop'),
215
+ ('-', Comment),
216
+ ],
217
+ 'tag': [
218
+ (r'\s+', Text),
219
+ (r'[\w.:-]+\s*=', Name.Attribute, 'attr'),
220
+ (r'/?\s*>', Name.Tag, '#pop'),
221
+ ],
222
+ 'attr': [
223
+ ('\s+', Text),
224
+ ('".*?"', String, '#pop'),
225
+ ("'.*?'", String, '#pop'),
226
+ (r'[^\s>]+', String, '#pop'),
227
+ ],
228
+ }
229
+
230
+ def analyse_text(text):
231
+ if looks_like_xml(text):
232
+ return 0.45 # less than HTML
233
+
234
+
235
+ class XsltLexer(XmlLexer):
236
+ """
237
+ A lexer for XSLT.
238
+
239
+ .. versionadded:: 0.10
240
+ """
241
+
242
+ name = 'XSLT'
243
+ aliases = ['xslt']
244
+ filenames = ['*.xsl', '*.xslt', '*.xpl'] # xpl is XProc
245
+ mimetypes = ['application/xsl+xml', 'application/xslt+xml']
246
+
247
+ EXTRA_KEYWORDS = set((
248
+ 'apply-imports', 'apply-templates', 'attribute',
249
+ 'attribute-set', 'call-template', 'choose', 'comment',
250
+ 'copy', 'copy-of', 'decimal-format', 'element', 'fallback',
251
+ 'for-each', 'if', 'import', 'include', 'key', 'message',
252
+ 'namespace-alias', 'number', 'otherwise', 'output', 'param',
253
+ 'preserve-space', 'processing-instruction', 'sort',
254
+ 'strip-space', 'stylesheet', 'template', 'text', 'transform',
255
+ 'value-of', 'variable', 'when', 'with-param'
256
+ ))
257
+
258
+ def get_tokens_unprocessed(self, text):
259
+ for index, token, value in XmlLexer.get_tokens_unprocessed(self, text):
260
+ m = re.match('</?xsl:([^>]*)/?>?', value)
261
+
262
+ if token is Name.Tag and m and m.group(1) in self.EXTRA_KEYWORDS:
263
+ yield index, Keyword, value
264
+ else:
265
+ yield index, token, value
266
+
267
+ def analyse_text(text):
268
+ if looks_like_xml(text) and '<xsl' in text:
269
+ return 0.8
270
+
271
+
272
+ class HamlLexer(ExtendedRegexLexer):
273
+ """
274
+ For Haml markup.
275
+
276
+ .. versionadded:: 1.3
277
+ """
278
+
279
+ name = 'Haml'
280
+ aliases = ['haml']
281
+ filenames = ['*.haml']
282
+ mimetypes = ['text/x-haml']
283
+
284
+ flags = re.IGNORECASE
285
+ # Haml can include " |\n" anywhere,
286
+ # which is ignored and used to wrap long lines.
287
+ # To accomodate this, use this custom faux dot instead.
288
+ _dot = r'(?: \|\n(?=.* \|)|.)'
289
+
290
+ # In certain places, a comma at the end of the line
291
+ # allows line wrapping as well.
292
+ _comma_dot = r'(?:,\s*\n|' + _dot + ')'
293
+ tokens = {
294
+ 'root': [
295
+ (r'[ \t]*\n', Text),
296
+ (r'[ \t]*', _indentation),
297
+ ],
298
+
299
+ 'css': [
300
+ (r'\.[\w:-]+', Name.Class, 'tag'),
301
+ (r'\#[\w:-]+', Name.Function, 'tag'),
302
+ ],
303
+
304
+ 'eval-or-plain': [
305
+ (r'[&!]?==', Punctuation, 'plain'),
306
+ (r'([&!]?[=~])(' + _comma_dot + r'*\n)',
307
+ bygroups(Punctuation, using(RubyLexer)),
308
+ 'root'),
309
+ default('plain'),
310
+ ],
311
+
312
+ 'content': [
313
+ include('css'),
314
+ (r'%[\w:-]+', Name.Tag, 'tag'),
315
+ (r'!!!' + _dot + r'*\n', Name.Namespace, '#pop'),
316
+ (r'(/)(\[' + _dot + '*?\])(' + _dot + r'*\n)',
317
+ bygroups(Comment, Comment.Special, Comment),
318
+ '#pop'),
319
+ (r'/' + _dot + r'*\n', _starts_block(Comment, 'html-comment-block'),
320
+ '#pop'),
321
+ (r'-#' + _dot + r'*\n', _starts_block(Comment.Preproc,
322
+ 'haml-comment-block'), '#pop'),
323
+ (r'(-)(' + _comma_dot + r'*\n)',
324
+ bygroups(Punctuation, using(RubyLexer)),
325
+ '#pop'),
326
+ (r':' + _dot + r'*\n', _starts_block(Name.Decorator, 'filter-block'),
327
+ '#pop'),
328
+ include('eval-or-plain'),
329
+ ],
330
+
331
+ 'tag': [
332
+ include('css'),
333
+ (r'\{(,\n|' + _dot + ')*?\}', using(RubyLexer)),
334
+ (r'\[' + _dot + '*?\]', using(RubyLexer)),
335
+ (r'\(', Text, 'html-attributes'),
336
+ (r'/[ \t]*\n', Punctuation, '#pop:2'),
337
+ (r'[<>]{1,2}(?=[ \t=])', Punctuation),
338
+ include('eval-or-plain'),
339
+ ],
340
+
341
+ 'plain': [
342
+ (r'([^#\n]|#[^{\n]|(\\\\)*\\#\{)+', Text),
343
+ (r'(#\{)(' + _dot + '*?)(\})',
344
+ bygroups(String.Interpol, using(RubyLexer), String.Interpol)),
345
+ (r'\n', Text, 'root'),
346
+ ],
347
+
348
+ 'html-attributes': [
349
+ (r'\s+', Text),
350
+ (r'[\w:-]+[ \t]*=', Name.Attribute, 'html-attribute-value'),
351
+ (r'[\w:-]+', Name.Attribute),
352
+ (r'\)', Text, '#pop'),
353
+ ],
354
+
355
+ 'html-attribute-value': [
356
+ (r'[ \t]+', Text),
357
+ (r'\w+', Name.Variable, '#pop'),
358
+ (r'@\w+', Name.Variable.Instance, '#pop'),
359
+ (r'\$\w+', Name.Variable.Global, '#pop'),
360
+ (r"'(\\\\|\\'|[^'\n])*'", String, '#pop'),
361
+ (r'"(\\\\|\\"|[^"\n])*"', String, '#pop'),
362
+ ],
363
+
364
+ 'html-comment-block': [
365
+ (_dot + '+', Comment),
366
+ (r'\n', Text, 'root'),
367
+ ],
368
+
369
+ 'haml-comment-block': [
370
+ (_dot + '+', Comment.Preproc),
371
+ (r'\n', Text, 'root'),
372
+ ],
373
+
374
+ 'filter-block': [
375
+ (r'([^#\n]|#[^{\n]|(\\\\)*\\#\{)+', Name.Decorator),
376
+ (r'(#\{)(' + _dot + '*?)(\})',
377
+ bygroups(String.Interpol, using(RubyLexer), String.Interpol)),
378
+ (r'\n', Text, 'root'),
379
+ ],
380
+ }
381
+
382
+
383
+ class ScamlLexer(ExtendedRegexLexer):
384
+ """
385
+ For `Scaml markup <http://scalate.fusesource.org/>`_. Scaml is Haml for Scala.
386
+
387
+ .. versionadded:: 1.4
388
+ """
389
+
390
+ name = 'Scaml'
391
+ aliases = ['scaml']
392
+ filenames = ['*.scaml']
393
+ mimetypes = ['text/x-scaml']
394
+
395
+ flags = re.IGNORECASE
396
+ # Scaml does not yet support the " |\n" notation to
397
+ # wrap long lines. Once it does, use the custom faux
398
+ # dot instead.
399
+ # _dot = r'(?: \|\n(?=.* \|)|.)'
400
+ _dot = r'.'
401
+
402
+ tokens = {
403
+ 'root': [
404
+ (r'[ \t]*\n', Text),
405
+ (r'[ \t]*', _indentation),
406
+ ],
407
+
408
+ 'css': [
409
+ (r'\.[\w:-]+', Name.Class, 'tag'),
410
+ (r'\#[\w:-]+', Name.Function, 'tag'),
411
+ ],
412
+
413
+ 'eval-or-plain': [
414
+ (r'[&!]?==', Punctuation, 'plain'),
415
+ (r'([&!]?[=~])(' + _dot + r'*\n)',
416
+ bygroups(Punctuation, using(ScalaLexer)),
417
+ 'root'),
418
+ default('plain'),
419
+ ],
420
+
421
+ 'content': [
422
+ include('css'),
423
+ (r'%[\w:-]+', Name.Tag, 'tag'),
424
+ (r'!!!' + _dot + r'*\n', Name.Namespace, '#pop'),
425
+ (r'(/)(\[' + _dot + '*?\])(' + _dot + r'*\n)',
426
+ bygroups(Comment, Comment.Special, Comment),
427
+ '#pop'),
428
+ (r'/' + _dot + r'*\n', _starts_block(Comment, 'html-comment-block'),
429
+ '#pop'),
430
+ (r'-#' + _dot + r'*\n', _starts_block(Comment.Preproc,
431
+ 'scaml-comment-block'), '#pop'),
432
+ (r'(-@\s*)(import)?(' + _dot + r'*\n)',
433
+ bygroups(Punctuation, Keyword, using(ScalaLexer)),
434
+ '#pop'),
435
+ (r'(-)(' + _dot + r'*\n)',
436
+ bygroups(Punctuation, using(ScalaLexer)),
437
+ '#pop'),
438
+ (r':' + _dot + r'*\n', _starts_block(Name.Decorator, 'filter-block'),
439
+ '#pop'),
440
+ include('eval-or-plain'),
441
+ ],
442
+
443
+ 'tag': [
444
+ include('css'),
445
+ (r'\{(,\n|' + _dot + ')*?\}', using(ScalaLexer)),
446
+ (r'\[' + _dot + '*?\]', using(ScalaLexer)),
447
+ (r'\(', Text, 'html-attributes'),
448
+ (r'/[ \t]*\n', Punctuation, '#pop:2'),
449
+ (r'[<>]{1,2}(?=[ \t=])', Punctuation),
450
+ include('eval-or-plain'),
451
+ ],
452
+
453
+ 'plain': [
454
+ (r'([^#\n]|#[^{\n]|(\\\\)*\\#\{)+', Text),
455
+ (r'(#\{)(' + _dot + '*?)(\})',
456
+ bygroups(String.Interpol, using(ScalaLexer), String.Interpol)),
457
+ (r'\n', Text, 'root'),
458
+ ],
459
+
460
+ 'html-attributes': [
461
+ (r'\s+', Text),
462
+ (r'[\w:-]+[ \t]*=', Name.Attribute, 'html-attribute-value'),
463
+ (r'[\w:-]+', Name.Attribute),
464
+ (r'\)', Text, '#pop'),
465
+ ],
466
+
467
+ 'html-attribute-value': [
468
+ (r'[ \t]+', Text),
469
+ (r'\w+', Name.Variable, '#pop'),
470
+ (r'@\w+', Name.Variable.Instance, '#pop'),
471
+ (r'\$\w+', Name.Variable.Global, '#pop'),
472
+ (r"'(\\\\|\\'|[^'\n])*'", String, '#pop'),
473
+ (r'"(\\\\|\\"|[^"\n])*"', String, '#pop'),
474
+ ],
475
+
476
+ 'html-comment-block': [
477
+ (_dot + '+', Comment),
478
+ (r'\n', Text, 'root'),
479
+ ],
480
+
481
+ 'scaml-comment-block': [
482
+ (_dot + '+', Comment.Preproc),
483
+ (r'\n', Text, 'root'),
484
+ ],
485
+
486
+ 'filter-block': [
487
+ (r'([^#\n]|#[^{\n]|(\\\\)*\\#\{)+', Name.Decorator),
488
+ (r'(#\{)(' + _dot + '*?)(\})',
489
+ bygroups(String.Interpol, using(ScalaLexer), String.Interpol)),
490
+ (r'\n', Text, 'root'),
491
+ ],
492
+ }
493
+
494
+
495
+ class PugLexer(ExtendedRegexLexer):
496
+ """
497
+ For Pug markup.
498
+ Pug is a variant of Scaml, see:
499
+ http://scalate.fusesource.org/documentation/scaml-reference.html
500
+
501
+ .. versionadded:: 1.4
502
+ """
503
+
504
+ name = 'Pug'
505
+ aliases = ['pug', 'jade']
506
+ filenames = ['*.pug', '*.jade']
507
+ mimetypes = ['text/x-pug', 'text/x-jade']
508
+
509
+ flags = re.IGNORECASE
510
+ _dot = r'.'
511
+
512
+ tokens = {
513
+ 'root': [
514
+ (r'[ \t]*\n', Text),
515
+ (r'[ \t]*', _indentation),
516
+ ],
517
+
518
+ 'css': [
519
+ (r'\.[\w:-]+', Name.Class, 'tag'),
520
+ (r'\#[\w:-]+', Name.Function, 'tag'),
521
+ ],
522
+
523
+ 'eval-or-plain': [
524
+ (r'[&!]?==', Punctuation, 'plain'),
525
+ (r'([&!]?[=~])(' + _dot + r'*\n)',
526
+ bygroups(Punctuation, using(ScalaLexer)), 'root'),
527
+ default('plain'),
528
+ ],
529
+
530
+ 'content': [
531
+ include('css'),
532
+ (r'!!!' + _dot + r'*\n', Name.Namespace, '#pop'),
533
+ (r'(/)(\[' + _dot + '*?\])(' + _dot + r'*\n)',
534
+ bygroups(Comment, Comment.Special, Comment),
535
+ '#pop'),
536
+ (r'/' + _dot + r'*\n', _starts_block(Comment, 'html-comment-block'),
537
+ '#pop'),
538
+ (r'-#' + _dot + r'*\n', _starts_block(Comment.Preproc,
539
+ 'scaml-comment-block'), '#pop'),
540
+ (r'(-@\s*)(import)?(' + _dot + r'*\n)',
541
+ bygroups(Punctuation, Keyword, using(ScalaLexer)),
542
+ '#pop'),
543
+ (r'(-)(' + _dot + r'*\n)',
544
+ bygroups(Punctuation, using(ScalaLexer)),
545
+ '#pop'),
546
+ (r':' + _dot + r'*\n', _starts_block(Name.Decorator, 'filter-block'),
547
+ '#pop'),
548
+ (r'[\w:-]+', Name.Tag, 'tag'),
549
+ (r'\|', Text, 'eval-or-plain'),
550
+ ],
551
+
552
+ 'tag': [
553
+ include('css'),
554
+ (r'\{(,\n|' + _dot + ')*?\}', using(ScalaLexer)),
555
+ (r'\[' + _dot + '*?\]', using(ScalaLexer)),
556
+ (r'\(', Text, 'html-attributes'),
557
+ (r'/[ \t]*\n', Punctuation, '#pop:2'),
558
+ (r'[<>]{1,2}(?=[ \t=])', Punctuation),
559
+ include('eval-or-plain'),
560
+ ],
561
+
562
+ 'plain': [
563
+ (r'([^#\n]|#[^{\n]|(\\\\)*\\#\{)+', Text),
564
+ (r'(#\{)(' + _dot + '*?)(\})',
565
+ bygroups(String.Interpol, using(ScalaLexer), String.Interpol)),
566
+ (r'\n', Text, 'root'),
567
+ ],
568
+
569
+ 'html-attributes': [
570
+ (r'\s+', Text),
571
+ (r'[\w:-]+[ \t]*=', Name.Attribute, 'html-attribute-value'),
572
+ (r'[\w:-]+', Name.Attribute),
573
+ (r'\)', Text, '#pop'),
574
+ ],
575
+
576
+ 'html-attribute-value': [
577
+ (r'[ \t]+', Text),
578
+ (r'\w+', Name.Variable, '#pop'),
579
+ (r'@\w+', Name.Variable.Instance, '#pop'),
580
+ (r'\$\w+', Name.Variable.Global, '#pop'),
581
+ (r"'(\\\\|\\'|[^'\n])*'", String, '#pop'),
582
+ (r'"(\\\\|\\"|[^"\n])*"', String, '#pop'),
583
+ ],
584
+
585
+ 'html-comment-block': [
586
+ (_dot + '+', Comment),
587
+ (r'\n', Text, 'root'),
588
+ ],
589
+
590
+ 'scaml-comment-block': [
591
+ (_dot + '+', Comment.Preproc),
592
+ (r'\n', Text, 'root'),
593
+ ],
594
+
595
+ 'filter-block': [
596
+ (r'([^#\n]|#[^{\n]|(\\\\)*\\#\{)+', Name.Decorator),
597
+ (r'(#\{)(' + _dot + '*?)(\})',
598
+ bygroups(String.Interpol, using(ScalaLexer), String.Interpol)),
599
+ (r'\n', Text, 'root'),
600
+ ],
601
+ }
602
+ JadeLexer = PugLexer # compat