Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
parseForBinding example
$node
->
setInit
(
$init
)
;
$node
->
setTest
(
$test
)
;
$node
->
setUpdate
(
$update
)
;
$node
->
setBody
(
$body
)
;
return
$this
->
completeNode
(
$node
)
;
}
}
}
else
{
$this
->scanner->
setState
(
$state
)
;
if
(
$decl
=
$this
->
parseForBinding
(
)
)
{
$init
= null;
if
(
$this
->features->forInInitializer &&
$decl
->
getId
(
)
->
getType
(
)
=== "Identifier"
)
{
$init
=
$this
->
parseInitializer
(
)
;
}
if
(
$init
)
{
$decl
->
setInit
(
$init
)
;
$decl
->location->end =
$init
->location->end;
}