class SyntaxTree::Parser

def on_blockarg(name)

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

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

This signature was generated using 1 sample from 1 application.

on_blockarg: (Ident name) -> BlockArg
:call-seq:
def on_blockarg(name)
  operator = consume_operator(:&)
  location = operator.location
  location = location.to(name.location) if name
  BlockArg.new(name: name, location: location)
end