Add common JetElement for imports: JetImportList

This commit is contained in:
Natalia Ukhorskaya
2013-10-23 18:07:22 +04:00
parent 796dad5798
commit 3287744415
24 changed files with 550 additions and 343 deletions
@@ -1,10 +1,10 @@
JetFile: ImportRecovery.kt
NAMESPACE_HEADER
<empty list>
IMPORT_DIRECTIVE
PsiElement(import)('import')
PsiWhiteSpace(' ')
DOT_QUALIFIED_EXPRESSION
IMPORT_LIST
IMPORT_DIRECTIVE
PsiElement(import)('import')
PsiWhiteSpace(' ')
DOT_QUALIFIED_EXPRESSION
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('some')
@@ -12,7 +12,7 @@ JetFile: ImportRecovery.kt
REFERENCE_EXPRESSION
PsiElement(IDENTIFIER)('test')
PsiElement(DOT)('.')
PsiErrorElement:Qualified name must be a '.'-separated identifier list
PsiErrorElement:Import must be placed on a single line
<empty list>
PsiWhiteSpace('\n\n')
PsiComment(EOL_COMMENT)('// Some')