| print ($/cde $this abc $this $+/$) |
| print ($/cde $package pack/$) |
| ----- |
| Groovy script |
| Method call |
| Reference expression |
| PsiElement(identifier)('print') |
| PsiWhiteSpace(' ') |
| Arguments |
| PsiElement(()('(') |
| Compound regular expression |
| PsiElement($/ regex begin)('$/') |
| GrStringContentImpl(GString content element) |
| PsiElement($/ regex content)('cde ') |
| GString injection |
| PsiElement($)('$') |
| Reference expression |
| PsiElement(this)('this') |
| GrStringContentImpl(GString content element) |
| PsiElement($/ regex content)(' abc ') |
| GString injection |
| PsiElement($)('$') |
| Reference expression |
| PsiElement(this)('this') |
| GrStringContentImpl(GString content element) |
| PsiElement($/ regex content)(' $+') |
| PsiElement($/ regex end)('/$') |
| PsiElement())(')') |
| PsiElement(new line)('\n') |
| Method call |
| Reference expression |
| PsiElement(identifier)('print') |
| PsiWhiteSpace(' ') |
| Arguments |
| PsiElement(()('(') |
| Compound regular expression |
| PsiElement($/ regex begin)('$/') |
| GrStringContentImpl(GString content element) |
| PsiElement($/ regex content)('cde ') |
| GString injection |
| PsiElement($)('$') |
| PsiErrorElement:Identifier or code block expected |
| PsiElement(package)('package') |
| GrStringContentImpl(GString content element) |
| PsiElement($/ regex content)(' pack') |
| PsiElement($/ regex end)('/$') |
| PsiElement())(')') |