KtFile: ParameterType_ERR.kt | |
PACKAGE_DIRECTIVE | |
<empty list> | |
IMPORT_LIST | |
<empty list> | |
FUN | |
PsiElement(fun)('fun') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('test1') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('a') | |
PsiElement(COLON)(':') | |
TYPE_REFERENCE | |
PsiErrorElement:Type expected | |
<empty list> | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n\n') | |
FUN | |
PsiElement(fun)('fun') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('foo') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('inlineOptions') | |
PsiErrorElement:Expecting comma or ')' | |
<empty list> | |
PsiErrorElement:Expecting ')' | |
PsiElement(LPAR)('(') | |
PsiErrorElement:Expecting a top level declaration | |
PsiElement(IDENTIFIER)('InlineOp') | |
PsiErrorElement:Expecting a top level declaration | |
PsiElement(RPAR)(')') | |
PsiErrorElement:Expecting a top level declaration | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
FUN | |
PsiErrorElement:Expecting a top level declaration | |
<empty list> | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiWhiteSpace(' ') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n\n') | |
FUN | |
PsiElement(fun)('fun') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('test2') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('ann') | |
PsiErrorElement:Expecting comma or ')' | |
<empty list> | |
PsiErrorElement:Expecting ')' | |
PsiElement(LPAR)('(') | |
PsiErrorElement:Expecting a top level declaration | |
PsiElement(IDENTIFIER)('parameter') | |
PsiErrorElement:Expecting a top level declaration | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
PsiErrorElement:Expecting a top level declaration | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
FUN | |
PsiErrorElement:Expecting a top level declaration | |
<empty list> | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n') | |
FUN | |
PsiElement(fun)('fun') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('test3') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('ann') | |
PsiWhiteSpace(' ') | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n\n') | |
FUN | |
PsiElement(fun)('fun') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('test') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiWhiteSpace('\n ') | |
TRY | |
PsiElement(try)('try') | |
PsiWhiteSpace(' ') | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiWhiteSpace('\n\n ') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n ') | |
CATCH | |
PsiElement(catch)('catch') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('a') | |
PsiErrorElement:Parameters must have type annotation | |
<empty list> | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiWhiteSpace('\n\n ') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n ') | |
CATCH | |
PsiElement(catch)('catch') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('a') | |
PsiElement(COLON)(':') | |
TYPE_REFERENCE | |
PsiErrorElement:Type expected | |
<empty list> | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiWhiteSpace('\n\n ') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n\n') | |
PROPERTY | |
PsiElement(val)('val') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('a') | |
PsiWhiteSpace(' ') | |
PsiElement(EQ)('=') | |
PsiWhiteSpace(' ') | |
FUN | |
PsiElement(fun)('fun') | |
PsiWhiteSpace(' ') | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('b') | |
PsiElement(COLON)(':') | |
TYPE_REFERENCE | |
PsiErrorElement:Type expected | |
<empty list> | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
BLOCK | |
PsiElement(LBRACE)('{') | |
PsiElement(RBRACE)('}') | |
PsiWhiteSpace('\n\n') | |
PROPERTY | |
PsiElement(val)('val') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('a') | |
PsiElement(COLON)(':') | |
PsiWhiteSpace(' ') | |
TYPE_REFERENCE | |
FUNCTION_TYPE | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('a') | |
PsiElement(COLON)(':') | |
TYPE_REFERENCE | |
PsiErrorElement:Type expected | |
<empty list> | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace(' ') | |
PsiElement(ARROW)('->') | |
PsiWhiteSpace(' ') | |
TYPE_REFERENCE | |
USER_TYPE | |
REFERENCE_EXPRESSION | |
PsiElement(IDENTIFIER)('Unit') | |
PsiWhiteSpace('\n\n') | |
CLASS | |
PsiElement(class)('class') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('A') | |
PRIMARY_CONSTRUCTOR | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('a') | |
PsiErrorElement:Parameters must have type annotation | |
<empty list> | |
PsiElement(RPAR)(')') | |
PsiWhiteSpace('\n') | |
CLASS | |
PsiElement(class)('class') | |
PsiWhiteSpace(' ') | |
PsiElement(IDENTIFIER)('A') | |
PRIMARY_CONSTRUCTOR | |
VALUE_PARAMETER_LIST | |
PsiElement(LPAR)('(') | |
VALUE_PARAMETER | |
PsiElement(IDENTIFIER)('a') | |
PsiElement(COLON)(':') | |
TYPE_REFERENCE | |
PsiErrorElement:Type expected | |
<empty list> | |
PsiElement(RPAR)(')') |