Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
parseObjectLiteral example
return
$this
->
completeNode
(
$node
)
;
}
elseif
(
$exp
=
$this
->
parseFunctionOrGeneratorExpression
(
)
)
{
return
$exp
;
}
elseif
(
$exp
=
$this
->
parseClassExpression
(
)
)
{
return
$exp
;
}
elseif
(
$exp
=
$this
->
parseIdentifier
(
static
::
$identifierReference
)
)
{
return
$exp
;
}
elseif
(
$exp
=
$this
->
parseLiteral
(
)
)
{
return
$exp
;
}
elseif
(
$exp
=
$this
->
parseArrayLiteral
(
)
)
{
return
$exp
;
}
elseif
(
$exp
=
$this
->
parseObjectLiteral
(
)
)
{
return
$exp
;
}
elseif
(
$exp
=
$this
->
parseRegularExpressionLiteral
(
)
)
{
return
$exp
;
}
elseif
(
$exp
=
$this
->
parseTemplateLiteral
(
)
)
{
return
$exp
;
}
elseif
(
$this
->jsx
&&
(
$exp
=
$this
->
parseJSXFragment
(
)
)
)
{
return
$exp
;
}
elseif
(
$this
->jsx
&&
(
$exp
=
$this
->
parseJSXElement
(
)
)
)
{
return
$exp
;
}
elseif
(
$token
=
$this
->scanner->
consume
(
"("
)
)
{