syntex_syntax 0.1.0

Export of libsyntax for code generation
b0VIM 7.4</�T�:��
ericktErick-Tryzelaar-MBP.local~erickt/projects/rust/rust/src/libsyntax/ext/base.rs
3210#"! Utp	p��������pq��������y���������oZ��������E���������b��������`p��������h�<8ad
�p�{XU��M)(�
�
�
�
�
�
n
c
P
>

��������fQ0������&$�
�
�
�
]
-
'
%
$

�	�	�	�	p	Q	O	N	3	�����eC#��������mkjW(��_���J������G)
��xD�6��                ast::TraitItem::TypeTraitItem(at) => Annotatable::TraitItem(                        ast::Method { attrs: attrs, ..(*m).clone() }))),                    ast::TraitItem::ProvidedMethod(P(                ast::TraitItem::ProvidedMethod(m) => Annotatable::TraitItem(                        ast::TypeMethod { attrs: attrs, ..tm })),                    ast::TraitItem::RequiredMethod(                ast::TraitItem::RequiredMethod(tm) => Annotatable::TraitItem(            Annotatable::TraitItem(i) => match i {            })),                ..(*i).clone()                attrs: attrs,            Annotatable::Item(i) => Annotatable::Item(P(ast::Item {        match self {    pub fn fold_attrs(self, attrs: Vec<ast::Attribute>) -> Annotatable {    }        }            }                ast::ImplItem::TypeImplItem(ref t) => &t.attrs[],                ast::ImplItem::MethodImplItem(ref m) => &m.attrs[],            Annotatable::ImplItem(ref i) => match *i {            },                ast::TraitItem::TypeTraitItem(ref at) => &at.attrs[],                ast::TraitItem::ProvidedMethod(ref m) => &m.attrs[],                ast::TraitItem::RequiredMethod(ref tm) => &tm.attrs[],            Annotatable::TraitItem(ref i) => match *i {            Annotatable::Item(ref i) => &i.attrs[],        match *self {    pub fn attrs(&self) -> &[ast::Attribute] {impl Annotatable {}    ImplItem(ast::ImplItem),    TraitItem(ast::TraitItem),    Item(P<ast::Item>),pub enum Annotatable {#[derive(Show,Clone)]}    }        (*self)(ecx, span, meta_item, item)              -> P<ast::Item> {              item: P<ast::Item>)              meta_item: &ast::MetaItem,              span: Span,              ecx: &mut ExtCtxt,    fn expand(&self,{    where F : Fn(&mut ExtCtxt, Span, &ast::MetaItem, P<ast::Item>) -> P<ast::Item>impl<F> ItemModifier for F}              -> P<ast::Item>;              item: P<ast::Item>)              meta_item: &ast::MetaItem,              span: Span,              ecx: &mut ExtCtxt,    fn expand(&self,pub trait ItemModifier {}    }        (*self)(ecx, sp, meta_item, item, push)              push: Box<FnMut(P<ast::Item>)>) {              item: &ast::Item,              meta_item: &ast::MetaItem,              sp: Span,              ecx: &mut ExtCtxt,    fn expand(&self,{    where F : Fn(&mut ExtCtxt, Span, &ast::MetaItem, &ast::Item, Box<FnMut(P<ast::Item>)>)impl<F> ItemDecorator for F}              push: Box<FnMut(P<ast::Item>)>);              item: &ast::Item,              meta_item: &ast::MetaItem,              sp: Span,              ecx: &mut ExtCtxt,    fn expand(&self,pub trait ItemDecorator {use std::rc::Rc;use std::collections::HashMap;use fold::Folder;use ext::mtwt;use util::small_vector::SmallVector;use ptr::P;use parse::token::{InternedString, intern, str_to_ident};use parse::token;use parse::parser;use parse;use ext::tt::macro_rules;use ext::expand;use ext;use codemap::{CodeMap, Span, ExpnId, ExpnInfo, NO_EXPANSION};use codemap;use ast::Name;use ast;pub use self::SyntaxExtension::*;// 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 2012-2014 The Rust Project Developers. See the COPYRIGHTadfr	<���s<����wutcG�
�
�
�
�
�
t
S
G
A
@

����r.�������d5�
�
�
�
�
�
�
Z



�	�	z	t	r	q	}    }        &mut self.chain[last_chain_index].info        let last_chain_index = self.chain.len() - 1;    pub fn info<'a>(&'a mut self) -> &'a mut BlockInfo {    }        self.find_escape_frame().map.insert(k, Rc::new(v));    pub fn insert(&mut self, k: Name, v: SyntaxExtension) {    }        None        }            }                None => {}                Some(v) => return Some(v.clone()),            match frame.map.get(k) {        for frame in self.chain.iter().rev() {    pub fn find(&self, k: &Name) -> Option<Rc<SyntaxExtension>> {    }        unreachable!()        }            }                return frame            if !frame.info.macros_escape || i == 0 {        for (i, frame) in self.chain.iter_mut().enumerate().rev() {    fn find_escape_frame<'a>(&'a mut self) -> &'a mut MapChainFrame {    }        self.chain.pop();        assert!(self.chain.len() > 1, "too many pops on MapChain!");    pub fn pop_frame(&mut self) {    }        });            map: HashMap::new(),            info: BlockInfo::new(),        self.chain.push(MapChainFrame {    pub fn push_frame(&mut self) {    }        map        map.push_frame();        let mut map = SyntaxEnv { chain: Vec::new() };    fn new() -> SyntaxEnv {impl SyntaxEnv {}    map: HashMap<Name, Rc<SyntaxExtension>>,    info: BlockInfo,struct MapChainFrame {// scope lexically later than the deeper scope.// able to refer to a macro that was added to an enclosing// if expansion is out-of-order, a deeper scope may be// NB! the mutability of the underlying maps means that// get it working, first....// to add an empty frame for every context. Let's just