blob: 0fd7d25f395ca82be790576beca69cb600103bc9 [file] [log] [blame]
if (x instanceof List<String>) {2+3}
-----
Groovy script
IF statement
PsiElement(if)('if')
PsiWhiteSpace(' ')
PsiElement(()('(')
Instanceof expression
Reference expression
PsiElement(identifier)('x')
PsiWhiteSpace(' ')
PsiElement(instanceof)('instanceof')
PsiWhiteSpace(' ')
Type element
Reference element
PsiElement(identifier)('List')
Type arguments
PsiElement(<)('<')
Type element
Reference element
PsiElement(identifier)('String')
PsiElement(>)('>')
PsiElement())(')')
PsiWhiteSpace(' ')
Block statement
Open block
PsiElement({)('{')
Additive expression
Literal
PsiElement(Integer)('2')
PsiElement(+)('+')
Literal
PsiElement(Integer)('3')
PsiElement(})('}')