Struct syntax::print::pp::Printer[src]
pub struct Printer {
pub out: Box<Writer>,
// some fields omitted
}Fields
out |
pub struct Printer {
pub out: Box<Writer>,
// some fields omitted
}out |
impl Printerfn last_token(&mut self) -> Tokenfn replace_last_token(&mut self, t: Token)fn pretty_print(&mut self, t: Token) -> IoResult<()>fn check_stream(&mut self) -> IoResult<()>fn scan_push(&mut self, x: uint)fn scan_pop(&mut self) -> uintfn scan_top(&mut self) -> uintfn scan_pop_bottom(&mut self) -> uintfn advance_right(&mut self)fn advance_left(&mut self, x: Token, l: int) -> IoResult<()>fn check_stack(&mut self, k: int)fn print_newline(&mut self, amount: int) -> IoResult<()>fn indent(&mut self, amount: int)fn get_top(&mut self) -> PrintStackElemfn print_str(&mut self, s: &str) -> IoResult<()>fn print(&mut self, x: Token, l: int) -> IoResult<()>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).