Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
parseDebuggerStatement example
elseif
(
$this
->context->allowReturn &&
$val
=== "return" &&
$statement
=
$this
->
parseReturnStatement
(
)
)
{
return
$statement
;
}
elseif
(
$val
=== "with" &&
$statement
=
$this
->
parseWithStatement
(
)
)
{
return
$statement
;
}
elseif
(
$val
=== "throw" &&
$statement
=
$this
->
parseThrowStatement
(
)
)
{
return
$statement
;
}
elseif
(
$val
=== "try" &&
$statement
=
$this
->
parseTryStatement
(
)
)
{
return
$statement
;
}
elseif
(
$val
=== "debugger" &&
$statement
=
$this
->
parseDebuggerStatement
(
)
)
{
return
$statement
;
}
elseif
(
$statement
=
$this
->
parseLabelledStatement
(
)
)
{
return
$statement
;
}
elseif
(
$statement
=
$this
->
parseExpressionStatement
(
)
)
{
return
$statement
;
}
return
null;
}
/** * Parses a declaration * * @return Node\Declaration|null */