FIR UAST: introduce identifiers and refNames tests

This commit is contained in:
Jinseong Jeon
2021-05-17 11:36:40 -07:00
committed by Ilya Kirillov
parent c37123603c
commit 83256ef3bd
148 changed files with 3560 additions and 4 deletions
@@ -0,0 +1,16 @@
String -> USimpleNameReferenceExpression (identifier = String) from KtNameReferenceExpression
Annotation -> UAnnotation (fqName = Annotation) from KtNameReferenceExpression
Annotation -> USimpleNameReferenceExpression (identifier = Annotation) from KtNameReferenceExpression
AnnotationArray -> UAnnotation (fqName = AnnotationArray) from KtNameReferenceExpression
Annotation -> UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 0)) from KtNameReferenceExpression
AnnotationArray -> UAnnotation (fqName = AnnotationArray) from KtNameReferenceExpression
value -> USimpleNameReferenceExpression (identifier = value) from KtNameReferenceExpression
Annotation -> UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 2)) from KtNameReferenceExpression
Annotation -> USimpleNameReferenceExpression (identifier = Annotation) from KtNameReferenceExpression
AnnotationArray -> UAnnotation (fqName = AnnotationArray) from KtNameReferenceExpression
Annotation -> UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1)) from KtNameReferenceExpression
strings -> USimpleNameReferenceExpression (identifier = strings) from KtNameReferenceExpression
arrayOf -> UCallExpression (kind = UastCallKind(name='array_initializer'), argCount = 2)) from KtNameReferenceExpression
AnnotationArray -> UAnnotation (fqName = AnnotationArray) from KtNameReferenceExpression
Annotation -> UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1)) from KtNameReferenceExpression
strings -> USimpleNameReferenceExpression (identifier = strings) from KtNameReferenceExpression