public function parseLiteral($ast) { if ($ast instanceof StringValueNode) { return $ast->value; } return null; }