API reference

python:irx:irx.analysis.collection_access.resolve_collection_access

function resolve_collection_access

Variant 1

resolve_collection_access(analyzer: SemanticAnalyzerCore, node: astx.MethodCall) -> bool

Resolve list append and dataframe metadata from the receiver type.

DataFrame nrows/ncols take no arguments, keywords, or template arguments and normalize to the canonical i64 count operations. Invalid signatures report a type mismatch at the call's source location; non-DataFrame receivers retain their ordinary method rules.

Parameters

Returns

Resolved list append and dataframe metadata from the receiver type.; Type: bool

Variant 2

resolve_collection_access(analyzer: SemanticAnalyzerCore, node: astx.FieldAccess) -> bool

Resolve dataframe field-style access without frontend type guesses.

Parameters

Returns

Resolved dataframe field-style access without frontend type guesses.; Type: bool

Variant 3

resolve_collection_access(analyzer: SemanticAnalyzerCore, node: astx.SubscriptExpr) -> bool

Resolve dataframe string keys while preserving static-schema checks.

Parameters

Returns

Resolved dataframe string keys while preserving static-schema checks.; Type: bool

Source: packages/irx/src/irx/analysis/collection_access.py:65

Search documentation

Type to search.