blob: d1b4e9b85dcf03d4de05762c075159ea4a8ad6dd [file] [log] [blame]
def xml = $/
<xml>
$tic\tac
</xml>
/$
-----
Groovy script
Variable definitions
Modifiers
PsiElement(def)('def')
PsiWhiteSpace(' ')
Variable
PsiElement(identifier)('xml')
PsiWhiteSpace(' ')
PsiElement(=)('=')
PsiWhiteSpace(' ')
Compound regular expression
PsiElement($/ regex begin)('$/')
GrStringContentImpl(GString content element)
PsiElement($/ regex content)('\n <xml>\n ')
GString injection
PsiElement($)('$')
Reference expression
PsiElement(identifier)('tic')
GrStringContentImpl(GString content element)
PsiElement($/ regex content)('\tac\n </xml>\n')
PsiElement($/ regex end)('/$')