amath 0.1.0 → 0.2.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,653 @@
1
+ # frozen_string_literal: true
2
+
3
+ # GENERATED by scripts/generate_model.rb from the normalized grammar's
4
+ # capture shapes -- do not edit. 43 classes; MathSymbol and
5
+ # Document are in lib/amath/model.rb.
6
+ module Amath
7
+ module Model
8
+ # An element of capture +amath_chain+.
9
+ class AmathChainItem < Lutaml::Model::Serializable
10
+ attribute :amath_end, "Amath::Model::AmathEnd"
11
+ attribute :amath_lr, "Amath::Model::AmathLr"
12
+ attribute :amath_step, "Amath::Model::AmathStep"
13
+ end
14
+
15
+ # Capture +amath_end+.
16
+ class AmathEnd < Lutaml::Model::Serializable
17
+ attribute :comma, "Amath::Model::MathSymbol"
18
+ attribute :empty, :string
19
+ attribute :expr, "Amath::Model::Expr"
20
+ attribute :left_right, "Amath::Model::LeftRight"
21
+ attribute :rparen, "Amath::Model::MathSymbol"
22
+ attribute :table, "Amath::Model::Table"
23
+ end
24
+
25
+ # Capture +amath_lr+.
26
+ class AmathLr < Lutaml::Model::Serializable
27
+ attribute :base, "Amath::Model::Base"
28
+ attribute :base_value, "Amath::Model::BaseValue"
29
+ attribute :frac, "Amath::Model::Frac"
30
+ attribute :power, "Amath::Model::Power"
31
+ attribute :power_value, "Amath::Model::PowerValue"
32
+ attribute :table, "Amath::Model::Table"
33
+ end
34
+
35
+ # Capture +amath_step+.
36
+ class AmathStep < Lutaml::Model::Serializable
37
+ attribute :base, "Amath::Model::Base"
38
+ attribute :base_value, "Amath::Model::BaseValue"
39
+ attribute :color, "Amath::Model::Color"
40
+ attribute :color_value, "Amath::Model::ColorValue"
41
+ attribute :comma, "Amath::Model::MathSymbol"
42
+ attribute :empty, :string
43
+ attribute :frac, "Amath::Model::Frac"
44
+ attribute :left, "Amath::Model::MathSymbol"
45
+ attribute :literal, :string
46
+ attribute :literal_2, :string
47
+ attribute :mod, "Amath::Model::Mod"
48
+ attribute :power, "Amath::Model::Power"
49
+ attribute :power_base, "Amath::Model::PowerBase"
50
+ attribute :power_value, "Amath::Model::PowerValue"
51
+ attribute :right, "Amath::Model::MathSymbol"
52
+ attribute :sequence, "Amath::Model::Sequence"
53
+ attribute :symbol, "Amath::Model::MathSymbol"
54
+ attribute :table, "Amath::Model::Table"
55
+ attribute :ternary, "Amath::Model::Ternary"
56
+ attribute :ternary_class, :string
57
+ end
58
+
59
+ # Capture +base+.
60
+ class Base < Lutaml::Model::Serializable
61
+ attribute :base_value, "Amath::Model::BaseValue"
62
+ end
63
+
64
+ # Capture +base_value+.
65
+ class BaseValue < Lutaml::Model::Serializable
66
+ attribute :binary_class, :string
67
+ attribute :binary_number, :string
68
+ attribute :bold_fonts, :string
69
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
70
+ attribute :fonts_class, :string
71
+ attribute :fonts_value, "Amath::Model::FontsValue"
72
+ attribute :hex_number, :string
73
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
74
+ attribute :number, :string
75
+ attribute :octal_number, :string
76
+ attribute :slash, :string
77
+ attribute :symbol, "Amath::Model::MathSymbol"
78
+ attribute :ternary_class, :string
79
+ attribute :text, "Amath::Model::Text"
80
+ attribute :unary, "Amath::Model::Unary"
81
+ attribute :uncertainty, "Amath::Model::Uncertainty"
82
+ attribute :unitsml, "Amath::Model::Unitsml"
83
+ end
84
+
85
+ # Capture +color+.
86
+ class Color < Lutaml::Model::Serializable
87
+ attribute :base, "Amath::Model::Base"
88
+ attribute :base_value, "Amath::Model::BaseValue"
89
+ attribute :color, "Amath::Model::Color"
90
+ attribute :color_value, "Amath::Model::ColorValue"
91
+ attribute :comma, "Amath::Model::MathSymbol"
92
+ attribute :frac, "Amath::Model::Frac"
93
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
94
+ attribute :left, "Amath::Model::MathSymbol"
95
+ attribute :literal, :string
96
+ attribute :mod, "Amath::Model::Mod"
97
+ attribute :power, "Amath::Model::Power"
98
+ attribute :power_base, "Amath::Model::PowerBase"
99
+ attribute :power_value, "Amath::Model::PowerValue"
100
+ attribute :right, "Amath::Model::MathSymbol"
101
+ attribute :sequence, "Amath::Model::Sequence"
102
+ attribute :symbol, "Amath::Model::MathSymbol"
103
+ attribute :table, "Amath::Model::Table"
104
+ attribute :ternary, "Amath::Model::Ternary"
105
+ attribute :ternary_class, :string
106
+ end
107
+
108
+ # Capture +color_value+.
109
+ class ColorValue < Lutaml::Model::Serializable
110
+ attribute :binary_class, :string
111
+ attribute :binary_number, :string
112
+ attribute :bold_fonts, :string
113
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
114
+ attribute :fonts_class, :string
115
+ attribute :fonts_value, "Amath::Model::FontsValue"
116
+ attribute :hex_number, :string
117
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
118
+ attribute :number, :string
119
+ attribute :octal_number, :string
120
+ attribute :slash, :string
121
+ attribute :symbol, "Amath::Model::MathSymbol"
122
+ attribute :ternary_class, :string
123
+ attribute :text, "Amath::Model::Text"
124
+ attribute :unary, "Amath::Model::Unary"
125
+ attribute :uncertainty, "Amath::Model::Uncertainty"
126
+ attribute :unitsml, "Amath::Model::Unitsml"
127
+ end
128
+
129
+ # An element of capture +comma_separated+.
130
+ class CommaSeparatedItem < Lutaml::Model::Serializable
131
+ attribute :comma, "Amath::Model::MathSymbol"
132
+ attribute :number, :string
133
+ end
134
+
135
+ # Capture +denominator+.
136
+ class Denominator < Lutaml::Model::Serializable
137
+ attribute :base, "Amath::Model::Base"
138
+ attribute :base_value, "Amath::Model::BaseValue"
139
+ attribute :color, "Amath::Model::Color"
140
+ attribute :color_value, "Amath::Model::ColorValue"
141
+ attribute :comma, "Amath::Model::MathSymbol"
142
+ attribute :frac, "Amath::Model::Frac"
143
+ attribute :left, "Amath::Model::MathSymbol"
144
+ attribute :literal, :string
145
+ attribute :mod, "Amath::Model::Mod"
146
+ attribute :power, "Amath::Model::Power"
147
+ attribute :power_base, "Amath::Model::PowerBase"
148
+ attribute :power_value, "Amath::Model::PowerValue"
149
+ attribute :right, "Amath::Model::MathSymbol"
150
+ attribute :sequence, "Amath::Model::Sequence"
151
+ attribute :symbol, "Amath::Model::MathSymbol"
152
+ attribute :table, "Amath::Model::Table"
153
+ attribute :ternary, "Amath::Model::Ternary"
154
+ attribute :ternary_class, :string
155
+ end
156
+
157
+ # Capture +diff+.
158
+ class Diff < Lutaml::Model::Serializable
159
+ attribute :uncertainty, "Amath::Model::Uncertainty"
160
+ end
161
+
162
+ # Capture +dividend+.
163
+ class Dividend < Lutaml::Model::Serializable
164
+ attribute :base, "Amath::Model::Base"
165
+ attribute :base_value, "Amath::Model::BaseValue"
166
+ attribute :binary_class, :string
167
+ attribute :binary_number, :string
168
+ attribute :bold_fonts, :string
169
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
170
+ attribute :fonts_class, :string
171
+ attribute :fonts_value, "Amath::Model::FontsValue"
172
+ attribute :hex_number, :string
173
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
174
+ attribute :number, :string
175
+ attribute :octal_number, :string
176
+ attribute :power, "Amath::Model::Power"
177
+ attribute :power_base, "Amath::Model::PowerBase"
178
+ attribute :power_value, "Amath::Model::PowerValue"
179
+ attribute :slash, :string
180
+ attribute :symbol, "Amath::Model::MathSymbol"
181
+ attribute :ternary_class, :string
182
+ attribute :text, "Amath::Model::Text"
183
+ attribute :unary, "Amath::Model::Unary"
184
+ attribute :uncertainty, "Amath::Model::Uncertainty"
185
+ attribute :unitsml, "Amath::Model::Unitsml"
186
+ end
187
+
188
+ # Capture +divisor+.
189
+ class Divisor < Lutaml::Model::Serializable
190
+ attribute :base, "Amath::Model::Base"
191
+ attribute :base_value, "Amath::Model::BaseValue"
192
+ attribute :color, "Amath::Model::Color"
193
+ attribute :color_value, "Amath::Model::ColorValue"
194
+ attribute :comma, "Amath::Model::MathSymbol"
195
+ attribute :frac, "Amath::Model::Frac"
196
+ attribute :left, "Amath::Model::MathSymbol"
197
+ attribute :literal, :string
198
+ attribute :mod, "Amath::Model::Mod"
199
+ attribute :negative_mod_operand, "Amath::Model::NegativeModOperand"
200
+ attribute :power, "Amath::Model::Power"
201
+ attribute :power_base, "Amath::Model::PowerBase"
202
+ attribute :power_value, "Amath::Model::PowerValue"
203
+ attribute :right, "Amath::Model::MathSymbol"
204
+ attribute :sequence, "Amath::Model::Sequence"
205
+ attribute :symbol, "Amath::Model::MathSymbol"
206
+ attribute :table, "Amath::Model::Table"
207
+ attribute :ternary, "Amath::Model::Ternary"
208
+ attribute :ternary_class, :string
209
+ end
210
+
211
+ # Capture +expr+.
212
+ class Expr < Lutaml::Model::Serializable
213
+ attribute :amath_chain, "Amath::Model::AmathChainItem", collection: true
214
+ attribute :base, "Amath::Model::Base"
215
+ attribute :base_value, "Amath::Model::BaseValue"
216
+ attribute :color, "Amath::Model::Color"
217
+ attribute :color_value, "Amath::Model::ColorValue"
218
+ attribute :comma, "Amath::Model::MathSymbol"
219
+ attribute :empty, :string
220
+ attribute :expr, "Amath::Model::Expr"
221
+ attribute :frac, "Amath::Model::Frac"
222
+ attribute :left, "Amath::Model::MathSymbol"
223
+ attribute :left_right, "Amath::Model::LeftRight"
224
+ attribute :list, "Amath::Model::ListItem", collection: true
225
+ attribute :literal, :string
226
+ attribute :literal_2, :string
227
+ attribute :mod, "Amath::Model::Mod"
228
+ attribute :power, "Amath::Model::Power"
229
+ attribute :power_base, "Amath::Model::PowerBase"
230
+ attribute :power_value, "Amath::Model::PowerValue"
231
+ attribute :right, "Amath::Model::MathSymbol"
232
+ attribute :rparen, "Amath::Model::MathSymbol"
233
+ attribute :sequence, "Amath::Model::Sequence"
234
+ attribute :symbol, "Amath::Model::MathSymbol"
235
+ attribute :table, "Amath::Model::Table"
236
+ attribute :table_row, "Amath::Model::TableRow"
237
+ attribute :ternary, "Amath::Model::Ternary"
238
+ attribute :ternary_class, :string
239
+ end
240
+
241
+ # Capture +root+.
242
+ class Expression < Lutaml::Model::Serializable
243
+ attribute :comma, "Amath::Model::MathSymbol"
244
+ attribute :empty, :string
245
+ attribute :expr, "Amath::Model::Expr"
246
+ attribute :left_right, "Amath::Model::LeftRight"
247
+ attribute :rparen, "Amath::Model::MathSymbol"
248
+ attribute :table, "Amath::Model::Table"
249
+ end
250
+
251
+ # Capture +fonts_value+.
252
+ class FontsValue < Lutaml::Model::Serializable
253
+ attribute :binary_class, :string
254
+ attribute :binary_number, :string
255
+ attribute :bold_fonts, :string
256
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
257
+ attribute :fonts_class, :string
258
+ attribute :fonts_value, "Amath::Model::FontsValue"
259
+ attribute :hex_number, :string
260
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
261
+ attribute :number, :string
262
+ attribute :octal_number, :string
263
+ attribute :slash, :string
264
+ attribute :symbol, "Amath::Model::MathSymbol"
265
+ attribute :ternary_class, :string
266
+ attribute :text, "Amath::Model::Text"
267
+ attribute :unary, "Amath::Model::Unary"
268
+ attribute :uncertainty, "Amath::Model::Uncertainty"
269
+ attribute :unitsml, "Amath::Model::Unitsml"
270
+ end
271
+
272
+ # Capture +frac+.
273
+ class Frac < Lutaml::Model::Serializable
274
+ attribute :denominator, "Amath::Model::Denominator"
275
+ attribute :numerator, "Amath::Model::Numerator"
276
+ end
277
+
278
+ # Capture +intermediate_exp+.
279
+ class IntermediateExp < Lutaml::Model::Serializable
280
+ attribute :d, "Amath::Model::MathSymbol"
281
+ attribute :expr, "Amath::Model::Expr"
282
+ attribute :lparen, "Amath::Model::MathSymbol"
283
+ attribute :rgb_color, "Amath::Model::RgbColor"
284
+ attribute :rparen, "Amath::Model::MathSymbol"
285
+ attribute :text, "Amath::Model::Text"
286
+ attribute :x, "Amath::Model::MathSymbol"
287
+ end
288
+
289
+ # Capture +left_right+.
290
+ class LeftRight < Lutaml::Model::Serializable
291
+ attribute :amath_chain, "Amath::Model::AmathChainItem", collection: true
292
+ attribute :base, "Amath::Model::Base"
293
+ attribute :base_value, "Amath::Model::BaseValue"
294
+ attribute :comma, "Amath::Model::MathSymbol"
295
+ attribute :empty, :string
296
+ attribute :expr, "Amath::Model::Expr"
297
+ attribute :frac, "Amath::Model::Frac"
298
+ attribute :left, "Amath::Model::MathSymbol"
299
+ attribute :left_right, "Amath::Model::LeftRight"
300
+ attribute :left_right_value, "Amath::Model::LeftRightValue"
301
+ attribute :power, "Amath::Model::Power"
302
+ attribute :power_value, "Amath::Model::PowerValue"
303
+ attribute :right, "Amath::Model::MathSymbol"
304
+ attribute :rparen, "Amath::Model::MathSymbol"
305
+ attribute :table, "Amath::Model::Table"
306
+ end
307
+
308
+ # Capture +left_right_value+.
309
+ class LeftRightValue < Lutaml::Model::Serializable
310
+ attribute :base, "Amath::Model::Base"
311
+ attribute :base_value, "Amath::Model::BaseValue"
312
+ attribute :binary_class, :string
313
+ attribute :binary_number, :string
314
+ attribute :bold_fonts, :string
315
+ attribute :color, "Amath::Model::Color"
316
+ attribute :color_value, "Amath::Model::ColorValue"
317
+ attribute :comma, "Amath::Model::MathSymbol"
318
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
319
+ attribute :empty, :string
320
+ attribute :fonts_class, :string
321
+ attribute :fonts_value, "Amath::Model::FontsValue"
322
+ attribute :frac, "Amath::Model::Frac"
323
+ attribute :hex_number, :string
324
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
325
+ attribute :left, "Amath::Model::MathSymbol"
326
+ attribute :literal, :string
327
+ attribute :mod, "Amath::Model::Mod"
328
+ attribute :number, :string
329
+ attribute :octal_number, :string
330
+ attribute :power, "Amath::Model::Power"
331
+ attribute :power_base, "Amath::Model::PowerBase"
332
+ attribute :power_value, "Amath::Model::PowerValue"
333
+ attribute :right, "Amath::Model::MathSymbol"
334
+ attribute :sequence, "Amath::Model::Sequence"
335
+ attribute :slash, :string
336
+ attribute :symbol, "Amath::Model::MathSymbol"
337
+ attribute :table, "Amath::Model::Table"
338
+ attribute :ternary, "Amath::Model::Ternary"
339
+ attribute :ternary_class, :string
340
+ attribute :text, "Amath::Model::Text"
341
+ attribute :unary, "Amath::Model::Unary"
342
+ attribute :uncertainty, "Amath::Model::Uncertainty"
343
+ attribute :unitsml, "Amath::Model::Unitsml"
344
+ end
345
+
346
+ # An element of capture +list+.
347
+ class ListItem < Lutaml::Model::Serializable
348
+ attribute :base, "Amath::Model::Base"
349
+ attribute :base_value, "Amath::Model::BaseValue"
350
+ attribute :comma, "Amath::Model::MathSymbol"
351
+ attribute :expr, "Amath::Model::Expr"
352
+ attribute :left_right, "Amath::Model::LeftRight"
353
+ attribute :power, "Amath::Model::Power"
354
+ attribute :power_value, "Amath::Model::PowerValue"
355
+ attribute :rparen, "Amath::Model::MathSymbol"
356
+ end
357
+
358
+ # Capture +mod+.
359
+ class Mod < Lutaml::Model::Serializable
360
+ attribute :dividend, "Amath::Model::Dividend"
361
+ attribute :divisor, "Amath::Model::Divisor"
362
+ attribute :literal, :string
363
+ attribute :mod, "Amath::Model::Mod"
364
+ end
365
+
366
+ # Capture +negative_mod_operand+.
367
+ class NegativeModOperand < Lutaml::Model::Serializable
368
+ attribute :base, "Amath::Model::Base"
369
+ attribute :base_value, "Amath::Model::BaseValue"
370
+ attribute :color, "Amath::Model::Color"
371
+ attribute :color_value, "Amath::Model::ColorValue"
372
+ attribute :comma, "Amath::Model::MathSymbol"
373
+ attribute :frac, "Amath::Model::Frac"
374
+ attribute :left, "Amath::Model::MathSymbol"
375
+ attribute :literal, :string
376
+ attribute :literal_2, :string
377
+ attribute :mod, "Amath::Model::Mod"
378
+ attribute :power, "Amath::Model::Power"
379
+ attribute :power_base, "Amath::Model::PowerBase"
380
+ attribute :power_value, "Amath::Model::PowerValue"
381
+ attribute :right, "Amath::Model::MathSymbol"
382
+ attribute :sequence, "Amath::Model::Sequence"
383
+ attribute :symbol, "Amath::Model::MathSymbol"
384
+ attribute :table, "Amath::Model::Table"
385
+ attribute :ternary, "Amath::Model::Ternary"
386
+ attribute :ternary_class, :string
387
+ end
388
+
389
+ # Capture +numerator+.
390
+ class Numerator < Lutaml::Model::Serializable
391
+ attribute :base, "Amath::Model::Base"
392
+ attribute :base_value, "Amath::Model::BaseValue"
393
+ attribute :binary_class, :string
394
+ attribute :binary_number, :string
395
+ attribute :bold_fonts, :string
396
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
397
+ attribute :expr, "Amath::Model::Expr"
398
+ attribute :fonts_class, :string
399
+ attribute :fonts_value, "Amath::Model::FontsValue"
400
+ attribute :hex_number, :string
401
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
402
+ attribute :left, "Amath::Model::MathSymbol"
403
+ attribute :norm, :string
404
+ attribute :number, :string
405
+ attribute :octal_number, :string
406
+ attribute :power, "Amath::Model::Power"
407
+ attribute :power_base, "Amath::Model::PowerBase"
408
+ attribute :power_value, "Amath::Model::PowerValue"
409
+ attribute :right, "Amath::Model::MathSymbol"
410
+ attribute :slash, :string
411
+ attribute :symbol, "Amath::Model::MathSymbol"
412
+ attribute :table_left, "Amath::Model::TableLeft"
413
+ attribute :table_right, "Amath::Model::TableRight"
414
+ attribute :table_row, "Amath::Model::TableRow"
415
+ attribute :ternary_class, :string
416
+ attribute :text, "Amath::Model::Text"
417
+ attribute :unary, "Amath::Model::Unary"
418
+ attribute :uncertainty, "Amath::Model::Uncertainty"
419
+ attribute :unitsml, "Amath::Model::Unitsml"
420
+ end
421
+
422
+ # Capture +power+.
423
+ class Power < Lutaml::Model::Serializable
424
+ attribute :power_value, "Amath::Model::PowerValue"
425
+ end
426
+
427
+ # Capture +power_base+.
428
+ class PowerBase < Lutaml::Model::Serializable
429
+ attribute :base, "Amath::Model::Base"
430
+ attribute :base_value, "Amath::Model::BaseValue"
431
+ attribute :binary_class, :string
432
+ attribute :binary_number, :string
433
+ attribute :bold_fonts, :string
434
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
435
+ attribute :fonts_class, :string
436
+ attribute :fonts_value, "Amath::Model::FontsValue"
437
+ attribute :hex_number, :string
438
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
439
+ attribute :number, :string
440
+ attribute :octal_number, :string
441
+ attribute :power, "Amath::Model::Power"
442
+ attribute :power_base, "Amath::Model::PowerBase"
443
+ attribute :power_value, "Amath::Model::PowerValue"
444
+ attribute :slash, :string
445
+ attribute :symbol, "Amath::Model::MathSymbol"
446
+ attribute :ternary_class, :string
447
+ attribute :text, "Amath::Model::Text"
448
+ attribute :unary, "Amath::Model::Unary"
449
+ attribute :unary_class, :string
450
+ attribute :uncertainty, "Amath::Model::Uncertainty"
451
+ attribute :unitsml, "Amath::Model::Unitsml"
452
+ end
453
+
454
+ # Capture +power_value+.
455
+ class PowerValue < Lutaml::Model::Serializable
456
+ attribute :binary_class, :string
457
+ attribute :binary_number, :string
458
+ attribute :bold_fonts, :string
459
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
460
+ attribute :fonts_class, :string
461
+ attribute :fonts_value, "Amath::Model::FontsValue"
462
+ attribute :hex_number, :string
463
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
464
+ attribute :number, :string
465
+ attribute :octal_number, :string
466
+ attribute :slash, :string
467
+ attribute :symbol, "Amath::Model::MathSymbol"
468
+ attribute :ternary_class, :string
469
+ attribute :text, "Amath::Model::Text"
470
+ attribute :unary, "Amath::Model::Unary"
471
+ attribute :uncertainty, "Amath::Model::Uncertainty"
472
+ attribute :unitsml, "Amath::Model::Unitsml"
473
+ end
474
+
475
+ # Capture +rgb_color+.
476
+ class RgbColor < Lutaml::Model::Serializable
477
+ attribute :expr, "Amath::Model::Expr"
478
+ attribute :left_right, "Amath::Model::LeftRight"
479
+ attribute :literal, :string
480
+ end
481
+
482
+ # Capture +sequence+.
483
+ class Sequence < Lutaml::Model::Serializable
484
+ attribute :binary_class, :string
485
+ attribute :binary_number, :string
486
+ attribute :bold_fonts, :string
487
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
488
+ attribute :fonts_class, :string
489
+ attribute :fonts_value, "Amath::Model::FontsValue"
490
+ attribute :hex_number, :string
491
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
492
+ attribute :number, :string
493
+ attribute :octal_number, :string
494
+ attribute :slash, :string
495
+ attribute :symbol, "Amath::Model::MathSymbol"
496
+ attribute :ternary_class, :string
497
+ attribute :text, "Amath::Model::Text"
498
+ attribute :unary, "Amath::Model::Unary"
499
+ attribute :uncertainty, "Amath::Model::Uncertainty"
500
+ attribute :unitsml, "Amath::Model::Unitsml"
501
+ end
502
+
503
+ # Capture +table+.
504
+ class Table < Lutaml::Model::Serializable
505
+ attribute :expr, "Amath::Model::Expr"
506
+ attribute :left, "Amath::Model::MathSymbol"
507
+ attribute :norm, :string
508
+ attribute :right, "Amath::Model::MathSymbol"
509
+ attribute :table_left, "Amath::Model::TableLeft"
510
+ attribute :table_right, "Amath::Model::TableRight"
511
+ attribute :table_row, "Amath::Model::TableRow"
512
+ end
513
+
514
+ # Capture +table_left+.
515
+ class TableLeft < Lutaml::Model::Serializable
516
+ attribute :spelling, :string
517
+ attribute :table_left, "Amath::Model::TableLeft"
518
+ attribute :value, :string
519
+ attribute :kind, :string
520
+ include Spelled
521
+ end
522
+
523
+ # Capture +table_right+.
524
+ class TableRight < Lutaml::Model::Serializable
525
+ attribute :spelling, :string
526
+ attribute :table_right, "Amath::Model::TableRight"
527
+ attribute :value, :string
528
+ attribute :kind, :string
529
+ include Spelled
530
+ end
531
+
532
+ # Capture +table_row+.
533
+ class TableRow < Lutaml::Model::Serializable
534
+ attribute :open_tr, :string
535
+ attribute :tds_list, "Amath::Model::TdsList"
536
+ end
537
+
538
+ # Capture +td+.
539
+ class Td < Lutaml::Model::Serializable
540
+ attribute :expr, "Amath::Model::Expr"
541
+ attribute :left_right, "Amath::Model::LeftRight"
542
+ attribute :literal, :string
543
+ end
544
+
545
+ # Capture +tds_list+.
546
+ class TdsList < Lutaml::Model::Serializable
547
+ attribute :td, "Amath::Model::Td"
548
+ end
549
+
550
+ # Capture +term+.
551
+ class Term < Lutaml::Model::Serializable
552
+ attribute :diff, "Amath::Model::Diff"
553
+ attribute :uncertainty, "Amath::Model::Uncertainty"
554
+ attribute :unit, "Amath::Model::Unit"
555
+ end
556
+
557
+ # Capture +ternary+.
558
+ class Ternary < Lutaml::Model::Serializable
559
+ attribute :base, "Amath::Model::Base"
560
+ attribute :base_value, "Amath::Model::BaseValue"
561
+ attribute :power, "Amath::Model::Power"
562
+ attribute :power_value, "Amath::Model::PowerValue"
563
+ attribute :ternary_class, :string
564
+ attribute :third_value, "Amath::Model::ThirdValue"
565
+ end
566
+
567
+ # Capture +text+.
568
+ class Text < Lutaml::Model::Serializable
569
+ attribute :empty_list, :string
570
+ attribute :literal, :string
571
+ end
572
+
573
+ # Capture +third_value+.
574
+ class ThirdValue < Lutaml::Model::Serializable
575
+ attribute :base, "Amath::Model::Base"
576
+ attribute :base_value, "Amath::Model::BaseValue"
577
+ attribute :color, "Amath::Model::Color"
578
+ attribute :color_value, "Amath::Model::ColorValue"
579
+ attribute :comma, "Amath::Model::MathSymbol"
580
+ attribute :frac, "Amath::Model::Frac"
581
+ attribute :left, "Amath::Model::MathSymbol"
582
+ attribute :literal, :string
583
+ attribute :mod, "Amath::Model::Mod"
584
+ attribute :power, "Amath::Model::Power"
585
+ attribute :power_base, "Amath::Model::PowerBase"
586
+ attribute :power_value, "Amath::Model::PowerValue"
587
+ attribute :right, "Amath::Model::MathSymbol"
588
+ attribute :sequence, "Amath::Model::Sequence"
589
+ attribute :symbol, "Amath::Model::MathSymbol"
590
+ attribute :table, "Amath::Model::Table"
591
+ attribute :ternary, "Amath::Model::Ternary"
592
+ attribute :ternary_class, :string
593
+ end
594
+
595
+ # Capture +unary+.
596
+ class Unary < Lutaml::Model::Serializable
597
+ attribute :base, "Amath::Model::Base"
598
+ attribute :base_value, "Amath::Model::BaseValue"
599
+ attribute :binary_class, :string
600
+ attribute :binary_number, :string
601
+ attribute :bold_fonts, :string
602
+ attribute :comma_separated, "Amath::Model::CommaSeparatedItem", collection: true
603
+ attribute :fonts_class, :string
604
+ attribute :fonts_value, "Amath::Model::FontsValue"
605
+ attribute :hex_number, :string
606
+ attribute :intermediate_exp, "Amath::Model::IntermediateExp"
607
+ attribute :number, :string
608
+ attribute :octal_number, :string
609
+ attribute :power, "Amath::Model::Power"
610
+ attribute :power_base, "Amath::Model::PowerBase"
611
+ attribute :power_value, "Amath::Model::PowerValue"
612
+ attribute :slash, :string
613
+ attribute :symbol, "Amath::Model::MathSymbol"
614
+ attribute :ternary_class, :string
615
+ attribute :text, "Amath::Model::Text"
616
+ attribute :unary, "Amath::Model::Unary"
617
+ attribute :unary_class, :string
618
+ attribute :uncertainty, "Amath::Model::Uncertainty"
619
+ attribute :unitsml, "Amath::Model::Unitsml"
620
+ end
621
+
622
+ # Capture +uncertainty+.
623
+ class Uncertainty < Lutaml::Model::Serializable
624
+ attribute :concise_digits, :string
625
+ attribute :coverage_factor, :string
626
+ attribute :coverage_probability, :string
627
+ attribute :distribution, :string
628
+ attribute :interval_kind, :string
629
+ attribute :lower, :string
630
+ attribute :magnitude, :string
631
+ attribute :plus_minus, :string
632
+ attribute :relative_magnitude, :string
633
+ attribute :shared_exponent, :string
634
+ attribute :uncertainty_class, :string
635
+ attribute :unit, "Amath::Model::Unit"
636
+ attribute :upper, :string
637
+ attribute :value, :string
638
+ end
639
+
640
+ # Capture +unit+.
641
+ class Unit < Lutaml::Model::Serializable
642
+ attribute :empty_list, :string
643
+ attribute :literal, :string
644
+ attribute :quantity, :string
645
+ end
646
+
647
+ # Capture +unitsml+.
648
+ class Unitsml < Lutaml::Model::Serializable
649
+ attribute :empty_list, :string
650
+ attribute :literal, :string
651
+ end
652
+ end
653
+ end