API reference
python:irx:irx.analysis.validation.validate_call
function validate_call
validate_call(diagnostics: DiagnosticBag, *, function: SemanticFunction, arg_types: list[astx.DataType | None], node: astx.BaseMethodCall | astx.FunctionCall | astx.MethodCall | astx.StaticMethodCall | astx.WithStmt, binding_function: SemanticFunction | None = None) -> CallResolution
Source: packages/irx/src/irx/analysis/validation.py:203
Validate a function call.
Parameters
-
diagnostics — Type: DiagnosticBag
-
function — Type: SemanticFunction
-
arg_types — Type: list[astx.DataType | None]
-
node — Type: astx.BaseMethodCall | astx.FunctionCall | astx.MethodCall | astx.StaticMethodCall | astx.WithStmt
-
binding_function — Type: SemanticFunction | None
Returns
Type: CallResolution