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

Implement unapply #40

Closed
wants to merge 203 commits into from
Closed

Conversation

gorilskij
Copy link

@gorilskij gorilskij commented May 14, 2022

Depends on scala/scala3#15191

Initial implementation of unapplySeq for xml interpolator

  • changed the encoding of the interpolator to use an opaque StringContext
  • implemented unapplySeq and wrote tests

Missing

  • matching on values (val xml"<foo>${2}</foo>" = <foo>{2}</foo>)
  • matching namespaces (val xml"<foo xmlns=$x/>" = <foo xmlns="namespace"/>)

@gorilskij gorilskij closed this Jun 13, 2022
@gorilskij gorilskij mentioned this pull request Jun 14, 2022
@nicolasstucki nicolasstucki linked an issue Mar 18, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support xml string interpolator extractor
9 participants