Expand description
AST pretty printing.
Note that HIR pretty printing is layered on top of this crate.
Modulesยง
Structsยง
Enumsยง
Constantsยง
- INDENT_
UNIT ๐ 
Traitsยง
- PpAnn
 - Print
State  - This trait is used for both AST and HIR pretty-printing.
 
Functionsยง
- all_
whitespace ๐ - Returns 
Noneif the firstcolchars ofscontain a non-whitespace char. Otherwise returnsSome(k)wherekis first char offset after that leading whitespace. Note thatkmay be outside bounds ofs. - doc_
comment_ to_ string  - gather_
comments ๐ - literal_
to_ ๐string  - print_
crate  - Requires you to pass an input filename and reader so that it can scan the input text for comments to copy forward.
 - print_
crate_ as_ interface  - print_
crate_ ๐inner  - space_
between ๐ - Should two consecutive tokens be printed with a space between them?
 - split_
block_ ๐comment_ into_ lines  - trim_
whitespace_ ๐prefix