in src/html/tags/t/Table.hack [22:44]
protected static function getChildrenDeclaration(): XHPChild\Constraint {
return XHPChild\sequence(
XHPChild\optional(XHPChild\of_type<caption>()),
XHPChild\any_number_of(XHPChild\of_type<colgroup>()),
XHPChild\optional(XHPChild\of_type<thead>()),
XHPChild\any_of(
XHPChild\sequence(
XHPChild\of_type<tfoot>(),
XHPChild\any_of(
XHPChild\at_least_one_of(XHPChild\of_type<tbody>()),
XHPChild\any_number_of(XHPChild\of_type<tr>()),
),
),
XHPChild\sequence(
XHPChild\any_of(
XHPChild\at_least_one_of(XHPChild\of_type<tbody>()),
XHPChild\any_number_of(XHPChild\of_type<tr>()),
),
XHPChild\optional(XHPChild\of_type<tfoot>()),
),
),
);
}