pyfcstm.model.base
Module for defining exportable interfaces for AST and PlantUML formats.
This module provides abstract base classes that define interfaces for objects that can be exported to Abstract Syntax Tree (AST) nodes or PlantUML diagram representations.
AstExportable
- class pyfcstm.model.base.AstExportable[source]
Abstract base class for objects that can be exported to AST nodes.
Classes that inherit from this interface should implement the to_ast_node method to convert themselves into appropriate AST node representations.
- Raises:
NotImplementedError – If the subclass does not implement the to_ast_node method.
PlantUMLExportable
- class pyfcstm.model.base.PlantUMLExportable[source]
Abstract base class for objects that can be exported to PlantUML format.
Classes that inherit from this interface should implement the to_plantuml method to convert themselves into PlantUML diagram syntax.
- Raises:
NotImplementedError – If the subclass does not implement the to_plantuml method.