Function passerine::compiler::hoist::hoist [−][src]
Expand description
Simple function that a scoped syntax tree (SST
) from an CST
.
Replaces all symbols with unique identifiers;
symbols by the same name in different scopes will get different identifiers.
Also resolves closure captures and closure hoisting.