syntex_syntax 0.1.0

Export of libsyntax for code generation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
b0VIM 7.4�i�T�h��
ericktErick-Tryzelaar-MBP.local~erickt/projects/rust/rust/src/libsyntax/ext/build.rsutf-8
3210#"! Utpa��������Hb��������O���������a���������tZ��������n���������T<��������f���������_���������bU��������r�S)ad�a��]Z��R.-$�
�
�
�
�
w
U
3
!



������r-��}_5�
�
�
�
�
:
9
�	�	�	;	:		���rT���e
����e/���r0����Y0/�|_?���}65'���             expr: Option<P<ast::Expr>>) -> P<ast::Block>;    fn block(&self, span: Span, stmts: Vec<P<ast::Stmt>>,    // blocks    fn stmt_item(&self, sp: Span, item: P<ast::Item>) -> P<ast::Stmt>;                      -> P<ast::Stmt>;                      ex: P<ast::Expr>)                      typ: P<ast::Ty>,                      ident: ast::Ident,                      mutbl: bool,                      sp: Span,    fn stmt_let_typed(&self,    fn stmt_let(&self, sp: Span, mutbl: bool, ident: ast::Ident, ex: P<ast::Expr>) -> P<ast::Stmt>;    fn stmt_expr(&self, expr: P<ast::Expr>) -> P<ast::Stmt>;    // statements                    -> ast::LifetimeDef;                    bounds: Vec<ast::Lifetime>)                    name: ast::Name,                    span: Span,    fn lifetime_def(&self,    fn lifetime(&self, span: Span, ident: ast::Name) -> ast::Lifetime;    fn typarambound(&self, path: ast::Path) -> ast::TyParamBound;    fn poly_trait_ref(&self, path: ast::Path) -> ast::PolyTraitRef;    fn trait_ref(&self, path: ast::Path) -> ast::TraitRef;               default: Option<P<ast::Ty>>) -> ast::TyParam;               bounds: OwnedSlice<ast::TyParamBound>,               id: ast::Ident,               span: Span,    fn typaram(&self,    fn ty_field_imm(&self, span: Span, name: Ident, ty: P<ast::Ty>) -> ast::TypeField;    fn ty_vars_global(&self, ty_params: &OwnedSlice<ast::TyParam>) -> Vec<P<ast::Ty>> ;    fn ty_vars(&self, ty_params: &OwnedSlice<ast::TyParam>) -> Vec<P<ast::Ty>> ;    fn ty_infer(&self, sp: Span) -> P<ast::Ty>;    fn ty_option(&self, ty: P<ast::Ty>) -> P<ast::Ty>;              mutbl: ast::Mutability) -> P<ast::Ty>;              ty: P<ast::Ty>,    fn ty_ptr(&self, span: Span,               mutbl: ast::Mutability) -> P<ast::Ty>;               lifetime: Option<ast::Lifetime>,               ty: P<ast::Ty>,    fn ty_rptr(&self, span: Span,    fn ty_ident(&self, span: Span, idents: ast::Ident) -> P<ast::Ty>;    fn ty_sum(&self, ast::Path, OwnedSlice<ast::TyParamBound>) -> P<ast::Ty>;    fn ty_path(&self, ast::Path) -> P<ast::Ty>;    fn ty(&self, span: Span, ty: ast::Ty_) -> P<ast::Ty>;    fn ty_mt(&self, ty: P<ast::Ty>, mutbl: ast::Mutability) -> ast::MutTy;    // types        -> ast::Path;                bindings: Vec<P<ast::TypeBinding>> )                types: Vec<P<ast::Ty>>,                lifetimes: Vec<ast::Lifetime>,                idents: Vec<ast::Ident> ,                global: bool,    fn path_all(&self, sp: Span,    fn path_global(&self, span: Span, strs: Vec<ast::Ident> ) -> ast::Path;    fn path_ident(&self, span: Span, id: ast::Ident) -> ast::Path;    fn path(&self, span: Span, strs: Vec<ast::Ident> ) -> ast::Path;    // pathspub trait AstBuilder {}    pub use parse;    pub use ext;mod syntax {// Transitional reexports so qquote can find the paths it is looking foruse ptr::P;use parse::token;use parse::token::InternedString;use parse::token::special_idents;use owned_slice::OwnedSlice;use ext::base::ExtCtxt;use codemap::{Span, respan, Spanned, DUMMY_SP, Pos};use attr;use ast_util;use ast;use ast::{Ident, Generics, Expr};use abi;// 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 The Rust Project Developers. See the COPYRIGHTad�S���q7����TNM�
�
�
~
[
P
J
I
�����vH!����V)�
�
�
�
o
W
/

�	�	�	�	�	r	5		���mN+��nhg+��R<;��y1+*��l	}    }                               ast::ViewPathGlob(self.path(sp, path), ast::DUMMY_NODE_ID))))                      P(respan(sp,        self.view_use(sp, vis,                     vis: ast::Visibility, path: Vec<ast::Ident> ) -> ast::ViewItem {    fn view_use_glob(&self, sp: Span,    }                                                 ast::DUMMY_NODE_ID))))                                                 imports,                               ast::ViewPathList(self.path(sp, path),                      P(respan(sp,        self.view_use(sp, vis,        }).collect();            respan(sp, ast::PathListIdent { name: *id, id: ast::DUMMY_NODE_ID })        let imports = imports.iter().map(|id| {                     path: Vec<ast::Ident> , imports: &[ast::Ident]) -> ast::ViewItem {    fn view_use_list(&self, sp: Span, vis: ast::Visibility,    }                                                   ast::DUMMY_NODE_ID))))                                                   path,                               ast::ViewPathSimple(ident,                      P(respan(sp,        self.view_use(sp, vis,                        ident: ast::Ident, path: ast::Path) -> ast::ViewItem {    fn view_use_simple_(&self, sp: Span, vis: ast::Visibility,    }        self.view_use_simple_(sp, vis, last, path)        let last = path.segments.last().unwrap().identifier;    fn view_use_simple(&self, sp: Span, vis: ast::Visibility, path: ast::Path) -> ast::ViewItem {    }        }            span: sp            vis: vis,            attrs: Vec::new(),            node: ast::ViewItemUse(vp),        ast::ViewItem {                vis: ast::Visibility, vp: P<ast::ViewPath>) -> ast::ViewItem {    fn view_use(&self, sp: Span,    }        P(respan(sp, ast::MetaNameValue(name, respan(sp, value))))                       -> P<ast::MetaItem> {                       value: ast::Lit_)                       name: InternedString,                       sp: Span,    fn meta_name_value(&self,    }        P(respan(sp, ast::MetaList(name, mis)))                 -> P<ast::MetaItem> {                 mis: Vec<P<ast::MetaItem>> )                 name: InternedString,                 sp: Span,    fn meta_list(&self,    }        P(respan(sp, ast::MetaWord(w)))    fn meta_word(&self, sp: Span, w: InternedString) -> P<ast::MetaItem> {    }        })            is_sugared_doc: false,            value: mi,            style: ast::AttrOuter,            id: attr::mk_attr_id(),        respan(sp, ast::Attribute_ {    fn attribute(&self, sp: Span, mi: P<ast::MetaItem>) -> ast::Attribute {    }        self.item_ty_poly(span, name, ty, ast_util::empty_generics())    fn item_ty(&self, span: Span, name: Ident, ty: P<ast::Ty>) -> P<ast::Item> {    }        self.item(span, name, Vec::new(), ast::ItemTy(ty, generics))                    generics: Generics) -> P<ast::Item> {    fn item_ty_poly(&self, span: Span, name: Ident, ty: P<ast::Ty>,    }        self.item(span, name, Vec::new(), ast::ItemConst(ty, expr))