class SyntaxTree::Parser

def on_rest_param(name)

on_rest_param: ((nil | Ident) name) -> RestParam
:call-seq:
def on_rest_param(name)
  location = consume_operator(:*).location
  location = location.to(name.location) if name
  RestParam.new(name: name, location: location)
end