| a.$/dfg/$./fg/."sfg"./${a}/.$/df$g/$ |
| ----- |
| Groovy script |
| Property selection |
| Property selection |
| Reference expression |
| Reference expression |
| Reference expression |
| Reference expression |
| PsiElement(identifier)('a') |
| PsiElement(.)('.') |
| GroovyASTPsiElementImpl($/ regex literal) |
| PsiElement($/ regex begin)('$/') |
| PsiElement($/ regex content)('dfg') |
| PsiElement($/ regex end)('/$') |
| PsiElement(.)('.') |
| GroovyASTPsiElementImpl(regex literal) |
| PsiElement(regex begin)('/') |
| PsiElement(regex content)('fg') |
| PsiElement(regex end)('/') |
| PsiElement(.)('.') |
| PsiElement(Gstring)('"sfg"') |
| PsiElement(.)('.') |
| Compound regular expression |
| PsiElement(regex begin)('/') |
| GrStringContentImpl(GString content element) |
| ASTWrapperPsiElement(regex content) |
| <empty list> |
| GString injection |
| PsiElement($)('$') |
| Closable block |
| PsiElement({)('{') |
| Parameter list |
| <empty list> |
| Reference expression |
| PsiElement(identifier)('a') |
| PsiElement(})('}') |
| GrStringContentImpl(GString content element) |
| ASTWrapperPsiElement(regex content) |
| <empty list> |
| PsiElement(regex end)('/') |
| PsiElement(.)('.') |
| Compound regular expression |
| PsiElement($/ regex begin)('$/') |
| GrStringContentImpl(GString content element) |
| PsiElement($/ regex content)('df') |
| GString injection |
| PsiElement($)('$') |
| Reference expression |
| PsiElement(identifier)('g') |
| GrStringContentImpl(GString content element) |
| ASTWrapperPsiElement($/ regex content) |
| <empty list> |
| PsiElement($/ regex end)('/$') |