Delay writing typei fields of Nodes.
Delay writing typei fields of Nodes.

First Node read/written is responsible for writing/reading the typei fields for
all of its children.
This avoids deep recursion when TypeI objects refer to not-yet-written Node objects.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190518247

tiobe/closure-compiler,google/closure-compiler,tdelmas/closure-compiler,vobruba-martin/closure-compiler,monetate/closure-compiler,nawawi/closure-compiler,shantanusharma/closure-compiler,Yannic/closure-compiler,google/closure-compiler,Yannic/closure-compiler,monetate/closure-compiler,monetate/closure-compiler,ChadKillingsworth/closure-compiler,nawawi/closure-compiler,mprobst/closure-compiler,google/closure-compiler,tdelmas/closure-compiler,vobruba-martin/closure-compiler,ChadKillingsworth/closure-compiler,Yannic/closure-compiler,nawawi/closure-compiler,shantanusharma/closure-compiler,ChadKillingsworth/closure-compiler,vobruba-martin/closure-compiler,tiobe/closure-compiler,tiobe/closure-compiler,shantanusharma/closure-compiler,vobruba-martin/closure-compiler,mprobst/closure-compiler,mprobst/closure-compiler,nawawi/closure-compiler,google/closure-compiler,tdelmas/closure-compiler,tiobe/closure-compiler,monetate/closure-compiler,tdelmas/closure-compiler,ChadKillingsworth/closure-compiler,mprobst/closure-compiler,shantanusharma/closure-compiler,Yannic/closure-compiler