Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
parseImportCall example
$node
=
$this
->
createNode
(
"MetaProperty",
$importToken
)
;
$node
->
setMeta
(
"import"
)
;
$node
->
setProperty
(
"meta"
)
;
$object
=
$this
->
completeNode
(
$node
)
;
}
$newTokensCount
=
count
(
$newTokens
)
;
if
(
!
$object
&&
!
(
$object
=
$this
->
parseSuperPropertyOrCall
(
)
)
&&
!
(
$this
->features->dynamicImport
&&
(
$object
=
$this
->
parseImportCall
(
)
)
)
&&
!
(
$object
=
$this
->
parsePrimaryExpression
(
)
)
)
{
if
(
$newTokensCount
)
{
$this
->
error
(
)
;
}
return
null;
}
$valid
= true;