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

analyze() public method

public analyze ( )
    public function analyze()
    {
        $atoms = array('Ifthen', 'Foreach', 'For', 'While', 'Dowhile', 'Switch');
        $blocks = array('THEN', 'ELSE', 'BLOCK', 'CASES');
        $this->atomIs('Function')->outIs('BLOCK')->outIs('ELEMENT')->atomIs($atoms)->outIs($blocks)->outIs('ELEMENT')->outIsIE('CODE')->outIsIE('ELEMENT')->atomIs($atoms)->back('first');
        $this->prepareQuery();
    }
OneLevelOfIndentation