GString lexing fix
[fedora-idea.git] / plugins / groovy / testdata / parsing / groovy / statements / blocks / clos4.test
blob1bb7922e7ee604e8c19ab6068c94df87d51b9aee
1 "Pre ${ a = b; println "bugaga" 3} ved"
2 -----
3 Groovy script
4   Compound Gstring
5     PsiElement(Gstring begin)('"')
6     PsiElement(Gstring content)('Pre ')
7     GString injection
8       PsiElement($)('$')
9       Closable block
10         PsiElement({)('{')
11         PsiWhiteSpace(' ')
12         Parameter list
13           <empty list>
14         Assignment expression
15           Reference expression
16             PsiElement(identifier)('a')
17           PsiWhiteSpace(' ')
18           PsiElement(=)('=')
19           PsiWhiteSpace(' ')
20           Reference expression
21             PsiElement(identifier)('b')
22         PsiElement(;)(';')
23         PsiWhiteSpace(' ')
24         Call expression
25           Reference expression
26             PsiElement(identifier)('println')
27           PsiWhiteSpace(' ')
28           Command arguments
29             Literal
30               PsiElement(Gstring)('"bugaga"')
31         PsiWhiteSpace(' ')
32         PsiErrorElement:';', '}' or new line expected
33           PsiElement(Integer)('3')
34         PsiElement(})('}')
35     PsiElement(Gstring content)(' ved')
36     PsiElement(Gstring end)('"')