KtFile: namelessObjectAsEnumMember.kt | |
PACKAGE_DIRECTIVE | |
<empty list> | |
IMPORT_LIST | |
<empty list> | |
CLASS | |
PsiComment(EOL_COMMENT)('// test that inner keyword is not parsed as enum entry') | |
PsiWhiteSpace('\n') | |
MODIFIER_LIST | |
PsiElement(public)('public') | |
PsiWhiteSpace(' ') | |
PsiElement(enum)('enum') | |
PsiWhiteSpace(' ') | |
PsiElement(class)('class') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('A') | |
PsiWhiteSpace(' ') | |
CLASS_BODY | |
PsiElement(LBRACE)('{') | |
PsiWhiteSpace('\n ') | |
ENUM_ENTRY | |
PsiElement(IDENTIFIER)('A') | |
PsiElement(COMMA)(',') | |
PsiWhiteSpace('\n ') | |
ENUM_ENTRY | |
PsiElement(IDENTIFIER)('B') | |
PsiElement(SEMICOLON)(';') | |
PsiWhiteSpace('\n\n ') | |
OBJECT_DECLARATION | |
MODIFIER_LIST | |
PsiElement(inner)('inner') | |
PsiWhiteSpace(' ') | |
PsiElement(object)('object') | |
PsiErrorElement:Name expected | |
<empty list> | |
PsiWhiteSpace('\n') | |
PsiElement(RBRACE)('}') |