syntex_syntax 0.7.0

Export of libsyntax for code generation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
b0VIM 7.41EU����VericktErick-Tryzelaar-MBP.local~erickt/projects/rust/rust/src/libsyntax/ext/build.rs
3210#"! Utp
`��������Ia��������L���������Y���������sO��������p���������g2��������V���������d���������bS��������g���������o3�ad�`��]Z��R.-$�
�
�
�
�
w
U
3
!


�������s.��~`6�
�
�
�
h
D
$
�	�	�	�	S	+	����rq7�srP1���WV���E�����g*)��\����\[I��    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, span: Span, 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::QSelf, ast::Path);                bindings: Vec<P<ast::TypeBinding>>)                types: Vec<P<ast::Ty>>,                lifetimes: Vec<ast::Lifetime>,                ident: ast::Ident,                trait_path: ast::Path,    fn qpath_all(&self, self_type: P<ast::Ty>,             -> (ast::QSelf, ast::Path);             ident: ast::Ident)             trait_path: ast::Path,    fn qpath(&self, self_type: P<ast::Ty>,        -> 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��3���\���i="�
�
�
�
�
�
`
#
����\=����a�
�
t
s
T
1
�	�	�	�	�	-		�����}    }                               ast::ViewPathGlob(self.path(sp, path)))))                      P(respan(sp,        self.item_use(sp, vis,                     vis: ast::Visibility, path: Vec<ast::Ident>) -> P<ast::Item> {    fn item_use_glob(&self, sp: Span,    }                                                 imports))))                               ast::ViewPathList(self.path(sp, path),                      P(respan(sp,        self.item_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]) -> P<ast::Item> {    fn item_use_list(&self, sp: Span, vis: ast::Visibility,    }                                                   path))))                               ast::ViewPathSimple(ident,                      P(respan(sp,        self.item_use(sp, vis,                        ident: ast::Ident, path: ast::Path) -> P<ast::Item> {    fn item_use_simple_(&self, sp: Span, vis: ast::Visibility,    }        self.item_use_simple_(sp, vis, last, path)        let last = path.segments.last().unwrap().identifier;    fn item_use_simple(&self, sp: Span, vis: ast::Visibility, path: ast::Path) -> P<ast::Item> {    }        })            span: sp            vis: vis,            node: ast::ItemUse(vp),            attrs: vec![],            ident: special_idents::invalid,            id: ast::DUMMY_NODE_ID,        P(ast::Item {                vis: ast::Visibility, vp: P<ast::ViewPath>) -> P<ast::Item> {    fn item_use(&self, sp: Span,    }        P(respan(sp, ast::MetaNameValue(name, respan(sp, value))))                       -> P<ast::MetaItem> {                       value: ast::Lit_)                       name: InternedString,                       sp: Span,