class RDoc::Parser::RipperStateLex

def get_words_tk(tk)

def get_words_tk(tk)
 = ''
token = tk[:text]
quote = tk[:text].rstrip[-1]
o = tk[:line_no]
o = tk[:char_no]
= tk[:state]
ote =
 start_quote
 ?( then ?)
 ?[ then ?]
 ?{ then ?}
 ?< then ?>
 start_quote
ken = nil
o
 get_squashed_tk
k.nil?
d_token = end_quote
eak
f :on_tstring_content == tk[:kind] then
ring += tk[:text]
f :on_words_sep == tk[:kind] or :on_tstring_end == tk[:kind] then
 end_quote == tk[:text].strip then
end_token = tk[:text]
break
se
string += tk[:text]
d

ring += tk[:text]
 "#{start_token}#{string}#{end_token}"
new(line_no, char_no, :on_dstring, text, state)