setPossibleSubTypes

abstract fun setPossibleSubTypes(possibleSubTypes: List<Type>, root: MutableList<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.