enso/lib/rust/parser/generate-java
Kaz Wesley 1e3b9a3624
Parse text literals (#3681)
Parse text literals. See: https://www.pivotaltracker.com/story/show/182496940

# Important Notes
- The left-trimming algorithm (https://github.com/enso-org/design/blob/wip/wd/enso-spec/epics/enso-spec-1.0/04.%20Expressions.md#inline-and-block-text-literals) requires two passes over the sequence of text segments. This implementation performs one pass while parsing (identifying the correct amount of trim). The other pass (applying the trim) can be done when building the value of the quoted string: Trim the amount of whitespace identified by the `trim` field off of the whitespace of each `TextSection` (the value will not exceed the amount of whitespace found in the tokens' offsets, except for tokens with 0 offset, in which case no trimming is necessary/possible).
2022-09-03 06:38:06 +00:00
..
java/org/enso/syntax2 Parse text literals (#3681) 2022-09-03 06:38:06 +00:00
src Parser: Parse UUIDs; implement comments in AST; implement type annotations and signatures; fix field names (#3653) 2022-09-03 03:15:27 +00:00
Cargo.toml Parser: Transpile Rust AST types to Java types (#3555) 2022-07-07 04:46:42 +02:00