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
@@ -58,7 +58,7 @@ JetFile: ComplexScript.kts
|
||||
PsiWhiteSpace('\n')
|
||||
PsiElement(RBRACE)('}')
|
||||
PsiWhiteSpace('\n\n')
|
||||
ANONYMOUS_INITIALIZER
|
||||
SCRIPT_INITIALIZER
|
||||
IF
|
||||
PsiElement(if)('if')
|
||||
PsiWhiteSpace(' ')
|
||||
@@ -98,7 +98,7 @@ JetFile: ComplexScript.kts
|
||||
PsiWhiteSpace('\n')
|
||||
PsiElement(RBRACE)('}')
|
||||
PsiWhiteSpace('\n\n')
|
||||
ANONYMOUS_INITIALIZER
|
||||
SCRIPT_INITIALIZER
|
||||
FOR
|
||||
PsiElement(for)('for')
|
||||
PsiWhiteSpace(' ')
|
||||
|
||||
Reference in New Issue
Block a user