API reference
python:irx:irx.analysis.ResolvedFileOpen
class ResolvedFileOpen
ResolvedFileOpen(evaluations: tuple[astx.DataType, ...], path_index: int, mode_index: int | None, text_options: bool = False)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:1834
Declared as: python:irx:irx.analysis.resolved_nodes.ResolvedFileOpen
Validated open operands in original evaluation order.
text_options records non-None encoding/errors/newline so dynamic binary modes reject incompatible settings before creating or truncating a path.
Attributes
-
evaluations — Evaluations.; Type: tuple[astx.DataType, ...]
-
path_index — Index selecting path.; Type: int
-
mode_index — Index selecting mode.; Type: int | None
-
text_options — Whether to use text options.; Type: bool
Methods
- __init__ —