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

analyze() public method

public analyze ( )
    public function analyze()
    {
        $this->atomIs('Ifthen')->is('alternative', false)->outIs('ELSE')->is('bracket', false)->raw('where( __.not( and(has("count", 1), __.out("ELEMENT").hasLabel("Ifthen") ) ) )')->back('first');
        $this->prepareQuery();
        $this->atomIs('Ifthen')->is('alternative', false)->outIs('THEN')->is('bracket', false)->back('first');
        $this->prepareQuery();
        $this->atomIs('For')->is('alternative', false)->outIs('BLOCK')->is('bracket', false)->back('first');
        $this->prepareQuery();
        $this->atomIs('Foreach')->is('alternative', false)->outIs('BLOCK')->is('bracket', false)->back('first');
        $this->prepareQuery();
        $this->atomIs('While')->is('alternative', false)->outIs('BLOCK')->isNot('bracket', true)->back('first');
        $this->prepareQuery();
        $this->atomIs('Dowhile')->outIs('BLOCK')->is('bracket', false)->back('first');
        $this->prepareQuery();
    }
Bracketless