Phan\AST\UnionTypeVisitor::visitIncludeOrEval PHP Method

visitIncludeOrEval() public method

Visit a node with kind \ast\AST_INCLUDE_OR_EVAL
public visitIncludeOrEval ( ast\Node $node ) : UnionType
$node ast\Node A node of the type indicated by the method name that we'd like to figure out the type that it produces.
return Phan\Language\UnionType The set of types that are possibly produced by the given node
    public function visitIncludeOrEval(Node $node) : UnionType
    {
        // require() can return arbitrary objects. Lets just
        // say that we don't know what it is and move on
        return new UnionType();
    }