Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getDiscriminant example
$code
.=
$this
->
renderStatementBlock
(
$node
,
$node
->
getConsequent
(
)
)
;
}
break
;
case
"SwitchStatement":
$code
.= "switch" .
$this
->renderOpts->sao .
"(" .
$this
->renderOpts->sirb .
$this
->
renderNode
(
$node
->
getDiscriminant
(
)
)
.
$this
->renderOpts->sirb .
")" .
$this
->
renderStatementBlock
(
$node
,
$node
->
getCases
(
)
, true, false, false
)
;
break
;
case
"TaggedTemplateExpression":
$code
.=
$this
->
renderNode
(
$node
->
getTag
(
)
)
.
$this
->
renderNode
(
$node
->
getQuasi
(
)
)
;
break
;
case
"TemplateElement":