Class Modules::ModuleInstance

DEPRECATED: Use DataFlow::moduleImport and DataFlow::ModuleImportNode instead.

A data flow node that holds a module instance, that is, the result of an import of the module.

Direct supertypes

Indirect supertypes

Predicates

getAConstructorInvocation

Gets a new call that invokes constructor constructorName on this module instance.

getAMemberInvocation

Gets an invocation of the method or constructor named memberName on this module instance.

getAMethodCall

Gets a function call that invokes method methodName on this module instance.

getAPropertyRead

Gets a read access to property propName on this module instance.

getPath

Gets the path from which the module is imported.

Inherited predicates

analyze

Gets type inference results for this data flow node.

from DataFlowNode
flowPred

Gets another flow node from which data may flow to this node in one step, either locally or non-locally.

from DataFlowNode
getALocalSource

Gets a source flow node (that is, a node without a localFlowPred()) from which data may flow to this node in zero or more local steps.

from DataFlowNode
getASource

Gets a source flow node (that is, a node without a flowPred()) from which data may flow to this node in zero or more steps, considering both local and non-local flow.

from DataFlowNode
getLocation

Gets the location of the AST node underlying this data flow node.

from DataFlowNode
isIncomplete

Holds if the flow information for this node is incomplete.

from DataFlowNode
localFlowPred

Gets another flow node from which data may flow to this node in one local step.

from DataFlowNode
nonLocalFlowPred

Gets another flow node from which data may flow to this node in one non-local step.

from DataFlowNode
toString

Gets a textual representation of this element.

from DataFlowNode

Charpred