mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 18:17:45 +02:00
rtl: added TTypeMember.Visibility
This commit is contained in:
parent
e852fabe71
commit
d65a4d6fd0
@ -200,6 +200,15 @@ type
|
||||
);
|
||||
TTypeMemberKinds = set of TTypeMemberKind;
|
||||
|
||||
TTypeMemberVisibility = (
|
||||
tmvPrivate,
|
||||
tmvProtected,
|
||||
tmvPublic,
|
||||
tmvPublished,
|
||||
tmvPublishedPublic // public for extended RTTI, published for basic RTTI, cvPublished was missing in the RTTI directive
|
||||
);
|
||||
TTypeMemberVisibilities = set of TTypeMemberVisibility;
|
||||
|
||||
{ TTypeMember }
|
||||
|
||||
TTypeMember = class external name 'rtl.tTypeMember'
|
||||
@ -207,6 +216,7 @@ type
|
||||
Name: String external name 'name';
|
||||
Kind: TTypeMemberKind external name 'kind';
|
||||
Attributes: TTypeInfoAttributes external name 'attr'; // can be nil
|
||||
Visibility: TTypeMemberVisibility external name 'visibility';
|
||||
end;
|
||||
TTypeMemberDynArray = array of TTypeMember;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user