class SyntaxTree::Parser

def on_yield(arguments)

on_yield: ((Args | Paren) arguments) -> YieldNode
:call-seq:
def on_yield(arguments)
  keyword = consume_keyword(:yield)
  YieldNode.new(
    arguments: arguments,
    location: keyword.location.to(arguments.location)
  )
end