method

skip_tkspace

ruby latest stable - Class: RDoc::RubyParser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

skip_tkspace(skip_nl = true)
private

No documentation available.

# File lib/rdoc/parsers/parse_rb.rb, line 1516
    def skip_tkspace(skip_nl = true)
      tokens = []
      while ((tk = get_tk).kind_of?(TkSPACE) ||
             (skip_nl && tk.kind_of?(TkNL)))
        tokens.push tk
      end
      unget_tk(tk)
      tokens
    end