Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SI-12290: support JDK15 text blocks in Java parser #9548

Merged
merged 1 commit into from Apr 23, 2021

Commits on Apr 23, 2021

  1. SI-12290: support JDK15 text blocks in Java parser

    JDK15 introduced text blocks (JEP 378) for writing multiline strings.
    This adds support for parsing these strings in the Java parser.
    
    The logic for interpretting the literals is a little complicated, but
    follows from the "3.10.6. Text Blocks" of the Java language specification.
    The test cases include examples from there and from the JEP.
    harpocrates authored and lrytz committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    a8225a0 View commit details
    Browse the repository at this point in the history