Psi: Introduce KtScriptInitializer, a separate entity for script initializers which are quite a bit different from class initializers
This commit is contained in:
+2
-2
@@ -96,7 +96,7 @@ JetFile: semicolonBetweenDeclarations.kt
|
||||
PsiElement(RPAR)(')')
|
||||
PsiElement(SEMICOLON)(';')
|
||||
PsiWhiteSpace('\n\n ')
|
||||
ANONYMOUS_INITIALIZER
|
||||
CLASS_INITIALIZER
|
||||
PsiElement(init)('init')
|
||||
PsiWhiteSpace(' ')
|
||||
BLOCK
|
||||
@@ -162,7 +162,7 @@ JetFile: semicolonBetweenDeclarations.kt
|
||||
<empty list>
|
||||
PsiElement(SEMICOLON)(';')
|
||||
PsiWhiteSpace('\n ')
|
||||
ANONYMOUS_INITIALIZER
|
||||
CLASS_INITIALIZER
|
||||
PsiElement(init)('init')
|
||||
PsiErrorElement:Expecting '{' after 'init'
|
||||
<empty list>
|
||||
|
||||
Reference in New Issue
Block a user