class SyntaxTree::Parser

def on_word_add(word, part)

) -> Word
(StringEmbExpr | StringDVar | TStringContent) part
Word word,
on_word_add: (
:call-seq:
def on_word_add(word, part)
  location =
    word.parts.empty? ? part.location : word.location.to(part.location)
  Word.new(parts: word.parts << part, location: location)
end