LL API: add source element kind rendering to the GetOrBuildFirTest
This commit is contained in:
committed by
TeamCityServer
parent
87bf6e010e
commit
db1dedc9fe
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtArrayAccessExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|<local>/x|.R|SubstitutionOverride<kotlin/collections/List.get: R|kotlin/Int|>|(Int(1))
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtBinaryExpressionWithTypeRHS
|
||||
FIR element: FirTypeOperatorCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
(R|<local>/x| as R|kotlin/String|)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtBinaryExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Int(1).R|kotlin/Int.plus|(Int(1))
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtOperationReferenceExpression
|
||||
FIR element: FirResolvedNamedReferenceImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|kotlin/Int.plus|
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtBlockExpression
|
||||
FIR element: FirBlockImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
KT element: KtConstantExpression
|
||||
FIR element: FirConstExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Boolean(true)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtClassLiteralExpression
|
||||
FIR element: FirGetClassCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
<getClass>(Q|kotlin/Int|)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtForExpression
|
||||
FIR element: FirWhileLoopImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
while(R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()) {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtBinaryExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Int(0).R|kotlin/Int.rangeTo|(Int(1))
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtParameter
|
||||
FIR element: FirPropertyImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
lval x: R|kotlin/Int| = R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtIfExpression
|
||||
FIR element: FirWhenExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
when () {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
KT element: KtConstantExpression
|
||||
FIR element: FirConstExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Int(1)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtIsExpression
|
||||
FIR element: FirTypeOperatorCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
(R|<local>/x| is R|kotlin/String|)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtLambdaArgument
|
||||
FIR element: FirAnonymousFunctionExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtObjectLiteralExpression
|
||||
FIR element: FirAnonymousObjectExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
object : R|kotlin/Any| {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtParenthesizedExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Int(1).R|kotlin/Int.plus|(Int(2))
|
||||
|
||||
Vendored
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtCallableReferenceExpression
|
||||
FIR element: FirCallableReferenceAccessImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Q|A|::R|/A.foo|
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtStringTemplateExpression
|
||||
FIR element: FirConstExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
String(string)
|
||||
|
||||
Vendored
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtBlockStringTemplateEntry
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Int(1).R|kotlin/Int.plus|(Int(2))
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtThrowExpression
|
||||
FIR element: FirThrowExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
throw R|java/lang/IllegalStateException.IllegalStateException|()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtTryExpression
|
||||
FIR element: FirTryExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
try {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtPrefixExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|<local>/x|.R|kotlin/Boolean.not|()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtOperationReferenceExpression
|
||||
FIR element: FirResolvedNamedReferenceImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|kotlin/Boolean.not|
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtWhenExpression
|
||||
FIR element: FirWhenExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
when (R|<local>/x|) {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtWhileExpression
|
||||
FIR element: FirWhileLoopImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
while(Boolean(true)) {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
KT element: KtStringTemplateExpression
|
||||
FIR element: FirStringConcatenationCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
<strcat>(String(string ), Int(1).R|kotlin/Int.plus|(Int(2)), String( template))
|
||||
|
||||
Reference in New Issue
Block a user