blob: 890437fb658ca6fae2cf1694cd49c19154c8d6f1 [file] [log] [blame]
class a{
def s (String s) {
println (s, a = b)
}
}
-----
Groovy script
Class definition
Modifiers
<empty list>
PsiElement(class)('class')
PsiWhiteSpace(' ')
PsiElement(identifier)('a')
Extends clause
<empty list>
Implements clause
<empty list>
Type definition body
PsiElement({)('{')
PsiWhiteSpace('\n ')
Method
Modifiers
PsiElement(def)('def')
PsiWhiteSpace(' ')
PsiElement(identifier)('s')
PsiWhiteSpace(' ')
PsiElement(()('(')
Parameter list
Parameter
Modifiers
<empty list>
Type element
Reference element
PsiElement(identifier)('String')
PsiWhiteSpace(' ')
PsiElement(identifier)('s')
PsiElement())(')')
Throw clause
<empty list>
PsiWhiteSpace(' ')
Open block
PsiElement({)('{')
PsiWhiteSpace('\n ')
Method call
Reference expression
PsiElement(identifier)('println')
PsiWhiteSpace(' ')
Arguments
PsiElement(()('(')
Reference expression
PsiElement(identifier)('s')
PsiElement(,)(',')
PsiWhiteSpace(' ')
Assignment expression
Reference expression
PsiElement(identifier)('a')
PsiWhiteSpace(' ')
PsiElement(=)('=')
PsiWhiteSpace(' ')
Reference expression
PsiElement(identifier)('b')
PsiElement())(')')
PsiElement(new line)('\n ')
PsiElement(})('}')
PsiElement(new line)('\n')
PsiElement(})('}')