class YARD::Parser::Ruby::Legacy::TokenList

def to_s(full_statement = false, show_block = true)

def to_s(full_statement = false, show_block = true)
  inject([]) do |acc, token|
    break acc if !full_statement && TkStatementEnd === token
    acc << (!show_block && TkBlockContents === token ? "" : token.text)
  end.join
end