in src/expression/BooleanLIteralExpression.hack [18:32]
protected static function matchImpl(
self::TNode $node,
): ?Expression<bool> {
$t = Str\lowercase($node->getText());
if ($t === 'false') {
return new self(false);
}
if ($t === 'true') {
return new self(true);
}
invariant_violation(
"Invalid boolean literal value: %s\n",
$node->getCode(),
);
}