public function inferenceObjectByAssignation(TES5Referencer $reference, TES5Value $value, TES5MultipleScriptsScope $multipleScriptsScope) { if ($reference->getReferencesTo() !== null && !$reference->getType()->isPrimitive()) { $this->inferenceType($reference->getReferencesTo(), $value->getType()->getNativeType(), $multipleScriptsScope); } }
public function getType() { return TES5InheritanceGraphAnalyzer::findReturnTypeForObjectCall($this->called->getType(), $this->functionName); }