setPossibleSubTypes

open fun setPossibleSubTypes(possibleSubTypes: List<Type>)


abstract fun setPossibleSubTypes(possibleSubTypes: List<Type>, @NotNull root: @NotNull List<HasType>)

Set the node's possible subtypes. Listener circle detection works the same way as with setType

Parameters

possibleSubTypes

the set of possible sub types

root

A list of already seen nodes which is used for detecting loops.