saealib.core.StructuredRegion#

class saealib.core.StructuredRegion(*, region_id, body, namespace='', effect=<factory>)[ソース]#

ベースクラス: object

Base immutable description of a structured control region.

パラメータ:
  • region_id (str)

  • body (StructuredGraph | tuple[object, ...])

  • namespace (str)

  • effect (RegionEffect)

Methods

__init__

with_body

Return an immutable copy retaining the lowered body and effect.

Method Details

StructuredRegion.__init__(*, region_id, body, namespace='', effect=<factory>)#
パラメータ:
  • region_id (str)

  • body (StructuredGraph | tuple[object, ...])

  • namespace (str)

  • effect (RegionEffect)

戻り値の型:

None

StructuredRegion.with_body(body, *, effect)[ソース]#

Return an immutable copy retaining the lowered body and effect.

パラメータ:
戻り値の型:

StructuredRegion