class SyntaxTree::Parser

def on_symbols_add(symbols, word)

on_symbols_add: (Symbols symbols, Word word) -> Symbols
:call-seq:
def on_symbols_add(symbols, word)
  Symbols.new(
    beginning: symbols.beginning,
    elements: symbols.elements << word,
    location: symbols.location.to(word.location)
  )
end