API reference
python:irx:irx.analysis.handlers._templates.resolution.TemplateResolutionVisitorMixin._collect_inferred_template_bindings
method _collect_inferred_template_bindings
_collect_inferred_template_bindings(expected_type: astx.DataType, actual_type: astx.DataType | None, inferred: dict[str, astx.DataType], *, function: SemanticFunction, node: astx.AST, diagnose: bool = True) -> bool
Source: packages/irx/src/irx/analysis/handlers/_templates/resolution.py:39
Collect inferred template arguments from one parameter pair.
Parameters
-
expected_type — Type: astx.DataType
-
actual_type — Type: astx.DataType | None
-
inferred — Type: dict[str, astx.DataType]
-
function — Type: SemanticFunction
-
node — Type: astx.AST
-
diagnose — Type: bool
Returns
Type: bool