171 lines
5.1 KiB
Plaintext
Vendored
171 lines
5.1 KiB
Plaintext
Vendored
KtFile: spaceBeforeLabelReference.kt
|
|
PACKAGE_DIRECTIVE
|
|
<empty list>
|
|
IMPORT_LIST
|
|
<empty list>
|
|
FUN
|
|
PsiElement(fun)('fun')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('foo')
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
BLOCK
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
BREAK
|
|
PsiElement(break)('break')
|
|
PsiErrorElement:There should be no space or comments before '@' in label reference
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
LABEL_QUALIFIER
|
|
LABEL
|
|
PsiElement(AT)('@')
|
|
PsiElement(IDENTIFIER)('l1')
|
|
PsiWhiteSpace('\n\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('1')
|
|
PsiWhiteSpace('\n\n ')
|
|
RETURN
|
|
PsiElement(return)('return')
|
|
PsiErrorElement:There should be no space or comments before '@' in label reference
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
LABEL_QUALIFIER
|
|
LABEL
|
|
PsiElement(AT)('@')
|
|
PsiElement(IDENTIFIER)('l2')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('1')
|
|
PsiWhiteSpace('\n\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('2')
|
|
PsiWhiteSpace('\n\n ')
|
|
RETURN
|
|
PsiElement(return)('return')
|
|
PsiErrorElement:There should be no space or comments before '@' in label reference
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
LABEL_QUALIFIER
|
|
LABEL
|
|
PsiElement(AT)('@')
|
|
PsiElement(IDENTIFIER)('l3')
|
|
PsiWhiteSpace('\n\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('3')
|
|
PsiWhiteSpace('\n\n ')
|
|
CONTINUE
|
|
PsiElement(continue)('continue')
|
|
PsiErrorElement:There should be no space or comments before '@' in label reference
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
LABEL_QUALIFIER
|
|
LABEL
|
|
PsiElement(AT)('@')
|
|
PsiElement(IDENTIFIER)('l4')
|
|
PsiWhiteSpace(' ')
|
|
PsiErrorElement:Unexpected tokens (use ';' to separate expressions on the same line)
|
|
PsiElement(INTEGER_LITERAL)('5')
|
|
PsiWhiteSpace('\n\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('6')
|
|
PsiWhiteSpace('\n\n ')
|
|
BREAK
|
|
PsiElement(break)('break')
|
|
PsiErrorElement:There should be no space or comments before '@' in label reference
|
|
<empty list>
|
|
PsiComment(BLOCK_COMMENT)('/**/')
|
|
LABEL_QUALIFIER
|
|
LABEL
|
|
PsiElement(AT)('@')
|
|
PsiElement(IDENTIFIER)('l5')
|
|
PsiWhiteSpace('\n\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('7')
|
|
PsiWhiteSpace('\n\n ')
|
|
RETURN
|
|
PsiElement(return)('return')
|
|
PsiErrorElement:There should be no space or comments before '@' in label reference
|
|
<empty list>
|
|
PsiWhiteSpace(' ')
|
|
PsiComment(BLOCK_COMMENT)('/**/')
|
|
LABEL_QUALIFIER
|
|
LABEL
|
|
PsiElement(AT)('@')
|
|
PsiElement(IDENTIFIER)('l6')
|
|
PsiWhiteSpace('\n\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('8')
|
|
PsiWhiteSpace('\n\n ')
|
|
RETURN
|
|
PsiElement(return)('return')
|
|
PsiComment(EOL_COMMENT)('//')
|
|
PsiWhiteSpace('\n')
|
|
ANNOTATED_EXPRESSION
|
|
ANNOTATION_ENTRY
|
|
PsiElement(AT)('@')
|
|
CONSTRUCTOR_CALLEE
|
|
TYPE_REFERENCE
|
|
USER_TYPE
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('l7')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('4')
|
|
PsiWhiteSpace('\n\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('9')
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}')
|