Class representing modules in the Python program
ModuleValue represents a module object in the Python program.
Holds if this module “exports” name. That is, does it define
Get a module that this module imports
Gets the container path for this module. Will be the file for a Python module, the folder for a package and no result for a builtin module.
Gets the scope for this module, provided that it is a Python module.
Whether the complete set of names “exported” by this module can be accurately determined
Whether this module is imported by ‘import name’. For example on a linux system, the module ‘posixpath’ is imported as ‘os.path’ or as ‘posixpath’
Whether this module is a package.
When used as a normal module (for example, imported and used by other modules)
When used (exclusively) as a script (will not include normal modules that can also be run as a script)
Gets the boolean interpretation of this value. Could be both
Gets a call to this object
Gets a call to this object with the given
Gets the class of this object. Strictly, the
Gets the boolean interpretation of this value, only if we can determine the result precisely. The result can be
Gets the name of this value, if it has one. Note this is the innate name of the object, not necessarily all the names by which it can be called.
Gets the origin CFG node for this value.
Holds if this value has the attribute
Holds if this element is at the specified location. The location spans column
Whether this value is absent from the database, but has been inferred to likely exist
Holds if this value is builtin. Applies to built-in functions and methods, but also integers and strings.
Whether this overrides v. In this context, “overrides” means that this object is a named attribute of a some class C and
Gets a textual representation of this element.