Exakat\Analyzer\Type\HexadecimalString::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        $regex = '^\\\\s*0[xX][0-9a-fA-F]+';
        // Strings
        $this->atomIs('String')->hasNoOut('CONCAT')->hasNoParent('Heredoc', 'CONCAT')->regexIs('noDelimiter', $regex);
        $this->prepareQuery();
        // Concatenation String
        $this->atomIs('String')->outWithRank('CONCAT', 0)->atomIs('String')->regexIs('noDelimiter', $regex)->back('first');
        $this->prepareQuery();
        // Simple Heredoc and nowdoc
        $this->atomIs('Heredoc')->outWithRank('CONCAT', 0)->atomIs('String')->regexIs('noDelimiter', $regex)->back('first');
        $this->prepareQuery();
    }
HexadecimalString