class YARD::Parser::Ruby::Legacy::Statement

def clean_tokens(tokens)

def clean_tokens(tokens)
  last_tk = nil
  tokens.reject do |tk|
    tk.is_a?(RubyToken::TkNL) ||
      (last_tk.is_a?(RubyToken::TkSPACE) &&
      last_tk.class == tk.class) && last_tk = tk
  end
end