Exakat\Analyzer\Variables\OverwrittenLiterals::analyze PHP Метод

analyze() публичный Метод

public analyze ( )
    public function analyze()
    {
        $assignations = $this->query(<<<GREMLIN
g.V().hasLabel("Assignation").has("code", "=")
     .where( __.in("ELEMENT").in("INIT").count().is(eq(0)) )
     .out("RIGHT").hasLabel("Integer", "String", "Real", "Null", "Boolean").in("RIGHT")
     .out("LEFT").hasLabel("Variable", "Array", "Property", "Staticproperty")
     .groupCount("m").by("fullcode").cap("m").next().findAll{ it.value > 1; }.keySet()
GREMLIN
);
        $this->atomIs('Assignation')->codeIs('=')->raw('where( __.in("ELEMENT").in("INIT").count().is(eq(0)) )')->outIs('RIGHT')->atomIs(array('Integer', 'String', 'Real', 'Null', 'Boolean'))->inIs('RIGHT')->outIs('LEFT')->atomIs('Variable')->codeIs($assignations);
        $this->prepareQuery();
    }
OverwrittenLiterals