mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
In case of result difference the `-ide`-suffixed testdata is used. Actually the difference in results is more likely to be a bug but currently we are fixating at least some behaviour to protect from unexpected regressions in Ultra Light Classes. `object Local` were removed because there is no local objects in actual Kotlin syntax
53 lines
2.7 KiB
Plaintext
Vendored
53 lines
2.7 KiB
Plaintext
Vendored
UFile (package = )
|
|
UClass (name = SimpleScript)
|
|
UMethod (name = getBarOrNull)
|
|
UParameter (name = flag)
|
|
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
|
UBlockExpression
|
|
UReturnExpression
|
|
UIfExpression
|
|
USimpleNameReferenceExpression (identifier = flag)
|
|
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1))
|
|
UIdentifier (Identifier (Bar))
|
|
USimpleNameReferenceExpression (identifier = <init>, resolvesTo = Bar)
|
|
ULiteralExpression (value = 42)
|
|
ULiteralExpression (value = null)
|
|
UMethod (name = main)
|
|
UParameter (name = strings)
|
|
UAnnotation (fqName = null)
|
|
UMethod (name = SimpleScript)
|
|
UBlockExpression
|
|
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
|
|
UIdentifier (Identifier (println))
|
|
USimpleNameReferenceExpression (identifier = println, resolvesTo = null)
|
|
ULiteralExpression (value = "Hello World!")
|
|
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
|
|
UIdentifier (Identifier (getBarOrNull))
|
|
USimpleNameReferenceExpression (identifier = getBarOrNull, resolvesTo = null)
|
|
ULiteralExpression (value = true)
|
|
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1))
|
|
UIdentifier (Identifier (println))
|
|
USimpleNameReferenceExpression (identifier = println, resolvesTo = null)
|
|
ULiteralExpression (value = "Goodbye World!")
|
|
UClass (name = Bar)
|
|
UField (name = b)
|
|
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
|
ULiteralExpression (value = 0)
|
|
UField (name = a)
|
|
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
|
UMethod (name = getB)
|
|
UMethod (name = getAPlusB)
|
|
UBlockExpression
|
|
UReturnExpression
|
|
UBinaryExpression (operator = +)
|
|
USimpleNameReferenceExpression (identifier = a)
|
|
USimpleNameReferenceExpression (identifier = b)
|
|
UMethod (name = getA)
|
|
UMethod (name = Bar)
|
|
UParameter (name = a)
|
|
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
|
UClass (name = Baz)
|
|
UMethod (name = doSomething)
|
|
UBlockExpression
|
|
UMethod (name = Baz)
|