pub fn parse_fn_decl(&mut self, allow_variadic: bool) -> PResult<'a, P<FnDecl>> {

        let (args, variadic) = try!(self.parse_fn_args(true, allow_variadic));
        let ret_ty = try!(self.parse_ret_ty());

        Ok(P(FnDecl {
            inputs: args,
            output: ret_ty,
            variadic: variadic
        }))
    }
/// Parse the argument list and result type of a function declaration
Parse the argument list and result type of a function declaration
Parse the argument list and result type of a function declaration
pub fn parse_fn_decl(&mut self, allow_variadic: bool) -> PResult<'a, P<FnDecl>> {
        let (args, variadic) = try!(self.parse_fn_args(true, allow_variadic));
        let ret_ty = try!(self.parse_ret_ty());
        Ok(P(FnDecl {
            inputs: args,
            output: ret_ty,
            variadic: variadic
        }))
    }
pub fn parse_fn_decl ( & mut self , allow_variadic : bool ) -> PResult < ' a , P < FnDecl > > { let ( args , variadic ) = try ! ( self parse_fn_args ( true allow_variadic ) ) ; let ret_ty = try ! ( self parse_ret_ty ( ) ) ; Ok ( P ( FnDecl { inputs : args , output : ret_ty , variadic : variadic } ) ) }
Parse the argument list and result type of a function declaration
Parse the argument list and result type of a function declaration
&mut self
allow_variadic
bool
&mut self
allow_variadic
bool