eclipse-viatra / org.eclipse.viatra

Main components of the VIATRA framework
https://eclipse.dev/viatra
Eclipse Public License 2.0
0 stars 1 forks source link

#153 #120 Escape string literals in pattern body and annotation #159

Closed bergmanngabor closed 2 months ago

bergmanngabor commented 2 months ago

Fixes #153 Fixes #120

bergmanngabor commented 2 months ago

First, please disregard the earlier typo - this PR is related to #153 rather than #157.

Escaping only comes up when we generate Java code from the pattern model - I see no relevance to dynamic pattern evaluation. At any rate, I have added parser tests and code generator tests to check proper escaping.