/plugins/groovy/testdata/parsing/groovy/expressions/commandExpr/closureArg2.test
https://bitbucket.org/nbargnesi/idea · Unknown · 24 lines · 24 code · 0 blank · 0 comment · 0 complexity · f8dcf7d54326bfe31e048a4c47f9820b MD5 · raw file
- foo {a} bar "x"
- -----
- Groovy script
- Call expression
- Reference expression
- Method call
- Reference expression
- PsiElement(identifier)('foo')
- PsiWhiteSpace(' ')
- Arguments
- <empty list>
- Closable block
- PsiElement({)('{')
- Parameter list
- <empty list>
- Reference expression
- PsiElement(identifier)('a')
- PsiElement(})('}')
- PsiWhiteSpace(' ')
- PsiElement(identifier)('bar')
- PsiWhiteSpace(' ')
- Command arguments
- Literal
- PsiElement(Gstring)('"x"')