in src/Reflection/ReflectionXHPChildrenDeclaration.hack [117:126]
public function getConstraintType(): XHPChildrenConstraintType {
$type = $this->getType();
invariant(
$type !== XHPChildrenExpressionType::SUB_EXPR_SEQUENCE &&
$type !== XHPChildrenExpressionType::SUB_EXPR_DISJUNCTION,
'Disjunctions and sequences do not have a constraint type - in %s',
$this->context,
);
return XHPChildrenConstraintType::assert($this->data[1]);
}