fn default_return_value(&self, ecx: &mut ExtCtxt) -> Option<P<ast::Expr>> {
            let nil_path = ecx.path_global(DUMMY_SP, vec![
                ast::Ident::from_str(self.plugger_crate_name()),
                ast::Ident::from_str("Value"),
                ast::Ident::from_str("nil"),
            ]);
            let nil_expr = ecx.expr_path(nil_path);
            Some(ecx.expr_call(DUMMY_SP, nil_expr, Vec::new()))
        }
// We want all values without return values to automatically gain a return
// value of `nil`.
We want all values without return values to automatically gain a return
value of `nil`.
We want all values without return values to automatically gain a return value of ` nil ` .
fn default_return_value(&self, ecx: &mut ExtCtxt) -> Option<P<ast::Expr>> {
            let nil_path = ecx.path_global(DUMMY_SP, vec![
                ast::Ident::from_str(self.plugger_crate_name()),
                ast::Ident::from_str("Value"),
                ast::Ident::from_str("nil"),
            ]);
            let nil_expr = ecx.expr_path(nil_path);
            Some(ecx.expr_call(DUMMY_SP, nil_expr, Vec::new()))
        }
fn default_return_value ( & self , ecx : & mut ExtCtxt ) -> Option < P < ast :: Expr > > { let nil_path = ecx . path_global ( DUMMY_SP , vec ! [ ast Ident from_str ( self plugger_crate_name ( ) ) ast Ident from_str ( " " ) ast Ident from_str ( " " ) ] ) ; let nil_expr = ecx . expr_path ( nil_path ) ; Some ( ecx . expr_call ( DUMMY_SP , nil_expr , Vec :: new ( ) ) ) }
We want all values without return values to automatically gain a return
value of `nil`.
We want all values without return values to automatically gain a return value of ` nil ` .
&self
ecx
&mut ExtCtxt
&self
ecx
&mut ExtCtxt