| /$${5}$$$$ref$$$/ |
| ----- |
| Groovy script |
| Compound regular expression |
| PsiElement(regex begin)('/') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)('$') |
| GString injection |
| PsiElement($)('$') |
| Closable block |
| PsiElement({)('{') |
| Parameter list |
| <empty list> |
| Literal |
| PsiElement(Integer)('5') |
| PsiElement(})('}') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)('$$$') |
| GString injection |
| PsiElement($)('$') |
| Reference expression |
| PsiElement(identifier)('ref') |
| GrStringContentImpl(GString content element) |
| PsiElement(regex content)('$$$') |
| PsiElement(regex end)('/') |