_ContinueStatement

in doc-src/parsejs/lib/parsejs/grammar.kpeg.rb [3544:3626]


  def _ContinueStatement

    _save = self.pos
    while true # choice

      _save1 = self.pos
      while true # sequence
        _tmp = apply(:_ContinueTok)
        unless _tmp
          self.pos = _save1
          break
        end
        _save2 = self.pos
        _tmp = apply(:_SnoLB)
        unless _tmp
          _tmp = true
          self.pos = _save2
        end
        unless _tmp
          self.pos = _save1
          break
        end
        _tmp = apply(:_Identifier)
        id = @result
        unless _tmp
          self.pos = _save1
          break
        end
        _tmp = apply(:_EOS)
        unless _tmp
          self.pos = _save1
          break
        end
        @result = begin; continue_statement(id); end
        _tmp = true
        unless _tmp
          self.pos = _save1
        end
        break
      end # end sequence

      break if _tmp
      self.pos = _save

      _save3 = self.pos
      while true # sequence
        _tmp = apply(:_ContinueTok)
        unless _tmp
          self.pos = _save3
          break
        end
        _save4 = self.pos
        _tmp = apply(:_SnoLB)
        unless _tmp
          _tmp = true
          self.pos = _save4
        end
        unless _tmp
          self.pos = _save3
          break
        end
        _tmp = apply(:_EOSnoLB)
        unless _tmp
          self.pos = _save3
          break
        end
        @result = begin; continue_statement(nil); end
        _tmp = true
        unless _tmp
          self.pos = _save3
        end
        break
      end # end sequence

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

    set_failed_rule :_ContinueStatement unless _tmp
    return _tmp
  end