8d226594ff
It's more consistent to normal function body for IDE. Doc comments in file beginning are now sticks to declarations correctly. Moving declarations at the end of scripts is fixed
40 lines
1.1 KiB
Plaintext
Vendored
40 lines
1.1 KiB
Plaintext
Vendored
KtFile: Import.kts
|
|
PACKAGE_DIRECTIVE
|
|
<empty list>
|
|
IMPORT_LIST
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
DOT_QUALIFIED_EXPRESSION
|
|
DOT_QUALIFIED_EXPRESSION
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('aaa')
|
|
PsiElement(DOT)('.')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('bbb')
|
|
PsiElement(DOT)('.')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('Ccc')
|
|
PsiWhiteSpace('\n')
|
|
IMPORT_DIRECTIVE
|
|
PsiElement(import)('import')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('ddd')
|
|
PsiElement(DOT)('.')
|
|
PsiElement(MUL)('*')
|
|
SCRIPT
|
|
BLOCK
|
|
PsiWhiteSpace('\n\n')
|
|
FUN
|
|
PsiElement(fun)('fun')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('foo')
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('1') |