| j = new int[1][2] |
| j = new int[1][] |
| j = new int[] |
| j = new int[][2] |
| ----- |
| Groovy script |
| Assignment expression |
| Reference expression |
| PsiElement(identifier)('j') |
| PsiWhiteSpace(' ') |
| PsiElement(=)('=') |
| PsiWhiteSpace(' ') |
| NEW expression |
| PsiElement(new)('new') |
| PsiWhiteSpace(' ') |
| Built in type |
| PsiElement(int)('int') |
| Array declaration |
| PsiElement([)('[') |
| Literal |
| PsiElement(Integer)('1') |
| PsiElement(])(']') |
| PsiElement([)('[') |
| Literal |
| PsiElement(Integer)('2') |
| PsiElement(])(']') |
| PsiElement(new line)('\n') |
| Assignment expression |
| Reference expression |
| PsiElement(identifier)('j') |
| PsiWhiteSpace(' ') |
| PsiElement(=)('=') |
| PsiWhiteSpace(' ') |
| NEW expression |
| PsiElement(new)('new') |
| PsiWhiteSpace(' ') |
| Built in type |
| PsiElement(int)('int') |
| Array declaration |
| PsiElement([)('[') |
| Literal |
| PsiElement(Integer)('1') |
| PsiElement(])(']') |
| PsiElement([)('[') |
| PsiElement(])(']') |
| PsiElement(new line)('\n') |
| Assignment expression |
| Reference expression |
| PsiElement(identifier)('j') |
| PsiWhiteSpace(' ') |
| PsiElement(=)('=') |
| PsiWhiteSpace(' ') |
| NEW expression |
| PsiElement(new)('new') |
| PsiWhiteSpace(' ') |
| Built in type |
| PsiElement(int)('int') |
| Array declaration |
| PsiElement([)('[') |
| PsiErrorElement:Expression expected |
| <empty list> |
| PsiElement(])(']') |
| PsiElement(new line)('\n') |
| Assignment expression |
| Reference expression |
| PsiElement(identifier)('j') |
| PsiWhiteSpace(' ') |
| PsiElement(=)('=') |
| PsiWhiteSpace(' ') |
| NEW expression |
| PsiElement(new)('new') |
| PsiWhiteSpace(' ') |
| Built in type |
| PsiElement(int)('int') |
| Array declaration |
| PsiElement([)('[') |
| PsiErrorElement:Expression expected |
| <empty list> |
| PsiElement(])(']') |
| PsiElement([)('[') |
| Literal |
| PsiElement(Integer)('2') |
| PsiElement(])(']') |