lateinit modifier on property
This commit is contained in:
+4
@@ -59,6 +59,7 @@ ref
|
||||
val receiver
|
||||
val param
|
||||
val sparam
|
||||
val lateinit
|
||||
get() = a
|
||||
set(S : s) {}
|
||||
|
||||
@@ -92,6 +93,7 @@ ref
|
||||
fun receiver () : receiver
|
||||
fun param () : param
|
||||
fun sparam () : sparam
|
||||
fun lateinit () : lateinit
|
||||
|
||||
fun test(
|
||||
abstract : t,
|
||||
@@ -122,6 +124,7 @@ ref
|
||||
receiver : t,
|
||||
param : t,
|
||||
sparam : t,
|
||||
lateinit : t,
|
||||
public protected private internal abstract
|
||||
open
|
||||
enum
|
||||
@@ -169,6 +172,7 @@ class F(val foo : bar,
|
||||
receiver : t,
|
||||
param : t,
|
||||
sparam : t,
|
||||
lateinit : t,
|
||||
public protected private internal abstract
|
||||
open
|
||||
enum
|
||||
|
||||
+43
@@ -320,6 +320,11 @@ JetFile: SoftKeywords.kt
|
||||
PsiElement(val)('val')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(IDENTIFIER)('sparam')
|
||||
PsiWhiteSpace('\n ')
|
||||
PROPERTY
|
||||
PsiElement(val)('val')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(IDENTIFIER)('lateinit')
|
||||
PsiWhiteSpace('\n ')
|
||||
PROPERTY_ACCESSOR
|
||||
PsiElement(get)('get')
|
||||
@@ -806,6 +811,22 @@ JetFile: SoftKeywords.kt
|
||||
USER_TYPE
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('sparam')
|
||||
PsiWhiteSpace('\n ')
|
||||
FUN
|
||||
PsiElement(fun)('fun')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(IDENTIFIER)('lateinit')
|
||||
PsiWhiteSpace(' ')
|
||||
VALUE_PARAMETER_LIST
|
||||
PsiElement(LPAR)('(')
|
||||
PsiElement(RPAR)(')')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(COLON)(':')
|
||||
PsiWhiteSpace(' ')
|
||||
TYPE_REFERENCE
|
||||
USER_TYPE
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('lateinit')
|
||||
PsiWhiteSpace('\n\n ')
|
||||
FUN
|
||||
PsiElement(fun)('fun')
|
||||
@@ -1121,6 +1142,17 @@ JetFile: SoftKeywords.kt
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('t')
|
||||
PsiElement(COMMA)(',')
|
||||
PsiWhiteSpace('\n ')
|
||||
VALUE_PARAMETER
|
||||
PsiElement(IDENTIFIER)('lateinit')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(COLON)(':')
|
||||
PsiWhiteSpace(' ')
|
||||
TYPE_REFERENCE
|
||||
USER_TYPE
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('t')
|
||||
PsiElement(COMMA)(',')
|
||||
PsiWhiteSpace('\n ')
|
||||
VALUE_PARAMETER
|
||||
MODIFIER_LIST
|
||||
@@ -1501,6 +1533,17 @@ JetFile: SoftKeywords.kt
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('t')
|
||||
PsiElement(COMMA)(',')
|
||||
PsiWhiteSpace('\n ')
|
||||
VALUE_PARAMETER
|
||||
PsiElement(IDENTIFIER)('lateinit')
|
||||
PsiWhiteSpace(' ')
|
||||
PsiElement(COLON)(':')
|
||||
PsiWhiteSpace(' ')
|
||||
TYPE_REFERENCE
|
||||
USER_TYPE
|
||||
REFERENCE_EXPRESSION
|
||||
PsiElement(IDENTIFIER)('t')
|
||||
PsiElement(COMMA)(',')
|
||||
PsiWhiteSpace('\n ')
|
||||
VALUE_PARAMETER
|
||||
MODIFIER_LIST
|
||||
|
||||
Reference in New Issue
Block a user