saealib.Repeat#

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

ベースクラス: _ControlValue

Repeat a structural body a fixed number of times.

パラメータ:
  • body (PipelineEntry)

  • count (int)

  • name (str)

Methods

__init__

to_pseudocode

Render this repeat as a lightweight pseudocode line.

to_text

Render this repeat as a single plain-text line.

Method Details

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

None

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

Render this repeat as a lightweight pseudocode line.

パラメータ:
  • expand (bool)

  • indent (int)

戻り値の型:

str

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

Render this repeat as a single plain-text line.

パラメータ:
  • expand (bool)

  • indent (int)

戻り値の型:

str