Member predicate Units::Unit::getProgramDefinition

Get the program definition containing this unit. If the unit is a program definition, return the unit itself.

ProgramDefinition getProgramDefinition()