syntex_syntax 0.3.0

Export of libsyntax for code generation
1
2
3
4
5
6
7
8
9
10
11
b0VIM 7.4cQ/UAt�-ericktErick-Tryzelaar-MBP.local~erickt/projects/rust/rust/src/libsyntax/ast.rsutf-8
3210#"! Utp��������j���������o���������uY��������s���������{A��������n���������_*��������l���������\���������vQ������������������u^������������������|V��������p�Bad(@�{XU��M)(�
�
�
�
t
T
<


����qYA&�����eN.�
�
�
�
�
o
R
<


�	�	�	�	w	V	U	%				����~l`_Q<)�����O����{_]\O���pji7������n=754������S5������d^\[@?impl PartialEq for Ident {}    }        fmt::Display::fmt(&token::get_name(*self), f)    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {impl fmt::Display for Name {}    }        write!(f, "{:?}({})", token::get_name(*self), nm)        let Name(nm) = *self;    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {impl fmt::Debug for Name {}    }        fmt::Display::fmt(&self.name, f)    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {impl fmt::Display for Ident {}    }        write!(f, "{}#{}", self.name, self.ctxt)    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {impl fmt::Debug for Ident {}    }                self.ctxt)                self.name.usize(),        format!("\x00name_{},ctxt_{}\x00",    pub fn encode_with_hygiene(&self) -> String {    }        self.name.as_str()    pub fn as_str<'a>(&'a self) -> &'a str {    pub fn new(name: Name) -> Ident { Ident {name: name, ctxt: EMPTY_CTXT}}    /// Construct an identifier with the given name and an empty context:impl Ident {}    pub ctxt: SyntaxContext    pub name: Name,pub struct Ident {#[derive(Clone, Copy, Hash, PartialOrd, Eq, Ord)]/// That Work Together"/// macro expansion per Flatt et al., "Macros/// table) and a SyntaxContext to track renaming and/// An identifier contains a Name (index into the interner// by just "Name".// FIXME #6993: in librustc, uses of "ident" should be replaceduse serialize::{Encodable, Decodable, Encoder, Decoder};use std::rc::Rc;use std::num::Int;#[allow(deprecated)]use std::fmt;use ptr::P;use parse::lexer;use parse::token;use parse::token::{InternedString, str_to_ident};use owned_slice::OwnedSlice;use ext::tt::macro_parser;use ext::base;use ast_util;use abi::Abi;use codemap::{Span, Spanned, DUMMY_SP, ExpnId};pub use self::PathParameters::*;pub use self::Visibility::*;pub use self::ViewPath_::*;pub use self::VariantKind::*;pub use self::UnsafeSource::*;pub use self::UnOp::*;pub use self::UintTy::*;pub use self::TyParamBound::*;pub use self::Ty_::*;pub use self::TraitItem_::*;pub use self::TokenTree::*;pub use self::StructFieldKind::*;pub use self::StrStyle::*;pub use self::Stmt_::*;pub use self::Sign::*;pub use self::PrimTy::*;pub use self::PatWildKind::*;pub use self::PathListItem_::*;pub use self::Pat_::*;pub use self::Mutability::*;pub use self::MetaItem_::*;pub use self::MacStmtStyle::*;pub use self::Mac_::*;pub use self::LocalSource::*;pub use self::LitIntType::*;pub use self::Lit_::*;pub use self::KleeneOp::*;pub use self::Item_::*;pub use self::IntTy::*;pub use self::InlinedItem::*;pub use self::ImplItem_::*;pub use self::ForeignItem_::*;pub use self::FunctionRetTy::*;pub use self::FloatTy::*;pub use self::Expr_::*;pub use self::ExplicitSelf_::*;pub use self::Decl_::*;pub use self::CaptureClause::*;pub use self::BlockCheckMode::*;pub use self::BinOp_::*;pub use self::BindingMode::*;pub use self::AttrStyle::*;pub use self::AsmDialect::*;// The Rust abstract syntax tree.// 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 COPYRIGHTad
u����dbaTI6$#���}wut}    }        assert_encodable::<Crate>();        fn assert_encodable<T: serialize::Encodable>() {}    fn check_asts_encodable() {    #[test]    // are ASTs encodable?    use super::*;    use serialize;mod test {#[cfg(test)]}    pub body: Vec<TokenTree>,    pub allow_internal_unstable: bool,    pub use_locally: bool,    pub export: bool,    pub imported_from: Option<Ident>,