Class: RDoc::Markdown

Inherits:
Object
  • Object
show all
Defined in:
lib/rdoc/markdown.rb

Overview

RDoc::Markdown as described by the [markdown syntax].

To choose Markdown as your only default format see RDoc::Options@Saved+Options for instructions on setting up a `.doc_options` file to store your project default.

## Usage

Here is a brief example of using this parse to read a markdown file by hand.

data = File.read("README.md")
formatter = RDoc::Markup::ToHtml.new(RDoc::Options.new, nil)
html = RDoc::Markdown.parse(data).accept(@formatter)

# do something with html

## Extensions

The following markdown extensions are supported by the parser, but not all are used in RDoc output by default.

### RDoc

The RDoc Markdown parser has the following built-in behaviors that cannot be disabled.

Underscores embedded in words are never interpreted as emphasis. (While the

markdown dingus][dingus

emphasizes in-word underscores, neither the

Markdown syntax nor MarkdownTest mention this behavior.)

For HTML output, RDoc always auto-links bare URLs.

### Break on Newline

The break_on_newline extension converts all newlines into hard line breaks as in [Github Flavored Markdown]. This extension is disabled by default.

### CSS

The #css extension enables CSS blocks to be included in the output, but they are not used for any built-in RDoc output format. This extension is disabled by default.

Example:

<style type="text/css">
h1 { font-size: 3em }
</style>

### Definition Lists

The definition_lists extension allows definition lists using the [PHP Markdown Extra syntax], but only one label and definition are supported at this time. This extension is enabled by default.

Example:

“` cat : A small furry mammal that seems to sleep a lot

ant : A little insect that is known to enjoy picnics

“`

Produces:

cat : A small furry mammal that seems to sleep a lot

ant : A little insect that is known to enjoy picnics

### Github

The #github extension enables a partial set of [Github Flavored Markdown] [GFM]. This extension is enabled by default.

Supported github extensions include:

#### Fenced code blocks

Use ` “` ` around a block of code instead of indenting it four spaces.

#### Syntax highlighting

Use ` “` ruby ` as the start of a code fence to add syntax highlighting. (Currently only `ruby` syntax is supported).

### HTML

Enables raw HTML to be included in the output. This extension is enabled by default.

Example:

<table>
...
</table>

### Notes

The #notes extension enables footnote support. This extension is enabled by default.

Example:

Here is some text[^1] including an inline footnote ^[for short footnotes]

...

[^1]: With the footnote text down at the bottom

Produces:

Here is some text including an inline footnote ^[for short footnotes]

[^1]: With the footnote text down at the bottom

## Limitations

  • Link titles are not used

  • Footnotes are collapsed into a single paragraph

## Author

This markdown parser is a port to kpeg from [peg-markdown] by John MacFarlane.

It is used under the MIT license:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The port to kpeg was performed by Eric Hodel and Evan Phoenix

[dingus]: daringfireball.net/projects/markdown/dingus [GFM]: github.github.com/github-flavored-markdown/ [pegmarkdown]: github.com/jgm/peg-markdown [PHPE]: michelf.com/projects/php-markdown/extra/#def-list [syntax]: daringfireball.net/projects/markdown/syntax – Last updated to jgm/peg-markdown commit 8f8fc22ef0

Defined Under Namespace

Classes: Literals, MemoEntry, ParseError, RuleInfo

Constant Summary collapse

EXTENSIONS =

Supported extensions

[]
DEFAULT_EXTENSIONS =

Extensions enabled by default

[
  :definition_lists,
  :github,
  :html,
  :notes,
]
Rules =
{}

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(extensions = DEFAULT_EXTENSIONS, debug = false) ⇒ Markdown

Creates a new markdown parser that enables the given extensions.



175
176
177
# File 'lib/rdoc/markdown.rb', line 175

def initialize(str, debug=false)
  setup_parser(str, debug)
end

Instance Attribute Details

#failed_ruleObject (readonly)

Returns the value of attribute failed_rule



321
322
323
# File 'lib/rdoc/markdown.rb', line 321

def failed_rule
  @failed_rule
end

#failing_rule_offsetObject (readonly)

Returns the value of attribute failing_rule_offset



194
195
196
# File 'lib/rdoc/markdown.rb', line 194

def failing_rule_offset
  @failing_rule_offset
end

#posObject

Returns the value of attribute pos



195
196
197
# File 'lib/rdoc/markdown.rb', line 195

def pos
  @pos
end

#resultObject

Returns the value of attribute result



195
196
197
# File 'lib/rdoc/markdown.rb', line 195

def result
  @result
end

#stringObject (readonly)

Returns the value of attribute string



193
194
195
# File 'lib/rdoc/markdown.rb', line 193

def string
  @string
end

Class Method Details

.extension(name) ⇒ Object

Creates extension methods for the `name` extension to enable and disable the extension and to query if they are active.



560
561
562
563
564
565
566
567
568
569
570
# File 'lib/rdoc/markdown.rb', line 560

def self.extension name
  EXTENSIONS << name

  define_method "#{name}?" do
    extension? name
  end

  define_method "#{name}=" do |enable|
    extension name, enable
  end
end

.parse(markdown) ⇒ Object

Parses the `markdown` document into an RDoc::Document using the default extensions.



608
609
610
611
612
# File 'lib/rdoc/markdown.rb', line 608

def self.parse markdown
  parser = new

  parser.parse markdown
end

.rule_info(name, rendered) ⇒ Object



519
520
521
# File 'lib/rdoc/markdown.rb', line 519

def self.rule_info(name, rendered)
  RuleInfo.new(name, rendered)
end

Instance Method Details

#_AlphanumericObject

Alphanumeric = %literals.Alphanumeric



14271
14272
14273
14274
14275
# File 'lib/rdoc/markdown.rb', line 14271

def _Alphanumeric
  _tmp = @_grammar_literals.external_invoke(self, :_Alphanumeric)
  set_failed_rule :_Alphanumeric unless _tmp
  return _tmp
end

#_AlphanumericAsciiObject

AlphanumericAscii = %literals.AlphanumericAscii



14278
14279
14280
14281
14282
# File 'lib/rdoc/markdown.rb', line 14278

def _AlphanumericAscii
  _tmp = @_grammar_literals.external_invoke(self, :_AlphanumericAscii)
  set_failed_rule :_AlphanumericAscii unless _tmp
  return _tmp
end

#_AtxHeadingObject

AtxHeading = AtxStart:s @Sp? AtxInline+:a (@Sp? /#*/ @Sp)? @Newline { RDoc::Markup::Heading.new(s, a.join) }



1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
# File 'lib/rdoc/markdown.rb', line 1105

def _AtxHeading

  _save = self.pos
  while true # sequence
    _tmp = apply(:_AtxStart)
    s = @result
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _tmp = _Sp()
    unless _tmp
      _tmp = true
      self.pos = _save1
    end
    unless _tmp
      self.pos = _save
      break
    end
    _save2 = self.pos
    _ary = []
    _tmp = apply(:_AtxInline)
    if _tmp
      _ary << @result
      while true
        _tmp = apply(:_AtxInline)
        _ary << @result if _tmp
        break unless _tmp
      end
      _tmp = true
      @result = _ary
    else
      self.pos = _save2
    end
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    _save3 = self.pos

    _save4 = self.pos
    while true # sequence
      _save5 = self.pos
      _tmp = _Sp()
      unless _tmp
        _tmp = true
        self.pos = _save5
      end
      unless _tmp
        self.pos = _save4
        break
      end
      _tmp = scan(/\A(?-mix:#*)/)
      unless _tmp
        self.pos = _save4
        break
      end
      _tmp = _Sp()
      unless _tmp
        self.pos = _save4
      end
      break
    end # end sequence

    unless _tmp
      _tmp = true
      self.pos = _save3
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Newline()
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  RDoc::Markup::Heading.new(s, a.join) ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_AtxHeading unless _tmp
  return _tmp
end

#_AtxInlineObject

AtxInline = !@Newline !(@Sp? /#*/ @Sp @Newline) Inline



1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
# File 'lib/rdoc/markdown.rb', line 1018

def _AtxInline

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = _Newline()
    _tmp = _tmp ? nil : true
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end
    _save2 = self.pos

    _save3 = self.pos
    while true # sequence
      _save4 = self.pos
      _tmp = _Sp()
      unless _tmp
        _tmp = true
        self.pos = _save4
      end
      unless _tmp
        self.pos = _save3
        break
      end
      _tmp = scan(/\A(?-mix:#*)/)
      unless _tmp
        self.pos = _save3
        break
      end
      _tmp = _Sp()
      unless _tmp
        self.pos = _save3
        break
      end
      _tmp = _Newline()
      unless _tmp
        self.pos = _save3
      end
      break
    end # end sequence

    _tmp = _tmp ? nil : true
    self.pos = _save2
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Inline)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_AtxInline unless _tmp
  return _tmp
end

#_AtxStartObject

AtxStart = < /#1,6/ > { text.length }



1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'lib/rdoc/markdown.rb', line 1079

def _AtxStart

  _save = self.pos
  while true # sequence
    _text_start = self.pos
    _tmp = scan(/\A(?-mix:\#{1,6})/)
    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  text.length ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_AtxStart unless _tmp
  return _tmp
end

AutoLink = (AutoLinkUrl | AutoLinkEmail)



11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
# File 'lib/rdoc/markdown.rb', line 11140

def _AutoLink

  _save = self.pos
  while true # choice
    _tmp = apply(:_AutoLinkUrl)
    break if _tmp
    self.pos = _save
    _tmp = apply(:_AutoLinkEmail)
    break if _tmp
    self.pos = _save
    break
  end # end choice

  set_failed_rule :_AutoLink unless _tmp
  return _tmp
end

#_AutoLinkEmailObject

AutoLinkEmail = “<” “mailto:”? < /[w+./!%~$-]+/i “@” (!@Newline !“>” .)+ > “>” { “



11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
# File 'lib/rdoc/markdown.rb', line 11273

def _AutoLinkEmail

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _tmp = match_string("mailto:")
    unless _tmp
      _tmp = true
      self.pos = _save1
    end
    unless _tmp
      self.pos = _save
      break
    end
    _text_start = self.pos

    _save2 = self.pos
    while true # sequence
      _tmp = scan(/\A(?i-mx:[\w+.\/!%~$-]+)/)
      unless _tmp
        self.pos = _save2
        break
      end
      _tmp = match_string("@")
      unless _tmp
        self.pos = _save2
        break
      end
      _save3 = self.pos

      _save4 = self.pos
      while true # sequence
        _save5 = self.pos
        _tmp = _Newline()
        _tmp = _tmp ? nil : true
        self.pos = _save5
        unless _tmp
          self.pos = _save4
          break
        end
        _save6 = self.pos
        _tmp = match_string(">")
        _tmp = _tmp ? nil : true
        self.pos = _save6
        unless _tmp
          self.pos = _save4
          break
        end
        _tmp = get_byte
        unless _tmp
          self.pos = _save4
        end
        break
      end # end sequence

      if _tmp
        while true

          _save7 = self.pos
          while true # sequence
            _save8 = self.pos
            _tmp = _Newline()
            _tmp = _tmp ? nil : true
            self.pos = _save8
            unless _tmp
              self.pos = _save7
              break
            end
            _save9 = self.pos
            _tmp = match_string(">")
            _tmp = _tmp ? nil : true
            self.pos = _save9
            unless _tmp
              self.pos = _save7
              break
            end
            _tmp = get_byte
            unless _tmp
              self.pos = _save7
            end
            break
          end # end sequence

          break unless _tmp
        end
        _tmp = true
      else
        self.pos = _save3
      end
      unless _tmp
        self.pos = _save2
      end
      break
    end # end sequence

    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  "mailto:#{text}" ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_AutoLinkEmail unless _tmp
  return _tmp
end

#_AutoLinkUrlObject

AutoLinkUrl = “<” < /[A-Za-z]+/ “://” (!@Newline !“>” .)+ > “>” { text }



11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
# File 'lib/rdoc/markdown.rb', line 11158

def _AutoLinkUrl

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _text_start = self.pos

    _save1 = self.pos
    while true # sequence
      _tmp = scan(/\A(?-mix:[A-Za-z]+)/)
      unless _tmp
        self.pos = _save1
        break
      end
      _tmp = match_string("://")
      unless _tmp
        self.pos = _save1
        break
      end
      _save2 = self.pos

      _save3 = self.pos
      while true # sequence
        _save4 = self.pos
        _tmp = _Newline()
        _tmp = _tmp ? nil : true
        self.pos = _save4
        unless _tmp
          self.pos = _save3
          break
        end
        _save5 = self.pos
        _tmp = match_string(">")
        _tmp = _tmp ? nil : true
        self.pos = _save5
        unless _tmp
          self.pos = _save3
          break
        end
        _tmp = get_byte
        unless _tmp
          self.pos = _save3
        end
        break
      end # end sequence

      if _tmp
        while true

          _save6 = self.pos
          while true # sequence
            _save7 = self.pos
            _tmp = _Newline()
            _tmp = _tmp ? nil : true
            self.pos = _save7
            unless _tmp
              self.pos = _save6
              break
            end
            _save8 = self.pos
            _tmp = match_string(">")
            _tmp = _tmp ? nil : true
            self.pos = _save8
            unless _tmp
              self.pos = _save6
              break
            end
            _tmp = get_byte
            unless _tmp
              self.pos = _save6
            end
            break
          end # end sequence

          break unless _tmp
        end
        _tmp = true
      else
        self.pos = _save2
      end
      unless _tmp
        self.pos = _save1
      end
      break
    end # end sequence

    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  text ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_AutoLinkUrl unless _tmp
  return _tmp
end

#_BlankLineObject

BlankLine = @Sp @Newline { “n” }



13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
# File 'lib/rdoc/markdown.rb', line 13714

def _BlankLine

  _save = self.pos
  while true # sequence
    _tmp = _Sp()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Newline()
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  "\n" ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_BlankLine unless _tmp
  return _tmp
end

#_BlockObject

Block = @BlankLine* (BlockQuote | Verbatim | CodeFence | Note | Reference | HorizontalRule | Heading | OrderedList | BulletList | DefinitionList | HtmlBlock | StyleBlock | Para | Plain)



880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
# File 'lib/rdoc/markdown.rb', line 880

def _Block

  _save = self.pos
  while true # sequence
    while true
      _tmp = _BlankLine()
      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end

    _save2 = self.pos
    while true # choice
      _tmp = apply(:_BlockQuote)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_Verbatim)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_CodeFence)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_Note)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_Reference)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_HorizontalRule)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_Heading)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_OrderedList)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_BulletList)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_DefinitionList)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_HtmlBlock)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_StyleBlock)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_Para)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_Plain)
      break if _tmp
      self.pos = _save2
      break
    end # end choice

    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_Block unless _tmp
  return _tmp
end

#_BlockQuoteObject

BlockQuote = BlockQuoteRaw:a { RDoc::Markup::BlockQuote.new(*a) }



1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
# File 'lib/rdoc/markdown.rb', line 1529

def _BlockQuote

  _save = self.pos
  while true # sequence
    _tmp = apply(:_BlockQuoteRaw)
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  RDoc::Markup::BlockQuote.new(*a) ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_BlockQuote unless _tmp
  return _tmp
end

#_BlockQuoteRawObject

BlockQuoteRaw = @StartList:a (“>” “ ”? Line:l { a << l } (!“>” !@BlankLine Line:c { a << c })* (@BlankLine:n { a << n })*)+ { inner_parse a.join }



1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
# File 'lib/rdoc/markdown.rb', line 1552

def _BlockQuoteRaw

  _save = self.pos
  while true # sequence
    _tmp = _StartList()
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos

    _save2 = self.pos
    while true # sequence
      _tmp = match_string(">")
      unless _tmp
        self.pos = _save2
        break
      end
      _save3 = self.pos
      _tmp = match_string(" ")
      unless _tmp
        _tmp = true
        self.pos = _save3
      end
      unless _tmp
        self.pos = _save2
        break
      end
      _tmp = apply(:_Line)
      l = @result
      unless _tmp
        self.pos = _save2
        break
      end
      @result = begin;  a << l ; end
      _tmp = true
      unless _tmp
        self.pos = _save2
        break
      end
      while true

        _save5 = self.pos
        while true # sequence
          _save6 = self.pos
          _tmp = match_string(">")
          _tmp = _tmp ? nil : true
          self.pos = _save6
          unless _tmp
            self.pos = _save5
            break
          end
          _save7 = self.pos
          _tmp = _BlankLine()
          _tmp = _tmp ? nil : true
          self.pos = _save7
          unless _tmp
            self.pos = _save5
            break
          end
          _tmp = apply(:_Line)
          c = @result
          unless _tmp
            self.pos = _save5
            break
          end
          @result = begin;  a << c ; end
          _tmp = true
          unless _tmp
            self.pos = _save5
          end
          break
        end # end sequence

        break unless _tmp
      end
      _tmp = true
      unless _tmp
        self.pos = _save2
        break
      end
      while true

        _save9 = self.pos
        while true # sequence
          _tmp = _BlankLine()
          n = @result
          unless _tmp
            self.pos = _save9
            break
          end
          @result = begin;  a << n ; end
          _tmp = true
          unless _tmp
            self.pos = _save9
          end
          break
        end # end sequence

        break unless _tmp
      end
      _tmp = true
      unless _tmp
        self.pos = _save2
      end
      break
    end # end sequence

    if _tmp
      while true

        _save10 = self.pos
        while true # sequence
          _tmp = match_string(">")
          unless _tmp
            self.pos = _save10
            break
          end
          _save11 = self.pos
          _tmp = match_string(" ")
          unless _tmp
            _tmp = true
            self.pos = _save11
          end
          unless _tmp
            self.pos = _save10
            break
          end
          _tmp = apply(:_Line)
          l = @result
          unless _tmp
            self.pos = _save10
            break
          end
          @result = begin;  a << l ; end
          _tmp = true
          unless _tmp
            self.pos = _save10
            break
          end
          while true

            _save13 = self.pos
            while true # sequence
              _save14 = self.pos
              _tmp = match_string(">")
              _tmp = _tmp ? nil : true
              self.pos = _save14
              unless _tmp
                self.pos = _save13
                break
              end
              _save15 = self.pos
              _tmp = _BlankLine()
              _tmp = _tmp ? nil : true
              self.pos = _save15
              unless _tmp
                self.pos = _save13
                break
              end
              _tmp = apply(:_Line)
              c = @result
              unless _tmp
                self.pos = _save13
                break
              end
              @result = begin;  a << c ; end
              _tmp = true
              unless _tmp
                self.pos = _save13
              end
              break
            end # end sequence

            break unless _tmp
          end
          _tmp = true
          unless _tmp
            self.pos = _save10
            break
          end
          while true

            _save17 = self.pos
            while true # sequence
              _tmp = _BlankLine()
              n = @result
              unless _tmp
                self.pos = _save17
                break
              end
              @result = begin;  a << n ; end
              _tmp = true
              unless _tmp
                self.pos = _save17
              end
              break
            end # end sequence

            break unless _tmp
          end
          _tmp = true
          unless _tmp
            self.pos = _save10
          end
          break
        end # end sequence

        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save1
    end
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  inner_parse a.join ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_BlockQuoteRaw unless _tmp
  return _tmp
end

#_BOMObject

BOM = %literals.BOM



14285
14286
14287
14288
14289
# File 'lib/rdoc/markdown.rb', line 14285

def _BOM
  _tmp = @_grammar_literals.external_invoke(self, :_BOM)
  set_failed_rule :_BOM unless _tmp
  return _tmp
end

#_BulletObject

Bullet = !HorizontalRule @NonindentSpace /[+*-]/ @Spacechar+



2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
# File 'lib/rdoc/markdown.rb', line 2117

def _Bullet

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = apply(:_HorizontalRule)
    _tmp = _tmp ? nil : true
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _NonindentSpace()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = scan(/\A(?-mix:[+*-])/)
    unless _tmp
      self.pos = _save
      break
    end
    _save2 = self.pos
    _tmp = _Spacechar()
    if _tmp
      while true
        _tmp = _Spacechar()
        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save2
    end
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_Bullet unless _tmp
  return _tmp
end

#_BulletListObject

BulletList = &Bullet (ListTight | ListLoose):a { RDoc::Markup::List.new(:BULLET, *a) }



2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'lib/rdoc/markdown.rb', line 2161

def _BulletList

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = apply(:_Bullet)
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end

    _save2 = self.pos
    while true # choice
      _tmp = apply(:_ListTight)
      break if _tmp
      self.pos = _save2
      _tmp = apply(:_ListLoose)
      break if _tmp
      self.pos = _save2
      break
    end # end choice

    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  RDoc::Markup::List.new(:BULLET, *a) ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_BulletList unless _tmp
  return _tmp
end

#_CharEntityObject



14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
# File 'lib/rdoc/markdown.rb', line 14385

def _CharEntity

  _save = self.pos
  while true # sequence
    _tmp = match_string("&")
    unless _tmp
      self.pos = _save
      break
    end
    _text_start = self.pos
    _tmp = scan(/\A(?-mix:[A-Za-z0-9]+)/)
    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(";")
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  if entity = HTML_ENTITIES[text] then
               entity.pack 'U*'
             else
               "&#{text};"
             end
           ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_CharEntity unless _tmp
  return _tmp
end

#_CodeObject

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) { “#{text}” }



12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
# File 'lib/rdoc/markdown.rb', line 12077

def _Code

  _save = self.pos
  while true # sequence

    _save1 = self.pos
    while true # choice

      _save2 = self.pos
      while true # sequence
        _tmp = apply(:_Ticks1)
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save2
          break
        end
        _text_start = self.pos
        _save3 = self.pos

        _save4 = self.pos
        while true # choice
          _save5 = self.pos

          _save6 = self.pos
          while true # sequence
            _save7 = self.pos
            _tmp = match_string("`")
            _tmp = _tmp ? nil : true
            self.pos = _save7
            unless _tmp
              self.pos = _save6
              break
            end
            _tmp = apply(:_Nonspacechar)
            unless _tmp
              self.pos = _save6
            end
            break
          end # end sequence

          if _tmp
            while true

              _save8 = self.pos
              while true # sequence
                _save9 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save9
                unless _tmp
                  self.pos = _save8
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save8
                end
                break
              end # end sequence

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save5
          end
          break if _tmp
          self.pos = _save4

          _save10 = self.pos
          while true # sequence
            _save11 = self.pos
            _tmp = apply(:_Ticks1)
            _tmp = _tmp ? nil : true
            self.pos = _save11
            unless _tmp
              self.pos = _save10
              break
            end
            _tmp = scan(/\A(?-mix:`+)/)
            unless _tmp
              self.pos = _save10
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save4

          _save12 = self.pos
          while true # sequence
            _save13 = self.pos

            _save14 = self.pos
            while true # sequence
              _tmp = _Sp()
              unless _tmp
                self.pos = _save14
                break
              end
              _tmp = apply(:_Ticks1)
              unless _tmp
                self.pos = _save14
              end
              break
            end # end sequence

            _tmp = _tmp ? nil : true
            self.pos = _save13
            unless _tmp
              self.pos = _save12
              break
            end

            _save15 = self.pos
            while true # choice
              _tmp = _Spacechar()
              break if _tmp
              self.pos = _save15

              _save16 = self.pos
              while true # sequence
                _tmp = _Newline()
                unless _tmp
                  self.pos = _save16
                  break
                end
                _save17 = self.pos
                _tmp = _BlankLine()
                _tmp = _tmp ? nil : true
                self.pos = _save17
                unless _tmp
                  self.pos = _save16
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save15
              break
            end # end choice

            unless _tmp
              self.pos = _save12
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save4
          break
        end # end choice

        if _tmp
          while true

            _save18 = self.pos
            while true # choice
              _save19 = self.pos

              _save20 = self.pos
              while true # sequence
                _save21 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save21
                unless _tmp
                  self.pos = _save20
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save20
                end
                break
              end # end sequence

              if _tmp
                while true

                  _save22 = self.pos
                  while true # sequence
                    _save23 = self.pos
                    _tmp = match_string("`")
                    _tmp = _tmp ? nil : true
                    self.pos = _save23
                    unless _tmp
                      self.pos = _save22
                      break
                    end
                    _tmp = apply(:_Nonspacechar)
                    unless _tmp
                      self.pos = _save22
                    end
                    break
                  end # end sequence

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save19
              end
              break if _tmp
              self.pos = _save18

              _save24 = self.pos
              while true # sequence
                _save25 = self.pos
                _tmp = apply(:_Ticks1)
                _tmp = _tmp ? nil : true
                self.pos = _save25
                unless _tmp
                  self.pos = _save24
                  break
                end
                _tmp = scan(/\A(?-mix:`+)/)
                unless _tmp
                  self.pos = _save24
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save18

              _save26 = self.pos
              while true # sequence
                _save27 = self.pos

                _save28 = self.pos
                while true # sequence
                  _tmp = _Sp()
                  unless _tmp
                    self.pos = _save28
                    break
                  end
                  _tmp = apply(:_Ticks1)
                  unless _tmp
                    self.pos = _save28
                  end
                  break
                end # end sequence

                _tmp = _tmp ? nil : true
                self.pos = _save27
                unless _tmp
                  self.pos = _save26
                  break
                end

                _save29 = self.pos
                while true # choice
                  _tmp = _Spacechar()
                  break if _tmp
                  self.pos = _save29

                  _save30 = self.pos
                  while true # sequence
                    _tmp = _Newline()
                    unless _tmp
                      self.pos = _save30
                      break
                    end
                    _save31 = self.pos
                    _tmp = _BlankLine()
                    _tmp = _tmp ? nil : true
                    self.pos = _save31
                    unless _tmp
                      self.pos = _save30
                    end
                    break
                  end # end sequence

                  break if _tmp
                  self.pos = _save29
                  break
                end # end choice

                unless _tmp
                  self.pos = _save26
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save18
              break
            end # end choice

            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save3
        end
        if _tmp
          text = get_text(_text_start)
        end
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = apply(:_Ticks1)
        unless _tmp
          self.pos = _save2
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1

      _save32 = self.pos
      while true # sequence
        _tmp = apply(:_Ticks2)
        unless _tmp
          self.pos = _save32
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save32
          break
        end
        _text_start = self.pos
        _save33 = self.pos

        _save34 = self.pos
        while true # choice
          _save35 = self.pos

          _save36 = self.pos
          while true # sequence
            _save37 = self.pos
            _tmp = match_string("`")
            _tmp = _tmp ? nil : true
            self.pos = _save37
            unless _tmp
              self.pos = _save36
              break
            end
            _tmp = apply(:_Nonspacechar)
            unless _tmp
              self.pos = _save36
            end
            break
          end # end sequence

          if _tmp
            while true

              _save38 = self.pos
              while true # sequence
                _save39 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save39
                unless _tmp
                  self.pos = _save38
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save38
                end
                break
              end # end sequence

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save35
          end
          break if _tmp
          self.pos = _save34

          _save40 = self.pos
          while true # sequence
            _save41 = self.pos
            _tmp = apply(:_Ticks2)
            _tmp = _tmp ? nil : true
            self.pos = _save41
            unless _tmp
              self.pos = _save40
              break
            end
            _tmp = scan(/\A(?-mix:`+)/)
            unless _tmp
              self.pos = _save40
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save34

          _save42 = self.pos
          while true # sequence
            _save43 = self.pos

            _save44 = self.pos
            while true # sequence
              _tmp = _Sp()
              unless _tmp
                self.pos = _save44
                break
              end
              _tmp = apply(:_Ticks2)
              unless _tmp
                self.pos = _save44
              end
              break
            end # end sequence

            _tmp = _tmp ? nil : true
            self.pos = _save43
            unless _tmp
              self.pos = _save42
              break
            end

            _save45 = self.pos
            while true # choice
              _tmp = _Spacechar()
              break if _tmp
              self.pos = _save45

              _save46 = self.pos
              while true # sequence
                _tmp = _Newline()
                unless _tmp
                  self.pos = _save46
                  break
                end
                _save47 = self.pos
                _tmp = _BlankLine()
                _tmp = _tmp ? nil : true
                self.pos = _save47
                unless _tmp
                  self.pos = _save46
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save45
              break
            end # end choice

            unless _tmp
              self.pos = _save42
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save34
          break
        end # end choice

        if _tmp
          while true

            _save48 = self.pos
            while true # choice
              _save49 = self.pos

              _save50 = self.pos
              while true # sequence
                _save51 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save51
                unless _tmp
                  self.pos = _save50
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save50
                end
                break
              end # end sequence

              if _tmp
                while true

                  _save52 = self.pos
                  while true # sequence
                    _save53 = self.pos
                    _tmp = match_string("`")
                    _tmp = _tmp ? nil : true
                    self.pos = _save53
                    unless _tmp
                      self.pos = _save52
                      break
                    end
                    _tmp = apply(:_Nonspacechar)
                    unless _tmp
                      self.pos = _save52
                    end
                    break
                  end # end sequence

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save49
              end
              break if _tmp
              self.pos = _save48

              _save54 = self.pos
              while true # sequence
                _save55 = self.pos
                _tmp = apply(:_Ticks2)
                _tmp = _tmp ? nil : true
                self.pos = _save55
                unless _tmp
                  self.pos = _save54
                  break
                end
                _tmp = scan(/\A(?-mix:`+)/)
                unless _tmp
                  self.pos = _save54
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save48

              _save56 = self.pos
              while true # sequence
                _save57 = self.pos

                _save58 = self.pos
                while true # sequence
                  _tmp = _Sp()
                  unless _tmp
                    self.pos = _save58
                    break
                  end
                  _tmp = apply(:_Ticks2)
                  unless _tmp
                    self.pos = _save58
                  end
                  break
                end # end sequence

                _tmp = _tmp ? nil : true
                self.pos = _save57
                unless _tmp
                  self.pos = _save56
                  break
                end

                _save59 = self.pos
                while true # choice
                  _tmp = _Spacechar()
                  break if _tmp
                  self.pos = _save59

                  _save60 = self.pos
                  while true # sequence
                    _tmp = _Newline()
                    unless _tmp
                      self.pos = _save60
                      break
                    end
                    _save61 = self.pos
                    _tmp = _BlankLine()
                    _tmp = _tmp ? nil : true
                    self.pos = _save61
                    unless _tmp
                      self.pos = _save60
                    end
                    break
                  end # end sequence

                  break if _tmp
                  self.pos = _save59
                  break
                end # end choice

                unless _tmp
                  self.pos = _save56
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save48
              break
            end # end choice

            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save33
        end
        if _tmp
          text = get_text(_text_start)
        end
        unless _tmp
          self.pos = _save32
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save32
          break
        end
        _tmp = apply(:_Ticks2)
        unless _tmp
          self.pos = _save32
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1

      _save62 = self.pos
      while true # sequence
        _tmp = apply(:_Ticks3)
        unless _tmp
          self.pos = _save62
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save62
          break
        end
        _text_start = self.pos
        _save63 = self.pos

        _save64 = self.pos
        while true # choice
          _save65 = self.pos

          _save66 = self.pos
          while true # sequence
            _save67 = self.pos
            _tmp = match_string("`")
            _tmp = _tmp ? nil : true
            self.pos = _save67
            unless _tmp
              self.pos = _save66
              break
            end
            _tmp = apply(:_Nonspacechar)
            unless _tmp
              self.pos = _save66
            end
            break
          end # end sequence

          if _tmp
            while true

              _save68 = self.pos
              while true # sequence
                _save69 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save69
                unless _tmp
                  self.pos = _save68
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save68
                end
                break
              end # end sequence

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save65
          end
          break if _tmp
          self.pos = _save64

          _save70 = self.pos
          while true # sequence
            _save71 = self.pos
            _tmp = apply(:_Ticks3)
            _tmp = _tmp ? nil : true
            self.pos = _save71
            unless _tmp
              self.pos = _save70
              break
            end
            _tmp = scan(/\A(?-mix:`+)/)
            unless _tmp
              self.pos = _save70
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save64

          _save72 = self.pos
          while true # sequence
            _save73 = self.pos

            _save74 = self.pos
            while true # sequence
              _tmp = _Sp()
              unless _tmp
                self.pos = _save74
                break
              end
              _tmp = apply(:_Ticks3)
              unless _tmp
                self.pos = _save74
              end
              break
            end # end sequence

            _tmp = _tmp ? nil : true
            self.pos = _save73
            unless _tmp
              self.pos = _save72
              break
            end

            _save75 = self.pos
            while true # choice
              _tmp = _Spacechar()
              break if _tmp
              self.pos = _save75

              _save76 = self.pos
              while true # sequence
                _tmp = _Newline()
                unless _tmp
                  self.pos = _save76
                  break
                end
                _save77 = self.pos
                _tmp = _BlankLine()
                _tmp = _tmp ? nil : true
                self.pos = _save77
                unless _tmp
                  self.pos = _save76
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save75
              break
            end # end choice

            unless _tmp
              self.pos = _save72
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save64
          break
        end # end choice

        if _tmp
          while true

            _save78 = self.pos
            while true # choice
              _save79 = self.pos

              _save80 = self.pos
              while true # sequence
                _save81 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save81
                unless _tmp
                  self.pos = _save80
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save80
                end
                break
              end # end sequence

              if _tmp
                while true

                  _save82 = self.pos
                  while true # sequence
                    _save83 = self.pos
                    _tmp = match_string("`")
                    _tmp = _tmp ? nil : true
                    self.pos = _save83
                    unless _tmp
                      self.pos = _save82
                      break
                    end
                    _tmp = apply(:_Nonspacechar)
                    unless _tmp
                      self.pos = _save82
                    end
                    break
                  end # end sequence

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save79
              end
              break if _tmp
              self.pos = _save78

              _save84 = self.pos
              while true # sequence
                _save85 = self.pos
                _tmp = apply(:_Ticks3)
                _tmp = _tmp ? nil : true
                self.pos = _save85
                unless _tmp
                  self.pos = _save84
                  break
                end
                _tmp = scan(/\A(?-mix:`+)/)
                unless _tmp
                  self.pos = _save84
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save78

              _save86 = self.pos
              while true # sequence
                _save87 = self.pos

                _save88 = self.pos
                while true # sequence
                  _tmp = _Sp()
                  unless _tmp
                    self.pos = _save88
                    break
                  end
                  _tmp = apply(:_Ticks3)
                  unless _tmp
                    self.pos = _save88
                  end
                  break
                end # end sequence

                _tmp = _tmp ? nil : true
                self.pos = _save87
                unless _tmp
                  self.pos = _save86
                  break
                end

                _save89 = self.pos
                while true # choice
                  _tmp = _Spacechar()
                  break if _tmp
                  self.pos = _save89

                  _save90 = self.pos
                  while true # sequence
                    _tmp = _Newline()
                    unless _tmp
                      self.pos = _save90
                      break
                    end
                    _save91 = self.pos
                    _tmp = _BlankLine()
                    _tmp = _tmp ? nil : true
                    self.pos = _save91
                    unless _tmp
                      self.pos = _save90
                    end
                    break
                  end # end sequence

                  break if _tmp
                  self.pos = _save89
                  break
                end # end choice

                unless _tmp
                  self.pos = _save86
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save78
              break
            end # end choice

            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save63
        end
        if _tmp
          text = get_text(_text_start)
        end
        unless _tmp
          self.pos = _save62
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save62
          break
        end
        _tmp = apply(:_Ticks3)
        unless _tmp
          self.pos = _save62
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1

      _save92 = self.pos
      while true # sequence
        _tmp = apply(:_Ticks4)
        unless _tmp
          self.pos = _save92
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save92
          break
        end
        _text_start = self.pos
        _save93 = self.pos

        _save94 = self.pos
        while true # choice
          _save95 = self.pos

          _save96 = self.pos
          while true # sequence
            _save97 = self.pos
            _tmp = match_string("`")
            _tmp = _tmp ? nil : true
            self.pos = _save97
            unless _tmp
              self.pos = _save96
              break
            end
            _tmp = apply(:_Nonspacechar)
            unless _tmp
              self.pos = _save96
            end
            break
          end # end sequence

          if _tmp
            while true

              _save98 = self.pos
              while true # sequence
                _save99 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save99
                unless _tmp
                  self.pos = _save98
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save98
                end
                break
              end # end sequence

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save95
          end
          break if _tmp
          self.pos = _save94

          _save100 = self.pos
          while true # sequence
            _save101 = self.pos
            _tmp = apply(:_Ticks4)
            _tmp = _tmp ? nil : true
            self.pos = _save101
            unless _tmp
              self.pos = _save100
              break
            end
            _tmp = scan(/\A(?-mix:`+)/)
            unless _tmp
              self.pos = _save100
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save94

          _save102 = self.pos
          while true # sequence
            _save103 = self.pos

            _save104 = self.pos
            while true # sequence
              _tmp = _Sp()
              unless _tmp
                self.pos = _save104
                break
              end
              _tmp = apply(:_Ticks4)
              unless _tmp
                self.pos = _save104
              end
              break
            end # end sequence

            _tmp = _tmp ? nil : true
            self.pos = _save103
            unless _tmp
              self.pos = _save102
              break
            end

            _save105 = self.pos
            while true # choice
              _tmp = _Spacechar()
              break if _tmp
              self.pos = _save105

              _save106 = self.pos
              while true # sequence
                _tmp = _Newline()
                unless _tmp
                  self.pos = _save106
                  break
                end
                _save107 = self.pos
                _tmp = _BlankLine()
                _tmp = _tmp ? nil : true
                self.pos = _save107
                unless _tmp
                  self.pos = _save106
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save105
              break
            end # end choice

            unless _tmp
              self.pos = _save102
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save94
          break
        end # end choice

        if _tmp
          while true

            _save108 = self.pos
            while true # choice
              _save109 = self.pos

              _save110 = self.pos
              while true # sequence
                _save111 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save111
                unless _tmp
                  self.pos = _save110
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save110
                end
                break
              end # end sequence

              if _tmp
                while true

                  _save112 = self.pos
                  while true # sequence
                    _save113 = self.pos
                    _tmp = match_string("`")
                    _tmp = _tmp ? nil : true
                    self.pos = _save113
                    unless _tmp
                      self.pos = _save112
                      break
                    end
                    _tmp = apply(:_Nonspacechar)
                    unless _tmp
                      self.pos = _save112
                    end
                    break
                  end # end sequence

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save109
              end
              break if _tmp
              self.pos = _save108

              _save114 = self.pos
              while true # sequence
                _save115 = self.pos
                _tmp = apply(:_Ticks4)
                _tmp = _tmp ? nil : true
                self.pos = _save115
                unless _tmp
                  self.pos = _save114
                  break
                end
                _tmp = scan(/\A(?-mix:`+)/)
                unless _tmp
                  self.pos = _save114
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save108

              _save116 = self.pos
              while true # sequence
                _save117 = self.pos

                _save118 = self.pos
                while true # sequence
                  _tmp = _Sp()
                  unless _tmp
                    self.pos = _save118
                    break
                  end
                  _tmp = apply(:_Ticks4)
                  unless _tmp
                    self.pos = _save118
                  end
                  break
                end # end sequence

                _tmp = _tmp ? nil : true
                self.pos = _save117
                unless _tmp
                  self.pos = _save116
                  break
                end

                _save119 = self.pos
                while true # choice
                  _tmp = _Spacechar()
                  break if _tmp
                  self.pos = _save119

                  _save120 = self.pos
                  while true # sequence
                    _tmp = _Newline()
                    unless _tmp
                      self.pos = _save120
                      break
                    end
                    _save121 = self.pos
                    _tmp = _BlankLine()
                    _tmp = _tmp ? nil : true
                    self.pos = _save121
                    unless _tmp
                      self.pos = _save120
                    end
                    break
                  end # end sequence

                  break if _tmp
                  self.pos = _save119
                  break
                end # end choice

                unless _tmp
                  self.pos = _save116
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save108
              break
            end # end choice

            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save93
        end
        if _tmp
          text = get_text(_text_start)
        end
        unless _tmp
          self.pos = _save92
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save92
          break
        end
        _tmp = apply(:_Ticks4)
        unless _tmp
          self.pos = _save92
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1

      _save122 = self.pos
      while true # sequence
        _tmp = apply(:_Ticks5)
        unless _tmp
          self.pos = _save122
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save122
          break
        end
        _text_start = self.pos
        _save123 = self.pos

        _save124 = self.pos
        while true # choice
          _save125 = self.pos

          _save126 = self.pos
          while true # sequence
            _save127 = self.pos
            _tmp = match_string("`")
            _tmp = _tmp ? nil : true
            self.pos = _save127
            unless _tmp
              self.pos = _save126
              break
            end
            _tmp = apply(:_Nonspacechar)
            unless _tmp
              self.pos = _save126
            end
            break
          end # end sequence

          if _tmp
            while true

              _save128 = self.pos
              while true # sequence
                _save129 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save129
                unless _tmp
                  self.pos = _save128
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save128
                end
                break
              end # end sequence

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save125
          end
          break if _tmp
          self.pos = _save124

          _save130 = self.pos
          while true # sequence
            _save131 = self.pos
            _tmp = apply(:_Ticks5)
            _tmp = _tmp ? nil : true
            self.pos = _save131
            unless _tmp
              self.pos = _save130
              break
            end
            _tmp = scan(/\A(?-mix:`+)/)
            unless _tmp
              self.pos = _save130
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save124

          _save132 = self.pos
          while true # sequence
            _save133 = self.pos

            _save134 = self.pos
            while true # sequence
              _tmp = _Sp()
              unless _tmp
                self.pos = _save134
                break
              end
              _tmp = apply(:_Ticks5)
              unless _tmp
                self.pos = _save134
              end
              break
            end # end sequence

            _tmp = _tmp ? nil : true
            self.pos = _save133
            unless _tmp
              self.pos = _save132
              break
            end

            _save135 = self.pos
            while true # choice
              _tmp = _Spacechar()
              break if _tmp
              self.pos = _save135

              _save136 = self.pos
              while true # sequence
                _tmp = _Newline()
                unless _tmp
                  self.pos = _save136
                  break
                end
                _save137 = self.pos
                _tmp = _BlankLine()
                _tmp = _tmp ? nil : true
                self.pos = _save137
                unless _tmp
                  self.pos = _save136
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save135
              break
            end # end choice

            unless _tmp
              self.pos = _save132
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save124
          break
        end # end choice

        if _tmp
          while true

            _save138 = self.pos
            while true # choice
              _save139 = self.pos

              _save140 = self.pos
              while true # sequence
                _save141 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save141
                unless _tmp
                  self.pos = _save140
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save140
                end
                break
              end # end sequence

              if _tmp
                while true

                  _save142 = self.pos
                  while true # sequence
                    _save143 = self.pos
                    _tmp = match_string("`")
                    _tmp = _tmp ? nil : true
                    self.pos = _save143
                    unless _tmp
                      self.pos = _save142
                      break
                    end
                    _tmp = apply(:_Nonspacechar)
                    unless _tmp
                      self.pos = _save142
                    end
                    break
                  end # end sequence

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save139
              end
              break if _tmp
              self.pos = _save138

              _save144 = self.pos
              while true # sequence
                _save145 = self.pos
                _tmp = apply(:_Ticks5)
                _tmp = _tmp ? nil : true
                self.pos = _save145
                unless _tmp
                  self.pos = _save144
                  break
                end
                _tmp = scan(/\A(?-mix:`+)/)
                unless _tmp
                  self.pos = _save144
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save138

              _save146 = self.pos
              while true # sequence
                _save147 = self.pos

                _save148 = self.pos
                while true # sequence
                  _tmp = _Sp()
                  unless _tmp
                    self.pos = _save148
                    break
                  end
                  _tmp = apply(:_Ticks5)
                  unless _tmp
                    self.pos = _save148
                  end
                  break
                end # end sequence

                _tmp = _tmp ? nil : true
                self.pos = _save147
                unless _tmp
                  self.pos = _save146
                  break
                end

                _save149 = self.pos
                while true # choice
                  _tmp = _Spacechar()
                  break if _tmp
                  self.pos = _save149

                  _save150 = self.pos
                  while true # sequence
                    _tmp = _Newline()
                    unless _tmp
                      self.pos = _save150
                      break
                    end
                    _save151 = self.pos
                    _tmp = _BlankLine()
                    _tmp = _tmp ? nil : true
                    self.pos = _save151
                    unless _tmp
                      self.pos = _save150
                    end
                    break
                  end # end sequence

                  break if _tmp
                  self.pos = _save149
                  break
                end # end choice

                unless _tmp
                  self.pos = _save146
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save138
              break
            end # end choice

            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save123
        end
        if _tmp
          text = get_text(_text_start)
        end
        unless _tmp
          self.pos = _save122
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save122
          break
        end
        _tmp = apply(:_Ticks5)
        unless _tmp
          self.pos = _save122
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  "<code>#{text}</code>" ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_Code unless _tmp
  return _tmp
end

#_CodeFenceObject

CodeFence = &{ github? } Ticks3 (@Sp StrChunk:format)? Spnl < ((!“`” Nonspacechar)+ | !Ticks3 /`+/ | Spacechar | @Newline)+ > Ticks3 @Sp @Newline* { verbatim = RDoc::Markup::Verbatim.new text verbatim.format = format.intern if format verbatim }



15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
# File 'lib/rdoc/markdown.rb', line 15268

def _CodeFence

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = begin;  github? ; end
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Ticks3)
    unless _tmp
      self.pos = _save
      break
    end
    _save2 = self.pos

    _save3 = self.pos
    while true # sequence
      _tmp = _Sp()
      unless _tmp
        self.pos = _save3
        break
      end
      _tmp = apply(:_StrChunk)
      format = @result
      unless _tmp
        self.pos = _save3
      end
      break
    end # end sequence

    unless _tmp
      _tmp = true
      self.pos = _save2
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _text_start = self.pos
    _save4 = self.pos

    _save5 = self.pos
    while true # choice
      _save6 = self.pos

      _save7 = self.pos
      while true # sequence
        _save8 = self.pos
        _tmp = match_string("`")
        _tmp = _tmp ? nil : true
        self.pos = _save8
        unless _tmp
          self.pos = _save7
          break
        end
        _tmp = apply(:_Nonspacechar)
        unless _tmp
          self.pos = _save7
        end
        break
      end # end sequence

      if _tmp
        while true

          _save9 = self.pos
          while true # sequence
            _save10 = self.pos
            _tmp = match_string("`")
            _tmp = _tmp ? nil : true
            self.pos = _save10
            unless _tmp
              self.pos = _save9
              break
            end
            _tmp = apply(:_Nonspacechar)
            unless _tmp
              self.pos = _save9
            end
            break
          end # end sequence

          break unless _tmp
        end
        _tmp = true
      else
        self.pos = _save6
      end
      break if _tmp
      self.pos = _save5

      _save11 = self.pos
      while true # sequence
        _save12 = self.pos
        _tmp = apply(:_Ticks3)
        _tmp = _tmp ? nil : true
        self.pos = _save12
        unless _tmp
          self.pos = _save11
          break
        end
        _tmp = scan(/\A(?-mix:`+)/)
        unless _tmp
          self.pos = _save11
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save5
      _tmp = apply(:_Spacechar)
      break if _tmp
      self.pos = _save5
      _tmp = _Newline()
      break if _tmp
      self.pos = _save5
      break
    end # end choice

    if _tmp
      while true

        _save13 = self.pos
        while true # choice
          _save14 = self.pos

          _save15 = self.pos
          while true # sequence
            _save16 = self.pos
            _tmp = match_string("`")
            _tmp = _tmp ? nil : true
            self.pos = _save16
            unless _tmp
              self.pos = _save15
              break
            end
            _tmp = apply(:_Nonspacechar)
            unless _tmp
              self.pos = _save15
            end
            break
          end # end sequence

          if _tmp
            while true

              _save17 = self.pos
              while true # sequence
                _save18 = self.pos
                _tmp = match_string("`")
                _tmp = _tmp ? nil : true
                self.pos = _save18
                unless _tmp
                  self.pos = _save17
                  break
                end
                _tmp = apply(:_Nonspacechar)
                unless _tmp
                  self.pos = _save17
                end
                break
              end # end sequence

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save14
          end
          break if _tmp
          self.pos = _save13

          _save19 = self.pos
          while true # sequence
            _save20 = self.pos
            _tmp = apply(:_Ticks3)
            _tmp = _tmp ? nil : true
            self.pos = _save20
            unless _tmp
              self.pos = _save19
              break
            end
            _tmp = scan(/\A(?-mix:`+)/)
            unless _tmp
              self.pos = _save19
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save13
          _tmp = apply(:_Spacechar)
          break if _tmp
          self.pos = _save13
          _tmp = _Newline()
          break if _tmp
          self.pos = _save13
          break
        end # end choice

        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save4
    end
    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Ticks3)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Sp()
    unless _tmp
      self.pos = _save
      break
    end
    while true
      _tmp = _Newline()
      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  verbatim = RDoc::Markup::Verbatim.new text
            verbatim.format = format.intern if format
            verbatim
          ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_CodeFence unless _tmp
  return _tmp
end

#_DecEntityObject

DecEntity = “&#” < /[0-9]+/ > “;” { [text.to_i].pack 'U' }



14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
# File 'lib/rdoc/markdown.rb', line 14349

def _DecEntity

  _save = self.pos
  while true # sequence
    _tmp = match_string("&#")
    unless _tmp
      self.pos = _save
      break
    end
    _text_start = self.pos
    _tmp = scan(/\A(?-mix:[0-9]+)/)
    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(";")
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  [text.to_i].pack 'U' ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_DecEntity unless _tmp
  return _tmp
end

#_DefinitionListObject

DefinitionList = &{ definition_lists? } DefinitionListItem+:list { RDoc::Markup::List.new :NOTE, *list.flatten }



15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
# File 'lib/rdoc/markdown.rb', line 15524

def _DefinitionList

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = begin;  definition_lists? ; end
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end
    _save2 = self.pos
    _ary = []
    _tmp = apply(:_DefinitionListItem)
    if _tmp
      _ary << @result
      while true
        _tmp = apply(:_DefinitionListItem)
        _ary << @result if _tmp
        break unless _tmp
      end
      _tmp = true
      @result = _ary
    else
      self.pos = _save2
    end
    list = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  RDoc::Markup::List.new :NOTE, *list.flatten ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_DefinitionList unless _tmp
  return _tmp
end

#_DefinitionListDefinitionObject

DefinitionListDefinition = @NonindentSpace “:” @Space Inlines:a @BlankLine+ { paragraph a }



15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
# File 'lib/rdoc/markdown.rb', line 15667

def _DefinitionListDefinition

  _save = self.pos
  while true # sequence
    _tmp = _NonindentSpace()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(":")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Space()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Inlines)
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _tmp = _BlankLine()
    if _tmp
      while true
        _tmp = _BlankLine()
        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save1
    end
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  paragraph a ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_DefinitionListDefinition unless _tmp
  return _tmp
end

#_DefinitionListItemObject

DefinitionListItem = DefinitionListLabel+:label DefinitionListDefinition+:defns { list_items = [] list_items << RDoc::Markup::ListItem.new(label, defns.shift) list_items.concat defns.map { |defn| RDoc::Markup::ListItem.new nil, defn } unless list_items.empty? list_items }



15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
# File 'lib/rdoc/markdown.rb', line 15568

def _DefinitionListItem

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _ary = []
    _tmp = apply(:_DefinitionListLabel)
    if _tmp
      _ary << @result
      while true
        _tmp = apply(:_DefinitionListLabel)
        _ary << @result if _tmp
        break unless _tmp
      end
      _tmp = true
      @result = _ary
    else
      self.pos = _save1
    end
    label = @result
    unless _tmp
      self.pos = _save
      break
    end
    _save2 = self.pos
    _ary = []
    _tmp = apply(:_DefinitionListDefinition)
    if _tmp
      _ary << @result
      while true
        _tmp = apply(:_DefinitionListDefinition)
        _ary << @result if _tmp
        break unless _tmp
      end
      _tmp = true
      @result = _ary
    else
      self.pos = _save2
    end
    defns = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  list_items = []
                     list_items <<
                       RDoc::Markup::ListItem.new(label, defns.shift)

                     list_items.concat defns.map { |defn|
                       RDoc::Markup::ListItem.new nil, defn
                     } unless list_items.empty?

                     list_items
                   ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_DefinitionListItem unless _tmp
  return _tmp
end

#_DefinitionListLabelObject

DefinitionListLabel = StrChunk:label @Sp @Newline { label }



15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
# File 'lib/rdoc/markdown.rb', line 15634

def _DefinitionListLabel

  _save = self.pos
  while true # sequence
    _tmp = apply(:_StrChunk)
    label = @result
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Sp()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Newline()
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  label ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_DefinitionListLabel unless _tmp
  return _tmp
end

#_DigitObject

Digit = [0-9]



14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
# File 'lib/rdoc/markdown.rb', line 14257

def _Digit
  _save = self.pos
  _tmp = get_byte
  if _tmp
    unless _tmp >= 48 and _tmp <= 57
      self.pos = _save
      _tmp = nil
    end
  end
  set_failed_rule :_Digit unless _tmp
  return _tmp
end

#_DocObject

Doc = BOM? Block*:a { RDoc::Markup::Document.new(*a.compact) }



840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
# File 'lib/rdoc/markdown.rb', line 840

def _Doc

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = apply(:_BOM)
    unless _tmp
      _tmp = true
      self.pos = _save1
    end
    unless _tmp
      self.pos = _save
      break
    end
    _ary = []
    while true
      _tmp = apply(:_Block)
      _ary << @result if _tmp
      break unless _tmp
    end
    _tmp = true
    @result = _ary
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  RDoc::Markup::Document.new(*a.compact) ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_Doc unless _tmp
  return _tmp
end

#_EmphObject

Emph = (EmphStar | EmphUl)



9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
# File 'lib/rdoc/markdown.rb', line 9858

def _Emph

  _save = self.pos
  while true # choice
    _tmp = apply(:_EmphStar)
    break if _tmp
    self.pos = _save
    _tmp = apply(:_EmphUl)
    break if _tmp
    self.pos = _save
    break
  end # end choice

  set_failed_rule :_Emph unless _tmp
  return _tmp
end

#_EmphStarObject

EmphStar = OneStarOpen @StartList:a (!OneStarClose Inline:l { a << l })* OneStarClose:l { a << l } { emphasis a.join }



9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
# File 'lib/rdoc/markdown.rb', line 9960

def _EmphStar

  _save = self.pos
  while true # sequence
    _tmp = apply(:_OneStarOpen)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _StartList()
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # sequence
        _save3 = self.pos
        _tmp = apply(:_OneStarClose)
        _tmp = _tmp ? nil : true
        self.pos = _save3
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = apply(:_Inline)
        l = @result
        unless _tmp
          self.pos = _save2
          break
        end
        @result = begin;  a << l ; end
        _tmp = true
        unless _tmp
          self.pos = _save2
        end
        break
      end # end sequence

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_OneStarClose)
    l = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  a << l ; end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  emphasis a.join ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_EmphStar unless _tmp
  return _tmp
end

#_EmphUlObject

EmphUl = OneUlOpen @StartList:a (!OneUlClose Inline:l { a << l })* OneUlClose:l { a << l } { emphasis a.join }



10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
# File 'lib/rdoc/markdown.rb', line 10117

def _EmphUl

  _save = self.pos
  while true # sequence
    _tmp = apply(:_OneUlOpen)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _StartList()
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # sequence
        _save3 = self.pos
        _tmp = apply(:_OneUlClose)
        _tmp = _tmp ? nil : true
        self.pos = _save3
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = apply(:_Inline)
        l = @result
        unless _tmp
          self.pos = _save2
          break
        end
        @result = begin;  a << l ; end
        _tmp = true
        unless _tmp
          self.pos = _save2
        end
        break
      end # end sequence

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_OneUlClose)
    l = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  a << l ; end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  emphasis a.join ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_EmphUl unless _tmp
  return _tmp
end

#_EmptyTitleObject

EmptyTitle = “”



11652
11653
11654
11655
11656
# File 'lib/rdoc/markdown.rb', line 11652

def _EmptyTitle
  _tmp = match_string("")
  set_failed_rule :_EmptyTitle unless _tmp
  return _tmp
end

#_EndlineObject

Endline = (@LineBreak | @TerminalEndline | @NormalEndline)



9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
# File 'lib/rdoc/markdown.rb', line 9492

def _Endline

  _save = self.pos
  while true # choice
    _tmp = _LineBreak()
    break if _tmp
    self.pos = _save
    _tmp = _TerminalEndline()
    break if _tmp
    self.pos = _save
    _tmp = _NormalEndline()
    break if _tmp
    self.pos = _save
    break
  end # end choice

  set_failed_rule :_Endline unless _tmp
  return _tmp
end

#_EntityObject

Entity = (HexEntity | DecEntity | CharEntity):a { a }



9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
# File 'lib/rdoc/markdown.rb', line 9455

def _Entity

  _save = self.pos
  while true # sequence

    _save1 = self.pos
    while true # choice
      _tmp = apply(:_HexEntity)
      break if _tmp
      self.pos = _save1
      _tmp = apply(:_DecEntity)
      break if _tmp
      self.pos = _save1
      _tmp = apply(:_CharEntity)
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  a ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_Entity unless _tmp
  return _tmp
end

#_EnumeratorObject

Enumerator = @NonindentSpace [0-9]+ “.” @Spacechar+



2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
# File 'lib/rdoc/markdown.rb', line 2650

def _Enumerator

  _save = self.pos
  while true # sequence
    _tmp = _NonindentSpace()
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _save2 = self.pos
    _tmp = get_byte
    if _tmp
      unless _tmp >= 48 and _tmp <= 57
        self.pos = _save2
        _tmp = nil
      end
    end
    if _tmp
      while true
        _save3 = self.pos
        _tmp = get_byte
        if _tmp
          unless _tmp >= 48 and _tmp <= 57
            self.pos = _save3
            _tmp = nil
          end
        end
        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save1
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(".")
    unless _tmp
      self.pos = _save
      break
    end
    _save4 = self.pos
    _tmp = _Spacechar()
    if _tmp
      while true
        _tmp = _Spacechar()
        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save4
    end
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_Enumerator unless _tmp
  return _tmp
end

#_EofObject

Eof = !.



14108
14109
14110
14111
14112
14113
14114
14115
# File 'lib/rdoc/markdown.rb', line 14108

def _Eof
  _save = self.pos
  _tmp = get_byte
  _tmp = _tmp ? nil : true
  self.pos = _save
  set_failed_rule :_Eof unless _tmp
  return _tmp
end

#_EscapedCharObject

EscapedChar = “\” !@Newline < /[:\`|*_{}[]()#+.!><-]/ > { text }



9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
# File 'lib/rdoc/markdown.rb', line 9416

def _EscapedChar

  _save = self.pos
  while true # sequence
    _tmp = match_string("\\")
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _tmp = _Newline()
    _tmp = _tmp ? nil : true
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end
    _text_start = self.pos
    _tmp = scan(/\A(?-mix:[:\\`|*_{}\[\]()#+.!><-])/)
    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  text ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_EscapedChar unless _tmp
  return _tmp
end

ExplicitLink = Label:l Spnl “(” @Sp Source:s Spnl Title @Sp “)” “#{l” }



10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
# File 'lib/rdoc/markdown.rb', line 10697

def _ExplicitLink

  _save = self.pos
  while true # sequence
    _tmp = apply(:_Label)
    l = @result
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("(")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Sp()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Source)
    s = @result
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Title)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Sp()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(")")
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  "{#{l}}[#{s}]" ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_ExplicitLink unless _tmp
  return _tmp
end

#_ExtendedSpecialCharObject

ExtendedSpecialChar = &{ notes? } “^”



14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
# File 'lib/rdoc/markdown.rb', line 14786

def _ExtendedSpecialChar

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = begin;  notes? ; end
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("^")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_ExtendedSpecialChar unless _tmp
  return _tmp
end

#_HeadingObject

Heading = (SetextHeading | AtxHeading)



1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
# File 'lib/rdoc/markdown.rb', line 1511

def _Heading

  _save = self.pos
  while true # choice
    _tmp = apply(:_SetextHeading)
    break if _tmp
    self.pos = _save
    _tmp = apply(:_AtxHeading)
    break if _tmp
    self.pos = _save
    break
  end # end choice

  set_failed_rule :_Heading unless _tmp
  return _tmp
end

#_HexEntityObject

HexEntity = /&#x/i < /[0-9a-fA-F]+/ > “;” { [text.to_i(16)].pack 'U' }



14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
# File 'lib/rdoc/markdown.rb', line 14313

def _HexEntity

  _save = self.pos
  while true # sequence
    _tmp = scan(/\A(?i-mx:&#x)/)
    unless _tmp
      self.pos = _save
      break
    end
    _text_start = self.pos
    _tmp = scan(/\A(?-mix:[0-9a-fA-F]+)/)
    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(";")
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  [text.to_i(16)].pack 'U' ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HexEntity unless _tmp
  return _tmp
end

#_HorizontalRuleObject

HorizontalRule = @NonindentSpace (“*” @Sp “*” @Sp “*” (@Sp “*”)* | “-” @Sp “-” @Sp “-” (@Sp “-”)* | “_” @Sp “_” @Sp “_” (@Sp “_”)*) @Sp @Newline @BlankLine+ { RDoc::Markup::Rule.new 1 }



1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
# File 'lib/rdoc/markdown.rb', line 1895

def _HorizontalRule

  _save = self.pos
  while true # sequence
    _tmp = _NonindentSpace()
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice

      _save2 = self.pos
      while true # sequence
        _tmp = match_string("*")
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = match_string("*")
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = match_string("*")
        unless _tmp
          self.pos = _save2
          break
        end
        while true

          _save4 = self.pos
          while true # sequence
            _tmp = _Sp()
            unless _tmp
              self.pos = _save4
              break
            end
            _tmp = match_string("*")
            unless _tmp
              self.pos = _save4
            end
            break
          end # end sequence

          break unless _tmp
        end
        _tmp = true
        unless _tmp
          self.pos = _save2
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1

      _save5 = self.pos
      while true # sequence
        _tmp = match_string("-")
        unless _tmp
          self.pos = _save5
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save5
          break
        end
        _tmp = match_string("-")
        unless _tmp
          self.pos = _save5
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save5
          break
        end
        _tmp = match_string("-")
        unless _tmp
          self.pos = _save5
          break
        end
        while true

          _save7 = self.pos
          while true # sequence
            _tmp = _Sp()
            unless _tmp
              self.pos = _save7
              break
            end
            _tmp = match_string("-")
            unless _tmp
              self.pos = _save7
            end
            break
          end # end sequence

          break unless _tmp
        end
        _tmp = true
        unless _tmp
          self.pos = _save5
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1

      _save8 = self.pos
      while true # sequence
        _tmp = match_string("_")
        unless _tmp
          self.pos = _save8
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save8
          break
        end
        _tmp = match_string("_")
        unless _tmp
          self.pos = _save8
          break
        end
        _tmp = _Sp()
        unless _tmp
          self.pos = _save8
          break
        end
        _tmp = match_string("_")
        unless _tmp
          self.pos = _save8
          break
        end
        while true

          _save10 = self.pos
          while true # sequence
            _tmp = _Sp()
            unless _tmp
              self.pos = _save10
              break
            end
            _tmp = match_string("_")
            unless _tmp
              self.pos = _save10
            end
            break
          end # end sequence

          break unless _tmp
        end
        _tmp = true
        unless _tmp
          self.pos = _save8
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Sp()
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = _Newline()
    unless _tmp
      self.pos = _save
      break
    end
    _save11 = self.pos
    _tmp = _BlankLine()
    if _tmp
      while true
        _tmp = _BlankLine()
        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save11
    end
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  RDoc::Markup::Rule.new 1 ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HorizontalRule unless _tmp
  return _tmp
end

#_HtmlAttributeObject

HtmlAttribute = (AlphanumericAscii | “-”)+ Spnl (“=” Spnl (Quoted | (!“>” Nonspacechar)+))? Spnl



13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
# File 'lib/rdoc/markdown.rb', line 13839

def _HtmlAttribute

  _save = self.pos
  while true # sequence
    _save1 = self.pos

    _save2 = self.pos
    while true # choice
      _tmp = apply(:_AlphanumericAscii)
      break if _tmp
      self.pos = _save2
      _tmp = match_string("-")
      break if _tmp
      self.pos = _save2
      break
    end # end choice

    if _tmp
      while true

        _save3 = self.pos
        while true # choice
          _tmp = apply(:_AlphanumericAscii)
          break if _tmp
          self.pos = _save3
          _tmp = match_string("-")
          break if _tmp
          self.pos = _save3
          break
        end # end choice

        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save1
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _save4 = self.pos

    _save5 = self.pos
    while true # sequence
      _tmp = match_string("=")
      unless _tmp
        self.pos = _save5
        break
      end
      _tmp = apply(:_Spnl)
      unless _tmp
        self.pos = _save5
        break
      end

      _save6 = self.pos
      while true # choice
        _tmp = apply(:_Quoted)
        break if _tmp
        self.pos = _save6
        _save7 = self.pos

        _save8 = self.pos
        while true # sequence
          _save9 = self.pos
          _tmp = match_string(">")
          _tmp = _tmp ? nil : true
          self.pos = _save9
          unless _tmp
            self.pos = _save8
            break
          end
          _tmp = apply(:_Nonspacechar)
          unless _tmp
            self.pos = _save8
          end
          break
        end # end sequence

        if _tmp
          while true

            _save10 = self.pos
            while true # sequence
              _save11 = self.pos
              _tmp = match_string(">")
              _tmp = _tmp ? nil : true
              self.pos = _save11
              unless _tmp
                self.pos = _save10
                break
              end
              _tmp = apply(:_Nonspacechar)
              unless _tmp
                self.pos = _save10
              end
              break
            end # end sequence

            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save7
        end
        break if _tmp
        self.pos = _save6
        break
      end # end choice

      unless _tmp
        self.pos = _save5
      end
      break
    end # end sequence

    unless _tmp
      _tmp = true
      self.pos = _save4
    end
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlAttribute unless _tmp
  return _tmp
end

#_HtmlBlockObject

HtmlBlock = < (HtmlBlockInTags | HtmlComment | HtmlBlockSelfClosing | HtmlUnclosed) > @BlankLine+ { if html? then RDoc::Markup::Raw.new text end }



8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
# File 'lib/rdoc/markdown.rb', line 8404

def _HtmlBlock

  _save = self.pos
  while true # sequence
    _text_start = self.pos

    _save1 = self.pos
    while true # choice
      _tmp = apply(:_HtmlBlockInTags)
      break if _tmp
      self.pos = _save1
      _tmp = apply(:_HtmlComment)
      break if _tmp
      self.pos = _save1
      _tmp = apply(:_HtmlBlockSelfClosing)
      break if _tmp
      self.pos = _save1
      _tmp = apply(:_HtmlUnclosed)
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    if _tmp
      text = get_text(_text_start)
    end
    unless _tmp
      self.pos = _save
      break
    end
    _save2 = self.pos
    _tmp = _BlankLine()
    if _tmp
      while true
        _tmp = _BlankLine()
        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save2
    end
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  if html? then
              RDoc::Markup::Raw.new text
            end ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlock unless _tmp
  return _tmp
end

#_HtmlBlockAddressObject

HtmlBlockAddress = HtmlBlockOpenAddress (HtmlBlockAddress | !HtmlBlockCloseAddress .)* HtmlBlockCloseAddress



2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
# File 'lib/rdoc/markdown.rb', line 2934

def _HtmlBlockAddress

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenAddress)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockAddress)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseAddress)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseAddress)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockAddress unless _tmp
  return _tmp
end

#_HtmlBlockBlockquoteObject

HtmlBlockBlockquote = HtmlBlockOpenBlockquote (HtmlBlockBlockquote | !HtmlBlockCloseBlockquote .)* HtmlBlockCloseBlockquote



3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
# File 'lib/rdoc/markdown.rb', line 3100

def _HtmlBlockBlockquote

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenBlockquote)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockBlockquote)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseBlockquote)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseBlockquote)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockBlockquote unless _tmp
  return _tmp
end

#_HtmlBlockCenterObject

HtmlBlockCenter = HtmlBlockOpenCenter (HtmlBlockCenter | !HtmlBlockCloseCenter .)* HtmlBlockCloseCenter



3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
# File 'lib/rdoc/markdown.rb', line 3266

def _HtmlBlockCenter

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenCenter)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockCenter)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseCenter)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseCenter)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCenter unless _tmp
  return _tmp
end

#_HtmlBlockCloseAddressObject

HtmlBlockCloseAddress = “<” Spnl “/” (“address” | “ADDRESS”) Spnl “>”



2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
# File 'lib/rdoc/markdown.rb', line 2882

def _HtmlBlockCloseAddress

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("address")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("ADDRESS")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseAddress unless _tmp
  return _tmp
end

#_HtmlBlockCloseBlockquoteObject

HtmlBlockCloseBlockquote = “<” Spnl “/” (“blockquote” | “BLOCKQUOTE”) Spnl “>”



3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
# File 'lib/rdoc/markdown.rb', line 3048

def _HtmlBlockCloseBlockquote

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("blockquote")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("BLOCKQUOTE")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseBlockquote unless _tmp
  return _tmp
end

#_HtmlBlockCloseCenterObject

HtmlBlockCloseCenter = “<” Spnl “/” (“center” | “CENTER”) Spnl “>”



3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
# File 'lib/rdoc/markdown.rb', line 3214

def _HtmlBlockCloseCenter

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("center")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("CENTER")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseCenter unless _tmp
  return _tmp
end

#_HtmlBlockCloseDdObject

HtmlBlockCloseDd = “<” Spnl “/” (“dd” | “DD”) Spnl “>”



6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
# File 'lib/rdoc/markdown.rb', line 6534

def _HtmlBlockCloseDd

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("dd")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("DD")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseDd unless _tmp
  return _tmp
end

#_HtmlBlockCloseDirObject

HtmlBlockCloseDir = “<” Spnl “/” (“dir” | “DIR”) Spnl “>”



3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
# File 'lib/rdoc/markdown.rb', line 3380

def _HtmlBlockCloseDir

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("dir")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("DIR")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseDir unless _tmp
  return _tmp
end

#_HtmlBlockCloseDivObject

HtmlBlockCloseDiv = “<” Spnl “/” (“div” | “DIV”) Spnl “>”



3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
# File 'lib/rdoc/markdown.rb', line 3546

def _HtmlBlockCloseDiv

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("div")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("DIV")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseDiv unless _tmp
  return _tmp
end

#_HtmlBlockCloseDlObject

HtmlBlockCloseDl = “<” Spnl “/” (“dl” | “DL”) Spnl “>”



3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
# File 'lib/rdoc/markdown.rb', line 3712

def _HtmlBlockCloseDl

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("dl")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("DL")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseDl unless _tmp
  return _tmp
end

#_HtmlBlockCloseDtObject

HtmlBlockCloseDt = “<” Spnl “/” (“dt” | “DT”) Spnl “>”



6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
# File 'lib/rdoc/markdown.rb', line 6700

def _HtmlBlockCloseDt

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("dt")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("DT")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseDt unless _tmp
  return _tmp
end

#_HtmlBlockCloseFieldsetObject

HtmlBlockCloseFieldset = “<” Spnl “/” (“fieldset” | “FIELDSET”) Spnl “>”



3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
# File 'lib/rdoc/markdown.rb', line 3878

def _HtmlBlockCloseFieldset

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("fieldset")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("FIELDSET")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseFieldset unless _tmp
  return _tmp
end

#_HtmlBlockCloseFormObject

HtmlBlockCloseForm = “<” Spnl “/” (“form” | “FORM”) Spnl “>”



4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
# File 'lib/rdoc/markdown.rb', line 4044

def _HtmlBlockCloseForm

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("form")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("FORM")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseForm unless _tmp
  return _tmp
end

#_HtmlBlockCloseFramesetObject

HtmlBlockCloseFrameset = “<” Spnl “/” (“frameset” | “FRAMESET”) Spnl “>”



6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
# File 'lib/rdoc/markdown.rb', line 6866

def _HtmlBlockCloseFrameset

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("frameset")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("FRAMESET")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseFrameset unless _tmp
  return _tmp
end

#_HtmlBlockCloseH1Object

HtmlBlockCloseH1 = “<” Spnl “/” (“h1” | “H1”) Spnl “>”



4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
# File 'lib/rdoc/markdown.rb', line 4210

def _HtmlBlockCloseH1

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("h1")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("H1")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseH1 unless _tmp
  return _tmp
end

#_HtmlBlockCloseH2Object

HtmlBlockCloseH2 = “<” Spnl “/” (“h2” | “H2”) Spnl “>”



4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
# File 'lib/rdoc/markdown.rb', line 4376

def _HtmlBlockCloseH2

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("h2")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("H2")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseH2 unless _tmp
  return _tmp
end

#_HtmlBlockCloseH3Object

HtmlBlockCloseH3 = “<” Spnl “/” (“h3” | “H3”) Spnl “>”



4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
# File 'lib/rdoc/markdown.rb', line 4542

def _HtmlBlockCloseH3

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("h3")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("H3")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseH3 unless _tmp
  return _tmp
end

#_HtmlBlockCloseH4Object

HtmlBlockCloseH4 = “<” Spnl “/” (“h4” | “H4”) Spnl “>”



4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
# File 'lib/rdoc/markdown.rb', line 4708

def _HtmlBlockCloseH4

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("h4")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("H4")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseH4 unless _tmp
  return _tmp
end

#_HtmlBlockCloseH5Object

HtmlBlockCloseH5 = “<” Spnl “/” (“h5” | “H5”) Spnl “>”



4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
# File 'lib/rdoc/markdown.rb', line 4874

def _HtmlBlockCloseH5

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("h5")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("H5")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseH5 unless _tmp
  return _tmp
end

#_HtmlBlockCloseH6Object

HtmlBlockCloseH6 = “<” Spnl “/” (“h6” | “H6”) Spnl “>”



5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
# File 'lib/rdoc/markdown.rb', line 5040

def _HtmlBlockCloseH6

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("h6")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("H6")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseH6 unless _tmp
  return _tmp
end

#_HtmlBlockCloseLiObject

HtmlBlockCloseLi = “<” Spnl “/” (“li” | “LI”) Spnl “>”



7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
# File 'lib/rdoc/markdown.rb', line 7032

def _HtmlBlockCloseLi

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("li")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("LI")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseLi unless _tmp
  return _tmp
end

#_HtmlBlockCloseMenuObject

HtmlBlockCloseMenu = “<” Spnl “/” (“menu” | “MENU”) Spnl “>”



5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
# File 'lib/rdoc/markdown.rb', line 5206

def _HtmlBlockCloseMenu

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("menu")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("MENU")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseMenu unless _tmp
  return _tmp
end

#_HtmlBlockCloseNoframesObject

HtmlBlockCloseNoframes = “<” Spnl “/” (“noframes” | “NOFRAMES”) Spnl “>”



5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
# File 'lib/rdoc/markdown.rb', line 5372

def _HtmlBlockCloseNoframes

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("noframes")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("NOFRAMES")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseNoframes unless _tmp
  return _tmp
end

#_HtmlBlockCloseNoscriptObject

HtmlBlockCloseNoscript = “<” Spnl “/” (“noscript” | “NOSCRIPT”) Spnl “>”



5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
# File 'lib/rdoc/markdown.rb', line 5538

def _HtmlBlockCloseNoscript

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("noscript")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("NOSCRIPT")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseNoscript unless _tmp
  return _tmp
end

#_HtmlBlockCloseOlObject

HtmlBlockCloseOl = “<” Spnl “/” (“ol” | “OL”) Spnl “>”



5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
# File 'lib/rdoc/markdown.rb', line 5704

def _HtmlBlockCloseOl

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("ol")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("OL")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseOl unless _tmp
  return _tmp
end

#_HtmlBlockClosePObject

HtmlBlockCloseP = “<” Spnl “/” (“p” | “P”) Spnl “>”



5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
# File 'lib/rdoc/markdown.rb', line 5870

def _HtmlBlockCloseP

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("p")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("P")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseP unless _tmp
  return _tmp
end

#_HtmlBlockClosePreObject

HtmlBlockClosePre = “<” Spnl “/” (“pre” | “PRE”) Spnl “>”



6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
# File 'lib/rdoc/markdown.rb', line 6036

def _HtmlBlockClosePre

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("pre")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("PRE")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockClosePre unless _tmp
  return _tmp
end

#_HtmlBlockCloseScriptObject

HtmlBlockCloseScript = “<” Spnl “/” (“script” | “SCRIPT”) Spnl “>”



8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
# File 'lib/rdoc/markdown.rb', line 8194

def _HtmlBlockCloseScript

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("script")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("SCRIPT")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseScript unless _tmp
  return _tmp
end

#_HtmlBlockCloseTableObject

HtmlBlockCloseTable = “<” Spnl “/” (“table” | “TABLE”) Spnl “>”



6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
# File 'lib/rdoc/markdown.rb', line 6202

def _HtmlBlockCloseTable

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("table")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("TABLE")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseTable unless _tmp
  return _tmp
end

#_HtmlBlockCloseTbodyObject

HtmlBlockCloseTbody = “<” Spnl “/” (“tbody” | “TBODY”) Spnl “>”



7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
# File 'lib/rdoc/markdown.rb', line 7198

def _HtmlBlockCloseTbody

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("tbody")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("TBODY")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseTbody unless _tmp
  return _tmp
end

#_HtmlBlockCloseTdObject

HtmlBlockCloseTd = “<” Spnl “/” (“td” | “TD”) Spnl “>”



7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
# File 'lib/rdoc/markdown.rb', line 7364

def _HtmlBlockCloseTd

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("td")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("TD")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseTd unless _tmp
  return _tmp
end

#_HtmlBlockCloseTfootObject

HtmlBlockCloseTfoot = “<” Spnl “/” (“tfoot” | “TFOOT”) Spnl “>”



7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
# File 'lib/rdoc/markdown.rb', line 7530

def _HtmlBlockCloseTfoot

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("tfoot")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("TFOOT")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseTfoot unless _tmp
  return _tmp
end

#_HtmlBlockCloseThObject

HtmlBlockCloseTh = “<” Spnl “/” (“th” | “TH”) Spnl “>”



7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
# File 'lib/rdoc/markdown.rb', line 7696

def _HtmlBlockCloseTh

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("th")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("TH")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseTh unless _tmp
  return _tmp
end

#_HtmlBlockCloseTheadObject

HtmlBlockCloseThead = “<” Spnl “/” (“thead” | “THEAD”) Spnl “>”



7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
# File 'lib/rdoc/markdown.rb', line 7862

def _HtmlBlockCloseThead

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("thead")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("THEAD")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseThead unless _tmp
  return _tmp
end

#_HtmlBlockCloseTrObject

HtmlBlockCloseTr = “<” Spnl “/” (“tr” | “TR”) Spnl “>”



8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
# File 'lib/rdoc/markdown.rb', line 8028

def _HtmlBlockCloseTr

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("tr")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("TR")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseTr unless _tmp
  return _tmp
end

#_HtmlBlockCloseUlObject

HtmlBlockCloseUl = “<” Spnl “/” (“ul” | “UL”) Spnl “>”



6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
# File 'lib/rdoc/markdown.rb', line 6368

def _HtmlBlockCloseUl

  _save = self.pos
  while true # sequence
    _tmp = match_string("<")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("/")
    unless _tmp
      self.pos = _save
      break
    end

    _save1 = self.pos
    while true # choice
      _tmp = match_string("ul")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("UL")
      break if _tmp
      self.pos = _save1
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Spnl)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(">")
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockCloseUl unless _tmp
  return _tmp
end

#_HtmlBlockDdObject

HtmlBlockDd = HtmlBlockOpenDd (HtmlBlockDd | !HtmlBlockCloseDd .)* HtmlBlockCloseDd



6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
# File 'lib/rdoc/markdown.rb', line 6586

def _HtmlBlockDd

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenDd)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockDd)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseDd)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseDd)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockDd unless _tmp
  return _tmp
end

#_HtmlBlockDirObject

HtmlBlockDir = HtmlBlockOpenDir (HtmlBlockDir | !HtmlBlockCloseDir .)* HtmlBlockCloseDir



3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
# File 'lib/rdoc/markdown.rb', line 3432

def _HtmlBlockDir

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenDir)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockDir)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseDir)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseDir)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockDir unless _tmp
  return _tmp
end

#_HtmlBlockDivObject

HtmlBlockDiv = HtmlBlockOpenDiv (HtmlBlockDiv | !HtmlBlockCloseDiv .)* HtmlBlockCloseDiv



3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
# File 'lib/rdoc/markdown.rb', line 3598

def _HtmlBlockDiv

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenDiv)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockDiv)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseDiv)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseDiv)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockDiv unless _tmp
  return _tmp
end

#_HtmlBlockDlObject

HtmlBlockDl = HtmlBlockOpenDl (HtmlBlockDl | !HtmlBlockCloseDl .)* HtmlBlockCloseDl



3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
# File 'lib/rdoc/markdown.rb', line 3764

def _HtmlBlockDl

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenDl)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockDl)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseDl)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseDl)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockDl unless _tmp
  return _tmp
end

#_HtmlBlockDtObject

HtmlBlockDt = HtmlBlockOpenDt (HtmlBlockDt | !HtmlBlockCloseDt .)* HtmlBlockCloseDt



6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
# File 'lib/rdoc/markdown.rb', line 6752

def _HtmlBlockDt

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenDt)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockDt)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseDt)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseDt)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockDt unless _tmp
  return _tmp
end

#_HtmlBlockFieldsetObject

HtmlBlockFieldset = HtmlBlockOpenFieldset (HtmlBlockFieldset | !HtmlBlockCloseFieldset .)* HtmlBlockCloseFieldset



3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
# File 'lib/rdoc/markdown.rb', line 3930

def _HtmlBlockFieldset

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenFieldset)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockFieldset)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseFieldset)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseFieldset)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockFieldset unless _tmp
  return _tmp
end

#_HtmlBlockFormObject

HtmlBlockForm = HtmlBlockOpenForm (HtmlBlockForm | !HtmlBlockCloseForm .)* HtmlBlockCloseForm



4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
# File 'lib/rdoc/markdown.rb', line 4096

def _HtmlBlockForm

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenForm)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockForm)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseForm)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseForm)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockForm unless _tmp
  return _tmp
end

#_HtmlBlockFramesetObject

HtmlBlockFrameset = HtmlBlockOpenFrameset (HtmlBlockFrameset | !HtmlBlockCloseFrameset .)* HtmlBlockCloseFrameset



6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
# File 'lib/rdoc/markdown.rb', line 6918

def _HtmlBlockFrameset

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenFrameset)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockFrameset)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseFrameset)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseFrameset)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockFrameset unless _tmp
  return _tmp
end

#_HtmlBlockH1Object

HtmlBlockH1 = HtmlBlockOpenH1 (HtmlBlockH1 | !HtmlBlockCloseH1 .)* HtmlBlockCloseH1



4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
# File 'lib/rdoc/markdown.rb', line 4262

def _HtmlBlockH1

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenH1)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockH1)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseH1)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseH1)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockH1 unless _tmp
  return _tmp
end

#_HtmlBlockH2Object

HtmlBlockH2 = HtmlBlockOpenH2 (HtmlBlockH2 | !HtmlBlockCloseH2 .)* HtmlBlockCloseH2



4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
# File 'lib/rdoc/markdown.rb', line 4428

def _HtmlBlockH2

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenH2)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockH2)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseH2)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseH2)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockH2 unless _tmp
  return _tmp
end

#_HtmlBlockH3Object

HtmlBlockH3 = HtmlBlockOpenH3 (HtmlBlockH3 | !HtmlBlockCloseH3 .)* HtmlBlockCloseH3



4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
# File 'lib/rdoc/markdown.rb', line 4594

def _HtmlBlockH3

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenH3)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockH3)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseH3)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseH3)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockH3 unless _tmp
  return _tmp
end

#_HtmlBlockH4Object

HtmlBlockH4 = HtmlBlockOpenH4 (HtmlBlockH4 | !HtmlBlockCloseH4 .)* HtmlBlockCloseH4



4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
# File 'lib/rdoc/markdown.rb', line 4760

def _HtmlBlockH4

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenH4)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockH4)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseH4)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseH4)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockH4 unless _tmp
  return _tmp
end

#_HtmlBlockH5Object

HtmlBlockH5 = HtmlBlockOpenH5 (HtmlBlockH5 | !HtmlBlockCloseH5 .)* HtmlBlockCloseH5



4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
# File 'lib/rdoc/markdown.rb', line 4926

def _HtmlBlockH5

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenH5)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockH5)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4 = self.pos
          _tmp = apply(:_HtmlBlockCloseH5)
          _tmp = _tmp ? nil : true
          self.pos = _save4
          unless _tmp
            self.pos = _save3
            break
          end
          _tmp = get_byte
          unless _tmp
            self.pos = _save3
          end
          break
        end # end sequence

        break if _tmp
        self.pos = _save2
        break
      end # end choice

      break unless _tmp
    end
    _tmp = true
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_HtmlBlockCloseH5)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockH5 unless _tmp
  return _tmp
end

#_HtmlBlockH6Object

HtmlBlockH6 = HtmlBlockOpenH6 (HtmlBlockH6 | !HtmlBlockCloseH6 .)* HtmlBlockCloseH6



5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
# File 'lib/rdoc/markdown.rb', line 5092

def _HtmlBlockH6

  _save = self.pos
  while true # sequence
    _tmp = apply(:_HtmlBlockOpenH6)
    unless _tmp
      self.pos = _save
      break
    end
    while true

      _save2 = self.pos
      while true # choice
        _tmp = apply(:_HtmlBlockH6)
        break if _tmp
        self.pos = _save2

        _save3 = self.pos
        while true # sequence
          _save4