rdoc 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rdoc might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0f07dfb949217b7cde7e4cb2df00fffc19b6ecd
4
- data.tar.gz: ee6cc23747de3e2053d1f46db01b8850d825cd1b
3
+ metadata.gz: 25425cbd40fc0fb6688babd542c72e35da9c1af1
4
+ data.tar.gz: ce7517ea48d04c18235cb6b6555167247bc3c380
5
5
  SHA512:
6
- metadata.gz: 0b409de0fd2f6745b5e9012c8913658c8fe6c408c1d7a4236c7e59e22c9a4d0238e0464200dc03d54fe2967f34d2bb0ade34e97785e65432d97072ccca3da67c
7
- data.tar.gz: 1d6d4aaa7a265b291556a2158da070ff5c3102434b1193df6c6fa36a2c695434d7df94413a15d0bb9f78b939f140726302570ca37bdb74e6095db7ec85394d08
6
+ metadata.gz: 0931f21823f76e532d0a0628a66435a73968b9a4287077f758ed3a3863fd7dc3ef585fcc9d2042166aacf3299693aeb884e5509b924c7eafb362514e22ca3ca0
7
+ data.tar.gz: f4edd9434deb4657edf3da618757eb70339eb661288ee513b43f341b63ab372e5b6add88795f3d39f09e5a3cad5d13326c3c4073a5e25474c27c0c78fd74ea46
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,33 @@
1
+ === 4.0.1 / 2013-03-27
2
+
3
+ * Bug fixes
4
+ * RDoc::Options parser should rescue from OptionParser::ParseError.
5
+ * Updated example of RDoc::Options to include reopening RDoc::Options.
6
+ Pointed out by Michael Granger
7
+ * Moved RubyGems documentation installed message into RDoc hook. For
8
+ RubyGems bug #469 by Jeff Sandberg
9
+ * An Error is now raised when a heredoc is not terminated. Fixes exceptions
10
+ when processing comment blocks. Reported by darix
11
+ * rdoc --quiet --no-ignore-invalid now exits for invalid options. Pull
12
+ request #192 by Jeremy Evans
13
+ * RDoc::Parser::C no longer ignores a (METHOD) cast in rb_define_method.
14
+ Pull request #184 by Carlos Agarie
15
+ * RDoc::Servlet no longer ignores extra directories from -d. Pull request
16
+ #173 by Thomas Leitner
17
+ * Fixed `rdoc --ri-site`. Bug #193 by Michal Papis.
18
+ * RDoc no longer attempts to parse binary files. Bug #189 by postmodern,
19
+ Bug #190 by Christoffer Lervåg, Bug #195 by Aaron Patterson
20
+ * `rdoc --pipe` output now contains <code></code> for markdown compliance.
21
+ * RDoc no longer leaves emacs-style modelines in .txt, .md or .rd files.
22
+ Bug #178 by Zachary Scott
23
+ * RDoc no longer puts raw markup in HTML output for markdown input. Bug
24
+ #204 by Erik Hollensbe
25
+ * Code objects with nodoc are no longer included in the ri store. Bug #177
26
+ by Thomas Leitner.
27
+ * Text#snippet now creates a RDoc::Markup::ToHtmlSnippet correctly.
28
+ * The C parser now de-duplicates call-seq if the same C function is used for
29
+ multiple method names. Bug #203 by Pete Higgins
30
+
1
31
  === 4.0.0 / 2013-02-24
2
32
 
3
33
  RDoc 4.0 includes several new features and several breaking changes. The
@@ -404,6 +434,20 @@ Changes since RDoc 4.0.0.rc.2:
404
434
  * Fixed class << ::Foo writing documentation to /Foo.html
405
435
  * Fixed class ::A referencing itself from inside its own namespace.
406
436
 
437
+ === 3.12.2 / 2013-02-24
438
+
439
+ * Bug fixes
440
+ * Fixed bug in syntax-highlighting that would corrupt regular expressions.
441
+ Ruby Bug #6488 by Benny Lyne Amorsen.
442
+ * Fixed lexing of character syntax (<code>?x</code>). Reported by Xavier
443
+ Noria.
444
+ * Fixed tokenization of % when it is not followed by a $-string type
445
+ * Fixed display of __END__ in documentation examples in HTML output
446
+ * Fixed tokenization of reserved words used as new-style hash keys
447
+ * Fixed HEREDOC output for the limited case of a heredoc followed by a line
448
+ end. When a HEREDOC is not followed by a line end RDoc is not currently
449
+ smart enough to restore the source correctly. Bug #162 by Zachary Scott.
450
+
407
451
  === 3.12.1 / 2013-02-05
408
452
 
409
453
  * Bug fixes
data/Rakefile CHANGED
@@ -18,7 +18,6 @@ PARSER_FILES = %w[
18
18
  Hoe.plugin :git
19
19
  Hoe.plugin :kpeg
20
20
  Hoe.plugin :minitest
21
- Hoe.plugin :rdoc_tags
22
21
  Hoe.plugin :travis
23
22
 
24
23
  $rdoc_rakefile = true
@@ -64,7 +64,7 @@ module RDoc
64
64
  ##
65
65
  # RDoc version you are using
66
66
 
67
- VERSION = '4.0.0'
67
+ VERSION = '4.0.1'
68
68
 
69
69
  ##
70
70
  # Method visibilities
@@ -282,16 +282,18 @@ class RDoc::ClassModule < RDoc::Context
282
282
 
283
283
  def marshal_dump # :nodoc:
284
284
  attrs = attributes.sort.map do |attr|
285
+ next unless attr.display?
285
286
  [ attr.name, attr.rw,
286
287
  attr.visibility, attr.singleton, attr.file_name,
287
288
  ]
288
- end
289
+ end.compact
289
290
 
290
291
  method_types = methods_by_type.map do |type, visibilities|
291
292
  visibilities = visibilities.map do |visibility, methods|
292
293
  method_names = methods.map do |method|
294
+ next unless method.display?
293
295
  [method.name, method.file_name]
294
- end
296
+ end.compact
295
297
 
296
298
  [visibility, method_names.uniq]
297
299
  end
@@ -305,14 +307,16 @@ class RDoc::ClassModule < RDoc::Context
305
307
  @superclass,
306
308
  parse(@comment_location),
307
309
  attrs,
308
- constants,
310
+ constants.select { |constant| constant.display? },
309
311
  includes.map do |incl|
312
+ next unless incl.display?
310
313
  [incl.name, parse(incl.comment), incl.file_name]
311
- end,
314
+ end.compact,
312
315
  method_types,
313
316
  extends.map do |ext|
317
+ next unless ext.display?
314
318
  [ext.name, parse(ext.comment), ext.file_name]
315
- end,
319
+ end.compact,
316
320
  @sections.values,
317
321
  @in_files.map do |tl|
318
322
  tl.relative_name
@@ -275,6 +275,20 @@ class RDoc::CodeObject
275
275
  @ignored
276
276
  end
277
277
 
278
+ ##
279
+ # The options instance from the store this CodeObject is attached to, or a
280
+ # default options instance if the CodeObject is not attached.
281
+ #
282
+ # This is used by Text#snippet
283
+
284
+ def options
285
+ if @store then
286
+ @store.rdoc.options
287
+ else
288
+ RDoc::Options.new
289
+ end
290
+ end
291
+
278
292
  ##
279
293
  # Our parent CodeObject. The parent may be missing for classes loaded from
280
294
  # legacy RI data stores.
@@ -2,7 +2,8 @@
2
2
  <h3 class="section-header">Documentation</h3>
3
3
 
4
4
  <ul>
5
- <% installed.each do |name, href, exists| %>
5
+ <% installed.each do |name, href, exists, type, _| %>
6
+ <% next if type == :extra %>
6
7
  <li class="folder">
7
8
  <% if exists then %>
8
9
  <a href="<%= href %>"><%= h name %></a>
@@ -11,6 +11,25 @@
11
11
  <p>Here you can browse local documentation from the ruby standard library and
12
12
  your installed gems.
13
13
 
14
+ <% extra_dirs = installed.select { |_, _, _, type,| type == :extra } %>
15
+ <% unless extra_dirs.empty? %>
16
+ <h2>Extra Documentation Directories</h2>
17
+
18
+ <p>The following additional documentation directories are available:</p>
19
+
20
+ <ol>
21
+ <% extra_dirs.each do |name, href, exists, _, path| %>
22
+ <li>
23
+ <% if exists %>
24
+ <a href="<%= href %>"><%= h name %></a> (<%= h path %>)
25
+ <% else %>
26
+ <%= h name %> (<%= h path %>; <i>not available</i>)
27
+ <% end %>
28
+ </li>
29
+ <% end %>
30
+ </ol>
31
+ <% end %>
32
+
14
33
  <% gems = installed.select { |_, _, _, type,| type == :gem } %>
15
34
  <% missing = gems.reject { |_, _, exists,| exists } %>
16
35
  <% unless missing.empty? then %>
@@ -200,15 +200,13 @@
200
200
  def self.extension name
201
201
  EXTENSIONS << name
202
202
 
203
- eval <<-RUBY
204
- def #{name}?
205
- extension? __method__
206
- end
203
+ define_method "#{name}?" do
204
+ extension? name
205
+ end
207
206
 
208
- def #{name}= enable
209
- extension __method__, enable
210
- end
211
- RUBY
207
+ define_method "#{name}=" do |enable|
208
+ extension name, enable
209
+ end
212
210
  end
213
211
 
214
212
  ##
@@ -288,8 +286,6 @@
288
286
  # Is the extension `name` enabled?
289
287
 
290
288
  def extension? name
291
- name = name.to_s.delete('?').intern
292
-
293
289
  @extensions.include? name
294
290
  end
295
291
 
@@ -299,8 +295,6 @@
299
295
  # Enables or disables the extension with `name`
300
296
 
301
297
  def extension name, enable
302
- name = name.to_s.delete('=').intern
303
-
304
298
  if enable then
305
299
  @extensions |= [name]
306
300
  else
@@ -496,19 +490,19 @@ Para = NonindentSpace Inlines:a BlankLine+
496
490
  Plain = Inlines:a
497
491
  { paragraph a }
498
492
 
499
- AtxInline = !Newline !(Sp? "#"* Sp Newline) Inline
493
+ AtxInline = !Newline !(Sp? /#*/ Sp Newline) Inline
500
494
 
501
- AtxStart = < ( "######" | "#####" | "####" | "###" | "##" | "#" ) >
495
+ AtxStart = < /\#{1,6}/ >
502
496
  { text.length }
503
497
 
504
- AtxHeading = AtxStart:s Sp? AtxInline+:a (Sp? "#"* Sp)? Newline
498
+ AtxHeading = AtxStart:s Sp? AtxInline+:a (Sp? /#*/ Sp)? Newline
505
499
  { RDoc::Markup::Heading.new(s, a.join) }
506
500
 
507
501
  SetextHeading = SetextHeading1 | SetextHeading2
508
502
 
509
- SetextBottom1 = "===" "="* Newline
503
+ SetextBottom1 = /={3,}/ Newline
510
504
 
511
- SetextBottom2 = "---" "-"* Newline
505
+ SetextBottom2 = /-{3,}/ Newline
512
506
 
513
507
  SetextHeading1 = &(RawLine SetextBottom1)
514
508
  StartList:a ( !Endline Inline:b { a << b } )+ Sp? Newline
@@ -548,7 +542,7 @@ HorizontalRule = NonindentSpace
548
542
  Sp Newline BlankLine+
549
543
  { RDoc::Markup::Rule.new 1 }
550
544
 
551
- Bullet = !HorizontalRule NonindentSpace ("+" | "*" | "-") Spacechar+
545
+ Bullet = !HorizontalRule NonindentSpace /[+*-]/ Spacechar+
552
546
 
553
547
  BulletList = &Bullet (ListTight | ListLoose):a
554
548
  { RDoc::Markup::List.new(:BULLET, *a) }
@@ -884,7 +878,7 @@ Str = StartList:a
884
878
  < NormalChar+ > { a = text }
885
879
  ( StrChunk:c { a << c } )* { a }
886
880
 
887
- StrChunk = < (NormalChar | "_"+ &Alphanumeric)+ > { text }
881
+ StrChunk = < (NormalChar | /_+/ &Alphanumeric)+ > { text }
888
882
 
889
883
  EscapedChar = "\\" !Newline < /[:\\`|*_{}\[\]()#+.!><-]/ > { text }
890
884
 
@@ -893,7 +887,7 @@ Entity = ( HexEntity | DecEntity | CharEntity ):a { a }
893
887
  Endline = LineBreak | TerminalEndline | NormalEndline
894
888
 
895
889
  NormalEndline = Sp Newline !BlankLine !">" !AtxStart
896
- !(Line ("===" "="* | "---" "-"*) Newline)
890
+ !(Line /={3,}|-{3,}=/ Newline)
897
891
  { "\n" }
898
892
 
899
893
  TerminalEndline = Sp Newline Eof
@@ -906,10 +900,10 @@ Symbol = < SpecialChar >
906
900
  # This keeps the parser from getting bogged down on long strings of '*' or '_',
907
901
  # or strings of '*' or '_' with space on each side:
908
902
  UlOrStarLine = (UlLine | StarLine):a { a }
909
- StarLine = < "****" "*"* > { text } |
910
- < Spacechar "*"+ &Spacechar > { text }
911
- UlLine = < "____" "_"* > { text } |
912
- < Spacechar "_"+ &Spacechar > { text }
903
+ StarLine = < /\*{4,}/ > { text } |
904
+ < Spacechar /\*+/ &Spacechar > { text }
905
+ UlLine = < /_{4,}/ > { text } |
906
+ < Spacechar /_+/ &Spacechar > { text }
913
907
 
914
908
  Emph = EmphStar | EmphUl
915
909
 
@@ -1026,27 +1020,27 @@ Ticks4 = "````" !"`"
1026
1020
  Ticks5 = "`````" !"`"
1027
1021
 
1028
1022
  Code = ( Ticks1 Sp < (
1029
- ( !"`" Nonspacechar )+ | !Ticks1 "`"+ |
1023
+ ( !"`" Nonspacechar )+ | !Ticks1 /`+/ |
1030
1024
  !( Sp Ticks1 ) ( Spacechar | Newline !BlankLine )
1031
1025
  )+ > Sp Ticks1 |
1032
1026
  Ticks2 Sp < (
1033
1027
  ( !"`" Nonspacechar )+ |
1034
- !Ticks2 "`"+ |
1028
+ !Ticks2 /`+/ |
1035
1029
  !( Sp Ticks2 ) ( Spacechar | Newline !BlankLine )
1036
1030
  )+ > Sp Ticks2 |
1037
1031
  Ticks3 Sp < (
1038
1032
  ( !"`" Nonspacechar )+ |
1039
- !Ticks3 "`"+ |
1033
+ !Ticks3 /`+/ |
1040
1034
  !( Sp Ticks3 ) ( Spacechar | Newline !BlankLine )
1041
1035
  )+ > Sp Ticks3 |
1042
1036
  Ticks4 Sp < (
1043
1037
  ( !"`" Nonspacechar )+ |
1044
- !Ticks4 "`"+ |
1038
+ !Ticks4 /`+/ |
1045
1039
  !( Sp Ticks4 ) ( Spacechar | Newline !BlankLine )
1046
1040
  )+ > Sp Ticks4 |
1047
1041
  Ticks5 Sp < (
1048
1042
  ( !"`" Nonspacechar )+ |
1049
- !Ticks5 "`"+ |
1043
+ !Ticks5 /`+/ |
1050
1044
  !( Sp Ticks5 ) ( Spacechar | Newline !BlankLine )
1051
1045
  )+ > Sp Ticks5
1052
1046
  )
@@ -1065,7 +1059,7 @@ Eof = !.
1065
1059
  Nonspacechar = !Spacechar !Newline .
1066
1060
  Sp = Spacechar*
1067
1061
  Spnl = Sp (Newline Sp)?
1068
- SpecialChar = "*" | "_" | "`" | "&" | "[" | "]" | "(" | ")" | "<" | "!" | "#" | "\\" | "'" | "\"" | ExtendedSpecialChar
1062
+ SpecialChar = /[*_`&\[\]()<!#\\'"]/ | ExtendedSpecialChar
1069
1063
  NormalChar = !( SpecialChar | Spacechar | Newline ) .
1070
1064
  Digit = [0-9]
1071
1065
 
@@ -1077,11 +1071,11 @@ Newline = %literals.Newline
1077
1071
  NonAlphanumeric = %literals.NonAlphanumeric
1078
1072
  Spacechar = %literals.Spacechar
1079
1073
 
1080
- HexEntity = "&" "#" /[Xx]/ < /[0-9a-fA-F]+/ > ";"
1074
+ HexEntity = /&#x/i < /[0-9a-fA-F]+/ > ";"
1081
1075
  { [text.to_i(16)].pack 'U' }
1082
- DecEntity = "&" "#" < /[0-9]+/ > ";"
1076
+ DecEntity = "&#" < /[0-9]+/ > ";"
1083
1077
  { [text.to_i].pack 'U' }
1084
- CharEntity = "&" </[A-Za-z0-9]+/ > ";"
1078
+ CharEntity = "&" </[A-Za-z0-9]+/ > ";"
1085
1079
  { if entity = HTML_ENTITIES[text] then
1086
1080
  entity.pack 'U*'
1087
1081
  else
@@ -1089,8 +1083,8 @@ CharEntity = "&" </[A-Za-z0-9]+/ > ";"
1089
1083
  end
1090
1084
  }
1091
1085
 
1092
- NonindentSpace = " " | " " | " " | ""
1093
- Indent = "\t" | " "
1086
+ NonindentSpace = / {0,3}/
1087
+ Indent = /\t| /
1094
1088
  IndentedLine = Indent Line
1095
1089
  OptionallyIndentedLine = Indent? Line
1096
1090
 
@@ -1153,7 +1147,7 @@ RawNoteBlock = StartList:a
1153
1147
  CodeFence = &{ github? }
1154
1148
  Ticks3 (Sp StrChunk:format)? Spnl < (
1155
1149
  ( !"`" Nonspacechar )+ |
1156
- !Ticks3 "`"+ |
1150
+ !Ticks3 /`+/ |
1157
1151
  Spacechar |
1158
1152
  Newline
1159
1153
  )+ > Ticks3 Sp Newline*
@@ -172,8 +172,7 @@ class RDoc::Markdown
172
172
  # Prepares for parsing +str+. If you define a custom initialize you must
173
173
  # call this method before #parse
174
174
  def setup_parser(str, debug=false)
175
- @string = str
176
- @pos = 0
175
+ set_string str, 0
177
176
  @memoizations = Hash.new { |h,k| h[k] = {} }
178
177
  @result = nil
179
178
  @failed_rule = nil
@@ -220,6 +219,13 @@ class RDoc::Markdown
220
219
  @string[start..@pos-1]
221
220
  end
222
221
 
222
+ # Sets the string and current parsing position for the parser.
223
+ def set_string string, pos
224
+ @string = string
225
+ @string_size = string ? string.size : 0
226
+ @pos = pos
227
+ end
228
+
223
229
  def show_pos
224
230
  width = 10
225
231
  if @pos < width
@@ -326,19 +332,19 @@ class RDoc::Markdown
326
332
  return nil
327
333
  end
328
334
 
329
- if "".respond_to? :getbyte
335
+ if "".respond_to? :ord
330
336
  def get_byte
331
- if @pos >= @string.size
337
+ if @pos >= @string_size
332
338
  return nil
333
339
  end
334
340
 
335
- s = @string.getbyte @pos
341
+ s = @string[@pos].ord
336
342
  @pos += 1
337
343
  s
338
344
  end
339
345
  else
340
346
  def get_byte
341
- if @pos >= @string.size
347
+ if @pos >= @string_size
342
348
  return nil
343
349
  end
344
350
 
@@ -387,8 +393,7 @@ class RDoc::Markdown
387
393
  old_pos = @pos
388
394
  old_string = @string
389
395
 
390
- @pos = other.pos
391
- @string = other.string
396
+ set_string other.string, other.pos
392
397
 
393
398
  begin
394
399
  if val = __send__(rule, *args)
@@ -399,8 +404,7 @@ class RDoc::Markdown
399
404
  end
400
405
  val
401
406
  ensure
402
- @pos = old_pos
403
- @string = old_string
407
+ set_string old_string, old_pos
404
408
  end
405
409
  end
406
410
 
@@ -548,15 +552,13 @@ class RDoc::Markdown
548
552
  def self.extension name
549
553
  EXTENSIONS << name
550
554
 
551
- eval <<-RUBY
552
- def #{name}?
553
- extension? __method__
554
- end
555
+ define_method "#{name}?" do
556
+ extension? name
557
+ end
555
558
 
556
- def #{name}= enable
557
- extension __method__, enable
558
- end
559
- RUBY
559
+ define_method "#{name}=" do |enable|
560
+ extension name, enable
561
+ end
560
562
  end
561
563
 
562
564
  ##
@@ -636,8 +638,6 @@ class RDoc::Markdown
636
638
  # Is the extension `name` enabled?
637
639
 
638
640
  def extension? name
639
- name = name.to_s.delete('?').intern
640
-
641
641
  @extensions.include? name
642
642
  end
643
643
 
@@ -647,8 +647,6 @@ class RDoc::Markdown
647
647
  # Enables or disables the extension with `name`
648
648
 
649
649
  def extension name, enable
650
- name = name.to_s.delete('=').intern
651
-
652
650
  if enable then
653
651
  @extensions |= [name]
654
652
  else
@@ -1008,7 +1006,7 @@ class RDoc::Markdown
1008
1006
  return _tmp
1009
1007
  end
1010
1008
 
1011
- # AtxInline = !Newline !(Sp? "#"* Sp Newline) Inline
1009
+ # AtxInline = !Newline !(Sp? /#*/ Sp Newline) Inline
1012
1010
  def _AtxInline
1013
1011
 
1014
1012
  _save = self.pos
@@ -1035,11 +1033,7 @@ class RDoc::Markdown
1035
1033
  self.pos = _save3
1036
1034
  break
1037
1035
  end
1038
- while true
1039
- _tmp = match_string("#")
1040
- break unless _tmp
1041
- end
1042
- _tmp = true
1036
+ _tmp = scan(/\A(?-mix:#*)/)
1043
1037
  unless _tmp
1044
1038
  self.pos = _save3
1045
1039
  break
@@ -1073,36 +1067,13 @@ class RDoc::Markdown
1073
1067
  return _tmp
1074
1068
  end
1075
1069
 
1076
- # AtxStart = < ("######" | "#####" | "####" | "###" | "##" | "#") > { text.length }
1070
+ # AtxStart = < /\#{1,6}/ > { text.length }
1077
1071
  def _AtxStart
1078
1072
 
1079
1073
  _save = self.pos
1080
1074
  while true # sequence
1081
1075
  _text_start = self.pos
1082
-
1083
- _save1 = self.pos
1084
- while true # choice
1085
- _tmp = match_string("######")
1086
- break if _tmp
1087
- self.pos = _save1
1088
- _tmp = match_string("#####")
1089
- break if _tmp
1090
- self.pos = _save1
1091
- _tmp = match_string("####")
1092
- break if _tmp
1093
- self.pos = _save1
1094
- _tmp = match_string("###")
1095
- break if _tmp
1096
- self.pos = _save1
1097
- _tmp = match_string("##")
1098
- break if _tmp
1099
- self.pos = _save1
1100
- _tmp = match_string("#")
1101
- break if _tmp
1102
- self.pos = _save1
1103
- break
1104
- end # end choice
1105
-
1076
+ _tmp = scan(/\A(?-mix:\#{1,6})/)
1106
1077
  if _tmp
1107
1078
  text = get_text(_text_start)
1108
1079
  end
@@ -1122,7 +1093,7 @@ class RDoc::Markdown
1122
1093
  return _tmp
1123
1094
  end
1124
1095
 
1125
- # AtxHeading = AtxStart:s Sp? AtxInline+:a (Sp? "#"* Sp)? Newline { RDoc::Markup::Heading.new(s, a.join) }
1096
+ # AtxHeading = AtxStart:s Sp? AtxInline+:a (Sp? /#*/ Sp)? Newline { RDoc::Markup::Heading.new(s, a.join) }
1126
1097
  def _AtxHeading
1127
1098
 
1128
1099
  _save = self.pos
@@ -1177,11 +1148,7 @@ class RDoc::Markdown
1177
1148
  self.pos = _save4
1178
1149
  break
1179
1150
  end
1180
- while true
1181
- _tmp = match_string("#")
1182
- break unless _tmp
1183
- end
1184
- _tmp = true
1151
+ _tmp = scan(/\A(?-mix:#*)/)
1185
1152
  unless _tmp
1186
1153
  self.pos = _save4
1187
1154
  break
@@ -1236,21 +1203,12 @@ class RDoc::Markdown
1236
1203
  return _tmp
1237
1204
  end
1238
1205
 
1239
- # SetextBottom1 = "===" "="* Newline
1206
+ # SetextBottom1 = /={3,}/ Newline
1240
1207
  def _SetextBottom1
1241
1208
 
1242
1209
  _save = self.pos
1243
1210
  while true # sequence
1244
- _tmp = match_string("===")
1245
- unless _tmp
1246
- self.pos = _save
1247
- break
1248
- end
1249
- while true
1250
- _tmp = match_string("=")
1251
- break unless _tmp
1252
- end
1253
- _tmp = true
1211
+ _tmp = scan(/\A(?-mix:={3,})/)
1254
1212
  unless _tmp
1255
1213
  self.pos = _save
1256
1214
  break
@@ -1266,21 +1224,12 @@ class RDoc::Markdown
1266
1224
  return _tmp
1267
1225
  end
1268
1226
 
1269
- # SetextBottom2 = "---" "-"* Newline
1227
+ # SetextBottom2 = /-{3,}/ Newline
1270
1228
  def _SetextBottom2
1271
1229
 
1272
1230
  _save = self.pos
1273
1231
  while true # sequence
1274
- _tmp = match_string("---")
1275
- unless _tmp
1276
- self.pos = _save
1277
- break
1278
- end
1279
- while true
1280
- _tmp = match_string("-")
1281
- break unless _tmp
1282
- end
1283
- _tmp = true
1232
+ _tmp = scan(/\A(?-mix:-{3,})/)
1284
1233
  unless _tmp
1285
1234
  self.pos = _save
1286
1235
  break
@@ -2156,7 +2105,7 @@ class RDoc::Markdown
2156
2105
  return _tmp
2157
2106
  end
2158
2107
 
2159
- # Bullet = !HorizontalRule NonindentSpace ("+" | "*" | "-") Spacechar+
2108
+ # Bullet = !HorizontalRule NonindentSpace /[+*-]/ Spacechar+
2160
2109
  def _Bullet
2161
2110
 
2162
2111
  _save = self.pos
@@ -2174,26 +2123,12 @@ class RDoc::Markdown
2174
2123
  self.pos = _save
2175
2124
  break
2176
2125
  end
2177
-
2178
- _save2 = self.pos
2179
- while true # choice
2180
- _tmp = match_string("+")
2181
- break if _tmp
2182
- self.pos = _save2
2183
- _tmp = match_string("*")
2184
- break if _tmp
2185
- self.pos = _save2
2186
- _tmp = match_string("-")
2187
- break if _tmp
2188
- self.pos = _save2
2189
- break
2190
- end # end choice
2191
-
2126
+ _tmp = scan(/\A(?-mix:[+*-])/)
2192
2127
  unless _tmp
2193
2128
  self.pos = _save
2194
2129
  break
2195
2130
  end
2196
- _save3 = self.pos
2131
+ _save2 = self.pos
2197
2132
  _tmp = apply(:_Spacechar)
2198
2133
  if _tmp
2199
2134
  while true
@@ -2202,7 +2137,7 @@ class RDoc::Markdown
2202
2137
  end
2203
2138
  _tmp = true
2204
2139
  else
2205
- self.pos = _save3
2140
+ self.pos = _save2
2206
2141
  end
2207
2142
  unless _tmp
2208
2143
  self.pos = _save
@@ -9379,7 +9314,7 @@ class RDoc::Markdown
9379
9314
  return _tmp
9380
9315
  end
9381
9316
 
9382
- # StrChunk = < (NormalChar | "_"+ &Alphanumeric)+ > { text }
9317
+ # StrChunk = < (NormalChar | /_+/ &Alphanumeric)+ > { text }
9383
9318
  def _StrChunk
9384
9319
 
9385
9320
  _save = self.pos
@@ -9395,24 +9330,14 @@ class RDoc::Markdown
9395
9330
 
9396
9331
  _save3 = self.pos
9397
9332
  while true # sequence
9398
- _save4 = self.pos
9399
- _tmp = match_string("_")
9400
- if _tmp
9401
- while true
9402
- _tmp = match_string("_")
9403
- break unless _tmp
9404
- end
9405
- _tmp = true
9406
- else
9407
- self.pos = _save4
9408
- end
9333
+ _tmp = scan(/\A(?-mix:_+)/)
9409
9334
  unless _tmp
9410
9335
  self.pos = _save3
9411
9336
  break
9412
9337
  end
9413
- _save5 = self.pos
9338
+ _save4 = self.pos
9414
9339
  _tmp = apply(:_Alphanumeric)
9415
- self.pos = _save5
9340
+ self.pos = _save4
9416
9341
  unless _tmp
9417
9342
  self.pos = _save3
9418
9343
  end
@@ -9427,40 +9352,30 @@ class RDoc::Markdown
9427
9352
  if _tmp
9428
9353
  while true
9429
9354
 
9430
- _save6 = self.pos
9355
+ _save5 = self.pos
9431
9356
  while true # choice
9432
9357
  _tmp = apply(:_NormalChar)
9433
9358
  break if _tmp
9434
- self.pos = _save6
9359
+ self.pos = _save5
9435
9360
 
9436
- _save7 = self.pos
9361
+ _save6 = self.pos
9437
9362
  while true # sequence
9438
- _save8 = self.pos
9439
- _tmp = match_string("_")
9440
- if _tmp
9441
- while true
9442
- _tmp = match_string("_")
9443
- break unless _tmp
9444
- end
9445
- _tmp = true
9446
- else
9447
- self.pos = _save8
9448
- end
9363
+ _tmp = scan(/\A(?-mix:_+)/)
9449
9364
  unless _tmp
9450
- self.pos = _save7
9365
+ self.pos = _save6
9451
9366
  break
9452
9367
  end
9453
- _save9 = self.pos
9368
+ _save7 = self.pos
9454
9369
  _tmp = apply(:_Alphanumeric)
9455
- self.pos = _save9
9370
+ self.pos = _save7
9456
9371
  unless _tmp
9457
- self.pos = _save7
9372
+ self.pos = _save6
9458
9373
  end
9459
9374
  break
9460
9375
  end # end sequence
9461
9376
 
9462
9377
  break if _tmp
9463
- self.pos = _save6
9378
+ self.pos = _save5
9464
9379
  break
9465
9380
  end # end choice
9466
9381
 
@@ -9586,7 +9501,7 @@ class RDoc::Markdown
9586
9501
  return _tmp
9587
9502
  end
9588
9503
 
9589
- # NormalEndline = Sp Newline !BlankLine !">" !AtxStart !(Line ("===" "="* | "---" "-"*) Newline) { "\n" }
9504
+ # NormalEndline = Sp Newline !BlankLine !">" !AtxStart !(Line /={3,}|-{3,}=/ Newline) { "\n" }
9590
9505
  def _NormalEndline
9591
9506
 
9592
9507
  _save = self.pos
@@ -9634,54 +9549,7 @@ class RDoc::Markdown
9634
9549
  self.pos = _save5
9635
9550
  break
9636
9551
  end
9637
-
9638
- _save6 = self.pos
9639
- while true # choice
9640
-
9641
- _save7 = self.pos
9642
- while true # sequence
9643
- _tmp = match_string("===")
9644
- unless _tmp
9645
- self.pos = _save7
9646
- break
9647
- end
9648
- while true
9649
- _tmp = match_string("=")
9650
- break unless _tmp
9651
- end
9652
- _tmp = true
9653
- unless _tmp
9654
- self.pos = _save7
9655
- end
9656
- break
9657
- end # end sequence
9658
-
9659
- break if _tmp
9660
- self.pos = _save6
9661
-
9662
- _save9 = self.pos
9663
- while true # sequence
9664
- _tmp = match_string("---")
9665
- unless _tmp
9666
- self.pos = _save9
9667
- break
9668
- end
9669
- while true
9670
- _tmp = match_string("-")
9671
- break unless _tmp
9672
- end
9673
- _tmp = true
9674
- unless _tmp
9675
- self.pos = _save9
9676
- end
9677
- break
9678
- end # end sequence
9679
-
9680
- break if _tmp
9681
- self.pos = _save6
9682
- break
9683
- end # end choice
9684
-
9552
+ _tmp = scan(/\A(?-mix:={3,}|-{3,}=)/)
9685
9553
  unless _tmp
9686
9554
  self.pos = _save5
9687
9555
  break
@@ -9824,7 +9692,7 @@ class RDoc::Markdown
9824
9692
  return _tmp
9825
9693
  end
9826
9694
 
9827
- # StarLine = (< "****" "*"* > { text } | < Spacechar "*"+ &Spacechar > { text })
9695
+ # StarLine = (< /\*{4,}/ > { text } | < Spacechar /\*+/ &Spacechar > { text })
9828
9696
  def _StarLine
9829
9697
 
9830
9698
  _save = self.pos
@@ -9833,25 +9701,7 @@ class RDoc::Markdown
9833
9701
  _save1 = self.pos
9834
9702
  while true # sequence
9835
9703
  _text_start = self.pos
9836
-
9837
- _save2 = self.pos
9838
- while true # sequence
9839
- _tmp = match_string("****")
9840
- unless _tmp
9841
- self.pos = _save2
9842
- break
9843
- end
9844
- while true
9845
- _tmp = match_string("*")
9846
- break unless _tmp
9847
- end
9848
- _tmp = true
9849
- unless _tmp
9850
- self.pos = _save2
9851
- end
9852
- break
9853
- end # end sequence
9854
-
9704
+ _tmp = scan(/\A(?-mix:\*{4,})/)
9855
9705
  if _tmp
9856
9706
  text = get_text(_text_start)
9857
9707
  end
@@ -9870,37 +9720,27 @@ class RDoc::Markdown
9870
9720
  break if _tmp
9871
9721
  self.pos = _save
9872
9722
 
9873
- _save4 = self.pos
9723
+ _save2 = self.pos
9874
9724
  while true # sequence
9875
9725
  _text_start = self.pos
9876
9726
 
9877
- _save5 = self.pos
9727
+ _save3 = self.pos
9878
9728
  while true # sequence
9879
9729
  _tmp = apply(:_Spacechar)
9880
9730
  unless _tmp
9881
- self.pos = _save5
9731
+ self.pos = _save3
9882
9732
  break
9883
9733
  end
9884
- _save6 = self.pos
9885
- _tmp = match_string("*")
9886
- if _tmp
9887
- while true
9888
- _tmp = match_string("*")
9889
- break unless _tmp
9890
- end
9891
- _tmp = true
9892
- else
9893
- self.pos = _save6
9894
- end
9734
+ _tmp = scan(/\A(?-mix:\*+)/)
9895
9735
  unless _tmp
9896
- self.pos = _save5
9736
+ self.pos = _save3
9897
9737
  break
9898
9738
  end
9899
- _save7 = self.pos
9739
+ _save4 = self.pos
9900
9740
  _tmp = apply(:_Spacechar)
9901
- self.pos = _save7
9741
+ self.pos = _save4
9902
9742
  unless _tmp
9903
- self.pos = _save5
9743
+ self.pos = _save3
9904
9744
  end
9905
9745
  break
9906
9746
  end # end sequence
@@ -9909,13 +9749,13 @@ class RDoc::Markdown
9909
9749
  text = get_text(_text_start)
9910
9750
  end
9911
9751
  unless _tmp
9912
- self.pos = _save4
9752
+ self.pos = _save2
9913
9753
  break
9914
9754
  end
9915
9755
  @result = begin; text ; end
9916
9756
  _tmp = true
9917
9757
  unless _tmp
9918
- self.pos = _save4
9758
+ self.pos = _save2
9919
9759
  end
9920
9760
  break
9921
9761
  end # end sequence
@@ -9929,7 +9769,7 @@ class RDoc::Markdown
9929
9769
  return _tmp
9930
9770
  end
9931
9771
 
9932
- # UlLine = (< "____" "_"* > { text } | < Spacechar "_"+ &Spacechar > { text })
9772
+ # UlLine = (< /_{4,}/ > { text } | < Spacechar /_+/ &Spacechar > { text })
9933
9773
  def _UlLine
9934
9774
 
9935
9775
  _save = self.pos
@@ -9938,25 +9778,7 @@ class RDoc::Markdown
9938
9778
  _save1 = self.pos
9939
9779
  while true # sequence
9940
9780
  _text_start = self.pos
9941
-
9942
- _save2 = self.pos
9943
- while true # sequence
9944
- _tmp = match_string("____")
9945
- unless _tmp
9946
- self.pos = _save2
9947
- break
9948
- end
9949
- while true
9950
- _tmp = match_string("_")
9951
- break unless _tmp
9952
- end
9953
- _tmp = true
9954
- unless _tmp
9955
- self.pos = _save2
9956
- end
9957
- break
9958
- end # end sequence
9959
-
9781
+ _tmp = scan(/\A(?-mix:_{4,})/)
9960
9782
  if _tmp
9961
9783
  text = get_text(_text_start)
9962
9784
  end
@@ -9975,37 +9797,27 @@ class RDoc::Markdown
9975
9797
  break if _tmp
9976
9798
  self.pos = _save
9977
9799
 
9978
- _save4 = self.pos
9800
+ _save2 = self.pos
9979
9801
  while true # sequence
9980
9802
  _text_start = self.pos
9981
9803
 
9982
- _save5 = self.pos
9804
+ _save3 = self.pos
9983
9805
  while true # sequence
9984
9806
  _tmp = apply(:_Spacechar)
9985
9807
  unless _tmp
9986
- self.pos = _save5
9808
+ self.pos = _save3
9987
9809
  break
9988
9810
  end
9989
- _save6 = self.pos
9990
- _tmp = match_string("_")
9991
- if _tmp
9992
- while true
9993
- _tmp = match_string("_")
9994
- break unless _tmp
9995
- end
9996
- _tmp = true
9997
- else
9998
- self.pos = _save6
9999
- end
9811
+ _tmp = scan(/\A(?-mix:_+)/)
10000
9812
  unless _tmp
10001
- self.pos = _save5
9813
+ self.pos = _save3
10002
9814
  break
10003
9815
  end
10004
- _save7 = self.pos
9816
+ _save4 = self.pos
10005
9817
  _tmp = apply(:_Spacechar)
10006
- self.pos = _save7
9818
+ self.pos = _save4
10007
9819
  unless _tmp
10008
- self.pos = _save5
9820
+ self.pos = _save3
10009
9821
  end
10010
9822
  break
10011
9823
  end # end sequence
@@ -10014,13 +9826,13 @@ class RDoc::Markdown
10014
9826
  text = get_text(_text_start)
10015
9827
  end
10016
9828
  unless _tmp
10017
- self.pos = _save4
9829
+ self.pos = _save2
10018
9830
  break
10019
9831
  end
10020
9832
  @result = begin; text ; end
10021
9833
  _tmp = true
10022
9834
  unless _tmp
10023
- self.pos = _save4
9835
+ self.pos = _save2
10024
9836
  end
10025
9837
  break
10026
9838
  end # end sequence
@@ -12253,7 +12065,7 @@ class RDoc::Markdown
12253
12065
  return _tmp
12254
12066
  end
12255
12067
 
12256
- # Code = (Ticks1 Sp < ((!"`" Nonspacechar)+ | !Ticks1 "`"+ | !(Sp Ticks1) (Spacechar | Newline !BlankLine))+ > Sp Ticks1 | Ticks2 Sp < ((!"`" Nonspacechar)+ | !Ticks2 "`"+ | !(Sp Ticks2) (Spacechar | Newline !BlankLine))+ > Sp Ticks2 | Ticks3 Sp < ((!"`" Nonspacechar)+ | !Ticks3 "`"+ | !(Sp Ticks3) (Spacechar | Newline !BlankLine))+ > Sp Ticks3 | Ticks4 Sp < ((!"`" Nonspacechar)+ | !Ticks4 "`"+ | !(Sp Ticks4) (Spacechar | Newline !BlankLine))+ > Sp Ticks4 | Ticks5 Sp < ((!"`" Nonspacechar)+ | !Ticks5 "`"+ | !(Sp Ticks5) (Spacechar | Newline !BlankLine))+ > Sp Ticks5) { "<code>#{text}</code>" }
12068
+ # Code = (Ticks1 Sp < ((!"`" Nonspacechar)+ | !Ticks1 /`+/ | !(Sp Ticks1) (Spacechar | Newline !BlankLine))+ > Sp Ticks1 | Ticks2 Sp < ((!"`" Nonspacechar)+ | !Ticks2 /`+/ | !(Sp Ticks2) (Spacechar | Newline !BlankLine))+ > Sp Ticks2 | Ticks3 Sp < ((!"`" Nonspacechar)+ | !Ticks3 /`+/ | !(Sp Ticks3) (Spacechar | Newline !BlankLine))+ > Sp Ticks3 | Ticks4 Sp < ((!"`" Nonspacechar)+ | !Ticks4 /`+/ | !(Sp Ticks4) (Spacechar | Newline !BlankLine))+ > Sp Ticks4 | Ticks5 Sp < ((!"`" Nonspacechar)+ | !Ticks5 /`+/ | !(Sp Ticks5) (Spacechar | Newline !BlankLine))+ > Sp Ticks5) { "<code>#{text}</code>" }
12257
12069
  def _Code
12258
12070
 
12259
12071
  _save = self.pos
@@ -12337,17 +12149,7 @@ class RDoc::Markdown
12337
12149
  self.pos = _save10
12338
12150
  break
12339
12151
  end
12340
- _save12 = self.pos
12341
- _tmp = match_string("`")
12342
- if _tmp
12343
- while true
12344
- _tmp = match_string("`")
12345
- break unless _tmp
12346
- end
12347
- _tmp = true
12348
- else
12349
- self.pos = _save12
12350
- end
12152
+ _tmp = scan(/\A(?-mix:`+)/)
12351
12153
  unless _tmp
12352
12154
  self.pos = _save10
12353
12155
  end
@@ -12357,61 +12159,61 @@ class RDoc::Markdown
12357
12159
  break if _tmp
12358
12160
  self.pos = _save4
12359
12161
 
12360
- _save13 = self.pos
12162
+ _save12 = self.pos
12361
12163
  while true # sequence
12362
- _save14 = self.pos
12164
+ _save13 = self.pos
12363
12165
 
12364
- _save15 = self.pos
12166
+ _save14 = self.pos
12365
12167
  while true # sequence
12366
12168
  _tmp = apply(:_Sp)
12367
12169
  unless _tmp
12368
- self.pos = _save15
12170
+ self.pos = _save14
12369
12171
  break
12370
12172
  end
12371
12173
  _tmp = apply(:_Ticks1)
12372
12174
  unless _tmp
12373
- self.pos = _save15
12175
+ self.pos = _save14
12374
12176
  end
12375
12177
  break
12376
12178
  end # end sequence
12377
12179
 
12378
12180
  _tmp = _tmp ? nil : true
12379
- self.pos = _save14
12181
+ self.pos = _save13
12380
12182
  unless _tmp
12381
- self.pos = _save13
12183
+ self.pos = _save12
12382
12184
  break
12383
12185
  end
12384
12186
 
12385
- _save16 = self.pos
12187
+ _save15 = self.pos
12386
12188
  while true # choice
12387
12189
  _tmp = apply(:_Spacechar)
12388
12190
  break if _tmp
12389
- self.pos = _save16
12191
+ self.pos = _save15
12390
12192
 
12391
- _save17 = self.pos
12193
+ _save16 = self.pos
12392
12194
  while true # sequence
12393
12195
  _tmp = apply(:_Newline)
12394
12196
  unless _tmp
12395
- self.pos = _save17
12197
+ self.pos = _save16
12396
12198
  break
12397
12199
  end
12398
- _save18 = self.pos
12200
+ _save17 = self.pos
12399
12201
  _tmp = apply(:_BlankLine)
12400
12202
  _tmp = _tmp ? nil : true
12401
- self.pos = _save18
12203
+ self.pos = _save17
12402
12204
  unless _tmp
12403
- self.pos = _save17
12205
+ self.pos = _save16
12404
12206
  end
12405
12207
  break
12406
12208
  end # end sequence
12407
12209
 
12408
12210
  break if _tmp
12409
- self.pos = _save16
12211
+ self.pos = _save15
12410
12212
  break
12411
12213
  end # end choice
12412
12214
 
12413
12215
  unless _tmp
12414
- self.pos = _save13
12216
+ self.pos = _save12
12415
12217
  end
12416
12218
  break
12417
12219
  end # end sequence
@@ -12424,23 +12226,23 @@ class RDoc::Markdown
12424
12226
  if _tmp
12425
12227
  while true
12426
12228
 
12427
- _save19 = self.pos
12229
+ _save18 = self.pos
12428
12230
  while true # choice
12429
- _save20 = self.pos
12231
+ _save19 = self.pos
12430
12232
 
12431
- _save21 = self.pos
12233
+ _save20 = self.pos
12432
12234
  while true # sequence
12433
- _save22 = self.pos
12235
+ _save21 = self.pos
12434
12236
  _tmp = match_string("`")
12435
12237
  _tmp = _tmp ? nil : true
12436
- self.pos = _save22
12238
+ self.pos = _save21
12437
12239
  unless _tmp
12438
- self.pos = _save21
12240
+ self.pos = _save20
12439
12241
  break
12440
12242
  end
12441
12243
  _tmp = apply(:_Nonspacechar)
12442
12244
  unless _tmp
12443
- self.pos = _save21
12245
+ self.pos = _save20
12444
12246
  end
12445
12247
  break
12446
12248
  end # end sequence
@@ -12448,19 +12250,19 @@ class RDoc::Markdown
12448
12250
  if _tmp
12449
12251
  while true
12450
12252
 
12451
- _save23 = self.pos
12253
+ _save22 = self.pos
12452
12254
  while true # sequence
12453
- _save24 = self.pos
12255
+ _save23 = self.pos
12454
12256
  _tmp = match_string("`")
12455
12257
  _tmp = _tmp ? nil : true
12456
- self.pos = _save24
12258
+ self.pos = _save23
12457
12259
  unless _tmp
12458
- self.pos = _save23
12260
+ self.pos = _save22
12459
12261
  break
12460
12262
  end
12461
12263
  _tmp = apply(:_Nonspacechar)
12462
12264
  unless _tmp
12463
- self.pos = _save23
12265
+ self.pos = _save22
12464
12266
  end
12465
12267
  break
12466
12268
  end # end sequence
@@ -12469,102 +12271,92 @@ class RDoc::Markdown
12469
12271
  end
12470
12272
  _tmp = true
12471
12273
  else
12472
- self.pos = _save20
12274
+ self.pos = _save19
12473
12275
  end
12474
12276
  break if _tmp
12475
- self.pos = _save19
12277
+ self.pos = _save18
12476
12278
 
12477
- _save25 = self.pos
12279
+ _save24 = self.pos
12478
12280
  while true # sequence
12479
- _save26 = self.pos
12281
+ _save25 = self.pos
12480
12282
  _tmp = apply(:_Ticks1)
12481
12283
  _tmp = _tmp ? nil : true
12482
- self.pos = _save26
12284
+ self.pos = _save25
12483
12285
  unless _tmp
12484
- self.pos = _save25
12286
+ self.pos = _save24
12485
12287
  break
12486
12288
  end
12487
- _save27 = self.pos
12488
- _tmp = match_string("`")
12489
- if _tmp
12490
- while true
12491
- _tmp = match_string("`")
12492
- break unless _tmp
12493
- end
12494
- _tmp = true
12495
- else
12496
- self.pos = _save27
12497
- end
12289
+ _tmp = scan(/\A(?-mix:`+)/)
12498
12290
  unless _tmp
12499
- self.pos = _save25
12291
+ self.pos = _save24
12500
12292
  end
12501
12293
  break
12502
12294
  end # end sequence
12503
12295
 
12504
12296
  break if _tmp
12505
- self.pos = _save19
12297
+ self.pos = _save18
12506
12298
 
12507
- _save28 = self.pos
12299
+ _save26 = self.pos
12508
12300
  while true # sequence
12509
- _save29 = self.pos
12301
+ _save27 = self.pos
12510
12302
 
12511
- _save30 = self.pos
12303
+ _save28 = self.pos
12512
12304
  while true # sequence
12513
12305
  _tmp = apply(:_Sp)
12514
12306
  unless _tmp
12515
- self.pos = _save30
12307
+ self.pos = _save28
12516
12308
  break
12517
12309
  end
12518
12310
  _tmp = apply(:_Ticks1)
12519
12311
  unless _tmp
12520
- self.pos = _save30
12312
+ self.pos = _save28
12521
12313
  end
12522
12314
  break
12523
12315
  end # end sequence
12524
12316
 
12525
12317
  _tmp = _tmp ? nil : true
12526
- self.pos = _save29
12318
+ self.pos = _save27
12527
12319
  unless _tmp
12528
- self.pos = _save28
12320
+ self.pos = _save26
12529
12321
  break
12530
12322
  end
12531
12323
 
12532
- _save31 = self.pos
12324
+ _save29 = self.pos
12533
12325
  while true # choice
12534
12326
  _tmp = apply(:_Spacechar)
12535
12327
  break if _tmp
12536
- self.pos = _save31
12328
+ self.pos = _save29
12537
12329
 
12538
- _save32 = self.pos
12330
+ _save30 = self.pos
12539
12331
  while true # sequence
12540
12332
  _tmp = apply(:_Newline)
12541
12333
  unless _tmp
12542
- self.pos = _save32
12334
+ self.pos = _save30
12543
12335
  break
12544
12336
  end
12545
- _save33 = self.pos
12337
+ _save31 = self.pos
12546
12338
  _tmp = apply(:_BlankLine)
12547
12339
  _tmp = _tmp ? nil : true
12548
- self.pos = _save33
12340
+ self.pos = _save31
12549
12341
  unless _tmp
12550
- self.pos = _save32
12342
+ self.pos = _save30
12551
12343
  end
12552
12344
  break
12553
12345
  end # end sequence
12554
12346
 
12555
12347
  break if _tmp
12556
- self.pos = _save31
12348
+ self.pos = _save29
12557
12349
  break
12558
12350
  end # end choice
12559
12351
 
12560
12352
  unless _tmp
12561
- self.pos = _save28
12353
+ self.pos = _save26
12562
12354
  end
12563
12355
  break
12564
12356
  end # end sequence
12565
12357
 
12566
12358
  break if _tmp
12567
- self.pos = _save19
12359
+ self.pos = _save18
12568
12360
  break
12569
12361
  end # end choice
12570
12362
 
@@ -12596,38 +12388,38 @@ class RDoc::Markdown
12596
12388
  break if _tmp
12597
12389
  self.pos = _save1
12598
12390
 
12599
- _save34 = self.pos
12391
+ _save32 = self.pos
12600
12392
  while true # sequence
12601
12393
  _tmp = apply(:_Ticks2)
12602
12394
  unless _tmp
12603
- self.pos = _save34
12395
+ self.pos = _save32
12604
12396
  break
12605
12397
  end
12606
12398
  _tmp = apply(:_Sp)
12607
12399
  unless _tmp
12608
- self.pos = _save34
12400
+ self.pos = _save32
12609
12401
  break
12610
12402
  end
12611
12403
  _text_start = self.pos
12612
- _save35 = self.pos
12404
+ _save33 = self.pos
12613
12405
 
12614
- _save36 = self.pos
12406
+ _save34 = self.pos
12615
12407
  while true # choice
12616
- _save37 = self.pos
12408
+ _save35 = self.pos
12617
12409
 
12618
- _save38 = self.pos
12410
+ _save36 = self.pos
12619
12411
  while true # sequence
12620
- _save39 = self.pos
12412
+ _save37 = self.pos
12621
12413
  _tmp = match_string("`")
12622
12414
  _tmp = _tmp ? nil : true
12623
- self.pos = _save39
12415
+ self.pos = _save37
12624
12416
  unless _tmp
12625
- self.pos = _save38
12417
+ self.pos = _save36
12626
12418
  break
12627
12419
  end
12628
12420
  _tmp = apply(:_Nonspacechar)
12629
12421
  unless _tmp
12630
- self.pos = _save38
12422
+ self.pos = _save36
12631
12423
  end
12632
12424
  break
12633
12425
  end # end sequence
@@ -12635,19 +12427,19 @@ class RDoc::Markdown
12635
12427
  if _tmp
12636
12428
  while true
12637
12429
 
12638
- _save40 = self.pos
12430
+ _save38 = self.pos
12639
12431
  while true # sequence
12640
- _save41 = self.pos
12432
+ _save39 = self.pos
12641
12433
  _tmp = match_string("`")
12642
12434
  _tmp = _tmp ? nil : true
12643
- self.pos = _save41
12435
+ self.pos = _save39
12644
12436
  unless _tmp
12645
- self.pos = _save40
12437
+ self.pos = _save38
12646
12438
  break
12647
12439
  end
12648
12440
  _tmp = apply(:_Nonspacechar)
12649
12441
  unless _tmp
12650
- self.pos = _save40
12442
+ self.pos = _save38
12651
12443
  end
12652
12444
  break
12653
12445
  end # end sequence
@@ -12656,125 +12448,115 @@ class RDoc::Markdown
12656
12448
  end
12657
12449
  _tmp = true
12658
12450
  else
12659
- self.pos = _save37
12451
+ self.pos = _save35
12660
12452
  end
12661
12453
  break if _tmp
12662
- self.pos = _save36
12454
+ self.pos = _save34
12663
12455
 
12664
- _save42 = self.pos
12456
+ _save40 = self.pos
12665
12457
  while true # sequence
12666
- _save43 = self.pos
12458
+ _save41 = self.pos
12667
12459
  _tmp = apply(:_Ticks2)
12668
12460
  _tmp = _tmp ? nil : true
12669
- self.pos = _save43
12461
+ self.pos = _save41
12670
12462
  unless _tmp
12671
- self.pos = _save42
12463
+ self.pos = _save40
12672
12464
  break
12673
12465
  end
12674
- _save44 = self.pos
12675
- _tmp = match_string("`")
12676
- if _tmp
12677
- while true
12678
- _tmp = match_string("`")
12679
- break unless _tmp
12680
- end
12681
- _tmp = true
12682
- else
12683
- self.pos = _save44
12684
- end
12466
+ _tmp = scan(/\A(?-mix:`+)/)
12685
12467
  unless _tmp
12686
- self.pos = _save42
12468
+ self.pos = _save40
12687
12469
  end
12688
12470
  break
12689
12471
  end # end sequence
12690
12472
 
12691
12473
  break if _tmp
12692
- self.pos = _save36
12474
+ self.pos = _save34
12693
12475
 
12694
- _save45 = self.pos
12476
+ _save42 = self.pos
12695
12477
  while true # sequence
12696
- _save46 = self.pos
12478
+ _save43 = self.pos
12697
12479
 
12698
- _save47 = self.pos
12480
+ _save44 = self.pos
12699
12481
  while true # sequence
12700
12482
  _tmp = apply(:_Sp)
12701
12483
  unless _tmp
12702
- self.pos = _save47
12484
+ self.pos = _save44
12703
12485
  break
12704
12486
  end
12705
12487
  _tmp = apply(:_Ticks2)
12706
12488
  unless _tmp
12707
- self.pos = _save47
12489
+ self.pos = _save44
12708
12490
  end
12709
12491
  break
12710
12492
  end # end sequence
12711
12493
 
12712
12494
  _tmp = _tmp ? nil : true
12713
- self.pos = _save46
12495
+ self.pos = _save43
12714
12496
  unless _tmp
12715
- self.pos = _save45
12497
+ self.pos = _save42
12716
12498
  break
12717
12499
  end
12718
12500
 
12719
- _save48 = self.pos
12501
+ _save45 = self.pos
12720
12502
  while true # choice
12721
12503
  _tmp = apply(:_Spacechar)
12722
12504
  break if _tmp
12723
- self.pos = _save48
12505
+ self.pos = _save45
12724
12506
 
12725
- _save49 = self.pos
12507
+ _save46 = self.pos
12726
12508
  while true # sequence
12727
12509
  _tmp = apply(:_Newline)
12728
12510
  unless _tmp
12729
- self.pos = _save49
12511
+ self.pos = _save46
12730
12512
  break
12731
12513
  end
12732
- _save50 = self.pos
12514
+ _save47 = self.pos
12733
12515
  _tmp = apply(:_BlankLine)
12734
12516
  _tmp = _tmp ? nil : true
12735
- self.pos = _save50
12517
+ self.pos = _save47
12736
12518
  unless _tmp
12737
- self.pos = _save49
12519
+ self.pos = _save46
12738
12520
  end
12739
12521
  break
12740
12522
  end # end sequence
12741
12523
 
12742
12524
  break if _tmp
12743
- self.pos = _save48
12525
+ self.pos = _save45
12744
12526
  break
12745
12527
  end # end choice
12746
12528
 
12747
12529
  unless _tmp
12748
- self.pos = _save45
12530
+ self.pos = _save42
12749
12531
  end
12750
12532
  break
12751
12533
  end # end sequence
12752
12534
 
12753
12535
  break if _tmp
12754
- self.pos = _save36
12536
+ self.pos = _save34
12755
12537
  break
12756
12538
  end # end choice
12757
12539
 
12758
12540
  if _tmp
12759
12541
  while true
12760
12542
 
12761
- _save51 = self.pos
12543
+ _save48 = self.pos
12762
12544
  while true # choice
12763
- _save52 = self.pos
12545
+ _save49 = self.pos
12764
12546
 
12765
- _save53 = self.pos
12547
+ _save50 = self.pos
12766
12548
  while true # sequence
12767
- _save54 = self.pos
12549
+ _save51 = self.pos
12768
12550
  _tmp = match_string("`")
12769
12551
  _tmp = _tmp ? nil : true
12770
- self.pos = _save54
12552
+ self.pos = _save51
12771
12553
  unless _tmp
12772
- self.pos = _save53
12554
+ self.pos = _save50
12773
12555
  break
12774
12556
  end
12775
12557
  _tmp = apply(:_Nonspacechar)
12776
12558
  unless _tmp
12777
- self.pos = _save53
12559
+ self.pos = _save50
12778
12560
  end
12779
12561
  break
12780
12562
  end # end sequence
@@ -12782,19 +12564,19 @@ class RDoc::Markdown
12782
12564
  if _tmp
12783
12565
  while true
12784
12566
 
12785
- _save55 = self.pos
12567
+ _save52 = self.pos
12786
12568
  while true # sequence
12787
- _save56 = self.pos
12569
+ _save53 = self.pos
12788
12570
  _tmp = match_string("`")
12789
12571
  _tmp = _tmp ? nil : true
12790
- self.pos = _save56
12572
+ self.pos = _save53
12791
12573
  unless _tmp
12792
- self.pos = _save55
12574
+ self.pos = _save52
12793
12575
  break
12794
12576
  end
12795
12577
  _tmp = apply(:_Nonspacechar)
12796
12578
  unless _tmp
12797
- self.pos = _save55
12579
+ self.pos = _save52
12798
12580
  end
12799
12581
  break
12800
12582
  end # end sequence
@@ -12803,102 +12585,92 @@ class RDoc::Markdown
12803
12585
  end
12804
12586
  _tmp = true
12805
12587
  else
12806
- self.pos = _save52
12588
+ self.pos = _save49
12807
12589
  end
12808
12590
  break if _tmp
12809
- self.pos = _save51
12591
+ self.pos = _save48
12810
12592
 
12811
- _save57 = self.pos
12593
+ _save54 = self.pos
12812
12594
  while true # sequence
12813
- _save58 = self.pos
12595
+ _save55 = self.pos
12814
12596
  _tmp = apply(:_Ticks2)
12815
12597
  _tmp = _tmp ? nil : true
12816
- self.pos = _save58
12598
+ self.pos = _save55
12817
12599
  unless _tmp
12818
- self.pos = _save57
12600
+ self.pos = _save54
12819
12601
  break
12820
12602
  end
12821
- _save59 = self.pos
12822
- _tmp = match_string("`")
12823
- if _tmp
12824
- while true
12825
- _tmp = match_string("`")
12826
- break unless _tmp
12827
- end
12828
- _tmp = true
12829
- else
12830
- self.pos = _save59
12831
- end
12603
+ _tmp = scan(/\A(?-mix:`+)/)
12832
12604
  unless _tmp
12833
- self.pos = _save57
12605
+ self.pos = _save54
12834
12606
  end
12835
12607
  break
12836
12608
  end # end sequence
12837
12609
 
12838
12610
  break if _tmp
12839
- self.pos = _save51
12611
+ self.pos = _save48
12840
12612
 
12841
- _save60 = self.pos
12613
+ _save56 = self.pos
12842
12614
  while true # sequence
12843
- _save61 = self.pos
12615
+ _save57 = self.pos
12844
12616
 
12845
- _save62 = self.pos
12617
+ _save58 = self.pos
12846
12618
  while true # sequence
12847
12619
  _tmp = apply(:_Sp)
12848
12620
  unless _tmp
12849
- self.pos = _save62
12621
+ self.pos = _save58
12850
12622
  break
12851
12623
  end
12852
12624
  _tmp = apply(:_Ticks2)
12853
12625
  unless _tmp
12854
- self.pos = _save62
12626
+ self.pos = _save58
12855
12627
  end
12856
12628
  break
12857
12629
  end # end sequence
12858
12630
 
12859
12631
  _tmp = _tmp ? nil : true
12860
- self.pos = _save61
12632
+ self.pos = _save57
12861
12633
  unless _tmp
12862
- self.pos = _save60
12634
+ self.pos = _save56
12863
12635
  break
12864
12636
  end
12865
12637
 
12866
- _save63 = self.pos
12638
+ _save59 = self.pos
12867
12639
  while true # choice
12868
12640
  _tmp = apply(:_Spacechar)
12869
12641
  break if _tmp
12870
- self.pos = _save63
12642
+ self.pos = _save59
12871
12643
 
12872
- _save64 = self.pos
12644
+ _save60 = self.pos
12873
12645
  while true # sequence
12874
12646
  _tmp = apply(:_Newline)
12875
12647
  unless _tmp
12876
- self.pos = _save64
12648
+ self.pos = _save60
12877
12649
  break
12878
12650
  end
12879
- _save65 = self.pos
12651
+ _save61 = self.pos
12880
12652
  _tmp = apply(:_BlankLine)
12881
12653
  _tmp = _tmp ? nil : true
12882
- self.pos = _save65
12654
+ self.pos = _save61
12883
12655
  unless _tmp
12884
- self.pos = _save64
12656
+ self.pos = _save60
12885
12657
  end
12886
12658
  break
12887
12659
  end # end sequence
12888
12660
 
12889
12661
  break if _tmp
12890
- self.pos = _save63
12662
+ self.pos = _save59
12891
12663
  break
12892
12664
  end # end choice
12893
12665
 
12894
12666
  unless _tmp
12895
- self.pos = _save60
12667
+ self.pos = _save56
12896
12668
  end
12897
12669
  break
12898
12670
  end # end sequence
12899
12671
 
12900
12672
  break if _tmp
12901
- self.pos = _save51
12673
+ self.pos = _save48
12902
12674
  break
12903
12675
  end # end choice
12904
12676
 
@@ -12906,23 +12678,23 @@ class RDoc::Markdown
12906
12678
  end
12907
12679
  _tmp = true
12908
12680
  else
12909
- self.pos = _save35
12681
+ self.pos = _save33
12910
12682
  end
12911
12683
  if _tmp
12912
12684
  text = get_text(_text_start)
12913
12685
  end
12914
12686
  unless _tmp
12915
- self.pos = _save34
12687
+ self.pos = _save32
12916
12688
  break
12917
12689
  end
12918
12690
  _tmp = apply(:_Sp)
12919
12691
  unless _tmp
12920
- self.pos = _save34
12692
+ self.pos = _save32
12921
12693
  break
12922
12694
  end
12923
12695
  _tmp = apply(:_Ticks2)
12924
12696
  unless _tmp
12925
- self.pos = _save34
12697
+ self.pos = _save32
12926
12698
  end
12927
12699
  break
12928
12700
  end # end sequence
@@ -12930,38 +12702,38 @@ class RDoc::Markdown
12930
12702
  break if _tmp
12931
12703
  self.pos = _save1
12932
12704
 
12933
- _save66 = self.pos
12705
+ _save62 = self.pos
12934
12706
  while true # sequence
12935
12707
  _tmp = apply(:_Ticks3)
12936
12708
  unless _tmp
12937
- self.pos = _save66
12709
+ self.pos = _save62
12938
12710
  break
12939
12711
  end
12940
12712
  _tmp = apply(:_Sp)
12941
12713
  unless _tmp
12942
- self.pos = _save66
12714
+ self.pos = _save62
12943
12715
  break
12944
12716
  end
12945
12717
  _text_start = self.pos
12946
- _save67 = self.pos
12718
+ _save63 = self.pos
12947
12719
 
12948
- _save68 = self.pos
12720
+ _save64 = self.pos
12949
12721
  while true # choice
12950
- _save69 = self.pos
12722
+ _save65 = self.pos
12951
12723
 
12952
- _save70 = self.pos
12724
+ _save66 = self.pos
12953
12725
  while true # sequence
12954
- _save71 = self.pos
12726
+ _save67 = self.pos
12955
12727
  _tmp = match_string("`")
12956
12728
  _tmp = _tmp ? nil : true
12957
- self.pos = _save71
12729
+ self.pos = _save67
12958
12730
  unless _tmp
12959
- self.pos = _save70
12731
+ self.pos = _save66
12960
12732
  break
12961
12733
  end
12962
12734
  _tmp = apply(:_Nonspacechar)
12963
12735
  unless _tmp
12964
- self.pos = _save70
12736
+ self.pos = _save66
12965
12737
  end
12966
12738
  break
12967
12739
  end # end sequence
@@ -12969,19 +12741,19 @@ class RDoc::Markdown
12969
12741
  if _tmp
12970
12742
  while true
12971
12743
 
12972
- _save72 = self.pos
12744
+ _save68 = self.pos
12973
12745
  while true # sequence
12974
- _save73 = self.pos
12746
+ _save69 = self.pos
12975
12747
  _tmp = match_string("`")
12976
12748
  _tmp = _tmp ? nil : true
12977
- self.pos = _save73
12749
+ self.pos = _save69
12978
12750
  unless _tmp
12979
- self.pos = _save72
12751
+ self.pos = _save68
12980
12752
  break
12981
12753
  end
12982
12754
  _tmp = apply(:_Nonspacechar)
12983
12755
  unless _tmp
12984
- self.pos = _save72
12756
+ self.pos = _save68
12985
12757
  end
12986
12758
  break
12987
12759
  end # end sequence
@@ -12990,125 +12762,115 @@ class RDoc::Markdown
12990
12762
  end
12991
12763
  _tmp = true
12992
12764
  else
12993
- self.pos = _save69
12765
+ self.pos = _save65
12994
12766
  end
12995
12767
  break if _tmp
12996
- self.pos = _save68
12768
+ self.pos = _save64
12997
12769
 
12998
- _save74 = self.pos
12770
+ _save70 = self.pos
12999
12771
  while true # sequence
13000
- _save75 = self.pos
12772
+ _save71 = self.pos
13001
12773
  _tmp = apply(:_Ticks3)
13002
12774
  _tmp = _tmp ? nil : true
13003
- self.pos = _save75
12775
+ self.pos = _save71
13004
12776
  unless _tmp
13005
- self.pos = _save74
12777
+ self.pos = _save70
13006
12778
  break
13007
12779
  end
13008
- _save76 = self.pos
13009
- _tmp = match_string("`")
13010
- if _tmp
13011
- while true
13012
- _tmp = match_string("`")
13013
- break unless _tmp
13014
- end
13015
- _tmp = true
13016
- else
13017
- self.pos = _save76
13018
- end
12780
+ _tmp = scan(/\A(?-mix:`+)/)
13019
12781
  unless _tmp
13020
- self.pos = _save74
12782
+ self.pos = _save70
13021
12783
  end
13022
12784
  break
13023
12785
  end # end sequence
13024
12786
 
13025
12787
  break if _tmp
13026
- self.pos = _save68
12788
+ self.pos = _save64
13027
12789
 
13028
- _save77 = self.pos
12790
+ _save72 = self.pos
13029
12791
  while true # sequence
13030
- _save78 = self.pos
12792
+ _save73 = self.pos
13031
12793
 
13032
- _save79 = self.pos
12794
+ _save74 = self.pos
13033
12795
  while true # sequence
13034
12796
  _tmp = apply(:_Sp)
13035
12797
  unless _tmp
13036
- self.pos = _save79
12798
+ self.pos = _save74
13037
12799
  break
13038
12800
  end
13039
12801
  _tmp = apply(:_Ticks3)
13040
12802
  unless _tmp
13041
- self.pos = _save79
12803
+ self.pos = _save74
13042
12804
  end
13043
12805
  break
13044
12806
  end # end sequence
13045
12807
 
13046
12808
  _tmp = _tmp ? nil : true
13047
- self.pos = _save78
12809
+ self.pos = _save73
13048
12810
  unless _tmp
13049
- self.pos = _save77
12811
+ self.pos = _save72
13050
12812
  break
13051
12813
  end
13052
12814
 
13053
- _save80 = self.pos
12815
+ _save75 = self.pos
13054
12816
  while true # choice
13055
12817
  _tmp = apply(:_Spacechar)
13056
12818
  break if _tmp
13057
- self.pos = _save80
12819
+ self.pos = _save75
13058
12820
 
13059
- _save81 = self.pos
12821
+ _save76 = self.pos
13060
12822
  while true # sequence
13061
12823
  _tmp = apply(:_Newline)
13062
12824
  unless _tmp
13063
- self.pos = _save81
12825
+ self.pos = _save76
13064
12826
  break
13065
12827
  end
13066
- _save82 = self.pos
12828
+ _save77 = self.pos
13067
12829
  _tmp = apply(:_BlankLine)
13068
12830
  _tmp = _tmp ? nil : true
13069
- self.pos = _save82
12831
+ self.pos = _save77
13070
12832
  unless _tmp
13071
- self.pos = _save81
12833
+ self.pos = _save76
13072
12834
  end
13073
12835
  break
13074
12836
  end # end sequence
13075
12837
 
13076
12838
  break if _tmp
13077
- self.pos = _save80
12839
+ self.pos = _save75
13078
12840
  break
13079
12841
  end # end choice
13080
12842
 
13081
12843
  unless _tmp
13082
- self.pos = _save77
12844
+ self.pos = _save72
13083
12845
  end
13084
12846
  break
13085
12847
  end # end sequence
13086
12848
 
13087
12849
  break if _tmp
13088
- self.pos = _save68
12850
+ self.pos = _save64
13089
12851
  break
13090
12852
  end # end choice
13091
12853
 
13092
12854
  if _tmp
13093
12855
  while true
13094
12856
 
13095
- _save83 = self.pos
12857
+ _save78 = self.pos
13096
12858
  while true # choice
13097
- _save84 = self.pos
12859
+ _save79 = self.pos
13098
12860
 
13099
- _save85 = self.pos
12861
+ _save80 = self.pos
13100
12862
  while true # sequence
13101
- _save86 = self.pos
12863
+ _save81 = self.pos
13102
12864
  _tmp = match_string("`")
13103
12865
  _tmp = _tmp ? nil : true
13104
- self.pos = _save86
12866
+ self.pos = _save81
13105
12867
  unless _tmp
13106
- self.pos = _save85
12868
+ self.pos = _save80
13107
12869
  break
13108
12870
  end
13109
12871
  _tmp = apply(:_Nonspacechar)
13110
12872
  unless _tmp
13111
- self.pos = _save85
12873
+ self.pos = _save80
13112
12874
  end
13113
12875
  break
13114
12876
  end # end sequence
@@ -13116,19 +12878,19 @@ class RDoc::Markdown
13116
12878
  if _tmp
13117
12879
  while true
13118
12880
 
13119
- _save87 = self.pos
12881
+ _save82 = self.pos
13120
12882
  while true # sequence
13121
- _save88 = self.pos
12883
+ _save83 = self.pos
13122
12884
  _tmp = match_string("`")
13123
12885
  _tmp = _tmp ? nil : true
13124
- self.pos = _save88
12886
+ self.pos = _save83
13125
12887
  unless _tmp
13126
- self.pos = _save87
12888
+ self.pos = _save82
13127
12889
  break
13128
12890
  end
13129
12891
  _tmp = apply(:_Nonspacechar)
13130
12892
  unless _tmp
13131
- self.pos = _save87
12893
+ self.pos = _save82
13132
12894
  end
13133
12895
  break
13134
12896
  end # end sequence
@@ -13137,102 +12899,92 @@ class RDoc::Markdown
13137
12899
  end
13138
12900
  _tmp = true
13139
12901
  else
13140
- self.pos = _save84
12902
+ self.pos = _save79
13141
12903
  end
13142
12904
  break if _tmp
13143
- self.pos = _save83
12905
+ self.pos = _save78
13144
12906
 
13145
- _save89 = self.pos
12907
+ _save84 = self.pos
13146
12908
  while true # sequence
13147
- _save90 = self.pos
12909
+ _save85 = self.pos
13148
12910
  _tmp = apply(:_Ticks3)
13149
12911
  _tmp = _tmp ? nil : true
13150
- self.pos = _save90
12912
+ self.pos = _save85
13151
12913
  unless _tmp
13152
- self.pos = _save89
12914
+ self.pos = _save84
13153
12915
  break
13154
12916
  end
13155
- _save91 = self.pos
13156
- _tmp = match_string("`")
13157
- if _tmp
13158
- while true
13159
- _tmp = match_string("`")
13160
- break unless _tmp
13161
- end
13162
- _tmp = true
13163
- else
13164
- self.pos = _save91
13165
- end
12917
+ _tmp = scan(/\A(?-mix:`+)/)
13166
12918
  unless _tmp
13167
- self.pos = _save89
12919
+ self.pos = _save84
13168
12920
  end
13169
12921
  break
13170
12922
  end # end sequence
13171
12923
 
13172
12924
  break if _tmp
13173
- self.pos = _save83
12925
+ self.pos = _save78
13174
12926
 
13175
- _save92 = self.pos
12927
+ _save86 = self.pos
13176
12928
  while true # sequence
13177
- _save93 = self.pos
12929
+ _save87 = self.pos
13178
12930
 
13179
- _save94 = self.pos
12931
+ _save88 = self.pos
13180
12932
  while true # sequence
13181
12933
  _tmp = apply(:_Sp)
13182
12934
  unless _tmp
13183
- self.pos = _save94
12935
+ self.pos = _save88
13184
12936
  break
13185
12937
  end
13186
12938
  _tmp = apply(:_Ticks3)
13187
12939
  unless _tmp
13188
- self.pos = _save94
12940
+ self.pos = _save88
13189
12941
  end
13190
12942
  break
13191
12943
  end # end sequence
13192
12944
 
13193
12945
  _tmp = _tmp ? nil : true
13194
- self.pos = _save93
12946
+ self.pos = _save87
13195
12947
  unless _tmp
13196
- self.pos = _save92
12948
+ self.pos = _save86
13197
12949
  break
13198
12950
  end
13199
12951
 
13200
- _save95 = self.pos
12952
+ _save89 = self.pos
13201
12953
  while true # choice
13202
12954
  _tmp = apply(:_Spacechar)
13203
12955
  break if _tmp
13204
- self.pos = _save95
12956
+ self.pos = _save89
13205
12957
 
13206
- _save96 = self.pos
12958
+ _save90 = self.pos
13207
12959
  while true # sequence
13208
12960
  _tmp = apply(:_Newline)
13209
12961
  unless _tmp
13210
- self.pos = _save96
12962
+ self.pos = _save90
13211
12963
  break
13212
12964
  end
13213
- _save97 = self.pos
12965
+ _save91 = self.pos
13214
12966
  _tmp = apply(:_BlankLine)
13215
12967
  _tmp = _tmp ? nil : true
13216
- self.pos = _save97
12968
+ self.pos = _save91
13217
12969
  unless _tmp
13218
- self.pos = _save96
12970
+ self.pos = _save90
13219
12971
  end
13220
12972
  break
13221
12973
  end # end sequence
13222
12974
 
13223
12975
  break if _tmp
13224
- self.pos = _save95
12976
+ self.pos = _save89
13225
12977
  break
13226
12978
  end # end choice
13227
12979
 
13228
12980
  unless _tmp
13229
- self.pos = _save92
12981
+ self.pos = _save86
13230
12982
  end
13231
12983
  break
13232
12984
  end # end sequence
13233
12985
 
13234
12986
  break if _tmp
13235
- self.pos = _save83
12987
+ self.pos = _save78
13236
12988
  break
13237
12989
  end # end choice
13238
12990
 
@@ -13240,23 +12992,23 @@ class RDoc::Markdown
13240
12992
  end
13241
12993
  _tmp = true
13242
12994
  else
13243
- self.pos = _save67
12995
+ self.pos = _save63
13244
12996
  end
13245
12997
  if _tmp
13246
12998
  text = get_text(_text_start)
13247
12999
  end
13248
13000
  unless _tmp
13249
- self.pos = _save66
13001
+ self.pos = _save62
13250
13002
  break
13251
13003
  end
13252
13004
  _tmp = apply(:_Sp)
13253
13005
  unless _tmp
13254
- self.pos = _save66
13006
+ self.pos = _save62
13255
13007
  break
13256
13008
  end
13257
13009
  _tmp = apply(:_Ticks3)
13258
13010
  unless _tmp
13259
- self.pos = _save66
13011
+ self.pos = _save62
13260
13012
  end
13261
13013
  break
13262
13014
  end # end sequence
@@ -13264,38 +13016,38 @@ class RDoc::Markdown
13264
13016
  break if _tmp
13265
13017
  self.pos = _save1
13266
13018
 
13267
- _save98 = self.pos
13019
+ _save92 = self.pos
13268
13020
  while true # sequence
13269
13021
  _tmp = apply(:_Ticks4)
13270
13022
  unless _tmp
13271
- self.pos = _save98
13023
+ self.pos = _save92
13272
13024
  break
13273
13025
  end
13274
13026
  _tmp = apply(:_Sp)
13275
13027
  unless _tmp
13276
- self.pos = _save98
13028
+ self.pos = _save92
13277
13029
  break
13278
13030
  end
13279
13031
  _text_start = self.pos
13280
- _save99 = self.pos
13032
+ _save93 = self.pos
13281
13033
 
13282
- _save100 = self.pos
13034
+ _save94 = self.pos
13283
13035
  while true # choice
13284
- _save101 = self.pos
13036
+ _save95 = self.pos
13285
13037
 
13286
- _save102 = self.pos
13038
+ _save96 = self.pos
13287
13039
  while true # sequence
13288
- _save103 = self.pos
13040
+ _save97 = self.pos
13289
13041
  _tmp = match_string("`")
13290
13042
  _tmp = _tmp ? nil : true
13291
- self.pos = _save103
13043
+ self.pos = _save97
13292
13044
  unless _tmp
13293
- self.pos = _save102
13045
+ self.pos = _save96
13294
13046
  break
13295
13047
  end
13296
13048
  _tmp = apply(:_Nonspacechar)
13297
13049
  unless _tmp
13298
- self.pos = _save102
13050
+ self.pos = _save96
13299
13051
  end
13300
13052
  break
13301
13053
  end # end sequence
@@ -13303,19 +13055,19 @@ class RDoc::Markdown
13303
13055
  if _tmp
13304
13056
  while true
13305
13057
 
13306
- _save104 = self.pos
13058
+ _save98 = self.pos
13307
13059
  while true # sequence
13308
- _save105 = self.pos
13060
+ _save99 = self.pos
13309
13061
  _tmp = match_string("`")
13310
13062
  _tmp = _tmp ? nil : true
13311
- self.pos = _save105
13063
+ self.pos = _save99
13312
13064
  unless _tmp
13313
- self.pos = _save104
13065
+ self.pos = _save98
13314
13066
  break
13315
13067
  end
13316
13068
  _tmp = apply(:_Nonspacechar)
13317
13069
  unless _tmp
13318
- self.pos = _save104
13070
+ self.pos = _save98
13319
13071
  end
13320
13072
  break
13321
13073
  end # end sequence
@@ -13324,125 +13076,115 @@ class RDoc::Markdown
13324
13076
  end
13325
13077
  _tmp = true
13326
13078
  else
13327
- self.pos = _save101
13079
+ self.pos = _save95
13328
13080
  end
13329
13081
  break if _tmp
13330
- self.pos = _save100
13082
+ self.pos = _save94
13331
13083
 
13332
- _save106 = self.pos
13084
+ _save100 = self.pos
13333
13085
  while true # sequence
13334
- _save107 = self.pos
13086
+ _save101 = self.pos
13335
13087
  _tmp = apply(:_Ticks4)
13336
13088
  _tmp = _tmp ? nil : true
13337
- self.pos = _save107
13089
+ self.pos = _save101
13338
13090
  unless _tmp
13339
- self.pos = _save106
13091
+ self.pos = _save100
13340
13092
  break
13341
13093
  end
13342
- _save108 = self.pos
13343
- _tmp = match_string("`")
13344
- if _tmp
13345
- while true
13346
- _tmp = match_string("`")
13347
- break unless _tmp
13348
- end
13349
- _tmp = true
13350
- else
13351
- self.pos = _save108
13352
- end
13094
+ _tmp = scan(/\A(?-mix:`+)/)
13353
13095
  unless _tmp
13354
- self.pos = _save106
13096
+ self.pos = _save100
13355
13097
  end
13356
13098
  break
13357
13099
  end # end sequence
13358
13100
 
13359
13101
  break if _tmp
13360
- self.pos = _save100
13102
+ self.pos = _save94
13361
13103
 
13362
- _save109 = self.pos
13104
+ _save102 = self.pos
13363
13105
  while true # sequence
13364
- _save110 = self.pos
13106
+ _save103 = self.pos
13365
13107
 
13366
- _save111 = self.pos
13108
+ _save104 = self.pos
13367
13109
  while true # sequence
13368
13110
  _tmp = apply(:_Sp)
13369
13111
  unless _tmp
13370
- self.pos = _save111
13112
+ self.pos = _save104
13371
13113
  break
13372
13114
  end
13373
13115
  _tmp = apply(:_Ticks4)
13374
13116
  unless _tmp
13375
- self.pos = _save111
13117
+ self.pos = _save104
13376
13118
  end
13377
13119
  break
13378
13120
  end # end sequence
13379
13121
 
13380
13122
  _tmp = _tmp ? nil : true
13381
- self.pos = _save110
13123
+ self.pos = _save103
13382
13124
  unless _tmp
13383
- self.pos = _save109
13125
+ self.pos = _save102
13384
13126
  break
13385
13127
  end
13386
13128
 
13387
- _save112 = self.pos
13129
+ _save105 = self.pos
13388
13130
  while true # choice
13389
13131
  _tmp = apply(:_Spacechar)
13390
13132
  break if _tmp
13391
- self.pos = _save112
13133
+ self.pos = _save105
13392
13134
 
13393
- _save113 = self.pos
13135
+ _save106 = self.pos
13394
13136
  while true # sequence
13395
13137
  _tmp = apply(:_Newline)
13396
13138
  unless _tmp
13397
- self.pos = _save113
13139
+ self.pos = _save106
13398
13140
  break
13399
13141
  end
13400
- _save114 = self.pos
13142
+ _save107 = self.pos
13401
13143
  _tmp = apply(:_BlankLine)
13402
13144
  _tmp = _tmp ? nil : true
13403
- self.pos = _save114
13145
+ self.pos = _save107
13404
13146
  unless _tmp
13405
- self.pos = _save113
13147
+ self.pos = _save106
13406
13148
  end
13407
13149
  break
13408
13150
  end # end sequence
13409
13151
 
13410
13152
  break if _tmp
13411
- self.pos = _save112
13153
+ self.pos = _save105
13412
13154
  break
13413
13155
  end # end choice
13414
13156
 
13415
13157
  unless _tmp
13416
- self.pos = _save109
13158
+ self.pos = _save102
13417
13159
  end
13418
13160
  break
13419
13161
  end # end sequence
13420
13162
 
13421
13163
  break if _tmp
13422
- self.pos = _save100
13164
+ self.pos = _save94
13423
13165
  break
13424
13166
  end # end choice
13425
13167
 
13426
13168
  if _tmp
13427
13169
  while true
13428
13170
 
13429
- _save115 = self.pos
13171
+ _save108 = self.pos
13430
13172
  while true # choice
13431
- _save116 = self.pos
13173
+ _save109 = self.pos
13432
13174
 
13433
- _save117 = self.pos
13175
+ _save110 = self.pos
13434
13176
  while true # sequence
13435
- _save118 = self.pos
13177
+ _save111 = self.pos
13436
13178
  _tmp = match_string("`")
13437
13179
  _tmp = _tmp ? nil : true
13438
- self.pos = _save118
13180
+ self.pos = _save111
13439
13181
  unless _tmp
13440
- self.pos = _save117
13182
+ self.pos = _save110
13441
13183
  break
13442
13184
  end
13443
13185
  _tmp = apply(:_Nonspacechar)
13444
13186
  unless _tmp
13445
- self.pos = _save117
13187
+ self.pos = _save110
13446
13188
  end
13447
13189
  break
13448
13190
  end # end sequence
@@ -13450,19 +13192,19 @@ class RDoc::Markdown
13450
13192
  if _tmp
13451
13193
  while true
13452
13194
 
13453
- _save119 = self.pos
13195
+ _save112 = self.pos
13454
13196
  while true # sequence
13455
- _save120 = self.pos
13197
+ _save113 = self.pos
13456
13198
  _tmp = match_string("`")
13457
13199
  _tmp = _tmp ? nil : true
13458
- self.pos = _save120
13200
+ self.pos = _save113
13459
13201
  unless _tmp
13460
- self.pos = _save119
13202
+ self.pos = _save112
13461
13203
  break
13462
13204
  end
13463
13205
  _tmp = apply(:_Nonspacechar)
13464
13206
  unless _tmp
13465
- self.pos = _save119
13207
+ self.pos = _save112
13466
13208
  end
13467
13209
  break
13468
13210
  end # end sequence
@@ -13471,102 +13213,92 @@ class RDoc::Markdown
13471
13213
  end
13472
13214
  _tmp = true
13473
13215
  else
13474
- self.pos = _save116
13216
+ self.pos = _save109
13475
13217
  end
13476
13218
  break if _tmp
13477
- self.pos = _save115
13219
+ self.pos = _save108
13478
13220
 
13479
- _save121 = self.pos
13221
+ _save114 = self.pos
13480
13222
  while true # sequence
13481
- _save122 = self.pos
13223
+ _save115 = self.pos
13482
13224
  _tmp = apply(:_Ticks4)
13483
13225
  _tmp = _tmp ? nil : true
13484
- self.pos = _save122
13226
+ self.pos = _save115
13485
13227
  unless _tmp
13486
-