Add support for Java21 string template by butterunderflow · Pull Request #1010 · google/google-java-format

added 2 commits

December 15, 2023 21:00
won't work because the output tokens of `com.sun.tools.javac.parser.Scanner` are not sorted by position

cushon

copybara-service bot pushed a commit that referenced this pull request

Dec 21, 2023
The initial implementation passed through the entire string unmodified, this allows formatting the Java expressions inside the `\{...}`.

See #1010

Co-authored-by: butterunderflow <azhong.934@gmail.com>
PiperOrigin-RevId: 592889073

copybara-service bot pushed a commit that referenced this pull request

Dec 21, 2023
The initial implementation passed through the entire string unmodified, this allows formatting the Java expressions inside the `\{...}`.

See #1010

Co-authored-by: butterunderflow <azhong.934@gmail.com>
PiperOrigin-RevId: 592889073

copybara-service bot pushed a commit that referenced this pull request

Dec 21, 2023
The initial implementation passed through the entire string unmodified, this allows formatting the Java expressions inside the `\{...}`.

See #1010

Co-authored-by: butterunderflow <azhong.934@gmail.com>
PiperOrigin-RevId: 592940163