mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 13:11:06 +02:00
parent
8bc2326b77
commit
82346563c1
@ -1172,6 +1172,28 @@
|
|||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{****************************************************************************
|
||||||
|
TCustomStoredAttribute
|
||||||
|
****************************************************************************}
|
||||||
|
|
||||||
|
|
||||||
|
constructor StoredAttribute.Create;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
constructor StoredAttribute.Create(Const aFlag : Boolean);
|
||||||
|
begin
|
||||||
|
FFlag:=aFlag;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
constructor StoredAttribute.Create(Const aName : string);
|
||||||
|
begin
|
||||||
|
FName:=aName;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Exception Support
|
Exception Support
|
||||||
|
@ -445,6 +445,19 @@
|
|||||||
RefAttribute = class(TCustomAttribute);
|
RefAttribute = class(TCustomAttribute);
|
||||||
VolatileAttribute = class(TCustomAttribute);
|
VolatileAttribute = class(TCustomAttribute);
|
||||||
|
|
||||||
|
StoredAttribute = Class(TCustomAttribute)
|
||||||
|
Private
|
||||||
|
FFlag : Boolean;
|
||||||
|
FName : String;
|
||||||
|
Public
|
||||||
|
Constructor Create;
|
||||||
|
Constructor Create(Const aFlag : Boolean);
|
||||||
|
Constructor Create(Const aName : String);
|
||||||
|
Property Flag : Boolean Read FFlag;
|
||||||
|
Property Name : String Read FName;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
Const
|
Const
|
||||||
ExceptProc : TExceptProc = Nil;
|
ExceptProc : TExceptProc = Nil;
|
||||||
RaiseProc : TExceptProc = Nil;
|
RaiseProc : TExceptProc = Nil;
|
||||||
|
Loading…
Reference in New Issue
Block a user