| /abcde $2$$ ${/asdc $$ asdd $ident3 123/} $$ $ident2 asd/ |
| ----- |
| Groovy script |
| Compound regular expression |
| PsiElement(regex begin)('/') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)('abcde $2$$ ') |
| GString injection |
| PsiElement($)('$') |
| Closable block |
| PsiElement({)('{') |
| Parameter list |
| <empty list> |
| Compound regular expression |
| PsiElement(regex begin)('/') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)('asdc $$ asdd ') |
| GString injection |
| PsiElement($)('$') |
| Reference expression |
| PsiElement(identifier)('ident3') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)(' 123') |
| PsiElement(regex end)('/') |
| PsiElement(})('}') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)(' $$ ') |
| GString injection |
| PsiElement($)('$') |
| Reference expression |
| PsiElement(identifier)('ident2') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)(' asd') |
| PsiElement(regex end)('/') |