DCTypedef¶
-
class DCTypedef¶
Bases:
DCDeclarationThis represents a single typedef declaration in the dc file. It assigns a particular type to a new name, just like a C typedef.
Inheritance diagram
digraph inheritancecce66f2a81 { 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=""]; "DCTypedef" [URL="acron.direct.DCTypedef.html#acron.direct.DCTypedef",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DCDeclaration" -> "DCTypedef" [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=""]; }- DCTypedef.get_description()¶
Returns a brief decription of the typedef, useful for human consumption.
- DCTypedef.get_name()¶
Returns the name of this typedef.
- DCTypedef.get_number()¶
Returns a unique index number associated with this typedef definition. This is defined implicitly when the .dc file(s) are read.
- DCTypedef.is_bogus_typedef()¶
Returns true if the typedef has been flagged as a bogus typedef. This is set for typedefs that are generated by the parser as placeholder for missing typedefs, as when reading a partial file; it should not occur in a normal valid dc file.