in src/expression/StaticListExpression.hack [18:33]
protected static function matchImpl(
HHAST\NodeList<HHAST\ListItem<HHAST\Node>> $n,
): ?Expression<vec<mixed>> {
$items = Vec\map(
$n->getChildrenOfItems(),
$item ==> StaticExpression::match($item),
);
$out = vec[];
foreach ($items as $item) {
if ($item === null) {
return null;
}
$out[] = $item->getValue();
}
return new self($out);
}