|
| 1 | +@startuml |
| 2 | +class py2puml.parsing.astvisitors.AssignedVariablesCollector { |
| 3 | + class_self_id: str |
| 4 | + annotation: expr |
| 5 | + variables: List[Variable] |
| 6 | + self_attributes: List[Variable] |
| 7 | + generic_visit(self, node) |
| 8 | + visit(self, node) |
| 9 | + visit_Attribute(self, node: ast.Attribute) |
| 10 | + visit_Constant(self, node) |
| 11 | + visit_Name(self, node: ast.Name) |
| 12 | + visit_Subscript(self, node: ast.Subscript) |
| 13 | +} |
| 14 | +class py2puml.parsing.compoundtypesplitter.CompoundTypeSplitter { |
| 15 | + compound_type_annotation: str |
| 16 | + get_parts(self) -> Tuple[str] |
| 17 | +} |
| 18 | +class py2puml.parsing.astvisitors.ConstructorVisitor { |
| 19 | + constructor_source: str |
| 20 | + class_fqn: str |
| 21 | + root_fqn: str |
| 22 | + module_resolver: ModuleResolver |
| 23 | + class_self_id: str |
| 24 | + variables_namespace: List[Variable] |
| 25 | + uml_attributes: List[UmlAttribute] |
| 26 | + uml_relations_by_target_fqn: Dict[str, UmlRelation] |
| 27 | + derive_type_annotation_details(self, annotation: ast.expr) -> Tuple[str, List[str]] |
| 28 | + extend_relations(self, target_fqns: List[str]) |
| 29 | + generic_visit(self, node) |
| 30 | + get_from_namespace(self, variable_id: str) -> py2puml.parsing.astvisitors.Variable |
| 31 | + visit(self, node) |
| 32 | + visit_AnnAssign(self, node: ast.AnnAssign) |
| 33 | + visit_Assign(self, node: ast.Assign) |
| 34 | + visit_Constant(self, node) |
| 35 | + visit_FunctionDef(self, node: ast.FunctionDef) |
| 36 | +} |
| 37 | +class py2puml.parsing.moduleresolver.ModuleResolver { |
| 38 | + module: module |
| 39 | + get_module_full_name(self) -> str |
| 40 | + resolve_full_namespace_type(self, partial_dotted_path: str) -> Tuple[str, str] |
| 41 | +} |
| 42 | +class py2puml.parsing.moduleresolver.NamespacedType { |
| 43 | + full_namespace: Any |
| 44 | + type_name: Any |
| 45 | +} |
| 46 | +class py2puml.parsing.astvisitors.SignatureVariablesCollector { |
| 47 | + constructor_source: str |
| 48 | + class_self_id: str |
| 49 | + variables: List[Variable] |
| 50 | + generic_visit(self, node) |
| 51 | + visit(self, node) |
| 52 | + visit_Constant(self, node) |
| 53 | + visit_arg(self, node: ast.arg) |
| 54 | +} |
| 55 | +class py2puml.parsing.astvisitors.Variable { |
| 56 | + id: Any |
| 57 | + type_expr: Any |
| 58 | +} |
| 59 | +py2puml.parsing.astvisitors.AssignedVariablesCollector *-- py2puml.parsing.astvisitors.Variable |
| 60 | +py2puml.parsing.astvisitors.ConstructorVisitor *-- py2puml.parsing.moduleresolver.ModuleResolver |
| 61 | +py2puml.parsing.astvisitors.ConstructorVisitor *-- py2puml.parsing.astvisitors.Variable |
| 62 | +py2puml.parsing.astvisitors.SignatureVariablesCollector *-- py2puml.parsing.astvisitors.Variable |
| 63 | +@enduml |
| 64 | + |
0 commit comments