File: ok_class_function.pas

package info (click to toggle)
pasdoc 0.16.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,572 kB
  • sloc: pascal: 28,894; javascript: 7,665; xml: 2,597; makefile: 523; sh: 417
file content (35 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (2)
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.