1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
// Test for handling class functions in PasDoc
unit ok_class_function;
interface
type
// @abstract(This class is designed to see if PasDoc can
// parse class functions correctly.)
TDummy = class(TObject)
public
// Test To see if PasDoc can handle this.
Class Function MyFunction: integer;
// Test To see if PasDoc can handle this.
class procedure MyProcedure;
end;
implementation
{ TDummy }
// Override comment above so that "parse implementation section" mode wouldn't change a thing
{ }
class function TDummy.MyFunction: integer;
begin
end;
class procedure TDummy.MyProcedure;
begin
end;
end.
|