| class TP_LAYOUT < $LAYOUT |
|---|
| **** | Some default code for layout classes. |
| $LAYOUT | $STR |
| BUILTIN_LAYOUT | ABSTRACT_LAYOUT | IMMUTABLE_CLASS_LAYOUT | EXTERNAL_LAYOUT | CLASS_LAYOUT |
| attr str:STR; |
|---|
| shared layouts:FSET{SAME}; |
|---|
| **** | Registry of all layouts of this type |
| shared layouts:FSET{SAME}; |
|---|
| **** | Registry of all layouts of this type |
| create(tp:$TP):SAME |
|---|
| dependencies:FLIST{$LAYOUT} |
|---|
| **** | By default, there are no dependencies |
| makestr:STR |
|---|
| sorted_fields(map:FMAP{IDENT,$TP}):LAYOUT_ARR |
|---|
| typedef(c:CGEN):STR |
|---|
| **** | By default, no typedef needs to be emitted |
| attr str:STR; |
|---|
| attr tp:$TP; |
|---|
| **** | The type this layout is for |
| attr tp:$TP; |
|---|
| **** | The type this layout is for |