analyse_python.parse_chunk_eval
convert.analyse_python.parse_chunk_eval(option_text, *, current_eval)Parse an eval: option from a chunk option line.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| option_text | str | Text of the chunk option line (e.g., eval: true). |
required |
| current_eval | bool or None | Existing eval value for the chunk. If no eval option is found, this value is returned unchanged. |
required |
Returns
| Name | Type | Description |
|---|---|---|
| bool or None | Updated eval flag for this chunk, or None if the option cannot be interpreted. |