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 object to the end of the list.
Extend list by appending elements from the iterable.
Insert object before index.
- Parameters:
stages (list[CompilationStage])
- append(stage)#
Append object to the end of the list.
- Parameters:
stage (CompilationStage)
- Return type:
None
- insert(index, stage)#
Insert object before index.
- Parameters:
index (SupportsIndex)
stage (CompilationStage)
- Return type:
None
- extend(stages)#
Extend list by appending elements from the iterable.
- Parameters:
stages (Iterable[CompilationStage])
- Return type:
None
Inheritance
