KtFile: EnumOldConstructorSyntax.kt | |
PACKAGE_DIRECTIVE | |
<empty list> | |
IMPORT_LIST | |
<empty list> | |
CLASS | |
MODIFIER_LIST | |
PsiElement(enum)('enum') | |
PsiWhiteSpace(' ') | |
PsiElement(class)('class') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('My') | |
PRIMARY_CONSTRUCTOR | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('x') | |
PsiElement(COLON)(':') | |
PsiWhiteSpace(' ') | |
TYPE_REFERENCE | |
USER_TYPE | |
REFERENCE_EXPRESSION | |
PsiElement(IDENTIFIER)('Int') | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
CLASS_BODY | |
PsiElement(LBRACE)('{') | |
PsiWhiteSpace('\n ') | |
ENUM_ENTRY | |
PsiElement(IDENTIFIER)('FIRST') | |
PsiErrorElement:Expecting ';' after the last enum entry or '}' to close enum class body | |
<empty list> | |
PsiErrorElement:Expecting member declaration | |
PsiElement(COLON)(':') | |
PsiWhiteSpace(' ') | |
PsiErrorElement:Expecting member declaration | |
PsiElement(IDENTIFIER)('My') | |
PsiErrorElement:Expecting member declaration | |
PsiElement(LPAR)('(') | |
PsiErrorElement:Expecting member declaration | |
PsiElement(INTEGER_LITERAL)('13') | |
PsiErrorElement:Expecting member declaration | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace('\n\n ') | |
PROPERTY | |
PsiElement(val)('val') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('y') | |
PsiWhiteSpace(' ') | |
PsiElement(EQ)('=') | |
PsiWhiteSpace(' ') | |
BINARY_EXPRESSION | |
REFERENCE_EXPRESSION | |
PsiElement(IDENTIFIER)('x') | |
PsiWhiteSpace(' ') | |
OPERATION_REFERENCE | |
PsiElement(PLUS)('+') | |
PsiWhiteSpace(' ') | |
INTEGER_CONSTANT | |
PsiElement(INTEGER_LITERAL)('1') | |
PsiWhiteSpace('\n') | |
PsiElement(RBRACE)('}') |