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

analyze() public method

public analyze ( )
    public function analyze()
    {
        // $x[1.2], $x[true], $x[null];
        $this->atomIs('Array')->outIs('INDEX')->atomIs(array('Boolean', 'Null', 'Real'))->back('first');
        $this->prepareQuery();
        // $x['12'] but not $x['012']
        $this->atomIs('Array')->outIs('INDEX')->atomIs('String')->hasNoOut('CONCAT')->regexIs('noDelimiter', '^[1-9][0-9]*\\$')->back('first');
        $this->prepareQuery();
    }
IndicesAreIntOrString