blob: 3e6281a7644e827b41b7e7afcc6764f405d34a27 [file] [log] [blame]
for (MyClass c in [1,2,3]) {doo}
-----
Groovy script
For statement
PsiElement(for)('for')
PsiWhiteSpace(' ')
PsiElement(()('(')
In clause
Parameter
Modifiers
<empty list>
Type element
Reference element
PsiElement(identifier)('MyClass')
PsiWhiteSpace(' ')
PsiElement(identifier)('c')
PsiWhiteSpace(' ')
PsiElement(in)('in')
PsiWhiteSpace(' ')
Generalized list
PsiElement([)('[')
Literal
PsiElement(Integer)('1')
PsiElement(,)(',')
Literal
PsiElement(Integer)('2')
PsiElement(,)(',')
Literal
PsiElement(Integer)('3')
PsiElement(])(']')
PsiElement())(')')
PsiWhiteSpace(' ')
Block statement
Open block
PsiElement({)('{')
Reference expression
PsiElement(identifier)('doo')
PsiElement(})('}')