StagesList#
Module: iqm.cpc.compiler.compilation_stage
- class iqm.cpc.compiler.compilation_stage.StagesList(stages)#
Bases:
list[CompilationStage]Extend
list[CompilationStage]to allow accessing the stages via their names and to include validation.Methods
Append
stageinto the list.Extend the list by
stages.Insert
stageinto the list.- Parameters:
stages (list[CompilationStage])
- append(stage)#
Append
stageinto the list.- Parameters:
stage (CompilationStage)
- Return type:
None
- insert(index, stage)#
Insert
stageinto the list.- Parameters:
index (SupportsIndex)
stage (CompilationStage)
- Return type:
None
- extend(stages)#
Extend the list by
stages.- Parameters:
stages (Iterable[CompilationStage])
- Return type:
None
Inheritance
