enso/lib/rust/parser/generate-java
Kaz Wesley 796b1b5b82
Parser: implement import (#3627)
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" }.
2022-08-02 15:09:20 +00:00
..
java/org/enso/syntax2 Parser: don't panic for any standard library files (#3609) 2022-07-28 19:17:33 +02:00
src Parser: implement import (#3627) 2022-08-02 15:09:20 +00:00
Cargo.toml Parser: Transpile Rust AST types to Java types (#3555) 2022-07-07 04:46:42 +02:00