API Reference¶
- class genpy.Generable[source]¶
A base class for AST nodes capable of generating code.
- class genpy.Collection(contents=None)[source]¶
Inherits from
Suite
, but does not lead to indentation.
Block nodes¶
- class genpy.If(condition, then_, else_=None)[source]¶
An
`if/then/else
block. Inherits fromGenerable
.
- class genpy.Loop(body)[source]¶
An abstract base class for loops. class for loop blocks. Inherits from
Generable
.