Psi: Introduce KtScriptInitializer, a separate entity for script initializers which are quite a bit different from class initializers

This commit is contained in:
Pavel V. Talanov
2015-11-19 15:32:44 +03:00
parent 321364102a
commit dbd49c37c1
28 changed files with 93 additions and 63 deletions
+2 -2
View File
@@ -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(' ')