if (($spread && !
$exp) || !
$this->scanner->
consume("}"
)) { $this->
error();
} $node =
$this->
createJSXNode( $spread ? "JSXSpreadChild" : "JSXExpressionContainer",
$startToken );
if (!
$exp) { $exp =
$this->
createJSXNode("JSXEmptyExpression",
$midPos);
$this->
completeNode($exp,
$midPos);
} $node->
setExpression($exp);
return $this->
completeNode($node);
} return null;
} /**
* Parses a jsx text
*
* @return \Peast\Syntax\Node\JSX\JSXText|null
*/
protected function parseJSXText() {