class SyntaxTree::Parser

def on_kwrest_param(name)

Experimental RBS support (using type sampling data from the type_fusion project).

def on_kwrest_param: (SyntaxTree::Ident name) -> untyped

This signature was generated using 1 sample from 1 application.

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