API reference

python:arx:arx.parser.control_flow.ControlFlowParserMixin.parse_if_clause

method parse_if_clause

parse_if_clause() -> astx.IfStmt

Source: packages/arx/src/arx/parser/control_flow.py:169

Parse one if or elif condition and its scoped body.

Boolean validity belongs to IRx; statement conditions fail here.

Returns

Parsed one if or elif condition and its scoped body.; Type: astx.IfStmt

Search documentation

Type to search.