saealib.Loop#

class saealib.Loop(body, *, until, name='')[ソース]#

ベースクラス: _ControlValue

Repeat a structural body while a condition remains active.

パラメータ:
  • body (PipelineEntry)

  • until (Condition)

  • name (str)

Methods

__init__

to_pseudocode

Render this loop as a lightweight pseudocode line.

to_text

Render this loop as a single plain-text line.

Method Details

Loop.__init__(body, *, until, name='')[ソース]#
パラメータ:
戻り値の型:

None

Loop.to_pseudocode(*, expand=False, indent=0)[ソース]#

Render this loop as a lightweight pseudocode line.

パラメータ:
  • expand (bool)

  • indent (int)

戻り値の型:

str

Loop.to_text(*, expand=False, indent=0)[ソース]#

Render this loop as a single plain-text line.

パラメータ:
  • expand (bool)

  • indent (int)

戻り値の型:

str