latexmath 0.1.4 → 1.0.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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -0
  3. data/LICENSE.md +33 -0
  4. data/README.adoc +133 -14
  5. data/artifacts/latex.bindings.python.json +1 -0
  6. data/artifacts/latex.bindings.rs.json +1 -0
  7. data/artifacts/latex.bindings.ruby.json +1 -0
  8. data/artifacts/latex.bindings.ts.json +1 -0
  9. data/artifacts/latex.checksums.txt +19 -0
  10. data/artifacts/latex.json +1 -0
  11. data/data/latex-symbols.json +3301 -0
  12. data/docs/model-contract.adoc +125 -0
  13. data/docs/parser-contract.adoc +349 -0
  14. data/docs/testsuite-pin.adoc +76 -0
  15. data/grammars/latex.wrappers.json +17 -0
  16. data/lib/latexmath/model/nodes.rb +918 -0
  17. data/lib/latexmath/model.rb +44 -0
  18. data/lib/latexmath/parser/artifact.rb +80 -0
  19. data/lib/latexmath/parser/configuration.rb +35 -0
  20. data/lib/latexmath/parser/engine.rb +161 -0
  21. data/lib/latexmath/parser/errors.rb +51 -0
  22. data/lib/latexmath/parser/native_recursion_guard.rb +43 -0
  23. data/lib/latexmath/parser/preprocessor.rb +77 -0
  24. data/lib/latexmath/parser/raw_parser.rb +84 -0
  25. data/lib/latexmath/parser/source_map.rb +121 -0
  26. data/lib/latexmath/parser/unwrap.rb +91 -0
  27. data/lib/latexmath/parser.rb +97 -0
  28. data/lib/latexmath/symbols.rb +74 -0
  29. data/lib/latexmath/version.rb +1 -1
  30. data/lib/latexmath.rb +5 -87
  31. data/model/latex.lml.checksums.txt +36 -0
  32. data/model/latex.lml.json +3350 -0
  33. metadata +60 -71
  34. data/.editorconfig +0 -14
  35. data/.github/workflows/test.yml +0 -80
  36. data/.gitignore +0 -22
  37. data/.rspec +0 -3
  38. data/.rubocop.yml +0 -129
  39. data/CODE_OF_CONDUCT.md +0 -74
  40. data/Gemfile +0 -10
  41. data/Gemfile.lock +0 -79
  42. data/Rakefile +0 -95
  43. data/bin/console +0 -14
  44. data/bin/setup +0 -8
  45. data/exe/latexmath +0 -8
  46. data/latexmath.gemspec +0 -34
  47. data/lib/latexmath/aggregator.rb +0 -351
  48. data/lib/latexmath/converter.rb +0 -424
  49. data/lib/latexmath/equation.rb +0 -13
  50. data/lib/latexmath/ext.rb +0 -9
  51. data/lib/latexmath/symbol.rb +0 -21
  52. data/lib/latexmath/tokenizer.rb +0 -82
  53. data/lib/latexmath/xml/builder.rb +0 -4
  54. data/lib/latexmath/xml/element.rb +0 -25
  55. data/lib/unimathsymbols.js.erb +0 -4
  56. data/lib/unimathsymbols.txt +0 -2864
  57. data/opal/latexmath-opal.rb +0 -40
  58. data/opal/ox.rb +0 -64
  59. data/opal/pseudoenumerator.rb +0 -19
@@ -0,0 +1,918 @@
1
+ # frozen_string_literal: true
2
+
3
+ # GENERATED by scripts/generate_model.rb from the normalized grammar's
4
+ # capture shapes -- do not edit. 33 classes.
5
+ module Latexmath
6
+ module Model
7
+ # Capture +args+.
8
+ class Args < Lutaml::Model::Serializable
9
+ attribute :base, "Latexmath::Model::Base"
10
+ attribute :binary, "Latexmath::Model::Binary"
11
+ attribute :binary_number, :string
12
+ attribute :dividend, "Latexmath::Model::Dividend"
13
+ attribute :divisor, "Latexmath::Model::Divisor"
14
+ attribute :environment, "Latexmath::Model::Environment"
15
+ attribute :expression, "Latexmath::Model::Expression"
16
+ attribute :first_value, "Latexmath::Model::FirstValue"
17
+ attribute :fonts, :string
18
+ attribute :hex_number, :string
19
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
20
+ attribute :left_right, "Latexmath::Model::LeftRight"
21
+ attribute :limits, "Latexmath::Model::Limits"
22
+ attribute :number, :string
23
+ attribute :numeric_values, :string
24
+ attribute :octal_number, :string
25
+ attribute :operant, :string
26
+ attribute :over, "Latexmath::Model::Over"
27
+ attribute :power, "Latexmath::Model::Power"
28
+ attribute :power_base, "Latexmath::Model::PowerBase"
29
+ attribute :row_break, :string
30
+ attribute :second_value, "Latexmath::Model::SecondValue"
31
+ attribute :sequence, "Latexmath::Model::Sequence"
32
+ attribute :space, :string
33
+ attribute :subscript, "Latexmath::Model::Subscript"
34
+ attribute :substack, :string
35
+ attribute :supscript, "Latexmath::Model::Supscript"
36
+ attribute :symbol, "Latexmath::Model::SymbolNode"
37
+ attribute :symbols, "Latexmath::Model::MathSymbol"
38
+ attribute :table_data, "Latexmath::Model::TableData"
39
+ attribute :ternary, :string
40
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
41
+ attribute :text, :string
42
+ attribute :three_per_em_space, :string
43
+ attribute :unary, :string
44
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
45
+ attribute :under_over, "Latexmath::Model::UnderOver"
46
+ attribute :underover, :string
47
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
48
+ end
49
+
50
+ # Capture +base+.
51
+ class Base < Lutaml::Model::Serializable
52
+ attribute :binary, "Latexmath::Model::Binary"
53
+ attribute :binary_functions, "Latexmath::Model::BinaryFunctions"
54
+ attribute :binary_number, :string
55
+ attribute :environment, "Latexmath::Model::Environment"
56
+ attribute :expression, "Latexmath::Model::Expression"
57
+ attribute :first_value, "Latexmath::Model::FirstValue"
58
+ attribute :fonts, :string
59
+ attribute :hex_number, :string
60
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
61
+ attribute :left_right, "Latexmath::Model::LeftRight"
62
+ attribute :number, :string
63
+ attribute :numeric_values, :string
64
+ attribute :octal_number, :string
65
+ attribute :operant, :string
66
+ attribute :power_base, "Latexmath::Model::PowerBase"
67
+ attribute :row_break, :string
68
+ attribute :space, :string
69
+ attribute :subscript, "Latexmath::Model::Subscript"
70
+ attribute :supscript, "Latexmath::Model::Supscript"
71
+ attribute :symbol, "Latexmath::Model::SymbolNode"
72
+ attribute :symbols, "Latexmath::Model::MathSymbol"
73
+ attribute :ternary, :string
74
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
75
+ attribute :text, :string
76
+ attribute :three_per_em_space, :string
77
+ attribute :unary, :string
78
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
79
+ attribute :underover, :string
80
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
81
+ end
82
+
83
+ # Capture +binary+.
84
+ class Binary < Lutaml::Model::Serializable
85
+ attribute :binary, "Latexmath::Model::Binary"
86
+ attribute :first_value, "Latexmath::Model::FirstValue"
87
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
88
+ attribute :literal, :string
89
+ attribute :root, :string
90
+ attribute :rule, :string
91
+ attribute :second_value, "Latexmath::Model::SecondValue"
92
+ attribute :sqrt, :string
93
+ attribute :third_value, "Latexmath::Model::ThirdValue"
94
+ end
95
+
96
+ # Capture +binary_functions+.
97
+ class BinaryFunctions < Lutaml::Model::Serializable
98
+ attribute :binary, "Latexmath::Model::Binary"
99
+ attribute :first_value, "Latexmath::Model::FirstValue"
100
+ attribute :second_value, "Latexmath::Model::SecondValue"
101
+ attribute :under_over, "Latexmath::Model::UnderOver"
102
+ end
103
+
104
+ # Capture +dividend+.
105
+ class Dividend < Lutaml::Model::Serializable
106
+ attribute :base, "Latexmath::Model::Base"
107
+ attribute :binary, "Latexmath::Model::Binary"
108
+ attribute :binary_number, :string
109
+ attribute :dividend, "Latexmath::Model::Dividend"
110
+ attribute :divisor, "Latexmath::Model::Divisor"
111
+ attribute :environment, "Latexmath::Model::Environment"
112
+ attribute :expression, "Latexmath::Model::Expression"
113
+ attribute :first_value, "Latexmath::Model::FirstValue"
114
+ attribute :fonts, :string
115
+ attribute :hex_number, :string
116
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
117
+ attribute :items, "Latexmath::Model::ItemsItem", collection: true
118
+ attribute :left_right, "Latexmath::Model::LeftRight"
119
+ attribute :limits, "Latexmath::Model::Limits"
120
+ attribute :number, :string
121
+ attribute :numeric_values, :string
122
+ attribute :octal_number, :string
123
+ attribute :operant, :string
124
+ attribute :over, "Latexmath::Model::Over"
125
+ attribute :power, "Latexmath::Model::Power"
126
+ attribute :power_base, "Latexmath::Model::PowerBase"
127
+ attribute :row_break, :string
128
+ attribute :second_value, "Latexmath::Model::SecondValue"
129
+ attribute :sequence, "Latexmath::Model::Sequence"
130
+ attribute :space, :string
131
+ attribute :subscript, "Latexmath::Model::Subscript"
132
+ attribute :substack, :string
133
+ attribute :supscript, "Latexmath::Model::Supscript"
134
+ attribute :symbol, "Latexmath::Model::SymbolNode"
135
+ attribute :symbols, "Latexmath::Model::MathSymbol"
136
+ attribute :table_data, "Latexmath::Model::TableData"
137
+ attribute :ternary, :string
138
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
139
+ attribute :text, :string
140
+ attribute :three_per_em_space, :string
141
+ attribute :unary, :string
142
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
143
+ attribute :under_over, "Latexmath::Model::UnderOver"
144
+ attribute :underover, :string
145
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
146
+ end
147
+
148
+ # Capture +divisor+.
149
+ class Divisor < Lutaml::Model::Serializable
150
+ attribute :base, "Latexmath::Model::Base"
151
+ attribute :binary, "Latexmath::Model::Binary"
152
+ attribute :binary_number, :string
153
+ attribute :dividend, "Latexmath::Model::Dividend"
154
+ attribute :divisor, "Latexmath::Model::Divisor"
155
+ attribute :environment, "Latexmath::Model::Environment"
156
+ attribute :expression, "Latexmath::Model::Expression"
157
+ attribute :first_value, "Latexmath::Model::FirstValue"
158
+ attribute :fonts, :string
159
+ attribute :hex_number, :string
160
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
161
+ attribute :items, "Latexmath::Model::ItemsItem", collection: true
162
+ attribute :left_right, "Latexmath::Model::LeftRight"
163
+ attribute :limits, "Latexmath::Model::Limits"
164
+ attribute :number, :string
165
+ attribute :numeric_values, :string
166
+ attribute :octal_number, :string
167
+ attribute :operant, :string
168
+ attribute :over, "Latexmath::Model::Over"
169
+ attribute :power, "Latexmath::Model::Power"
170
+ attribute :power_base, "Latexmath::Model::PowerBase"
171
+ attribute :row_break, :string
172
+ attribute :second_value, "Latexmath::Model::SecondValue"
173
+ attribute :sequence, "Latexmath::Model::Sequence"
174
+ attribute :space, :string
175
+ attribute :subscript, "Latexmath::Model::Subscript"
176
+ attribute :substack, :string
177
+ attribute :supscript, "Latexmath::Model::Supscript"
178
+ attribute :symbol, "Latexmath::Model::SymbolNode"
179
+ attribute :symbols, "Latexmath::Model::MathSymbol"
180
+ attribute :table_data, "Latexmath::Model::TableData"
181
+ attribute :ternary, :string
182
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
183
+ attribute :text, :string
184
+ attribute :three_per_em_space, :string
185
+ attribute :unary, :string
186
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
187
+ attribute :under_over, "Latexmath::Model::UnderOver"
188
+ attribute :underover, :string
189
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
190
+ end
191
+
192
+ # Capture +ending+.
193
+ class Ending < Lutaml::Model::Serializable
194
+ attribute :binary, "Latexmath::Model::Binary"
195
+ attribute :binary_number, :string
196
+ attribute :environment, "Latexmath::Model::Environment"
197
+ attribute :first_value, "Latexmath::Model::FirstValue"
198
+ attribute :fonts, :string
199
+ attribute :hex_number, :string
200
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
201
+ attribute :number, :string
202
+ attribute :numeric_values, :string
203
+ attribute :octal_number, :string
204
+ attribute :operant, :string
205
+ attribute :power_base, "Latexmath::Model::PowerBase"
206
+ attribute :row_break, :string
207
+ attribute :space, :string
208
+ attribute :subscript, "Latexmath::Model::Subscript"
209
+ attribute :supscript, "Latexmath::Model::Supscript"
210
+ attribute :symbol, "Latexmath::Model::SymbolNode"
211
+ attribute :symbols, "Latexmath::Model::MathSymbol"
212
+ attribute :ternary, :string
213
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
214
+ attribute :text, :string
215
+ attribute :three_per_em_space, :string
216
+ attribute :unary, :string
217
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
218
+ attribute :underover, :string
219
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
220
+ end
221
+
222
+ # Capture +environment+.
223
+ class Environment < Lutaml::Model::Serializable
224
+ attribute :args, "Latexmath::Model::Args"
225
+ attribute :asterisk, :string
226
+ attribute :binary, "Latexmath::Model::Binary"
227
+ attribute :binary_number, :string
228
+ attribute :ending, "Latexmath::Model::Ending"
229
+ attribute :environment, "Latexmath::Model::Environment"
230
+ attribute :first_value, "Latexmath::Model::FirstValue"
231
+ attribute :fonts, :string
232
+ attribute :hex_number, :string
233
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
234
+ attribute :literal, :string
235
+ attribute :number, :string
236
+ attribute :numeric_values, :string
237
+ attribute :octal_number, :string
238
+ attribute :operant, :string
239
+ attribute :options, "Latexmath::Model::Options"
240
+ attribute :power_base, "Latexmath::Model::PowerBase"
241
+ attribute :row_break, :string
242
+ attribute :space, :string
243
+ attribute :subscript, "Latexmath::Model::Subscript"
244
+ attribute :supscript, "Latexmath::Model::Supscript"
245
+ attribute :symbol, "Latexmath::Model::SymbolNode"
246
+ attribute :symbols, "Latexmath::Model::MathSymbol"
247
+ attribute :table_data, "Latexmath::Model::TableData"
248
+ attribute :ternary, :string
249
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
250
+ attribute :text, :string
251
+ attribute :three_per_em_space, :string
252
+ attribute :unary, :string
253
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
254
+ attribute :underover, :string
255
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
256
+ end
257
+
258
+ # Capture +expression+.
259
+ class Expression < Lutaml::Model::Serializable
260
+ attribute :absent, :string
261
+ attribute :base, "Latexmath::Model::Base"
262
+ attribute :binary, "Latexmath::Model::Binary"
263
+ attribute :binary_number, :string
264
+ attribute :dividend, "Latexmath::Model::Dividend"
265
+ attribute :divisor, "Latexmath::Model::Divisor"
266
+ attribute :environment, "Latexmath::Model::Environment"
267
+ attribute :expression, "Latexmath::Model::Expression"
268
+ attribute :first_value, "Latexmath::Model::FirstValue"
269
+ attribute :fonts, :string
270
+ attribute :hex_number, :string
271
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
272
+ attribute :items, "Latexmath::Model::ItemsItem", collection: true
273
+ attribute :left_right, "Latexmath::Model::LeftRight"
274
+ attribute :limits, "Latexmath::Model::Limits"
275
+ attribute :number, :string
276
+ attribute :numeric_values, :string
277
+ attribute :octal_number, :string
278
+ attribute :operant, :string
279
+ attribute :over, "Latexmath::Model::Over"
280
+ attribute :power, "Latexmath::Model::Power"
281
+ attribute :power_base, "Latexmath::Model::PowerBase"
282
+ attribute :row_break, :string
283
+ attribute :second_value, "Latexmath::Model::SecondValue"
284
+ attribute :sequence, "Latexmath::Model::Sequence"
285
+ attribute :space, :string
286
+ attribute :subscript, "Latexmath::Model::Subscript"
287
+ attribute :substack, :string
288
+ attribute :supscript, "Latexmath::Model::Supscript"
289
+ attribute :symbol, "Latexmath::Model::SymbolNode"
290
+ attribute :symbols, "Latexmath::Model::MathSymbol"
291
+ attribute :table_data, "Latexmath::Model::TableData"
292
+ attribute :ternary, :string
293
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
294
+ attribute :text, :string
295
+ attribute :three_per_em_space, :string
296
+ attribute :unary, :string
297
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
298
+ attribute :under_over, "Latexmath::Model::UnderOver"
299
+ attribute :underover, :string
300
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
301
+ end
302
+
303
+ # Capture +first_value+.
304
+ class FirstValue < Lutaml::Model::Serializable
305
+ attribute :absent, :string
306
+ attribute :binary, "Latexmath::Model::Binary"
307
+ attribute :binary_number, :string
308
+ attribute :dividend, "Latexmath::Model::Dividend"
309
+ attribute :divisor, "Latexmath::Model::Divisor"
310
+ attribute :environment, "Latexmath::Model::Environment"
311
+ attribute :expression, "Latexmath::Model::Expression"
312
+ attribute :first_value, "Latexmath::Model::FirstValue"
313
+ attribute :fonts, :string
314
+ attribute :hex_number, :string
315
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
316
+ attribute :left, :string
317
+ attribute :left_paren, "Latexmath::Model::LeftParen"
318
+ attribute :lparen, :string
319
+ attribute :number, :string
320
+ attribute :numeric_values, :string
321
+ attribute :octal_number, :string
322
+ attribute :operant, :string
323
+ attribute :power_base, "Latexmath::Model::PowerBase"
324
+ attribute :right, :string
325
+ attribute :right_paren, "Latexmath::Model::RightParen"
326
+ attribute :row_break, :string
327
+ attribute :rparen, :string
328
+ attribute :space, :string
329
+ attribute :subscript, "Latexmath::Model::Subscript"
330
+ attribute :supscript, "Latexmath::Model::Supscript"
331
+ attribute :symbol, "Latexmath::Model::SymbolNode"
332
+ attribute :symbols, "Latexmath::Model::MathSymbol"
333
+ attribute :ternary, :string
334
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
335
+ attribute :text, :string
336
+ attribute :text_list, :string
337
+ attribute :three_per_em_space, :string
338
+ attribute :unary, :string
339
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
340
+ attribute :underover, :string
341
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
342
+ end
343
+
344
+ # Capture +intermediate_exp+.
345
+ class IntermediateExp < Lutaml::Model::Serializable
346
+ attribute :binary, "Latexmath::Model::Binary"
347
+ attribute :binary_number, :string
348
+ attribute :environment, "Latexmath::Model::Environment"
349
+ attribute :expression, "Latexmath::Model::Expression"
350
+ attribute :first_value, "Latexmath::Model::FirstValue"
351
+ attribute :fonts, :string
352
+ attribute :hex_number, :string
353
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
354
+ attribute :left_paren, "Latexmath::Model::LeftParen"
355
+ attribute :number, :string
356
+ attribute :numeric_values, :string
357
+ attribute :octal_number, :string
358
+ attribute :operant, :string
359
+ attribute :power_base, "Latexmath::Model::PowerBase"
360
+ attribute :right_paren, "Latexmath::Model::RightParen"
361
+ attribute :row_break, :string
362
+ attribute :second_value, "Latexmath::Model::SecondValue"
363
+ attribute :space, :string
364
+ attribute :subscript, "Latexmath::Model::Subscript"
365
+ attribute :supscript, "Latexmath::Model::Supscript"
366
+ attribute :symbol, "Latexmath::Model::SymbolNode"
367
+ attribute :symbols, "Latexmath::Model::MathSymbol"
368
+ attribute :ternary, :string
369
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
370
+ attribute :text, :string
371
+ attribute :three_per_em_space, :string
372
+ attribute :unary, :string
373
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
374
+ attribute :under_over, "Latexmath::Model::UnderOver"
375
+ attribute :underover, :string
376
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
377
+ end
378
+
379
+ # An element of capture +items+.
380
+ class ItemsItem < Lutaml::Model::Serializable
381
+ attribute :base, "Latexmath::Model::Base"
382
+ attribute :binary, "Latexmath::Model::Binary"
383
+ attribute :binary_number, :string
384
+ attribute :dividend, "Latexmath::Model::Dividend"
385
+ attribute :divisor, "Latexmath::Model::Divisor"
386
+ attribute :environment, "Latexmath::Model::Environment"
387
+ attribute :expression, "Latexmath::Model::Expression"
388
+ attribute :first_value, "Latexmath::Model::FirstValue"
389
+ attribute :fonts, :string
390
+ attribute :hex_number, :string
391
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
392
+ attribute :left_right, "Latexmath::Model::LeftRight"
393
+ attribute :limits, "Latexmath::Model::Limits"
394
+ attribute :number, :string
395
+ attribute :numeric_values, :string
396
+ attribute :octal_number, :string
397
+ attribute :operant, :string
398
+ attribute :over, "Latexmath::Model::Over"
399
+ attribute :power, "Latexmath::Model::Power"
400
+ attribute :power_base, "Latexmath::Model::PowerBase"
401
+ attribute :row_break, :string
402
+ attribute :second_value, "Latexmath::Model::SecondValue"
403
+ attribute :sequence, "Latexmath::Model::Sequence"
404
+ attribute :space, :string
405
+ attribute :subscript, "Latexmath::Model::Subscript"
406
+ attribute :substack, :string
407
+ attribute :supscript, "Latexmath::Model::Supscript"
408
+ attribute :symbol, "Latexmath::Model::SymbolNode"
409
+ attribute :symbols, "Latexmath::Model::MathSymbol"
410
+ attribute :table_data, "Latexmath::Model::TableData"
411
+ attribute :ternary, :string
412
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
413
+ attribute :text, :string
414
+ attribute :three_per_em_space, :string
415
+ attribute :unary, :string
416
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
417
+ attribute :under_over, "Latexmath::Model::UnderOver"
418
+ attribute :underover, :string
419
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
420
+ end
421
+
422
+ # Capture +latex_tree+.
423
+ class LatexTree < Lutaml::Model::Serializable
424
+ attribute :base, "Latexmath::Model::Base"
425
+ attribute :binary, "Latexmath::Model::Binary"
426
+ attribute :binary_number, :string
427
+ attribute :dividend, "Latexmath::Model::Dividend"
428
+ attribute :divisor, "Latexmath::Model::Divisor"
429
+ attribute :environment, "Latexmath::Model::Environment"
430
+ attribute :expression, "Latexmath::Model::Expression"
431
+ attribute :first_value, "Latexmath::Model::FirstValue"
432
+ attribute :fonts, :string
433
+ attribute :hex_number, :string
434
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
435
+ attribute :left_right, "Latexmath::Model::LeftRight"
436
+ attribute :limits, "Latexmath::Model::Limits"
437
+ attribute :number, :string
438
+ attribute :numeric_values, :string
439
+ attribute :octal_number, :string
440
+ attribute :operant, :string
441
+ attribute :over, "Latexmath::Model::Over"
442
+ attribute :power, "Latexmath::Model::Power"
443
+ attribute :power_base, "Latexmath::Model::PowerBase"
444
+ attribute :row_break, :string
445
+ attribute :second_value, "Latexmath::Model::SecondValue"
446
+ attribute :sequence, "Latexmath::Model::Sequence"
447
+ attribute :space, :string
448
+ attribute :subscript, "Latexmath::Model::Subscript"
449
+ attribute :substack, :string
450
+ attribute :supscript, "Latexmath::Model::Supscript"
451
+ attribute :symbol, "Latexmath::Model::SymbolNode"
452
+ attribute :symbols, "Latexmath::Model::MathSymbol"
453
+ attribute :table_data, "Latexmath::Model::TableData"
454
+ attribute :ternary, :string
455
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
456
+ attribute :text, :string
457
+ attribute :three_per_em_space, :string
458
+ attribute :unary, :string
459
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
460
+ attribute :under_over, "Latexmath::Model::UnderOver"
461
+ attribute :underover, :string
462
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
463
+ end
464
+
465
+ # Capture +left_paren+.
466
+ class LeftParen < Lutaml::Model::Serializable
467
+ attribute :literal, :string
468
+ attribute :lparen, :string
469
+ end
470
+
471
+ # Capture +left_right+.
472
+ class LeftRight < Lutaml::Model::Serializable
473
+ attribute :dividend, "Latexmath::Model::Dividend"
474
+ attribute :divisor, "Latexmath::Model::Divisor"
475
+ attribute :expression, "Latexmath::Model::Expression"
476
+ attribute :left, :string
477
+ attribute :left_paren, "Latexmath::Model::LeftParen"
478
+ attribute :right, :string
479
+ attribute :right_paren, "Latexmath::Model::RightParen"
480
+ end
481
+
482
+ # Capture +limits+.
483
+ class Limits < Lutaml::Model::Serializable
484
+ attribute :base, "Latexmath::Model::Base"
485
+ attribute :first_value, "Latexmath::Model::FirstValue"
486
+ attribute :power, "Latexmath::Model::Power"
487
+ end
488
+
489
+ # Capture +options+.
490
+ class Options < Lutaml::Model::Serializable
491
+ attribute :absent, :string
492
+ attribute :binary, "Latexmath::Model::Binary"
493
+ attribute :binary_number, :string
494
+ attribute :environment, "Latexmath::Model::Environment"
495
+ attribute :expression, "Latexmath::Model::Expression"
496
+ attribute :first_value, "Latexmath::Model::FirstValue"
497
+ attribute :fonts, :string
498
+ attribute :hex_number, :string
499
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
500
+ attribute :number, :string
501
+ attribute :numeric_values, :string
502
+ attribute :octal_number, :string
503
+ attribute :operant, :string
504
+ attribute :power_base, "Latexmath::Model::PowerBase"
505
+ attribute :row_break, :string
506
+ attribute :space, :string
507
+ attribute :subscript, "Latexmath::Model::Subscript"
508
+ attribute :supscript, "Latexmath::Model::Supscript"
509
+ attribute :symbol, "Latexmath::Model::SymbolNode"
510
+ attribute :symbols, "Latexmath::Model::MathSymbol"
511
+ attribute :ternary, :string
512
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
513
+ attribute :text, :string
514
+ attribute :three_per_em_space, :string
515
+ attribute :unary, :string
516
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
517
+ attribute :underover, :string
518
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
519
+ end
520
+
521
+ # Capture +over+.
522
+ class Over < Lutaml::Model::Serializable
523
+ attribute :base, "Latexmath::Model::Base"
524
+ attribute :binary, "Latexmath::Model::Binary"
525
+ attribute :binary_number, :string
526
+ attribute :dividend, "Latexmath::Model::Dividend"
527
+ attribute :divisor, "Latexmath::Model::Divisor"
528
+ attribute :environment, "Latexmath::Model::Environment"
529
+ attribute :expression, "Latexmath::Model::Expression"
530
+ attribute :first_value, "Latexmath::Model::FirstValue"
531
+ attribute :fonts, :string
532
+ attribute :hex_number, :string
533
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
534
+ attribute :number, :string
535
+ attribute :numeric_values, :string
536
+ attribute :octal_number, :string
537
+ attribute :operant, :string
538
+ attribute :power, "Latexmath::Model::Power"
539
+ attribute :power_base, "Latexmath::Model::PowerBase"
540
+ attribute :row_break, :string
541
+ attribute :space, :string
542
+ attribute :subscript, "Latexmath::Model::Subscript"
543
+ attribute :supscript, "Latexmath::Model::Supscript"
544
+ attribute :symbol, "Latexmath::Model::SymbolNode"
545
+ attribute :symbols, "Latexmath::Model::MathSymbol"
546
+ attribute :ternary, :string
547
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
548
+ attribute :text, :string
549
+ attribute :three_per_em_space, :string
550
+ attribute :unary, :string
551
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
552
+ attribute :underover, :string
553
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
554
+ end
555
+
556
+ # Capture +power+.
557
+ class Power < Lutaml::Model::Serializable
558
+ attribute :binary, "Latexmath::Model::Binary"
559
+ attribute :binary_functions, "Latexmath::Model::BinaryFunctions"
560
+ attribute :binary_number, :string
561
+ attribute :environment, "Latexmath::Model::Environment"
562
+ attribute :expression, "Latexmath::Model::Expression"
563
+ attribute :first_value, "Latexmath::Model::FirstValue"
564
+ attribute :fonts, :string
565
+ attribute :hex_number, :string
566
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
567
+ attribute :left_right, "Latexmath::Model::LeftRight"
568
+ attribute :number, :string
569
+ attribute :numeric_values, :string
570
+ attribute :octal_number, :string
571
+ attribute :operant, :string
572
+ attribute :power_base, "Latexmath::Model::PowerBase"
573
+ attribute :row_break, :string
574
+ attribute :space, :string
575
+ attribute :subscript, "Latexmath::Model::Subscript"
576
+ attribute :supscript, "Latexmath::Model::Supscript"
577
+ attribute :symbol, "Latexmath::Model::SymbolNode"
578
+ attribute :symbols, "Latexmath::Model::MathSymbol"
579
+ attribute :ternary, :string
580
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
581
+ attribute :text, :string
582
+ attribute :three_per_em_space, :string
583
+ attribute :unary, :string
584
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
585
+ attribute :underover, :string
586
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
587
+ end
588
+
589
+ # Capture +power_base+.
590
+ class PowerBase < Lutaml::Model::Serializable
591
+ attribute :binary, "Latexmath::Model::Binary"
592
+ attribute :binary_number, :string
593
+ attribute :environment, "Latexmath::Model::Environment"
594
+ attribute :expression, "Latexmath::Model::Expression"
595
+ attribute :first_value, "Latexmath::Model::FirstValue"
596
+ attribute :fonts, :string
597
+ attribute :hex_number, :string
598
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
599
+ attribute :number, :string
600
+ attribute :numeric_values, :string
601
+ attribute :octal_number, :string
602
+ attribute :operant, :string
603
+ attribute :power_base, "Latexmath::Model::PowerBase"
604
+ attribute :row_break, :string
605
+ attribute :space, :string
606
+ attribute :subscript, "Latexmath::Model::Subscript"
607
+ attribute :supscript, "Latexmath::Model::Supscript"
608
+ attribute :symbol, "Latexmath::Model::SymbolNode"
609
+ attribute :symbols, "Latexmath::Model::MathSymbol"
610
+ attribute :ternary, :string
611
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
612
+ attribute :text, :string
613
+ attribute :three_per_em_space, :string
614
+ attribute :unary, :string
615
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
616
+ attribute :underover, :string
617
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
618
+ end
619
+
620
+ # Capture +right_paren+.
621
+ class RightParen < Lutaml::Model::Serializable
622
+ attribute :absent, :string
623
+ attribute :literal, :string
624
+ attribute :rparen, :string
625
+ end
626
+
627
+ # Capture +second_value+.
628
+ class SecondValue < Lutaml::Model::Serializable
629
+ attribute :absent, :string
630
+ attribute :base, "Latexmath::Model::Base"
631
+ attribute :binary, "Latexmath::Model::Binary"
632
+ attribute :binary_number, :string
633
+ attribute :dividend, "Latexmath::Model::Dividend"
634
+ attribute :divisor, "Latexmath::Model::Divisor"
635
+ attribute :environment, "Latexmath::Model::Environment"
636
+ attribute :expression, "Latexmath::Model::Expression"
637
+ attribute :first_value, "Latexmath::Model::FirstValue"
638
+ attribute :fonts, :string
639
+ attribute :hex_number, :string
640
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
641
+ attribute :left_right, "Latexmath::Model::LeftRight"
642
+ attribute :limits, "Latexmath::Model::Limits"
643
+ attribute :number, :string
644
+ attribute :numeric_values, :string
645
+ attribute :octal_number, :string
646
+ attribute :operant, :string
647
+ attribute :over, "Latexmath::Model::Over"
648
+ attribute :power, "Latexmath::Model::Power"
649
+ attribute :power_base, "Latexmath::Model::PowerBase"
650
+ attribute :row_break, :string
651
+ attribute :second_value, "Latexmath::Model::SecondValue"
652
+ attribute :sequence, "Latexmath::Model::Sequence"
653
+ attribute :space, :string
654
+ attribute :subscript, "Latexmath::Model::Subscript"
655
+ attribute :substack, :string
656
+ attribute :supscript, "Latexmath::Model::Supscript"
657
+ attribute :symbol, "Latexmath::Model::SymbolNode"
658
+ attribute :symbols, "Latexmath::Model::MathSymbol"
659
+ attribute :table_data, "Latexmath::Model::TableData"
660
+ attribute :ternary, :string
661
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
662
+ attribute :text, :string
663
+ attribute :three_per_em_space, :string
664
+ attribute :unary, :string
665
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
666
+ attribute :under_over, "Latexmath::Model::UnderOver"
667
+ attribute :underover, :string
668
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
669
+ end
670
+
671
+ # Capture +sequence+.
672
+ class Sequence < Lutaml::Model::Serializable
673
+ attribute :base, "Latexmath::Model::Base"
674
+ attribute :binary, "Latexmath::Model::Binary"
675
+ attribute :binary_number, :string
676
+ attribute :environment, "Latexmath::Model::Environment"
677
+ attribute :expression, "Latexmath::Model::Expression"
678
+ attribute :first_value, "Latexmath::Model::FirstValue"
679
+ attribute :fonts, :string
680
+ attribute :hex_number, :string
681
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
682
+ attribute :left_right, "Latexmath::Model::LeftRight"
683
+ attribute :limits, "Latexmath::Model::Limits"
684
+ attribute :number, :string
685
+ attribute :numeric_values, :string
686
+ attribute :octal_number, :string
687
+ attribute :operant, :string
688
+ attribute :over, "Latexmath::Model::Over"
689
+ attribute :power, "Latexmath::Model::Power"
690
+ attribute :power_base, "Latexmath::Model::PowerBase"
691
+ attribute :row_break, :string
692
+ attribute :second_value, "Latexmath::Model::SecondValue"
693
+ attribute :space, :string
694
+ attribute :subscript, "Latexmath::Model::Subscript"
695
+ attribute :substack, :string
696
+ attribute :supscript, "Latexmath::Model::Supscript"
697
+ attribute :symbol, "Latexmath::Model::SymbolNode"
698
+ attribute :symbols, "Latexmath::Model::MathSymbol"
699
+ attribute :table_data, "Latexmath::Model::TableData"
700
+ attribute :ternary, :string
701
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
702
+ attribute :text, :string
703
+ attribute :three_per_em_space, :string
704
+ attribute :unary, :string
705
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
706
+ attribute :under_over, "Latexmath::Model::UnderOver"
707
+ attribute :underover, :string
708
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
709
+ end
710
+
711
+ # Capture +subscript+.
712
+ class Subscript < Lutaml::Model::Serializable
713
+ attribute :base, "Latexmath::Model::Base"
714
+ attribute :binary, "Latexmath::Model::Binary"
715
+ attribute :binary_number, :string
716
+ attribute :environment, "Latexmath::Model::Environment"
717
+ attribute :expression, "Latexmath::Model::Expression"
718
+ attribute :first_value, "Latexmath::Model::FirstValue"
719
+ attribute :fonts, :string
720
+ attribute :hex_number, :string
721
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
722
+ attribute :left_right, "Latexmath::Model::LeftRight"
723
+ attribute :limits, "Latexmath::Model::Limits"
724
+ attribute :number, :string
725
+ attribute :numeric_values, :string
726
+ attribute :octal_number, :string
727
+ attribute :operant, :string
728
+ attribute :over, "Latexmath::Model::Over"
729
+ attribute :power, "Latexmath::Model::Power"
730
+ attribute :power_base, "Latexmath::Model::PowerBase"
731
+ attribute :row_break, :string
732
+ attribute :second_value, "Latexmath::Model::SecondValue"
733
+ attribute :space, :string
734
+ attribute :subscript, "Latexmath::Model::Subscript"
735
+ attribute :substack, :string
736
+ attribute :supscript, "Latexmath::Model::Supscript"
737
+ attribute :symbol, "Latexmath::Model::SymbolNode"
738
+ attribute :symbols, "Latexmath::Model::MathSymbol"
739
+ attribute :table_data, "Latexmath::Model::TableData"
740
+ attribute :ternary, :string
741
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
742
+ attribute :text, :string
743
+ attribute :three_per_em_space, :string
744
+ attribute :unary, :string
745
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
746
+ attribute :under_over, "Latexmath::Model::UnderOver"
747
+ attribute :underover, :string
748
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
749
+ end
750
+
751
+ # Capture +supscript+.
752
+ class Supscript < Lutaml::Model::Serializable
753
+ attribute :base, "Latexmath::Model::Base"
754
+ attribute :binary, "Latexmath::Model::Binary"
755
+ attribute :binary_number, :string
756
+ attribute :environment, "Latexmath::Model::Environment"
757
+ attribute :expression, "Latexmath::Model::Expression"
758
+ attribute :first_value, "Latexmath::Model::FirstValue"
759
+ attribute :fonts, :string
760
+ attribute :hex_number, :string
761
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
762
+ attribute :left_right, "Latexmath::Model::LeftRight"
763
+ attribute :limits, "Latexmath::Model::Limits"
764
+ attribute :number, :string
765
+ attribute :numeric_values, :string
766
+ attribute :octal_number, :string
767
+ attribute :operant, :string
768
+ attribute :over, "Latexmath::Model::Over"
769
+ attribute :power, "Latexmath::Model::Power"
770
+ attribute :power_base, "Latexmath::Model::PowerBase"
771
+ attribute :row_break, :string
772
+ attribute :second_value, "Latexmath::Model::SecondValue"
773
+ attribute :space, :string
774
+ attribute :subscript, "Latexmath::Model::Subscript"
775
+ attribute :substack, :string
776
+ attribute :supscript, "Latexmath::Model::Supscript"
777
+ attribute :symbol, "Latexmath::Model::SymbolNode"
778
+ attribute :symbols, "Latexmath::Model::MathSymbol"
779
+ attribute :table_data, "Latexmath::Model::TableData"
780
+ attribute :ternary, :string
781
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
782
+ attribute :text, :string
783
+ attribute :three_per_em_space, :string
784
+ attribute :unary, :string
785
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
786
+ attribute :under_over, "Latexmath::Model::UnderOver"
787
+ attribute :underover, :string
788
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
789
+ end
790
+
791
+ # Capture +symbol+.
792
+ class SymbolNode < Lutaml::Model::Serializable
793
+ attribute :literal, :string
794
+ attribute :rparen, :string
795
+ attribute :text_list, :string
796
+ end
797
+
798
+ # Capture +table_data+.
799
+ class TableData < Lutaml::Model::Serializable
800
+ attribute :base, "Latexmath::Model::Base"
801
+ attribute :binary, "Latexmath::Model::Binary"
802
+ attribute :binary_number, :string
803
+ attribute :dividend, "Latexmath::Model::Dividend"
804
+ attribute :divisor, "Latexmath::Model::Divisor"
805
+ attribute :environment, "Latexmath::Model::Environment"
806
+ attribute :expression, "Latexmath::Model::Expression"
807
+ attribute :first_value, "Latexmath::Model::FirstValue"
808
+ attribute :fonts, :string
809
+ attribute :hex_number, :string
810
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
811
+ attribute :left_right, "Latexmath::Model::LeftRight"
812
+ attribute :limits, "Latexmath::Model::Limits"
813
+ attribute :number, :string
814
+ attribute :numeric_values, :string
815
+ attribute :octal_number, :string
816
+ attribute :operant, :string
817
+ attribute :over, "Latexmath::Model::Over"
818
+ attribute :power, "Latexmath::Model::Power"
819
+ attribute :power_base, "Latexmath::Model::PowerBase"
820
+ attribute :row_break, :string
821
+ attribute :second_value, "Latexmath::Model::SecondValue"
822
+ attribute :sequence, "Latexmath::Model::Sequence"
823
+ attribute :space, :string
824
+ attribute :subscript, "Latexmath::Model::Subscript"
825
+ attribute :substack, :string
826
+ attribute :supscript, "Latexmath::Model::Supscript"
827
+ attribute :symbol, "Latexmath::Model::SymbolNode"
828
+ attribute :symbols, "Latexmath::Model::MathSymbol"
829
+ attribute :table_data, "Latexmath::Model::TableData"
830
+ attribute :ternary, :string
831
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
832
+ attribute :text, :string
833
+ attribute :three_per_em_space, :string
834
+ attribute :unary, :string
835
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
836
+ attribute :under_over, "Latexmath::Model::UnderOver"
837
+ attribute :underover, :string
838
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
839
+ end
840
+
841
+ # Capture +ternary_class+.
842
+ class TernaryClass < Lutaml::Model::Serializable
843
+ attribute :subscript, "Latexmath::Model::Subscript"
844
+ attribute :supscript, "Latexmath::Model::Supscript"
845
+ attribute :ternary_functions, :string
846
+ attribute :third_value, "Latexmath::Model::ThirdValue"
847
+ end
848
+
849
+ # Capture +third_value+.
850
+ class ThirdValue < Lutaml::Model::Serializable
851
+ attribute :absent, :string
852
+ attribute :base, "Latexmath::Model::Base"
853
+ attribute :binary, "Latexmath::Model::Binary"
854
+ attribute :binary_number, :string
855
+ attribute :environment, "Latexmath::Model::Environment"
856
+ attribute :expression, "Latexmath::Model::Expression"
857
+ attribute :first_value, "Latexmath::Model::FirstValue"
858
+ attribute :fonts, :string
859
+ attribute :hex_number, :string
860
+ attribute :intermediate_exp, "Latexmath::Model::IntermediateExp"
861
+ attribute :left_right, "Latexmath::Model::LeftRight"
862
+ attribute :limits, "Latexmath::Model::Limits"
863
+ attribute :number, :string
864
+ attribute :numeric_values, :string
865
+ attribute :octal_number, :string
866
+ attribute :operant, :string
867
+ attribute :over, "Latexmath::Model::Over"
868
+ attribute :power, "Latexmath::Model::Power"
869
+ attribute :power_base, "Latexmath::Model::PowerBase"
870
+ attribute :row_break, :string
871
+ attribute :second_value, "Latexmath::Model::SecondValue"
872
+ attribute :space, :string
873
+ attribute :subscript, "Latexmath::Model::Subscript"
874
+ attribute :substack, :string
875
+ attribute :supscript, "Latexmath::Model::Supscript"
876
+ attribute :symbol, "Latexmath::Model::SymbolNode"
877
+ attribute :symbols, "Latexmath::Model::MathSymbol"
878
+ attribute :table_data, "Latexmath::Model::TableData"
879
+ attribute :ternary, :string
880
+ attribute :ternary_class, "Latexmath::Model::TernaryClass"
881
+ attribute :text, :string
882
+ attribute :three_per_em_space, :string
883
+ attribute :unary, :string
884
+ attribute :unary_functions, "Latexmath::Model::UnaryFunctions"
885
+ attribute :under_over, "Latexmath::Model::UnderOver"
886
+ attribute :underover, :string
887
+ attribute :unicode_symbols, "Latexmath::Model::MathSymbol"
888
+ end
889
+
890
+ # Capture +unary_functions+.
891
+ class UnaryFunctions < Lutaml::Model::Serializable
892
+ attribute :first_value, "Latexmath::Model::FirstValue"
893
+ attribute :literal, :string
894
+ attribute :unary, :string
895
+ end
896
+
897
+ # Capture +under_over+.
898
+ class UnderOver < Lutaml::Model::Serializable
899
+ attribute :binary, "Latexmath::Model::Binary"
900
+ attribute :first_value, "Latexmath::Model::FirstValue"
901
+ attribute :second_value, "Latexmath::Model::SecondValue"
902
+ end
903
+
904
+ # A catalog capture (+symbols+, +unicode_symbols+): the spelling the
905
+ # grammar matched. Its Unicode value and kind are read from the symbol
906
+ # table (lib/latexmath/model.rb).
907
+ class MathSymbol < Lutaml::Model::Serializable
908
+ attribute :spelling, :string
909
+ end
910
+
911
+ # The root: one parsed formula (binding +model+), and the decimal
912
+ # marker it was parsed with.
913
+ class Document < Lutaml::Model::Serializable
914
+ attribute :expression, "Latexmath::Model::LatexTree"
915
+ attribute :decimal, :string
916
+ end
917
+ end
918
+ end