180 lines
5.1 KiB
Plaintext
Vendored
180 lines
5.1 KiB
Plaintext
Vendored
KtFile: semicolonBetweenDeclarations.kt
|
|
PACKAGE_DIRECTIVE
|
|
PsiElement(package)('package')
|
|
PsiWhiteSpace(' ')
|
|
REFERENCE_EXPRESSION
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiElement(SEMICOLON)(';')
|
|
IMPORT_LIST
|
|
<empty list>
|
|
PsiWhiteSpace('\n\n')
|
|
FUN
|
|
PsiElement(fun)('fun')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('foo1')
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
BLOCK
|
|
PsiElement(LBRACE)('{')
|
|
PsiElement(RBRACE)('}')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('1')
|
|
PsiErrorElement:Property getter or setter expected
|
|
PsiElement(DOUBLE_SEMICOLON)(';;')
|
|
PsiElement(DOUBLE_SEMICOLON)(';;')
|
|
PsiWhiteSpace('\n')
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('A')
|
|
PRIMARY_CONSTRUCTOR
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('1')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n\n ')
|
|
FUN
|
|
PsiElement(fun)('fun')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('foo')
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
BLOCK
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('A1')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('x')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(EQ)('=')
|
|
PsiWhiteSpace(' ')
|
|
INTEGER_CONSTANT
|
|
PsiElement(INTEGER_LITERAL)('1')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
PsiElement(RBRACE)('}')
|
|
PsiWhiteSpace('\n ')
|
|
FUN
|
|
PsiElement(fun)('fun')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('bar')
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n\n ')
|
|
CLASS_INITIALIZER
|
|
PsiElement(init)('init')
|
|
PsiWhiteSpace(' ')
|
|
BLOCK
|
|
PsiElement(LBRACE)('{')
|
|
PsiElement(RBRACE)('}')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n\n ')
|
|
SECONDARY_CONSTRUCTOR
|
|
PsiElement(constructor)('constructor')
|
|
VALUE_PARAMETER_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(COLON)(':')
|
|
PsiWhiteSpace(' ')
|
|
CONSTRUCTOR_DELEGATION_CALL
|
|
CONSTRUCTOR_DELEGATION_REFERENCE
|
|
PsiElement(super)('super')
|
|
VALUE_ARGUMENT_LIST
|
|
PsiElement(LPAR)('(')
|
|
PsiElement(RPAR)(')')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n\n ')
|
|
OBJECT_DECLARATION
|
|
MODIFIER_LIST
|
|
PsiElement(companion)('companion')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(object)('object')
|
|
PsiWhiteSpace(' ')
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiElement(RBRACE)('}')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}')
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n\n')
|
|
FUN
|
|
PsiElement(fun)('fun')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('foo')
|
|
PsiErrorElement:Expecting '('
|
|
<empty list>
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiErrorElement:Expecting property name or receiver type
|
|
<empty list>
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n')
|
|
CLASS
|
|
PsiElement(class)('class')
|
|
PsiWhiteSpace(' ')
|
|
PsiElement(IDENTIFIER)('B')
|
|
PsiWhiteSpace(' ')
|
|
CLASS_BODY
|
|
PsiElement(LBRACE)('{')
|
|
PsiWhiteSpace('\n ')
|
|
PROPERTY
|
|
PsiElement(val)('val')
|
|
PsiErrorElement:Expecting property name or receiver type
|
|
<empty list>
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
CLASS_INITIALIZER
|
|
PsiElement(init)('init')
|
|
PsiErrorElement:Expecting '{' after 'init'
|
|
<empty list>
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n ')
|
|
SECONDARY_CONSTRUCTOR
|
|
PsiElement(constructor)('constructor')
|
|
PsiErrorElement:Expecting '('
|
|
<empty list>
|
|
CONSTRUCTOR_DELEGATION_CALL
|
|
CONSTRUCTOR_DELEGATION_REFERENCE
|
|
<empty list>
|
|
PsiElement(SEMICOLON)(';')
|
|
PsiWhiteSpace('\n')
|
|
PsiElement(RBRACE)('}') |