ratel-rust / ratel-core

High performance JavaScript to JavaScript compiler with a Rust core
Apache License 2.0
435 stars 17 forks source link

Document ratel::grammar::Statement::Transparent #101

Open Yoric opened 6 years ago

Yoric commented 6 years ago

Currently looking at converting ratel -> binast. What's ratel::grammar::Statement::Transparent?

maciejhirsz commented 6 years ago

It was a hack that I used to replace a single statement with multiple statements in the transformer. This became obsolete since 0.8 is using a linked list where adding statements is no longer a hassle.