API reference
python:irx:irx.analysis.handlers._expressions.literals.ExpressionLiteralVisitorMixin._validate_collection_lowering_support
method _validate_collection_lowering_support
_validate_collection_lowering_support(*, node: astx.AST, base: astx.AST, base_type: astx.DataType | None, method: CollectionMethodKind, context: str) -> bool
Source: packages/irx/src/irx/analysis/handlers/_expressions/literals.py:552
Validate that one collection method is currently lowerable.
Parameters
-
node — Type: astx.AST
-
base — Type: astx.AST
-
base_type — Type: astx.DataType | None
-
method — Type: CollectionMethodKind
-
context — Type: str
Returns
Type: bool