Add missing code for TAnyTupleOrDictionaryElement

This commit is contained in:
Owen Mansel-Chan
2026-05-29 10:26:24 +01:00
parent df15a719cb
commit aee33a0cc9

View File

@@ -950,6 +950,13 @@ class ContentSet extends TContentSet {
or
this = TAnyDictionaryElement() and
(result instanceof DictionaryElementContent or result instanceof DictionaryElementAnyContent)
or
this = TAnyTupleOrDictionaryElement() and
(
result instanceof TupleElementContent or
result instanceof DictionaryElementContent or
result instanceof DictionaryElementAnyContent
)
}
/** Gets a textual representation of this content set. */
@@ -959,6 +966,8 @@ class ContentSet extends TContentSet {
this = TAnyTupleElement() and result = "Any tuple element"
or
this = TAnyDictionaryElement() and result = "Any dictionary element"
or
this = TAnyTupleOrDictionaryElement() and result = "Any tuple or dictionary element"
}
}