Files
kotlin-fork/plugins/uast-kotlin/testData/WhenStringLiteral.log.txt
T
2020-04-14 18:27:34 +03:00

39 lines
1.9 KiB
Plaintext
Vendored

UFile (package = )
UClass (name = WhenStringLiteralKt)
UField (name = a)
UAnnotation (fqName = org.jetbrains.annotations.Nullable)
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 0))
UIdentifier (Identifier (readLine))
USimpleNameReferenceExpression (identifier = readLine, resolvesTo = null)
UField (name = b)
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
USwitchExpression
USimpleNameReferenceExpression (identifier = a)
UExpressionList (when)
USwitchClauseExpressionWithBody
UPolyadicExpression (operator = +)
ULiteralExpression (value = "abc")
UExpressionList (when_entry)
UYieldExpression
ULiteralExpression (value = 1)
USwitchClauseExpressionWithBody
UPolyadicExpression (operator = +)
ULiteralExpression (value = "def")
UPolyadicExpression (operator = +)
ULiteralExpression (value = "ghi")
UExpressionList (when_entry)
UYieldExpression
ULiteralExpression (value = 2)
USwitchClauseExpressionWithBody
UExpressionList (when_entry)
UYieldExpression
ULiteralExpression (value = 3)
UMethod (name = getA)
UMethod (name = getB)
UMethod (name = <no name provided>)
UBlockExpression
UPolyadicExpression (operator = +)
ULiteralExpression (value = "abc1")
UPolyadicExpression (operator = +)
ULiteralExpression (value = "def1")