summary refs log tree commit diff
path: root/src/libsyntax/print/pp.rs
AgeCommit message (Expand)AuthorLines
2019-07-10Move pp::Printer helpers to direct implMark Rousskov-3/+3
2019-07-10Rename is_bol -> is_beginning_of_lineMark Rousskov-1/+5
2019-07-10Drop length from Token::StringMark Rousskov-11/+14
2019-07-10Rename pretty_print_* to scan_* to follow naming in the paperMark Rousskov-11/+11
2019-07-10Simplify print_endMark Rousskov-3/+1
2019-07-10Simplify check_stack implementationMark Rousskov-7/+7
2019-07-10Move BufEntry assignment into scan_pushMark Rousskov-12/+7
2019-07-10Remove useless call to indentMark Rousskov-1/+0
2019-07-10Fully privatize (vs. crate visibility) functionsMark Rousskov-18/+18
2019-07-10Move pp::Printer out field to owned StringMark Rousskov-7/+8
2019-06-29Remove io::Result from syntax::printMark Rousskov-51/+34
2019-06-29Replace pretty-printer Box<dyn Write> with &mut StringMark Rousskov-19/+12
2019-06-29Delete now-unused methodsMark Rousskov-4/+0
2019-06-29Privatize a bunch of methodsMark Rousskov-24/+24
2019-06-26Fix clippy::print_with_newlineIgor Matuszewski-1/+1
2019-04-01Optimize indentation in the pretty printer.Nicholas Nethercote-3/+19
2019-02-10rustc: doc commentsAlexander Regueiro-2/+2
2019-02-07libsyntax => 2018Taiki Endo-1/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-11-29Split up `pretty_print` and `print`.Nicholas Nethercote-150/+152
2018-11-29Use `Cow` in `Token::String`.Nicholas Nethercote-3/+9
2018-11-29Remove `huge_word` and `zero_word`.Nicholas Nethercote-9/+16
2018-11-29Fix whitespace in `pp.rs`.Nicholas Nethercote-126/+126
2018-07-10Deny bare trait objects in in src/libsyntaxljedrz-2/+2
2018-04-30Extend Printer::buf on demand.Nicholas Nethercote-7/+23
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-1/+1
2017-07-11Refactor methods onto Printer struct.Mark Simulacrum-56/+56
2017-06-23Removed as many "```ignore" as possible.kennytm-1/+1
2017-05-12Fix some clippy warnings in libsyntaxAndre Bogus-6/+6
2017-02-06A few documentation improvements for `syntax::print::pp`bjorn3-78/+89
2016-10-10Merge `Printer::token` and `Printer::size`.Nicholas Nethercote-38/+31
2016-05-28Prevent overflows by increasing ring buffer sizeSebastian Thiel-2/+2
2016-05-01libsyntax/pp: replace manual ring buffer with a VecDequeGeorg Brandl-52/+19
2016-05-01libsyntax/pp: minor modernizationsGeorg Brandl-40/+32
2016-03-22try! -> ?Jorge Aparicio-5/+5
2016-03-12Removed integer suffixes in libsyntax cratesrinivasreddy-2/+2
2015-11-12libsyntax: deny warnings in doctestsKevin Butler-2/+4
2015-07-09Use vec![elt; n] where possibleUlrik Sverdrup-4/+3
2015-05-03Update old uses of ~ in comments and debugging statementsCarol Nichols-9/+9
2015-04-21syntax: Replace String::from_str with the stable String::fromErick Tryzelaar-1/+1
2015-04-14Negative case of `len()` -> `is_empty()`Tamir Duberstein-1/+1
2015-04-01Fallout in libsyntaxNiko Matsakis-2/+2
2015-03-04std: Deprecate std::old_io::fsAlex Crichton-24/+24
2015-03-02Use `const`s instead of `static`s where appropriateFlorian Zeitz-1/+1
2015-02-20Remove remaining uses of `[]`. This time I tried to use deref coercions where...Niko Matsakis-1/+1
2015-02-18Round 3 test fixes and conflictsAlex Crichton-2/+2
2015-02-18rollup merge of #22502: nikomatsakis/deprecate-bracket-bracketAlex Crichton-1/+1
2015-02-18Replace all uses of `&foo[]` with `&foo[..]` en masse.Niko Matsakis-1/+1
2015-02-18Remove `i`, `is`, `u`, or `us` suffixes that are not necessary.Niko Matsakis-1/+1