syntex_syntax 0.4.3

Export of libsyntax for code generation
b0VIM 7.4�=U����VericktErick-Tryzelaar-MBP.local~erickt/projects/rust/rust/src/libsyntax/ext/base.rs
3210#"! Utp	~��������v��������~���������cs��������G���������f��������]���������e�7Ead~��]Z��R.-
�
�
�
�
�
s
h
U
C
	
�������kjP;�����k�
�
�
�
w
G




�	�	�	�	|	Z	;	9	8		����xO-
�������pPNM:���RHBA���yeT��u@/%�����zy?*������wL#        }            _ => panic!("expected Item")            Annotatable::ImplItem(i) => i,        match self {    pub fn expect_impl_item(self) -> P<ast::ImplItem> {    }        }            _ => panic!("expected Item")            Annotatable::TraitItem(i) => i,        match self {    pub fn expect_trait_item(self) -> P<ast::TraitItem> {    }        }            _ => panic!("expected Item")            Annotatable::Item(i) => i,        match self {    pub fn expect_item(self) -> P<ast::Item> {    }        }            })),                ast::ImplItem { attrs: attrs, ..ii }            Annotatable::ImplItem(i) => Annotatable::ImplItem(i.map(|ii| {            })),                ast::TraitItem { attrs: attrs, ..ti }            Annotatable::TraitItem(i) => Annotatable::TraitItem(i.map(|ti| {            })),                ..i                attrs: attrs,            Annotatable::Item(i) => Annotatable::Item(i.map(|i| ast::Item {        match self {    pub fn fold_attrs(self, attrs: Vec<ast::Attribute>) -> Annotatable {    }        }            Annotatable::ImplItem(ref ii) => &ii.attrs,            Annotatable::TraitItem(ref ti) => &ti.attrs,            Annotatable::Item(ref i) => &i.attrs,        match *self {    pub fn attrs(&self) -> &[ast::Attribute] {impl Annotatable {}    ImplItem(P<ast::ImplItem>),    TraitItem(P<ast::TraitItem>),    Item(P<ast::Item>),pub enum Annotatable {#[derive(Debug,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: &mut 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, &mut FnMut(P<ast::Item>))impl<F> ItemDecorator for F}              push: &mut FnMut(P<ast::Item>));              item: &ast::Item,              meta_item: &ast::MetaItem,              sp: Span,              ecx: &mut ExtCtxt,    fn expand(&self,pub trait ItemDecorator {use std::default::Default;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 2015 The Rust Project Developers. See the COPYRIGHTad>	6
7���}h;98'������\8�
�
�
}
|
6
�����qkj(����xna[Z�
�
�
�
m
>
8
6
5
}    }        &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