Exakat\Analyzer\Structures\SwitchToSwitch::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // 3 ifthen chained with elseif
        $this->atomIs('Ifthen')->tokenIs('T_IF')->outIs('ELSE')->raw('coalesce( __.hasLabel("Sequence").has("count", 1).out("ELEMENT"), __.filter{ true; } )')->atomIs('Ifthen')->outIs('ELSE')->outIsIE('ELEMENT')->raw('coalesce( __.hasLabel("Sequence").has("count", 1).out("ELEMENT"), __.filter{ true; } )')->atomIs('Ifthen')->back('first');
        $this->prepareQuery();
    }
SwitchToSwitch