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::[email protected]+Options for instructions on setting up a `.doc_options` file to store your project default.

## 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

  • Image links are not generated correctly

  • 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.


166
167
168
# File 'lib/rdoc/markdown.rb', line 166

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

Instance Attribute Details

#failed_ruleObject (readonly)

Returns the value of attribute failed_rule


307
308
309
# File 'lib/rdoc/markdown.rb', line 307

def failed_rule
  @failed_rule
end

#failing_rule_offsetObject (readonly)

Returns the value of attribute failing_rule_offset


186
187
188
# File 'lib/rdoc/markdown.rb', line 186

def failing_rule_offset
  @failing_rule_offset
end

#posObject

Returns the value of attribute pos


187
188
189
# File 'lib/rdoc/markdown.rb', line 187

def pos
  @pos
end

#resultObject

Returns the value of attribute result


187
188
189
# File 'lib/rdoc/markdown.rb', line 187

def result
  @result
end

#stringObject (readonly)

Returns the value of attribute string


185
186
187
# File 'lib/rdoc/markdown.rb', line 185

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.


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/rdoc/markdown.rb', line 548

def self.extension name
  EXTENSIONS << name

  eval <<-RUBY
    def #{name}?
      extension? __method__
    end

    def #{name}= enable
      extension __method__, enable
    end
  RUBY
end

.parse(markdown) ⇒ Object

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


598
599
600
601
602
# File 'lib/rdoc/markdown.rb', line 598

def self.parse markdown
  parser = new

  parser.parse markdown
end

.rule_info(name, rendered) ⇒ Object


507
508
509
# File 'lib/rdoc/markdown.rb', line 507

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

Instance Method Details

#_AlphanumericObject

Alphanumeric = %literals.Alphanumeric


14590
14591
14592
14593
14594
# File 'lib/rdoc/markdown.rb', line 14590

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

#_AlphanumericAsciiObject

AlphanumericAscii = %literals.AlphanumericAscii


14597
14598
14599
14600
14601
# File 'lib/rdoc/markdown.rb', line 14597

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) }


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
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'lib/rdoc/markdown.rb', line 1126

def _AtxHeading

  _save = self.pos
  while true # sequence
    _tmp = apply(:_AtxStart)
    s = @result
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _tmp = apply(:_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 = apply(:_Sp)
      unless _tmp
        _tmp = true
        self.pos = _save5
      end
      unless _tmp
        self.pos = _save4
        break
      end
      while true
        _tmp = match_string("#")
        break unless _tmp
      end
      _tmp = true
      unless _tmp
        self.pos = _save4
        break
      end
      _tmp = apply(:_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 = apply(:_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


1012
1013
1014
1015
1016
1017
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
# File 'lib/rdoc/markdown.rb', line 1012

def _AtxInline

  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = apply(:_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 = apply(:_Sp)
      unless _tmp
        _tmp = true
        self.pos = _save4
      end
      unless _tmp
        self.pos = _save3
        break
      end
      while true
        _tmp = match_string("#")
        break unless _tmp
      end
      _tmp = true
      unless _tmp
        self.pos = _save3
        break
      end
      _tmp = apply(:_Sp)
      unless _tmp
        self.pos = _save3
        break
      end
      _tmp = apply(:_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 = < (“######” | “#####” | “####” | “###” | “##” | “#”) > { text.length }


1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
# File 'lib/rdoc/markdown.rb', line 1077

def _AtxStart

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

    _save1 = self.pos
    while true # choice
      _tmp = match_string("######")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("#####")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("####")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("###")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("##")
      break if _tmp
      self.pos = _save1
      _tmp = match_string("#")
      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
    @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)


11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
# File 'lib/rdoc/markdown.rb', line 11320

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 !“>” .)+ > “>” { “


11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
# File 'lib/rdoc/markdown.rb', line 11453

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 = apply(:_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 = apply(:_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 }


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
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
# File 'lib/rdoc/markdown.rb', line 11338

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 = apply(:_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 = apply(:_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” }


13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
# File 'lib/rdoc/markdown.rb', line 13994

def _BlankLine

  _save = self.pos
  while true # sequence
    _tmp = apply(:_Sp)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_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)


874
875
876
877
878
879
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
# File 'lib/rdoc/markdown.rb', line 874

def _Block

  _save = self.pos
  while true # sequence
    while true
      _tmp = apply(:_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) }


1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
# File 'lib/rdoc/markdown.rb', line 1572

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 }


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
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/rdoc/markdown.rb', line 1595

def _BlockQuoteRaw

  _save = self.pos
  while true # sequence
    _tmp = apply(:_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 = apply(:_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 = apply(:_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 = apply(:_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 = apply(:_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


14604
14605
14606
14607
14608
# File 'lib/rdoc/markdown.rb', line 14604

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

#_BulletObject

Bullet = !HorizontalRule NonindentSpace (“+” | “*” | “-”) Spacechar+


2160
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
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
# File 'lib/rdoc/markdown.rb', line 2160

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 = apply(:_NonindentSpace)
    unless _tmp
      self.pos = _save
      break
    end

    _save2 = self.pos
    while true # choice
      _tmp = match_string("+")
      break if _tmp
      self.pos = _save2
      _tmp = match_string("*")
      break if _tmp
      self.pos = _save2
      _tmp = match_string("-")
      break if _tmp
      self.pos = _save2
      break
    end # end choice

    unless _tmp
      self.pos = _save
      break
    end
    _save3 = self.pos
    _tmp = apply(:_Spacechar)
    if _tmp
      while true
        _tmp = apply(:_Spacechar)
        break unless _tmp
      end
      _tmp = true
    else
      self.pos = _save3
    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) }


2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
# File 'lib/rdoc/markdown.rb', line 2218

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


14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
# File 'lib/rdoc/markdown.rb', line 14719

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}” }


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
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
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
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
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
# File 'lib/rdoc/markdown.rb', line 12257

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 = apply(:_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
            _save12 = self.pos
            _tmp = match_string("`")
            if _tmp
              while true
                _tmp = match_string("`")
                break unless _tmp
              end
              _tmp = true
            else
              self.pos = _save12
            end
            unless _tmp
              self.pos = _save10
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save4

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

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

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

            _save16 = self.pos
            while true # choice
              _tmp = apply(:_Spacechar)
              break if _tmp
              self.pos = _save16

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

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

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

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

        if _tmp
          while true

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

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

              if _tmp
                while true

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

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

              _save25 = self.pos
              while true # sequence
                _save26 = self.pos
                _tmp = apply(:_Ticks1)
                _tmp = _tmp ? nil : true
                self.pos = _save26
                unless _tmp
                  self.pos = _save25
                  break
                end
                _save27 = self.pos
                _tmp = match_string("`")
                if _tmp
                  while true
                    _tmp = match_string("`")
                    break unless _tmp
                  end
                  _tmp = true
                else
                  self.pos = _save27
                end
                unless _tmp
                  self.pos = _save25
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save19

              _save28 = self.pos
              while true # sequence
                _save29 = self.pos

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

                _tmp = _tmp ? nil : true
                self.pos = _save29
                unless _tmp
                  self.pos = _save28
                  break
                end

                _save31 = self.pos
                while true # choice
                  _tmp = apply(:_Spacechar)
                  break if _tmp
                  self.pos = _save31

                  _save32 = self.pos
                  while true # sequence
                    _tmp = apply(:_Newline)
                    unless _tmp
                      self.pos = _save32
                      break
                    end
                    _save33 = self.pos
                    _tmp = apply(:_BlankLine)
                    _tmp = _tmp ? nil : true
                    self.pos = _save33
                    unless _tmp
                      self.pos = _save32
                    end
                    break
                  end # end sequence

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

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

              break if _tmp
              self.pos = _save19
              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 = apply(:_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

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

        _save36 = self.pos
        while true # choice
          _save37 = self.pos

          _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

          if _tmp
            while true

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

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save37
          end
          break if _tmp
          self.pos = _save36

          _save42 = self.pos
          while true # sequence
            _save43 = self.pos
            _tmp = apply(:_Ticks2)
            _tmp = _tmp ? nil : true
            self.pos = _save43
            unless _tmp
              self.pos = _save42
              break
            end
            _save44 = self.pos
            _tmp = match_string("`")
            if _tmp
              while true
                _tmp = match_string("`")
                break unless _tmp
              end
              _tmp = true
            else
              self.pos = _save44
            end
            unless _tmp
              self.pos = _save42
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save36

          _save45 = self.pos
          while true # sequence
            _save46 = self.pos

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

            _tmp = _tmp ? nil : true
            self.pos = _save46
            unless _tmp
              self.pos = _save45
              break
            end

            _save48 = self.pos
            while true # choice
              _tmp = apply(:_Spacechar)
              break if _tmp
              self.pos = _save48

              _save49 = self.pos
              while true # sequence
                _tmp = apply(:_Newline)
                unless _tmp
                  self.pos = _save49
                  break
                end
                _save50 = self.pos
                _tmp = apply(:_BlankLine)
                _tmp = _tmp ? nil : true
                self.pos = _save50
                unless _tmp
                  self.pos = _save49
                end
                break
              end # end sequence

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

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

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

        if _tmp
          while true

            _save51 = self.pos
            while true # choice
              _save52 = self.pos

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

              if _tmp
                while true

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

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save52
              end
              break if _tmp
              self.pos = _save51

              _save57 = self.pos
              while true # sequence
                _save58 = self.pos
                _tmp = apply(:_Ticks2)
                _tmp = _tmp ? nil : true
                self.pos = _save58
                unless _tmp
                  self.pos = _save57
                  break
                end
                _save59 = self.pos
                _tmp = match_string("`")
                if _tmp
                  while true
                    _tmp = match_string("`")
                    break unless _tmp
                  end
                  _tmp = true
                else
                  self.pos = _save59
                end
                unless _tmp
                  self.pos = _save57
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save51

              _save60 = self.pos
              while true # sequence
                _save61 = self.pos

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

                _tmp = _tmp ? nil : true
                self.pos = _save61
                unless _tmp
                  self.pos = _save60
                  break
                end

                _save63 = self.pos
                while true # choice
                  _tmp = apply(:_Spacechar)
                  break if _tmp
                  self.pos = _save63

                  _save64 = self.pos
                  while true # sequence
                    _tmp = apply(:_Newline)
                    unless _tmp
                      self.pos = _save64
                      break
                    end
                    _save65 = self.pos
                    _tmp = apply(:_BlankLine)
                    _tmp = _tmp ? nil : true
                    self.pos = _save65
                    unless _tmp
                      self.pos = _save64
                    end
                    break
                  end # end sequence

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

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

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

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

      break if _tmp
      self.pos = _save1

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

        _save68 = self.pos
        while true # choice
          _save69 = self.pos

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

          if _tmp
            while true

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

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save69
          end
          break if _tmp
          self.pos = _save68

          _save74 = self.pos
          while true # sequence
            _save75 = self.pos
            _tmp = apply(:_Ticks3)
            _tmp = _tmp ? nil : true
            self.pos = _save75
            unless _tmp
              self.pos = _save74
              break
            end
            _save76 = self.pos
            _tmp = match_string("`")
            if _tmp
              while true
                _tmp = match_string("`")
                break unless _tmp
              end
              _tmp = true
            else
              self.pos = _save76
            end
            unless _tmp
              self.pos = _save74
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save68

          _save77 = self.pos
          while true # sequence
            _save78 = self.pos

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

            _tmp = _tmp ? nil : true
            self.pos = _save78
            unless _tmp
              self.pos = _save77
              break
            end

            _save80 = self.pos
            while true # choice
              _tmp = apply(:_Spacechar)
              break if _tmp
              self.pos = _save80

              _save81 = self.pos
              while true # sequence
                _tmp = apply(:_Newline)
                unless _tmp
                  self.pos = _save81
                  break
                end
                _save82 = self.pos
                _tmp = apply(:_BlankLine)
                _tmp = _tmp ? nil : true
                self.pos = _save82
                unless _tmp
                  self.pos = _save81
                end
                break
              end # end sequence

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

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

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

        if _tmp
          while true

            _save83 = self.pos
            while true # choice
              _save84 = self.pos

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

              if _tmp
                while true

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

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save84
              end
              break if _tmp
              self.pos = _save83

              _save89 = self.pos
              while true # sequence
                _save90 = self.pos
                _tmp = apply(:_Ticks3)
                _tmp = _tmp ? nil : true
                self.pos = _save90
                unless _tmp
                  self.pos = _save89
                  break
                end
                _save91 = self.pos
                _tmp = match_string("`")
                if _tmp
                  while true
                    _tmp = match_string("`")
                    break unless _tmp
                  end
                  _tmp = true
                else
                  self.pos = _save91
                end
                unless _tmp
                  self.pos = _save89
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save83

              _save92 = self.pos
              while true # sequence
                _save93 = self.pos

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

                _tmp = _tmp ? nil : true
                self.pos = _save93
                unless _tmp
                  self.pos = _save92
                  break
                end

                _save95 = self.pos
                while true # choice
                  _tmp = apply(:_Spacechar)
                  break if _tmp
                  self.pos = _save95

                  _save96 = self.pos
                  while true # sequence
                    _tmp = apply(:_Newline)
                    unless _tmp
                      self.pos = _save96
                      break
                    end
                    _save97 = self.pos
                    _tmp = apply(:_BlankLine)
                    _tmp = _tmp ? nil : true
                    self.pos = _save97
                    unless _tmp
                      self.pos = _save96
                    end
                    break
                  end # end sequence

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

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

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

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

      break if _tmp
      self.pos = _save1

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

        _save100 = self.pos
        while true # choice
          _save101 = self.pos

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

          if _tmp
            while true

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

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save101
          end
          break if _tmp
          self.pos = _save100

          _save106 = self.pos
          while true # sequence
            _save107 = self.pos
            _tmp = apply(:_Ticks4)
            _tmp = _tmp ? nil : true
            self.pos = _save107
            unless _tmp
              self.pos = _save106
              break
            end
            _save108 = self.pos
            _tmp = match_string("`")
            if _tmp
              while true
                _tmp = match_string("`")
                break unless _tmp
              end
              _tmp = true
            else
              self.pos = _save108
            end
            unless _tmp
              self.pos = _save106
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save100

          _save109 = self.pos
          while true # sequence
            _save110 = self.pos

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

            _tmp = _tmp ? nil : true
            self.pos = _save110
            unless _tmp
              self.pos = _save109
              break
            end

            _save112 = self.pos
            while true # choice
              _tmp = apply(:_Spacechar)
              break if _tmp
              self.pos = _save112

              _save113 = self.pos
              while true # sequence
                _tmp = apply(:_Newline)
                unless _tmp
                  self.pos = _save113
                  break
                end
                _save114 = self.pos
                _tmp = apply(:_BlankLine)
                _tmp = _tmp ? nil : true
                self.pos = _save114
                unless _tmp
                  self.pos = _save113
                end
                break
              end # end sequence

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

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

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

        if _tmp
          while true

            _save115 = self.pos
            while true # choice
              _save116 = self.pos

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

              if _tmp
                while true

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

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save116
              end
              break if _tmp
              self.pos = _save115

              _save121 = self.pos
              while true # sequence
                _save122 = self.pos
                _tmp = apply(:_Ticks4)
                _tmp = _tmp ? nil : true
                self.pos = _save122
                unless _tmp
                  self.pos = _save121
                  break
                end
                _save123 = self.pos
                _tmp = match_string("`")
                if _tmp
                  while true
                    _tmp = match_string("`")
                    break unless _tmp
                  end
                  _tmp = true
                else
                  self.pos = _save123
                end
                unless _tmp
                  self.pos = _save121
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save115

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

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

                _tmp = _tmp ? nil : true
                self.pos = _save125
                unless _tmp
                  self.pos = _save124
                  break
                end

                _save127 = self.pos
                while true # choice
                  _tmp = apply(:_Spacechar)
                  break if _tmp
                  self.pos = _save127

                  _save128 = self.pos
                  while true # sequence
                    _tmp = apply(:_Newline)
                    unless _tmp
                      self.pos = _save128
                      break
                    end
                    _save129 = self.pos
                    _tmp = apply(:_BlankLine)
                    _tmp = _tmp ? nil : true
                    self.pos = _save129
                    unless _tmp
                      self.pos = _save128
                    end
                    break
                  end # end sequence

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

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

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

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

      break if _tmp
      self.pos = _save1

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

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

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

          if _tmp
            while true

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

              break unless _tmp
            end
            _tmp = true
          else
            self.pos = _save133
          end
          break if _tmp
          self.pos = _save132

          _save138 = self.pos
          while true # sequence
            _save139 = self.pos
            _tmp = apply(:_Ticks5)
            _tmp = _tmp ? nil : true
            self.pos = _save139
            unless _tmp
              self.pos = _save138
              break
            end
            _save140 = self.pos
            _tmp = match_string("`")
            if _tmp
              while true
                _tmp = match_string("`")
                break unless _tmp
              end
              _tmp = true
            else
              self.pos = _save140
            end
            unless _tmp
              self.pos = _save138
            end
            break
          end # end sequence

          break if _tmp
          self.pos = _save132

          _save141 = self.pos
          while true # sequence
            _save142 = self.pos

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

            _tmp = _tmp ? nil : true
            self.pos = _save142
            unless _tmp
              self.pos = _save141
              break
            end

            _save144 = self.pos
            while true # choice
              _tmp = apply(:_Spacechar)
              break if _tmp
              self.pos = _save144

              _save145 = self.pos
              while true # sequence
                _tmp = apply(:_Newline)
                unless _tmp
                  self.pos = _save145
                  break
                end
                _save146 = self.pos
                _tmp = apply(:_BlankLine)
                _tmp = _tmp ? nil : true
                self.pos = _save146
                unless _tmp
                  self.pos = _save145
                end
                break
              end # end sequence

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

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

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

        if _tmp
          while true

            _save147 = self.pos
            while true # choice
              _save148 = self.pos

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

              if _tmp
                while true

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

                  break unless _tmp
                end
                _tmp = true
              else
                self.pos = _save148
              end
              break if _tmp
              self.pos = _save147

              _save153 = self.pos
              while true # sequence
                _save154 = self.pos
                _tmp = apply(:_Ticks5)
                _tmp = _tmp ? nil : true
                self.pos = _save154
                unless _tmp
                  self.pos = _save153
                  break
                end
                _save155 = self.pos
                _tmp = match_string("`")
                if _tmp
                  while true
                    _tmp = match_string("`")
                    break unless _tmp
                  end
                  _tmp = true
                else
                  self.pos = _save155
                end
                unless _tmp
                  self.pos = _save153
                end
                break
              end # end sequence

              break if _tmp
              self.pos = _save147

              _save156 = self.pos
              while true # sequence
                _save157 = self.pos

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

                _tmp = _tmp ? nil : true
                self.pos = _save157
                unless _tmp
                  self.pos = _save156
                  break
                end

                _save159 = self.pos
                while true # choice
                  _tmp = apply(:_Spacechar)
                  break if _tmp
                  self.pos = _save159

                  _save160 = self.pos
                  while true # sequence
                    _tmp = apply(:_Newline)
                    unless _tmp
                      self.pos = _save160
                      break
                    end
                    _save161 = self.pos
                    _tmp = apply(:_BlankLine)
                    _tmp = _tmp ? nil : true
                    self.pos = _save161
                    unless _tmp
                      self.pos = _save160
                    end
                    break
                  end # end sequence

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

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

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

            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save131
        end
        if _tmp
          text = get_text(_text_start)
        end
        unless _tmp
          self.pos = _save130
          break
        end
        _tmp = apply(:_Sp)
        unless _tmp
          self.pos = _save130
          break
        end
        _tmp = apply(:_Ticks5)
        unless _tmp
          self.pos = _save130
        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 }


15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
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
15665
15666
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
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
# File 'lib/rdoc/markdown.rb', line 15623

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 = apply(:_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
        _save13 = self.pos
        _tmp = match_string("`")
        if _tmp
          while true
            _tmp = match_string("`")
            break unless _tmp
          end
          _tmp = true
        else
          self.pos = _save13
        end
        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 = apply(:_Newline)
      break if _tmp
      self.pos = _save5
      break
    end # end choice

    if _tmp
      while true

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

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

          if _tmp
            while true

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

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

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

          break if _tmp
          self.pos = _save14
          _tmp = apply(:_Spacechar)
          break if _tmp
          self.pos = _save14
          _tmp = apply(:_Newline)
          break if _tmp
          self.pos = _save14
          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 = apply(:_Sp)
    unless _tmp
      self.pos = _save
      break
    end
    while true
      _tmp = apply(:_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' }


14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
# File 'lib/rdoc/markdown.rb', line 14678

def _DecEntity

  _save = self.pos
  while true # sequence
    _tmp = match_string("&")
    unless _tmp
      self.pos = _save
      break
    end
    _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 }


15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
# File 'lib/rdoc/markdown.rb', line 15899

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 }


16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
# File 'lib/rdoc/markdown.rb', line 16042

def _DefinitionListDefinition

  _save = self.pos
  while true # sequence
    _tmp = apply(:_NonindentSpace)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string(":")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Space)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Inlines)
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _tmp = apply(:_BlankLine)
    if _tmp
      while true
        _tmp = apply(:_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 }


15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
# File 'lib/rdoc/markdown.rb', line 15943

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 }


16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
# File 'lib/rdoc/markdown.rb', line 16009

def _DefinitionListLabel

  _save = self.pos
  while true # sequence
    _tmp = apply(:_StrChunk)
    label = @result
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Sp)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_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]


14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
# File 'lib/rdoc/markdown.rb', line 14576

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) }


834
835
836
837
838
839
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
# File 'lib/rdoc/markdown.rb', line 834

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)


10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
# File 'lib/rdoc/markdown.rb', line 10038

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 }


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
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
# File 'lib/rdoc/markdown.rb', line 10140

def _EmphStar

  _save = self.pos
  while true # sequence
    _tmp = apply(:_OneStarOpen)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_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 }


10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
# File 'lib/rdoc/markdown.rb', line 10297

def _EmphUl

  _save = self.pos
  while true # sequence
    _tmp = apply(:_OneUlOpen)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_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 = “”


11832
11833
11834
11835
11836
# File 'lib/rdoc/markdown.rb', line 11832

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

#_EndlineObject

Endline = (LineBreak | TerminalEndline | NormalEndline)


9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
# File 'lib/rdoc/markdown.rb', line 9569

def _Endline

  _save = self.pos
  while true # choice
    _tmp = apply(:_LineBreak)
    break if _tmp
    self.pos = _save
    _tmp = apply(:_TerminalEndline)
    break if _tmp
    self.pos = _save
    _tmp = apply(:_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 }


9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
# File 'lib/rdoc/markdown.rb', line 9532

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+


2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
# File 'lib/rdoc/markdown.rb', line 2707

def _Enumerator

  _save = self.pos
  while true # sequence
    _tmp = apply(:_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 = apply(:_Spacechar)
    if _tmp
      while true
        _tmp = apply(:_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 = !.


14388
14389
14390
14391
14392
14393
14394
14395
# File 'lib/rdoc/markdown.rb', line 14388

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 }


9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
# File 'lib/rdoc/markdown.rb', line 9493

def _EscapedChar

  _save = self.pos
  while true # sequence
    _tmp = match_string("\\")
    unless _tmp
      self.pos = _save
      break
    end
    _save1 = self.pos
    _tmp = apply(:_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” }


10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
# File 'lib/rdoc/markdown.rb', line 10877

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 = apply(:_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 = apply(:_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? } “^”


15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
# File 'lib/rdoc/markdown.rb', line 15148

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)


1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
# File 'lib/rdoc/markdown.rb', line 1554

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 = “&” “#” /[Xx]/ < /[0-9a-fA-F]+/ > “;” { [text.to_i(16)].pack 'U' }


14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
# File 'lib/rdoc/markdown.rb', line 14632

def _HexEntity

  _save = self.pos
  while true # sequence
    _tmp = match_string("&")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = match_string("#")
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = scan(/\A(?-mix:[Xx])/)
    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 }


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
2115
2116
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
# File 'lib/rdoc/markdown.rb', line 1938

def _HorizontalRule

  _save = self.pos
  while true # sequence
    _tmp = apply(:_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 = apply(:_Sp)
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = match_string("*")
        unless _tmp
          self.pos = _save2
          break
        end
        _tmp = apply(:_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 = apply(:_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 = apply(:_Sp)
        unless _tmp
          self.pos = _save5
          break
        end
        _tmp = match_string("-")
        unless _tmp
          self.pos = _save5
          break
        end
        _tmp = apply(:_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 = apply(:_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 = apply(:_Sp)
        unless _tmp
          self.pos = _save8
          break
        end
        _tmp = match_string("_")
        unless _tmp
          self.pos = _save8
          break
        end
        _tmp = apply(:_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 = apply(:_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 = apply(:_Sp)
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Newline)
    unless _tmp
      self.pos = _save
      break
    end
    _save11 = self.pos
    _tmp = apply(:_BlankLine)
    if _tmp
      while true
        _tmp = apply(:_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


14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
# File 'lib/rdoc/markdown.rb', line 14119

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 }


8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
# File 'lib/rdoc/markdown.rb', line 8461

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 = apply(:_BlankLine)
    if _tmp
      while true
        _tmp = apply(:_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


2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
# File 'lib/rdoc/markdown.rb', line 2991

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


3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
# File 'lib/rdoc/markdown.rb', line 3157

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


3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
# File 'lib/rdoc/markdown.rb', line 3323

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 2939

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 3105

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 3271

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 6591

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 3437

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 3603

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 3769

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 6757

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 3935

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 4101

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 6923

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 4267

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 4433

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 4599

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 4765

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 4931

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 “>”


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
# File 'lib/rdoc/markdown.rb', line 5097

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 “>”


7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
# File 'lib/rdoc/markdown.rb', line 7089

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 “>”


5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
# File 'lib/rdoc/markdown.rb', line 5263

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 “>”


5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
# File 'lib/rdoc/markdown.rb', line 5429

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 “>”


5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
# File 'lib/rdoc/markdown.rb', line 5595

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 “>”


5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
# File 'lib/rdoc/markdown.rb', line 5761

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 “>”


5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
# File 'lib/rdoc/markdown.rb', line 5927

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 “>”


6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
# File 'lib/rdoc/markdown.rb', line 6093

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 “>”


8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
# File 'lib/rdoc/markdown.rb', line 8251

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 “>”


6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
# File 'lib/rdoc/markdown.rb', line 6259

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 “>”


7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
# File 'lib/rdoc/markdown.rb', line 7255

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 “>”


7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
# File 'lib/rdoc/markdown.rb', line 7421

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 “>”


7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
# File 'lib/rdoc/markdown.rb', line 7587

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 “>”


7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
# File 'lib/rdoc/markdown.rb', line 7753

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 “>”


7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
# File 'lib/rdoc/markdown.rb', line 7919

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 “>”


8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
# File 'lib/rdoc/markdown.rb', line 8085

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 “>”


6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
# File 'lib/rdoc/markdown.rb', line 6425

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


6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
# File 'lib/rdoc/markdown.rb', line 6643

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


3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
# File 'lib/rdoc/markdown.rb', line 3489

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


3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
# File 'lib/rdoc/markdown.rb', line 3655

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


3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
# File 'lib/rdoc/markdown.rb', line 3821

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


6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
# File 'lib/rdoc/markdown.rb', line 6809

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


3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
# File 'lib/rdoc/markdown.rb', line 3987

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


4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
# File 'lib/rdoc/markdown.rb', line 4153

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


6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
# File 'lib/rdoc/markdown.rb', line 6975

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


4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'lib/rdoc/markdown.rb', line 4319

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


4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
# File 'lib/rdoc/markdown.rb', line 4485

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


4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
# File 'lib/rdoc/markdown.rb', line 4651

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


4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
# File 'lib/rdoc/markdown.rb', line 4817

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


4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
# File 'lib/rdoc/markdown.rb', line 4983

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


5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
# File 'lib/rdoc/markdown.rb', line 5149

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 = self.pos
          _tmp = apply(:_HtmlBlockCloseH6)
          _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(:_HtmlBlockCloseH6)
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence

  set_failed_rule :_HtmlBlockH6 unless _tmp
  return _tmp
end

#_HtmlBlockInTagsObject