rdtool 0.6.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. data/COPYING.txt +674 -0
  2. data/Gemfile +9 -0
  3. data/HISTORY +284 -0
  4. data/LICENSE.txt +58 -0
  5. data/MANIFEST +89 -0
  6. data/README.html +44 -0
  7. data/README.ja.html +46 -0
  8. data/README.rd +52 -0
  9. data/README.rd.ja +54 -0
  10. data/Rakefile +29 -0
  11. data/TODO +15 -0
  12. data/VERSION +1 -0
  13. data/bin/rd2 +281 -0
  14. data/bin/rdswap.rb +207 -0
  15. data/doc/rd-draft.rd +479 -0
  16. data/doc/rd-draft.rd.ja +487 -0
  17. data/lib/rd/block-element.rb +114 -0
  18. data/lib/rd/complex-list-item.rb +65 -0
  19. data/lib/rd/desclist.rb +55 -0
  20. data/lib/rd/document-struct.rb +46 -0
  21. data/lib/rd/dot.rd2rc +18 -0
  22. data/lib/rd/element.rb +160 -0
  23. data/lib/rd/filter.rb +255 -0
  24. data/lib/rd/inline-element.rb +233 -0
  25. data/lib/rd/labeled-element.rb +14 -0
  26. data/lib/rd/list.rb +57 -0
  27. data/lib/rd/loose-struct.rb +11 -0
  28. data/lib/rd/methodlist.rb +57 -0
  29. data/lib/rd/output-format-visitor.rb +28 -0
  30. data/lib/rd/package.rb +4 -0
  31. data/lib/rd/parser-util.rb +14 -0
  32. data/lib/rd/post-install +1 -0
  33. data/lib/rd/rbl-file.rb +69 -0
  34. data/lib/rd/rbl-suite.rb +37 -0
  35. data/lib/rd/rd-struct.rb +86 -0
  36. data/lib/rd/rd2html-lib.rb +490 -0
  37. data/lib/rd/rd2html-opt.rb +67 -0
  38. data/lib/rd/rd2man-lib.rb +241 -0
  39. data/lib/rd/rd2rdo-lib.rb +19 -0
  40. data/lib/rd/rd2rmi-lib.rb +32 -0
  41. data/lib/rd/rdblockparser.ry +518 -0
  42. data/lib/rd/rdblockparser.tab.rb +1050 -0
  43. data/lib/rd/rdfmt.rb +15 -0
  44. data/lib/rd/rdinlineparser.ry +503 -0
  45. data/lib/rd/rdinlineparser.tab.rb +1243 -0
  46. data/lib/rd/rdvisitor.rb +214 -0
  47. data/lib/rd/reference-resolver.rb +114 -0
  48. data/lib/rd/search-file.rb +14 -0
  49. data/lib/rd/tree.rb +103 -0
  50. data/lib/rd/version.rb +39 -0
  51. data/lib/rd/visitor.rb +86 -0
  52. data/makerdtool.rb +75 -0
  53. data/setup.rb +1596 -0
  54. data/test.rb +33 -0
  55. data/test/data/includee1.html +1 -0
  56. data/test/data/includee2.html +1 -0
  57. data/test/data/includee3.nothtml +1 -0
  58. data/test/data/includee4.xhtml +0 -0
  59. data/test/data/label.rbl +2 -0
  60. data/test/data/label2.rbl +2 -0
  61. data/test/data/sub/includee2.html +1 -0
  62. data/test/data/sub/includee4.html +0 -0
  63. data/test/dummy-observer.rb +6 -0
  64. data/test/dummy.rb +33 -0
  65. data/test/temp-dir.rb +19 -0
  66. data/test/test-block-parser.rb +46 -0
  67. data/test/test-desclist-item.rb +219 -0
  68. data/test/test-document-element.rb +46 -0
  69. data/test/test-document-struct.rb +66 -0
  70. data/test/test-element.rb +46 -0
  71. data/test/test-headline.rb +80 -0
  72. data/test/test-inline-parser.rb +46 -0
  73. data/test/test-list-item.rb +54 -0
  74. data/test/test-list.rb +53 -0
  75. data/test/test-methodlist-item.rb +73 -0
  76. data/test/test-nonterminal-element.rb +170 -0
  77. data/test/test-nonterminal-inline.rb +33 -0
  78. data/test/test-output-format-visitor.rb +48 -0
  79. data/test/test-parser-util.rb +41 -0
  80. data/test/test-rbl-file.rb +156 -0
  81. data/test/test-rbl-suite.rb +43 -0
  82. data/test/test-rd2html-lib.rb +496 -0
  83. data/test/test-rdtree.rb +17 -0
  84. data/test/test-rdvisitor.rb +29 -0
  85. data/test/test-reference-resolver.rb +202 -0
  86. data/test/test-reference.rb +132 -0
  87. data/test/test-search-file.rb +22 -0
  88. data/test/test-terminal-inline.rb +41 -0
  89. data/test/test-textblock.rb +44 -0
  90. data/test/test-tree.rb +82 -0
  91. data/test/test-version.rb +57 -0
  92. data/test/test-visitor.rb +230 -0
  93. data/utils/rd-mode.el +425 -0
  94. metadata +203 -0
@@ -0,0 +1,1243 @@
1
+ #
2
+ # DO NOT MODIFY!!!!
3
+ # This file is automatically generated by racc 1.4.4
4
+ # from racc grammer file "lib/rd/rdinlineparser.ry".
5
+ #
6
+
7
+ require 'racc/parser'
8
+
9
+
10
+
11
+ require "rd/parser-util"
12
+ require "forwardable"
13
+ require "strscan"
14
+
15
+ module RD
16
+
17
+ class RDInlineParser < Racc::Parser
18
+
19
+ module_eval <<'..end lib/rd/rdinlineparser.ry modeval..id193b0f608d', 'lib/rd/rdinlineparser.ry', 292
20
+ include ParserUtility
21
+ extend Forwardable
22
+
23
+ EM_OPEN = '((*'
24
+ EM_OPEN_RE = /\A#{Regexp.quote(EM_OPEN)}/
25
+ EM_CLOSE = '*))'
26
+ EM_CLOSE_RE = /\A#{Regexp.quote(EM_CLOSE)}/
27
+ CODE_OPEN = '(({'
28
+ CODE_OPEN_RE = /\A#{Regexp.quote(CODE_OPEN)}/
29
+ CODE_CLOSE = '}))'
30
+ CODE_CLOSE_RE = /\A#{Regexp.quote(CODE_CLOSE)}/
31
+ VAR_OPEN = '((|'
32
+ VAR_OPEN_RE = /\A#{Regexp.quote(VAR_OPEN)}/
33
+ VAR_CLOSE = '|))'
34
+ VAR_CLOSE_RE = /\A#{Regexp.quote(VAR_CLOSE)}/
35
+ KBD_OPEN = '((%'
36
+ KBD_OPEN_RE = /\A#{Regexp.quote(KBD_OPEN)}/
37
+ KBD_CLOSE = '%))'
38
+ KBD_CLOSE_RE = /\A#{Regexp.quote(KBD_CLOSE)}/
39
+ INDEX_OPEN = '((:'
40
+ INDEX_OPEN_RE = /\A#{Regexp.quote(INDEX_OPEN)}/
41
+ INDEX_CLOSE = ':))'
42
+ INDEX_CLOSE_RE = /\A#{Regexp.quote(INDEX_CLOSE)}/
43
+ REF_OPEN = '((<'
44
+ REF_OPEN_RE = /\A#{Regexp.quote(REF_OPEN)}/
45
+ REF_CLOSE = '>))'
46
+ REF_CLOSE_RE = /\A#{Regexp.quote(REF_CLOSE)}/
47
+ FOOTNOTE_OPEN = '((-'
48
+ FOOTNOTE_OPEN_RE = /\A#{Regexp.quote(FOOTNOTE_OPEN)}/
49
+ FOOTNOTE_CLOSE = '-))'
50
+ FOOTNOTE_CLOSE_RE = /\A#{Regexp.quote(FOOTNOTE_CLOSE)}/
51
+ VERB_OPEN = "(('"
52
+ VERB_OPEN_RE = /\A#{Regexp.quote(VERB_OPEN)}/
53
+ VERB_CLOSE = "'))"
54
+ VERB_CLOSE_RE = /\A#{Regexp.quote(VERB_CLOSE)}/
55
+
56
+ BAR = "|"
57
+ BAR_RE = /\A#{Regexp.quote(BAR)}/
58
+ QUOTE = '"'
59
+ QUOTE_RE = /\A#{Regexp.quote(QUOTE)}/
60
+ SLASH = "/"
61
+ SLASH_RE = /\A#{Regexp.quote(SLASH)}/
62
+ BACK_SLASH = "\\"
63
+ BACK_SLASH_RE = /\A#{Regexp.quote(BACK_SLASH)}/
64
+ URL = "URL:"
65
+ URL_RE = /\A#{Regexp.quote(URL)}/
66
+
67
+ # Workaround for Regexp option change of Ruby 1.5.x
68
+ other_re_mode = Regexp::EXTENDED
69
+ if RUBY_VERSION > "1.5"
70
+ other_re_mode |= Regexp::MULTILINE
71
+ else
72
+ other_re_mode |= Regexp::POSIXLINE
73
+ end
74
+
75
+ OTHER_RE = Regexp.new(
76
+ "\\A.+?(?=#{Regexp.quote(EM_OPEN)}|#{Regexp.quote(EM_CLOSE)}|
77
+ #{Regexp.quote(CODE_OPEN)}|#{Regexp.quote(CODE_CLOSE)}|
78
+ #{Regexp.quote(VAR_OPEN)}|#{Regexp.quote(VAR_CLOSE)}|
79
+ #{Regexp.quote(KBD_OPEN)}|#{Regexp.quote(KBD_CLOSE)}|
80
+ #{Regexp.quote(INDEX_OPEN)}|#{Regexp.quote(INDEX_CLOSE)}|
81
+ #{Regexp.quote(REF_OPEN)}|#{Regexp.quote(REF_CLOSE)}|
82
+ #{Regexp.quote(FOOTNOTE_OPEN)}|#{Regexp.quote(FOOTNOTE_CLOSE)}|
83
+ #{Regexp.quote(VERB_OPEN)}|#{Regexp.quote(VERB_CLOSE)}|
84
+ #{Regexp.quote(BAR)}|
85
+ #{Regexp.quote(QUOTE)}|
86
+ #{Regexp.quote(SLASH)}|
87
+ #{Regexp.quote(BACK_SLASH)}|
88
+ #{Regexp.quote(URL)})", other_re_mode)
89
+
90
+ def initialize(bp)
91
+ @blockp = bp
92
+ end
93
+
94
+ def_delegator(:@blockp, :tree)
95
+
96
+ def parse(src)
97
+ @src = StringScanner.new(src)
98
+ @pre = ""
99
+ @yydebug = true
100
+ do_parse
101
+ end
102
+
103
+ def next_token
104
+ return [false, false] if @src.eos?
105
+ # p @src.rest if @yydebug
106
+ if ret = @src.scan(EM_OPEN_RE)
107
+ @pre << ret
108
+ [:EM_OPEN, ret]
109
+ elsif ret = @src.scan(EM_CLOSE_RE)
110
+ @pre << ret
111
+ [:EM_CLOSE, ret]
112
+ elsif ret = @src.scan(CODE_OPEN_RE)
113
+ @pre << ret
114
+ [:CODE_OPEN, ret]
115
+ elsif ret = @src.scan(CODE_CLOSE_RE)
116
+ @pre << ret
117
+ [:CODE_CLOSE, ret]
118
+ elsif ret = @src.scan(VAR_OPEN_RE)
119
+ @pre << ret
120
+ [:VAR_OPEN, ret]
121
+ elsif ret = @src.scan(VAR_CLOSE_RE)
122
+ @pre << ret
123
+ [:VAR_CLOSE, ret]
124
+ elsif ret = @src.scan(KBD_OPEN_RE)
125
+ @pre << ret
126
+ [:KBD_OPEN, ret]
127
+ elsif ret = @src.scan(KBD_CLOSE_RE)
128
+ @pre << ret
129
+ [:KBD_CLOSE, ret]
130
+ elsif ret = @src.scan(INDEX_OPEN_RE)
131
+ @pre << ret
132
+ [:INDEX_OPEN, ret]
133
+ elsif ret = @src.scan(INDEX_CLOSE_RE)
134
+ @pre << ret
135
+ [:INDEX_CLOSE, ret]
136
+ elsif ret = @src.scan(REF_OPEN_RE)
137
+ @pre << ret
138
+ [:REF_OPEN, ret]
139
+ elsif ret = @src.scan(REF_CLOSE_RE)
140
+ @pre << ret
141
+ [:REF_CLOSE, ret]
142
+ elsif ret = @src.scan(FOOTNOTE_OPEN_RE)
143
+ @pre << ret
144
+ [:FOOTNOTE_OPEN, ret]
145
+ elsif ret = @src.scan(FOOTNOTE_CLOSE_RE)
146
+ @pre << ret
147
+ [:FOOTNOTE_CLOSE, ret]
148
+ elsif ret = @src.scan(VERB_OPEN_RE)
149
+ @pre << ret
150
+ [:VERB_OPEN, ret]
151
+ elsif ret = @src.scan(VERB_CLOSE_RE)
152
+ @pre << ret
153
+ [:VERB_CLOSE, ret]
154
+ elsif ret = @src.scan(BAR_RE)
155
+ @pre << ret
156
+ [:BAR, ret]
157
+ elsif ret = @src.scan(QUOTE_RE)
158
+ @pre << ret
159
+ [:QUOTE, ret]
160
+ elsif ret = @src.scan(SLASH_RE)
161
+ @pre << ret
162
+ [:SLASH, ret]
163
+ elsif ret = @src.scan(BACK_SLASH_RE)
164
+ @pre << ret
165
+ [:BACK_SLASH, ret]
166
+ elsif ret = @src.scan(URL_RE)
167
+ @pre << ret
168
+ [:URL, ret]
169
+ elsif ret = @src.scan(OTHER_RE)
170
+ @pre << ret
171
+ [:OTHER, ret]
172
+ else
173
+ ret = @src.rest
174
+ @pre << ret
175
+ @src.terminate
176
+ [:OTHER, ret]
177
+ end
178
+ end
179
+
180
+ def make_reference_from_label(label)
181
+ # Reference.new_from_label_under_document_struct(label, tree.document_struct)
182
+ Reference.new_from_label_without_document_struct(label)
183
+ end
184
+
185
+ def on_error(et, ev, values)
186
+ lines_of_rest = @src.rest.to_a.length
187
+ prev_words = prev_words_on_error(ev)
188
+ at = 4 + prev_words.length
189
+ message = <<-MSG
190
+ RD syntax error: line #{@blockp.line_index - lines_of_rest}:
191
+ ...#{prev_words} #{(ev||'')} #{next_words_on_error()} ...
192
+ MSG
193
+ message << " " * at + "^" * (ev ? ev.length : 0) + "\n"
194
+ raise ParseError, message
195
+ end
196
+
197
+ def prev_words_on_error(ev)
198
+ pre = @pre
199
+ if ev and /#{Regexp.quote(ev)}$/ =~ pre
200
+ pre = $`
201
+ end
202
+ last_line(pre)
203
+ end
204
+
205
+ def last_line(src)
206
+ if n = src.rindex("\n")
207
+ src[(n+1) .. -1]
208
+ else
209
+ src
210
+ end
211
+ end
212
+ private :last_line
213
+
214
+ def next_words_on_error
215
+ if n = @src.rest.index("\n")
216
+ @src.rest[0 .. (n-1)]
217
+ else
218
+ @src.rest
219
+ end
220
+ end
221
+
222
+ ..end lib/rd/rdinlineparser.ry modeval..id193b0f608d
223
+
224
+ ##### racc 1.4.4 generates ###
225
+
226
+ racc_reduce_table = [
227
+ 0, 0, :racc_error,
228
+ 1, 27, :_reduce_none,
229
+ 2, 28, :_reduce_2,
230
+ 1, 28, :_reduce_3,
231
+ 1, 29, :_reduce_none,
232
+ 1, 29, :_reduce_none,
233
+ 1, 29, :_reduce_none,
234
+ 1, 29, :_reduce_none,
235
+ 1, 29, :_reduce_none,
236
+ 1, 29, :_reduce_none,
237
+ 1, 29, :_reduce_none,
238
+ 1, 29, :_reduce_none,
239
+ 1, 29, :_reduce_none,
240
+ 3, 30, :_reduce_13,
241
+ 3, 31, :_reduce_14,
242
+ 3, 32, :_reduce_15,
243
+ 3, 33, :_reduce_16,
244
+ 3, 34, :_reduce_17,
245
+ 4, 35, :_reduce_18,
246
+ 3, 35, :_reduce_19,
247
+ 2, 40, :_reduce_20,
248
+ 2, 40, :_reduce_21,
249
+ 1, 40, :_reduce_22,
250
+ 1, 40, :_reduce_23,
251
+ 2, 41, :_reduce_24,
252
+ 2, 41, :_reduce_25,
253
+ 1, 41, :_reduce_26,
254
+ 1, 41, :_reduce_27,
255
+ 2, 39, :_reduce_none,
256
+ 4, 39, :_reduce_29,
257
+ 4, 39, :_reduce_30,
258
+ 2, 43, :_reduce_none,
259
+ 4, 43, :_reduce_32,
260
+ 1, 44, :_reduce_33,
261
+ 3, 44, :_reduce_34,
262
+ 1, 45, :_reduce_none,
263
+ 3, 45, :_reduce_36,
264
+ 3, 45, :_reduce_37,
265
+ 2, 46, :_reduce_38,
266
+ 2, 46, :_reduce_39,
267
+ 1, 46, :_reduce_40,
268
+ 1, 46, :_reduce_41,
269
+ 1, 47, :_reduce_none,
270
+ 2, 51, :_reduce_43,
271
+ 1, 51, :_reduce_44,
272
+ 2, 53, :_reduce_45,
273
+ 1, 53, :_reduce_46,
274
+ 1, 50, :_reduce_none,
275
+ 1, 50, :_reduce_none,
276
+ 1, 50, :_reduce_none,
277
+ 1, 50, :_reduce_none,
278
+ 1, 50, :_reduce_none,
279
+ 1, 50, :_reduce_none,
280
+ 1, 54, :_reduce_none,
281
+ 1, 54, :_reduce_none,
282
+ 1, 55, :_reduce_none,
283
+ 1, 55, :_reduce_none,
284
+ 1, 56, :_reduce_57,
285
+ 1, 52, :_reduce_58,
286
+ 1, 57, :_reduce_59,
287
+ 2, 58, :_reduce_60,
288
+ 1, 58, :_reduce_none,
289
+ 2, 49, :_reduce_62,
290
+ 1, 49, :_reduce_none,
291
+ 2, 48, :_reduce_64,
292
+ 1, 48, :_reduce_none,
293
+ 1, 60, :_reduce_none,
294
+ 1, 60, :_reduce_none,
295
+ 1, 60, :_reduce_none,
296
+ 1, 60, :_reduce_none,
297
+ 1, 60, :_reduce_none,
298
+ 1, 62, :_reduce_none,
299
+ 1, 62, :_reduce_none,
300
+ 1, 59, :_reduce_none,
301
+ 1, 59, :_reduce_none,
302
+ 1, 61, :_reduce_none,
303
+ 1, 61, :_reduce_none,
304
+ 1, 61, :_reduce_none,
305
+ 2, 42, :_reduce_78,
306
+ 1, 42, :_reduce_none,
307
+ 1, 63, :_reduce_none,
308
+ 2, 63, :_reduce_none,
309
+ 1, 63, :_reduce_none,
310
+ 1, 63, :_reduce_none,
311
+ 1, 63, :_reduce_none,
312
+ 1, 63, :_reduce_none,
313
+ 1, 63, :_reduce_none,
314
+ 1, 63, :_reduce_none,
315
+ 1, 63, :_reduce_none,
316
+ 1, 63, :_reduce_none,
317
+ 1, 63, :_reduce_none,
318
+ 1, 63, :_reduce_none,
319
+ 1, 63, :_reduce_none,
320
+ 1, 63, :_reduce_none,
321
+ 1, 63, :_reduce_none,
322
+ 1, 63, :_reduce_none,
323
+ 1, 63, :_reduce_none,
324
+ 1, 63, :_reduce_none,
325
+ 1, 63, :_reduce_none,
326
+ 1, 63, :_reduce_none,
327
+ 1, 63, :_reduce_none,
328
+ 3, 36, :_reduce_101,
329
+ 3, 37, :_reduce_102,
330
+ 1, 65, :_reduce_none,
331
+ 1, 65, :_reduce_none,
332
+ 1, 65, :_reduce_none,
333
+ 1, 65, :_reduce_none,
334
+ 1, 65, :_reduce_none,
335
+ 1, 65, :_reduce_none,
336
+ 2, 66, :_reduce_109,
337
+ 1, 66, :_reduce_none,
338
+ 1, 38, :_reduce_111,
339
+ 1, 67, :_reduce_none,
340
+ 2, 67, :_reduce_113,
341
+ 2, 67, :_reduce_114,
342
+ 2, 67, :_reduce_115,
343
+ 1, 68, :_reduce_none,
344
+ 1, 68, :_reduce_none,
345
+ 1, 68, :_reduce_none,
346
+ 1, 68, :_reduce_none,
347
+ 1, 68, :_reduce_none,
348
+ 1, 68, :_reduce_none,
349
+ 1, 68, :_reduce_none,
350
+ 1, 68, :_reduce_none,
351
+ 1, 68, :_reduce_none,
352
+ 1, 68, :_reduce_none,
353
+ 1, 68, :_reduce_none,
354
+ 1, 68, :_reduce_none,
355
+ 1, 68, :_reduce_none,
356
+ 1, 68, :_reduce_none,
357
+ 1, 68, :_reduce_none,
358
+ 1, 68, :_reduce_none,
359
+ 1, 68, :_reduce_none,
360
+ 1, 68, :_reduce_none,
361
+ 1, 68, :_reduce_none,
362
+ 1, 68, :_reduce_none,
363
+ 2, 64, :_reduce_136,
364
+ 1, 64, :_reduce_none ]
365
+
366
+ racc_reduce_n = 138
367
+
368
+ racc_shift_n = 179
369
+
370
+ racc_action_table = [
371
+ 129, 131, 133, 135, 137, 139, 141, 144, 123, 91,
372
+ 126, 128, 130, 132, 134, 136, 138, 142, 145, 124,
373
+ 94, 125, 127, 129, 131, 133, 135, 137, 139, 141,
374
+ 144, 123, 163, 126, 128, 130, 132, 134, 136, 138,
375
+ 142, 145, 124, 93, 125, 127, 129, 131, 133, 135,
376
+ 137, 139, 141, 144, 123, 167, 126, 128, 130, 132,
377
+ 134, 136, 138, 142, 145, 124, 92, 125, 127, 129,
378
+ 131, 133, 135, 137, 139, 141, 144, 123, 111, 126,
379
+ 128, 130, 132, 134, 136, 138, 142, 145, 124, 90,
380
+ 125, 127, 38, 40, 42, 44, 45, 48, 49, 52,
381
+ 30, 171, 35, 37, 39, 41, 43, 46, 47, 50,
382
+ 53, 31, 33, 34, 88, 38, 40, 42, 86, 45,
383
+ 48, 49, 52, 30, 154, 35, 37, 39, 41, 43,
384
+ 46, 47, 50, 53, 31, 33, 34, 85, 7, 9,
385
+ 12, 15, 18, 20, 23, 26, 172, 173, 5, 111,
386
+ 10, 89, 16, 56, 21, 152, 27, 176, 153, 4,
387
+ 7, 9, 12, 15, 18, 20, 23, 26, 173, 147,
388
+ 5, nil, 10, nil, 16, nil, 21, nil, 27, nil,
389
+ nil, 4, 7, 9, 12, 15, 18, 20, 23, 26,
390
+ nil, nil, 5, nil, 10, nil, 16, nil, 21, nil,
391
+ 27, 65, nil, 4, 69, 72, 73, 77, 79, 60,
392
+ nil, 5, nil, 10, nil, 16, nil, 21, nil, 27,
393
+ nil, nil, 4, 7, 9, 12, 15, 18, 20, 23,
394
+ 26, nil, nil, 5, nil, 10, nil, 16, nil, 21,
395
+ nil, 27, nil, nil, 4, 7, 9, 12, 15, 18,
396
+ 20, 23, 26, nil, nil, 5, nil, 10, nil, 16,
397
+ nil, 21, nil, 27, nil, nil, 4, 7, 9, 12,
398
+ 15, 18, 20, 23, 26, nil, nil, 5, nil, 10,
399
+ nil, 16, nil, 21, nil, 27, nil, nil, 4, 7,
400
+ 9, 12, 15, 18, 20, 23, 26, nil, nil, 5,
401
+ nil, 10, nil, 16, nil, 21, nil, 27, 107, nil,
402
+ 4, 69, 105, 73, 77, 79, 60, nil, 5, nil,
403
+ 10, nil, 16, nil, 21, nil, 27, nil, nil, 4,
404
+ 7, 9, 12, 15, 18, 20, 23, 26, nil, nil,
405
+ 5, nil, 10, nil, 16, nil, 21, nil, 27, 107,
406
+ nil, 4, 69, 105, 73, 77, 79, 60, nil, 5,
407
+ nil, 10, nil, 16, nil, 21, nil, 27, nil, nil,
408
+ 4, 38, 40, 42, 44, 45, 48, 49, 52, 30,
409
+ nil, 35, 37, 39, 41, 43, 46, 47, 50, 53,
410
+ 31, 33, 34, 107, nil, nil, 69, 105, 73, 77,
411
+ 79, 60, nil, 5, nil, 10, nil, 16, nil, 21,
412
+ 150, 27, nil, 69, 4, 73, 77, 79, 60, nil,
413
+ 5, nil, 10, nil, 16, nil, 21, nil, 27, 107,
414
+ nil, 4, 69, 105, 73, 77, 79, 60, nil, 5,
415
+ nil, 10, nil, 16, nil, 21, nil, 27, nil, nil,
416
+ 4, 98, 100, 69, 105, 73, 77, 79, 60, nil,
417
+ 5, nil, 10, nil, 16, nil, 21, nil, 27, nil,
418
+ nil, 4, 98, 100, 69, 105, 73, 77, 79, 60,
419
+ nil, 5, nil, 10, nil, 16, nil, 21, nil, 27,
420
+ nil, nil, 4, 98, 100, 69, 105, 73, 77, 79,
421
+ 60, nil, 5, nil, 10, nil, 16, nil, 21, nil,
422
+ 27, 118, nil, 4, 69, 120, 73, 77, 79, 60,
423
+ 107, nil, nil, 69, 105, 73, 77, 79, 60, 165,
424
+ nil, nil, 69, nil, 73, 77, 79, 60, 155, 98,
425
+ 100, 69, 105, 73, 77, 79, 60, 177, 98, 100,
426
+ 69, 105, 73, 77, 79, 60, 107, nil, nil, 69,
427
+ 105, 73, 77, 79, 60, 174, 98, 100, 69, 105,
428
+ 73, 77, 79, 60, 178, 98, 100, 69, 105, 73,
429
+ 77, 79, 60, 98, 100, 69, 105, 73, 77, 79,
430
+ 60, 98, 100, 69, 105, 73, 77, 79, 60, 98,
431
+ 100, 69, 105, 73, 77, 79, 60, 7, 9, 12,
432
+ 15, 18, 20 ]
433
+
434
+ racc_action_check = [
435
+ 162, 162, 162, 162, 162, 162, 162, 162, 162, 56,
436
+ 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
437
+ 64, 162, 162, 120, 120, 120, 120, 120, 120, 120,
438
+ 120, 120, 121, 120, 120, 120, 120, 120, 120, 120,
439
+ 120, 120, 120, 59, 120, 120, 143, 143, 143, 143,
440
+ 143, 143, 143, 143, 143, 135, 143, 143, 143, 143,
441
+ 143, 143, 143, 143, 143, 143, 57, 143, 143, 72,
442
+ 72, 72, 72, 72, 72, 72, 72, 72, 119, 72,
443
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 55,
444
+ 72, 72, 51, 51, 51, 51, 51, 51, 51, 51,
445
+ 51, 154, 51, 51, 51, 51, 51, 51, 51, 51,
446
+ 51, 51, 51, 51, 51, 44, 44, 44, 44, 44,
447
+ 44, 44, 44, 44, 97, 44, 44, 44, 44, 44,
448
+ 44, 44, 44, 44, 44, 44, 44, 44, 26, 26,
449
+ 26, 26, 26, 26, 26, 26, 155, 155, 26, 68,
450
+ 26, 54, 26, 14, 26, 82, 26, 169, 83, 26,
451
+ 17, 17, 17, 17, 17, 17, 17, 17, 174, 76,
452
+ 17, nil, 17, nil, 17, nil, 17, nil, 17, nil,
453
+ nil, 17, 21, 21, 21, 21, 21, 21, 21, 21,
454
+ nil, nil, 21, nil, 21, nil, 21, nil, 21, nil,
455
+ 21, 23, nil, 21, 23, 23, 23, 23, 23, 23,
456
+ nil, 23, nil, 23, nil, 23, nil, 23, nil, 23,
457
+ nil, nil, 23, 16, 16, 16, 16, 16, 16, 16,
458
+ 16, nil, nil, 16, nil, 16, nil, 16, nil, 16,
459
+ nil, 16, nil, nil, 16, 27, 27, 27, 27, 27,
460
+ 27, 27, 27, nil, nil, 27, nil, 27, nil, 27,
461
+ nil, 27, nil, 27, nil, nil, 27, 0, 0, 0,
462
+ 0, 0, 0, 0, 0, nil, nil, 0, nil, 0,
463
+ nil, 0, nil, 0, nil, 0, nil, nil, 0, 10,
464
+ 10, 10, 10, 10, 10, 10, 10, nil, nil, 10,
465
+ nil, 10, nil, 10, nil, 10, nil, 10, 75, nil,
466
+ 10, 75, 75, 75, 75, 75, 75, nil, 75, nil,
467
+ 75, nil, 75, nil, 75, nil, 75, nil, nil, 75,
468
+ 5, 5, 5, 5, 5, 5, 5, 5, nil, nil,
469
+ 5, nil, 5, nil, 5, nil, 5, nil, 5, 146,
470
+ nil, 5, 146, 146, 146, 146, 146, 146, nil, 146,
471
+ nil, 146, nil, 146, nil, 146, nil, 146, nil, nil,
472
+ 146, 4, 4, 4, 4, 4, 4, 4, 4, 4,
473
+ nil, 4, 4, 4, 4, 4, 4, 4, 4, 4,
474
+ 4, 4, 4, 70, nil, nil, 70, 70, 70, 70,
475
+ 70, 70, nil, 70, nil, 70, nil, 70, nil, 70,
476
+ 81, 70, nil, 81, 70, 81, 81, 81, 81, nil,
477
+ 81, nil, 81, nil, 81, nil, 81, nil, 81, 115,
478
+ nil, 81, 115, 115, 115, 115, 115, 115, nil, 115,
479
+ nil, 115, nil, 115, nil, 115, nil, 115, nil, nil,
480
+ 115, 150, 150, 150, 150, 150, 150, 150, 150, nil,
481
+ 150, nil, 150, nil, 150, nil, 150, nil, 150, nil,
482
+ nil, 150, 65, 65, 65, 65, 65, 65, 65, 65,
483
+ nil, 65, nil, 65, nil, 65, nil, 65, nil, 65,
484
+ nil, nil, 65, 106, 106, 106, 106, 106, 106, 106,
485
+ 106, nil, 106, nil, 106, nil, 106, nil, 106, nil,
486
+ 106, 71, nil, 106, 71, 71, 71, 71, 71, 71,
487
+ 67, nil, nil, 67, 67, 67, 67, 67, 67, 122,
488
+ nil, nil, 122, nil, 122, 122, 122, 122, 99, 99,
489
+ 99, 99, 99, 99, 99, 99, 99, 170, 170, 170,
490
+ 170, 170, 170, 170, 170, 170, 113, nil, nil, 113,
491
+ 113, 113, 113, 113, 113, 161, 161, 161, 161, 161,
492
+ 161, 161, 161, 161, 175, 175, 175, 175, 175, 175,
493
+ 175, 175, 175, 118, 118, 118, 118, 118, 118, 118,
494
+ 118, 158, 158, 158, 158, 158, 158, 158, 158, 165,
495
+ 165, 165, 165, 165, 165, 165, 165, 1, 1, 1,
496
+ 1, 1, 1 ]
497
+
498
+ racc_action_pointer = [
499
+ 264, 604, nil, nil, 368, 327, nil, nil, nil, nil,
500
+ 286, nil, nil, nil, 153, nil, 220, 157, nil, nil,
501
+ nil, 179, nil, 198, nil, nil, 135, 242, nil, nil,
502
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
503
+ nil, nil, nil, nil, 112, nil, nil, nil, nil, nil,
504
+ nil, 89, nil, nil, 137, 73, 9, 48, nil, 23,
505
+ nil, nil, nil, nil, 16, 468, nil, 517, 144, nil,
506
+ 390, 508, 66, nil, nil, 305, 146, nil, nil, nil,
507
+ nil, 407, 144, 136, nil, nil, nil, nil, nil, nil,
508
+ nil, nil, nil, nil, nil, nil, nil, 121, nil, 535,
509
+ nil, nil, nil, nil, nil, nil, 489, nil, nil, nil,
510
+ nil, nil, nil, 553, nil, 426, nil, nil, 579, 73,
511
+ 20, 9, 526, nil, nil, nil, nil, nil, nil, nil,
512
+ nil, nil, nil, nil, nil, 49, nil, nil, nil, nil,
513
+ nil, nil, nil, 43, nil, nil, 346, nil, nil, nil,
514
+ 447, nil, nil, nil, 97, 142, nil, nil, 587, nil,
515
+ nil, 562, -3, nil, nil, 595, nil, nil, nil, 154,
516
+ 544, nil, nil, nil, 163, 571, nil, nil, nil ]
517
+
518
+ racc_action_default = [
519
+ -138, -111, -7, -8, -138, -138, -9, -104, -10, -105,
520
+ -138, -11, -106, -12, -138, -107, -138, -1, -108, -3,
521
+ -103, -138, -4, -138, -5, -110, -138, -138, -6, -109,
522
+ -133, -129, -137, -131, -134, -120, -112, -121, -117, -122,
523
+ -118, -123, -119, -124, -138, -135, -125, -126, -116, -130,
524
+ -127, -138, -132, -128, -138, -138, -138, -138, -2, -138,
525
+ -70, -50, -51, -26, -35, -138, -52, -63, -58, -67,
526
+ -41, -138, -138, -66, -47, -40, -138, -68, -48, -69,
527
+ -49, -27, -138, -138, -113, -114, -115, -136, -102, -13,
528
+ -14, 179, -15, -16, -28, -46, -56, -138, -76, -59,
529
+ -77, -71, -65, -55, -75, -72, -42, -74, -62, -61,
530
+ -73, -31, -54, -57, -53, -38, -44, -22, -138, -33,
531
+ -138, -138, -23, -98, -95, -99, -86, -100, -87, -85,
532
+ -88, -84, -89, -83, -90, -138, -91, -82, -92, -80,
533
+ -79, -96, -93, -24, -97, -94, -39, -19, -25, -35,
534
+ -138, -58, -101, -17, -36, -37, -64, -45, -59, -60,
535
+ -43, -138, -20, -18, -21, -138, -33, -81, -78, -138,
536
+ -59, -29, -30, -32, -34, -138, -36, -37, -34 ]
537
+
538
+ racc_goto_table = [
539
+ 70, 68, 99, 97, 67, 110, 156, 32, 110, 64,
540
+ 117, 63, 81, 110, 160, 143, 168, 115, 159, 121,
541
+ 108, 157, 146, 159, 71, 76, 51, 29, 58, 84,
542
+ nil, nil, nil, nil, nil, 168, nil, nil, nil, nil,
543
+ nil, nil, 103, 158, nil, 160, 110, nil, nil, 119,
544
+ nil, 110, 67, 110, 87, 161, nil, nil, 70, 151,
545
+ 122, 164, 67, 162, nil, 156, nil, 149, 156, 148,
546
+ 14, nil, nil, nil, nil, 54, nil, 156, nil, nil,
547
+ 55, nil, 156, 103, 110, nil, 57, 170, 169, 28,
548
+ nil, 59, nil, nil, 28, nil, 82, 83, nil, 28,
549
+ 166, nil, 175, 67, 24, 28, 28, 22, nil, 24,
550
+ 28, nil, 22, nil, 24, 28, 28, 22, nil, nil,
551
+ 24, 24, nil, 22, 22, 24, nil, 103, 22, nil,
552
+ 24, 24, 11, 22, 22, 2, nil, 11, nil, nil,
553
+ 2, nil, 11, nil, nil, 2, nil, nil, 11, 11,
554
+ 3, 2, 2, 11, nil, 3, 2, nil, 11, 11,
555
+ 3, 2, 2, nil, nil, nil, 3, 3, nil, nil,
556
+ nil, 3, nil, nil, nil, nil, 3, 3 ]
557
+
558
+ racc_goto_check = [
559
+ 24, 23, 22, 21, 34, 36, 35, 41, 36, 20,
560
+ 18, 19, 17, 36, 28, 16, 37, 25, 33, 14,
561
+ 32, 29, 25, 33, 13, 15, 38, 39, 3, 42,
562
+ nil, nil, nil, nil, nil, 37, nil, nil, nil, nil,
563
+ nil, nil, 24, 22, nil, 28, 36, nil, nil, 23,
564
+ nil, 36, 34, 36, 41, 22, nil, nil, 24, 23,
565
+ 17, 18, 34, 16, nil, 35, nil, 20, 35, 19,
566
+ 1, nil, nil, nil, nil, 1, nil, 35, nil, nil,
567
+ 1, nil, 35, 24, 36, nil, 1, 22, 21, 6,
568
+ nil, 1, nil, nil, 6, nil, 1, 1, nil, 6,
569
+ 23, nil, 22, 34, 5, 6, 6, 4, nil, 5,
570
+ 6, nil, 4, nil, 5, 6, 6, 4, nil, nil,
571
+ 5, 5, nil, 4, 4, 5, nil, 24, 4, nil,
572
+ 5, 5, 11, 4, 4, 7, nil, 11, nil, nil,
573
+ 7, nil, 11, nil, nil, 7, nil, nil, 11, 11,
574
+ 8, 7, 7, 11, nil, 8, 7, nil, 11, 11,
575
+ 8, 7, 7, nil, nil, nil, 8, 8, nil, nil,
576
+ nil, 8, nil, nil, nil, nil, 8, 8 ]
577
+
578
+ racc_goto_pointer = [
579
+ nil, 70, nil, 11, 107, 104, 89, 135, 150, nil,
580
+ nil, 132, nil, 1, -52, 2, -57, -11, -61, -12,
581
+ -14, -62, -63, -22, -23, -53, nil, nil, -101, -85,
582
+ nil, nil, -47, -90, -19, -93, -62, -127, 22, 26,
583
+ nil, 3, -15 ]
584
+
585
+ racc_goto_default = [
586
+ nil, nil, 17, 19, 74, 78, 80, 61, 62, 6,
587
+ 8, 66, 13, nil, nil, nil, nil, nil, nil, nil,
588
+ nil, nil, nil, nil, 114, nil, 75, 106, 116, 95,
589
+ 112, 96, 113, 109, 101, 102, 104, 140, nil, 25,
590
+ 1, nil, 36 ]
591
+
592
+ racc_token_table = {
593
+ false => 0,
594
+ Object.new => 1,
595
+ :EX_LOW => 2,
596
+ :QUOTE => 3,
597
+ :BAR => 4,
598
+ :SLASH => 5,
599
+ :BACK_SLASH => 6,
600
+ :URL => 7,
601
+ :OTHER => 8,
602
+ :REF_OPEN => 9,
603
+ :FOOTNOTE_OPEN => 10,
604
+ :FOOTNOTE_CLOSE => 11,
605
+ :EX_HIGH => 12,
606
+ :EM_OPEN => 13,
607
+ :EM_CLOSE => 14,
608
+ :CODE_OPEN => 15,
609
+ :CODE_CLOSE => 16,
610
+ :VAR_OPEN => 17,
611
+ :VAR_CLOSE => 18,
612
+ :KBD_OPEN => 19,
613
+ :KBD_CLOSE => 20,
614
+ :INDEX_OPEN => 21,
615
+ :INDEX_CLOSE => 22,
616
+ :REF_CLOSE => 23,
617
+ :VERB_OPEN => 24,
618
+ :VERB_CLOSE => 25 }
619
+
620
+ racc_use_result_var = true
621
+
622
+ racc_nt_base = 26
623
+
624
+ Racc_arg = [
625
+ racc_action_table,
626
+ racc_action_check,
627
+ racc_action_default,
628
+ racc_action_pointer,
629
+ racc_goto_table,
630
+ racc_goto_check,
631
+ racc_goto_default,
632
+ racc_goto_pointer,
633
+ racc_nt_base,
634
+ racc_reduce_table,
635
+ racc_token_table,
636
+ racc_shift_n,
637
+ racc_reduce_n,
638
+ racc_use_result_var ]
639
+
640
+ Racc_token_to_s_table = [
641
+ '$end',
642
+ 'error',
643
+ 'EX_LOW',
644
+ 'QUOTE',
645
+ 'BAR',
646
+ 'SLASH',
647
+ 'BACK_SLASH',
648
+ 'URL',
649
+ 'OTHER',
650
+ 'REF_OPEN',
651
+ 'FOOTNOTE_OPEN',
652
+ 'FOOTNOTE_CLOSE',
653
+ 'EX_HIGH',
654
+ 'EM_OPEN',
655
+ 'EM_CLOSE',
656
+ 'CODE_OPEN',
657
+ 'CODE_CLOSE',
658
+ 'VAR_OPEN',
659
+ 'VAR_CLOSE',
660
+ 'KBD_OPEN',
661
+ 'KBD_CLOSE',
662
+ 'INDEX_OPEN',
663
+ 'INDEX_CLOSE',
664
+ 'REF_CLOSE',
665
+ 'VERB_OPEN',
666
+ 'VERB_CLOSE',
667
+ '$start',
668
+ 'content',
669
+ 'elements',
670
+ 'element',
671
+ 'emphasis',
672
+ 'code',
673
+ 'var',
674
+ 'keyboard',
675
+ 'index',
676
+ 'reference',
677
+ 'footnote',
678
+ 'verb',
679
+ 'normal_str_ele',
680
+ 'substitute',
681
+ 'ref_label',
682
+ 'ref_label2',
683
+ 'ref_url_strings',
684
+ 'filename',
685
+ 'element_label',
686
+ 'element_label2',
687
+ 'ref_subst_content',
688
+ 'ref_subst_content_q',
689
+ 'ref_subst_strings_q',
690
+ 'ref_subst_strings_first',
691
+ 'ref_subst_ele2',
692
+ 'ref_subst_eles',
693
+ 'ref_subst_str_ele_first',
694
+ 'ref_subst_eles_q',
695
+ 'ref_subst_ele',
696
+ 'ref_subst_ele_q',
697
+ 'ref_subst_str_ele',
698
+ 'ref_subst_str_ele_q',
699
+ 'ref_subst_strings',
700
+ 'ref_subst_string3',
701
+ 'ref_subst_string',
702
+ 'ref_subst_string_q',
703
+ 'ref_subst_string2',
704
+ 'ref_url_string',
705
+ 'verb_strings',
706
+ 'normal_string',
707
+ 'normal_strings',
708
+ 'verb_string',
709
+ 'verb_normal_string']
710
+
711
+ Racc_debug_parser = false
712
+
713
+ ##### racc system variables end #####
714
+
715
+ # reduce 0 omitted
716
+
717
+ # reduce 1 omitted
718
+
719
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 23
720
+ def _reduce_2( val, _values, result )
721
+ result.push(val[1])
722
+ result
723
+ end
724
+ .,.,
725
+
726
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 24
727
+ def _reduce_3( val, _values, result )
728
+ result = val
729
+ result
730
+ end
731
+ .,.,
732
+
733
+ # reduce 4 omitted
734
+
735
+ # reduce 5 omitted
736
+
737
+ # reduce 6 omitted
738
+
739
+ # reduce 7 omitted
740
+
741
+ # reduce 8 omitted
742
+
743
+ # reduce 9 omitted
744
+
745
+ # reduce 10 omitted
746
+
747
+ # reduce 11 omitted
748
+
749
+ # reduce 12 omitted
750
+
751
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 41
752
+ def _reduce_13( val, _values, result )
753
+ result = Emphasis.new
754
+ add_children_to_element(result, *val[1])
755
+ result
756
+ end
757
+ .,.,
758
+
759
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 46
760
+ def _reduce_14( val, _values, result )
761
+ result = Code.new
762
+ add_children_to_element(result, *val[1])
763
+ result
764
+ end
765
+ .,.,
766
+
767
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 51
768
+ def _reduce_15( val, _values, result )
769
+ result = Var.new
770
+ add_children_to_element(result, *val[1])
771
+ result
772
+ end
773
+ .,.,
774
+
775
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 56
776
+ def _reduce_16( val, _values, result )
777
+ result = Keyboard.new
778
+ add_children_to_element(result, *val[1])
779
+ result
780
+ end
781
+ .,.,
782
+
783
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 61
784
+ def _reduce_17( val, _values, result )
785
+ result = Index.new
786
+ add_children_to_element(result, *val[1])
787
+ result
788
+ end
789
+ .,.,
790
+
791
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 69
792
+ def _reduce_18( val, _values, result )
793
+ result = Reference.new(val[2])
794
+ add_children_to_element(result, *val[1])
795
+ result
796
+ end
797
+ .,.,
798
+
799
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 74
800
+ def _reduce_19( val, _values, result )
801
+ result = make_reference_from_label(val[1])
802
+ result
803
+ end
804
+ .,.,
805
+
806
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 76
807
+ def _reduce_20( val, _values, result )
808
+ result = Reference::URL.new(val[1])
809
+ result
810
+ end
811
+ .,.,
812
+
813
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 79
814
+ def _reduce_21( val, _values, result )
815
+ result = Reference::TemporaryLabel.new(val[1],
816
+ val[0])
817
+ result
818
+ end
819
+ .,.,
820
+
821
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 81
822
+ def _reduce_22( val, _values, result )
823
+ result = Reference::TemporaryLabel.new(val[0])
824
+ result
825
+ end
826
+ .,.,
827
+
828
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 82
829
+ def _reduce_23( val, _values, result )
830
+ result = Reference::TemporaryLabel.new([], val[0])
831
+ result
832
+ end
833
+ .,.,
834
+
835
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 84
836
+ def _reduce_24( val, _values, result )
837
+ result = Reference::URL.new(val[1])
838
+ result
839
+ end
840
+ .,.,
841
+
842
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 87
843
+ def _reduce_25( val, _values, result )
844
+ result = Reference::TemporaryLabel.new(val[1],
845
+ val[0])
846
+ result
847
+ end
848
+ .,.,
849
+
850
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 89
851
+ def _reduce_26( val, _values, result )
852
+ result = Reference::TemporaryLabel.new(val[0])
853
+ result
854
+ end
855
+ .,.,
856
+
857
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 91
858
+ def _reduce_27( val, _values, result )
859
+ result = Reference::TemporaryLabel.new([],
860
+ val[0])
861
+ result
862
+ end
863
+ .,.,
864
+
865
+ # reduce 28 omitted
866
+
867
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 95
868
+ def _reduce_29( val, _values, result )
869
+ result = val[1]
870
+ result
871
+ end
872
+ .,.,
873
+
874
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 97
875
+ def _reduce_30( val, _values, result )
876
+ result = [StringElement.new(val[1])]
877
+ result
878
+ end
879
+ .,.,
880
+
881
+ # reduce 31 omitted
882
+
883
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 102
884
+ def _reduce_32( val, _values, result )
885
+ result = val[1]
886
+ result
887
+ end
888
+ .,.,
889
+
890
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 107
891
+ def _reduce_33( val, _values, result )
892
+ result = [StringElement.new(val[0])]
893
+ result
894
+ end
895
+ .,.,
896
+
897
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 109
898
+ def _reduce_34( val, _values, result )
899
+ result = [StringElement.new(val[1])]
900
+ result
901
+ end
902
+ .,.,
903
+
904
+ # reduce 35 omitted
905
+
906
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 115
907
+ def _reduce_36( val, _values, result )
908
+ result = val[1]
909
+ result
910
+ end
911
+ .,.,
912
+
913
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 117
914
+ def _reduce_37( val, _values, result )
915
+ result = [StringElement.new(val[1])]
916
+ result
917
+ end
918
+ .,.,
919
+
920
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 121
921
+ def _reduce_38( val, _values, result )
922
+ result = val[1].unshift(val[0])
923
+ result
924
+ end
925
+ .,.,
926
+
927
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 123
928
+ def _reduce_39( val, _values, result )
929
+ result = val[1].unshift(val[0])
930
+ result
931
+ end
932
+ .,.,
933
+
934
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 125
935
+ def _reduce_40( val, _values, result )
936
+ result = val
937
+ result
938
+ end
939
+ .,.,
940
+
941
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 126
942
+ def _reduce_41( val, _values, result )
943
+ result = val
944
+ result
945
+ end
946
+ .,.,
947
+
948
+ # reduce 42 omitted
949
+
950
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 131
951
+ def _reduce_43( val, _values, result )
952
+ result.push(val[1])
953
+ result
954
+ end
955
+ .,.,
956
+
957
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 132
958
+ def _reduce_44( val, _values, result )
959
+ result = val
960
+ result
961
+ end
962
+ .,.,
963
+
964
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 135
965
+ def _reduce_45( val, _values, result )
966
+ result.push(val[1])
967
+ result
968
+ end
969
+ .,.,
970
+
971
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 136
972
+ def _reduce_46( val, _values, result )
973
+ result = val
974
+ result
975
+ end
976
+ .,.,
977
+
978
+ # reduce 47 omitted
979
+
980
+ # reduce 48 omitted
981
+
982
+ # reduce 49 omitted
983
+
984
+ # reduce 50 omitted
985
+
986
+ # reduce 51 omitted
987
+
988
+ # reduce 52 omitted
989
+
990
+ # reduce 53 omitted
991
+
992
+ # reduce 54 omitted
993
+
994
+ # reduce 55 omitted
995
+
996
+ # reduce 56 omitted
997
+
998
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 153
999
+ def _reduce_57( val, _values, result )
1000
+ result = StringElement.new(val[0])
1001
+ result
1002
+ end
1003
+ .,.,
1004
+
1005
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 156
1006
+ def _reduce_58( val, _values, result )
1007
+ result = StringElement.new(val[0])
1008
+ result
1009
+ end
1010
+ .,.,
1011
+
1012
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 159
1013
+ def _reduce_59( val, _values, result )
1014
+ result = StringElement.new(val[0])
1015
+ result
1016
+ end
1017
+ .,.,
1018
+
1019
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 163
1020
+ def _reduce_60( val, _values, result )
1021
+ result << val[1]
1022
+ result
1023
+ end
1024
+ .,.,
1025
+
1026
+ # reduce 61 omitted
1027
+
1028
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 169
1029
+ def _reduce_62( val, _values, result )
1030
+ result << val[1]
1031
+ result
1032
+ end
1033
+ .,.,
1034
+
1035
+ # reduce 63 omitted
1036
+
1037
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 173
1038
+ def _reduce_64( val, _values, result )
1039
+ result << val[1]
1040
+ result
1041
+ end
1042
+ .,.,
1043
+
1044
+ # reduce 65 omitted
1045
+
1046
+ # reduce 66 omitted
1047
+
1048
+ # reduce 67 omitted
1049
+
1050
+ # reduce 68 omitted
1051
+
1052
+ # reduce 69 omitted
1053
+
1054
+ # reduce 70 omitted
1055
+
1056
+ # reduce 71 omitted
1057
+
1058
+ # reduce 72 omitted
1059
+
1060
+ # reduce 73 omitted
1061
+
1062
+ # reduce 74 omitted
1063
+
1064
+ # reduce 75 omitted
1065
+
1066
+ # reduce 76 omitted
1067
+
1068
+ # reduce 77 omitted
1069
+
1070
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 196
1071
+ def _reduce_78( val, _values, result )
1072
+ result << val[1]
1073
+ result
1074
+ end
1075
+ .,.,
1076
+
1077
+ # reduce 79 omitted
1078
+
1079
+ # reduce 80 omitted
1080
+
1081
+ # reduce 81 omitted
1082
+
1083
+ # reduce 82 omitted
1084
+
1085
+ # reduce 83 omitted
1086
+
1087
+ # reduce 84 omitted
1088
+
1089
+ # reduce 85 omitted
1090
+
1091
+ # reduce 86 omitted
1092
+
1093
+ # reduce 87 omitted
1094
+
1095
+ # reduce 88 omitted
1096
+
1097
+ # reduce 89 omitted
1098
+
1099
+ # reduce 90 omitted
1100
+
1101
+ # reduce 91 omitted
1102
+
1103
+ # reduce 92 omitted
1104
+
1105
+ # reduce 93 omitted
1106
+
1107
+ # reduce 94 omitted
1108
+
1109
+ # reduce 95 omitted
1110
+
1111
+ # reduce 96 omitted
1112
+
1113
+ # reduce 97 omitted
1114
+
1115
+ # reduce 98 omitted
1116
+
1117
+ # reduce 99 omitted
1118
+
1119
+ # reduce 100 omitted
1120
+
1121
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 230
1122
+ def _reduce_101( val, _values, result )
1123
+ result = Footnote.new
1124
+ add_children_to_element(result, *val[1])
1125
+ result
1126
+ end
1127
+ .,.,
1128
+
1129
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 233
1130
+ def _reduce_102( val, _values, result )
1131
+ result = Verb.new(val[1])
1132
+ result
1133
+ end
1134
+ .,.,
1135
+
1136
+ # reduce 103 omitted
1137
+
1138
+ # reduce 104 omitted
1139
+
1140
+ # reduce 105 omitted
1141
+
1142
+ # reduce 106 omitted
1143
+
1144
+ # reduce 107 omitted
1145
+
1146
+ # reduce 108 omitted
1147
+
1148
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 246
1149
+ def _reduce_109( val, _values, result )
1150
+ result << val[1]
1151
+ result
1152
+ end
1153
+ .,.,
1154
+
1155
+ # reduce 110 omitted
1156
+
1157
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 251
1158
+ def _reduce_111( val, _values, result )
1159
+ result = StringElement.new(val[0])
1160
+ result
1161
+ end
1162
+ .,.,
1163
+
1164
+ # reduce 112 omitted
1165
+
1166
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 256
1167
+ def _reduce_113( val, _values, result )
1168
+ result = val[1]
1169
+ result
1170
+ end
1171
+ .,.,
1172
+
1173
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 257
1174
+ def _reduce_114( val, _values, result )
1175
+ result = val[1]
1176
+ result
1177
+ end
1178
+ .,.,
1179
+
1180
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 258
1181
+ def _reduce_115( val, _values, result )
1182
+ result = val[1]
1183
+ result
1184
+ end
1185
+ .,.,
1186
+
1187
+ # reduce 116 omitted
1188
+
1189
+ # reduce 117 omitted
1190
+
1191
+ # reduce 118 omitted
1192
+
1193
+ # reduce 119 omitted
1194
+
1195
+ # reduce 120 omitted
1196
+
1197
+ # reduce 121 omitted
1198
+
1199
+ # reduce 122 omitted
1200
+
1201
+ # reduce 123 omitted
1202
+
1203
+ # reduce 124 omitted
1204
+
1205
+ # reduce 125 omitted
1206
+
1207
+ # reduce 126 omitted
1208
+
1209
+ # reduce 127 omitted
1210
+
1211
+ # reduce 128 omitted
1212
+
1213
+ # reduce 129 omitted
1214
+
1215
+ # reduce 130 omitted
1216
+
1217
+ # reduce 131 omitted
1218
+
1219
+ # reduce 132 omitted
1220
+
1221
+ # reduce 133 omitted
1222
+
1223
+ # reduce 134 omitted
1224
+
1225
+ # reduce 135 omitted
1226
+
1227
+ module_eval <<'.,.,', 'lib/rd/rdinlineparser.ry', 283
1228
+ def _reduce_136( val, _values, result )
1229
+ result << val[1]
1230
+ result
1231
+ end
1232
+ .,.,
1233
+
1234
+ # reduce 137 omitted
1235
+
1236
+ def _reduce_none( val, _values, result )
1237
+ result
1238
+ end
1239
+
1240
+ end # class RDInlineParser
1241
+
1242
+ end # end of module RD
1243
+