Create import list psi element even if no directives are present
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291 New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present Add test for inserting import to file where a first statement is a comment Drop code dealing with non-existing import list in ImportInsertHelperImpl AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
This commit is contained in:
@@ -86,3 +86,9 @@ object TrailingCommentsBinder : WhitespacesAndCommentsBinder {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object DoNotBindAnything : WhitespacesAndCommentsBinder {
|
||||||
|
override fun getEdgePosition(tokens: List<IElementType>, atStreamEdge: Boolean, getter: WhitespacesAndCommentsBinder.TokenTextGetter): Int {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -215,8 +215,8 @@ public class JetParsing extends AbstractJetParsing {
|
|||||||
parseFileAnnotationList(FILE_ANNOTATIONS_WHEN_PACKAGE_OMITTED);
|
parseFileAnnotationList(FILE_ANNOTATIONS_WHEN_PACKAGE_OMITTED);
|
||||||
packageDirective = mark();
|
packageDirective = mark();
|
||||||
packageDirective.done(PACKAGE_DIRECTIVE);
|
packageDirective.done(PACKAGE_DIRECTIVE);
|
||||||
// this is necessary to allow comments at the start of the file to be bound to the first declaration:
|
// this is necessary to allow comments at the start of the file to be bound to the first declaration
|
||||||
packageDirective.setCustomEdgeTokenBinders(PrecedingCommentsBinder.INSTANCE$, null);
|
packageDirective.setCustomEdgeTokenBinders(DoNotBindAnything.INSTANCE$, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
parseImportDirectives();
|
parseImportDirectives();
|
||||||
@@ -351,13 +351,15 @@ public class JetParsing extends AbstractJetParsing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void parseImportDirectives() {
|
private void parseImportDirectives() {
|
||||||
if (at(IMPORT_KEYWORD)) {
|
PsiBuilder.Marker importList = mark();
|
||||||
PsiBuilder.Marker importList = mark();
|
if (!at(IMPORT_KEYWORD)) {
|
||||||
while (at(IMPORT_KEYWORD)) {
|
// this is necessary to allow comments at the start of the file to be bound to the first declaration
|
||||||
parseImportDirective();
|
importList.setCustomEdgeTokenBinders(DoNotBindAnything.INSTANCE$, null);
|
||||||
}
|
|
||||||
importList.done(IMPORT_LIST);
|
|
||||||
}
|
}
|
||||||
|
while (at(IMPORT_KEYWORD)) {
|
||||||
|
parseImportDirective();
|
||||||
|
}
|
||||||
|
importList.done(IMPORT_LIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@ import org.jetbrains.kotlin.psi.stubs.impl.KotlinFileStubImpl;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
public class JetFileElementType extends IStubFileElementType<KotlinFileStub> {
|
public class JetFileElementType extends IStubFileElementType<KotlinFileStub> {
|
||||||
public static final int STUB_VERSION = 46;
|
public static final int STUB_VERSION = 47;
|
||||||
|
|
||||||
private static final String NAME = "kotlin.FILE";
|
private static final String NAME = "kotlin.FILE";
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ JetFile: fragment.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('a')
|
PsiElement(IDENTIFIER)('a')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
@@ -15,4 +17,4 @@ JetFile: fragment.kt
|
|||||||
PsiElement(EQ)('=')
|
PsiElement(EQ)('=')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: AbsentInnerType.kt
|
JetFile: AbsentInnerType.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -18,4 +20,4 @@ JetFile: AbsentInnerType.kt
|
|||||||
PsiElement(EQ)('=')
|
PsiElement(EQ)('=')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: AnonymousInitializer.kt
|
JetFile: AnonymousInitializer.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -34,4 +36,4 @@ JetFile: AnonymousInitializer.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: AssertNotNull.kt
|
JetFile: AssertNotNull.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -123,4 +125,4 @@ JetFile: AssertNotNull.kt
|
|||||||
PsiElement(false)('false')
|
PsiElement(false)('false')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -4,6 +4,8 @@ JetFile: BabySteps.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('foo')
|
PsiElement(IDENTIFIER)('foo')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
@@ -78,4 +80,4 @@ JetFile: BabySteps.kt
|
|||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -4,6 +4,8 @@ JetFile: BabySteps_ERR.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('foo')
|
PsiElement(IDENTIFIER)('foo')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
@@ -80,4 +82,4 @@ JetFile: BabySteps_ERR.kt
|
|||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: BackslashInString.kt
|
JetFile: BackslashInString.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -19,4 +21,4 @@ JetFile: BackslashInString.kt
|
|||||||
PsiErrorElement:Expecting '"'
|
PsiErrorElement:Expecting '"'
|
||||||
<empty list>
|
<empty list>
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
JetFile: BlockCommentAtBeginningOfFile1.kt
|
JetFile: BlockCommentAtBeginningOfFile1.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiComment(BLOCK_COMMENT)('/*')
|
PsiComment(BLOCK_COMMENT)('/*')
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
JetFile: BlockCommentAtBeginningOfFile2.kt
|
JetFile: BlockCommentAtBeginningOfFile2.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiComment(BLOCK_COMMENT)('/*\n/*')
|
PsiComment(BLOCK_COMMENT)('/*\n/*')
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
JetFile: BlockCommentAtBeginningOfFile3.kt
|
JetFile: BlockCommentAtBeginningOfFile3.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiComment(BLOCK_COMMENT)('/*\n\nfooo')
|
PsiComment(BLOCK_COMMENT)('/*\n\nfooo')
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
JetFile: BlockCommentAtBeginningOfFile4.kt
|
JetFile: BlockCommentAtBeginningOfFile4.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiComment(BLOCK_COMMENT)('/*\n\n/*foo*/\n\nasdfas')
|
PsiComment(BLOCK_COMMENT)('/*\n\n/*foo*/\n\nasdfas')
|
||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ByClauses.kt
|
JetFile: ByClauses.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -329,4 +331,4 @@ JetFile: ByClauses.kt
|
|||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: CallWithManyClosures.kt
|
JetFile: CallWithManyClosures.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -241,4 +243,4 @@ JetFile: CallWithManyClosures.kt
|
|||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
BLOCK
|
BLOCK
|
||||||
<empty list>
|
<empty list>
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: CallsInWhen.kt
|
JetFile: CallsInWhen.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -219,4 +221,4 @@ JetFile: CallsInWhen.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Constructors.kt
|
JetFile: Constructors.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -111,4 +113,4 @@ JetFile: Constructors.kt
|
|||||||
TYPE_REFERENCE
|
TYPE_REFERENCE
|
||||||
USER_TYPE
|
USER_TYPE
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('Bar')
|
PsiElement(IDENTIFIER)('Bar')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ControlStructures.kt
|
JetFile: ControlStructures.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -991,4 +993,4 @@ JetFile: ControlStructures.kt
|
|||||||
PsiElement(IDENTIFIER)('r')
|
PsiElement(IDENTIFIER)('r')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: DefaultKeyword.kt
|
JetFile: DefaultKeyword.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -366,4 +368,4 @@ JetFile: DefaultKeyword.kt
|
|||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
@@ -11,9 +11,11 @@ JetFile: DocCommentAfterFileAnnotations.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('volatile')
|
PsiElement(IDENTIFIER)('volatile')
|
||||||
PsiElement(RBRACKET)(']')
|
PsiElement(RBRACKET)(']')
|
||||||
PsiWhiteSpace('\n')
|
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
|
PsiWhiteSpace('\n')
|
||||||
CLASS
|
CLASS
|
||||||
KDoc
|
KDoc
|
||||||
PsiElement(KDOC_START)('/**')
|
PsiElement(KDOC_START)('/**')
|
||||||
@@ -29,4 +31,4 @@ JetFile: DocCommentAfterFileAnnotations.kt
|
|||||||
PsiElement(IDENTIFIER)('C')
|
PsiElement(IDENTIFIER)('C')
|
||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: DocCommentForFirstDeclaration.kt
|
JetFile: DocCommentForFirstDeclaration.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
KDoc
|
KDoc
|
||||||
PsiElement(KDOC_START)('/**')
|
PsiElement(KDOC_START)('/**')
|
||||||
@@ -20,4 +22,4 @@ JetFile: DocCommentForFirstDeclaration.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
BLOCK
|
BLOCK
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ JetFile: DocCommentOnPackageDirectiveLine.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('p2')
|
PsiElement(IDENTIFIER)('p2')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
KDoc
|
KDoc
|
||||||
PsiElement(KDOC_START)('/**')
|
PsiElement(KDOC_START)('/**')
|
||||||
@@ -24,4 +26,4 @@ JetFile: DocCommentOnPackageDirectiveLine.kt
|
|||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
BLOCK
|
BLOCK
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: DocCommentsBinding.kt
|
JetFile: DocCommentsBinding.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
KDoc
|
KDoc
|
||||||
PsiElement(KDOC_START)('/**')
|
PsiElement(KDOC_START)('/**')
|
||||||
@@ -177,4 +179,4 @@ JetFile: DocCommentsBinding.kt
|
|||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: DoubleColon.kt
|
JetFile: DoubleColon.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -606,4 +608,4 @@ JetFile: DoubleColon.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiErrorElement:Expecting an identifier
|
PsiErrorElement:Expecting an identifier
|
||||||
<empty list>
|
<empty list>
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: DynamicReceiver.kt
|
JetFile: DynamicReceiver.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -137,4 +139,4 @@ JetFile: DynamicReceiver.kt
|
|||||||
PsiElement(IDENTIFIER)('foo')
|
PsiElement(IDENTIFIER)('foo')
|
||||||
VALUE_PARAMETER_LIST
|
VALUE_PARAMETER_LIST
|
||||||
PsiElement(LPAR)('(')
|
PsiElement(LPAR)('(')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: DynamicSoftKeyword.kt
|
JetFile: DynamicSoftKeyword.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
ANNOTATION_ENTRY
|
ANNOTATION_ENTRY
|
||||||
@@ -84,4 +86,4 @@ JetFile: DynamicSoftKeyword.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: DynamicTypes.kt
|
JetFile: DynamicTypes.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -135,4 +137,4 @@ JetFile: DynamicTypes.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
TYPE_REFERENCE
|
TYPE_REFERENCE
|
||||||
DYNAMIC_TYPE
|
DYNAMIC_TYPE
|
||||||
PsiElement(dynamic)('dynamic')
|
PsiElement(dynamic)('dynamic')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EOLsInComments.kt
|
JetFile: EOLsInComments.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -113,4 +115,4 @@ JetFile: EOLsInComments.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('b')
|
PsiElement(IDENTIFIER)('b')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EOLsOnRollback.kt
|
JetFile: EOLsOnRollback.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -87,4 +89,4 @@ JetFile: EOLsOnRollback.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(IDENTIFIER)('f')
|
PsiElement(IDENTIFIER)('f')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+2
@@ -1,3 +1,5 @@
|
|||||||
JetFile: EmptyFile.kt
|
JetFile: EmptyFile.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
<empty list>
|
<empty list>
|
||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumCommas.kt
|
JetFile: EnumCommas.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(enum)('enum')
|
PsiElement(enum)('enum')
|
||||||
@@ -34,4 +36,4 @@ JetFile: EnumCommas.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumMissingName.kt
|
JetFile: EnumMissingName.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiComment(EOL_COMMENT)('// Error: name should present')
|
PsiComment(EOL_COMMENT)('// Error: name should present')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
@@ -82,4 +84,4 @@ JetFile: EnumMissingName.kt
|
|||||||
PsiElement(INTEGER_LITERAL)('0x0000FF')
|
PsiElement(INTEGER_LITERAL)('0x0000FF')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -20,6 +20,8 @@ JetFile: EnumNoAnnotations.kt
|
|||||||
PsiElement(DOT)('.')
|
PsiElement(DOT)('.')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('enum')
|
PsiElement(IDENTIFIER)('enum')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
@@ -97,4 +99,4 @@ JetFile: EnumNoAnnotations.kt
|
|||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('3')
|
PsiElement(INTEGER_LITERAL)('3')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumSemicolonBetween.kt
|
JetFile: EnumSemicolonBetween.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(enum)('enum')
|
PsiElement(enum)('enum')
|
||||||
@@ -34,4 +36,4 @@ JetFile: EnumSemicolonBetween.kt
|
|||||||
OBJECT_DECLARATION_NAME
|
OBJECT_DECLARATION_NAME
|
||||||
PsiElement(IDENTIFIER)('EAST')
|
PsiElement(IDENTIFIER)('EAST')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumSemicolonBetweenWithMembers.kt
|
JetFile: EnumSemicolonBetweenWithMembers.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(enum)('enum')
|
PsiElement(enum)('enum')
|
||||||
@@ -69,4 +71,4 @@ JetFile: EnumSemicolonBetweenWithMembers.kt
|
|||||||
OBJECT_DECLARATION_NAME
|
OBJECT_DECLARATION_NAME
|
||||||
PsiElement(IDENTIFIER)('EAST')
|
PsiElement(IDENTIFIER)('EAST')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumShortCommas.kt
|
JetFile: EnumShortCommas.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(enum)('enum')
|
PsiElement(enum)('enum')
|
||||||
@@ -83,4 +85,4 @@ JetFile: EnumShortCommas.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumShortNoCommas.kt
|
JetFile: EnumShortNoCommas.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiComment(EOL_COMMENT)('// NB: this test uses deprecated syntax')
|
PsiComment(EOL_COMMENT)('// NB: this test uses deprecated syntax')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
@@ -82,4 +84,4 @@ JetFile: EnumShortNoCommas.kt
|
|||||||
PsiElement(INTEGER_LITERAL)('0x0000FF')
|
PsiElement(INTEGER_LITERAL)('0x0000FF')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumShortWithOverload.kt
|
JetFile: EnumShortWithOverload.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(enum)('enum')
|
PsiElement(enum)('enum')
|
||||||
@@ -197,4 +199,4 @@ JetFile: EnumShortWithOverload.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('Int')
|
PsiElement(IDENTIFIER)('Int')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: EnumShortWithOverloadNoCommas.kt
|
JetFile: EnumShortWithOverloadNoCommas.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(enum)('enum')
|
PsiElement(enum)('enum')
|
||||||
@@ -194,4 +196,4 @@ JetFile: EnumShortWithOverloadNoCommas.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('Int')
|
PsiElement(IDENTIFIER)('Int')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Enums.kt
|
JetFile: Enums.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(enum)('enum')
|
PsiElement(enum)('enum')
|
||||||
@@ -87,4 +89,4 @@ JetFile: Enums.kt
|
|||||||
PsiElement(INTEGER_LITERAL)('0x0000FF')
|
PsiElement(INTEGER_LITERAL)('0x0000FF')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Expressions_ERR.kt
|
JetFile: Expressions_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -55,4 +57,4 @@ JetFile: Expressions_ERR.kt
|
|||||||
PsiErrorElement:Expecting an element
|
PsiErrorElement:Expecting an element
|
||||||
PsiElement(RBRACKET)(']')
|
PsiElement(RBRACKET)(']')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ExtensionsWithQNReceiver.kt
|
JetFile: ExtensionsWithQNReceiver.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -73,4 +75,4 @@ JetFile: ExtensionsWithQNReceiver.kt
|
|||||||
PsiElement(EQ)('=')
|
PsiElement(EQ)('=')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FileStart_ERR.kt
|
JetFile: FileStart_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiErrorElement:Expecting a top level declaration
|
PsiErrorElement:Expecting a top level declaration
|
||||||
PsiElement(DIV)('/')
|
PsiElement(DIV)('/')
|
||||||
PsiErrorElement:Expecting a top level declaration
|
PsiErrorElement:Expecting a top level declaration
|
||||||
@@ -32,4 +34,4 @@ JetFile: FileStart_ERR.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('foo')
|
PsiElement(IDENTIFIER)('foo')
|
||||||
PsiErrorElement:Expecting a top level declaration
|
PsiErrorElement:Expecting a top level declaration
|
||||||
<empty list>
|
<empty list>
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FloatingPointLiteral.kt
|
JetFile: FloatingPointLiteral.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -111,4 +113,4 @@ JetFile: FloatingPointLiteral.kt
|
|||||||
FLOAT_CONSTANT
|
FLOAT_CONSTANT
|
||||||
PsiElement(FLOAT_CONSTANT)('1.0e-1f')
|
PsiElement(FLOAT_CONSTANT)('1.0e-1f')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ForWithMultiDecl.kt
|
JetFile: ForWithMultiDecl.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -663,4 +665,4 @@ JetFile: ForWithMultiDecl.kt
|
|||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionCalls.kt
|
JetFile: FunctionCalls.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -494,4 +496,4 @@ JetFile: FunctionCalls.kt
|
|||||||
PsiElement(LPAR)('(')
|
PsiElement(LPAR)('(')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionExpressions.kt
|
JetFile: FunctionExpressions.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -975,4 +977,4 @@ JetFile: FunctionExpressions.kt
|
|||||||
PsiElement(IDENTIFIER)('a')
|
PsiElement(IDENTIFIER)('a')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionExpressions_ERR.kt
|
JetFile: FunctionExpressions_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -641,4 +643,4 @@ JetFile: FunctionExpressions_ERR.kt
|
|||||||
PsiElement(IDENTIFIER)('V')
|
PsiElement(IDENTIFIER)('V')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionLiterals.kt
|
JetFile: FunctionLiterals.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -799,4 +801,4 @@ JetFile: FunctionLiterals.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiComment(EOL_COMMENT)('//{[a] a: A -> }')
|
PsiComment(EOL_COMMENT)('//{[a] a: A -> }')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionLiterals_ERR.kt
|
JetFile: FunctionLiterals_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -509,4 +511,4 @@ JetFile: FunctionLiterals_ERR.kt
|
|||||||
<empty list>
|
<empty list>
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionNoParameterList.kt
|
JetFile: FunctionNoParameterList.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -41,4 +43,4 @@ JetFile: FunctionNoParameterList.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionTypes.kt
|
JetFile: FunctionTypes.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
TYPEDEF
|
TYPEDEF
|
||||||
PsiElement(typealias)('typealias')
|
PsiElement(typealias)('typealias')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -667,4 +669,4 @@ JetFile: FunctionTypes.kt
|
|||||||
TYPE_REFERENCE
|
TYPE_REFERENCE
|
||||||
USER_TYPE
|
USER_TYPE
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('Unit')
|
PsiElement(IDENTIFIER)('Unit')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionTypes_ERR.kt
|
JetFile: FunctionTypes_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
TYPEDEF
|
TYPEDEF
|
||||||
PsiElement(typealias)('typealias')
|
PsiElement(typealias)('typealias')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -28,4 +30,4 @@ JetFile: FunctionTypes_ERR.kt
|
|||||||
TYPE_REFERENCE
|
TYPE_REFERENCE
|
||||||
USER_TYPE
|
USER_TYPE
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('b')
|
PsiElement(IDENTIFIER)('b')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Functions.kt
|
JetFile: Functions.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -635,4 +637,4 @@ JetFile: Functions.kt
|
|||||||
PsiElement(EQ)('=')
|
PsiElement(EQ)('=')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('5')
|
PsiElement(INTEGER_LITERAL)('5')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionsWithoutName.kt
|
JetFile: FunctionsWithoutName.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -479,4 +481,4 @@ JetFile: FunctionsWithoutName.kt
|
|||||||
USER_TYPE
|
USER_TYPE
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('bar')
|
PsiElement(IDENTIFIER)('bar')
|
||||||
PsiElement(QUEST)('?')
|
PsiElement(QUEST)('?')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: FunctionsWithoutName_ERR.kt
|
JetFile: FunctionsWithoutName_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiErrorElement:Expecting '('
|
PsiErrorElement:Expecting '('
|
||||||
@@ -283,4 +285,4 @@ JetFile: FunctionsWithoutName_ERR.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('a')
|
PsiElement(IDENTIFIER)('a')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Functions_ERR.kt
|
JetFile: Functions_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -304,4 +306,4 @@ JetFile: Functions_ERR.kt
|
|||||||
PsiErrorElement:Expecting an expression
|
PsiErrorElement:Expecting an expression
|
||||||
<empty list>
|
<empty list>
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: HangOnLonelyModifier.kt
|
JetFile: HangOnLonelyModifier.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -15,4 +17,4 @@ JetFile: HangOnLonelyModifier.kt
|
|||||||
PsiErrorElement:Expecting a statement
|
PsiErrorElement:Expecting a statement
|
||||||
PsiElement(in)('in')
|
PsiElement(in)('in')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: IfWithPropery.kt
|
JetFile: IfWithPropery.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -84,4 +86,4 @@ JetFile: IfWithPropery.kt
|
|||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
NULL
|
NULL
|
||||||
PsiElement(null)('null')
|
PsiElement(null)('null')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Inner.kt
|
JetFile: Inner.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -17,4 +19,4 @@ JetFile: Inner.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(IDENTIFIER)('Inner')
|
PsiElement(IDENTIFIER)('Inner')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: IntegerLiteral.kt
|
JetFile: IntegerLiteral.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -113,4 +115,4 @@ JetFile: IntegerLiteral.kt
|
|||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('0')
|
PsiElement(INTEGER_LITERAL)('0')
|
||||||
PsiErrorElement:Property getter or setter expected
|
PsiErrorElement:Property getter or setter expected
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Interface.kt
|
JetFile: Interface.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(interface)('interface')
|
PsiElement(interface)('interface')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -22,4 +24,4 @@ JetFile: Interface.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(IDENTIFIER)('a')
|
PsiElement(IDENTIFIER)('a')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Labels.kt
|
JetFile: Labels.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -315,4 +317,4 @@ JetFile: Labels.kt
|
|||||||
PsiElement(AT)('@')
|
PsiElement(AT)('@')
|
||||||
PsiElement(IDENTIFIER)('a')
|
PsiElement(IDENTIFIER)('a')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
@@ -11,9 +11,11 @@ JetFile: LineCommentAfterFileAnnotations.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('volatile')
|
PsiElement(IDENTIFIER)('volatile')
|
||||||
PsiElement(RBRACKET)(']')
|
PsiElement(RBRACKET)(']')
|
||||||
PsiWhiteSpace('\n')
|
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
|
PsiWhiteSpace('\n')
|
||||||
CLASS
|
CLASS
|
||||||
PsiComment(EOL_COMMENT)('// class C')
|
PsiComment(EOL_COMMENT)('// class C')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
@@ -22,4 +24,4 @@ JetFile: LineCommentAfterFileAnnotations.kt
|
|||||||
PsiElement(IDENTIFIER)('C')
|
PsiElement(IDENTIFIER)('C')
|
||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
JetFile: LineCommentForFirstDeclaration.kt
|
JetFile: LineCommentForFirstDeclaration.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiComment(EOL_COMMENT)('// This is foo')
|
PsiComment(EOL_COMMENT)('// This is foo')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
@@ -13,4 +15,4 @@ JetFile: LineCommentForFirstDeclaration.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
BLOCK
|
BLOCK
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: LocalDeclarations.kt
|
JetFile: LocalDeclarations.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -122,4 +124,4 @@ JetFile: LocalDeclarations.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('Unit')
|
PsiElement(IDENTIFIER)('Unit')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -15,4 +15,6 @@ JetFile: LongPackageName.kt
|
|||||||
PsiElement(IDENTIFIER)('baz')
|
PsiElement(IDENTIFIER)('baz')
|
||||||
PsiElement(DOT)('.')
|
PsiElement(DOT)('.')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('buzz')
|
PsiElement(IDENTIFIER)('buzz')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
+5
-3
@@ -1,8 +1,10 @@
|
|||||||
JetFile: ModifierAsSelector.kt
|
JetFile: ModifierAsSelector.kt
|
||||||
PsiComment(EOL_COMMENT)('// JET-1')
|
|
||||||
PsiWhiteSpace('\n\n')
|
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
|
PsiComment(EOL_COMMENT)('// JET-1')
|
||||||
|
PsiWhiteSpace('\n\n')
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -39,4 +41,4 @@ JetFile: ModifierAsSelector.kt
|
|||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: MultiVariableDeclarations.kt
|
JetFile: MultiVariableDeclarations.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -614,4 +616,4 @@ JetFile: MultiVariableDeclarations.kt
|
|||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: NamedClassObject.kt
|
JetFile: NamedClassObject.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -52,4 +54,4 @@ JetFile: NamedClassObject.kt
|
|||||||
OBJECT_DECLARATION_NAME
|
OBJECT_DECLARATION_NAME
|
||||||
PsiElement(IDENTIFIER)('C')
|
PsiElement(IDENTIFIER)('C')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: NestedComments.kt
|
JetFile: NestedComments.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -61,4 +63,4 @@ JetFile: NestedComments.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('b')
|
PsiElement(IDENTIFIER)('b')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: NewLinesValidOperations.kt
|
JetFile: NewLinesValidOperations.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -105,4 +107,4 @@ JetFile: NewLinesValidOperations.kt
|
|||||||
BOOLEAN_CONSTANT
|
BOOLEAN_CONSTANT
|
||||||
PsiElement(true)('true')
|
PsiElement(true)('true')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: NewlinesInParentheses.kt
|
JetFile: NewlinesInParentheses.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -363,4 +365,4 @@ JetFile: NewlinesInParentheses.kt
|
|||||||
PsiElement(IDENTIFIER)('X')
|
PsiElement(IDENTIFIER)('X')
|
||||||
PsiElement(GT)('>')
|
PsiElement(GT)('>')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: NotIsAndNotIn.kt
|
JetFile: NotIsAndNotIn.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -60,4 +62,4 @@ JetFile: NotIsAndNotIn.kt
|
|||||||
PsiElement(IDENTIFIER)('a')
|
PsiElement(IDENTIFIER)('a')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ObjectLiteralAsStatement.kt
|
JetFile: ObjectLiteralAsStatement.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -68,4 +70,4 @@ JetFile: ObjectLiteralAsStatement.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ParameterNameMising.kt
|
JetFile: ParameterNameMising.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -139,4 +141,4 @@ JetFile: ParameterNameMising.kt
|
|||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ParameterType.kt
|
JetFile: ParameterType.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -281,4 +283,4 @@ JetFile: ParameterType.kt
|
|||||||
USER_TYPE
|
USER_TYPE
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('Int')
|
PsiElement(IDENTIFIER)('Int')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ParameterType_ERR.kt
|
JetFile: ParameterType_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -226,4 +228,4 @@ JetFile: ParameterType_ERR.kt
|
|||||||
TYPE_REFERENCE
|
TYPE_REFERENCE
|
||||||
PsiErrorElement:Type expected
|
PsiErrorElement:Type expected
|
||||||
<empty list>
|
<empty list>
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Precedence.kt
|
JetFile: Precedence.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -1182,4 +1184,4 @@ JetFile: Precedence.kt
|
|||||||
INTEGER_CONSTANT
|
INTEGER_CONSTANT
|
||||||
PsiElement(INTEGER_LITERAL)('1')
|
PsiElement(INTEGER_LITERAL)('1')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
JetFile: PrimaryConstructorModifiers_ERR.kt
|
JetFile: PrimaryConstructorModifiers_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
PsiElement(open)('open')
|
PsiElement(open)('open')
|
||||||
@@ -81,4 +83,4 @@ JetFile: PrimaryConstructorModifiers_ERR.kt
|
|||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Properties.kt
|
JetFile: Properties.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(val)('val')
|
PsiElement(val)('val')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -447,4 +449,4 @@ JetFile: Properties.kt
|
|||||||
TYPE_REFERENCE
|
TYPE_REFERENCE
|
||||||
USER_TYPE
|
USER_TYPE
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('Int')
|
PsiElement(IDENTIFIER)('Int')
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
JetFile: PropertiesFollowedByInitializers.kt
|
JetFile: PropertiesFollowedByInitializers.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -461,4 +463,4 @@ JetFile: PropertiesFollowedByInitializers.kt
|
|||||||
PsiElement(EQ)('=')
|
PsiElement(EQ)('=')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('now')
|
PsiElement(IDENTIFIER)('now')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Properties_ERR.kt
|
JetFile: Properties_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PROPERTY
|
PROPERTY
|
||||||
PsiElement(var)('var')
|
PsiElement(var)('var')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -225,4 +227,4 @@ JetFile: Properties_ERR.kt
|
|||||||
<empty list>
|
<empty list>
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiErrorElement:Property getter or setter expected
|
PsiErrorElement:Property getter or setter expected
|
||||||
PsiElement(MINUS)('-')
|
PsiElement(MINUS)('-')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: QuotedIdentifiers.kt
|
JetFile: QuotedIdentifiers.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
ANNOTATION
|
ANNOTATION
|
||||||
@@ -50,4 +52,4 @@ JetFile: QuotedIdentifiers.kt
|
|||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(IDENTIFIER)('`1`')
|
PsiElement(IDENTIFIER)('`1`')
|
||||||
|
|||||||
+3
-1
@@ -9,6 +9,8 @@ JetFile: RootPackage.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('bar')
|
PsiElement(IDENTIFIER)('bar')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
@@ -130,4 +132,4 @@ JetFile: RootPackage.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: SemicolonAfterIf.kt
|
JetFile: SemicolonAfterIf.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -90,4 +92,4 @@ JetFile: SemicolonAfterIf.kt
|
|||||||
PsiElement(IDENTIFIER)('x')
|
PsiElement(IDENTIFIER)('x')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: SimpleClassMembers.kt
|
JetFile: SimpleClassMembers.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -399,4 +401,4 @@ JetFile: SimpleClassMembers.kt
|
|||||||
PsiElement(LPAR)('(')
|
PsiElement(LPAR)('(')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiWhiteSpace('\n\n\n')
|
PsiWhiteSpace('\n\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: SimpleClassMembers_ERR.kt
|
JetFile: SimpleClassMembers_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -71,4 +73,4 @@ JetFile: SimpleClassMembers_ERR.kt
|
|||||||
<empty list>
|
<empty list>
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: SimpleExpressions.kt
|
JetFile: SimpleExpressions.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -726,4 +728,4 @@ JetFile: SimpleExpressions.kt
|
|||||||
PsiElement(AT)('@')
|
PsiElement(AT)('@')
|
||||||
PsiElement(IDENTIFIER)('la')
|
PsiElement(IDENTIFIER)('la')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -12,6 +12,8 @@ JetFile: SimpleModifiers.kt
|
|||||||
PsiElement(DOT)('.')
|
PsiElement(DOT)('.')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('goo')
|
PsiElement(IDENTIFIER)('goo')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
CLASS
|
CLASS
|
||||||
MODIFIER_LIST
|
MODIFIER_LIST
|
||||||
@@ -163,4 +165,4 @@ JetFile: SimpleModifiers.kt
|
|||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(IDENTIFIER)('lazy')
|
PsiElement(IDENTIFIER)('lazy')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: SoftKeywordsInTypeArguments.kt
|
JetFile: SoftKeywordsInTypeArguments.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -53,4 +55,4 @@ JetFile: SoftKeywordsInTypeArguments.kt
|
|||||||
PsiElement(IDENTIFIER)('Int')
|
PsiElement(IDENTIFIER)('Int')
|
||||||
PsiElement(GT)('>')
|
PsiElement(GT)('>')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: StringTemplates.kt
|
JetFile: StringTemplates.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -391,4 +393,4 @@ JetFile: StringTemplates.kt
|
|||||||
PsiElement(REGULAR_STRING_PART)('sdfsdf')
|
PsiElement(REGULAR_STRING_PART)('sdfsdf')
|
||||||
PsiElement(CLOSING_QUOTE)('"')
|
PsiElement(CLOSING_QUOTE)('"')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: Super.kt
|
JetFile: Super.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiComment(EOL_COMMENT)('// KT-156 Fix the this<Super> syntax')
|
PsiComment(EOL_COMMENT)('// KT-156 Fix the this<Super> syntax')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
@@ -87,4 +89,4 @@ JetFile: Super.kt
|
|||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: ThisType.kt
|
JetFile: ThisType.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -150,4 +152,4 @@ JetFile: ThisType.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: TraitConstructor.kt
|
JetFile: TraitConstructor.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(interface)('interface')
|
PsiElement(interface)('interface')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -49,4 +51,4 @@ JetFile: TraitConstructor.kt
|
|||||||
PRIMARY_CONSTRUCTOR
|
PRIMARY_CONSTRUCTOR
|
||||||
VALUE_PARAMETER_LIST
|
VALUE_PARAMETER_LIST
|
||||||
PsiElement(LPAR)('(')
|
PsiElement(LPAR)('(')
|
||||||
PsiElement(RPAR)(')')
|
PsiElement(RPAR)(')')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: TryRecovery.kt
|
JetFile: TryRecovery.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
FUN
|
FUN
|
||||||
PsiElement(fun)('fun')
|
PsiElement(fun)('fun')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -371,4 +373,4 @@ JetFile: TryRecovery.kt
|
|||||||
PsiWhiteSpace('\n ')
|
PsiWhiteSpace('\n ')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
PsiWhiteSpace('\n')
|
PsiWhiteSpace('\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: TypeConstraints.kt
|
JetFile: TypeConstraints.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
CLASS
|
CLASS
|
||||||
PsiElement(class)('class')
|
PsiElement(class)('class')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
@@ -28,4 +30,4 @@ JetFile: TypeConstraints.kt
|
|||||||
CLASS_BODY
|
CLASS_BODY
|
||||||
PsiElement(LBRACE)('{')
|
PsiElement(LBRACE)('{')
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
PsiElement(RBRACE)('}')
|
PsiElement(RBRACE)('}')
|
||||||
|
|||||||
Vendored
+3
-1
@@ -12,6 +12,8 @@ JetFile: TypeDef.kt
|
|||||||
PsiElement(DOT)('.')
|
PsiElement(DOT)('.')
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('goo')
|
PsiElement(IDENTIFIER)('goo')
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
PsiWhiteSpace('\n\n')
|
PsiWhiteSpace('\n\n')
|
||||||
TYPEDEF
|
TYPEDEF
|
||||||
PsiElement(typealias)('typealias')
|
PsiElement(typealias)('typealias')
|
||||||
@@ -225,4 +227,4 @@ JetFile: TypeDef.kt
|
|||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('bar')
|
PsiElement(IDENTIFIER)('bar')
|
||||||
PsiWhiteSpace(' ')
|
PsiWhiteSpace(' ')
|
||||||
PsiElement(SEMICOLON)(';')
|
PsiElement(SEMICOLON)(';')
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
JetFile: TypeDef_ERR.kt
|
JetFile: TypeDef_ERR.kt
|
||||||
PACKAGE_DIRECTIVE
|
PACKAGE_DIRECTIVE
|
||||||
<empty list>
|
<empty list>
|
||||||
|
IMPORT_LIST
|
||||||
|
<empty list>
|
||||||
TYPEDEF
|
TYPEDEF
|
||||||
PsiElement(typealias)('typealias')
|
PsiElement(typealias)('typealias')
|
||||||
PsiErrorElement:Type name expected
|
PsiErrorElement:Type name expected
|
||||||
@@ -191,4 +193,4 @@ JetFile: TypeDef_ERR.kt
|
|||||||
TYPE_REFERENCE
|
TYPE_REFERENCE
|
||||||
USER_TYPE
|
USER_TYPE
|
||||||
REFERENCE_EXPRESSION
|
REFERENCE_EXPRESSION
|
||||||
PsiElement(IDENTIFIER)('bar')
|
PsiElement(IDENTIFIER)('bar')
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user