fn parse_fn_block_decl(&mut self) -> PResult<'a, P<FnDecl>> {
        let inputs_captures = {
            if self.eat(&token::OrOr) {
                Vec::new()
            } else {
                try!(self.expect(&token::BinOp(token::Or)));
                try!(self.parse_obsolete_closure_kind());
                let args = self.parse_seq_to_before_end(
                    &token::BinOp(token::Or),
                    SeqSep::trailing_allowed(token::Comma),
                    |p| p.parse_fn_block_arg()
                );
                self.bump();
                args
            }
        };
        let output = try!(self.parse_ret_ty());

        Ok(P(FnDecl {
            inputs: inputs_captures,
            output: output,
            variadic: false
        }))
    }
// parse the |arg, arg| header on a lambda
parse the |arg, arg| header on a lambda
parse the |arg arg| header on a lambda
fn parse_fn_block_decl(&mut self) -> PResult<'a, P<FnDecl>> {
        let inputs_captures = {
            if self.eat(&token::OrOr) {
                Vec::new()
            } else {
                try!(self.expect(&token::BinOp(token::Or)));
                try!(self.parse_obsolete_closure_kind());
                let args = self.parse_seq_to_before_end(
                    &token::BinOp(token::Or),
                    SeqSep::trailing_allowed(token::Comma),
                    |p| p.parse_fn_block_arg()
                );
                self.bump();
                args
            }
        };
        let output = try!(self.parse_ret_ty());
        Ok(P(FnDecl {
            inputs: inputs_captures,
            output: output,
            variadic: false
        }))
    }
fn parse_fn_block_decl ( & mut self ) -> PResult < ' a , P < FnDecl > > { let inputs_captures = { if self . eat ( & token :: OrOr ) { Vec :: new ( ) } else { try ! ( self expect ( token BinOp ( token Or ) ) ) ; try ! ( self parse_obsolete_closure_kind ( ) ) ; let args = self . parse_seq_to_before_end ( & token :: BinOp ( token :: Or ) , SeqSep :: trailing_allowed ( token :: Comma ) , | p | p . parse_fn_block_arg ( ) ) ; self . bump ( ) ; args } } ; let output = try ! ( self parse_ret_ty ( ) ) ; Ok ( P ( FnDecl { inputs : inputs_captures , output : output , variadic : false } ) ) }
parse the |arg, arg| header on a lambda
parse the |arg arg| header on a lambda
&mut self
&mut self