DCDeclaration

from acron.direct import DCDeclaration
class DCDeclaration

Bases:

This is a common interface for a declaration in a DC file. Currently, this is either a class or a typedef declaration (import declarations are still collected together at the top, and don’t inherit from this object). Its only purpose is so that classes and typedefs can be stored in one list together so they can be ordered correctly on output.

Inheritance diagram

digraph inheritance4d64cd7939 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DCDeclaration" [URL="acron.direct.DCDeclaration.html#acron.direct.DCDeclaration",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "DCDeclaration" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; }
as_class()
as_switch()
output()

Write a string representation of this instance to <out>.

write()

Write a string representation of this instance to <out>.