class documentation

Infer types for the modules accessible from the entrypoints with the help of a set of heuristic functions

Static Method process_file Process and extract information from the source files with a set of heuristic functions for type inference
Method __init__ No summary
Method get_types Get the inferred type information in a list of dictionaries
Method infer_types Infer the types for the modules accessible from the entrypoint
Method print_types Function for printing type inference results in a formatted way
Instance Variable entry_point Undocumented
Instance Variable import_graph Undocumented
Instance Variable leaves Undocumented
Instance Variable name Undocumented
Instance Variable root_node Undocumented
@staticmethod
def process_file(source: str): (source)

Process and extract information from the source files with a set of heuristic functions for type inference

def __init__(self, name: str, entry_point: str): (source)
Parameters
name:strthe name of the type inference analyser
entry_point:strthe entry point, can be the root folder of a package or a python file
def get_types(self) -> List[dict]: (source)

Get the inferred type information in a list of dictionaries

def infer_types(self): (source)

Infer the types for the modules accessible from the entrypoint

def print_types(self, functions=True, parameters=True, variables=True): (source)

Function for printing type inference results in a formatted way

entry_point = (source)

Undocumented

import_graph = (source)

Undocumented

Undocumented

Undocumented

root_node = (source)

Undocumented