-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enh: Parse class interfaces and very basic analysis
- Loading branch information
1 parent
be22b36
commit 09d4ecc
Showing
10 changed files
with
160 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ Tests/Tests.dproj.local | |
*.res | ||
*.local | ||
*.stat | ||
*.identcache | ||
*.dsk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
unit DelphiClass; | ||
|
||
interface | ||
|
||
uses | ||
Classes; | ||
|
||
type | ||
TDelphiClass = class | ||
private | ||
fName : String; | ||
fRoutines: TStringList; | ||
public | ||
constructor Create(Name: String); | ||
destructor Destroy; override; | ||
|
||
property Name : String read fName; | ||
property Routines: TStringList read fRoutines; | ||
end; | ||
|
||
implementation | ||
|
||
uses | ||
SysUtils; | ||
|
||
{ TDelphiClass } | ||
|
||
constructor TDelphiClass.Create(Name: String); | ||
begin | ||
fName:=Name; | ||
fRoutines:=TStringList.Create; | ||
end; | ||
|
||
destructor TDelphiClass.Destroy; | ||
begin | ||
FreeAndNil(fRoutines); | ||
inherited; | ||
end; | ||
|
||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.