/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

  1. foo {a} bar "x"
  2. -----
  3. Groovy script
  4. Call expression
  5. Reference expression
  6. Method call
  7. Reference expression
  8. PsiElement(identifier)('foo')
  9. PsiWhiteSpace(' ')
  10. Arguments
  11. <empty list>
  12. Closable block
  13. PsiElement({)('{')
  14. Parameter list
  15. <empty list>
  16. Reference expression
  17. PsiElement(identifier)('a')
  18. PsiElement(})('}')
  19. PsiWhiteSpace(' ')
  20. PsiElement(identifier)('bar')
  21. PsiWhiteSpace(' ')
  22. Command arguments
  23. Literal
  24. PsiElement(Gstring)('"x"')