syntex_syntax 0.11.1

Export of libsyntax for code generation
1
2
3
4
5
6
7
8
b0VIM 7.4Z(4U��-ericktErick-Tryzelaar-MBP.local~erickt/projects/rust/rust/src/libsyntax/ext/deriving/cmp/eq.rsutf-8
3210#"! Utp8[ad~z8��]Z��R.-�
�
�
�
�
a
U
T
(

��zx��W�
�
�
r
)


�	�	�	�	�	[		���|\0	���z@���>��wf���|>=���yN���R����                                     name: "assert_receiver_is_total_eq",            Method                name: "assert_receiver_is_total_eq",            Metho                name: "assert_receiver_is_total_eq",            MethodDef {                  n                name: "assert_re                name: "assert_receiver_is_total_eq",                name: "assert_receiver_is_total_eq",            MethodD                name: "assert_receiver_is_t                name: "assert_receiver_is_total_eq",            MethodDef {        methods:                nam                 name: "assert_receiver_is_total_eq",            MethodDef {                       name: "assert_receiver_is_total_eq",                                        name: "assert_receiver                name: "assert_receiver_is_total_eq",            M                name: "assert_                      name: "assert_receiver_is_total_eq",            MethodDef {                  n                name: "assert_re                name: "assert_receiver_is_total_eq",                name: "assert_receiver_is_total_eq",            MethodD                name: "assert_receiver_is_t                name: "assert_receiver_is_total_eq",            MethodDef {        methods:                nam                 name: "assert_receiver_is_total_eq",            MethodDef {                       name: "assert_receiver_is_total_eq",                        name: "assert_receiver_is_total_eq",                     name: "assert_receiver_is_total_eq",            MethodDef {        methods: vec!(        generics: LifetimeBounds::empty(),        additional_bounds: Vec::new(),        path: path_std!(cx, core::cmp::Eq),        attributes: Vec::new(),        span: span,    let trait_def = TraitDef {                     cx.attribute(span, doc));    let attrs = vec!(cx.attribute(span, inline),    let doc = cx.meta_list(span, InternedString::new("doc"), vec!(hidden));    let hidden = cx.meta_word(span, InternedString::new("hidden"));    let inline = cx.meta_word(span, InternedString::new("inline"));    }        )            substr            span,            cx,                cx.span_bug(sp, "non matching enums in derive(Eq)?") }),            Box::new(|cx, sp, _, _| {            },                cx.expr_block(block)                let block = cx.block(span, stmts, None);                let stmts = exprs.into_iter().map(|e| cx.stmt_expr(e)).collect();                // (where method is `assert_receiver_is_total_eq`)                // create `a.<method>(); b.<method>(); c.<method>(); ...`            |cx, span, exprs| {        cs_same_method(    fn cs_total_eq_assert(cx: &mut ExtCtxt, span: Span, substr: &Substructure) -> P<Expr> {{                          push: &mut FnMut(P<Item>))                          item: &Item,                          mitem: &MetaItem,                          span: Span,pub fn expand_deriving_eq(cx: &mut ExtCtxt,use ptr::P;use parse::token::InternedString;use ext::deriving::generic::ty::*;use ext::deriving::generic::*;use ext::build::AstBuilder;use ext::base::ExtCtxt;use codemap::Span;use ast::{MetaItem, Item, Expr};// except according to those terms.// option. This file may not be copied, modified, or distributed// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or//// http://rust-lang.org/COPYRIGHT.// file at the top-level directory of this distribution and at// Copyright 2013 The Rust Project Developers. See the COPYRIGHTad�
)��vT1�����^W+)(}    trait_def.expand(cx, mitem, item, push)    };        associated_types: Vec::new(),        ),            }                }))                    cs_total_eq_assert(a, b, c)                combine_substructure: combine_substructure(Box::new(|a, b, c| {                attributes: attrs,                ret_ty: nil_ty(),                args: vec!(),                explicit_self: borrowed_explicit_self(),                generics: LifetimeBounds::empty(),