devana.code_generation.printers.default
devana.code_generation.printers.default.attributeprinter
- class AttributeDeclarationPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for attribute.
- class AttributePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for code attribute.
devana.code_generation.printers.default.basictypeprinter
- class BasicTypePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Core type printer.
devana.code_generation.printers.default.classprinter
- class AccessSpecifierPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for class members access specifier.
- class ClassPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for class/struct declaration.
- class ConstructorPrinter(printer_dispatcher=None)[source]
Bases:
FunctionPrinter
Printer for class constructor.
- class DestructorPrinter(printer_dispatcher=None)[source]
Bases:
FunctionPrinter
Printer for class destructor.
- class FieldPrinter(printer_dispatcher=None)[source]
Bases:
VariablePrinter
Printer for class field.
- class MethodPrinter(printer_dispatcher=None)[source]
Bases:
FunctionPrinter
Printer for class method.
- class SectionPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for class section.
devana.code_generation.printers.default.commentprinter
- class CommentPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for comments.
devana.code_generation.printers.default.defaultprinter
devana.code_generation.printers.default.enumprinter
- class EnumAsTypePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for enum used as type inside expression.
- class EnumPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for enum declaration.
devana.code_generation.printers.default.externcprinter
- class ExternCPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for extern c syntax.
devana.code_generation.printers.default.fileprinter
- class FilePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for whole file.
- class IncludePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for include directive.
devana.code_generation.printers.default.functionprinter
- class ArgumentPrinter(printer_dispatcher=None)[source]
Bases:
VariablePrinter
Printer for arguments used in function declaration.
- class FunctionPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for function declaration.
devana.code_generation.printers.default.functiontypeprinter
- class FunctionTypePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for function use as type like function pointer.
devana.code_generation.printers.default.namespaceprinter
- class NamespacePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for namespace.
devana.code_generation.printers.default.stubtypeprinter
- class StubTypePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Stub class to print everything.
devana.code_generation.printers.default.templateparameterprinter
- class TemplateParameterPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for template parameter.
devana.code_generation.printers.default.typedefprinter
- class TypedefPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for typedefs.
devana.code_generation.printers.default.typeexpressionprinter
- class GenericTypeParameterPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for generic type of template like T.
- class TypeExpressionPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for syntax of type usage.
devana.code_generation.printers.default.unionprinter
- class UnionPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for union declaration.
devana.code_generation.printers.default.usingnamespaceprinter
- class UsingNamespacePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for using namespace syntax.
devana.code_generation.printers.default.usingprinter
- class UsingPrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for using syntax.
devana.code_generation.printers.default.utilityprinters
devana.code_generation.printers.default.variableprinter
- class GlobalVariablePrinter(printer_dispatcher=None)[source]
Bases:
VariablePrinter
Printer for global variable declaration.
- class VariablePrinter(printer_dispatcher=None)[source]
Bases:
ICodePrinter
,DispatcherInjectable
Printer for variable usage.
A set of basic classes that print syntax elements.
The module contains classes that print components and an instance factory of a default configured printers.