--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: A parser that maps current parser result to a new result using the given block. If the current parser result is an array, the array elements are expanded and then passed as parameters to the block.
- !ruby/struct:SM::Flow::P 
  body: Different from Parser#mapn, this method does not need to be combined with any Parser object. It is rather an independent Parser object that maps the <em>current</em> parser result.
- !ruby/struct:SM::Flow::P 
  body: parser1.mapn{|x,y|...} is equivalent to parser1 &gt;&gt; mapn{|x,y|...}
full_name: RParsec::Parsers#mapn
is_singleton: false
name: mapn
params: (&block)
visibility: public
