mirror of
https://github.com/enso-org/enso.git
synced 2024-12-20 08:31:50 +03:00
796b1b5b82
Based on usage; I believe this handles every case in current `.enso` files. # Important Notes - `import` is a built-in macro, so an import statement parses as a `MultiSegmentApp`. - Every `import` syntax will have a segment whose leading keyword is `import`; however `import` macros can be identified more efficiently by looking at only the first keyword. A `MultiSegmentApp` is an import if and only if its first keyword is in the set { "polyglot", "from", "import" }. |
||
---|---|---|
.. | ||
java/org/enso/syntax2 | ||
src | ||
Cargo.toml |