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

analyze() public method

public analyze ( )
    public function analyze()
    {
        // Two expressions in a row
        $this->atomIs('Sequence')->outIs('ELEMENT')->_as('report')->atomIsNot(array('Ppp', 'Global', 'Const', 'InlineHtml'))->savePropertyAs('line', 'line_number')->nextSibling()->atomIsNot('InlineHtml')->samePropertyAs('line', 'line_number')->back('report');
        $this->prepareQuery();
        // Two expressions with HTML between
        $this->atomIs('Sequence')->outIs('ELEMENT')->_as('report')->atomIsNot(array('Ppp', 'Global', 'Const', 'InlineHtml'))->savePropertyAs('line', 'line_number')->nextSibling()->atomIs('InlineHtml')->nextSibling()->atomIsNot('InlineHtml')->samePropertyAs('line', 'line_number')->back('report');
        $this->prepareQuery();
    }
OneLineTwoInstructions