Skip to content
instance method

Prism::Translation::Parser::Builder#block

block(method_call, begin_t, args, body, end_t)

The following three lines have been added to support the it block parameter syntax in the source code below.

if args.type == :itarg block_type = :itblock args = :it

github.com/whitequark/parser/blob/v3.3.7.1/lib/parser/builders/default.rb#L1122-L1155

See also #itarg