irx.builder.lowering.control_flow

irx.builder.lowering.control_flow

Source: packages/irx/src/irx/builder/lowering/control_flow.py

title: Control-flow visitor mixins for llvmliteir.

Classes

ControlFlowVisitorMixin(VisitorMixinBase)

No docstring available.

Methods

visit(self, block: astx.Block) -> None
title: Visit Block nodes.
parameters:
  block:
    type: astx.Block
visit(self, node: astx.AssertStmt) -> None
title: Visit AssertStmt nodes.
parameters:
  node:
    type: astx.AssertStmt
visit(self, node: astx.IfStmt) -> None
title: Visit IfStmt nodes.
parameters:
  node:
    type: astx.IfStmt
visit(self, expr: astx.WhileStmt) -> None
title: Visit WhileStmt nodes.
parameters:
  expr:
    type: astx.WhileStmt
visit(self, node: astx.ForCountLoopStmt) -> None
title: Visit ForCountLoopStmt nodes.
parameters:
  node:
    type: astx.ForCountLoopStmt
visit(self, node: astx.ForRangeLoopStmt) -> None
title: Visit ForRangeLoopStmt nodes.
parameters:
  node:
    type: astx.ForRangeLoopStmt
visit(self, node: astx.ForInLoopStmt) -> None
title: Visit ForInLoopStmt nodes.
parameters:
  node:
    type: astx.ForInLoopStmt
visit(self, node: astx.WithStmt) -> None
title: Visit WithStmt nodes.
parameters:
  node:
    type: astx.WithStmt
visit(self, node: astx.BreakStmt) -> None
title: Visit BreakStmt nodes.
parameters:
  node:
    type: astx.BreakStmt
visit(self, node: astx.ContinueStmt) -> None
title: Visit ContinueStmt nodes.
parameters:
  node:
    type: astx.ContinueStmt