umath 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,737 @@
1
+ # frozen_string_literal: true
2
+
3
+ # GENERATED by scripts/generate_model.rb from the normalized grammar's
4
+ # capture shapes -- do not edit. 74 classes.
5
+ module Umath
6
+ module Model
7
+ # A symbol: the value of every symbol capture. +spelling+ is the
8
+ # token as the grammar matched it; +value+ (its Unicode text) and
9
+ # +kind+ come from the symbol catalog (Umath::Symbols).
10
+ class MathSymbol < Lutaml::Model::Serializable
11
+ attribute :spelling, :string
12
+ attribute :value, :string
13
+ attribute :kind, :string, values: %w[symbol paren unlisted]
14
+ end
15
+
16
+ # Capture +accents+.
17
+ class Accents < Lutaml::Model::Serializable
18
+ attribute :empty, :string
19
+ attribute :first_value, "Umath::Model::Expression"
20
+ attribute :list, "Umath::Model::ListItem", collection: true
21
+ attribute :prime_accent_symbols, "Umath::Model::PrimeAccentSymbolsItem", collection: true
22
+ end
23
+
24
+ # Capture +accents_subsup+.
25
+ class AccentsSubsup < Lutaml::Model::Serializable
26
+ attribute :base, "Umath::Model::Expression"
27
+ attribute :sub, "Umath::Model::Expression"
28
+ attribute :sup, "Umath::Model::Expression"
29
+ end
30
+
31
+ # Capture +arg_arguments+.
32
+ class ArgArguments < Lutaml::Model::Serializable
33
+ attribute :symbol, "Umath::Model::SymbolNode"
34
+ end
35
+
36
+ # Capture +array+.
37
+ class ArrayNode < Lutaml::Model::Serializable
38
+ attribute :tr, "Umath::Model::Tr"
39
+ attribute :trs, "Umath::Model::Trs"
40
+ end
41
+
42
+ # Capture +atom+.
43
+ class Atom < Lutaml::Model::Serializable
44
+ attribute :alphanumeric, "Umath::Model::MathSymbol"
45
+ attribute :char, "Umath::Model::Char"
46
+ attribute :diacritics, "Umath::Model::Diacritics"
47
+ attribute :literal, :string
48
+ attribute :number, :string
49
+ end
50
+
51
+ # Capture +atoms+.
52
+ class Atoms < Lutaml::Model::Serializable
53
+ attribute :atom, "Umath::Model::Atom"
54
+ attribute :atoms, "Umath::Model::Atoms"
55
+ end
56
+
57
+ # Capture +backcolor+.
58
+ class Backcolor < Lutaml::Model::Serializable
59
+ attribute :backcolor_value, :string
60
+ attribute :first_value, "Umath::Model::Expression"
61
+ end
62
+
63
+ # Capture +below_after+.
64
+ class BelowAfter < Lutaml::Model::Serializable
65
+ attribute :diacritic_belows, "Umath::Model::MathSymbol"
66
+ end
67
+
68
+ # Capture +below_before+.
69
+ class BelowBefore < Lutaml::Model::Serializable
70
+ attribute :diacritic_belows, "Umath::Model::MathSymbol"
71
+ end
72
+
73
+ # Capture +char+.
74
+ class Char < Lutaml::Model::Serializable
75
+ attribute :unicode_symbols, "Umath::Model::MathSymbol"
76
+ end
77
+
78
+ # Capture +close_paren_mask+.
79
+ class CloseParenMask < Lutaml::Model::Serializable
80
+ attribute :number, :string
81
+ end
82
+
83
+ # Capture +closer+.
84
+ class Closer < Lutaml::Model::Serializable
85
+ attribute :close_paren, "Umath::Model::Paren"
86
+ attribute :close_paren_mask, "Umath::Model::CloseParenMask"
87
+ attribute :paren_close_prefix, "Umath::Model::MathSymbol"
88
+ end
89
+
90
+ # Capture +color+.
91
+ class Color < Lutaml::Model::Serializable
92
+ attribute :color_value, :string
93
+ attribute :first_value, "Umath::Model::Expression"
94
+ end
95
+
96
+ # Capture +decimal_number+.
97
+ class DecimalNumber < Lutaml::Model::Serializable
98
+ attribute :decimal, :string
99
+ attribute :fractional, "Umath::Model::Fractional"
100
+ attribute :whole, "Umath::Model::Whole"
101
+ end
102
+
103
+ # Capture +diacritics+.
104
+ class Diacritics < Lutaml::Model::Serializable
105
+ attribute :char, "Umath::Model::Char"
106
+ attribute :diacritics, "Umath::Model::Diacritics"
107
+ end
108
+
109
+ # Capture +diacritics_accents+.
110
+ class DiacriticsAccents < Lutaml::Model::Serializable
111
+ attribute :below_after, "Umath::Model::BelowAfter"
112
+ attribute :below_before, "Umath::Model::BelowBefore"
113
+ attribute :first_value, "Umath::Model::Expression"
114
+ attribute :overlay_after, "Umath::Model::OverlayAfter"
115
+ attribute :overlay_before, "Umath::Model::OverlayBefore"
116
+ end
117
+
118
+ # Capture +digit+.
119
+ class Digit < Lutaml::Model::Serializable
120
+ attribute :number, :string
121
+ end
122
+
123
+ # Capture +exp_iteration+.
124
+ class ExpIteration < Lutaml::Model::Serializable
125
+ attribute :exp_iteration, "Umath::Model::ExpIteration"
126
+ attribute :mini_sub, "Umath::Model::MiniSub"
127
+ attribute :mini_sub_sup, "Umath::Model::MiniSubSup"
128
+ attribute :mini_sup, "Umath::Model::MiniSup"
129
+ attribute :sub_recursion, "Umath::Model::Expression"
130
+ attribute :sup_recursion, "Umath::Model::Expression"
131
+ end
132
+
133
+ # A whole expression: the captures +base+, +denominator+, +exp+, +expr+,
134
+ # +expression+, +factor+, +first_value+, +intent_expr+,
135
+ # +intermediate_exp+, +monospace_value+, +naryand+, +naryand_recursion+,
136
+ # +numerator+, +override_subsup+, +pre_script+, +pre_subscript+,
137
+ # +pre_supscript+, +recursive_denominator+, +recursive_numerator+,
138
+ # +scripted_first_value+, +sub+, +sub_recursion+, +sub_script+, +sup+,
139
+ # +sup_recursion+, +sup_script+, +umath_tree+.
140
+ class Expression < Lutaml::Model::Serializable
141
+ attribute :accents, "Umath::Model::Accents"
142
+ attribute :accents_subsup, "Umath::Model::AccentsSubsup"
143
+ attribute :alphanumeric, "Umath::Model::MathSymbol"
144
+ attribute :arg, :string
145
+ attribute :arg_arguments, "Umath::Model::ArgArguments"
146
+ attribute :atom, "Umath::Model::Atom"
147
+ attribute :atoms, "Umath::Model::Atoms"
148
+ attribute :backcolor, "Umath::Model::Backcolor"
149
+ attribute :base, "Umath::Model::Expression"
150
+ attribute :binary_negated_operator, "Umath::Model::MathSymbol"
151
+ attribute :binary_number, :string
152
+ attribute :binary_symbols, "Umath::Model::MathSymbol"
153
+ attribute :char, "Umath::Model::Char"
154
+ attribute :close_paren, "Umath::Model::Paren"
155
+ attribute :close_paren_mask, "Umath::Model::CloseParenMask"
156
+ attribute :color, "Umath::Model::Color"
157
+ attribute :combined_symbols, "Umath::Model::MathSymbol"
158
+ attribute :comma, "Umath::Model::MathSymbol"
159
+ attribute :decimal_number, "Umath::Model::DecimalNumber"
160
+ attribute :diacritics, "Umath::Model::Diacritics"
161
+ attribute :diacritics_accents, "Umath::Model::DiacriticsAccents"
162
+ attribute :digit, "Umath::Model::Digit"
163
+ attribute :empty, :string
164
+ attribute :exclamation_symbol, "Umath::Model::MathSymbol"
165
+ attribute :exp, "Umath::Model::Expression"
166
+ attribute :exp_iteration, "Umath::Model::ExpIteration"
167
+ attribute :expr, "Umath::Model::Expression"
168
+ attribute :expression, "Umath::Model::Expression"
169
+ attribute :factor, "Umath::Model::Expression"
170
+ attribute :first_value, "Umath::Model::Expression"
171
+ attribute :fonts, "Umath::Model::Fonts"
172
+ attribute :frac, "Umath::Model::Frac"
173
+ attribute :func_expr, "Umath::Model::FuncExpr"
174
+ attribute :hbrack, "Umath::Model::Hbrack"
175
+ attribute :hbracket_class, :string
176
+ attribute :hex_number, :string
177
+ attribute :infty, "Umath::Model::MathSymbol"
178
+ attribute :int_exp, "Umath::Model::IntExp"
179
+ attribute :intent, :string
180
+ attribute :intent_arguments, "Umath::Model::IntentArguments"
181
+ attribute :intent_expr, "Umath::Model::Expression"
182
+ attribute :intermediate_exp, "Umath::Model::Expression"
183
+ attribute :left_value, "Umath::Model::LeftValue"
184
+ attribute :literal, :string
185
+ attribute :literal_2, :string
186
+ attribute :mask, "Umath::Model::Mask"
187
+ attribute :mid_symbol, "Umath::Model::MathSymbol"
188
+ attribute :mini_base, "Umath::Model::MiniBase"
189
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
190
+ attribute :mini_sub, "Umath::Model::MiniSub"
191
+ attribute :mini_sub_sup, "Umath::Model::MiniSubSup"
192
+ attribute :mini_sup, "Umath::Model::MiniSup"
193
+ attribute :monospace, "Umath::Model::Monospace"
194
+ attribute :nary, "Umath::Model::Nary"
195
+ attribute :nary_class, "Umath::Model::MathSymbol"
196
+ attribute :naryand_recursion, "Umath::Model::Expression"
197
+ attribute :negated_operator, "Umath::Model::MathSymbol"
198
+ attribute :number, :string
199
+ attribute :octal_number, :string
200
+ attribute :open_paren, "Umath::Model::Paren"
201
+ attribute :open_paren_mask, "Umath::Model::OpenParenMask"
202
+ attribute :operand, "Umath::Model::Operand"
203
+ attribute :operator, "Umath::Model::MathSymbol"
204
+ attribute :ordinary_negated_operator, "Umath::Model::MathSymbol"
205
+ attribute :ordinary_symbols, "Umath::Model::MathSymbol"
206
+ attribute :other, "Umath::Model::Other"
207
+ attribute :over, :string
208
+ attribute :override_subsup, "Umath::Model::Expression"
209
+ attribute :paren_close_prefix, "Umath::Model::MathSymbol"
210
+ attribute :paren_open_prefix, "Umath::Model::MathSymbol"
211
+ attribute :phantom, "Umath::Model::Phantom"
212
+ attribute :pre_override_subsup, "Umath::Model::PreOverrideSubsup"
213
+ attribute :pre_script, "Umath::Model::Expression"
214
+ attribute :pre_subscript, "Umath::Model::Expression"
215
+ attribute :pre_supscript, "Umath::Model::Expression"
216
+ attribute :rect, "Umath::Model::Rect"
217
+ attribute :recursive_denominator, "Umath::Model::Expression"
218
+ attribute :recursive_numerator, "Umath::Model::Expression"
219
+ attribute :relational_symbols, "Umath::Model::MathSymbol"
220
+ attribute :right_value, "Umath::Model::RightValue"
221
+ attribute :root, "Umath::Model::RootNode"
222
+ attribute :root_first_value, "Umath::Model::RootFirstValue"
223
+ attribute :root_second_value, "Umath::Model::RootSecondValue"
224
+ attribute :size_overrides, :string
225
+ attribute :slashed_value, "Umath::Model::SlashedValue"
226
+ attribute :spaces, "Umath::Model::MathSymbol"
227
+ attribute :sub, "Umath::Model::Expression"
228
+ attribute :sub_alpha, :string
229
+ attribute :sub_digits, :string
230
+ attribute :sub_exp, "Umath::Model::SubExp"
231
+ attribute :sub_operators, :string
232
+ attribute :sub_paren, "Umath::Model::SubParen"
233
+ attribute :sub_recursion, "Umath::Model::Expression"
234
+ attribute :sub_recursion_expr, "Umath::Model::MiniExpression"
235
+ attribute :sub_recursions, "Umath::Model::MiniExpression"
236
+ attribute :sub_script, "Umath::Model::Expression"
237
+ attribute :subsup_exp, "Umath::Model::SubsupExp"
238
+ attribute :sup, "Umath::Model::Expression"
239
+ attribute :sup_alpha, :string
240
+ attribute :sup_digits, :string
241
+ attribute :sup_exp, "Umath::Model::SupExp"
242
+ attribute :sup_operators, :string
243
+ attribute :sup_paren, "Umath::Model::SupParen"
244
+ attribute :sup_recursion, "Umath::Model::Expression"
245
+ attribute :sup_recursion_expr, "Umath::Model::MiniExpression"
246
+ attribute :sup_recursions, "Umath::Model::MiniExpression"
247
+ attribute :sup_script, "Umath::Model::Expression"
248
+ attribute :symbol, "Umath::Model::SymbolNode"
249
+ attribute :table, "Umath::Model::Table"
250
+ attribute :text, :string
251
+ attribute :unary_function, "Umath::Model::UnaryFunction"
252
+ attribute :unary_functions, :string
253
+ attribute :unary_subsup, "Umath::Model::UnarySubsup"
254
+ attribute :under, :string
255
+ attribute :unicode_fractions, :string
256
+ attribute :unicode_symbols, "Umath::Model::MathSymbol"
257
+ end
258
+
259
+ # Capture +fonts+.
260
+ class Fonts < Lutaml::Model::Serializable
261
+ attribute :font_class, :string
262
+ attribute :literal, :string
263
+ attribute :number, :string
264
+ attribute :symbol, "Umath::Model::SymbolNode"
265
+ attribute :text, :string
266
+ attribute :unicoded_font_class, "Umath::Model::UnicodedFontClass"
267
+ end
268
+
269
+ # Capture +frac+.
270
+ class Frac < Lutaml::Model::Serializable
271
+ attribute :atop, :string
272
+ attribute :bevelled, :string
273
+ attribute :choose, :string
274
+ attribute :denominator, "Umath::Model::Expression"
275
+ attribute :ldiv, :string
276
+ attribute :mini_denominator, "Umath::Model::MiniDenominator"
277
+ attribute :mini_numerator, "Umath::Model::MiniNumerator"
278
+ attribute :no_display_style, :string
279
+ attribute :numerator, "Umath::Model::Expression"
280
+ end
281
+
282
+ # Capture +fractional+.
283
+ class Fractional < Lutaml::Model::Serializable
284
+ attribute :number, :string
285
+ end
286
+
287
+ # Capture +func_expr+.
288
+ class FuncExpr < Lutaml::Model::Serializable
289
+ attribute :expr, "Umath::Model::Expression"
290
+ attribute :func_expr, "Umath::Model::FuncExpr"
291
+ end
292
+
293
+ # Capture +hbrack+.
294
+ class Hbrack < Lutaml::Model::Serializable
295
+ attribute :first_value, "Umath::Model::Expression"
296
+ attribute :hbracket_class, :string
297
+ attribute :scripted_first_value, "Umath::Model::Expression"
298
+ end
299
+
300
+ # Capture +int_exp+.
301
+ class IntExp < Lutaml::Model::Serializable
302
+ attribute :closer, "Umath::Model::Closer"
303
+ attribute :opener, "Umath::Model::Opener"
304
+ attribute :operand, "Umath::Model::Operand"
305
+ end
306
+
307
+ # Capture +intent_arguments+.
308
+ class IntentArguments < Lutaml::Model::Serializable
309
+ attribute :text, :string
310
+ end
311
+
312
+ # Capture +left_value+.
313
+ class LeftValue < Lutaml::Model::Serializable
314
+ attribute :infty, "Umath::Model::MathSymbol"
315
+ attribute :list, "Umath::Model::ListItem", collection: true
316
+ attribute :negative, "Umath::Model::MathSymbol"
317
+ attribute :number, :string
318
+ attribute :positive, "Umath::Model::MathSymbol"
319
+ end
320
+
321
+ # An element of capture +list+.
322
+ class ListItem < Lutaml::Model::Serializable
323
+ attribute :accent_symbols, "Umath::Model::MathSymbol"
324
+ attribute :number, :string
325
+ attribute :symbol, "Umath::Model::SymbolNode"
326
+ end
327
+
328
+ # Capture +mask+.
329
+ class Mask < Lutaml::Model::Serializable
330
+ attribute :binary_number, :string
331
+ attribute :decimal_number, "Umath::Model::DecimalNumber"
332
+ attribute :digit, "Umath::Model::Digit"
333
+ attribute :hex_number, :string
334
+ attribute :octal_number, :string
335
+ end
336
+
337
+ # Capture +mini_base+.
338
+ class MiniBase < Lutaml::Model::Serializable
339
+ attribute :sub_alpha, :string
340
+ attribute :sub_digits, :string
341
+ attribute :sub_operators, :string
342
+ attribute :sup_alpha, :string
343
+ attribute :sup_digits, :string
344
+ attribute :sup_operators, :string
345
+ end
346
+
347
+ # Capture +mini_denominator+.
348
+ class MiniDenominator < Lutaml::Model::Serializable
349
+ attribute :expr, "Umath::Model::Expression"
350
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
351
+ attribute :sub_alpha, :string
352
+ attribute :sub_digits, :string
353
+ attribute :sub_operators, :string
354
+ attribute :sub_recursion, "Umath::Model::Expression"
355
+ attribute :sub_recursion_expr, "Umath::Model::MiniExpression"
356
+ attribute :sub_recursions, "Umath::Model::MiniExpression"
357
+ end
358
+
359
+ # A whole expression: the captures +mini_expr+, +mini_intermediate_exp+,
360
+ # +sub_recursion_expr+, +sub_recursions+, +sup_recursion_expr+,
361
+ # +sup_recursions+.
362
+ class MiniExpression < Lutaml::Model::Serializable
363
+ attribute :expr, "Umath::Model::Expression"
364
+ attribute :mini_expr, "Umath::Model::MiniExpression"
365
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
366
+ attribute :sub_alpha, :string
367
+ attribute :sub_close_paren, :string
368
+ attribute :sub_digits, :string
369
+ attribute :sub_open_paren, :string
370
+ attribute :sub_operators, :string
371
+ attribute :sub_recursion, "Umath::Model::Expression"
372
+ attribute :sub_recursion_expr, "Umath::Model::MiniExpression"
373
+ attribute :sub_recursions, "Umath::Model::MiniExpression"
374
+ attribute :sup_alpha, :string
375
+ attribute :sup_close_paren, :string
376
+ attribute :sup_digits, :string
377
+ attribute :sup_open_paren, :string
378
+ attribute :sup_operators, :string
379
+ attribute :sup_recursion, "Umath::Model::Expression"
380
+ attribute :sup_recursion_expr, "Umath::Model::MiniExpression"
381
+ attribute :sup_recursions, "Umath::Model::MiniExpression"
382
+ end
383
+
384
+ # Capture +mini_numerator+.
385
+ class MiniNumerator < Lutaml::Model::Serializable
386
+ attribute :expr, "Umath::Model::Expression"
387
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
388
+ attribute :sup_alpha, :string
389
+ attribute :sup_digits, :string
390
+ attribute :sup_operators, :string
391
+ attribute :sup_recursion, "Umath::Model::Expression"
392
+ attribute :sup_recursion_expr, "Umath::Model::MiniExpression"
393
+ attribute :sup_recursions, "Umath::Model::MiniExpression"
394
+ end
395
+
396
+ # Capture +mini_sub+.
397
+ class MiniSub < Lutaml::Model::Serializable
398
+ attribute :base, "Umath::Model::Expression"
399
+ attribute :expr, "Umath::Model::Expression"
400
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
401
+ attribute :sub, "Umath::Model::Expression"
402
+ attribute :sub_alpha, :string
403
+ attribute :sub_digits, :string
404
+ attribute :sub_operators, :string
405
+ attribute :sub_recursion, "Umath::Model::Expression"
406
+ attribute :sub_recursion_expr, "Umath::Model::MiniExpression"
407
+ attribute :sub_recursions, "Umath::Model::MiniExpression"
408
+ attribute :sup_alpha, :string
409
+ attribute :sup_digits, :string
410
+ attribute :sup_operators, :string
411
+ end
412
+
413
+ # Capture +mini_sub_sup+.
414
+ class MiniSubSup < Lutaml::Model::Serializable
415
+ attribute :base, "Umath::Model::Expression"
416
+ attribute :sub, "Umath::Model::Expression"
417
+ attribute :sup, "Umath::Model::Expression"
418
+ end
419
+
420
+ # Capture +mini_sup+.
421
+ class MiniSup < Lutaml::Model::Serializable
422
+ attribute :base, "Umath::Model::Expression"
423
+ attribute :expr, "Umath::Model::Expression"
424
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
425
+ attribute :sub_alpha, :string
426
+ attribute :sub_digits, :string
427
+ attribute :sub_operators, :string
428
+ attribute :sup, "Umath::Model::Expression"
429
+ attribute :sup_alpha, :string
430
+ attribute :sup_digits, :string
431
+ attribute :sup_operators, :string
432
+ attribute :sup_recursion, "Umath::Model::Expression"
433
+ attribute :sup_recursion_expr, "Umath::Model::MiniExpression"
434
+ attribute :sup_recursions, "Umath::Model::MiniExpression"
435
+ end
436
+
437
+ # Capture +mitBbb+.
438
+ class MitBbb < Lutaml::Model::Serializable
439
+ attribute :present, :string
440
+ end
441
+
442
+ # Capture +monospace+.
443
+ class Monospace < Lutaml::Model::Serializable
444
+ attribute :monospace_value, "Umath::Model::Expression"
445
+ end
446
+
447
+ # Capture +nary+.
448
+ class Nary < Lutaml::Model::Serializable
449
+ attribute :nary_class, "Umath::Model::MathSymbol"
450
+ attribute :nary_sub_sup, "Umath::Model::NarySubSup"
451
+ attribute :naryand, "Umath::Model::Expression"
452
+ end
453
+
454
+ # Capture +nary_sub_sup+.
455
+ class NarySubSup < Lutaml::Model::Serializable
456
+ attribute :sub_exp, "Umath::Model::SubExp"
457
+ attribute :subsup_exp, "Umath::Model::SubsupExp"
458
+ attribute :sup_exp, "Umath::Model::SupExp"
459
+ end
460
+
461
+ # Capture +open_paren_mask+.
462
+ class OpenParenMask < Lutaml::Model::Serializable
463
+ attribute :number, :string
464
+ end
465
+
466
+ # Capture +opener+.
467
+ class Opener < Lutaml::Model::Serializable
468
+ attribute :open_paren, "Umath::Model::Paren"
469
+ attribute :open_paren_mask, "Umath::Model::OpenParenMask"
470
+ attribute :paren_open_prefix, "Umath::Model::MathSymbol"
471
+ end
472
+
473
+ # Capture +operand+.
474
+ class Operand < Lutaml::Model::Serializable
475
+ attribute :accents, "Umath::Model::Accents"
476
+ attribute :binary_negated_operator, "Umath::Model::MathSymbol"
477
+ attribute :factor, "Umath::Model::Expression"
478
+ attribute :fonts, "Umath::Model::Fonts"
479
+ attribute :infty, "Umath::Model::MathSymbol"
480
+ attribute :negated_operator, "Umath::Model::MathSymbol"
481
+ attribute :operand, "Umath::Model::Operand"
482
+ attribute :operator, "Umath::Model::MathSymbol"
483
+ attribute :ordinary_negated_operator, "Umath::Model::MathSymbol"
484
+ attribute :phantom, "Umath::Model::Phantom"
485
+ attribute :rect, "Umath::Model::Rect"
486
+ attribute :symbol, "Umath::Model::SymbolNode"
487
+ attribute :text, :string
488
+ end
489
+
490
+ # Capture +other+.
491
+ class Other < Lutaml::Model::Serializable
492
+ attribute :symbol, "Umath::Model::SymbolNode"
493
+ end
494
+
495
+ # Capture +overlay_after+.
496
+ class OverlayAfter < Lutaml::Model::Serializable
497
+ attribute :diacritic_overlays, "Umath::Model::MathSymbol"
498
+ end
499
+
500
+ # Capture +overlay_before+.
501
+ class OverlayBefore < Lutaml::Model::Serializable
502
+ attribute :diacritic_overlays, "Umath::Model::MathSymbol"
503
+ end
504
+
505
+ # A whole expression: the captures +close_paren+, +open_paren+.
506
+ class Paren < Lutaml::Model::Serializable
507
+ attribute :close_paren, "Umath::Model::Paren"
508
+ attribute :close_paren_mask, "Umath::Model::CloseParenMask"
509
+ attribute :open_paren, "Umath::Model::Paren"
510
+ attribute :open_paren_mask, "Umath::Model::OpenParenMask"
511
+ attribute :paren_close_prefix, "Umath::Model::MathSymbol"
512
+ attribute :paren_open_prefix, "Umath::Model::MathSymbol"
513
+ attribute :spelling, :string
514
+ attribute :value, :string
515
+ attribute :kind, :string, values: %w[symbol paren unlisted]
516
+ end
517
+
518
+ # Capture +phantom+.
519
+ class Phantom < Lutaml::Model::Serializable
520
+ attribute :first_value, "Umath::Model::Expression"
521
+ attribute :phantom_value, :string
522
+ end
523
+
524
+ # Capture +pre_override_subsup+.
525
+ class PreOverrideSubsup < Lutaml::Model::Serializable
526
+ attribute :over, :string
527
+ attribute :pre_subscript, "Umath::Model::Expression"
528
+ attribute :pre_supscript, "Umath::Model::Expression"
529
+ attribute :size_overrides, :string
530
+ attribute :under, :string
531
+ end
532
+
533
+ # An element of capture +prime_accent_symbols+.
534
+ class PrimeAccentSymbolsItem < Lutaml::Model::Serializable
535
+ attribute :prefixed_prime, "Umath::Model::MathSymbol"
536
+ attribute :spelling, :string
537
+ attribute :value, :string
538
+ attribute :kind, :string, values: %w[symbol paren unlisted]
539
+ end
540
+
541
+ # Capture +rect+.
542
+ class Rect < Lutaml::Model::Serializable
543
+ attribute :first_value, "Umath::Model::Expression"
544
+ attribute :rect_value, :string
545
+ end
546
+
547
+ # Capture +right_value+.
548
+ class RightValue < Lutaml::Model::Serializable
549
+ attribute :infty, "Umath::Model::MathSymbol"
550
+ attribute :list, "Umath::Model::ListItem", collection: true
551
+ attribute :negative, "Umath::Model::MathSymbol"
552
+ attribute :number, :string
553
+ attribute :positive, "Umath::Model::MathSymbol"
554
+ end
555
+
556
+ # Capture +root_first_value+.
557
+ class RootFirstValue < Lutaml::Model::Serializable
558
+ attribute :expr, "Umath::Model::Expression"
559
+ attribute :func_expr, "Umath::Model::FuncExpr"
560
+ end
561
+
562
+ # Capture +root+.
563
+ class RootNode < Lutaml::Model::Serializable
564
+ attribute :first_value, "Umath::Model::Expression"
565
+ attribute :root_symbol, "Umath::Model::MathSymbol"
566
+ attribute :second_value, "Umath::Model::SecondValue"
567
+ end
568
+
569
+ # Capture +root_second_value+.
570
+ class RootSecondValue < Lutaml::Model::Serializable
571
+ attribute :expr, "Umath::Model::Expression"
572
+ attribute :func_expr, "Umath::Model::FuncExpr"
573
+ end
574
+
575
+ # Capture +second_value+.
576
+ class SecondValue < Lutaml::Model::Serializable
577
+ attribute :expr, "Umath::Model::Expression"
578
+ attribute :func_expr, "Umath::Model::FuncExpr"
579
+ end
580
+
581
+ # Capture +slashed_value+.
582
+ class SlashedValue < Lutaml::Model::Serializable
583
+ attribute :list, "Umath::Model::ListItem", collection: true
584
+ attribute :literal, :string
585
+ end
586
+
587
+ # Capture +sub_exp+.
588
+ class SubExp < Lutaml::Model::Serializable
589
+ attribute :base, "Umath::Model::Expression"
590
+ attribute :exp_iteration, "Umath::Model::ExpIteration"
591
+ attribute :expr, "Umath::Model::Expression"
592
+ attribute :mask, "Umath::Model::Mask"
593
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
594
+ attribute :mini_sub, "Umath::Model::MiniSub"
595
+ attribute :mini_sub_sup, "Umath::Model::MiniSubSup"
596
+ attribute :mini_sup, "Umath::Model::MiniSup"
597
+ attribute :nary_class, "Umath::Model::MathSymbol"
598
+ attribute :sub, "Umath::Model::Expression"
599
+ attribute :sub_alpha, :string
600
+ attribute :sub_digits, :string
601
+ attribute :sub_operators, :string
602
+ attribute :sub_recursion, "Umath::Model::Expression"
603
+ attribute :sub_recursion_expr, "Umath::Model::MiniExpression"
604
+ attribute :sub_recursions, "Umath::Model::MiniExpression"
605
+ end
606
+
607
+ # Capture +sub_paren+.
608
+ class SubParen < Lutaml::Model::Serializable
609
+ attribute :expr, "Umath::Model::Expression"
610
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
611
+ attribute :sub_alpha, :string
612
+ attribute :sub_digits, :string
613
+ attribute :sub_operators, :string
614
+ attribute :sub_recursion, "Umath::Model::Expression"
615
+ attribute :sub_recursion_expr, "Umath::Model::MiniExpression"
616
+ attribute :sub_recursions, "Umath::Model::MiniExpression"
617
+ end
618
+
619
+ # Capture +subsup_exp+.
620
+ class SubsupExp < Lutaml::Model::Serializable
621
+ attribute :base, "Umath::Model::Expression"
622
+ attribute :mask, "Umath::Model::Mask"
623
+ attribute :nary_class, "Umath::Model::MathSymbol"
624
+ attribute :sub, "Umath::Model::Expression"
625
+ attribute :sup, "Umath::Model::Expression"
626
+ end
627
+
628
+ # Capture +sup_exp+.
629
+ class SupExp < Lutaml::Model::Serializable
630
+ attribute :base, "Umath::Model::Expression"
631
+ attribute :exp_iteration, "Umath::Model::ExpIteration"
632
+ attribute :expr, "Umath::Model::Expression"
633
+ attribute :mask, "Umath::Model::Mask"
634
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
635
+ attribute :mini_sub, "Umath::Model::MiniSub"
636
+ attribute :mini_sub_sup, "Umath::Model::MiniSubSup"
637
+ attribute :mini_sup, "Umath::Model::MiniSup"
638
+ attribute :nary_class, "Umath::Model::MathSymbol"
639
+ attribute :sup, "Umath::Model::Expression"
640
+ attribute :sup_alpha, :string
641
+ attribute :sup_digits, :string
642
+ attribute :sup_operators, :string
643
+ attribute :sup_recursion, "Umath::Model::Expression"
644
+ attribute :sup_recursion_expr, "Umath::Model::MiniExpression"
645
+ attribute :sup_recursions, "Umath::Model::MiniExpression"
646
+ end
647
+
648
+ # Capture +sup_paren+.
649
+ class SupParen < Lutaml::Model::Serializable
650
+ attribute :expr, "Umath::Model::Expression"
651
+ attribute :mini_intermediate_exp, "Umath::Model::MiniExpression"
652
+ attribute :sup_alpha, :string
653
+ attribute :sup_digits, :string
654
+ attribute :sup_operators, :string
655
+ attribute :sup_recursion, "Umath::Model::Expression"
656
+ attribute :sup_recursion_expr, "Umath::Model::MiniExpression"
657
+ attribute :sup_recursions, "Umath::Model::MiniExpression"
658
+ end
659
+
660
+ # Capture +symbol+.
661
+ class SymbolNode < Lutaml::Model::Serializable
662
+ attribute :ldots, "Umath::Model::MathSymbol"
663
+ attribute :spelling, :string
664
+ attribute :value, :string
665
+ attribute :kind, :string, values: %w[symbol paren unlisted]
666
+ end
667
+
668
+ # Capture +table+.
669
+ class Table < Lutaml::Model::Serializable
670
+ attribute :array, "Umath::Model::ArrayNode"
671
+ attribute :identity_matrix_number, :string
672
+ attribute :matrixs, :string
673
+ end
674
+
675
+ # Capture +td+.
676
+ class Td < Lutaml::Model::Serializable
677
+ attribute :exp, "Umath::Model::Expression"
678
+ attribute :expr, "Umath::Model::Expression"
679
+ attribute :literal, :string
680
+ end
681
+
682
+ # Capture +tds+.
683
+ class Tds < Lutaml::Model::Serializable
684
+ attribute :td, "Umath::Model::Td"
685
+ attribute :tds, "Umath::Model::Tds"
686
+ end
687
+
688
+ # Capture +tr+.
689
+ class Tr < Lutaml::Model::Serializable
690
+ attribute :literal, :string
691
+ attribute :td, "Umath::Model::Td"
692
+ attribute :tds, "Umath::Model::Tds"
693
+ end
694
+
695
+ # Capture +trs+.
696
+ class Trs < Lutaml::Model::Serializable
697
+ attribute :tr, "Umath::Model::Tr"
698
+ attribute :trs, "Umath::Model::Trs"
699
+ end
700
+
701
+ # Capture +unary_function+.
702
+ class UnaryFunction < Lutaml::Model::Serializable
703
+ attribute :first_value, "Umath::Model::Expression"
704
+ attribute :unary_arg_functions, :string
705
+ attribute :unary_functions, :string
706
+ attribute :unary_symbols, "Umath::Model::MathSymbol"
707
+ end
708
+
709
+ # Capture +unary_sub_sup+.
710
+ class UnarySubSup < Lutaml::Model::Serializable
711
+ attribute :mini_sub, "Umath::Model::MiniSub"
712
+ attribute :mini_sub_sup, "Umath::Model::MiniSubSup"
713
+ attribute :mini_sup, "Umath::Model::MiniSup"
714
+ attribute :sub_exp, "Umath::Model::SubExp"
715
+ attribute :subsup_exp, "Umath::Model::SubsupExp"
716
+ attribute :sup_exp, "Umath::Model::SupExp"
717
+ end
718
+
719
+ # Capture +unary_subsup+.
720
+ class UnarySubsup < Lutaml::Model::Serializable
721
+ attribute :first_value, "Umath::Model::Expression"
722
+ attribute :unary_functions, :string
723
+ attribute :unary_sub_sup, "Umath::Model::UnarySubSup"
724
+ end
725
+
726
+ # Capture +unicoded_font_class+.
727
+ class UnicodedFontClass < Lutaml::Model::Serializable
728
+ attribute :literal, :string
729
+ attribute :mitBbb, "Umath::Model::MitBbb"
730
+ end
731
+
732
+ # Capture +whole+.
733
+ class Whole < Lutaml::Model::Serializable
734
+ attribute :number, :string
735
+ end
736
+ end
737
+ end