pub fn common_marshall_path(ecx: &mut ExtCtxt, original_fn: Ident, lang: &Language) -> Path {
        let mut path = ecx.path(DUMMY_SP, vec![Ident::from_str("Self"),
                                common_marshall_name(original_fn)]);

        path.segments.last_mut().unwrap().parameters = Some(P(ast::PathParameters::AngleBracketed(
            ast::AngleBracketedParameterData {
                span: DUMMY_SP,
                lifetimes: Vec::new(),
                types: vec![lang.marshall_ty(ecx)],
                bindings: Vec::new(),
            }
        )));
        path
    }
/// Gets a path to the common marshall function.
Gets a path to the common marshall function.
Gets a path to the common marshall function .
pub fn common_marshall_path(ecx: &mut ExtCtxt, original_fn: Ident, lang: &Language) -> Path {
        let mut path = ecx.path(DUMMY_SP, vec![Ident::from_str("Self"),
                                common_marshall_name(original_fn)]);
        path.segments.last_mut().unwrap().parameters = Some(P(ast::PathParameters::AngleBracketed(
            ast::AngleBracketedParameterData {
                span: DUMMY_SP,
                lifetimes: Vec::new(),
                types: vec![lang.marshall_ty(ecx)],
                bindings: Vec::new(),
            }
        )));
        path
    }
pub fn common_marshall_path ( ecx : & mut ExtCtxt , original_fn : Ident , lang : & Language ) -> Path { let mut path = ecx . path ( DUMMY_SP , vec ! [ Ident from_str ( " " ) common_marshall_name ( original_fn ) ] ) ; path . segments . last_mut ( ) . unwrap ( ) . parameters = Some ( P ( ast :: PathParameters :: AngleBracketed ( ast :: AngleBracketedParameterData { span : DUMMY_SP , lifetimes : Vec :: new ( ) , types : vec ! [ lang marshall_ty ( ecx ) ] , bindings : Vec :: new ( ) , } ) ) ) ; path }
Gets a path to the common marshall function.
Gets a path to the common marshall function .
ecx
&mut ExtCtxt
original_fn
Ident
lang
&Language
ecx
&mut ExtCtxt
original_fn
Ident
lang
&Language