Add final and sealed as class options
This commit is contained in:
parent
42df40941c
commit
5e96dbc981
7 changed files with 55 additions and 9 deletions
|
|
@ -64,6 +64,7 @@ enum
|
|||
ZCC_VirtualScope = 1 << 20,
|
||||
ZCC_Version = 1 << 21,
|
||||
ZCC_Internal = 1 << 22,
|
||||
ZCC_Sealed = 1 << 23,
|
||||
};
|
||||
|
||||
// Function parameter modifiers
|
||||
|
|
@ -251,6 +252,7 @@ struct ZCC_Class : ZCC_Struct
|
|||
{
|
||||
ZCC_Identifier *ParentName;
|
||||
ZCC_Identifier *Replaces;
|
||||
ZCC_Identifier *Sealed;
|
||||
|
||||
PClass *CType() { return static_cast<PClassType *>(Type)->Descriptor; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue