Minor in Parser: "attribute" -> "annotation"
This commit is contained in:
@@ -58,7 +58,7 @@ JetFile: Properties_ERR.kt
|
||||
USER_TYPE
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('foo')
|
||||
PsiErrorElement:Expecting ']' to close an attribute annotation
|
||||
PsiErrorElement:Expecting ']' to close an list of annotation
|
||||
<empty list>
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(EQ)('=')
|
||||
@@ -176,4 +176,4 @@ JetFile: Properties_ERR.kt
|
||||
PsiElement(RPAR)(')')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiErrorElement:Expecting function body
|
||||
PsiElement(MINUS)('-')
|
||||
PsiElement(MINUS)('-')
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
JetFile: Attributes.kt
|
||||
JetFile: Annotations.kt
|
||||
PACKAGE_DIRECTIVE
|
||||
PsiElement(package)('package')
|
||||
PsiWhiteSpace(' ')
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
JetFile: AttributesOnPatterns.kt
|
||||
JetFile: AnnotationsOnPatterns.kt
|
||||
PACKAGE_DIRECTIVE
|
||||
<empty list>
|
||||
FUN
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
JetFile: Attributes_ERR.kt
|
||||
JetFile: Annotations_ERR.kt
|
||||
PACKAGE_DIRECTIVE
|
||||
PsiElement(package)('package')
|
||||
PsiWhiteSpace(' ')
|
||||
@@ -33,7 +33,7 @@ JetFile: Attributes_ERR.kt
|
||||
PsiWhiteSpace('\n')
|
||||
ANNOTATION
|
||||
PsiElement(LBRACKET)('[')
|
||||
PsiErrorElement:Expecting a list of attributes
|
||||
PsiErrorElement:Expecting a list of annotations
|
||||
<empty list>
|
||||
PsiElement(RBRACKET)(']')
|
||||
PsiWhiteSpace('\n')
|
||||
@@ -79,7 +79,7 @@ JetFile: Attributes_ERR.kt
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('b')
|
||||
PsiElement(RPAR)(')')
|
||||
PsiErrorElement:No commas needed to separate attributes
|
||||
PsiErrorElement:No commas needed to separate annotations
|
||||
PsiElement(COMMA)(',')
|
||||
PsiWhiteSpace(' ')
|
||||
ANNOTATION_ENTRY
|
||||
@@ -185,7 +185,7 @@ JetFile: Attributes_ERR.kt
|
||||
USER_TYPE
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('d')
|
||||
PsiErrorElement:No commas needed to separate attributes
|
||||
PsiErrorElement:No commas needed to separate annotations
|
||||
PsiElement(COMMA)(',')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(RBRACKET)(']')
|
||||
@@ -84,7 +84,7 @@ JetFile: fileAnnotationInWrongPlace.kt
|
||||
PsiErrorElement:File annotations are only allowed before package declaration
|
||||
PsiElement(file)('file')
|
||||
PsiElement(COLON)(':')
|
||||
PsiErrorElement:Expecting a list of attributes
|
||||
PsiErrorElement:Expecting a list of annotations
|
||||
<empty list>
|
||||
PsiElement(RBRACKET)(']')
|
||||
PsiWhiteSpace('\n')
|
||||
|
||||
Reference in New Issue
Block a user