fn encode_ast(rbml_w: &mut Encoder, item: &ast::InlinedItem) {
    rbml_w.start_tag(c::tag_tree as usize);
    item.encode(rbml_w);
    rbml_w.end_tag();
}
// ______________________________________________________________________
// Encoding and decoding the AST itself
//
// The hard work is done by an autogenerated module astencode_gen.  To
// regenerate astencode_gen, run src/etc/gen-astencode.  It will
// replace astencode_gen with a dummy file and regenerate its
// contents.  If you get compile errors, the dummy file
// remains---resolve the errors and then rerun astencode_gen.
// Annoying, I know, but hopefully only temporary.
//
// When decoding, we have to renumber the AST so that the node ids that
// appear within are disjoint from the node ids in our existing ASTs.
// We also have to adjust the spans: for now we just insert a dummy span,
// but eventually we should add entries to the local codemap as required.
Encoding and decoding the AST itself

The hard work is done by an autogenerated module astencode_gen.  To
regenerate astencode_gen, run src/etc/gen-astencode.  It will
replace astencode_gen with a dummy file and regenerate its
contents.  If you get compile errors, the dummy file
remains---resolve the errors and then rerun astencode_gen.
Annoying, I know, but hopefully only temporary.

When decoding, we have to renumber the AST so that the node ids that
appear within are disjoint from the node ids in our existing ASTs.
We also have to adjust the spans: for now we just insert a dummy span,
but eventually we should add entries to the local codemap as required.
Encoding and decoding the AST itself The hard work is done by an autogenerated module astencode_gen . To regenerate astencode_gen run src / etc / gen - astencode . It will replace astencode_gen with a dummy file and regenerate its contents . If you get compile errors the dummy file remains --- resolve the errors and then rerun astencode_gen . Annoying I know but hopefully only temporary . When decoding we have to renumber the AST so that the node ids that appear within are disjoint from the node ids in our existing ASTs . We also have to adjust the spans : for now we just insert a dummy span but eventually we should add entries to the local codemap as required .
fn encode_ast(rbml_w: &mut Encoder, item: &ast::InlinedItem) {
    rbml_w.start_tag(c::tag_tree as usize);
    item.encode(rbml_w);
    rbml_w.end_tag();
}
fn encode_ast ( rbml_w : & mut Encoder , item : & ast :: InlinedItem ) { rbml_w . start_tag ( c :: tag_tree as usize ) ; item . encode ( rbml_w ) ; rbml_w . end_tag ( ) ; }
______________________________________________________________________
Encoding and decoding the AST itself
______________________________________________________________________ Encoding and decoding the AST itself
rbml_w
&mut Encoder
item
&ast::InlinedItem