in src/Reflection/ReflectionXHPChildrenDeclaration.hack [52:65]
public function getExpression(): ReflectionXHPChildrenExpression {
try {
return new ReflectionXHPChildrenExpression(
$this->context,
$this->data as KeyedContainer<_, _>,
);
} catch (\TypeAssertionException $_) {
throw new \Exception(
'Tried to get child expression for XHP class '.
$this->context.
', but it does not have an expressions.',
);
}
}