mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
external imports
This commit is contained in:
@@ -264,6 +264,7 @@ code analysis:
|
||||
- every assignment can only be to if identifier is earlier declared by let
|
||||
- assignment can only be inside if statement (after let) (relax it?)
|
||||
- cannot import names that are not exported from modules
|
||||
- module can be imported either as external or regular
|
||||
- cannot return from modules (even inside toplevel if statements)
|
||||
*/
|
||||
export const analyze = (node, is_toplevel = true) => {
|
||||
|
||||
Reference in New Issue
Block a user