common Descendant With
fun commonDescendantWith(other: PhraseTypeDescriptor.PhraseKind): PhraseTypeDescriptor.PhraseKind?
Content copied to clipboard
Answer the PhraseKind that is the nearest common descendant to both the receiver and the argument. Only use this after static initialization has completed.
Return
The nearest common descendant (a PhraseKind), or null if there are no common descendants.
Parameters
other
The other PhraseKind.