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

analyze() public method

public analyze ( )
    public function analyze()
    {
        // inclusions
        $this->atomIs('Include')->inIs('NAME')->_as('results')->outIs('ARGUMENTS')->outIs('ARGUMENT')->atomIs('Parenthesis')->back('results');
        $this->prepareQuery();
        // throw
        $this->atomIs('Throw')->outIs('THROW')->atomIs('Parenthesis')->back('first');
        $this->prepareQuery();
        // Return
        $this->atomIs('Return')->outIs('RETURN')->atomIs('Parenthesis')->back('first');
        $this->prepareQuery();
        // print, echo
        $this->atomIs('Functioncall')->tokenIs(array('T_PRINT', 'T_ECHO', 'T_DIE', 'T_EXIT'))->outIs('ARGUMENTS')->outIs('ARGUMENT')->atomIs('Parenthesis')->back('first');
        $this->prepareQuery();
    }
NoParenthesisForLanguageConstruct