b0VIM 7.4 </�T�:��
erickt Erick-Tryzelaar-MBP.local ~erickt/projects/rust/rust/src/libsyntax/print/pprust.rs
3210 #"! U tp r ��������f s ��������G � ��������� ��������| � ��������l ��������^ � ��������\ � ��������] E ��������Y � ��������Z � ��������\ U ��������e � ��������c ��������Z y ��������i � ��������[ < ��������R � ��������W � ��������h @ ��������q � ��������\ ��������] u ��������f � ��������r 8 ��������a � ��������d
��������n o
��������^ �
��������c ; ��������u � ad
� r � { X U � � M ) (
�
�
I
� � � � a Q $ � � � d X W @ ! �
�
�
�
�
e
J
H
G
5
� � � � m l T S C � � � � � � x I � � � � � r P $ " ! � � � ] K 3 � � � � � ~ S M K J ) � � � C 1 � � s D � � � K � � input, filename, span_diagnostic, let mut s = State::new_from_input(cm, is_expanded: bool) -> IoResult<()> { ann: &'a PpAnn, out: Box<io::Writer+'static>, input: &mut io::Reader, filename: String, krate: &ast::Crate, span_diagnostic: &diagnostic::SpanHandler, pub fn print_crate<'a>(cm: &'a CodeMap, /// copy forward. /// it can scan the input text for comments and literals to /// Requires you to pass an input filename and reader so that pub const default_columns: uint = 78u; #[allow(non_upper_case_globals)] pub const indent_unit: uint = 4u; #[allow(non_upper_case_globals)] } } encode_idents_with_hygiene: false, ann: ann, boxes: Vec::new(), }, cur_lit: 0 cur_cmnt: 0, cur_cmnt_and_lit: CurrentCommentAndLiteral { literals: None, comments: None, cm: None, s: pp::mk_printer(writer, default_columns), State { ann: &'a PpAnn) -> State<'a> { pub fn rust_printer_annotated<'a>(writer: Box<io::Writer+'static>, } rust_printer_annotated(writer, &NO_ANN) static NO_ANN: NoAnn = NoAnn; pub fn rust_printer(writer: Box<io::Writer+'static>) -> State<'static> { } encode_idents_with_hygiene: bool, ann: &'a (PpAnn+'a), boxes: Vec<pp::Breaks>, cur_cmnt_and_lit: CurrentCommentAndLiteral, literals: Option<Vec<comments::Literal> >, comments: Option<Vec<comments::Comment> >, cm: Option<&'a CodeMap>, pub s: pp::Printer, pub struct State<'a> { } cur_lit: uint, cur_cmnt: uint, pub struct CurrentCommentAndLiteral { #[derive(Copy)] impl PpAnn for NoAnn {} pub struct NoAnn; #[derive(Copy)] } fn post(&self, _state: &mut State, _node: AnnNode) -> IoResult<()> { Ok(()) } fn pre(&self, _state: &mut State, _node: AnnNode) -> IoResult<()> { Ok(()) } pub trait PpAnn { } NodePat(&'a ast::Pat), NodeExpr(&'a ast::Expr), NodeItem(&'a ast::Item), NodeBlock(&'a ast::Block), NodeName(&'a ast::Name), NodeIdent(&'a ast::Ident), pub enum AnnNode<'a> { use std::iter; use std::io::{self, IoResult}; use std::{ascii, mem}; use ptr::P; use print::pp::Breaks::{Consistent, Inconsistent}; use print::pp::{Breaks, eof}; use print::pp::{self, break_offset, word, space, zerobreak, hardbreak}; use parse; use parse::lexer::comments; use parse::token::{self, BinOpToken, Token}; use diagnostic; use codemap::{self, CodeMap, BytePos}; use attr::{AttrMetaMethods, AttributeMethods}; use owned_slice::OwnedSlice; use ast_util; use ast::{UnboxedClosureKind}; use ast::{RequiredMethod, ProvidedMethod, TypeImplItem, TypeTraitItem}; use ast::{MethodImplItem, RegionTyParamBound, TraitTyParamBound, TraitBoundModifier}; use ast::{FnOnceUnboxedClosureKind}; use ast::{self, FnUnboxedClosureKind, FnMutUnboxedClosureKind}; use abi; pub use self::AnnNode::*; // 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 //