02aafe4262
Also adjust parser testData
78 lines
2.1 KiB
Plaintext
Vendored
78 lines
2.1 KiB
Plaintext
Vendored
JetFile: InterfaceWithEnumKeyword.kt
|
|
PACKAGE_DIRECTIVE
|
|
<empty list>
|
|
IMPORT_LIST
|
|
<empty list>
|
|
CLASS
|
|
MODIFIER_LIST
|
|
PsiElement(enum)('enum')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(interface)('interface')
|
|
PsiErrorElement:Name expected
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('E1')
|
|
PsiWhiteSpace(' ')
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
MODIFIER_LIST
|
|
PsiErrorElement:Use '@' symbol before annotations
|
|
<empty list>
|
|
ANNOTATION_ENTRY
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('D')
|
|
PsiErrorElement:Expecting member declaration
|
|
<empty list>
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n\n')
|
|
CLASS
|
|
PsiElement(interface)('interface')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('enum')
|
|
PsiWhiteSpace(' ')
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('E2')
|
|
PsiWhiteSpace(' ')
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
MODIFIER_LIST
|
|
PsiErrorElement:Use '@' symbol before annotations
|
|
<empty list>
|
|
ANNOTATION_ENTRY
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('D')
|
|
PsiErrorElement:Expecting member declaration
|
|
<empty list>
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n\n')
|
|
CLASS
|
|
MODIFIER_LIST
|
|
PsiElement(enum)('enum')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(interface)('interface')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('E3')
|
|
PsiWhiteSpace(' ')
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
ENUM_ENTRY
|
|
OBJECT_DECLARATION_NAME
|
|
PsiElement(IDENTIFIER)('D')
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}') |