65e6e21d0f
Note, that it only works for top-level declarations ^KT-7185 Fixed
26 lines
794 B
Plaintext
Vendored
26 lines
794 B
Plaintext
Vendored
KtFile: FileStart_ERR.kt
|
|
PACKAGE_DIRECTIVE
|
|
<empty list>
|
|
IMPORT_LIST
|
|
<empty list>
|
|
PsiErrorElement:Expecting a top level declaration
|
|
PsiElement(DIV)('/')
|
|
PsiErrorElement:Expecting a top level declaration
|
|
PsiElement(package)('package')
|
|
PsiWhiteSpace(' ')
|
|
PsiErrorElement:Expecting a top level declaration
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiErrorElement:Expecting a top level declaration
|
|
PsiElement(DOT)('.')
|
|
PsiErrorElement:Expecting a top level declaration
|
|
PsiElement(IDENTIFIER)('bar')
|
|
PsiErrorElement:imports are only allowed in the beginning of file
|
|
<empty list>
|
|
PsiWhiteSpace('\n')
|
|
IMPORT_LIST
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|